2011-11-01 Andrew Stubbs <ams@codesourcery.com>
[official-gcc.git] / libstdc++-v3 / configure
blob77a4abfbadfa2bb272ff2256b160288574732003
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/ios.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 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_subdir_switch
643 baseline_dir
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SOL2_FALSE
650 ENABLE_SYMVERS_SOL2_TRUE
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_EXTERN_TEMPLATE_FALSE
670 ENABLE_EXTERN_TEMPLATE_TRUE
671 EXTRA_CXX_FLAGS
672 ENABLE_PARALLEL_FALSE
673 ENABLE_PARALLEL_TRUE
674 GLIBCXX_BUILD_DEBUG_FALSE
675 GLIBCXX_BUILD_DEBUG_TRUE
676 DEBUG_FLAGS
677 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
678 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
679 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
680 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
681 GLIBCXX_C_HEADERS_C_STD_FALSE
682 GLIBCXX_C_HEADERS_C_STD_TRUE
683 GLIBCXX_C_HEADERS_C_FALSE
684 GLIBCXX_C_HEADERS_C_TRUE
685 C_INCLUDE_DIR
686 ALLOCATOR_NAME
687 ALLOCATOR_H
688 CLOCALE_INTERNAL_H
689 CLOCALE_CC
690 CTIME_CC
691 CTIME_H
692 CNUMERIC_CC
693 CMONEY_CC
694 CMESSAGES_CC
695 CCTYPE_CC
696 CCOLLATE_CC
697 CCODECVT_CC
698 CMESSAGES_H
699 CLOCALE_H
700 USE_NLS
701 glibcxx_localedir
702 glibcxx_POFILES
703 glibcxx_MOFILES
704 check_msgfmt
705 BASIC_FILE_CC
706 BASIC_FILE_H
707 CSTDIO_H
708 SECTION_FLAGS
709 WERROR
710 glibcxx_thread_h
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
727 ac_ct_DUMPBIN
728 DUMPBIN
730 FGREP
732 LIBTOOL
733 EGREP
734 GREP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
742 LN_S
743 toplevel_srcdir
744 glibcxx_srcdir
745 glibcxx_builddir
746 ac_ct_CXX
747 CXXFLAGS
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
756 am__untar
757 am__tar
758 AMTAR
759 am__leading_dot
760 SET_MAKE
762 mkdir_p
763 MKDIR_P
764 INSTALL_STRIP_PROGRAM
765 STRIP
766 install_sh
767 MAKEINFO
768 AUTOHEADER
769 AUTOMAKE
770 AUTOCONF
771 ACLOCAL
772 VERSION
773 PACKAGE
774 CYGPATH_W
775 am__isrc
776 INSTALL_DATA
777 INSTALL_SCRIPT
778 INSTALL_PROGRAM
779 target_os
780 target_vendor
781 target_cpu
782 target
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 multi_basedir
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_multilib
834 with_target_subdir
835 with_cross_host
836 with_newlib
837 enable_maintainer_mode
838 enable_shared
839 enable_static
840 with_pic
841 enable_fast_install
842 with_gnu_ld
843 enable_libtool_lock
844 enable_hosted_libstdcxx
845 enable_sjlj_exceptions
846 enable_libstdcxx_pch
847 enable_cstdio
848 enable_clocale
849 enable_nls
850 enable_libstdcxx_allocator
851 enable_cheaders
852 enable_long_long
853 enable_wchar_t
854 enable_c99
855 enable_concept_checks
856 enable_libstdcxx_debug_flags
857 enable_libstdcxx_debug
858 enable_cxx_flags
859 enable_fully_dynamic_string
860 enable_extern_template
861 enable_libstdcxx_time
862 enable_tls
863 enable_rpath
864 with_libiconv_prefix
865 with_system_libunwind
866 enable_linux_futex
867 enable_symvers
868 enable_visibility
869 with_gxx_include_dir
870 enable_version_specific_runtime_libs
872 ac_precious_vars='build_alias
873 host_alias
874 target_alias
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
881 CXXFLAGS
884 CXXCPP
885 CXXFILT'
888 # Initialize some variables set by options.
889 ac_init_help=
890 ac_init_version=false
891 ac_unrecognized_opts=
892 ac_unrecognized_sep=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
895 cache_file=/dev/null
896 exec_prefix=NONE
897 no_create=
898 no_recursion=
899 prefix=NONE
900 program_prefix=NONE
901 program_suffix=NONE
902 program_transform_name=s,x,x,
903 silent=
904 site=
905 srcdir=
906 verbose=
907 x_includes=NONE
908 x_libraries=NONE
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir='${exec_prefix}/bin'
917 sbindir='${exec_prefix}/sbin'
918 libexecdir='${exec_prefix}/libexec'
919 datarootdir='${prefix}/share'
920 datadir='${datarootdir}'
921 sysconfdir='${prefix}/etc'
922 sharedstatedir='${prefix}/com'
923 localstatedir='${prefix}/var'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/include'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
936 ac_prev=
937 ac_dashdash=
938 for ac_option
940 # If the previous option needs an argument, assign it.
941 if test -n "$ac_prev"; then
942 eval $ac_prev=\$ac_option
943 ac_prev=
944 continue
947 case $ac_option in
948 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 *) ac_optarg=yes ;;
950 esac
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
956 ac_dashdash=yes ;;
958 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 ac_prev=bindir ;;
960 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 bindir=$ac_optarg ;;
963 -build | --build | --buil | --bui | --bu)
964 ac_prev=build_alias ;;
965 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 build_alias=$ac_optarg ;;
968 -cache-file | --cache-file | --cache-fil | --cache-fi \
969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970 ac_prev=cache_file ;;
971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 cache_file=$ac_optarg ;;
975 --config-cache | -C)
976 cache_file=config.cache ;;
978 -datadir | --datadir | --datadi | --datad)
979 ac_prev=datadir ;;
980 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 datadir=$ac_optarg ;;
983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984 | --dataroo | --dataro | --datar)
985 ac_prev=datarootdir ;;
986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 datarootdir=$ac_optarg ;;
990 -disable-* | --disable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 as_fn_error "invalid feature name: $ac_useropt"
995 ac_useropt_orig=$ac_useropt
996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
999 "enable_$ac_useropt"
1000 "*) ;;
1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1003 esac
1004 eval enable_$ac_useropt=no ;;
1006 -docdir | --docdir | --docdi | --doc | --do)
1007 ac_prev=docdir ;;
1008 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 docdir=$ac_optarg ;;
1011 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 ac_prev=dvidir ;;
1013 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 dvidir=$ac_optarg ;;
1016 -enable-* | --enable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=\$ac_optarg ;;
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1043 with_gas=yes ;;
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 ac_prev=htmldir ;;
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 | --ht=*)
1061 htmldir=$ac_optarg ;;
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 ac_prev=infodir ;;
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1075 -libdir | --libdir | --libdi | --libd)
1076 ac_prev=libdir ;;
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 ac_prev=mandir ;;
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1106 with_fp=no ;;
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1110 no_create=yes ;;
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 no_recursion=yes ;;
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 ac_prev=prefix ;;
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 ac_prev=pdfdir ;;
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1166 -psdir | --psdir | --psdi | --psd | --ps)
1167 ac_prev=psdir ;;
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 psdir=$ac_optarg ;;
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1173 silent=yes ;;
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 ac_prev=sbindir ;;
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 | --sbi=* | --sb=*)
1179 sbindir=$ac_optarg ;;
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1184 | --sha | --sh)
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 | --sha=* | --sh=*)
1190 sharedstatedir=$ac_optarg ;;
1192 -site | --site | --sit)
1193 ac_prev=site ;;
1194 -site=* | --site=* | --sit=*)
1195 site=$ac_optarg ;;
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 ac_prev=srcdir ;;
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 verbose=yes ;;
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1220 -with-* | --with-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1229 "with_$ac_useropt"
1230 "*) ;;
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1233 esac
1234 eval with_$ac_useropt=\$ac_optarg ;;
1236 -without-* | --without-*)
1237 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1245 "with_$ac_useropt"
1246 "*) ;;
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1249 esac
1250 eval with_$ac_useropt=no ;;
1252 --x)
1253 # Obsolete; use --with-x.
1254 with_x=yes ;;
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev=x_includes ;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes=$ac_optarg ;;
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev=x_libraries ;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries=$ac_optarg ;;
1270 -*) as_fn_error "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information."
1274 *=*)
1275 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' | [0-9]* | *[!_$as_cr_alnum]* )
1279 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280 esac
1281 eval $ac_envvar=\$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1292 esac
1293 done
1295 if test -n "$ac_prev"; then
1296 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error "missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1302 no) ;;
1303 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305 esac
1308 # Check all directory arguments for consistency.
1309 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val=\$$ac_var
1315 # Remove trailing slashes.
1316 case $ac_val in
1317 */ )
1318 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\$ac_val;;
1320 esac
1321 # Be sure to have absolute directory names.
1322 case $ac_val in
1323 [\\/$]* | ?:[\\/]* ) continue;;
1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325 esac
1326 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338 if test "x$build_alias" = x; then
1339 cross_compiling=maybe
1340 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341 If a cross compiler is detected then cross compile mode will be used." >&2
1342 elif test "x$build_alias" != "x$host_alias"; then
1343 cross_compiling=yes
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1350 test "$silent" = yes && exec 6>/dev/null
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error "pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 s//\1/
1375 /^X\(\/\/\)[^/].*/{
1376 s//\1/
1379 /^X\(\/\/\)$/{
1380 s//\1/
1383 /^X\(\/\).*/{
1384 s//\1/
1387 s/.*/./; q'`
1388 srcdir=$ac_confdir
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 srcdir=..
1392 else
1393 ac_srcdir_defaulted=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402 pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 srcdir=.
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_${ac_var}_value=\$${ac_var}
1416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1426 cat <<_ACEOF
1427 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1436 Configuration:
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 [PREFIX]
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1480 _ACEOF
1482 cat <<\_ACEOF
1484 Program names:
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1489 System types:
1490 --build=BUILD configure for building on BUILD [guessed]
1491 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 --target=TARGET configure for building compilers for TARGET [HOST]
1493 _ACEOF
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short | recursive ) echo "Configuration of package-unused version-unused:";;
1499 esac
1500 cat <<\_ACEOF
1502 Optional Features:
1503 --disable-option-checking ignore unrecognized --enable/--with options
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-multilib build many library versions (default)
1507 --enable-maintainer-mode enable make rules and dependencies not useful
1508 (and sometimes confusing) to the casual installer
1509 --enable-shared[=PKGS] build shared libraries [default=yes]
1510 --enable-static[=PKGS] build static libraries [default=yes]
1511 --enable-fast-install[=PKGS]
1512 optimize for fast installation [default=yes]
1513 --disable-libtool-lock avoid locking (might break parallel builds)
1514 --disable-hosted-libstdcxx
1515 only build freestanding C++ runtime support
1516 --enable-sjlj-exceptions
1517 force use of builtin_setjmp for exceptions
1518 [default=auto]
1519 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1520 [default=$is_hosted]
1521 --enable-cstdio[=PACKAGE]
1522 use target-specific I/O package [default=stdio]
1523 --enable-clocale[=MODEL]
1524 use MODEL for target locale package [default=auto]
1525 --enable-nls use Native Language Support (default)
1526 --enable-libstdcxx-allocator[=KIND]
1527 use KIND for target std::allocator base
1528 [default=auto]
1529 --enable-cheaders[=KIND]
1530 construct "C" headers for g++ [default=$c_model]
1531 --enable-long-long enable template specializations for 'long long'
1532 [default=yes]
1533 --enable-wchar_t enable template specializations for 'wchar_t'
1534 [default=yes]
1535 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1536 --enable-concept-checks use Boost-derived template checks [default=no]
1537 --enable-libstdcxx-debug-flags=FLAGS
1538 pass compiler FLAGS when building debug library
1539 [default="-g3 -O0"]
1540 --enable-libstdcxx-debug
1541 build extra debug library [default=no]
1542 --enable-cxx-flags=FLAGS
1543 pass compiler FLAGS when building library [default=]
1544 --enable-fully-dynamic-string
1545 do not put empty strings in per-process static
1546 memory [default=no]
1547 --enable-extern-template
1548 enable extern template [default=yes]
1549 --enable-libstdcxx-time[=KIND]
1550 use KIND for check type [default=no]
1551 --enable-tls Use thread-local storage [default=yes]
1552 --disable-rpath do not hardcode runtime library paths
1553 --enable-linux-futex use the Linux futex system call [default=default]
1554 --enable-symvers[=STYLE]
1555 enables symbol versioning of the shared library
1556 [default=yes]
1557 --enable-visibility enables visibility safe usage [default=yes]
1558 --enable-version-specific-runtime-libs
1559 Specify that runtime libraries should be installed
1560 in a compiler-specific directory
1562 Optional Packages:
1563 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1564 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1565 --with-target-subdir=SUBDIR
1566 configuring in a subdirectory
1567 --with-cross-host=HOST configuring with a cross compiler
1568 --with-newlib assume newlib as a system C library
1569 --with-pic try to use only PIC/non-PIC objects [default=use
1570 both]
1571 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1572 --with-gnu-ld assume the C compiler uses GNU ld default=no
1573 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1574 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1575 --with-system-libunwind use installed libunwind
1576 --with-gxx-include-dir=DIR
1577 installation directory for include files
1579 Some influential environment variables:
1580 CC C compiler command
1581 CFLAGS C compiler flags
1582 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1583 nonstandard directory <lib dir>
1584 LIBS libraries to pass to the linker, e.g. -l<library>
1585 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1586 you have headers in a nonstandard directory <include dir>
1587 CXX C++ compiler command
1588 CXXFLAGS C++ compiler flags
1589 CPP C preprocessor
1590 CXXCPP C++ preprocessor
1591 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1592 `c++filt', `gc++filt' on PATH.
1594 Use these variables to override the choices made by `configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1597 Report bugs to the package provider.
1598 _ACEOF
1599 ac_status=$?
1602 if test "$ac_init_help" = "recursive"; then
1603 # If there are subdirs, report their specific --help.
1604 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605 test -d "$ac_dir" ||
1606 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607 continue
1608 ac_builddir=.
1610 case "$ac_dir" in
1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1614 # A ".." for each directory in $ac_dir_suffix.
1615 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1616 case $ac_top_builddir_sub in
1617 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 esac ;;
1620 esac
1621 ac_abs_top_builddir=$ac_pwd
1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623 # for backward compatibility:
1624 ac_top_builddir=$ac_top_build_prefix
1626 case $srcdir in
1627 .) # We are building in place.
1628 ac_srcdir=.
1629 ac_top_srcdir=$ac_top_builddir_sub
1630 ac_abs_top_srcdir=$ac_pwd ;;
1631 [\\/]* | ?:[\\/]* ) # Absolute name.
1632 ac_srcdir=$srcdir$ac_dir_suffix;
1633 ac_top_srcdir=$srcdir
1634 ac_abs_top_srcdir=$srcdir ;;
1635 *) # Relative name.
1636 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637 ac_top_srcdir=$ac_top_build_prefix$srcdir
1638 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 esac
1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1642 cd "$ac_dir" || { ac_status=$?; continue; }
1643 # Check for guested configure.
1644 if test -f "$ac_srcdir/configure.gnu"; then
1645 echo &&
1646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647 elif test -f "$ac_srcdir/configure"; then
1648 echo &&
1649 $SHELL "$ac_srcdir/configure" --help=recursive
1650 else
1651 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 fi || ac_status=$?
1653 cd "$ac_pwd" || { ac_status=$?; break; }
1654 done
1657 test -n "$ac_init_help" && exit $ac_status
1658 if $ac_init_version; then
1659 cat <<\_ACEOF
1660 package-unused configure version-unused
1661 generated by GNU Autoconf 2.64
1663 Copyright (C) 2009 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1666 _ACEOF
1667 exit
1670 ## ------------------------ ##
1671 ## Autoconf initialization. ##
1672 ## ------------------------ ##
1674 # ac_fn_c_try_compile LINENO
1675 # --------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_c_try_compile ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext
1681 if { { ac_try="$ac_compile"
1682 case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_compile") 2>conftest.err
1689 ac_status=$?
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest.$ac_objext; then :
1700 ac_retval=0
1701 else
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1705 ac_retval=1
1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708 return $ac_retval
1710 } # ac_fn_c_try_compile
1712 # ac_fn_cxx_try_compile LINENO
1713 # ----------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_cxx_try_compile ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_cxx_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=1
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1748 } # ac_fn_cxx_try_compile
1750 # ac_fn_c_try_cpp LINENO
1751 # ----------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_cpp ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_cpp conftest.$ac_ext"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764 ac_status=$?
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } >/dev/null && {
1772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 }; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1780 ac_retval=1
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 return $ac_retval
1785 } # ac_fn_c_try_cpp
1787 # ac_fn_c_try_link LINENO
1788 # -----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_link ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 rm -f conftest.$ac_objext conftest$ac_exeext
1794 if { { ac_try="$ac_link"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest$ac_exeext && {
1813 test "$cross_compiling" = yes ||
1814 $as_test_x conftest$ac_exeext
1815 }; then :
1816 ac_retval=0
1817 else
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1821 ac_retval=1
1823 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825 # interfere with the next link command; also delete a directory that is
1826 # left behind by Apple's compiler. We do this before executing the actions.
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829 return $ac_retval
1831 } # ac_fn_c_try_link
1833 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1834 # -------------------------------------------------------
1835 # Tests whether HEADER exists and can be compiled using the include files in
1836 # INCLUDES, setting the cache variable VAR accordingly.
1837 ac_fn_c_check_header_compile ()
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1843 $as_echo_n "(cached) " >&6
1844 else
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1848 #include <$2>
1849 _ACEOF
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851 eval "$3=yes"
1852 else
1853 eval "$3=no"
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 eval ac_res=\$$3
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862 } # ac_fn_c_check_header_compile
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1868 ac_fn_c_try_run ()
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 if { { ac_try="$ac_link"
1872 case "(($ac_try" in
1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1875 esac
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_link") 2>&5
1879 ac_status=$?
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882 { { case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_try") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; }; }; then :
1892 ac_retval=0
1893 else
1894 $as_echo "$as_me: program exited with status $ac_status" >&5
1895 $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1898 ac_retval=$ac_status
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 return $ac_retval
1904 } # ac_fn_c_try_run
1906 # ac_fn_c_check_func LINENO FUNC VAR
1907 # ----------------------------------
1908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 ac_fn_c_check_func ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 $as_echo_n "(cached) " >&6
1916 else
1917 if test x$gcc_no_link = xyes; then
1918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1924 #define $2 innocuous_$2
1926 /* System header to define __stub macros and hopefully few prototypes,
1927 which can conflict with char $2 (); below.
1928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929 <limits.h> exists even on freestanding compilers. */
1931 #ifdef __STDC__
1932 # include <limits.h>
1933 #else
1934 # include <assert.h>
1935 #endif
1937 #undef $2
1939 /* Override any GCC internal prototype to avoid an error.
1940 Use char because int might match the return type of a GCC
1941 builtin and then its argument prototype would still apply. */
1942 #ifdef __cplusplus
1943 extern "C"
1944 #endif
1945 char $2 ();
1946 /* The GNU C library defines this for functions which it implements
1947 to always fail with ENOSYS. Some functions are actually named
1948 something starting with __ and the normal name is an alias. */
1949 #if defined __stub_$2 || defined __stub___$2
1950 choke me
1951 #endif
1954 main ()
1956 return $2 ();
1958 return 0;
1960 _ACEOF
1961 if ac_fn_c_try_link "$LINENO"; then :
1962 eval "$3=yes"
1963 else
1964 eval "$3=no"
1966 rm -f core conftest.err conftest.$ac_objext \
1967 conftest$ac_exeext conftest.$ac_ext
1969 eval ac_res=\$$3
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974 } # ac_fn_c_check_func
1976 # ac_fn_cxx_try_cpp LINENO
1977 # ------------------------
1978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_cpp ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if { { ac_try="$ac_cpp conftest.$ac_ext"
1983 case "(($ac_try" in
1984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990 ac_status=$?
1991 if test -s conftest.err; then
1992 grep -v '^ *+' conftest.err >conftest.er1
1993 cat conftest.er1 >&5
1994 mv -f conftest.er1 conftest.err
1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; } >/dev/null && {
1998 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1999 test ! -s conftest.err
2000 }; then :
2001 ac_retval=0
2002 else
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2006 ac_retval=1
2008 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 return $ac_retval
2011 } # ac_fn_cxx_try_cpp
2013 # ac_fn_cxx_try_link LINENO
2014 # -------------------------
2015 # Try to link conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_link ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 rm -f conftest.$ac_objext conftest$ac_exeext
2020 if { { ac_try="$ac_link"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_link") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } && {
2036 test -z "$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 } && test -s conftest$ac_exeext && {
2039 test "$cross_compiling" = yes ||
2040 $as_test_x conftest$ac_exeext
2041 }; then :
2042 ac_retval=0
2043 else
2044 $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2047 ac_retval=1
2049 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2050 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2051 # interfere with the next link command; also delete a directory that is
2052 # left behind by Apple's compiler. We do this before executing the actions.
2053 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2054 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055 return $ac_retval
2057 } # ac_fn_cxx_try_link
2059 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2060 # -------------------------------------------------------
2061 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2062 # the include files in INCLUDES and setting the cache variable VAR
2063 # accordingly.
2064 ac_fn_c_check_header_mongrel ()
2066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071 $as_echo_n "(cached) " >&6
2073 eval ac_res=\$$3
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 else
2077 # Is the header compilable?
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2079 $as_echo_n "checking $2 usability... " >&6; }
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2083 #include <$2>
2084 _ACEOF
2085 if ac_fn_c_try_compile "$LINENO"; then :
2086 ac_header_compiler=yes
2087 else
2088 ac_header_compiler=no
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2092 $as_echo "$ac_header_compiler" >&6; }
2094 # Is the header present?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2096 $as_echo_n "checking $2 presence... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2099 #include <$2>
2100 _ACEOF
2101 if ac_fn_c_try_cpp "$LINENO"; then :
2102 ac_header_preproc=yes
2103 else
2104 ac_header_preproc=no
2106 rm -f conftest.err conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2108 $as_echo "$ac_header_preproc" >&6; }
2110 # So? What about this header?
2111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2112 yes:no: )
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2114 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2116 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118 no:yes:* )
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2120 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2122 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2124 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2126 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2130 esac
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2132 $as_echo_n "checking for $2... " >&6; }
2133 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2134 $as_echo_n "(cached) " >&6
2135 else
2136 eval "$3=\$ac_header_compiler"
2138 eval ac_res=\$$3
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2142 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2144 } # ac_fn_c_check_header_mongrel
2146 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2147 # ---------------------------------------------------------
2148 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2149 # the include files in INCLUDES and setting the cache variable VAR
2150 # accordingly.
2151 ac_fn_cxx_check_header_mongrel ()
2153 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2154 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2160 eval ac_res=\$$3
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 else
2164 # Is the header compilable?
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2166 $as_echo_n "checking $2 usability... " >&6; }
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2170 #include <$2>
2171 _ACEOF
2172 if ac_fn_cxx_try_compile "$LINENO"; then :
2173 ac_header_compiler=yes
2174 else
2175 ac_header_compiler=no
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2179 $as_echo "$ac_header_compiler" >&6; }
2181 # Is the header present?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2183 $as_echo_n "checking $2 presence... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 #include <$2>
2187 _ACEOF
2188 if ac_fn_cxx_try_cpp "$LINENO"; then :
2189 ac_header_preproc=yes
2190 else
2191 ac_header_preproc=no
2193 rm -f conftest.err conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2195 $as_echo "$ac_header_preproc" >&6; }
2197 # So? What about this header?
2198 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2199 yes:no: )
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2201 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2203 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205 no:yes:* )
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2207 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2209 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2211 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2213 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2217 esac
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2219 $as_echo_n "checking for $2... " >&6; }
2220 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2221 $as_echo_n "(cached) " >&6
2222 else
2223 eval "$3=\$ac_header_compiler"
2225 eval ac_res=\$$3
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2229 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2231 } # ac_fn_cxx_check_header_mongrel
2233 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2234 # --------------------------------------------
2235 # Tries to find the compile-time value of EXPR in a program that includes
2236 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2237 # computed
2238 ac_fn_c_compute_int ()
2240 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2241 if test "$cross_compiling" = yes; then
2242 # Depending upon the size, compute the lo and hi bounds.
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h. */
2247 main ()
2249 static int test_array [1 - 2 * !(($2) >= 0)];
2250 test_array [0] = 0
2253 return 0;
2255 _ACEOF
2256 if ac_fn_c_try_compile "$LINENO"; then :
2257 ac_lo=0 ac_mid=0
2258 while :; do
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2263 main ()
2265 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2266 test_array [0] = 0
2269 return 0;
2271 _ACEOF
2272 if ac_fn_c_try_compile "$LINENO"; then :
2273 ac_hi=$ac_mid; break
2274 else
2275 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2276 if test $ac_lo -le $ac_mid; then
2277 ac_lo= ac_hi=
2278 break
2280 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283 done
2284 else
2285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2289 main ()
2291 static int test_array [1 - 2 * !(($2) < 0)];
2292 test_array [0] = 0
2295 return 0;
2297 _ACEOF
2298 if ac_fn_c_try_compile "$LINENO"; then :
2299 ac_hi=-1 ac_mid=-1
2300 while :; do
2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2305 main ()
2307 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2308 test_array [0] = 0
2311 return 0;
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315 ac_lo=$ac_mid; break
2316 else
2317 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2318 if test $ac_mid -le $ac_hi; then
2319 ac_lo= ac_hi=
2320 break
2322 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 done
2326 else
2327 ac_lo= ac_hi=
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 # Binary search between lo and hi bounds.
2333 while test "x$ac_lo" != "x$ac_hi"; do
2334 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2339 main ()
2341 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2342 test_array [0] = 0
2345 return 0;
2347 _ACEOF
2348 if ac_fn_c_try_compile "$LINENO"; then :
2349 ac_hi=$ac_mid
2350 else
2351 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 case $ac_lo in #((
2356 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2357 '') ac_retval=1 ;;
2358 esac
2359 else
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2363 static long int longval () { return $2; }
2364 static unsigned long int ulongval () { return $2; }
2365 #include <stdio.h>
2366 #include <stdlib.h>
2368 main ()
2371 FILE *f = fopen ("conftest.val", "w");
2372 if (! f)
2373 return 1;
2374 if (($2) < 0)
2376 long int i = longval ();
2377 if (i != ($2))
2378 return 1;
2379 fprintf (f, "%ld", i);
2381 else
2383 unsigned long int i = ulongval ();
2384 if (i != ($2))
2385 return 1;
2386 fprintf (f, "%lu", i);
2388 /* Do not output a trailing newline, as this causes \r\n confusion
2389 on some platforms. */
2390 return ferror (f) || fclose (f) != 0;
2393 return 0;
2395 _ACEOF
2396 if ac_fn_c_try_run "$LINENO"; then :
2397 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2398 else
2399 ac_retval=1
2401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2402 conftest.$ac_objext conftest.beam conftest.$ac_ext
2403 rm -f conftest.val
2406 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407 return $ac_retval
2409 } # ac_fn_c_compute_int
2411 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2412 # -------------------------------------------
2413 # Tests whether TYPE exists after having included INCLUDES, setting cache
2414 # variable VAR accordingly.
2415 ac_fn_c_check_type ()
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2419 $as_echo_n "checking for $2... " >&6; }
2420 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2421 $as_echo_n "(cached) " >&6
2422 else
2423 eval "$3=no"
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2428 main ()
2430 if (sizeof ($2))
2431 return 0;
2433 return 0;
2435 _ACEOF
2436 if ac_fn_c_try_compile "$LINENO"; then :
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h. */
2441 main ()
2443 if (sizeof (($2)))
2444 return 0;
2446 return 0;
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2451 else
2452 eval "$3=yes"
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 eval ac_res=\$$3
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2460 $as_echo "$ac_res" >&6; }
2461 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2463 } # ac_fn_c_check_type
2464 cat >config.log <<_ACEOF
2465 This file contains any messages produced by compilers while
2466 running configure, to aid debugging if configure makes a mistake.
2468 It was created by package-unused $as_me version-unused, which was
2469 generated by GNU Autoconf 2.64. Invocation command line was
2471 $ $0 $@
2473 _ACEOF
2474 exec 5>>config.log
2476 cat <<_ASUNAME
2477 ## --------- ##
2478 ## Platform. ##
2479 ## --------- ##
2481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2488 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2490 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2491 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2493 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2494 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2495 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2496 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2498 _ASUNAME
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 for as_dir in $PATH
2503 IFS=$as_save_IFS
2504 test -z "$as_dir" && as_dir=.
2505 $as_echo "PATH: $as_dir"
2506 done
2507 IFS=$as_save_IFS
2509 } >&5
2511 cat >&5 <<_ACEOF
2514 ## ----------- ##
2515 ## Core tests. ##
2516 ## ----------- ##
2518 _ACEOF
2521 # Keep a trace of the command line.
2522 # Strip out --no-create and --no-recursion so they do not pile up.
2523 # Strip out --silent because we don't want to record it for future runs.
2524 # Also quote any args containing shell meta-characters.
2525 # Make two passes to allow for proper duplicate-argument suppression.
2526 ac_configure_args=
2527 ac_configure_args0=
2528 ac_configure_args1=
2529 ac_must_keep_next=false
2530 for ac_pass in 1 2
2532 for ac_arg
2534 case $ac_arg in
2535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2537 | -silent | --silent | --silen | --sile | --sil)
2538 continue ;;
2539 *\'*)
2540 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2541 esac
2542 case $ac_pass in
2543 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2545 as_fn_append ac_configure_args1 " '$ac_arg'"
2546 if test $ac_must_keep_next = true; then
2547 ac_must_keep_next=false # Got value, back to normal.
2548 else
2549 case $ac_arg in
2550 *=* | --config-cache | -C | -disable-* | --disable-* \
2551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2553 | -with-* | --with-* | -without-* | --without-* | --x)
2554 case "$ac_configure_args0 " in
2555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2556 esac
2558 -* ) ac_must_keep_next=true ;;
2559 esac
2561 as_fn_append ac_configure_args " '$ac_arg'"
2563 esac
2564 done
2565 done
2566 { ac_configure_args0=; unset ac_configure_args0;}
2567 { ac_configure_args1=; unset ac_configure_args1;}
2569 # When interrupted or exit'd, cleanup temporary files, and complete
2570 # config.log. We remove comments because anyway the quotes in there
2571 # would cause problems or look ugly.
2572 # WARNING: Use '\'' to represent an apostrophe within the trap.
2573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2574 trap 'exit_status=$?
2575 # Save into config.log some information that might help in debugging.
2577 echo
2579 cat <<\_ASBOX
2580 ## ---------------- ##
2581 ## Cache variables. ##
2582 ## ---------------- ##
2583 _ASBOX
2584 echo
2585 # The following way of writing the cache mishandles newlines in values,
2587 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2588 eval ac_val=\$$ac_var
2589 case $ac_val in #(
2590 *${as_nl}*)
2591 case $ac_var in #(
2592 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2594 esac
2595 case $ac_var in #(
2596 _ | IFS | as_nl) ;; #(
2597 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2598 *) { eval $ac_var=; unset $ac_var;} ;;
2599 esac ;;
2600 esac
2601 done
2602 (set) 2>&1 |
2603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2604 *${as_nl}ac_space=\ *)
2605 sed -n \
2606 "s/'\''/'\''\\\\'\'''\''/g;
2607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2608 ;; #(
2610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2612 esac |
2613 sort
2615 echo
2617 cat <<\_ASBOX
2618 ## ----------------- ##
2619 ## Output variables. ##
2620 ## ----------------- ##
2621 _ASBOX
2622 echo
2623 for ac_var in $ac_subst_vars
2625 eval ac_val=\$$ac_var
2626 case $ac_val in
2627 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2628 esac
2629 $as_echo "$ac_var='\''$ac_val'\''"
2630 done | sort
2631 echo
2633 if test -n "$ac_subst_files"; then
2634 cat <<\_ASBOX
2635 ## ------------------- ##
2636 ## File substitutions. ##
2637 ## ------------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_files
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
2651 if test -s confdefs.h; then
2652 cat <<\_ASBOX
2653 ## ----------- ##
2654 ## confdefs.h. ##
2655 ## ----------- ##
2656 _ASBOX
2657 echo
2658 cat confdefs.h
2659 echo
2661 test "$ac_signal" != 0 &&
2662 $as_echo "$as_me: caught signal $ac_signal"
2663 $as_echo "$as_me: exit $exit_status"
2664 } >&5
2665 rm -f core *.core core.conftest.* &&
2666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2667 exit $exit_status
2669 for ac_signal in 1 2 13 15; do
2670 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2671 done
2672 ac_signal=0
2674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2675 rm -f -r conftest* confdefs.h
2677 $as_echo "/* confdefs.h */" > confdefs.h
2679 # Predefined preprocessor variables.
2681 cat >>confdefs.h <<_ACEOF
2682 #define PACKAGE_NAME "$PACKAGE_NAME"
2683 _ACEOF
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2687 _ACEOF
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2691 _ACEOF
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_STRING "$PACKAGE_STRING"
2695 _ACEOF
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2699 _ACEOF
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_URL "$PACKAGE_URL"
2703 _ACEOF
2706 # Let the site file select an alternate cache file if it wants to.
2707 # Prefer an explicitly selected file to automatically selected ones.
2708 ac_site_file1=NONE
2709 ac_site_file2=NONE
2710 if test -n "$CONFIG_SITE"; then
2711 ac_site_file1=$CONFIG_SITE
2712 elif test "x$prefix" != xNONE; then
2713 ac_site_file1=$prefix/share/config.site
2714 ac_site_file2=$prefix/etc/config.site
2715 else
2716 ac_site_file1=$ac_default_prefix/share/config.site
2717 ac_site_file2=$ac_default_prefix/etc/config.site
2719 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2721 test "x$ac_site_file" = xNONE && continue
2722 if test -r "$ac_site_file"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2724 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2725 sed 's/^/| /' "$ac_site_file" >&5
2726 . "$ac_site_file"
2728 done
2730 if test -r "$cache_file"; then
2731 # Some versions of bash will fail to source /dev/null (special
2732 # files actually), so we avoid doing that.
2733 if test -f "$cache_file"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2735 $as_echo "$as_me: loading cache $cache_file" >&6;}
2736 case $cache_file in
2737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2738 *) . "./$cache_file";;
2739 esac
2741 else
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2743 $as_echo "$as_me: creating cache $cache_file" >&6;}
2744 >$cache_file
2747 # Check that the precious variables saved in the cache have kept the same
2748 # value.
2749 ac_cache_corrupted=false
2750 for ac_var in $ac_precious_vars; do
2751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2752 eval ac_new_set=\$ac_env_${ac_var}_set
2753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2754 eval ac_new_val=\$ac_env_${ac_var}_value
2755 case $ac_old_set,$ac_new_set in
2756 set,)
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2759 ac_cache_corrupted=: ;;
2760 ,set)
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2763 ac_cache_corrupted=: ;;
2764 ,);;
2766 if test "x$ac_old_val" != "x$ac_new_val"; then
2767 # differences in whitespace do not lead to failure.
2768 ac_old_val_w=`echo x $ac_old_val`
2769 ac_new_val_w=`echo x $ac_new_val`
2770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2773 ac_cache_corrupted=:
2774 else
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2777 eval $ac_var=\$ac_old_val
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2783 fi;;
2784 esac
2785 # Pass precious variables to config.status.
2786 if test "$ac_new_set" = set; then
2787 case $ac_new_val in
2788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2789 *) ac_arg=$ac_var=$ac_new_val ;;
2790 esac
2791 case " $ac_configure_args " in
2792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2793 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2794 esac
2796 done
2797 if $ac_cache_corrupted; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2802 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2804 ## -------------------- ##
2805 ## Main body of script. ##
2806 ## -------------------- ##
2808 ac_ext=c
2809 ac_cpp='$CPP $CPPFLAGS'
2810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2819 ac_config_headers="$ac_config_headers config.h"
2822 # This works around the fact that libtool configuration may change LD
2823 # for this particular configuration, but some shells, instead of
2824 # keeping the changes in LD private, export them just because LD is
2825 # exported. Only used at the end of this file.
2826 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2828 # Find the rest of the source tree framework.
2829 # Default to --enable-multilib
2830 # Check whether --enable-multilib was given.
2831 if test "${enable_multilib+set}" = set; then :
2832 enableval=$enable_multilib; case "$enableval" in
2833 yes) multilib=yes ;;
2834 no) multilib=no ;;
2835 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2836 esac
2837 else
2838 multilib=yes
2842 # We may get other options which we leave undocumented:
2843 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2844 # See config-ml.in if you want the gory details.
2846 if test "$srcdir" = "."; then
2847 if test "$with_target_subdir" != "."; then
2848 multi_basedir="$srcdir/$with_multisrctop../.."
2849 else
2850 multi_basedir="$srcdir/$with_multisrctop.."
2852 else
2853 multi_basedir="$srcdir/.."
2857 # Even if the default multilib is not a cross compilation,
2858 # it may be that some of the other multilibs are.
2859 if test $cross_compiling = no && test $multilib = yes \
2860 && test "x${with_multisubdir}" != x ; then
2861 cross_compiling=maybe
2864 ac_config_commands="$ac_config_commands default-1"
2867 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2869 # You will slowly go insane if you do not grok the following fact: when
2870 # building v3 as part of the compiler, the top-level /target/ becomes the
2871 # library's /host/. configure then causes --target to default to --host,
2872 # exactly like any other package using autoconf. Therefore, 'target' and
2873 # 'host' will always be the same. This makes sense both for native and
2874 # cross compilers, just think about it for a little while. :-)
2876 # Also, if v3 is being configured as part of a cross compiler, the top-level
2877 # configure script will pass the "real" host as $with_cross_host.
2879 # Do not delete or change the following two lines. For why, see
2880 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2881 ac_aux_dir=
2882 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2883 for ac_t in install-sh install.sh shtool; do
2884 if test -f "$ac_dir/$ac_t"; then
2885 ac_aux_dir=$ac_dir
2886 ac_install_sh="$ac_aux_dir/$ac_t -c"
2887 break 2
2889 done
2890 done
2891 if test -z "$ac_aux_dir"; then
2892 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2895 # These three variables are undocumented and unsupported,
2896 # and are intended to be withdrawn in a future Autoconf release.
2897 # They can cause serious problems if a builder's source tree is in a directory
2898 # whose full name contains unusual characters.
2899 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2900 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2901 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2904 # Make sure we can run config.sub.
2905 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2906 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2909 $as_echo_n "checking build system type... " >&6; }
2910 if test "${ac_cv_build+set}" = set; then :
2911 $as_echo_n "(cached) " >&6
2912 else
2913 ac_build_alias=$build_alias
2914 test "x$ac_build_alias" = x &&
2915 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2916 test "x$ac_build_alias" = x &&
2917 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2918 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2919 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2923 $as_echo "$ac_cv_build" >&6; }
2924 case $ac_cv_build in
2925 *-*-*) ;;
2926 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2927 esac
2928 build=$ac_cv_build
2929 ac_save_IFS=$IFS; IFS='-'
2930 set x $ac_cv_build
2931 shift
2932 build_cpu=$1
2933 build_vendor=$2
2934 shift; shift
2935 # Remember, the first character of IFS is used to create $*,
2936 # except with old shells:
2937 build_os=$*
2938 IFS=$ac_save_IFS
2939 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2943 $as_echo_n "checking host system type... " >&6; }
2944 if test "${ac_cv_host+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 if test "x$host_alias" = x; then
2948 ac_cv_host=$ac_cv_build
2949 else
2950 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2951 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2956 $as_echo "$ac_cv_host" >&6; }
2957 case $ac_cv_host in
2958 *-*-*) ;;
2959 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2960 esac
2961 host=$ac_cv_host
2962 ac_save_IFS=$IFS; IFS='-'
2963 set x $ac_cv_host
2964 shift
2965 host_cpu=$1
2966 host_vendor=$2
2967 shift; shift
2968 # Remember, the first character of IFS is used to create $*,
2969 # except with old shells:
2970 host_os=$*
2971 IFS=$ac_save_IFS
2972 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2976 $as_echo_n "checking target system type... " >&6; }
2977 if test "${ac_cv_target+set}" = set; then :
2978 $as_echo_n "(cached) " >&6
2979 else
2980 if test "x$target_alias" = x; then
2981 ac_cv_target=$ac_cv_host
2982 else
2983 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2984 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2989 $as_echo "$ac_cv_target" >&6; }
2990 case $ac_cv_target in
2991 *-*-*) ;;
2992 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2993 esac
2994 target=$ac_cv_target
2995 ac_save_IFS=$IFS; IFS='-'
2996 set x $ac_cv_target
2997 shift
2998 target_cpu=$1
2999 target_vendor=$2
3000 shift; shift
3001 # Remember, the first character of IFS is used to create $*,
3002 # except with old shells:
3003 target_os=$*
3004 IFS=$ac_save_IFS
3005 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3008 # The aliases save the names the user supplied, while $host etc.
3009 # will get canonicalized.
3010 test -n "$target_alias" &&
3011 test "$program_prefix$program_suffix$program_transform_name" = \
3012 NONENONEs,x,x, &&
3013 program_prefix=${target_alias}-
3015 target_alias=${target_alias-$host_alias}
3017 # Handy for debugging:
3018 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3020 if test "$build" != "$host"; then
3021 # We are being configured with some form of cross compiler.
3022 GLIBCXX_IS_NATIVE=false
3023 case "$host","$target" in
3024 # Darwin crosses can use the host system's libraries and headers,
3025 # because of the fat library support. Of course, it must be the
3026 # same version of Darwin on both sides. Allow the user to
3027 # just say --target=foo-darwin without a version number to mean
3028 # "the version on this system".
3029 *-*-darwin*,*-*-darwin*)
3030 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3031 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3032 if test $hostos = $targetos -o $targetos = darwin ; then
3033 GLIBCXX_IS_NATIVE=true
3040 esac
3041 else
3042 GLIBCXX_IS_NATIVE=true
3045 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3046 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3047 # 1.x: minimum required version
3048 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3049 # of other PACKAGE_* variables will, however, and there's nothing
3050 # we can do about that; they come from AC_INIT).
3051 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3052 # file in the top srcdir, etc, etc), so stop complaining.
3053 # no-dependencies: turns off auto dependency generation (just for now)
3054 # no-dist: we don't want 'dist' and related rules.
3055 # -Wall: turns on all automake warnings...
3056 # -Wno-portability: ...except this one, since GNU make is now required.
3057 am__api_version='1.11'
3059 # Find a good install program. We prefer a C program (faster),
3060 # so one script is as good as another. But avoid the broken or
3061 # incompatible versions:
3062 # SysV /etc/install, /usr/sbin/install
3063 # SunOS /usr/etc/install
3064 # IRIX /sbin/install
3065 # AIX /bin/install
3066 # AmigaOS /C/install, which installs bootblocks on floppy discs
3067 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3068 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3069 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3070 # OS/2's system install, which has a completely different semantic
3071 # ./install, which can be erroneously created by make from ./install.sh.
3072 # Reject install programs that cannot install multiple files.
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3074 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3075 if test -z "$INSTALL"; then
3076 if test "${ac_cv_path_install+set}" = set; then :
3077 $as_echo_n "(cached) " >&6
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3082 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=.
3084 # Account for people who put trailing slashes in PATH elements.
3085 case $as_dir/ in #((
3086 ./ | .// | /[cC]/* | \
3087 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3088 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3089 /usr/ucb/* ) ;;
3091 # OSF1 and SCO ODT 3.0 have their own names for install.
3092 # Don't use installbsd from OSF since it installs stuff as root
3093 # by default.
3094 for ac_prog in ginstall scoinst install; do
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3097 if test $ac_prog = install &&
3098 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3099 # AIX install. It has an incompatible calling convention.
3101 elif test $ac_prog = install &&
3102 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3103 # program-specific install script used by HP pwplus--don't use.
3105 else
3106 rm -rf conftest.one conftest.two conftest.dir
3107 echo one > conftest.one
3108 echo two > conftest.two
3109 mkdir conftest.dir
3110 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3111 test -s conftest.one && test -s conftest.two &&
3112 test -s conftest.dir/conftest.one &&
3113 test -s conftest.dir/conftest.two
3114 then
3115 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3116 break 3
3120 done
3121 done
3123 esac
3125 done
3126 IFS=$as_save_IFS
3128 rm -rf conftest.one conftest.two conftest.dir
3131 if test "${ac_cv_path_install+set}" = set; then
3132 INSTALL=$ac_cv_path_install
3133 else
3134 # As a last resort, use the slow shell script. Don't cache a
3135 # value for INSTALL within a source directory, because that will
3136 # break other packages using the cache if that directory is
3137 # removed, or if the value is a relative name.
3138 INSTALL=$ac_install_sh
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3142 $as_echo "$INSTALL" >&6; }
3144 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3145 # It thinks the first close brace ends the variable substitution.
3146 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3148 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3150 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3153 $as_echo_n "checking whether build environment is sane... " >&6; }
3154 # Just in case
3155 sleep 1
3156 echo timestamp > conftest.file
3157 # Reject unsafe characters in $srcdir or the absolute working directory
3158 # name. Accept space and tab only in the latter.
3159 am_lf='
3161 case `pwd` in
3162 *[\\\"\#\$\&\'\`$am_lf]*)
3163 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3164 esac
3165 case $srcdir in
3166 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3167 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3168 esac
3170 # Do `set' in a subshell so we don't clobber the current shell's
3171 # arguments. Must try -L first in case configure is actually a
3172 # symlink; some systems play weird games with the mod time of symlinks
3173 # (eg FreeBSD returns the mod time of the symlink's containing
3174 # directory).
3175 if (
3176 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3177 if test "$*" = "X"; then
3178 # -L didn't work.
3179 set X `ls -t "$srcdir/configure" conftest.file`
3181 rm -f conftest.file
3182 if test "$*" != "X $srcdir/configure conftest.file" \
3183 && test "$*" != "X conftest.file $srcdir/configure"; then
3185 # If neither matched, then we have a broken ls. This can happen
3186 # if, for instance, CONFIG_SHELL is bash and it inherits a
3187 # broken ls alias from the environment. This has actually
3188 # happened. Such a system could not be considered "sane".
3189 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3190 alias in your environment" "$LINENO" 5
3193 test "$2" = conftest.file
3195 then
3196 # Ok.
3198 else
3199 as_fn_error "newly created file is older than distributed files!
3200 Check your system clock" "$LINENO" 5
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203 $as_echo "yes" >&6; }
3204 test "$program_prefix" != NONE &&
3205 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3206 # Use a double $ so make ignores it.
3207 test "$program_suffix" != NONE &&
3208 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3209 # Double any \ or $.
3210 # By default was `s,x,x', remove it if useless.
3211 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3212 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3214 # expand $ac_aux_dir to an absolute path
3215 am_aux_dir=`cd $ac_aux_dir && pwd`
3217 if test x"${MISSING+set}" != xset; then
3218 case $am_aux_dir in
3219 *\ * | *\ *)
3220 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3222 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3223 esac
3225 # Use eval to expand $SHELL
3226 if eval "$MISSING --run true"; then
3227 am_missing_run="$MISSING --run "
3228 else
3229 am_missing_run=
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3231 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3234 if test x"${install_sh}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3239 install_sh="\${SHELL} $am_aux_dir/install-sh"
3240 esac
3243 # Installed binaries are usually stripped using `strip' when the user
3244 # run `make install-strip'. However `strip' might not be the right
3245 # tool to use in cross-compilation environments, therefore Automake
3246 # will honor the `STRIP' environment variable to overrule this program.
3247 if test "$cross_compiling" != no; then
3248 if test -n "$ac_tool_prefix"; then
3249 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3250 set dummy ${ac_tool_prefix}strip; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if test "${ac_cv_prog_STRIP+set}" = set; then :
3254 $as_echo_n "(cached) " >&6
3255 else
3256 if test -n "$STRIP"; then
3257 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3262 IFS=$as_save_IFS
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 break 2
3270 done
3271 done
3272 IFS=$as_save_IFS
3276 STRIP=$ac_cv_prog_STRIP
3277 if test -n "$STRIP"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3279 $as_echo "$STRIP" >&6; }
3280 else
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3287 if test -z "$ac_cv_prog_STRIP"; then
3288 ac_ct_STRIP=$STRIP
3289 # Extract the first word of "strip", so it can be a program name with args.
3290 set dummy strip; ac_word=$2
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292 $as_echo_n "checking for $ac_word... " >&6; }
3293 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3295 else
3296 if test -n "$ac_ct_STRIP"; then
3297 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3298 else
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3302 IFS=$as_save_IFS
3303 test -z "$as_dir" && as_dir=.
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3306 ac_cv_prog_ac_ct_STRIP="strip"
3307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 break 2
3310 done
3311 done
3312 IFS=$as_save_IFS
3316 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3317 if test -n "$ac_ct_STRIP"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3319 $as_echo "$ac_ct_STRIP" >&6; }
3320 else
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 $as_echo "no" >&6; }
3325 if test "x$ac_ct_STRIP" = x; then
3326 STRIP=":"
3327 else
3328 case $cross_compiling:$ac_tool_warned in
3329 yes:)
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3332 ac_tool_warned=yes ;;
3333 esac
3334 STRIP=$ac_ct_STRIP
3336 else
3337 STRIP="$ac_cv_prog_STRIP"
3341 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3344 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3345 if test -z "$MKDIR_P"; then
3346 if test "${ac_cv_path_mkdir+set}" = set; then :
3347 $as_echo_n "(cached) " >&6
3348 else
3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3352 IFS=$as_save_IFS
3353 test -z "$as_dir" && as_dir=.
3354 for ac_prog in mkdir gmkdir; do
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3357 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3358 'mkdir (GNU coreutils) '* | \
3359 'mkdir (coreutils) '* | \
3360 'mkdir (fileutils) '4.1*)
3361 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3362 break 3;;
3363 esac
3364 done
3365 done
3366 done
3367 IFS=$as_save_IFS
3371 if test "${ac_cv_path_mkdir+set}" = set; then
3372 MKDIR_P="$ac_cv_path_mkdir -p"
3373 else
3374 # As a last resort, use the slow shell script. Don't cache a
3375 # value for MKDIR_P within a source directory, because that will
3376 # break other packages using the cache if that directory is
3377 # removed, or if the value is a relative name.
3378 test -d ./--version && rmdir ./--version
3379 MKDIR_P="$ac_install_sh -d"
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3383 $as_echo "$MKDIR_P" >&6; }
3385 mkdir_p="$MKDIR_P"
3386 case $mkdir_p in
3387 [\\/$]* | ?:[\\/]*) ;;
3388 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3389 esac
3391 for ac_prog in gawk mawk nawk awk
3393 # Extract the first word of "$ac_prog", so it can be a program name with args.
3394 set dummy $ac_prog; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if test "${ac_cv_prog_AWK+set}" = set; then :
3398 $as_echo_n "(cached) " >&6
3399 else
3400 if test -n "$AWK"; then
3401 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3406 IFS=$as_save_IFS
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_AWK="$ac_prog"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 break 2
3414 done
3415 done
3416 IFS=$as_save_IFS
3420 AWK=$ac_cv_prog_AWK
3421 if test -n "$AWK"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3423 $as_echo "$AWK" >&6; }
3424 else
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3430 test -n "$AWK" && break
3431 done
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3434 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3435 set x ${MAKE-make}
3436 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3437 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3438 $as_echo_n "(cached) " >&6
3439 else
3440 cat >conftest.make <<\_ACEOF
3441 SHELL = /bin/sh
3442 all:
3443 @echo '@@@%%%=$(MAKE)=@@@%%%'
3444 _ACEOF
3445 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3446 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3447 *@@@%%%=?*=@@@%%%*)
3448 eval ac_cv_prog_make_${ac_make}_set=yes;;
3450 eval ac_cv_prog_make_${ac_make}_set=no;;
3451 esac
3452 rm -f conftest.make
3454 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3456 $as_echo "yes" >&6; }
3457 SET_MAKE=
3458 else
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461 SET_MAKE="MAKE=${MAKE-make}"
3464 rm -rf .tst 2>/dev/null
3465 mkdir .tst 2>/dev/null
3466 if test -d .tst; then
3467 am__leading_dot=.
3468 else
3469 am__leading_dot=_
3471 rmdir .tst 2>/dev/null
3473 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3474 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3475 # is not polluted with repeated "-I."
3476 am__isrc=' -I$(srcdir)'
3477 # test to see if srcdir already configured
3478 if test -f $srcdir/config.status; then
3479 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3483 # test whether we have cygpath
3484 if test -z "$CYGPATH_W"; then
3485 if (cygpath --version) >/dev/null 2>/dev/null; then
3486 CYGPATH_W='cygpath -w'
3487 else
3488 CYGPATH_W=echo
3493 # Define the identity of the package.
3494 PACKAGE='libstdc++'
3495 VERSION='version-unused'
3498 # Some tools Automake needs.
3500 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3503 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3506 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3509 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3512 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3514 # We need awk for the "check" target. The system "awk" is bad on
3515 # some platforms.
3516 # Always define AMTAR for backward compatibility.
3518 AMTAR=${AMTAR-"${am_missing_run}tar"}
3520 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3529 # -fno-builtin must be present here so that a non-conflicting form of
3530 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3532 save_CXXFLAGS="$CXXFLAGS"
3533 CXXFLAGS="$CXXFLAGS -fno-builtin"
3534 ac_ext=c
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 if test -n "$ac_tool_prefix"; then
3540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if test "${ac_cv_prog_CC+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3546 else
3547 if test -n "$CC"; then
3548 ac_cv_prog_CC="$CC" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 break 2
3561 done
3562 done
3563 IFS=$as_save_IFS
3567 CC=$ac_cv_prog_CC
3568 if test -n "$CC"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3570 $as_echo "$CC" >&6; }
3571 else
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3578 if test -z "$ac_cv_prog_CC"; then
3579 ac_ct_CC=$CC
3580 # Extract the first word of "gcc", so it can be a program name with args.
3581 set dummy gcc; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3585 $as_echo_n "(cached) " >&6
3586 else
3587 if test -n "$ac_ct_CC"; then
3588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3589 else
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3593 IFS=$as_save_IFS
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 ac_cv_prog_ac_ct_CC="gcc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599 break 2
3601 done
3602 done
3603 IFS=$as_save_IFS
3607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3608 if test -n "$ac_ct_CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3610 $as_echo "$ac_ct_CC" >&6; }
3611 else
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3616 if test "x$ac_ct_CC" = x; then
3617 CC=""
3618 else
3619 case $cross_compiling:$ac_tool_warned in
3620 yes:)
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3623 ac_tool_warned=yes ;;
3624 esac
3625 CC=$ac_ct_CC
3627 else
3628 CC="$ac_cv_prog_CC"
3631 if test -z "$CC"; then
3632 if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3634 set dummy ${ac_tool_prefix}cc; ac_word=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if test "${ac_cv_prog_CC+set}" = set; then :
3638 $as_echo_n "(cached) " >&6
3639 else
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC="$CC" # Let the user override the test.
3642 else
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 for as_dir in $PATH
3646 IFS=$as_save_IFS
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 ac_cv_prog_CC="${ac_tool_prefix}cc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 break 2
3654 done
3655 done
3656 IFS=$as_save_IFS
3660 CC=$ac_cv_prog_CC
3661 if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3664 else
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3672 if test -z "$CC"; then
3673 # Extract the first word of "cc", so it can be a program name with args.
3674 set dummy cc; ac_word=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if test "${ac_cv_prog_CC+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3679 else
3680 if test -n "$CC"; then
3681 ac_cv_prog_CC="$CC" # Let the user override the test.
3682 else
3683 ac_prog_rejected=no
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3692 ac_prog_rejected=yes
3693 continue
3695 ac_cv_prog_CC="cc"
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 break 2
3699 done
3700 done
3701 IFS=$as_save_IFS
3703 if test $ac_prog_rejected = yes; then
3704 # We found a bogon in the path, so make sure we never use it.
3705 set dummy $ac_cv_prog_CC
3706 shift
3707 if test $# != 0; then
3708 # We chose a different compiler from the bogus one.
3709 # However, it has the same basename, so the bogon will be chosen
3710 # first if we set CC to just the basename; use the full file name.
3711 shift
3712 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3717 CC=$ac_cv_prog_CC
3718 if test -n "$CC"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3720 $as_echo "$CC" >&6; }
3721 else
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3728 if test -z "$CC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 for ac_prog in cl.exe
3732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if test "${ac_cv_prog_CC+set}" = set; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3745 IFS=$as_save_IFS
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 break 2
3753 done
3754 done
3755 IFS=$as_save_IFS
3759 CC=$ac_cv_prog_CC
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3769 test -n "$CC" && break
3770 done
3772 if test -z "$CC"; then
3773 ac_ct_CC=$CC
3774 for ac_prog in cl.exe
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy $ac_prog; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 if test -n "$ac_ct_CC"; then
3784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3785 else
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH
3789 IFS=$as_save_IFS
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3793 ac_cv_prog_ac_ct_CC="$ac_prog"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 break 2
3797 done
3798 done
3799 IFS=$as_save_IFS
3803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3804 if test -n "$ac_ct_CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 $as_echo "$ac_ct_CC" >&6; }
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3813 test -n "$ac_ct_CC" && break
3814 done
3816 if test "x$ac_ct_CC" = x; then
3817 CC=""
3818 else
3819 case $cross_compiling:$ac_tool_warned in
3820 yes:)
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned=yes ;;
3824 esac
3825 CC=$ac_ct_CC
3832 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 as_fn_error "no acceptable C compiler found in \$PATH
3835 See \`config.log' for more details." "$LINENO" 5; }
3837 # Provide some information about the compiler.
3838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3839 set X $ac_compile
3840 ac_compiler=$2
3841 for ac_option in --version -v -V -qversion; do
3842 { { ac_try="$ac_compiler $ac_option >&5"
3843 case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3846 esac
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3850 ac_status=$?
3851 if test -s conftest.err; then
3852 sed '10a\
3853 ... rest of stderr output deleted ...
3854 10q' conftest.err >conftest.er1
3855 cat conftest.er1 >&5
3856 rm -f conftest.er1 conftest.err
3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }
3860 done
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3866 main ()
3870 return 0;
3872 _ACEOF
3873 # FIXME: Cleanup?
3874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3875 (eval $ac_link) 2>&5
3876 ac_status=$?
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }; then :
3879 gcc_no_link=no
3880 else
3881 gcc_no_link=yes
3883 if test x$gcc_no_link = xyes; then
3884 # Setting cross_compile will disable run tests; it will
3885 # also disable AC_CHECK_FILE but that's generally
3886 # correct if we can't link.
3887 cross_compiling=yes
3888 EXEEXT=
3889 else
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3894 main ()
3898 return 0;
3900 _ACEOF
3901 ac_clean_files_save=$ac_clean_files
3902 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3903 # Try to create an executable without -o first, disregard a.out.
3904 # It will help us diagnose broken compilers, and finding out an intuition
3905 # of exeext.
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3907 $as_echo_n "checking for C compiler default output file name... " >&6; }
3908 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3910 # The possible output files:
3911 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3913 ac_rmfiles=
3914 for ac_file in $ac_files
3916 case $ac_file in
3917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3918 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3919 esac
3920 done
3921 rm -f $ac_rmfiles
3923 if { { ac_try="$ac_link_default"
3924 case "(($ac_try" in
3925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3927 esac
3928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3929 $as_echo "$ac_try_echo"; } >&5
3930 (eval "$ac_link_default") 2>&5
3931 ac_status=$?
3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933 test $ac_status = 0; }; then :
3934 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3935 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3936 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3937 # so that the user can short-circuit this test for compilers unknown to
3938 # Autoconf.
3939 for ac_file in $ac_files ''
3941 test -f "$ac_file" || continue
3942 case $ac_file in
3943 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3945 [ab].out )
3946 # We found the default executable, but exeext='' is most
3947 # certainly right.
3948 break;;
3949 *.* )
3950 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3951 then :; else
3952 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3954 # We set ac_cv_exeext here because the later test for it is not
3955 # safe: cross compilers may not add the suffix if given an `-o'
3956 # argument, so we may need to know it at that point already.
3957 # Even if this section looks crufty: it has the advantage of
3958 # actually working.
3959 break;;
3961 break;;
3962 esac
3963 done
3964 test "$ac_cv_exeext" = no && ac_cv_exeext=
3966 else
3967 ac_file=''
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3970 $as_echo "$ac_file" >&6; }
3971 if test -z "$ac_file"; then :
3972 $as_echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3977 { as_fn_set_status 77
3978 as_fn_error "C compiler cannot create executables
3979 See \`config.log' for more details." "$LINENO" 5; }; }
3981 ac_exeext=$ac_cv_exeext
3983 # Check that the compiler produces executables we can run. If not, either
3984 # the compiler is broken, or we cross compile.
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3986 $as_echo_n "checking whether the C compiler works... " >&6; }
3987 # If not cross compiling, check that we can run a simple program.
3988 if test "$cross_compiling" != yes; then
3989 if { ac_try='./$ac_file'
3990 { { case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3993 esac
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_try") 2>&5
3997 ac_status=$?
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }; }; then
4000 cross_compiling=no
4001 else
4002 if test "$cross_compiling" = maybe; then
4003 cross_compiling=yes
4004 else
4005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 as_fn_error "cannot run C compiled programs.
4008 If you meant to cross compile, use \`--host'.
4009 See \`config.log' for more details." "$LINENO" 5; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 $as_echo "yes" >&6; }
4016 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4017 ac_clean_files=$ac_clean_files_save
4018 # Check that the compiler produces executables we can run. If not, either
4019 # the compiler is broken, or we cross compile.
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4021 $as_echo_n "checking whether we are cross compiling... " >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4023 $as_echo "$cross_compiling" >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4026 $as_echo_n "checking for suffix of executables... " >&6; }
4027 if { { ac_try="$ac_link"
4028 case "(($ac_try" in
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4031 esac
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_link") 2>&5
4035 ac_status=$?
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; then :
4038 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4039 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4040 # work properly (i.e., refer to `conftest.exe'), while it won't with
4041 # `rm'.
4042 for ac_file in conftest.exe conftest conftest.*; do
4043 test -f "$ac_file" || continue
4044 case $ac_file in
4045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4046 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4047 break;;
4048 * ) break;;
4049 esac
4050 done
4051 else
4052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 as_fn_error "cannot compute suffix of executables: cannot compile and link
4055 See \`config.log' for more details." "$LINENO" 5; }
4057 rm -f conftest$ac_cv_exeext
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4059 $as_echo "$ac_cv_exeext" >&6; }
4061 rm -f conftest.$ac_ext
4062 EXEEXT=$ac_cv_exeext
4063 ac_exeext=$EXEEXT
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4066 $as_echo_n "checking for suffix of object files... " >&6; }
4067 if test "${ac_cv_objext+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4069 else
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4074 main ()
4078 return 0;
4080 _ACEOF
4081 rm -f conftest.o conftest.obj
4082 if { { ac_try="$ac_compile"
4083 case "(($ac_try" in
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4086 esac
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 $as_echo "$ac_try_echo"; } >&5
4089 (eval "$ac_compile") 2>&5
4090 ac_status=$?
4091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }; then :
4093 for ac_file in conftest.o conftest.obj conftest.*; do
4094 test -f "$ac_file" || continue;
4095 case $ac_file in
4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4097 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4098 break;;
4099 esac
4100 done
4101 else
4102 $as_echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.$ac_ext >&5
4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4107 as_fn_error "cannot compute suffix of object files: cannot compile
4108 See \`config.log' for more details." "$LINENO" 5; }
4110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4113 $as_echo "$ac_cv_objext" >&6; }
4114 OBJEXT=$ac_cv_objext
4115 ac_objext=$OBJEXT
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4117 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4118 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4120 else
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4125 main ()
4127 #ifndef __GNUC__
4128 choke me
4129 #endif
4132 return 0;
4134 _ACEOF
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136 ac_compiler_gnu=yes
4137 else
4138 ac_compiler_gnu=no
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4145 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4146 if test $ac_compiler_gnu = yes; then
4147 GCC=yes
4148 else
4149 GCC=
4151 ac_test_CFLAGS=${CFLAGS+set}
4152 ac_save_CFLAGS=$CFLAGS
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4154 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4155 if test "${ac_cv_prog_cc_g+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 ac_save_c_werror_flag=$ac_c_werror_flag
4159 ac_c_werror_flag=yes
4160 ac_cv_prog_cc_g=no
4161 CFLAGS="-g"
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4166 main ()
4170 return 0;
4172 _ACEOF
4173 if ac_fn_c_try_compile "$LINENO"; then :
4174 ac_cv_prog_cc_g=yes
4175 else
4176 CFLAGS=""
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4181 main ()
4185 return 0;
4187 _ACEOF
4188 if ac_fn_c_try_compile "$LINENO"; then :
4190 else
4191 ac_c_werror_flag=$ac_save_c_werror_flag
4192 CFLAGS="-g"
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205 ac_cv_prog_cc_g=yes
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 ac_c_werror_flag=$ac_save_c_werror_flag
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4215 $as_echo "$ac_cv_prog_cc_g" >&6; }
4216 if test "$ac_test_CFLAGS" = set; then
4217 CFLAGS=$ac_save_CFLAGS
4218 elif test $ac_cv_prog_cc_g = yes; then
4219 if test "$GCC" = yes; then
4220 CFLAGS="-g -O2"
4221 else
4222 CFLAGS="-g"
4224 else
4225 if test "$GCC" = yes; then
4226 CFLAGS="-O2"
4227 else
4228 CFLAGS=
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4232 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4233 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4234 $as_echo_n "(cached) " >&6
4235 else
4236 ac_cv_prog_cc_c89=no
4237 ac_save_CC=$CC
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4240 #include <stdarg.h>
4241 #include <stdio.h>
4242 #include <sys/types.h>
4243 #include <sys/stat.h>
4244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4245 struct buf { int x; };
4246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4247 static char *e (p, i)
4248 char **p;
4249 int i;
4251 return p[i];
4253 static char *f (char * (*g) (char **, int), char **p, ...)
4255 char *s;
4256 va_list v;
4257 va_start (v,p);
4258 s = g (p, va_arg (v,int));
4259 va_end (v);
4260 return s;
4263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4264 function prototypes and stuff, but not '\xHH' hex character constants.
4265 These don't provoke an error unfortunately, instead are silently treated
4266 as 'x'. The following induces an error, until -std is added to get
4267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4268 array size at least. It's necessary to write '\x00'==0 to get something
4269 that's true only with -std. */
4270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4272 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4273 inside strings and character constants. */
4274 #define FOO(x) 'x'
4275 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4277 int test (int i, double x);
4278 struct s1 {int (*f) (int a);};
4279 struct s2 {int (*f) (double a);};
4280 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4281 int argc;
4282 char **argv;
4284 main ()
4286 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4288 return 0;
4290 _ACEOF
4291 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4292 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4294 CC="$ac_save_CC $ac_arg"
4295 if ac_fn_c_try_compile "$LINENO"; then :
4296 ac_cv_prog_cc_c89=$ac_arg
4298 rm -f core conftest.err conftest.$ac_objext
4299 test "x$ac_cv_prog_cc_c89" != "xno" && break
4300 done
4301 rm -f conftest.$ac_ext
4302 CC=$ac_save_CC
4305 # AC_CACHE_VAL
4306 case "x$ac_cv_prog_cc_c89" in
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4309 $as_echo "none needed" >&6; } ;;
4310 xno)
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4312 $as_echo "unsupported" >&6; } ;;
4314 CC="$CC $ac_cv_prog_cc_c89"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4316 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4317 esac
4318 if test "x$ac_cv_prog_cc_c89" != xno; then :
4322 ac_ext=c
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 ac_ext=cpp
4329 ac_cpp='$CXXCPP $CPPFLAGS'
4330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4333 if test -z "$CXX"; then
4334 if test -n "$CCC"; then
4335 CXX=$CCC
4336 else
4337 if test -n "$ac_tool_prefix"; then
4338 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4340 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4341 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if test "${ac_cv_prog_CXX+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 if test -n "$CXX"; then
4348 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4349 else
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 for as_dir in $PATH
4353 IFS=$as_save_IFS
4354 test -z "$as_dir" && as_dir=.
4355 for ac_exec_ext in '' $ac_executable_extensions; do
4356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4357 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4359 break 2
4361 done
4362 done
4363 IFS=$as_save_IFS
4367 CXX=$ac_cv_prog_CXX
4368 if test -n "$CXX"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4370 $as_echo "$CXX" >&6; }
4371 else
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4377 test -n "$CXX" && break
4378 done
4380 if test -z "$CXX"; then
4381 ac_ct_CXX=$CXX
4382 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4384 # Extract the first word of "$ac_prog", so it can be a program name with args.
4385 set dummy $ac_prog; ac_word=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4389 $as_echo_n "(cached) " >&6
4390 else
4391 if test -n "$ac_ct_CXX"; then
4392 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4393 else
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH
4397 IFS=$as_save_IFS
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4401 ac_cv_prog_ac_ct_CXX="$ac_prog"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 break 2
4405 done
4406 done
4407 IFS=$as_save_IFS
4411 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4412 if test -n "$ac_ct_CXX"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4414 $as_echo "$ac_ct_CXX" >&6; }
4415 else
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4421 test -n "$ac_ct_CXX" && break
4422 done
4424 if test "x$ac_ct_CXX" = x; then
4425 CXX="g++"
4426 else
4427 case $cross_compiling:$ac_tool_warned in
4428 yes:)
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4431 ac_tool_warned=yes ;;
4432 esac
4433 CXX=$ac_ct_CXX
4439 # Provide some information about the compiler.
4440 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4441 set X $ac_compile
4442 ac_compiler=$2
4443 for ac_option in --version -v -V -qversion; do
4444 { { ac_try="$ac_compiler $ac_option >&5"
4445 case "(($ac_try" in
4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4448 esac
4449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4450 $as_echo "$ac_try_echo"; } >&5
4451 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4452 ac_status=$?
4453 if test -s conftest.err; then
4454 sed '10a\
4455 ... rest of stderr output deleted ...
4456 10q' conftest.err >conftest.er1
4457 cat conftest.er1 >&5
4458 rm -f conftest.er1 conftest.err
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }
4462 done
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4465 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4466 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4473 main ()
4475 #ifndef __GNUC__
4476 choke me
4477 #endif
4480 return 0;
4482 _ACEOF
4483 if ac_fn_cxx_try_compile "$LINENO"; then :
4484 ac_compiler_gnu=yes
4485 else
4486 ac_compiler_gnu=no
4488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4493 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4494 if test $ac_compiler_gnu = yes; then
4495 GXX=yes
4496 else
4497 GXX=
4499 ac_test_CXXFLAGS=${CXXFLAGS+set}
4500 ac_save_CXXFLAGS=$CXXFLAGS
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4502 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4503 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4507 ac_cxx_werror_flag=yes
4508 ac_cv_prog_cxx_g=no
4509 CXXFLAGS="-g"
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4514 main ()
4518 return 0;
4520 _ACEOF
4521 if ac_fn_cxx_try_compile "$LINENO"; then :
4522 ac_cv_prog_cxx_g=yes
4523 else
4524 CXXFLAGS=""
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 main ()
4533 return 0;
4535 _ACEOF
4536 if ac_fn_cxx_try_compile "$LINENO"; then :
4538 else
4539 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4540 CXXFLAGS="-g"
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4545 main ()
4549 return 0;
4551 _ACEOF
4552 if ac_fn_cxx_try_compile "$LINENO"; then :
4553 ac_cv_prog_cxx_g=yes
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4563 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4564 if test "$ac_test_CXXFLAGS" = set; then
4565 CXXFLAGS=$ac_save_CXXFLAGS
4566 elif test $ac_cv_prog_cxx_g = yes; then
4567 if test "$GXX" = yes; then
4568 CXXFLAGS="-g -O2"
4569 else
4570 CXXFLAGS="-g"
4572 else
4573 if test "$GXX" = yes; then
4574 CXXFLAGS="-O2"
4575 else
4576 CXXFLAGS=
4579 ac_ext=c
4580 ac_cpp='$CPP $CPPFLAGS'
4581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4585 CXXFLAGS="$save_CXXFLAGS"
4587 # Runs configure.host, and assorted other critical bits. Sets
4588 # up critical shell variables.
4590 ac_ext=c
4591 ac_cpp='$CPP $CPPFLAGS'
4592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4596 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4597 # On Suns, sometimes $CPP names a directory.
4598 if test -n "$CPP" && test -d "$CPP"; then
4599 CPP=
4601 if test -z "$CPP"; then
4602 if test "${ac_cv_prog_CPP+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 # Double quotes because CPP needs to be expanded
4606 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4608 ac_preproc_ok=false
4609 for ac_c_preproc_warn_flag in '' yes
4611 # Use a header file that comes with gcc, so configuring glibc
4612 # with a fresh cross-compiler works.
4613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4614 # <limits.h> exists even on freestanding compilers.
4615 # On the NeXT, cc -E runs the code through the compiler's parser,
4616 # not just through cpp. "Syntax error" is here to catch this case.
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4619 #ifdef __STDC__
4620 # include <limits.h>
4621 #else
4622 # include <assert.h>
4623 #endif
4624 Syntax error
4625 _ACEOF
4626 if ac_fn_c_try_cpp "$LINENO"; then :
4628 else
4629 # Broken: fails on valid input.
4630 continue
4632 rm -f conftest.err conftest.$ac_ext
4634 # OK, works on sane cases. Now check whether nonexistent headers
4635 # can be detected and how.
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4638 #include <ac_nonexistent.h>
4639 _ACEOF
4640 if ac_fn_c_try_cpp "$LINENO"; then :
4641 # Broken: success on invalid input.
4642 continue
4643 else
4644 # Passes both tests.
4645 ac_preproc_ok=:
4646 break
4648 rm -f conftest.err conftest.$ac_ext
4650 done
4651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4652 rm -f conftest.err conftest.$ac_ext
4653 if $ac_preproc_ok; then :
4654 break
4657 done
4658 ac_cv_prog_CPP=$CPP
4661 CPP=$ac_cv_prog_CPP
4662 else
4663 ac_cv_prog_CPP=$CPP
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4666 $as_echo "$CPP" >&6; }
4667 ac_preproc_ok=false
4668 for ac_c_preproc_warn_flag in '' yes
4670 # Use a header file that comes with gcc, so configuring glibc
4671 # with a fresh cross-compiler works.
4672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4673 # <limits.h> exists even on freestanding compilers.
4674 # On the NeXT, cc -E runs the code through the compiler's parser,
4675 # not just through cpp. "Syntax error" is here to catch this case.
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4678 #ifdef __STDC__
4679 # include <limits.h>
4680 #else
4681 # include <assert.h>
4682 #endif
4683 Syntax error
4684 _ACEOF
4685 if ac_fn_c_try_cpp "$LINENO"; then :
4687 else
4688 # Broken: fails on valid input.
4689 continue
4691 rm -f conftest.err conftest.$ac_ext
4693 # OK, works on sane cases. Now check whether nonexistent headers
4694 # can be detected and how.
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4697 #include <ac_nonexistent.h>
4698 _ACEOF
4699 if ac_fn_c_try_cpp "$LINENO"; then :
4700 # Broken: success on invalid input.
4701 continue
4702 else
4703 # Passes both tests.
4704 ac_preproc_ok=:
4705 break
4707 rm -f conftest.err conftest.$ac_ext
4709 done
4710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4711 rm -f conftest.err conftest.$ac_ext
4712 if $ac_preproc_ok; then :
4714 else
4715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4717 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4718 See \`config.log' for more details." "$LINENO" 5; }
4721 ac_ext=c
4722 ac_cpp='$CPP $CPPFLAGS'
4723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4729 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4730 if test "${ac_cv_path_GREP+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4732 else
4733 if test -z "$GREP"; then
4734 ac_path_GREP_found=false
4735 # Loop through the user's path and test for each of PROGNAME-LIST
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4739 IFS=$as_save_IFS
4740 test -z "$as_dir" && as_dir=.
4741 for ac_prog in grep ggrep; do
4742 for ac_exec_ext in '' $ac_executable_extensions; do
4743 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4744 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4745 # Check for GNU ac_path_GREP and select it if it is found.
4746 # Check for GNU $ac_path_GREP
4747 case `"$ac_path_GREP" --version 2>&1` in
4748 *GNU*)
4749 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4751 ac_count=0
4752 $as_echo_n 0123456789 >"conftest.in"
4753 while :
4755 cat "conftest.in" "conftest.in" >"conftest.tmp"
4756 mv "conftest.tmp" "conftest.in"
4757 cp "conftest.in" "conftest.nl"
4758 $as_echo 'GREP' >> "conftest.nl"
4759 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4760 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4761 as_fn_arith $ac_count + 1 && ac_count=$as_val
4762 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4763 # Best one so far, save it but keep looking for a better one
4764 ac_cv_path_GREP="$ac_path_GREP"
4765 ac_path_GREP_max=$ac_count
4767 # 10*(2^10) chars as input seems more than enough
4768 test $ac_count -gt 10 && break
4769 done
4770 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4771 esac
4773 $ac_path_GREP_found && break 3
4774 done
4775 done
4776 done
4777 IFS=$as_save_IFS
4778 if test -z "$ac_cv_path_GREP"; then
4779 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4781 else
4782 ac_cv_path_GREP=$GREP
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4787 $as_echo "$ac_cv_path_GREP" >&6; }
4788 GREP="$ac_cv_path_GREP"
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4792 $as_echo_n "checking for egrep... " >&6; }
4793 if test "${ac_cv_path_EGREP+set}" = set; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4797 then ac_cv_path_EGREP="$GREP -E"
4798 else
4799 if test -z "$EGREP"; then
4800 ac_path_EGREP_found=false
4801 # Loop through the user's path and test for each of PROGNAME-LIST
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4805 IFS=$as_save_IFS
4806 test -z "$as_dir" && as_dir=.
4807 for ac_prog in egrep; do
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4810 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4811 # Check for GNU ac_path_EGREP and select it if it is found.
4812 # Check for GNU $ac_path_EGREP
4813 case `"$ac_path_EGREP" --version 2>&1` in
4814 *GNU*)
4815 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4817 ac_count=0
4818 $as_echo_n 0123456789 >"conftest.in"
4819 while :
4821 cat "conftest.in" "conftest.in" >"conftest.tmp"
4822 mv "conftest.tmp" "conftest.in"
4823 cp "conftest.in" "conftest.nl"
4824 $as_echo 'EGREP' >> "conftest.nl"
4825 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4826 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4827 as_fn_arith $ac_count + 1 && ac_count=$as_val
4828 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4829 # Best one so far, save it but keep looking for a better one
4830 ac_cv_path_EGREP="$ac_path_EGREP"
4831 ac_path_EGREP_max=$ac_count
4833 # 10*(2^10) chars as input seems more than enough
4834 test $ac_count -gt 10 && break
4835 done
4836 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4837 esac
4839 $ac_path_EGREP_found && break 3
4840 done
4841 done
4842 done
4843 IFS=$as_save_IFS
4844 if test -z "$ac_cv_path_EGREP"; then
4845 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4847 else
4848 ac_cv_path_EGREP=$EGREP
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4854 $as_echo "$ac_cv_path_EGREP" >&6; }
4855 EGREP="$ac_cv_path_EGREP"
4859 # Keep these sync'd with the list in Makefile.am. The first provides an
4860 # expandable list at autoconf time; the second provides an expandable list
4861 # (i.e., shell variable) at configure time.
4863 SUBDIRS='include libsupc++ python src doc po testsuite'
4865 # These need to be absolute paths, yet at the same time need to
4866 # canonicalize only relative paths, because then amd will not unmount
4867 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4868 glibcxx_builddir=`${PWDCMD-pwd}`
4869 case $srcdir in
4870 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4871 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4872 esac
4873 toplevel_srcdir=${glibcxx_srcdir}/..
4878 # We use these options to decide which functions to include. They are
4879 # set from the top level.
4881 # Check whether --with-target-subdir was given.
4882 if test "${with_target_subdir+set}" = set; then :
4883 withval=$with_target_subdir;
4888 # Check whether --with-cross-host was given.
4889 if test "${with_cross_host+set}" = set; then :
4890 withval=$with_cross_host;
4895 # Check whether --with-newlib was given.
4896 if test "${with_newlib+set}" = set; then :
4897 withval=$with_newlib;
4901 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4902 # available). Uncomment the next line to force a particular method.
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4904 $as_echo_n "checking whether ln -s works... " >&6; }
4905 LN_S=$as_ln_s
4906 if test "$LN_S" = "ln -s"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4908 $as_echo "yes" >&6; }
4909 else
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4911 $as_echo "no, using $LN_S" >&6; }
4914 #LN_S='cp -p'
4916 if test -n "$ac_tool_prefix"; then
4917 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4918 set dummy ${ac_tool_prefix}as; ac_word=$2
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if test "${ac_cv_prog_AS+set}" = set; then :
4922 $as_echo_n "(cached) " >&6
4923 else
4924 if test -n "$AS"; then
4925 ac_cv_prog_AS="$AS" # Let the user override the test.
4926 else
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH
4930 IFS=$as_save_IFS
4931 test -z "$as_dir" && as_dir=.
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4934 ac_cv_prog_AS="${ac_tool_prefix}as"
4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 break 2
4938 done
4939 done
4940 IFS=$as_save_IFS
4944 AS=$ac_cv_prog_AS
4945 if test -n "$AS"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4947 $as_echo "$AS" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4955 if test -z "$ac_cv_prog_AS"; then
4956 ac_ct_AS=$AS
4957 # Extract the first word of "as", so it can be a program name with args.
4958 set dummy as; ac_word=$2
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 $as_echo_n "checking for $ac_word... " >&6; }
4961 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 if test -n "$ac_ct_AS"; then
4965 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4966 else
4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 for as_dir in $PATH
4970 IFS=$as_save_IFS
4971 test -z "$as_dir" && as_dir=.
4972 for ac_exec_ext in '' $ac_executable_extensions; do
4973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4974 ac_cv_prog_ac_ct_AS="as"
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 break 2
4978 done
4979 done
4980 IFS=$as_save_IFS
4984 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4985 if test -n "$ac_ct_AS"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4987 $as_echo "$ac_ct_AS" >&6; }
4988 else
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4993 if test "x$ac_ct_AS" = x; then
4994 AS=""
4995 else
4996 case $cross_compiling:$ac_tool_warned in
4997 yes:)
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5000 ac_tool_warned=yes ;;
5001 esac
5002 AS=$ac_ct_AS
5004 else
5005 AS="$ac_cv_prog_AS"
5008 if test -n "$ac_tool_prefix"; then
5009 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5010 set dummy ${ac_tool_prefix}ar; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if test "${ac_cv_prog_AR+set}" = set; then :
5014 $as_echo_n "(cached) " >&6
5015 else
5016 if test -n "$AR"; then
5017 ac_cv_prog_AR="$AR" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5022 IFS=$as_save_IFS
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026 ac_cv_prog_AR="${ac_tool_prefix}ar"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 break 2
5030 done
5031 done
5032 IFS=$as_save_IFS
5036 AR=$ac_cv_prog_AR
5037 if test -n "$AR"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5039 $as_echo "$AR" >&6; }
5040 else
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5047 if test -z "$ac_cv_prog_AR"; then
5048 ac_ct_AR=$AR
5049 # Extract the first word of "ar", so it can be a program name with args.
5050 set dummy ar; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5055 else
5056 if test -n "$ac_ct_AR"; then
5057 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5062 IFS=$as_save_IFS
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_ac_ct_AR="ar"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 break 2
5070 done
5071 done
5072 IFS=$as_save_IFS
5076 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5077 if test -n "$ac_ct_AR"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5079 $as_echo "$ac_ct_AR" >&6; }
5080 else
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5085 if test "x$ac_ct_AR" = x; then
5086 AR=""
5087 else
5088 case $cross_compiling:$ac_tool_warned in
5089 yes:)
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5092 ac_tool_warned=yes ;;
5093 esac
5094 AR=$ac_ct_AR
5096 else
5097 AR="$ac_cv_prog_AR"
5100 if test -n "$ac_tool_prefix"; then
5101 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5102 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104 $as_echo_n "checking for $ac_word... " >&6; }
5105 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5106 $as_echo_n "(cached) " >&6
5107 else
5108 if test -n "$RANLIB"; then
5109 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5110 else
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 for as_dir in $PATH
5114 IFS=$as_save_IFS
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 break 2
5122 done
5123 done
5124 IFS=$as_save_IFS
5128 RANLIB=$ac_cv_prog_RANLIB
5129 if test -n "$RANLIB"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5131 $as_echo "$RANLIB" >&6; }
5132 else
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134 $as_echo "no" >&6; }
5139 if test -z "$ac_cv_prog_RANLIB"; then
5140 ac_ct_RANLIB=$RANLIB
5141 # Extract the first word of "ranlib", so it can be a program name with args.
5142 set dummy ranlib; ac_word=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5146 $as_echo_n "(cached) " >&6
5147 else
5148 if test -n "$ac_ct_RANLIB"; then
5149 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_ac_ct_RANLIB="ranlib"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5162 done
5163 done
5164 IFS=$as_save_IFS
5168 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5169 if test -n "$ac_ct_RANLIB"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5171 $as_echo "$ac_ct_RANLIB" >&6; }
5172 else
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5177 if test "x$ac_ct_RANLIB" = x; then
5178 RANLIB="ranlib-not-found-in-path-error"
5179 else
5180 case $cross_compiling:$ac_tool_warned in
5181 yes:)
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5184 ac_tool_warned=yes ;;
5185 esac
5186 RANLIB=$ac_ct_RANLIB
5188 else
5189 RANLIB="$ac_cv_prog_RANLIB"
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5195 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5196 # Check whether --enable-maintainer-mode was given.
5197 if test "${enable_maintainer_mode+set}" = set; then :
5198 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5199 else
5200 USE_MAINTAINER_MODE=no
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5204 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5205 if test $USE_MAINTAINER_MODE = yes; then
5206 MAINTAINER_MODE_TRUE=
5207 MAINTAINER_MODE_FALSE='#'
5208 else
5209 MAINTAINER_MODE_TRUE='#'
5210 MAINTAINER_MODE_FALSE=
5213 MAINT=$MAINTAINER_MODE_TRUE
5217 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5218 # which are themselves conditionally expanded.
5219 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5220 ## other macros from doing the same. This should be automated.) -pme
5222 # Check for C library flavor since GNU/Linux platforms use different
5223 # configuration directories depending on the C library in use.
5224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5225 /* end confdefs.h. */
5227 #include <stdio.h>
5228 #if __UCLIBC__
5229 _using_uclibc
5230 #endif
5232 _ACEOF
5233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5234 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5235 uclibc=yes
5236 else
5237 uclibc=no
5239 rm -f conftest*
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5245 #include <stdio.h>
5246 #if __BIONIC__
5247 _using_bionic
5248 #endif
5250 _ACEOF
5251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5252 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5253 bionic=yes
5254 else
5255 bionic=no
5257 rm -f conftest*
5260 # Find platform-specific directories containing configuration info.
5261 # Also possibly modify flags used elsewhere, as needed by the platform.
5263 . $glibcxx_srcdir/configure.host
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5265 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5267 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5271 if test "x${with_newlib}" != "xyes"; then
5272 enable_dlopen=yes
5277 case `pwd` in
5278 *\ * | *\ *)
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5280 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5281 esac
5285 macro_version='2.2.7a'
5286 macro_revision='1.3134'
5300 ltmain="$ac_aux_dir/ltmain.sh"
5302 # Backslashify metacharacters that are still active within
5303 # double-quoted strings.
5304 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5306 # Same as above, but do not quote variable references.
5307 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5309 # Sed substitution to delay expansion of an escaped shell variable in a
5310 # double_quote_subst'ed string.
5311 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5313 # Sed substitution to delay expansion of an escaped single quote.
5314 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5316 # Sed substitution to avoid accidental globbing in evaled expressions
5317 no_glob_subst='s/\*/\\\*/g'
5319 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5320 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5321 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5324 $as_echo_n "checking how to print strings... " >&6; }
5325 # Test print first, because it will be a builtin if present.
5326 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5327 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5328 ECHO='print -r --'
5329 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5330 ECHO='printf %s\n'
5331 else
5332 # Use this function as a fallback that always works.
5333 func_fallback_echo ()
5335 eval 'cat <<_LTECHO_EOF
5337 _LTECHO_EOF'
5339 ECHO='func_fallback_echo'
5342 # func_echo_all arg...
5343 # Invoke $ECHO with all args, space-separated.
5344 func_echo_all ()
5346 $ECHO ""
5349 case "$ECHO" in
5350 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5351 $as_echo "printf" >&6; } ;;
5352 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5353 $as_echo "print -r" >&6; } ;;
5354 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5355 $as_echo "cat" >&6; } ;;
5356 esac
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5372 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5373 if test "${ac_cv_path_SED+set}" = set; then :
5374 $as_echo_n "(cached) " >&6
5375 else
5376 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5377 for ac_i in 1 2 3 4 5 6 7; do
5378 ac_script="$ac_script$as_nl$ac_script"
5379 done
5380 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5381 { ac_script=; unset ac_script;}
5382 if test -z "$SED"; then
5383 ac_path_SED_found=false
5384 # Loop through the user's path and test for each of PROGNAME-LIST
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_prog in sed gsed; do
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5393 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5394 # Check for GNU ac_path_SED and select it if it is found.
5395 # Check for GNU $ac_path_SED
5396 case `"$ac_path_SED" --version 2>&1` in
5397 *GNU*)
5398 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5400 ac_count=0
5401 $as_echo_n 0123456789 >"conftest.in"
5402 while :
5404 cat "conftest.in" "conftest.in" >"conftest.tmp"
5405 mv "conftest.tmp" "conftest.in"
5406 cp "conftest.in" "conftest.nl"
5407 $as_echo '' >> "conftest.nl"
5408 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5410 as_fn_arith $ac_count + 1 && ac_count=$as_val
5411 if test $ac_count -gt ${ac_path_SED_max-0}; then
5412 # Best one so far, save it but keep looking for a better one
5413 ac_cv_path_SED="$ac_path_SED"
5414 ac_path_SED_max=$ac_count
5416 # 10*(2^10) chars as input seems more than enough
5417 test $ac_count -gt 10 && break
5418 done
5419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5420 esac
5422 $ac_path_SED_found && break 3
5423 done
5424 done
5425 done
5426 IFS=$as_save_IFS
5427 if test -z "$ac_cv_path_SED"; then
5428 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5430 else
5431 ac_cv_path_SED=$SED
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5436 $as_echo "$ac_cv_path_SED" >&6; }
5437 SED="$ac_cv_path_SED"
5438 rm -f conftest.sed
5440 test -z "$SED" && SED=sed
5441 Xsed="$SED -e 1s/^X//"
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5454 $as_echo_n "checking for fgrep... " >&6; }
5455 if test "${ac_cv_path_FGREP+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5457 else
5458 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5459 then ac_cv_path_FGREP="$GREP -F"
5460 else
5461 if test -z "$FGREP"; then
5462 ac_path_FGREP_found=false
5463 # Loop through the user's path and test for each of PROGNAME-LIST
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_prog in fgrep; do
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5472 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5473 # Check for GNU ac_path_FGREP and select it if it is found.
5474 # Check for GNU $ac_path_FGREP
5475 case `"$ac_path_FGREP" --version 2>&1` in
5476 *GNU*)
5477 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5479 ac_count=0
5480 $as_echo_n 0123456789 >"conftest.in"
5481 while :
5483 cat "conftest.in" "conftest.in" >"conftest.tmp"
5484 mv "conftest.tmp" "conftest.in"
5485 cp "conftest.in" "conftest.nl"
5486 $as_echo 'FGREP' >> "conftest.nl"
5487 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5489 as_fn_arith $ac_count + 1 && ac_count=$as_val
5490 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5491 # Best one so far, save it but keep looking for a better one
5492 ac_cv_path_FGREP="$ac_path_FGREP"
5493 ac_path_FGREP_max=$ac_count
5495 # 10*(2^10) chars as input seems more than enough
5496 test $ac_count -gt 10 && break
5497 done
5498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5499 esac
5501 $ac_path_FGREP_found && break 3
5502 done
5503 done
5504 done
5505 IFS=$as_save_IFS
5506 if test -z "$ac_cv_path_FGREP"; then
5507 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5509 else
5510 ac_cv_path_FGREP=$FGREP
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5516 $as_echo "$ac_cv_path_FGREP" >&6; }
5517 FGREP="$ac_cv_path_FGREP"
5520 test -z "$GREP" && GREP=grep
5540 # Check whether --with-gnu-ld was given.
5541 if test "${with_gnu_ld+set}" = set; then :
5542 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5543 else
5544 with_gnu_ld=no
5547 ac_prog=ld
5548 if test "$GCC" = yes; then
5549 # Check if gcc -print-prog-name=ld gives a path.
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5551 $as_echo_n "checking for ld used by $CC... " >&6; }
5552 case $host in
5553 *-*-mingw*)
5554 # gcc leaves a trailing carriage return which upsets mingw
5555 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5557 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5558 esac
5559 case $ac_prog in
5560 # Accept absolute paths.
5561 [\\/]* | ?:[\\/]*)
5562 re_direlt='/[^/][^/]*/\.\./'
5563 # Canonicalize the pathname of ld
5564 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5565 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5566 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5567 done
5568 test -z "$LD" && LD="$ac_prog"
5571 # If it fails, then pretend we aren't using GCC.
5572 ac_prog=ld
5575 # If it is relative, then search for the first ld in PATH.
5576 with_gnu_ld=unknown
5578 esac
5579 elif test "$with_gnu_ld" = yes; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5581 $as_echo_n "checking for GNU ld... " >&6; }
5582 else
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5584 $as_echo_n "checking for non-GNU ld... " >&6; }
5586 if test "${lt_cv_path_LD+set}" = set; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -z "$LD"; then
5590 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5591 for ac_dir in $PATH; do
5592 IFS="$lt_save_ifs"
5593 test -z "$ac_dir" && ac_dir=.
5594 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5595 lt_cv_path_LD="$ac_dir/$ac_prog"
5596 # Check to see if the program is GNU ld. I'd rather use --version,
5597 # but apparently some variants of GNU ld only accept -v.
5598 # Break only if it was the GNU/non-GNU ld that we prefer.
5599 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5600 *GNU* | *'with BFD'*)
5601 test "$with_gnu_ld" != no && break
5604 test "$with_gnu_ld" != yes && break
5606 esac
5608 done
5609 IFS="$lt_save_ifs"
5610 else
5611 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5615 LD="$lt_cv_path_LD"
5616 if test -n "$LD"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5618 $as_echo "$LD" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5623 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5625 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5626 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5630 case `$LD -v 2>&1 </dev/null` in
5631 *GNU* | *'with BFD'*)
5632 lt_cv_prog_gnu_ld=yes
5635 lt_cv_prog_gnu_ld=no
5637 esac
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5640 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5641 with_gnu_ld=$lt_cv_prog_gnu_ld
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5652 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5653 if test "${lt_cv_path_NM+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 if test -n "$NM"; then
5657 # Let the user override the test.
5658 lt_cv_path_NM="$NM"
5659 else
5660 lt_nm_to_check="${ac_tool_prefix}nm"
5661 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5662 lt_nm_to_check="$lt_nm_to_check nm"
5664 for lt_tmp_nm in $lt_nm_to_check; do
5665 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5666 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5667 IFS="$lt_save_ifs"
5668 test -z "$ac_dir" && ac_dir=.
5669 tmp_nm="$ac_dir/$lt_tmp_nm"
5670 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5671 # Check to see if the nm accepts a BSD-compat flag.
5672 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5673 # nm: unknown option "B" ignored
5674 # Tru64's nm complains that /dev/null is an invalid object file
5675 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5676 */dev/null* | *'Invalid file or object type'*)
5677 lt_cv_path_NM="$tmp_nm -B"
5678 break
5681 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5682 */dev/null*)
5683 lt_cv_path_NM="$tmp_nm -p"
5684 break
5687 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5688 continue # so that we can try to find one that supports BSD flags
5690 esac
5692 esac
5694 done
5695 IFS="$lt_save_ifs"
5696 done
5697 : ${lt_cv_path_NM=no}
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5701 $as_echo "$lt_cv_path_NM" >&6; }
5702 if test "$lt_cv_path_NM" != "no"; then
5703 NM="$lt_cv_path_NM"
5704 else
5705 # Didn't find any BSD compatible name lister, look for dumpbin.
5706 if test -n "$DUMPBIN"; then :
5707 # Let the user override the test.
5708 else
5709 if test -n "$ac_tool_prefix"; then
5710 for ac_prog in dumpbin "link -dump"
5712 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5713 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 if test -n "$DUMPBIN"; then
5720 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5721 else
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH
5725 IFS=$as_save_IFS
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5729 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 break 2
5733 done
5734 done
5735 IFS=$as_save_IFS
5739 DUMPBIN=$ac_cv_prog_DUMPBIN
5740 if test -n "$DUMPBIN"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5742 $as_echo "$DUMPBIN" >&6; }
5743 else
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5749 test -n "$DUMPBIN" && break
5750 done
5752 if test -z "$DUMPBIN"; then
5753 ac_ct_DUMPBIN=$DUMPBIN
5754 for ac_prog in dumpbin "link -dump"
5756 # Extract the first word of "$ac_prog", so it can be a program name with args.
5757 set dummy $ac_prog; ac_word=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759 $as_echo_n "checking for $ac_word... " >&6; }
5760 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5761 $as_echo_n "(cached) " >&6
5762 else
5763 if test -n "$ac_ct_DUMPBIN"; then
5764 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5765 else
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 for as_dir in $PATH
5769 IFS=$as_save_IFS
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 break 2
5777 done
5778 done
5779 IFS=$as_save_IFS
5783 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5784 if test -n "$ac_ct_DUMPBIN"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5786 $as_echo "$ac_ct_DUMPBIN" >&6; }
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5793 test -n "$ac_ct_DUMPBIN" && break
5794 done
5796 if test "x$ac_ct_DUMPBIN" = x; then
5797 DUMPBIN=":"
5798 else
5799 case $cross_compiling:$ac_tool_warned in
5800 yes:)
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5803 ac_tool_warned=yes ;;
5804 esac
5805 DUMPBIN=$ac_ct_DUMPBIN
5809 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5810 *COFF*)
5811 DUMPBIN="$DUMPBIN -symbols"
5814 DUMPBIN=:
5816 esac
5819 if test "$DUMPBIN" != ":"; then
5820 NM="$DUMPBIN"
5823 test -z "$NM" && NM=nm
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5831 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5832 if test "${lt_cv_nm_interface+set}" = set; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 lt_cv_nm_interface="BSD nm"
5836 echo "int some_variable = 0;" > conftest.$ac_ext
5837 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5838 (eval "$ac_compile" 2>conftest.err)
5839 cat conftest.err >&5
5840 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5841 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5842 cat conftest.err >&5
5843 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5844 cat conftest.out >&5
5845 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5846 lt_cv_nm_interface="MS dumpbin"
5848 rm -f conftest*
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5851 $as_echo "$lt_cv_nm_interface" >&6; }
5853 # find the maximum length of command line arguments
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5855 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5856 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5857 $as_echo_n "(cached) " >&6
5858 else
5860 teststring="ABCD"
5862 case $build_os in
5863 msdosdjgpp*)
5864 # On DJGPP, this test can blow up pretty badly due to problems in libc
5865 # (any single argument exceeding 2000 bytes causes a buffer overrun
5866 # during glob expansion). Even if it were fixed, the result of this
5867 # check would be larger than it should be.
5868 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5871 gnu*)
5872 # Under GNU Hurd, this test is not required because there is
5873 # no limit to the length of command line arguments.
5874 # Libtool will interpret -1 as no limit whatsoever
5875 lt_cv_sys_max_cmd_len=-1;
5878 cygwin* | mingw* | cegcc*)
5879 # On Win9x/ME, this test blows up -- it succeeds, but takes
5880 # about 5 minutes as the teststring grows exponentially.
5881 # Worse, since 9x/ME are not pre-emptively multitasking,
5882 # you end up with a "frozen" computer, even though with patience
5883 # the test eventually succeeds (with a max line length of 256k).
5884 # Instead, let's just punt: use the minimum linelength reported by
5885 # all of the supported platforms: 8192 (on NT/2K/XP).
5886 lt_cv_sys_max_cmd_len=8192;
5889 mint*)
5890 # On MiNT this can take a long time and run out of memory.
5891 lt_cv_sys_max_cmd_len=8192;
5894 amigaos*)
5895 # On AmigaOS with pdksh, this test takes hours, literally.
5896 # So we just punt and use a minimum line length of 8192.
5897 lt_cv_sys_max_cmd_len=8192;
5900 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5901 # This has been around since 386BSD, at least. Likely further.
5902 if test -x /sbin/sysctl; then
5903 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5904 elif test -x /usr/sbin/sysctl; then
5905 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5906 else
5907 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5909 # And add a safety zone
5910 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5911 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5914 interix*)
5915 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5916 lt_cv_sys_max_cmd_len=196608
5919 osf*)
5920 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5921 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5922 # nice to cause kernel panics so lets avoid the loop below.
5923 # First set a reasonable default.
5924 lt_cv_sys_max_cmd_len=16384
5926 if test -x /sbin/sysconfig; then
5927 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5928 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5929 esac
5932 sco3.2v5*)
5933 lt_cv_sys_max_cmd_len=102400
5935 sysv5* | sco5v6* | sysv4.2uw2*)
5936 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5937 if test -n "$kargmax"; then
5938 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5939 else
5940 lt_cv_sys_max_cmd_len=32768
5944 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5945 if test -n "$lt_cv_sys_max_cmd_len"; then
5946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5948 else
5949 # Make teststring a little bigger before we do anything with it.
5950 # a 1K string should be a reasonable start.
5951 for i in 1 2 3 4 5 6 7 8 ; do
5952 teststring=$teststring$teststring
5953 done
5954 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5955 # If test is not a shell built-in, we'll probably end up computing a
5956 # maximum length that is only half of the actual maximum length, but
5957 # we can't tell.
5958 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5959 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5960 test $i != 17 # 1/2 MB should be enough
5962 i=`expr $i + 1`
5963 teststring=$teststring$teststring
5964 done
5965 # Only check the string length outside the loop.
5966 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5967 teststring=
5968 # Add a significant safety factor because C++ compilers can tack on
5969 # massive amounts of additional arguments before passing them to the
5970 # linker. It appears as though 1/2 is a usable value.
5971 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5974 esac
5978 if test -n $lt_cv_sys_max_cmd_len ; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5980 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5983 $as_echo "none" >&6; }
5985 max_cmd_len=$lt_cv_sys_max_cmd_len
5992 : ${CP="cp -f"}
5993 : ${MV="mv -f"}
5994 : ${RM="rm -f"}
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5997 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5998 # Try some XSI features
5999 xsi_shell=no
6000 ( _lt_dummy="a/b/c"
6001 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6002 = c,a/b,, \
6003 && eval 'test $(( 1 + 1 )) -eq 2 \
6004 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6005 && xsi_shell=yes
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6007 $as_echo "$xsi_shell" >&6; }
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6011 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6012 lt_shell_append=no
6013 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6014 >/dev/null 2>&1 \
6015 && lt_shell_append=yes
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6017 $as_echo "$lt_shell_append" >&6; }
6020 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6021 lt_unset=unset
6022 else
6023 lt_unset=false
6030 # test EBCDIC or ASCII
6031 case `echo X|tr X '\101'` in
6032 A) # ASCII based system
6033 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6034 lt_SP2NL='tr \040 \012'
6035 lt_NL2SP='tr \015\012 \040\040'
6037 *) # EBCDIC based system
6038 lt_SP2NL='tr \100 \n'
6039 lt_NL2SP='tr \r\n \100\100'
6041 esac
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6052 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6053 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6054 $as_echo_n "(cached) " >&6
6055 else
6056 lt_cv_ld_reload_flag='-r'
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6059 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6060 reload_flag=$lt_cv_ld_reload_flag
6061 case $reload_flag in
6062 "" | " "*) ;;
6063 *) reload_flag=" $reload_flag" ;;
6064 esac
6065 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6066 case $host_os in
6067 darwin*)
6068 if test "$GCC" = yes; then
6069 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6070 else
6071 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6074 esac
6084 if test -n "$ac_tool_prefix"; then
6085 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6086 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6090 $as_echo_n "(cached) " >&6
6091 else
6092 if test -n "$OBJDUMP"; then
6093 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 break 2
6106 done
6107 done
6108 IFS=$as_save_IFS
6112 OBJDUMP=$ac_cv_prog_OBJDUMP
6113 if test -n "$OBJDUMP"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6115 $as_echo "$OBJDUMP" >&6; }
6116 else
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6123 if test -z "$ac_cv_prog_OBJDUMP"; then
6124 ac_ct_OBJDUMP=$OBJDUMP
6125 # Extract the first word of "objdump", so it can be a program name with args.
6126 set dummy objdump; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6130 $as_echo_n "(cached) " >&6
6131 else
6132 if test -n "$ac_ct_OBJDUMP"; then
6133 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6134 else
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH
6138 IFS=$as_save_IFS
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 break 2
6146 done
6147 done
6148 IFS=$as_save_IFS
6152 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6153 if test -n "$ac_ct_OBJDUMP"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6155 $as_echo "$ac_ct_OBJDUMP" >&6; }
6156 else
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6161 if test "x$ac_ct_OBJDUMP" = x; then
6162 OBJDUMP="false"
6163 else
6164 case $cross_compiling:$ac_tool_warned in
6165 yes:)
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6168 ac_tool_warned=yes ;;
6169 esac
6170 OBJDUMP=$ac_ct_OBJDUMP
6172 else
6173 OBJDUMP="$ac_cv_prog_OBJDUMP"
6176 test -z "$OBJDUMP" && OBJDUMP=objdump
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6187 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6188 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 lt_cv_file_magic_cmd='$MAGIC_CMD'
6192 lt_cv_file_magic_test_file=
6193 lt_cv_deplibs_check_method='unknown'
6194 # Need to set the preceding variable on all platforms that support
6195 # interlibrary dependencies.
6196 # 'none' -- dependencies not supported.
6197 # `unknown' -- same as none, but documents that we really don't know.
6198 # 'pass_all' -- all dependencies passed with no checks.
6199 # 'test_compile' -- check by making test program.
6200 # 'file_magic [[regex]]' -- check by looking for files in library path
6201 # which responds to the $file_magic_cmd with a given extended regex.
6202 # If you have `file' or equivalent on your system and you're not sure
6203 # whether `pass_all' will *always* work, you probably want this one.
6205 case $host_os in
6206 aix[4-9]*)
6207 lt_cv_deplibs_check_method=pass_all
6210 beos*)
6211 lt_cv_deplibs_check_method=pass_all
6214 bsdi[45]*)
6215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6216 lt_cv_file_magic_cmd='/usr/bin/file -L'
6217 lt_cv_file_magic_test_file=/shlib/libc.so
6220 cygwin*)
6221 # func_win32_libid is a shell function defined in ltmain.sh
6222 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6223 lt_cv_file_magic_cmd='func_win32_libid'
6226 mingw* | pw32*)
6227 # Base MSYS/MinGW do not provide the 'file' command needed by
6228 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6229 # unless we find 'file', for example because we are cross-compiling.
6230 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6231 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6232 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6233 lt_cv_file_magic_cmd='func_win32_libid'
6234 else
6235 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6236 lt_cv_file_magic_cmd='$OBJDUMP -f'
6240 cegcc*)
6241 # use the weaker test based on 'objdump'. See mingw*.
6242 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6243 lt_cv_file_magic_cmd='$OBJDUMP -f'
6246 darwin* | rhapsody*)
6247 lt_cv_deplibs_check_method=pass_all
6250 freebsd* | dragonfly*)
6251 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6252 case $host_cpu in
6253 i*86 )
6254 # Not sure whether the presence of OpenBSD here was a mistake.
6255 # Let's accept both of them until this is cleared up.
6256 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6257 lt_cv_file_magic_cmd=/usr/bin/file
6258 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6260 esac
6261 else
6262 lt_cv_deplibs_check_method=pass_all
6266 gnu*)
6267 lt_cv_deplibs_check_method=pass_all
6270 haiku*)
6271 lt_cv_deplibs_check_method=pass_all
6274 hpux10.20* | hpux11*)
6275 lt_cv_file_magic_cmd=/usr/bin/file
6276 case $host_cpu in
6277 ia64*)
6278 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6279 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6281 hppa*64*)
6282 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]'
6283 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6286 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6287 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6289 esac
6292 interix[3-9]*)
6293 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6294 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6297 irix5* | irix6* | nonstopux*)
6298 case $LD in
6299 *-32|*"-32 ") libmagic=32-bit;;
6300 *-n32|*"-n32 ") libmagic=N32;;
6301 *-64|*"-64 ") libmagic=64-bit;;
6302 *) libmagic=never-match;;
6303 esac
6304 lt_cv_deplibs_check_method=pass_all
6307 # This must be Linux ELF.
6308 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6309 lt_cv_deplibs_check_method=pass_all
6312 netbsd*)
6313 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6315 else
6316 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6320 newos6*)
6321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6322 lt_cv_file_magic_cmd=/usr/bin/file
6323 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6326 *nto* | *qnx*)
6327 lt_cv_deplibs_check_method=pass_all
6330 openbsd*)
6331 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6333 else
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6338 osf3* | osf4* | osf5*)
6339 lt_cv_deplibs_check_method=pass_all
6342 rdos*)
6343 lt_cv_deplibs_check_method=pass_all
6346 solaris*)
6347 lt_cv_deplibs_check_method=pass_all
6350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6351 lt_cv_deplibs_check_method=pass_all
6354 sysv4 | sysv4.3*)
6355 case $host_vendor in
6356 motorola)
6357 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]'
6358 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6360 ncr)
6361 lt_cv_deplibs_check_method=pass_all
6363 sequent)
6364 lt_cv_file_magic_cmd='/bin/file'
6365 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6367 sni)
6368 lt_cv_file_magic_cmd='/bin/file'
6369 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6370 lt_cv_file_magic_test_file=/lib/libc.so
6372 siemens)
6373 lt_cv_deplibs_check_method=pass_all
6376 lt_cv_deplibs_check_method=pass_all
6378 esac
6381 tpf*)
6382 lt_cv_deplibs_check_method=pass_all
6384 esac
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6388 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6389 file_magic_cmd=$lt_cv_file_magic_cmd
6390 deplibs_check_method=$lt_cv_deplibs_check_method
6391 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6404 if test -n "$ac_tool_prefix"; then
6405 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6406 set dummy ${ac_tool_prefix}ar; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if test "${ac_cv_prog_AR+set}" = set; then :
6410 $as_echo_n "(cached) " >&6
6411 else
6412 if test -n "$AR"; then
6413 ac_cv_prog_AR="$AR" # Let the user override the test.
6414 else
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 for as_dir in $PATH
6418 IFS=$as_save_IFS
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6422 ac_cv_prog_AR="${ac_tool_prefix}ar"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 break 2
6426 done
6427 done
6428 IFS=$as_save_IFS
6432 AR=$ac_cv_prog_AR
6433 if test -n "$AR"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6435 $as_echo "$AR" >&6; }
6436 else
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6443 if test -z "$ac_cv_prog_AR"; then
6444 ac_ct_AR=$AR
6445 # Extract the first word of "ar", so it can be a program name with args.
6446 set dummy ar; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6450 $as_echo_n "(cached) " >&6
6451 else
6452 if test -n "$ac_ct_AR"; then
6453 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6454 else
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 for as_dir in $PATH
6458 IFS=$as_save_IFS
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_ac_ct_AR="ar"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 break 2
6466 done
6467 done
6468 IFS=$as_save_IFS
6472 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6473 if test -n "$ac_ct_AR"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6475 $as_echo "$ac_ct_AR" >&6; }
6476 else
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6481 if test "x$ac_ct_AR" = x; then
6482 AR="false"
6483 else
6484 case $cross_compiling:$ac_tool_warned in
6485 yes:)
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6488 ac_tool_warned=yes ;;
6489 esac
6490 AR=$ac_ct_AR
6492 else
6493 AR="$ac_cv_prog_AR"
6496 test -z "$AR" && AR=ar
6497 test -z "$AR_FLAGS" && AR_FLAGS=cru
6509 if test -n "$ac_tool_prefix"; then
6510 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6511 set dummy ${ac_tool_prefix}strip; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if test "${ac_cv_prog_STRIP+set}" = set; then :
6515 $as_echo_n "(cached) " >&6
6516 else
6517 if test -n "$STRIP"; then
6518 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6523 IFS=$as_save_IFS
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6527 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 break 2
6531 done
6532 done
6533 IFS=$as_save_IFS
6537 STRIP=$ac_cv_prog_STRIP
6538 if test -n "$STRIP"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6540 $as_echo "$STRIP" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6548 if test -z "$ac_cv_prog_STRIP"; then
6549 ac_ct_STRIP=$STRIP
6550 # Extract the first word of "strip", so it can be a program name with args.
6551 set dummy strip; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6555 $as_echo_n "(cached) " >&6
6556 else
6557 if test -n "$ac_ct_STRIP"; then
6558 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6559 else
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6563 IFS=$as_save_IFS
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_prog_ac_ct_STRIP="strip"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 break 2
6571 done
6572 done
6573 IFS=$as_save_IFS
6577 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6578 if test -n "$ac_ct_STRIP"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6580 $as_echo "$ac_ct_STRIP" >&6; }
6581 else
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6586 if test "x$ac_ct_STRIP" = x; then
6587 STRIP=":"
6588 else
6589 case $cross_compiling:$ac_tool_warned in
6590 yes:)
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6593 ac_tool_warned=yes ;;
6594 esac
6595 STRIP=$ac_ct_STRIP
6597 else
6598 STRIP="$ac_cv_prog_STRIP"
6601 test -z "$STRIP" && STRIP=:
6608 if test -n "$ac_tool_prefix"; then
6609 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6610 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6612 $as_echo_n "checking for $ac_word... " >&6; }
6613 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6614 $as_echo_n "(cached) " >&6
6615 else
6616 if test -n "$RANLIB"; then
6617 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6618 else
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6620 for as_dir in $PATH
6622 IFS=$as_save_IFS
6623 test -z "$as_dir" && as_dir=.
6624 for ac_exec_ext in '' $ac_executable_extensions; do
6625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6626 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6628 break 2
6630 done
6631 done
6632 IFS=$as_save_IFS
6636 RANLIB=$ac_cv_prog_RANLIB
6637 if test -n "$RANLIB"; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6639 $as_echo "$RANLIB" >&6; }
6640 else
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 $as_echo "no" >&6; }
6647 if test -z "$ac_cv_prog_RANLIB"; then
6648 ac_ct_RANLIB=$RANLIB
6649 # Extract the first word of "ranlib", so it can be a program name with args.
6650 set dummy ranlib; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$ac_ct_RANLIB"; then
6657 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6666 ac_cv_prog_ac_ct_RANLIB="ranlib"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6670 done
6671 done
6672 IFS=$as_save_IFS
6676 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6677 if test -n "$ac_ct_RANLIB"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6679 $as_echo "$ac_ct_RANLIB" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6685 if test "x$ac_ct_RANLIB" = x; then
6686 RANLIB=":"
6687 else
6688 case $cross_compiling:$ac_tool_warned in
6689 yes:)
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6692 ac_tool_warned=yes ;;
6693 esac
6694 RANLIB=$ac_ct_RANLIB
6696 else
6697 RANLIB="$ac_cv_prog_RANLIB"
6700 test -z "$RANLIB" && RANLIB=:
6707 # Determine commands to create old-style static archives.
6708 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6709 old_postinstall_cmds='chmod 644 $oldlib'
6710 old_postuninstall_cmds=
6712 if test -n "$RANLIB"; then
6713 case $host_os in
6714 openbsd*)
6715 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6720 esac
6721 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6724 case $host_os in
6725 darwin*)
6726 lock_old_archive_extraction=yes ;;
6728 lock_old_archive_extraction=no ;;
6729 esac
6769 # If no C compiler was specified, use CC.
6770 LTCC=${LTCC-"$CC"}
6772 # If no C compiler flags were specified, use CFLAGS.
6773 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6775 # Allow CC to be a program name with arguments.
6776 compiler=$CC
6779 # Check for command to grab the raw symbol name followed by C symbol from nm.
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6781 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6782 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6783 $as_echo_n "(cached) " >&6
6784 else
6786 # These are sane defaults that work on at least a few old systems.
6787 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6789 # Character class describing NM global symbol codes.
6790 symcode='[BCDEGRST]'
6792 # Regexp to match symbols that can be accessed directly from C.
6793 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6795 # Define system-specific variables.
6796 case $host_os in
6797 aix*)
6798 symcode='[BCDT]'
6800 cygwin* | mingw* | pw32* | cegcc*)
6801 symcode='[ABCDGISTW]'
6803 hpux*)
6804 if test "$host_cpu" = ia64; then
6805 symcode='[ABCDEGRST]'
6808 irix* | nonstopux*)
6809 symcode='[BCDEGRST]'
6811 osf*)
6812 symcode='[BCDEGQRST]'
6814 solaris*)
6815 symcode='[BDRT]'
6817 sco3.2v5*)
6818 symcode='[DT]'
6820 sysv4.2uw2*)
6821 symcode='[DT]'
6823 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6824 symcode='[ABDT]'
6826 sysv4)
6827 symcode='[DFNSTU]'
6829 esac
6831 # If we're using GNU nm, then use its standard symbol codes.
6832 case `$NM -V 2>&1` in
6833 *GNU* | *'with BFD'*)
6834 symcode='[ABCDGIRSTW]' ;;
6835 esac
6837 # Transform an extracted symbol line into a proper C declaration.
6838 # Some systems (esp. on ia64) link data and code symbols differently,
6839 # so use this general approach.
6840 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6842 # Transform an extracted symbol line into symbol name and symbol address
6843 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6844 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'"
6846 # Handle CRLF in mingw tool chain
6847 opt_cr=
6848 case $build_os in
6849 mingw*)
6850 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6852 esac
6854 # Try without a prefix underscore, then with it.
6855 for ac_symprfx in "" "_"; do
6857 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6858 symxfrm="\\1 $ac_symprfx\\2 \\2"
6860 # Write the raw and C identifiers.
6861 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6862 # Fake it for dumpbin and say T for any non-static function
6863 # and D for any global variable.
6864 # Also find C++ and __fastcall symbols from MSVC++,
6865 # which start with @ or ?.
6866 lt_cv_sys_global_symbol_pipe="$AWK '"\
6867 " {last_section=section; section=\$ 3};"\
6868 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6869 " \$ 0!~/External *\|/{next};"\
6870 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6871 " {if(hide[section]) next};"\
6872 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6873 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6874 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6875 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6876 " ' prfx=^$ac_symprfx"
6877 else
6878 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6881 # Check to see that the pipe works correctly.
6882 pipe_works=no
6884 rm -f conftest*
6885 cat > conftest.$ac_ext <<_LT_EOF
6886 #ifdef __cplusplus
6887 extern "C" {
6888 #endif
6889 char nm_test_var;
6890 void nm_test_func(void);
6891 void nm_test_func(void){}
6892 #ifdef __cplusplus
6894 #endif
6895 int main(){nm_test_var='a';nm_test_func();return(0);}
6896 _LT_EOF
6898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6899 (eval $ac_compile) 2>&5
6900 ac_status=$?
6901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6902 test $ac_status = 0; }; then
6903 # Now try to grab the symbols.
6904 nlist=conftest.nm
6905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6906 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6907 ac_status=$?
6908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6909 test $ac_status = 0; } && test -s "$nlist"; then
6910 # Try sorting and uniquifying the output.
6911 if sort "$nlist" | uniq > "$nlist"T; then
6912 mv -f "$nlist"T "$nlist"
6913 else
6914 rm -f "$nlist"T
6917 # Make sure that we snagged all the symbols we need.
6918 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6919 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6920 cat <<_LT_EOF > conftest.$ac_ext
6921 #ifdef __cplusplus
6922 extern "C" {
6923 #endif
6925 _LT_EOF
6926 # Now generate the symbol file.
6927 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6929 cat <<_LT_EOF >> conftest.$ac_ext
6931 /* The mapping between symbol names and symbols. */
6932 const struct {
6933 const char *name;
6934 void *address;
6936 lt__PROGRAM__LTX_preloaded_symbols[] =
6938 { "@PROGRAM@", (void *) 0 },
6939 _LT_EOF
6940 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6941 cat <<\_LT_EOF >> conftest.$ac_ext
6942 {0, (void *) 0}
6945 /* This works around a problem in FreeBSD linker */
6946 #ifdef FREEBSD_WORKAROUND
6947 static const void *lt_preloaded_setup() {
6948 return lt__PROGRAM__LTX_preloaded_symbols;
6950 #endif
6952 #ifdef __cplusplus
6954 #endif
6955 _LT_EOF
6956 # Now try linking the two files.
6957 mv conftest.$ac_objext conftstm.$ac_objext
6958 lt_save_LIBS="$LIBS"
6959 lt_save_CFLAGS="$CFLAGS"
6960 LIBS="conftstm.$ac_objext"
6961 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6963 (eval $ac_link) 2>&5
6964 ac_status=$?
6965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6966 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6967 pipe_works=yes
6969 LIBS="$lt_save_LIBS"
6970 CFLAGS="$lt_save_CFLAGS"
6971 else
6972 echo "cannot find nm_test_func in $nlist" >&5
6974 else
6975 echo "cannot find nm_test_var in $nlist" >&5
6977 else
6978 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6980 else
6981 echo "$progname: failed program was:" >&5
6982 cat conftest.$ac_ext >&5
6984 rm -rf conftest* conftst*
6986 # Do not use the global_symbol_pipe unless it works.
6987 if test "$pipe_works" = yes; then
6988 break
6989 else
6990 lt_cv_sys_global_symbol_pipe=
6992 done
6996 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6997 lt_cv_sys_global_symbol_to_cdecl=
6999 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7001 $as_echo "failed" >&6; }
7002 else
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7004 $as_echo "ok" >&6; }
7028 # Check whether --enable-libtool-lock was given.
7029 if test "${enable_libtool_lock+set}" = set; then :
7030 enableval=$enable_libtool_lock;
7033 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7035 # Some flags need to be propagated to the compiler or linker for good
7036 # libtool support.
7037 case $host in
7038 ia64-*-hpux*)
7039 # Find out which ABI we are using.
7040 echo 'int i;' > conftest.$ac_ext
7041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7042 (eval $ac_compile) 2>&5
7043 ac_status=$?
7044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7045 test $ac_status = 0; }; then
7046 case `/usr/bin/file conftest.$ac_objext` in
7047 *ELF-32*)
7048 HPUX_IA64_MODE="32"
7050 *ELF-64*)
7051 HPUX_IA64_MODE="64"
7053 esac
7055 rm -rf conftest*
7057 *-*-irix6*)
7058 # Find out which ABI we are using.
7059 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7061 (eval $ac_compile) 2>&5
7062 ac_status=$?
7063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7064 test $ac_status = 0; }; then
7065 if test "$lt_cv_prog_gnu_ld" = yes; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *32-bit*)
7068 LD="${LD-ld} -melf32bsmip"
7070 *N32*)
7071 LD="${LD-ld} -melf32bmipn32"
7073 *64-bit*)
7074 LD="${LD-ld} -melf64bmip"
7076 esac
7077 else
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *32-bit*)
7080 LD="${LD-ld} -32"
7082 *N32*)
7083 LD="${LD-ld} -n32"
7085 *64-bit*)
7086 LD="${LD-ld} -64"
7088 esac
7091 rm -rf conftest*
7094 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7095 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7096 # Find out which ABI we are using.
7097 echo 'int i;' > conftest.$ac_ext
7098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7099 (eval $ac_compile) 2>&5
7100 ac_status=$?
7101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7102 test $ac_status = 0; }; then
7103 case `/usr/bin/file conftest.o` in
7104 *32-bit*)
7105 case $host in
7106 x86_64-*kfreebsd*-gnu)
7107 LD="${LD-ld} -m elf_i386_fbsd"
7109 x86_64-*linux*)
7110 LD="${LD-ld} -m elf_i386"
7112 ppc64-*linux*|powerpc64-*linux*)
7113 LD="${LD-ld} -m elf32ppclinux"
7115 s390x-*linux*)
7116 LD="${LD-ld} -m elf_s390"
7118 sparc64-*linux*)
7119 LD="${LD-ld} -m elf32_sparc"
7121 esac
7123 *64-bit*)
7124 case $host in
7125 x86_64-*kfreebsd*-gnu)
7126 LD="${LD-ld} -m elf_x86_64_fbsd"
7128 x86_64-*linux*)
7129 LD="${LD-ld} -m elf_x86_64"
7131 ppc*-*linux*|powerpc*-*linux*)
7132 LD="${LD-ld} -m elf64ppc"
7134 s390*-*linux*|s390*-*tpf*)
7135 LD="${LD-ld} -m elf64_s390"
7137 sparc*-*linux*)
7138 LD="${LD-ld} -m elf64_sparc"
7140 esac
7142 esac
7144 rm -rf conftest*
7147 *-*-sco3.2v5*)
7148 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7149 SAVE_CFLAGS="$CFLAGS"
7150 CFLAGS="$CFLAGS -belf"
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7152 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7153 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7154 $as_echo_n "(cached) " >&6
7155 else
7156 ac_ext=c
7157 ac_cpp='$CPP $CPPFLAGS'
7158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7162 if test x$gcc_no_link = xyes; then
7163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7169 main ()
7173 return 0;
7175 _ACEOF
7176 if ac_fn_c_try_link "$LINENO"; then :
7177 lt_cv_cc_needs_belf=yes
7178 else
7179 lt_cv_cc_needs_belf=no
7181 rm -f core conftest.err conftest.$ac_objext \
7182 conftest$ac_exeext conftest.$ac_ext
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7191 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7192 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7193 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7194 CFLAGS="$SAVE_CFLAGS"
7197 sparc*-*solaris*)
7198 # Find out which ABI we are using.
7199 echo 'int i;' > conftest.$ac_ext
7200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7201 (eval $ac_compile) 2>&5
7202 ac_status=$?
7203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7204 test $ac_status = 0; }; then
7205 case `/usr/bin/file conftest.o` in
7206 *64-bit*)
7207 case $lt_cv_prog_gnu_ld in
7208 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7210 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7211 LD="${LD-ld} -64"
7214 esac
7216 esac
7218 rm -rf conftest*
7220 esac
7222 need_locks="$enable_libtool_lock"
7225 case $host_os in
7226 rhapsody* | darwin*)
7227 if test -n "$ac_tool_prefix"; then
7228 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7229 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7233 $as_echo_n "(cached) " >&6
7234 else
7235 if test -n "$DSYMUTIL"; then
7236 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7237 else
7238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 for as_dir in $PATH
7241 IFS=$as_save_IFS
7242 test -z "$as_dir" && as_dir=.
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247 break 2
7249 done
7250 done
7251 IFS=$as_save_IFS
7255 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7256 if test -n "$DSYMUTIL"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7258 $as_echo "$DSYMUTIL" >&6; }
7259 else
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7266 if test -z "$ac_cv_prog_DSYMUTIL"; then
7267 ac_ct_DSYMUTIL=$DSYMUTIL
7268 # Extract the first word of "dsymutil", so it can be a program name with args.
7269 set dummy dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$ac_ct_DSYMUTIL"; then
7276 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7289 done
7290 done
7291 IFS=$as_save_IFS
7295 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7296 if test -n "$ac_ct_DSYMUTIL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7298 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7304 if test "x$ac_ct_DSYMUTIL" = x; then
7305 DSYMUTIL=":"
7306 else
7307 case $cross_compiling:$ac_tool_warned in
7308 yes:)
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7311 ac_tool_warned=yes ;;
7312 esac
7313 DSYMUTIL=$ac_ct_DSYMUTIL
7315 else
7316 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7319 if test -n "$ac_tool_prefix"; then
7320 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7321 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7325 $as_echo_n "(cached) " >&6
7326 else
7327 if test -n "$NMEDIT"; then
7328 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7329 else
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 for as_dir in $PATH
7333 IFS=$as_save_IFS
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7337 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339 break 2
7341 done
7342 done
7343 IFS=$as_save_IFS
7347 NMEDIT=$ac_cv_prog_NMEDIT
7348 if test -n "$NMEDIT"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7350 $as_echo "$NMEDIT" >&6; }
7351 else
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7358 if test -z "$ac_cv_prog_NMEDIT"; then
7359 ac_ct_NMEDIT=$NMEDIT
7360 # Extract the first word of "nmedit", so it can be a program name with args.
7361 set dummy nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$ac_ct_NMEDIT"; then
7368 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7381 done
7382 done
7383 IFS=$as_save_IFS
7387 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7388 if test -n "$ac_ct_NMEDIT"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7390 $as_echo "$ac_ct_NMEDIT" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7396 if test "x$ac_ct_NMEDIT" = x; then
7397 NMEDIT=":"
7398 else
7399 case $cross_compiling:$ac_tool_warned in
7400 yes:)
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7403 ac_tool_warned=yes ;;
7404 esac
7405 NMEDIT=$ac_ct_NMEDIT
7407 else
7408 NMEDIT="$ac_cv_prog_NMEDIT"
7411 if test -n "$ac_tool_prefix"; then
7412 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7413 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if test "${ac_cv_prog_LIPO+set}" = set; then :
7417 $as_echo_n "(cached) " >&6
7418 else
7419 if test -n "$LIPO"; then
7420 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7421 else
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 for as_dir in $PATH
7425 IFS=$as_save_IFS
7426 test -z "$as_dir" && as_dir=.
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7429 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431 break 2
7433 done
7434 done
7435 IFS=$as_save_IFS
7439 LIPO=$ac_cv_prog_LIPO
7440 if test -n "$LIPO"; then
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7442 $as_echo "$LIPO" >&6; }
7443 else
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7450 if test -z "$ac_cv_prog_LIPO"; then
7451 ac_ct_LIPO=$LIPO
7452 # Extract the first word of "lipo", so it can be a program name with args.
7453 set dummy lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$ac_ct_LIPO"; then
7460 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_ac_ct_LIPO="lipo"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7473 done
7474 done
7475 IFS=$as_save_IFS
7479 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7480 if test -n "$ac_ct_LIPO"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7482 $as_echo "$ac_ct_LIPO" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7488 if test "x$ac_ct_LIPO" = x; then
7489 LIPO=":"
7490 else
7491 case $cross_compiling:$ac_tool_warned in
7492 yes:)
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7495 ac_tool_warned=yes ;;
7496 esac
7497 LIPO=$ac_ct_LIPO
7499 else
7500 LIPO="$ac_cv_prog_LIPO"
7503 if test -n "$ac_tool_prefix"; then
7504 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7505 set dummy ${ac_tool_prefix}otool; ac_word=$2
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507 $as_echo_n "checking for $ac_word... " >&6; }
7508 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7509 $as_echo_n "(cached) " >&6
7510 else
7511 if test -n "$OTOOL"; then
7512 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7513 else
7514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7515 for as_dir in $PATH
7517 IFS=$as_save_IFS
7518 test -z "$as_dir" && as_dir=.
7519 for ac_exec_ext in '' $ac_executable_extensions; do
7520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7521 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523 break 2
7525 done
7526 done
7527 IFS=$as_save_IFS
7531 OTOOL=$ac_cv_prog_OTOOL
7532 if test -n "$OTOOL"; then
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7534 $as_echo "$OTOOL" >&6; }
7535 else
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7537 $as_echo "no" >&6; }
7542 if test -z "$ac_cv_prog_OTOOL"; then
7543 ac_ct_OTOOL=$OTOOL
7544 # Extract the first word of "otool", so it can be a program name with args.
7545 set dummy otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$ac_ct_OTOOL"; then
7552 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561 ac_cv_prog_ac_ct_OTOOL="otool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7565 done
7566 done
7567 IFS=$as_save_IFS
7571 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7572 if test -n "$ac_ct_OTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7574 $as_echo "$ac_ct_OTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7580 if test "x$ac_ct_OTOOL" = x; then
7581 OTOOL=":"
7582 else
7583 case $cross_compiling:$ac_tool_warned in
7584 yes:)
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7587 ac_tool_warned=yes ;;
7588 esac
7589 OTOOL=$ac_ct_OTOOL
7591 else
7592 OTOOL="$ac_cv_prog_OTOOL"
7595 if test -n "$ac_tool_prefix"; then
7596 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7597 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7599 $as_echo_n "checking for $ac_word... " >&6; }
7600 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7601 $as_echo_n "(cached) " >&6
7602 else
7603 if test -n "$OTOOL64"; then
7604 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7605 else
7606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607 for as_dir in $PATH
7609 IFS=$as_save_IFS
7610 test -z "$as_dir" && as_dir=.
7611 for ac_exec_ext in '' $ac_executable_extensions; do
7612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7613 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615 break 2
7617 done
7618 done
7619 IFS=$as_save_IFS
7623 OTOOL64=$ac_cv_prog_OTOOL64
7624 if test -n "$OTOOL64"; then
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7626 $as_echo "$OTOOL64" >&6; }
7627 else
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7629 $as_echo "no" >&6; }
7634 if test -z "$ac_cv_prog_OTOOL64"; then
7635 ac_ct_OTOOL64=$OTOOL64
7636 # Extract the first word of "otool64", so it can be a program name with args.
7637 set dummy otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7642 else
7643 if test -n "$ac_ct_OTOOL64"; then
7644 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7649 IFS=$as_save_IFS
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_ac_ct_OTOOL64="otool64"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 break 2
7657 done
7658 done
7659 IFS=$as_save_IFS
7663 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7664 if test -n "$ac_ct_OTOOL64"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7666 $as_echo "$ac_ct_OTOOL64" >&6; }
7667 else
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7672 if test "x$ac_ct_OTOOL64" = x; then
7673 OTOOL64=":"
7674 else
7675 case $cross_compiling:$ac_tool_warned in
7676 yes:)
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7679 ac_tool_warned=yes ;;
7680 esac
7681 OTOOL64=$ac_ct_OTOOL64
7683 else
7684 OTOOL64="$ac_cv_prog_OTOOL64"
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7714 $as_echo_n "checking for -single_module linker flag... " >&6; }
7715 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7716 $as_echo_n "(cached) " >&6
7717 else
7718 lt_cv_apple_cc_single_mod=no
7719 if test -z "${LT_MULTI_MODULE}"; then
7720 # By default we will add the -single_module flag. You can override
7721 # by either setting the environment variable LT_MULTI_MODULE
7722 # non-empty at configure time, or by adding -multi_module to the
7723 # link flags.
7724 rm -rf libconftest.dylib*
7725 echo "int foo(void){return 1;}" > conftest.c
7726 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7727 -dynamiclib -Wl,-single_module conftest.c" >&5
7728 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7729 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7730 _lt_result=$?
7731 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7732 lt_cv_apple_cc_single_mod=yes
7733 else
7734 cat conftest.err >&5
7736 rm -rf libconftest.dylib*
7737 rm -f conftest.*
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7741 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7743 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7744 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7745 $as_echo_n "(cached) " >&6
7746 else
7747 lt_cv_ld_exported_symbols_list=no
7748 save_LDFLAGS=$LDFLAGS
7749 echo "_main" > conftest.sym
7750 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7751 if test x$gcc_no_link = xyes; then
7752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7758 main ()
7762 return 0;
7764 _ACEOF
7765 if ac_fn_c_try_link "$LINENO"; then :
7766 lt_cv_ld_exported_symbols_list=yes
7767 else
7768 lt_cv_ld_exported_symbols_list=no
7770 rm -f core conftest.err conftest.$ac_objext \
7771 conftest$ac_exeext conftest.$ac_ext
7772 LDFLAGS="$save_LDFLAGS"
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7776 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7778 $as_echo_n "checking for -force_load linker flag... " >&6; }
7779 if test "${lt_cv_ld_force_load+set}" = set; then :
7780 $as_echo_n "(cached) " >&6
7781 else
7782 lt_cv_ld_force_load=no
7783 cat > conftest.c << _LT_EOF
7784 int forced_loaded() { return 2;}
7785 _LT_EOF
7786 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7787 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7788 echo "$AR cru libconftest.a conftest.o" >&5
7789 $AR cru libconftest.a conftest.o 2>&5
7790 cat > conftest.c << _LT_EOF
7791 int main() { return 0;}
7792 _LT_EOF
7793 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7794 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7795 _lt_result=$?
7796 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7797 lt_cv_ld_force_load=yes
7798 else
7799 cat conftest.err >&5
7801 rm -f conftest.err libconftest.a conftest conftest.c
7802 rm -rf conftest.dSYM
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7806 $as_echo "$lt_cv_ld_force_load" >&6; }
7807 case $host_os in
7808 rhapsody* | darwin1.[012])
7809 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7810 darwin1.*)
7811 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7812 darwin*) # darwin 5.x on
7813 # if running on 10.5 or later, the deployment target defaults
7814 # to the OS version, if on x86, and 10.4, the deployment
7815 # target defaults to 10.4. Don't you love it?
7816 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7817 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7818 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7819 10.[012]*)
7820 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7821 10.*)
7822 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7823 esac
7825 esac
7826 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7827 _lt_dar_single_mod='$single_module'
7829 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7830 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7831 else
7832 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7834 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7835 _lt_dsymutil='~$DSYMUTIL $lib || :'
7836 else
7837 _lt_dsymutil=
7840 esac
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7843 $as_echo_n "checking for ANSI C header files... " >&6; }
7844 if test "${ac_cv_header_stdc+set}" = set; then :
7845 $as_echo_n "(cached) " >&6
7846 else
7847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h. */
7849 #include <stdlib.h>
7850 #include <stdarg.h>
7851 #include <string.h>
7852 #include <float.h>
7855 main ()
7859 return 0;
7861 _ACEOF
7862 if ac_fn_c_try_compile "$LINENO"; then :
7863 ac_cv_header_stdc=yes
7864 else
7865 ac_cv_header_stdc=no
7867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7869 if test $ac_cv_header_stdc = yes; then
7870 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7873 #include <string.h>
7875 _ACEOF
7876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7877 $EGREP "memchr" >/dev/null 2>&1; then :
7879 else
7880 ac_cv_header_stdc=no
7882 rm -f conftest*
7886 if test $ac_cv_header_stdc = yes; then
7887 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 #include <stdlib.h>
7892 _ACEOF
7893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7894 $EGREP "free" >/dev/null 2>&1; then :
7896 else
7897 ac_cv_header_stdc=no
7899 rm -f conftest*
7903 if test $ac_cv_header_stdc = yes; then
7904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7905 if test "$cross_compiling" = yes; then :
7907 else
7908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7909 /* end confdefs.h. */
7910 #include <ctype.h>
7911 #include <stdlib.h>
7912 #if ((' ' & 0x0FF) == 0x020)
7913 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7914 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7915 #else
7916 # define ISLOWER(c) \
7917 (('a' <= (c) && (c) <= 'i') \
7918 || ('j' <= (c) && (c) <= 'r') \
7919 || ('s' <= (c) && (c) <= 'z'))
7920 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7921 #endif
7923 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7925 main ()
7927 int i;
7928 for (i = 0; i < 256; i++)
7929 if (XOR (islower (i), ISLOWER (i))
7930 || toupper (i) != TOUPPER (i))
7931 return 2;
7932 return 0;
7934 _ACEOF
7935 if ac_fn_c_try_run "$LINENO"; then :
7937 else
7938 ac_cv_header_stdc=no
7940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7941 conftest.$ac_objext conftest.beam conftest.$ac_ext
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7947 $as_echo "$ac_cv_header_stdc" >&6; }
7948 if test $ac_cv_header_stdc = yes; then
7950 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7954 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7955 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7956 inttypes.h stdint.h unistd.h
7957 do :
7958 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7959 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7961 eval as_val=\$$as_ac_Header
7962 if test "x$as_val" = x""yes; then :
7963 cat >>confdefs.h <<_ACEOF
7964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7965 _ACEOF
7969 done
7972 for ac_header in dlfcn.h
7973 do :
7974 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7976 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7977 cat >>confdefs.h <<_ACEOF
7978 #define HAVE_DLFCN_H 1
7979 _ACEOF
7983 done
7990 # Set options
7995 enable_win32_dll=no
7998 # Check whether --enable-shared was given.
7999 if test "${enable_shared+set}" = set; then :
8000 enableval=$enable_shared; p=${PACKAGE-default}
8001 case $enableval in
8002 yes) enable_shared=yes ;;
8003 no) enable_shared=no ;;
8005 enable_shared=no
8006 # Look at the argument we got. We use all the common list separators.
8007 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8008 for pkg in $enableval; do
8009 IFS="$lt_save_ifs"
8010 if test "X$pkg" = "X$p"; then
8011 enable_shared=yes
8013 done
8014 IFS="$lt_save_ifs"
8016 esac
8017 else
8018 enable_shared=yes
8029 # Check whether --enable-static was given.
8030 if test "${enable_static+set}" = set; then :
8031 enableval=$enable_static; p=${PACKAGE-default}
8032 case $enableval in
8033 yes) enable_static=yes ;;
8034 no) enable_static=no ;;
8036 enable_static=no
8037 # Look at the argument we got. We use all the common list separators.
8038 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8039 for pkg in $enableval; do
8040 IFS="$lt_save_ifs"
8041 if test "X$pkg" = "X$p"; then
8042 enable_static=yes
8044 done
8045 IFS="$lt_save_ifs"
8047 esac
8048 else
8049 enable_static=yes
8061 # Check whether --with-pic was given.
8062 if test "${with_pic+set}" = set; then :
8063 withval=$with_pic; pic_mode="$withval"
8064 else
8065 pic_mode=default
8069 test -z "$pic_mode" && pic_mode=default
8077 # Check whether --enable-fast-install was given.
8078 if test "${enable_fast_install+set}" = set; then :
8079 enableval=$enable_fast_install; p=${PACKAGE-default}
8080 case $enableval in
8081 yes) enable_fast_install=yes ;;
8082 no) enable_fast_install=no ;;
8084 enable_fast_install=no
8085 # Look at the argument we got. We use all the common list separators.
8086 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8087 for pkg in $enableval; do
8088 IFS="$lt_save_ifs"
8089 if test "X$pkg" = "X$p"; then
8090 enable_fast_install=yes
8092 done
8093 IFS="$lt_save_ifs"
8095 esac
8096 else
8097 enable_fast_install=yes
8110 # This can be used to rebuild libtool when needed
8111 LIBTOOL_DEPS="$ltmain"
8113 # Always use our own libtool.
8114 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8141 test -z "$LN_S" && LN_S="ln -s"
8156 if test -n "${ZSH_VERSION+set}" ; then
8157 setopt NO_GLOB_SUBST
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8161 $as_echo_n "checking for objdir... " >&6; }
8162 if test "${lt_cv_objdir+set}" = set; then :
8163 $as_echo_n "(cached) " >&6
8164 else
8165 rm -f .libs 2>/dev/null
8166 mkdir .libs 2>/dev/null
8167 if test -d .libs; then
8168 lt_cv_objdir=.libs
8169 else
8170 # MS-DOS does not allow filenames that begin with a dot.
8171 lt_cv_objdir=_libs
8173 rmdir .libs 2>/dev/null
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8176 $as_echo "$lt_cv_objdir" >&6; }
8177 objdir=$lt_cv_objdir
8183 cat >>confdefs.h <<_ACEOF
8184 #define LT_OBJDIR "$lt_cv_objdir/"
8185 _ACEOF
8190 case $host_os in
8191 aix3*)
8192 # AIX sometimes has problems with the GCC collect2 program. For some
8193 # reason, if we set the COLLECT_NAMES environment variable, the problems
8194 # vanish in a puff of smoke.
8195 if test "X${COLLECT_NAMES+set}" != Xset; then
8196 COLLECT_NAMES=
8197 export COLLECT_NAMES
8200 esac
8202 # Global variables:
8203 ofile=libtool
8204 can_build_shared=yes
8206 # All known linkers require a `.a' archive for static linking (except MSVC,
8207 # which needs '.lib').
8208 libext=a
8210 with_gnu_ld="$lt_cv_prog_gnu_ld"
8212 old_CC="$CC"
8213 old_CFLAGS="$CFLAGS"
8215 # Set sane defaults for various variables
8216 test -z "$CC" && CC=cc
8217 test -z "$LTCC" && LTCC=$CC
8218 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8219 test -z "$LD" && LD=ld
8220 test -z "$ac_objext" && ac_objext=o
8222 for cc_temp in $compiler""; do
8223 case $cc_temp in
8224 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8225 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8226 \-*) ;;
8227 *) break;;
8228 esac
8229 done
8230 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8233 # Only perform the check for file, if the check method requires it
8234 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8235 case $deplibs_check_method in
8236 file_magic*)
8237 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8239 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8240 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 case $MAGIC_CMD in
8244 [\\/*] | ?:[\\/]*)
8245 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8248 lt_save_MAGIC_CMD="$MAGIC_CMD"
8249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8250 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8251 for ac_dir in $ac_dummy; do
8252 IFS="$lt_save_ifs"
8253 test -z "$ac_dir" && ac_dir=.
8254 if test -f $ac_dir/${ac_tool_prefix}file; then
8255 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8256 if test -n "$file_magic_test_file"; then
8257 case $deplibs_check_method in
8258 "file_magic "*)
8259 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8260 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8261 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8262 $EGREP "$file_magic_regex" > /dev/null; then
8264 else
8265 cat <<_LT_EOF 1>&2
8267 *** Warning: the command libtool uses to detect shared libraries,
8268 *** $file_magic_cmd, produces output that libtool cannot recognize.
8269 *** The result is that libtool may fail to recognize shared libraries
8270 *** as such. This will affect the creation of libtool libraries that
8271 *** depend on shared libraries, but programs linked with such libtool
8272 *** libraries will work regardless of this problem. Nevertheless, you
8273 *** may want to report the problem to your system manager and/or to
8274 *** bug-libtool@gnu.org
8276 _LT_EOF
8277 fi ;;
8278 esac
8280 break
8282 done
8283 IFS="$lt_save_ifs"
8284 MAGIC_CMD="$lt_save_MAGIC_CMD"
8286 esac
8289 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8290 if test -n "$MAGIC_CMD"; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8292 $as_echo "$MAGIC_CMD" >&6; }
8293 else
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295 $as_echo "no" >&6; }
8302 if test -z "$lt_cv_path_MAGIC_CMD"; then
8303 if test -n "$ac_tool_prefix"; then
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8305 $as_echo_n "checking for file... " >&6; }
8306 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8307 $as_echo_n "(cached) " >&6
8308 else
8309 case $MAGIC_CMD in
8310 [\\/*] | ?:[\\/]*)
8311 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8314 lt_save_MAGIC_CMD="$MAGIC_CMD"
8315 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8316 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8317 for ac_dir in $ac_dummy; do
8318 IFS="$lt_save_ifs"
8319 test -z "$ac_dir" && ac_dir=.
8320 if test -f $ac_dir/file; then
8321 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8322 if test -n "$file_magic_test_file"; then
8323 case $deplibs_check_method in
8324 "file_magic "*)
8325 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8326 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8327 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8328 $EGREP "$file_magic_regex" > /dev/null; then
8330 else
8331 cat <<_LT_EOF 1>&2
8333 *** Warning: the command libtool uses to detect shared libraries,
8334 *** $file_magic_cmd, produces output that libtool cannot recognize.
8335 *** The result is that libtool may fail to recognize shared libraries
8336 *** as such. This will affect the creation of libtool libraries that
8337 *** depend on shared libraries, but programs linked with such libtool
8338 *** libraries will work regardless of this problem. Nevertheless, you
8339 *** may want to report the problem to your system manager and/or to
8340 *** bug-libtool@gnu.org
8342 _LT_EOF
8343 fi ;;
8344 esac
8346 break
8348 done
8349 IFS="$lt_save_ifs"
8350 MAGIC_CMD="$lt_save_MAGIC_CMD"
8352 esac
8355 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8356 if test -n "$MAGIC_CMD"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8358 $as_echo "$MAGIC_CMD" >&6; }
8359 else
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8361 $as_echo "no" >&6; }
8365 else
8366 MAGIC_CMD=:
8372 esac
8374 # Use C for the default configuration in the libtool script
8376 lt_save_CC="$CC"
8377 ac_ext=c
8378 ac_cpp='$CPP $CPPFLAGS'
8379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8384 # Source file extension for C test sources.
8385 ac_ext=c
8387 # Object file extension for compiled C test sources.
8388 objext=o
8389 objext=$objext
8391 # Code to be used in simple compile tests
8392 lt_simple_compile_test_code="int some_variable = 0;"
8394 # Code to be used in simple link tests
8395 lt_simple_link_test_code='int main(){return(0);}'
8403 # If no C compiler was specified, use CC.
8404 LTCC=${LTCC-"$CC"}
8406 # If no C compiler flags were specified, use CFLAGS.
8407 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8409 # Allow CC to be a program name with arguments.
8410 compiler=$CC
8412 # Save the default compiler, since it gets overwritten when the other
8413 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8414 compiler_DEFAULT=$CC
8416 # save warnings/boilerplate of simple test code
8417 ac_outfile=conftest.$ac_objext
8418 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8419 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8420 _lt_compiler_boilerplate=`cat conftest.err`
8421 $RM conftest*
8423 ac_outfile=conftest.$ac_objext
8424 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8425 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8426 _lt_linker_boilerplate=`cat conftest.err`
8427 $RM -r conftest*
8430 ## CAVEAT EMPTOR:
8431 ## There is no encapsulation within the following macros, do not change
8432 ## the running order or otherwise move them around unless you know exactly
8433 ## what you are doing...
8434 if test -n "$compiler"; then
8436 lt_prog_compiler_no_builtin_flag=
8438 if test "$GCC" = yes; then
8439 case $cc_basename in
8440 nvcc*)
8441 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8443 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8444 esac
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8447 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8448 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8449 $as_echo_n "(cached) " >&6
8450 else
8451 lt_cv_prog_compiler_rtti_exceptions=no
8452 ac_outfile=conftest.$ac_objext
8453 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8454 lt_compiler_flag="-fno-rtti -fno-exceptions"
8455 # Insert the option either (1) after the last *FLAGS variable, or
8456 # (2) before a word containing "conftest.", or (3) at the end.
8457 # Note that $ac_compile itself does not contain backslashes and begins
8458 # with a dollar sign (not a hyphen), so the echo should work correctly.
8459 # The option is referenced via a variable to avoid confusing sed.
8460 lt_compile=`echo "$ac_compile" | $SED \
8461 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8462 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8463 -e 's:$: $lt_compiler_flag:'`
8464 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8465 (eval "$lt_compile" 2>conftest.err)
8466 ac_status=$?
8467 cat conftest.err >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 if (exit $ac_status) && test -s "$ac_outfile"; then
8470 # The compiler can only warn and ignore the option if not recognized
8471 # So say no if there are warnings other than the usual output.
8472 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8473 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8474 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8475 lt_cv_prog_compiler_rtti_exceptions=yes
8478 $RM conftest*
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8482 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8484 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8485 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8486 else
8497 lt_prog_compiler_wl=
8498 lt_prog_compiler_pic=
8499 lt_prog_compiler_static=
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8502 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8504 if test "$GCC" = yes; then
8505 lt_prog_compiler_wl='-Wl,'
8506 lt_prog_compiler_static='-static'
8508 case $host_os in
8509 aix*)
8510 # All AIX code is PIC.
8511 if test "$host_cpu" = ia64; then
8512 # AIX 5 now supports IA64 processor
8513 lt_prog_compiler_static='-Bstatic'
8517 amigaos*)
8518 case $host_cpu in
8519 powerpc)
8520 # see comment about AmigaOS4 .so support
8521 lt_prog_compiler_pic='-fPIC'
8523 m68k)
8524 # FIXME: we need at least 68020 code to build shared libraries, but
8525 # adding the `-m68020' flag to GCC prevents building anything better,
8526 # like `-m68040'.
8527 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8529 esac
8532 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8533 # PIC is the default for these OSes.
8536 mingw* | cygwin* | pw32* | os2* | cegcc*)
8537 # This hack is so that the source file can tell whether it is being
8538 # built for inclusion in a dll (and should export symbols for example).
8539 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8540 # (--disable-auto-import) libraries
8541 lt_prog_compiler_pic='-DDLL_EXPORT'
8544 darwin* | rhapsody*)
8545 # PIC is the default on this platform
8546 # Common symbols not allowed in MH_DYLIB files
8547 lt_prog_compiler_pic='-fno-common'
8550 haiku*)
8551 # PIC is the default for Haiku.
8552 # The "-static" flag exists, but is broken.
8553 lt_prog_compiler_static=
8556 hpux*)
8557 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8558 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8559 # sets the default TLS model and affects inlining.
8560 case $host_cpu in
8561 hppa*64*)
8562 # +Z the default
8565 lt_prog_compiler_pic='-fPIC'
8567 esac
8570 interix[3-9]*)
8571 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8572 # Instead, we relocate shared libraries at runtime.
8575 msdosdjgpp*)
8576 # Just because we use GCC doesn't mean we suddenly get shared libraries
8577 # on systems that don't support them.
8578 lt_prog_compiler_can_build_shared=no
8579 enable_shared=no
8582 *nto* | *qnx*)
8583 # QNX uses GNU C++, but need to define -shared option too, otherwise
8584 # it will coredump.
8585 lt_prog_compiler_pic='-fPIC -shared'
8588 sysv4*MP*)
8589 if test -d /usr/nec; then
8590 lt_prog_compiler_pic=-Kconform_pic
8595 lt_prog_compiler_pic='-fPIC'
8597 esac
8599 case $cc_basename in
8600 nvcc*) # Cuda Compiler Driver 2.2
8601 lt_prog_compiler_wl='-Xlinker '
8602 lt_prog_compiler_pic='-Xcompiler -fPIC'
8604 esac
8605 else
8606 # PORTME Check for flag to pass linker flags through the system compiler.
8607 case $host_os in
8608 aix*)
8609 lt_prog_compiler_wl='-Wl,'
8610 if test "$host_cpu" = ia64; then
8611 # AIX 5 now supports IA64 processor
8612 lt_prog_compiler_static='-Bstatic'
8613 else
8614 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8618 mingw* | cygwin* | pw32* | os2* | cegcc*)
8619 # This hack is so that the source file can tell whether it is being
8620 # built for inclusion in a dll (and should export symbols for example).
8621 lt_prog_compiler_pic='-DDLL_EXPORT'
8624 hpux9* | hpux10* | hpux11*)
8625 lt_prog_compiler_wl='-Wl,'
8626 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8627 # not for PA HP-UX.
8628 case $host_cpu in
8629 hppa*64*|ia64*)
8630 # +Z the default
8633 lt_prog_compiler_pic='+Z'
8635 esac
8636 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8637 lt_prog_compiler_static='${wl}-a ${wl}archive'
8640 irix5* | irix6* | nonstopux*)
8641 lt_prog_compiler_wl='-Wl,'
8642 # PIC (with -KPIC) is the default.
8643 lt_prog_compiler_static='-non_shared'
8646 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8647 case $cc_basename in
8648 # old Intel for x86_64 which still supported -KPIC.
8649 ecc*)
8650 lt_prog_compiler_wl='-Wl,'
8651 lt_prog_compiler_pic='-KPIC'
8652 lt_prog_compiler_static='-static'
8654 # icc used to be incompatible with GCC.
8655 # ICC 10 doesn't accept -KPIC any more.
8656 icc* | ifort*)
8657 lt_prog_compiler_wl='-Wl,'
8658 lt_prog_compiler_pic='-fPIC'
8659 lt_prog_compiler_static='-static'
8661 # Lahey Fortran 8.1.
8662 lf95*)
8663 lt_prog_compiler_wl='-Wl,'
8664 lt_prog_compiler_pic='--shared'
8665 lt_prog_compiler_static='--static'
8667 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8668 # Portland Group compilers (*not* the Pentium gcc compiler,
8669 # which looks to be a dead project)
8670 lt_prog_compiler_wl='-Wl,'
8671 lt_prog_compiler_pic='-fpic'
8672 lt_prog_compiler_static='-Bstatic'
8674 ccc*)
8675 lt_prog_compiler_wl='-Wl,'
8676 # All Alpha code is PIC.
8677 lt_prog_compiler_static='-non_shared'
8679 xl* | bgxl* | bgf* | mpixl*)
8680 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8681 lt_prog_compiler_wl='-Wl,'
8682 lt_prog_compiler_pic='-qpic'
8683 lt_prog_compiler_static='-qstaticlink'
8686 case `$CC -V 2>&1 | sed 5q` in
8687 *Sun\ F* | *Sun*Fortran*)
8688 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8689 lt_prog_compiler_pic='-KPIC'
8690 lt_prog_compiler_static='-Bstatic'
8691 lt_prog_compiler_wl=''
8693 *Sun\ C*)
8694 # Sun C 5.9
8695 lt_prog_compiler_pic='-KPIC'
8696 lt_prog_compiler_static='-Bstatic'
8697 lt_prog_compiler_wl='-Wl,'
8699 esac
8701 esac
8704 newsos6)
8705 lt_prog_compiler_pic='-KPIC'
8706 lt_prog_compiler_static='-Bstatic'
8709 *nto* | *qnx*)
8710 # QNX uses GNU C++, but need to define -shared option too, otherwise
8711 # it will coredump.
8712 lt_prog_compiler_pic='-fPIC -shared'
8715 osf3* | osf4* | osf5*)
8716 lt_prog_compiler_wl='-Wl,'
8717 # All OSF/1 code is PIC.
8718 lt_prog_compiler_static='-non_shared'
8721 rdos*)
8722 lt_prog_compiler_static='-non_shared'
8725 solaris*)
8726 lt_prog_compiler_pic='-KPIC'
8727 lt_prog_compiler_static='-Bstatic'
8728 case $cc_basename in
8729 f77* | f90* | f95*)
8730 lt_prog_compiler_wl='-Qoption ld ';;
8732 lt_prog_compiler_wl='-Wl,';;
8733 esac
8736 sunos4*)
8737 lt_prog_compiler_wl='-Qoption ld '
8738 lt_prog_compiler_pic='-PIC'
8739 lt_prog_compiler_static='-Bstatic'
8742 sysv4 | sysv4.2uw2* | sysv4.3*)
8743 lt_prog_compiler_wl='-Wl,'
8744 lt_prog_compiler_pic='-KPIC'
8745 lt_prog_compiler_static='-Bstatic'
8748 sysv4*MP*)
8749 if test -d /usr/nec ;then
8750 lt_prog_compiler_pic='-Kconform_pic'
8751 lt_prog_compiler_static='-Bstatic'
8755 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8756 lt_prog_compiler_wl='-Wl,'
8757 lt_prog_compiler_pic='-KPIC'
8758 lt_prog_compiler_static='-Bstatic'
8761 unicos*)
8762 lt_prog_compiler_wl='-Wl,'
8763 lt_prog_compiler_can_build_shared=no
8766 uts4*)
8767 lt_prog_compiler_pic='-pic'
8768 lt_prog_compiler_static='-Bstatic'
8772 lt_prog_compiler_can_build_shared=no
8774 esac
8777 case $host_os in
8778 # For platforms which do not support PIC, -DPIC is meaningless:
8779 *djgpp*)
8780 lt_prog_compiler_pic=
8783 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8785 esac
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8787 $as_echo "$lt_prog_compiler_pic" >&6; }
8795 # Check to make sure the PIC flag actually works.
8797 if test -n "$lt_prog_compiler_pic"; then
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8799 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8800 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 lt_cv_prog_compiler_pic_works=no
8804 ac_outfile=conftest.$ac_objext
8805 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8806 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8807 # Insert the option either (1) after the last *FLAGS variable, or
8808 # (2) before a word containing "conftest.", or (3) at the end.
8809 # Note that $ac_compile itself does not contain backslashes and begins
8810 # with a dollar sign (not a hyphen), so the echo should work correctly.
8811 # The option is referenced via a variable to avoid confusing sed.
8812 lt_compile=`echo "$ac_compile" | $SED \
8813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8815 -e 's:$: $lt_compiler_flag:'`
8816 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8817 (eval "$lt_compile" 2>conftest.err)
8818 ac_status=$?
8819 cat conftest.err >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 if (exit $ac_status) && test -s "$ac_outfile"; then
8822 # The compiler can only warn and ignore the option if not recognized
8823 # So say no if there are warnings other than the usual output.
8824 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8825 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8826 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8827 lt_cv_prog_compiler_pic_works=yes
8830 $RM conftest*
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8834 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8836 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8837 case $lt_prog_compiler_pic in
8838 "" | " "*) ;;
8839 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8840 esac
8841 else
8842 lt_prog_compiler_pic=
8843 lt_prog_compiler_can_build_shared=no
8854 # Check to make sure the static flag actually works.
8856 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8858 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8859 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8860 $as_echo_n "(cached) " >&6
8861 else
8862 lt_cv_prog_compiler_static_works=no
8863 save_LDFLAGS="$LDFLAGS"
8864 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8865 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8866 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8867 # The linker can only warn and ignore the option if not recognized
8868 # So say no if there are warnings
8869 if test -s conftest.err; then
8870 # Append any errors to the config.log.
8871 cat conftest.err 1>&5
8872 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8873 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8874 if diff conftest.exp conftest.er2 >/dev/null; then
8875 lt_cv_prog_compiler_static_works=yes
8877 else
8878 lt_cv_prog_compiler_static_works=yes
8881 $RM -r conftest*
8882 LDFLAGS="$save_LDFLAGS"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8886 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8888 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8890 else
8891 lt_prog_compiler_static=
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8901 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8902 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8903 $as_echo_n "(cached) " >&6
8904 else
8905 lt_cv_prog_compiler_c_o=no
8906 $RM -r conftest 2>/dev/null
8907 mkdir conftest
8908 cd conftest
8909 mkdir out
8910 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8912 lt_compiler_flag="-o out/conftest2.$ac_objext"
8913 # Insert the option either (1) after the last *FLAGS variable, or
8914 # (2) before a word containing "conftest.", or (3) at the end.
8915 # Note that $ac_compile itself does not contain backslashes and begins
8916 # with a dollar sign (not a hyphen), so the echo should work correctly.
8917 lt_compile=`echo "$ac_compile" | $SED \
8918 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8919 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8920 -e 's:$: $lt_compiler_flag:'`
8921 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8922 (eval "$lt_compile" 2>out/conftest.err)
8923 ac_status=$?
8924 cat out/conftest.err >&5
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8927 then
8928 # The compiler can only warn and ignore the option if not recognized
8929 # So say no if there are warnings
8930 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8931 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8932 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8933 lt_cv_prog_compiler_c_o=yes
8936 chmod u+w . 2>&5
8937 $RM conftest*
8938 # SGI C++ compiler will create directory out/ii_files/ for
8939 # template instantiation
8940 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8941 $RM out/* && rmdir out
8942 cd ..
8943 $RM -r conftest
8944 $RM conftest*
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8948 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8956 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8957 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8958 $as_echo_n "(cached) " >&6
8959 else
8960 lt_cv_prog_compiler_c_o=no
8961 $RM -r conftest 2>/dev/null
8962 mkdir conftest
8963 cd conftest
8964 mkdir out
8965 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8967 lt_compiler_flag="-o out/conftest2.$ac_objext"
8968 # Insert the option either (1) after the last *FLAGS variable, or
8969 # (2) before a word containing "conftest.", or (3) at the end.
8970 # Note that $ac_compile itself does not contain backslashes and begins
8971 # with a dollar sign (not a hyphen), so the echo should work correctly.
8972 lt_compile=`echo "$ac_compile" | $SED \
8973 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8974 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8975 -e 's:$: $lt_compiler_flag:'`
8976 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8977 (eval "$lt_compile" 2>out/conftest.err)
8978 ac_status=$?
8979 cat out/conftest.err >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8982 then
8983 # The compiler can only warn and ignore the option if not recognized
8984 # So say no if there are warnings
8985 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8986 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8987 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8988 lt_cv_prog_compiler_c_o=yes
8991 chmod u+w . 2>&5
8992 $RM conftest*
8993 # SGI C++ compiler will create directory out/ii_files/ for
8994 # template instantiation
8995 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8996 $RM out/* && rmdir out
8997 cd ..
8998 $RM -r conftest
8999 $RM conftest*
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9003 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9008 hard_links="nottested"
9009 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9010 # do not overwrite the value of need_locks provided by the user
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9012 $as_echo_n "checking if we can lock with hard links... " >&6; }
9013 hard_links=yes
9014 $RM conftest*
9015 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9016 touch conftest.a
9017 ln conftest.a conftest.b 2>&5 || hard_links=no
9018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9020 $as_echo "$hard_links" >&6; }
9021 if test "$hard_links" = no; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9023 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9024 need_locks=warn
9026 else
9027 need_locks=no
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9036 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9038 runpath_var=
9039 allow_undefined_flag=
9040 always_export_symbols=no
9041 archive_cmds=
9042 archive_expsym_cmds=
9043 compiler_needs_object=no
9044 enable_shared_with_static_runtimes=no
9045 export_dynamic_flag_spec=
9046 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9047 hardcode_automatic=no
9048 hardcode_direct=no
9049 hardcode_direct_absolute=no
9050 hardcode_libdir_flag_spec=
9051 hardcode_libdir_flag_spec_ld=
9052 hardcode_libdir_separator=
9053 hardcode_minus_L=no
9054 hardcode_shlibpath_var=unsupported
9055 inherit_rpath=no
9056 link_all_deplibs=unknown
9057 module_cmds=
9058 module_expsym_cmds=
9059 old_archive_from_new_cmds=
9060 old_archive_from_expsyms_cmds=
9061 thread_safe_flag_spec=
9062 whole_archive_flag_spec=
9063 # include_expsyms should be a list of space-separated symbols to be *always*
9064 # included in the symbol list
9065 include_expsyms=
9066 # exclude_expsyms can be an extended regexp of symbols to exclude
9067 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9068 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9069 # as well as any symbol that contains `d'.
9070 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9071 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9072 # platforms (ab)use it in PIC code, but their linkers get confused if
9073 # the symbol is explicitly referenced. Since portable code cannot
9074 # rely on this symbol name, it's probably fine to never include it in
9075 # preloaded symbol tables.
9076 # Exclude shared library initialization/finalization symbols.
9077 extract_expsyms_cmds=
9079 case $host_os in
9080 cygwin* | mingw* | pw32* | cegcc*)
9081 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9082 # When not using gcc, we currently assume that we are using
9083 # Microsoft Visual C++.
9084 if test "$GCC" != yes; then
9085 with_gnu_ld=no
9088 interix*)
9089 # we just hope/assume this is gcc and not c89 (= MSVC++)
9090 with_gnu_ld=yes
9092 openbsd*)
9093 with_gnu_ld=no
9095 esac
9097 ld_shlibs=yes
9099 # On some targets, GNU ld is compatible enough with the native linker
9100 # that we're better off using the native interface for both.
9101 lt_use_gnu_ld_interface=no
9102 if test "$with_gnu_ld" = yes; then
9103 case $host_os in
9104 aix*)
9105 # The AIX port of GNU ld has always aspired to compatibility
9106 # with the native linker. However, as the warning in the GNU ld
9107 # block says, versions before 2.19.5* couldn't really create working
9108 # shared libraries, regardless of the interface used.
9109 case `$LD -v 2>&1` in
9110 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9111 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9112 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9114 lt_use_gnu_ld_interface=yes
9116 esac
9119 lt_use_gnu_ld_interface=yes
9121 esac
9124 if test "$lt_use_gnu_ld_interface" = yes; then
9125 # If archive_cmds runs LD, not CC, wlarc should be empty
9126 wlarc='${wl}'
9128 # Set some defaults for GNU ld with shared library support. These
9129 # are reset later if shared libraries are not supported. Putting them
9130 # here allows them to be overridden if necessary.
9131 runpath_var=LD_RUN_PATH
9132 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9133 export_dynamic_flag_spec='${wl}--export-dynamic'
9134 # ancient GNU ld didn't support --whole-archive et. al.
9135 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9136 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9137 else
9138 whole_archive_flag_spec=
9140 supports_anon_versioning=no
9141 case `$LD -v 2>&1` in
9142 *GNU\ gold*) supports_anon_versioning=yes ;;
9143 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9144 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9145 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9146 *\ 2.11.*) ;; # other 2.11 versions
9147 *) supports_anon_versioning=yes ;;
9148 esac
9150 # See if GNU ld supports shared libraries.
9151 case $host_os in
9152 aix[3-9]*)
9153 # On AIX/PPC, the GNU linker is very broken
9154 if test "$host_cpu" != ia64; then
9155 ld_shlibs=no
9156 cat <<_LT_EOF 1>&2
9158 *** Warning: the GNU linker, at least up to release 2.19, is reported
9159 *** to be unable to reliably create shared libraries on AIX.
9160 *** Therefore, libtool is disabling shared libraries support. If you
9161 *** really care for shared libraries, you may want to install binutils
9162 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9163 *** You will then need to restart the configuration process.
9165 _LT_EOF
9169 amigaos*)
9170 case $host_cpu in
9171 powerpc)
9172 # see comment about AmigaOS4 .so support
9173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9174 archive_expsym_cmds=''
9176 m68k)
9177 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)'
9178 hardcode_libdir_flag_spec='-L$libdir'
9179 hardcode_minus_L=yes
9181 esac
9184 beos*)
9185 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9186 allow_undefined_flag=unsupported
9187 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9188 # support --undefined. This deserves some investigation. FIXME
9189 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9190 else
9191 ld_shlibs=no
9195 cygwin* | mingw* | pw32* | cegcc*)
9196 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9197 # as there is no search path for DLLs.
9198 hardcode_libdir_flag_spec='-L$libdir'
9199 export_dynamic_flag_spec='${wl}--export-all-symbols'
9200 allow_undefined_flag=unsupported
9201 always_export_symbols=no
9202 enable_shared_with_static_runtimes=yes
9203 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9205 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9206 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9207 # If the export-symbols file already is a .def file (1st line
9208 # is EXPORTS), use it as is; otherwise, prepend...
9209 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9210 cp $export_symbols $output_objdir/$soname.def;
9211 else
9212 echo EXPORTS > $output_objdir/$soname.def;
9213 cat $export_symbols >> $output_objdir/$soname.def;
9215 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9216 else
9217 ld_shlibs=no
9221 haiku*)
9222 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223 link_all_deplibs=yes
9226 interix[3-9]*)
9227 hardcode_direct=no
9228 hardcode_shlibpath_var=no
9229 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9230 export_dynamic_flag_spec='${wl}-E'
9231 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9232 # Instead, shared libraries are loaded at an image base (0x10000000 by
9233 # default) and relocated if they conflict, which is a slow very memory
9234 # consuming and fragmenting process. To avoid this, we pick a random,
9235 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9236 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9237 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9238 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'
9241 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9242 tmp_diet=no
9243 if test "$host_os" = linux-dietlibc; then
9244 case $cc_basename in
9245 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9246 esac
9248 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9249 && test "$tmp_diet" = no
9250 then
9251 tmp_addflag=
9252 tmp_sharedflag='-shared'
9253 case $cc_basename,$host_cpu in
9254 pgcc*) # Portland Group C compiler
9255 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'
9256 tmp_addflag=' $pic_flag'
9258 pgf77* | pgf90* | pgf95* | pgfortran*)
9259 # Portland Group f77 and f90 compilers
9260 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'
9261 tmp_addflag=' $pic_flag -Mnomain' ;;
9262 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9263 tmp_addflag=' -i_dynamic' ;;
9264 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9265 tmp_addflag=' -i_dynamic -nofor_main' ;;
9266 ifc* | ifort*) # Intel Fortran compiler
9267 tmp_addflag=' -nofor_main' ;;
9268 lf95*) # Lahey Fortran 8.1
9269 whole_archive_flag_spec=
9270 tmp_sharedflag='--shared' ;;
9271 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9272 tmp_sharedflag='-qmkshrobj'
9273 tmp_addflag= ;;
9274 nvcc*) # Cuda Compiler Driver 2.2
9275 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'
9276 compiler_needs_object=yes
9278 esac
9279 case `$CC -V 2>&1 | sed 5q` in
9280 *Sun\ C*) # Sun C 5.9
9281 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'
9282 compiler_needs_object=yes
9283 tmp_sharedflag='-G' ;;
9284 *Sun\ F*) # Sun Fortran 8.3
9285 tmp_sharedflag='-G' ;;
9286 esac
9287 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9289 if test "x$supports_anon_versioning" = xyes; then
9290 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9291 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9292 echo "local: *; };" >> $output_objdir/$libname.ver~
9293 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9296 case $cc_basename in
9297 xlf* | bgf* | bgxlf* | mpixlf*)
9298 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9299 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9300 hardcode_libdir_flag_spec=
9301 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9302 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9303 if test "x$supports_anon_versioning" = xyes; then
9304 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9305 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9306 echo "local: *; };" >> $output_objdir/$libname.ver~
9307 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9310 esac
9311 else
9312 ld_shlibs=no
9316 netbsd*)
9317 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9318 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9319 wlarc=
9320 else
9321 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9322 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9326 solaris*)
9327 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9328 ld_shlibs=no
9329 cat <<_LT_EOF 1>&2
9331 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9332 *** create shared libraries on Solaris systems. Therefore, libtool
9333 *** is disabling shared libraries support. We urge you to upgrade GNU
9334 *** binutils to release 2.9.1 or newer. Another option is to modify
9335 *** your PATH or compiler configuration so that the native linker is
9336 *** used, and then restart.
9338 _LT_EOF
9339 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9340 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9341 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9342 else
9343 ld_shlibs=no
9347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9348 case `$LD -v 2>&1` in
9349 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9350 ld_shlibs=no
9351 cat <<_LT_EOF 1>&2
9353 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9354 *** reliably create shared libraries on SCO systems. Therefore, libtool
9355 *** is disabling shared libraries support. We urge you to upgrade GNU
9356 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9357 *** your PATH or compiler configuration so that the native linker is
9358 *** used, and then restart.
9360 _LT_EOF
9363 # For security reasons, it is highly recommended that you always
9364 # use absolute paths for naming shared libraries, and exclude the
9365 # DT_RUNPATH tag from executables and libraries. But doing so
9366 # requires that you compile everything twice, which is a pain.
9367 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9369 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9370 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9371 else
9372 ld_shlibs=no
9375 esac
9378 sunos4*)
9379 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9380 wlarc=
9381 hardcode_direct=yes
9382 hardcode_shlibpath_var=no
9386 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9389 else
9390 ld_shlibs=no
9393 esac
9395 if test "$ld_shlibs" = no; then
9396 runpath_var=
9397 hardcode_libdir_flag_spec=
9398 export_dynamic_flag_spec=
9399 whole_archive_flag_spec=
9401 else
9402 # PORTME fill in a description of your system's linker (not GNU ld)
9403 case $host_os in
9404 aix3*)
9405 allow_undefined_flag=unsupported
9406 always_export_symbols=yes
9407 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'
9408 # Note: this linker hardcodes the directories in LIBPATH if there
9409 # are no directories specified by -L.
9410 hardcode_minus_L=yes
9411 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9412 # Neither direct hardcoding nor static linking is supported with a
9413 # broken collect2.
9414 hardcode_direct=unsupported
9418 aix[4-9]*)
9419 if test "$host_cpu" = ia64; then
9420 # On IA64, the linker does run time linking by default, so we don't
9421 # have to do anything special.
9422 aix_use_runtimelinking=no
9423 exp_sym_flag='-Bexport'
9424 no_entry_flag=""
9425 else
9426 # If we're using GNU nm, then we don't want the "-C" option.
9427 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9428 # Also, AIX nm treats weak defined symbols like other global
9429 # defined symbols, whereas GNU nm marks them as "W".
9430 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9431 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'
9432 else
9433 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'
9435 aix_use_runtimelinking=no
9437 # Test if we are trying to use run time linking or normal
9438 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9439 # need to do runtime linking.
9440 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9441 for ld_flag in $LDFLAGS; do
9442 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9443 aix_use_runtimelinking=yes
9444 break
9446 done
9448 esac
9450 exp_sym_flag='-bexport'
9451 no_entry_flag='-bnoentry'
9454 # When large executables or shared objects are built, AIX ld can
9455 # have problems creating the table of contents. If linking a library
9456 # or program results in "error TOC overflow" add -mminimal-toc to
9457 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9458 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9460 archive_cmds=''
9461 hardcode_direct=yes
9462 hardcode_direct_absolute=yes
9463 hardcode_libdir_separator=':'
9464 link_all_deplibs=yes
9465 file_list_spec='${wl}-f,'
9467 if test "$GCC" = yes; then
9468 case $host_os in aix4.[012]|aix4.[012].*)
9469 # We only want to do this on AIX 4.2 and lower, the check
9470 # below for broken collect2 doesn't work under 4.3+
9471 collect2name=`${CC} -print-prog-name=collect2`
9472 if test -f "$collect2name" &&
9473 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9474 then
9475 # We have reworked collect2
9477 else
9478 # We have old collect2
9479 hardcode_direct=unsupported
9480 # It fails to find uninstalled libraries when the uninstalled
9481 # path is not listed in the libpath. Setting hardcode_minus_L
9482 # to unsupported forces relinking
9483 hardcode_minus_L=yes
9484 hardcode_libdir_flag_spec='-L$libdir'
9485 hardcode_libdir_separator=
9488 esac
9489 shared_flag='-shared'
9490 if test "$aix_use_runtimelinking" = yes; then
9491 shared_flag="$shared_flag "'${wl}-G'
9493 else
9494 # not using gcc
9495 if test "$host_cpu" = ia64; then
9496 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9497 # chokes on -Wl,-G. The following line is correct:
9498 shared_flag='-G'
9499 else
9500 if test "$aix_use_runtimelinking" = yes; then
9501 shared_flag='${wl}-G'
9502 else
9503 shared_flag='${wl}-bM:SRE'
9508 export_dynamic_flag_spec='${wl}-bexpall'
9509 # It seems that -bexpall does not export symbols beginning with
9510 # underscore (_), so it is better to generate a list of symbols to export.
9511 always_export_symbols=yes
9512 if test "$aix_use_runtimelinking" = yes; then
9513 # Warning - without using the other runtime loading flags (-brtl),
9514 # -berok will link without error, but may produce a broken library.
9515 allow_undefined_flag='-berok'
9516 # Determine the default libpath from the value encoded in an
9517 # empty executable.
9518 if test x$gcc_no_link = xyes; then
9519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9525 main ()
9529 return 0;
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"; then :
9534 lt_aix_libpath_sed='
9535 /Import File Strings/,/^$/ {
9536 /^0/ {
9537 s/^0 *\(.*\)$/\1/
9541 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9542 # Check for a 64-bit object if we didn't find anything.
9543 if test -z "$aix_libpath"; then
9544 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9551 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9552 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"
9553 else
9554 if test "$host_cpu" = ia64; then
9555 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9556 allow_undefined_flag="-z nodefs"
9557 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"
9558 else
9559 # Determine the default libpath from the value encoded in an
9560 # empty executable.
9561 if test x$gcc_no_link = xyes; then
9562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9568 main ()
9572 return 0;
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9577 lt_aix_libpath_sed='
9578 /Import File Strings/,/^$/ {
9579 /^0/ {
9580 s/^0 *\(.*\)$/\1/
9584 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9585 # Check for a 64-bit object if we didn't find anything.
9586 if test -z "$aix_libpath"; then
9587 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9590 rm -f core conftest.err conftest.$ac_objext \
9591 conftest$ac_exeext conftest.$ac_ext
9592 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9594 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9595 # Warning - without using the other run time loading flags,
9596 # -berok will link without error, but may produce a broken library.
9597 no_undefined_flag=' ${wl}-bernotok'
9598 allow_undefined_flag=' ${wl}-berok'
9599 if test "$with_gnu_ld" = yes; then
9600 # We only use this code for GNU lds that support --whole-archive.
9601 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9602 else
9603 # Exported symbols can be pulled into shared objects from archives
9604 whole_archive_flag_spec='$convenience'
9606 archive_cmds_need_lc=yes
9607 # This is similar to how AIX traditionally builds its shared libraries.
9608 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'
9613 amigaos*)
9614 case $host_cpu in
9615 powerpc)
9616 # see comment about AmigaOS4 .so support
9617 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9618 archive_expsym_cmds=''
9620 m68k)
9621 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)'
9622 hardcode_libdir_flag_spec='-L$libdir'
9623 hardcode_minus_L=yes
9625 esac
9628 bsdi[45]*)
9629 export_dynamic_flag_spec=-rdynamic
9632 cygwin* | mingw* | pw32* | cegcc*)
9633 # When not using gcc, we currently assume that we are using
9634 # Microsoft Visual C++.
9635 # hardcode_libdir_flag_spec is actually meaningless, as there is
9636 # no search path for DLLs.
9637 hardcode_libdir_flag_spec=' '
9638 allow_undefined_flag=unsupported
9639 # Tell ltmain to make .lib files, not .a files.
9640 libext=lib
9641 # Tell ltmain to make .dll files, not .so files.
9642 shrext_cmds=".dll"
9643 # FIXME: Setting linknames here is a bad hack.
9644 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9645 # The linker will automatically build a .lib file if we build a DLL.
9646 old_archive_from_new_cmds='true'
9647 # FIXME: Should let the user specify the lib program.
9648 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9649 fix_srcfile_path='`cygpath -w "$srcfile"`'
9650 enable_shared_with_static_runtimes=yes
9653 darwin* | rhapsody*)
9656 archive_cmds_need_lc=no
9657 hardcode_direct=no
9658 hardcode_automatic=yes
9659 hardcode_shlibpath_var=unsupported
9660 if test "$lt_cv_ld_force_load" = "yes"; then
9661 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\"`'
9662 else
9663 whole_archive_flag_spec=''
9665 link_all_deplibs=yes
9666 allow_undefined_flag="$_lt_dar_allow_undefined"
9667 case $cc_basename in
9668 ifort*) _lt_dar_can_shared=yes ;;
9669 *) _lt_dar_can_shared=$GCC ;;
9670 esac
9671 if test "$_lt_dar_can_shared" = "yes"; then
9672 output_verbose_link_cmd=func_echo_all
9673 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9674 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9675 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}"
9676 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}"
9678 else
9679 ld_shlibs=no
9684 dgux*)
9685 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9686 hardcode_libdir_flag_spec='-L$libdir'
9687 hardcode_shlibpath_var=no
9690 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9691 # support. Future versions do this automatically, but an explicit c++rt0.o
9692 # does not break anything, and helps significantly (at the cost of a little
9693 # extra space).
9694 freebsd2.2*)
9695 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9696 hardcode_libdir_flag_spec='-R$libdir'
9697 hardcode_direct=yes
9698 hardcode_shlibpath_var=no
9701 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9702 freebsd2*)
9703 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9704 hardcode_direct=yes
9705 hardcode_minus_L=yes
9706 hardcode_shlibpath_var=no
9709 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9710 freebsd* | dragonfly*)
9711 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9712 hardcode_libdir_flag_spec='-R$libdir'
9713 hardcode_direct=yes
9714 hardcode_shlibpath_var=no
9717 hpux9*)
9718 if test "$GCC" = yes; then
9719 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'
9720 else
9721 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'
9723 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9724 hardcode_libdir_separator=:
9725 hardcode_direct=yes
9727 # hardcode_minus_L: Not really in the search PATH,
9728 # but as the default location of the library.
9729 hardcode_minus_L=yes
9730 export_dynamic_flag_spec='${wl}-E'
9733 hpux10*)
9734 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9735 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9736 else
9737 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9739 if test "$with_gnu_ld" = no; then
9740 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9741 hardcode_libdir_flag_spec_ld='+b $libdir'
9742 hardcode_libdir_separator=:
9743 hardcode_direct=yes
9744 hardcode_direct_absolute=yes
9745 export_dynamic_flag_spec='${wl}-E'
9746 # hardcode_minus_L: Not really in the search PATH,
9747 # but as the default location of the library.
9748 hardcode_minus_L=yes
9752 hpux11*)
9753 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9754 case $host_cpu in
9755 hppa*64*)
9756 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9758 ia64*)
9759 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 esac
9765 else
9766 case $host_cpu in
9767 hppa*64*)
9768 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9770 ia64*)
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9775 # Older versions of the 11.00 compiler do not understand -b yet
9776 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9778 $as_echo_n "checking if $CC understands -b... " >&6; }
9779 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9780 $as_echo_n "(cached) " >&6
9781 else
9782 lt_cv_prog_compiler__b=no
9783 save_LDFLAGS="$LDFLAGS"
9784 LDFLAGS="$LDFLAGS -b"
9785 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9786 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9787 # The linker can only warn and ignore the option if not recognized
9788 # So say no if there are warnings
9789 if test -s conftest.err; then
9790 # Append any errors to the config.log.
9791 cat conftest.err 1>&5
9792 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9793 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9794 if diff conftest.exp conftest.er2 >/dev/null; then
9795 lt_cv_prog_compiler__b=yes
9797 else
9798 lt_cv_prog_compiler__b=yes
9801 $RM -r conftest*
9802 LDFLAGS="$save_LDFLAGS"
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9806 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9808 if test x"$lt_cv_prog_compiler__b" = xyes; then
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9810 else
9811 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9815 esac
9817 if test "$with_gnu_ld" = no; then
9818 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9819 hardcode_libdir_separator=:
9821 case $host_cpu in
9822 hppa*64*|ia64*)
9823 hardcode_direct=no
9824 hardcode_shlibpath_var=no
9827 hardcode_direct=yes
9828 hardcode_direct_absolute=yes
9829 export_dynamic_flag_spec='${wl}-E'
9831 # hardcode_minus_L: Not really in the search PATH,
9832 # but as the default location of the library.
9833 hardcode_minus_L=yes
9835 esac
9839 irix5* | irix6* | nonstopux*)
9840 if test "$GCC" = yes; then
9841 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'
9842 # Try to use the -exported_symbol ld option, if it does not
9843 # work, assume that -exports_file does not work either and
9844 # implicitly export all symbols.
9845 save_LDFLAGS="$LDFLAGS"
9846 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9847 if test x$gcc_no_link = xyes; then
9848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h. */
9852 int foo(void) {}
9853 _ACEOF
9854 if ac_fn_c_try_link "$LINENO"; then :
9855 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'
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LDFLAGS="$save_LDFLAGS"
9861 else
9862 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'
9863 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'
9865 archive_cmds_need_lc='no'
9866 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9867 hardcode_libdir_separator=:
9868 inherit_rpath=yes
9869 link_all_deplibs=yes
9872 netbsd*)
9873 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9874 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9875 else
9876 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9878 hardcode_libdir_flag_spec='-R$libdir'
9879 hardcode_direct=yes
9880 hardcode_shlibpath_var=no
9883 newsos6)
9884 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9885 hardcode_direct=yes
9886 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9887 hardcode_libdir_separator=:
9888 hardcode_shlibpath_var=no
9891 *nto* | *qnx*)
9894 openbsd*)
9895 if test -f /usr/libexec/ld.so; then
9896 hardcode_direct=yes
9897 hardcode_shlibpath_var=no
9898 hardcode_direct_absolute=yes
9899 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9900 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9901 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9902 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9903 export_dynamic_flag_spec='${wl}-E'
9904 else
9905 case $host_os in
9906 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9907 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9908 hardcode_libdir_flag_spec='-R$libdir'
9911 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9912 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9914 esac
9916 else
9917 ld_shlibs=no
9921 os2*)
9922 hardcode_libdir_flag_spec='-L$libdir'
9923 hardcode_minus_L=yes
9924 allow_undefined_flag=unsupported
9925 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'
9926 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9929 osf3*)
9930 if test "$GCC" = yes; then
9931 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9932 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'
9933 else
9934 allow_undefined_flag=' -expect_unresolved \*'
9935 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'
9937 archive_cmds_need_lc='no'
9938 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9939 hardcode_libdir_separator=:
9942 osf4* | osf5*) # as osf3* with the addition of -msym flag
9943 if test "$GCC" = yes; then
9944 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9945 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'
9946 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9947 else
9948 allow_undefined_flag=' -expect_unresolved \*'
9949 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'
9950 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~
9951 $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'
9953 # Both c and cxx compiler support -rpath directly
9954 hardcode_libdir_flag_spec='-rpath $libdir'
9956 archive_cmds_need_lc='no'
9957 hardcode_libdir_separator=:
9960 solaris*)
9961 no_undefined_flag=' -z defs'
9962 if test "$GCC" = yes; then
9963 wlarc='${wl}'
9964 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9965 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9966 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9967 else
9968 case `$CC -V 2>&1` in
9969 *"Compilers 5.0"*)
9970 wlarc=''
9971 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9972 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9973 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9976 wlarc='${wl}'
9977 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9978 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9979 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9981 esac
9983 hardcode_libdir_flag_spec='-R$libdir'
9984 hardcode_shlibpath_var=no
9985 case $host_os in
9986 solaris2.[0-5] | solaris2.[0-5].*) ;;
9988 # The compiler driver will combine and reorder linker options,
9989 # but understands `-z linker_flag'. GCC discards it without `$wl',
9990 # but is careful enough not to reorder.
9991 # Supported since Solaris 2.6 (maybe 2.5.1?)
9992 if test "$GCC" = yes; then
9993 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9994 else
9995 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9998 esac
9999 link_all_deplibs=yes
10002 sunos4*)
10003 if test "x$host_vendor" = xsequent; then
10004 # Use $CC to link under sequent, because it throws in some extra .o
10005 # files that make .init and .fini sections work.
10006 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10007 else
10008 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10010 hardcode_libdir_flag_spec='-L$libdir'
10011 hardcode_direct=yes
10012 hardcode_minus_L=yes
10013 hardcode_shlibpath_var=no
10016 sysv4)
10017 case $host_vendor in
10018 sni)
10019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_direct=yes # is this really true???
10022 siemens)
10023 ## LD is ld it makes a PLAMLIB
10024 ## CC just makes a GrossModule.
10025 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10026 reload_cmds='$CC -r -o $output$reload_objs'
10027 hardcode_direct=no
10029 motorola)
10030 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10031 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10033 esac
10034 runpath_var='LD_RUN_PATH'
10035 hardcode_shlibpath_var=no
10038 sysv4.3*)
10039 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10040 hardcode_shlibpath_var=no
10041 export_dynamic_flag_spec='-Bexport'
10044 sysv4*MP*)
10045 if test -d /usr/nec; then
10046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047 hardcode_shlibpath_var=no
10048 runpath_var=LD_RUN_PATH
10049 hardcode_runpath_var=yes
10050 ld_shlibs=yes
10054 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10055 no_undefined_flag='${wl}-z,text'
10056 archive_cmds_need_lc=no
10057 hardcode_shlibpath_var=no
10058 runpath_var='LD_RUN_PATH'
10060 if test "$GCC" = yes; then
10061 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 else
10064 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 sysv5* | sco3.2v5* | sco5v6*)
10070 # Note: We can NOT use -z defs as we might desire, because we do not
10071 # link with -lc, and that would cause any symbols used from libc to
10072 # always be unresolved, which means just about no library would
10073 # ever link correctly. If we're not using GNU ld we use -z text
10074 # though, which does catch some bad symbols but isn't as heavy-handed
10075 # as -z defs.
10076 no_undefined_flag='${wl}-z,text'
10077 allow_undefined_flag='${wl}-z,nodefs'
10078 archive_cmds_need_lc=no
10079 hardcode_shlibpath_var=no
10080 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10081 hardcode_libdir_separator=':'
10082 link_all_deplibs=yes
10083 export_dynamic_flag_spec='${wl}-Bexport'
10084 runpath_var='LD_RUN_PATH'
10086 if test "$GCC" = yes; then
10087 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 else
10090 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 uts4*)
10096 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10097 hardcode_libdir_flag_spec='-L$libdir'
10098 hardcode_shlibpath_var=no
10102 ld_shlibs=no
10104 esac
10106 if test x$host_vendor = xsni; then
10107 case $host in
10108 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10109 export_dynamic_flag_spec='${wl}-Blargedynsym'
10111 esac
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10116 $as_echo "$ld_shlibs" >&6; }
10117 test "$ld_shlibs" = no && can_build_shared=no
10119 with_gnu_ld=$with_gnu_ld
10136 # Do we need to explicitly link libc?
10138 case "x$archive_cmds_need_lc" in
10139 x|xyes)
10140 # Assume -lc should be added
10141 archive_cmds_need_lc=yes
10143 if test "$enable_shared" = yes && test "$GCC" = yes; then
10144 case $archive_cmds in
10145 *'~'*)
10146 # FIXME: we may have to deal with multi-command sequences.
10148 '$CC '*)
10149 # Test whether the compiler implicitly links with -lc since on some
10150 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10151 # to ld, don't add -lc before -lgcc.
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10153 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10154 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10155 $as_echo_n "(cached) " >&6
10156 else
10157 $RM conftest*
10158 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10161 (eval $ac_compile) 2>&5
10162 ac_status=$?
10163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10164 test $ac_status = 0; } 2>conftest.err; then
10165 soname=conftest
10166 lib=conftest
10167 libobjs=conftest.$ac_objext
10168 deplibs=
10169 wl=$lt_prog_compiler_wl
10170 pic_flag=$lt_prog_compiler_pic
10171 compiler_flags=-v
10172 linker_flags=-v
10173 verstring=
10174 output_objdir=.
10175 libname=conftest
10176 lt_save_allow_undefined_flag=$allow_undefined_flag
10177 allow_undefined_flag=
10178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10179 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10180 ac_status=$?
10181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10182 test $ac_status = 0; }
10183 then
10184 lt_cv_archive_cmds_need_lc=no
10185 else
10186 lt_cv_archive_cmds_need_lc=yes
10188 allow_undefined_flag=$lt_save_allow_undefined_flag
10189 else
10190 cat conftest.err 1>&5
10192 $RM conftest*
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10196 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10197 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10199 esac
10202 esac
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10361 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10363 if test "$GCC" = yes; then
10364 case $host_os in
10365 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10366 *) lt_awk_arg="/^libraries:/" ;;
10367 esac
10368 case $host_os in
10369 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10370 *) lt_sed_strip_eq="s,=/,/,g" ;;
10371 esac
10372 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10373 case $lt_search_path_spec in
10374 *\;*)
10375 # if the path contains ";" then we assume it to be the separator
10376 # otherwise default to the standard path separator (i.e. ":") - it is
10377 # assumed that no part of a normal pathname contains ";" but that should
10378 # okay in the real world where ";" in dirpaths is itself problematic.
10379 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10384 esac
10385 # Ok, now we have the path, separated by spaces, we can step through it
10386 # and add multilib dir if necessary.
10387 lt_tmp_lt_search_path_spec=
10388 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10389 for lt_sys_path in $lt_search_path_spec; do
10390 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10391 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10392 else
10393 test -d "$lt_sys_path" && \
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10396 done
10397 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10398 BEGIN {RS=" "; FS="/|\n";} {
10399 lt_foo="";
10400 lt_count=0;
10401 for (lt_i = NF; lt_i > 0; lt_i--) {
10402 if ($lt_i != "" && $lt_i != ".") {
10403 if ($lt_i == "..") {
10404 lt_count++;
10405 } else {
10406 if (lt_count == 0) {
10407 lt_foo="/" $lt_i lt_foo;
10408 } else {
10409 lt_count--;
10414 if (lt_foo != "") { lt_freq[lt_foo]++; }
10415 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10417 # AWK program above erroneously prepends '/' to C:/dos/paths
10418 # for these hosts.
10419 case $host_os in
10420 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10421 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10422 esac
10423 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10424 else
10425 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10427 library_names_spec=
10428 libname_spec='lib$name'
10429 soname_spec=
10430 shrext_cmds=".so"
10431 postinstall_cmds=
10432 postuninstall_cmds=
10433 finish_cmds=
10434 finish_eval=
10435 shlibpath_var=
10436 shlibpath_overrides_runpath=unknown
10437 version_type=none
10438 dynamic_linker="$host_os ld.so"
10439 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10440 need_lib_prefix=unknown
10441 hardcode_into_libs=no
10443 # when you set need_version to no, make sure it does not cause -set_version
10444 # flags to be left without arguments
10445 need_version=unknown
10447 case $host_os in
10448 aix3*)
10449 version_type=linux
10450 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10451 shlibpath_var=LIBPATH
10453 # AIX 3 has no versioning support, so we append a major version to the name.
10454 soname_spec='${libname}${release}${shared_ext}$major'
10457 aix[4-9]*)
10458 version_type=linux
10459 need_lib_prefix=no
10460 need_version=no
10461 hardcode_into_libs=yes
10462 if test "$host_cpu" = ia64; then
10463 # AIX 5 supports IA64
10464 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10465 shlibpath_var=LD_LIBRARY_PATH
10466 else
10467 # With GCC up to 2.95.x, collect2 would create an import file
10468 # for dependence libraries. The import file would start with
10469 # the line `#! .'. This would cause the generated library to
10470 # depend on `.', always an invalid library. This was fixed in
10471 # development snapshots of GCC prior to 3.0.
10472 case $host_os in
10473 aix4 | aix4.[01] | aix4.[01].*)
10474 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10475 echo ' yes '
10476 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10478 else
10479 can_build_shared=no
10482 esac
10483 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10484 # soname into executable. Probably we can add versioning support to
10485 # collect2, so additional links can be useful in future.
10486 if test "$aix_use_runtimelinking" = yes; then
10487 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10488 # instead of lib<name>.a to let people know that these are not
10489 # typical AIX shared libraries.
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 else
10492 # We preserve .a as extension for shared libraries through AIX4.2
10493 # and later when we are not doing run time linking.
10494 library_names_spec='${libname}${release}.a $libname.a'
10495 soname_spec='${libname}${release}${shared_ext}$major'
10497 shlibpath_var=LIBPATH
10501 amigaos*)
10502 case $host_cpu in
10503 powerpc)
10504 # Since July 2007 AmigaOS4 officially supports .so libraries.
10505 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10508 m68k)
10509 library_names_spec='$libname.ixlibrary $libname.a'
10510 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10511 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'
10513 esac
10516 beos*)
10517 library_names_spec='${libname}${shared_ext}'
10518 dynamic_linker="$host_os ld.so"
10519 shlibpath_var=LIBRARY_PATH
10522 bsdi[45]*)
10523 version_type=linux
10524 need_version=no
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 soname_spec='${libname}${release}${shared_ext}$major'
10527 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10528 shlibpath_var=LD_LIBRARY_PATH
10529 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10530 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10531 # the default ld.so.conf also contains /usr/contrib/lib and
10532 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10533 # libtool to hard-code these into programs
10536 cygwin* | mingw* | pw32* | cegcc*)
10537 version_type=windows
10538 shrext_cmds=".dll"
10539 need_version=no
10540 need_lib_prefix=no
10542 case $GCC,$host_os in
10543 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10544 library_names_spec='$libname.dll.a'
10545 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10546 postinstall_cmds='base_file=`basename \${file}`~
10547 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10548 dldir=$destdir/`dirname \$dlpath`~
10549 test -d \$dldir || mkdir -p \$dldir~
10550 $install_prog $dir/$dlname \$dldir/$dlname~
10551 chmod a+x \$dldir/$dlname~
10552 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10553 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10555 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10556 dlpath=$dir/\$dldll~
10557 $RM \$dlpath'
10558 shlibpath_overrides_runpath=yes
10560 case $host_os in
10561 cygwin*)
10562 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10563 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10565 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10567 mingw* | cegcc*)
10568 # MinGW DLLs use traditional 'lib' prefix
10569 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10571 pw32*)
10572 # pw32 DLLs use 'pw' prefix rather than 'lib'
10573 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10575 esac
10579 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10581 esac
10582 dynamic_linker='Win32 ld.exe'
10583 # FIXME: first we should search . and the directory the executable is in
10584 shlibpath_var=PATH
10587 darwin* | rhapsody*)
10588 dynamic_linker="$host_os dyld"
10589 version_type=darwin
10590 need_lib_prefix=no
10591 need_version=no
10592 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10593 soname_spec='${libname}${release}${major}$shared_ext'
10594 shlibpath_overrides_runpath=yes
10595 shlibpath_var=DYLD_LIBRARY_PATH
10596 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10598 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10599 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10602 dgux*)
10603 version_type=linux
10604 need_lib_prefix=no
10605 need_version=no
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LD_LIBRARY_PATH
10611 freebsd* | dragonfly*)
10612 # DragonFly does not have aout. When/if they implement a new
10613 # versioning mechanism, adjust this.
10614 if test -x /usr/bin/objformat; then
10615 objformat=`/usr/bin/objformat`
10616 else
10617 case $host_os in
10618 freebsd[123]*) objformat=aout ;;
10619 *) objformat=elf ;;
10620 esac
10622 version_type=freebsd-$objformat
10623 case $version_type in
10624 freebsd-elf*)
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10626 need_version=no
10627 need_lib_prefix=no
10629 freebsd-*)
10630 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10631 need_version=yes
10633 esac
10634 shlibpath_var=LD_LIBRARY_PATH
10635 case $host_os in
10636 freebsd2*)
10637 shlibpath_overrides_runpath=yes
10639 freebsd3.[01]* | freebsdelf3.[01]*)
10640 shlibpath_overrides_runpath=yes
10641 hardcode_into_libs=yes
10643 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10644 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10645 shlibpath_overrides_runpath=no
10646 hardcode_into_libs=yes
10648 *) # from 4.6 on, and DragonFly
10649 shlibpath_overrides_runpath=yes
10650 hardcode_into_libs=yes
10652 esac
10655 gnu*)
10656 version_type=linux
10657 need_lib_prefix=no
10658 need_version=no
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10660 soname_spec='${libname}${release}${shared_ext}$major'
10661 shlibpath_var=LD_LIBRARY_PATH
10662 hardcode_into_libs=yes
10665 haiku*)
10666 version_type=linux
10667 need_lib_prefix=no
10668 need_version=no
10669 dynamic_linker="$host_os runtime_loader"
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10671 soname_spec='${libname}${release}${shared_ext}$major'
10672 shlibpath_var=LIBRARY_PATH
10673 shlibpath_overrides_runpath=yes
10674 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10675 hardcode_into_libs=yes
10678 hpux9* | hpux10* | hpux11*)
10679 # Give a soname corresponding to the major version so that dld.sl refuses to
10680 # link against other versions.
10681 version_type=sunos
10682 need_lib_prefix=no
10683 need_version=no
10684 case $host_cpu in
10685 ia64*)
10686 shrext_cmds='.so'
10687 hardcode_into_libs=yes
10688 dynamic_linker="$host_os dld.so"
10689 shlibpath_var=LD_LIBRARY_PATH
10690 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692 soname_spec='${libname}${release}${shared_ext}$major'
10693 if test "X$HPUX_IA64_MODE" = X32; then
10694 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10695 else
10696 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10698 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10700 hppa*64*)
10701 shrext_cmds='.sl'
10702 hardcode_into_libs=yes
10703 dynamic_linker="$host_os dld.sl"
10704 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10705 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707 soname_spec='${libname}${release}${shared_ext}$major'
10708 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10709 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10712 shrext_cmds='.sl'
10713 dynamic_linker="$host_os dld.sl"
10714 shlibpath_var=SHLIB_PATH
10715 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10719 esac
10720 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10721 postinstall_cmds='chmod 555 $lib'
10722 # or fails outright, so override atomically:
10723 install_override_mode=555
10726 interix[3-9]*)
10727 version_type=linux
10728 need_lib_prefix=no
10729 need_version=no
10730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10731 soname_spec='${libname}${release}${shared_ext}$major'
10732 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10733 shlibpath_var=LD_LIBRARY_PATH
10734 shlibpath_overrides_runpath=no
10735 hardcode_into_libs=yes
10738 irix5* | irix6* | nonstopux*)
10739 case $host_os in
10740 nonstopux*) version_type=nonstopux ;;
10742 if test "$lt_cv_prog_gnu_ld" = yes; then
10743 version_type=linux
10744 else
10745 version_type=irix
10746 fi ;;
10747 esac
10748 need_lib_prefix=no
10749 need_version=no
10750 soname_spec='${libname}${release}${shared_ext}$major'
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10752 case $host_os in
10753 irix5* | nonstopux*)
10754 libsuff= shlibsuff=
10757 case $LD in # libtool.m4 will add one of these switches to LD
10758 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10759 libsuff= shlibsuff= libmagic=32-bit;;
10760 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10761 libsuff=32 shlibsuff=N32 libmagic=N32;;
10762 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10763 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10764 *) libsuff= shlibsuff= libmagic=never-match;;
10765 esac
10767 esac
10768 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10769 shlibpath_overrides_runpath=no
10770 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10771 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10772 hardcode_into_libs=yes
10775 # No shared lib support for Linux oldld, aout, or coff.
10776 linux*oldld* | linux*aout* | linux*coff*)
10777 dynamic_linker=no
10780 # This must be Linux ELF.
10781 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10782 version_type=linux
10783 need_lib_prefix=no
10784 need_version=no
10785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10786 soname_spec='${libname}${release}${shared_ext}$major'
10787 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10788 shlibpath_var=LD_LIBRARY_PATH
10789 shlibpath_overrides_runpath=no
10791 # Some binutils ld are patched to set DT_RUNPATH
10792 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10793 $as_echo_n "(cached) " >&6
10794 else
10795 lt_cv_shlibpath_overrides_runpath=no
10796 save_LDFLAGS=$LDFLAGS
10797 save_libdir=$libdir
10798 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10799 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10800 if test x$gcc_no_link = xyes; then
10801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10807 main ()
10811 return 0;
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"; then :
10815 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10816 lt_cv_shlibpath_overrides_runpath=yes
10819 rm -f core conftest.err conftest.$ac_objext \
10820 conftest$ac_exeext conftest.$ac_ext
10821 LDFLAGS=$save_LDFLAGS
10822 libdir=$save_libdir
10826 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10828 # This implies no fast_install, which is unacceptable.
10829 # Some rework will be needed to allow for fast_install
10830 # before this can be enabled.
10831 hardcode_into_libs=yes
10833 # Append ld.so.conf contents to the search path
10834 if test -f /etc/ld.so.conf; then
10835 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' ' '`
10836 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10839 # We used to test for /lib/ld.so.1 and disable shared libraries on
10840 # powerpc, because MkLinux only supported shared libraries with the
10841 # GNU dynamic linker. Since this was broken with cross compilers,
10842 # most powerpc-linux boxes support dynamic linking these days and
10843 # people can always --disable-shared, the test was removed, and we
10844 # assume the GNU/Linux dynamic linker is in use.
10845 dynamic_linker='GNU/Linux ld.so'
10848 netbsd*)
10849 version_type=sunos
10850 need_lib_prefix=no
10851 need_version=no
10852 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10854 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10855 dynamic_linker='NetBSD (a.out) ld.so'
10856 else
10857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10858 soname_spec='${libname}${release}${shared_ext}$major'
10859 dynamic_linker='NetBSD ld.elf_so'
10861 shlibpath_var=LD_LIBRARY_PATH
10862 shlibpath_overrides_runpath=yes
10863 hardcode_into_libs=yes
10866 newsos6)
10867 version_type=linux
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 shlibpath_var=LD_LIBRARY_PATH
10870 shlibpath_overrides_runpath=yes
10873 *nto* | *qnx*)
10874 version_type=qnx
10875 need_lib_prefix=no
10876 need_version=no
10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10878 soname_spec='${libname}${release}${shared_ext}$major'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 shlibpath_overrides_runpath=no
10881 hardcode_into_libs=yes
10882 dynamic_linker='ldqnx.so'
10885 openbsd*)
10886 version_type=sunos
10887 sys_lib_dlsearch_path_spec="/usr/lib"
10888 need_lib_prefix=no
10889 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10890 case $host_os in
10891 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10892 *) need_version=no ;;
10893 esac
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10898 case $host_os in
10899 openbsd2.[89] | openbsd2.[89].*)
10900 shlibpath_overrides_runpath=no
10903 shlibpath_overrides_runpath=yes
10905 esac
10906 else
10907 shlibpath_overrides_runpath=yes
10911 os2*)
10912 libname_spec='$name'
10913 shrext_cmds=".dll"
10914 need_lib_prefix=no
10915 library_names_spec='$libname${shared_ext} $libname.a'
10916 dynamic_linker='OS/2 ld.exe'
10917 shlibpath_var=LIBPATH
10920 osf3* | osf4* | osf5*)
10921 version_type=osf
10922 need_lib_prefix=no
10923 need_version=no
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10928 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10931 rdos*)
10932 dynamic_linker=no
10935 solaris*)
10936 version_type=linux
10937 need_lib_prefix=no
10938 need_version=no
10939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940 soname_spec='${libname}${release}${shared_ext}$major'
10941 shlibpath_var=LD_LIBRARY_PATH
10942 shlibpath_overrides_runpath=yes
10943 hardcode_into_libs=yes
10944 # ldd complains unless libraries are executable
10945 postinstall_cmds='chmod +x $lib'
10948 sunos4*)
10949 version_type=sunos
10950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10951 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10952 shlibpath_var=LD_LIBRARY_PATH
10953 shlibpath_overrides_runpath=yes
10954 if test "$with_gnu_ld" = yes; then
10955 need_lib_prefix=no
10957 need_version=yes
10960 sysv4 | sysv4.3*)
10961 version_type=linux
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10963 soname_spec='${libname}${release}${shared_ext}$major'
10964 shlibpath_var=LD_LIBRARY_PATH
10965 case $host_vendor in
10966 sni)
10967 shlibpath_overrides_runpath=no
10968 need_lib_prefix=no
10969 runpath_var=LD_RUN_PATH
10971 siemens)
10972 need_lib_prefix=no
10974 motorola)
10975 need_lib_prefix=no
10976 need_version=no
10977 shlibpath_overrides_runpath=no
10978 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10980 esac
10983 sysv4*MP*)
10984 if test -d /usr/nec ;then
10985 version_type=linux
10986 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10987 soname_spec='$libname${shared_ext}.$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10992 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10993 version_type=freebsd-elf
10994 need_lib_prefix=no
10995 need_version=no
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 hardcode_into_libs=yes
11001 if test "$with_gnu_ld" = yes; then
11002 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11003 else
11004 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11005 case $host_os in
11006 sco3.2v5*)
11007 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11009 esac
11011 sys_lib_dlsearch_path_spec='/usr/lib'
11014 tpf*)
11015 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11016 version_type=linux
11017 need_lib_prefix=no
11018 need_version=no
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020 shlibpath_var=LD_LIBRARY_PATH
11021 shlibpath_overrides_runpath=no
11022 hardcode_into_libs=yes
11025 uts4*)
11026 version_type=linux
11027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11028 soname_spec='${libname}${release}${shared_ext}$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11033 dynamic_linker=no
11035 esac
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11037 $as_echo "$dynamic_linker" >&6; }
11038 test "$dynamic_linker" = no && can_build_shared=no
11040 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11041 if test "$GCC" = yes; then
11042 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11045 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11046 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11048 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11049 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11144 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11145 hardcode_action=
11146 if test -n "$hardcode_libdir_flag_spec" ||
11147 test -n "$runpath_var" ||
11148 test "X$hardcode_automatic" = "Xyes" ; then
11150 # We can hardcode non-existent directories.
11151 if test "$hardcode_direct" != no &&
11152 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11153 # have to relink, otherwise we might link with an installed library
11154 # when we should be linking with a yet-to-be-installed one
11155 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11156 test "$hardcode_minus_L" != no; then
11157 # Linking always hardcodes the temporary library directory.
11158 hardcode_action=relink
11159 else
11160 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11161 hardcode_action=immediate
11163 else
11164 # We cannot hardcode anything, or else we can only hardcode existing
11165 # directories.
11166 hardcode_action=unsupported
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11169 $as_echo "$hardcode_action" >&6; }
11171 if test "$hardcode_action" = relink ||
11172 test "$inherit_rpath" = yes; then
11173 # Fast installation is not supported
11174 enable_fast_install=no
11175 elif test "$shlibpath_overrides_runpath" = yes ||
11176 test "$enable_shared" = no; then
11177 # Fast installation is not necessary
11178 enable_fast_install=needless
11186 if test "x$enable_dlopen" != xyes; then
11187 enable_dlopen=unknown
11188 enable_dlopen_self=unknown
11189 enable_dlopen_self_static=unknown
11190 else
11191 lt_cv_dlopen=no
11192 lt_cv_dlopen_libs=
11194 case $host_os in
11195 beos*)
11196 lt_cv_dlopen="load_add_on"
11197 lt_cv_dlopen_libs=
11198 lt_cv_dlopen_self=yes
11201 mingw* | pw32* | cegcc*)
11202 lt_cv_dlopen="LoadLibrary"
11203 lt_cv_dlopen_libs=
11206 cygwin*)
11207 lt_cv_dlopen="dlopen"
11208 lt_cv_dlopen_libs=
11211 darwin*)
11212 # if libdl is installed we need to link against it
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11214 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11215 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11216 $as_echo_n "(cached) " >&6
11217 else
11218 ac_check_lib_save_LIBS=$LIBS
11219 LIBS="-ldl $LIBS"
11220 if test x$gcc_no_link = xyes; then
11221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char dlopen ();
11234 main ()
11236 return dlopen ();
11238 return 0;
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 ac_cv_lib_dl_dlopen=yes
11243 else
11244 ac_cv_lib_dl_dlopen=no
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11251 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11252 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11253 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11254 else
11256 lt_cv_dlopen="dyld"
11257 lt_cv_dlopen_libs=
11258 lt_cv_dlopen_self=yes
11265 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11266 if test "x$ac_cv_func_shl_load" = x""yes; then :
11267 lt_cv_dlopen="shl_load"
11268 else
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11270 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11271 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11272 $as_echo_n "(cached) " >&6
11273 else
11274 ac_check_lib_save_LIBS=$LIBS
11275 LIBS="-ldld $LIBS"
11276 if test x$gcc_no_link = xyes; then
11277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11285 #ifdef __cplusplus
11286 extern "C"
11287 #endif
11288 char shl_load ();
11290 main ()
11292 return shl_load ();
11294 return 0;
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11298 ac_cv_lib_dld_shl_load=yes
11299 else
11300 ac_cv_lib_dld_shl_load=no
11302 rm -f core conftest.err conftest.$ac_objext \
11303 conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_lib_save_LIBS
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11307 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11308 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11309 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11310 else
11311 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11312 if test "x$ac_cv_func_dlopen" = x""yes; then :
11313 lt_cv_dlopen="dlopen"
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11316 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11317 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_lib_save_LIBS=$LIBS
11321 LIBS="-ldl $LIBS"
11322 if test x$gcc_no_link = xyes; then
11323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char dlopen ();
11336 main ()
11338 return dlopen ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_dl_dlopen=yes
11345 else
11346 ac_cv_lib_dl_dlopen=no
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11353 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11354 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11355 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11356 else
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11358 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11359 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11360 $as_echo_n "(cached) " >&6
11361 else
11362 ac_check_lib_save_LIBS=$LIBS
11363 LIBS="-lsvld $LIBS"
11364 if test x$gcc_no_link = xyes; then
11365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11373 #ifdef __cplusplus
11374 extern "C"
11375 #endif
11376 char dlopen ();
11378 main ()
11380 return dlopen ();
11382 return 0;
11384 _ACEOF
11385 if ac_fn_c_try_link "$LINENO"; then :
11386 ac_cv_lib_svld_dlopen=yes
11387 else
11388 ac_cv_lib_svld_dlopen=no
11390 rm -f core conftest.err conftest.$ac_objext \
11391 conftest$ac_exeext conftest.$ac_ext
11392 LIBS=$ac_check_lib_save_LIBS
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11395 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11396 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11397 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11398 else
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11400 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11401 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11402 $as_echo_n "(cached) " >&6
11403 else
11404 ac_check_lib_save_LIBS=$LIBS
11405 LIBS="-ldld $LIBS"
11406 if test x$gcc_no_link = xyes; then
11407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char dld_link ();
11420 main ()
11422 return dld_link ();
11424 return 0;
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 ac_cv_lib_dld_dld_link=yes
11429 else
11430 ac_cv_lib_dld_dld_link=no
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11437 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11438 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11439 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11458 esac
11460 if test "x$lt_cv_dlopen" != xno; then
11461 enable_dlopen=yes
11462 else
11463 enable_dlopen=no
11466 case $lt_cv_dlopen in
11467 dlopen)
11468 save_CPPFLAGS="$CPPFLAGS"
11469 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11471 save_LDFLAGS="$LDFLAGS"
11472 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11474 save_LIBS="$LIBS"
11475 LIBS="$lt_cv_dlopen_libs $LIBS"
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11478 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11479 if test "${lt_cv_dlopen_self+set}" = set; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 if test "$cross_compiling" = yes; then :
11483 lt_cv_dlopen_self=cross
11484 else
11485 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11486 lt_status=$lt_dlunknown
11487 cat > conftest.$ac_ext <<_LT_EOF
11488 #line 11488 "configure"
11489 #include "confdefs.h"
11491 #if HAVE_DLFCN_H
11492 #include <dlfcn.h>
11493 #endif
11495 #include <stdio.h>
11497 #ifdef RTLD_GLOBAL
11498 # define LT_DLGLOBAL RTLD_GLOBAL
11499 #else
11500 # ifdef DL_GLOBAL
11501 # define LT_DLGLOBAL DL_GLOBAL
11502 # else
11503 # define LT_DLGLOBAL 0
11504 # endif
11505 #endif
11507 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11508 find out it does not work in some platform. */
11509 #ifndef LT_DLLAZY_OR_NOW
11510 # ifdef RTLD_LAZY
11511 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11512 # else
11513 # ifdef DL_LAZY
11514 # define LT_DLLAZY_OR_NOW DL_LAZY
11515 # else
11516 # ifdef RTLD_NOW
11517 # define LT_DLLAZY_OR_NOW RTLD_NOW
11518 # else
11519 # ifdef DL_NOW
11520 # define LT_DLLAZY_OR_NOW DL_NOW
11521 # else
11522 # define LT_DLLAZY_OR_NOW 0
11523 # endif
11524 # endif
11525 # endif
11526 # endif
11527 #endif
11529 /* When -fvisbility=hidden is used, assume the code has been annotated
11530 correspondingly for the symbols needed. */
11531 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11532 void fnord () __attribute__((visibility("default")));
11533 #endif
11535 void fnord () { int i=42; }
11536 int main ()
11538 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11539 int status = $lt_dlunknown;
11541 if (self)
11543 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11544 else
11546 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11547 else puts (dlerror ());
11549 /* dlclose (self); */
11551 else
11552 puts (dlerror ());
11554 return status;
11556 _LT_EOF
11557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11558 (eval $ac_link) 2>&5
11559 ac_status=$?
11560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11561 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11562 (./conftest; exit; ) >&5 2>/dev/null
11563 lt_status=$?
11564 case x$lt_status in
11565 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11566 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11567 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11568 esac
11569 else :
11570 # compilation failed
11571 lt_cv_dlopen_self=no
11574 rm -fr conftest*
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11579 $as_echo "$lt_cv_dlopen_self" >&6; }
11581 if test "x$lt_cv_dlopen_self" = xyes; then
11582 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11584 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11585 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11586 $as_echo_n "(cached) " >&6
11587 else
11588 if test "$cross_compiling" = yes; then :
11589 lt_cv_dlopen_self_static=cross
11590 else
11591 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11592 lt_status=$lt_dlunknown
11593 cat > conftest.$ac_ext <<_LT_EOF
11594 #line 11594 "configure"
11595 #include "confdefs.h"
11597 #if HAVE_DLFCN_H
11598 #include <dlfcn.h>
11599 #endif
11601 #include <stdio.h>
11603 #ifdef RTLD_GLOBAL
11604 # define LT_DLGLOBAL RTLD_GLOBAL
11605 #else
11606 # ifdef DL_GLOBAL
11607 # define LT_DLGLOBAL DL_GLOBAL
11608 # else
11609 # define LT_DLGLOBAL 0
11610 # endif
11611 #endif
11613 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11614 find out it does not work in some platform. */
11615 #ifndef LT_DLLAZY_OR_NOW
11616 # ifdef RTLD_LAZY
11617 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11618 # else
11619 # ifdef DL_LAZY
11620 # define LT_DLLAZY_OR_NOW DL_LAZY
11621 # else
11622 # ifdef RTLD_NOW
11623 # define LT_DLLAZY_OR_NOW RTLD_NOW
11624 # else
11625 # ifdef DL_NOW
11626 # define LT_DLLAZY_OR_NOW DL_NOW
11627 # else
11628 # define LT_DLLAZY_OR_NOW 0
11629 # endif
11630 # endif
11631 # endif
11632 # endif
11633 #endif
11635 /* When -fvisbility=hidden is used, assume the code has been annotated
11636 correspondingly for the symbols needed. */
11637 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11638 void fnord () __attribute__((visibility("default")));
11639 #endif
11641 void fnord () { int i=42; }
11642 int main ()
11644 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11645 int status = $lt_dlunknown;
11647 if (self)
11649 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11650 else
11652 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11653 else puts (dlerror ());
11655 /* dlclose (self); */
11657 else
11658 puts (dlerror ());
11660 return status;
11662 _LT_EOF
11663 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11664 (eval $ac_link) 2>&5
11665 ac_status=$?
11666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11667 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11668 (./conftest; exit; ) >&5 2>/dev/null
11669 lt_status=$?
11670 case x$lt_status in
11671 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11672 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11673 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11674 esac
11675 else :
11676 # compilation failed
11677 lt_cv_dlopen_self_static=no
11680 rm -fr conftest*
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11685 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11688 CPPFLAGS="$save_CPPFLAGS"
11689 LDFLAGS="$save_LDFLAGS"
11690 LIBS="$save_LIBS"
11692 esac
11694 case $lt_cv_dlopen_self in
11695 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11696 *) enable_dlopen_self=unknown ;;
11697 esac
11699 case $lt_cv_dlopen_self_static in
11700 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11701 *) enable_dlopen_self_static=unknown ;;
11702 esac
11721 striplib=
11722 old_striplib=
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11724 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11725 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11726 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11727 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11729 $as_echo "yes" >&6; }
11730 else
11731 # FIXME - insert some real tests, host_os isn't really good enough
11732 case $host_os in
11733 darwin*)
11734 if test -n "$STRIP" ; then
11735 striplib="$STRIP -x"
11736 old_striplib="$STRIP -S"
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11738 $as_echo "yes" >&6; }
11739 else
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 $as_echo "no" >&6; }
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11746 $as_echo "no" >&6; }
11748 esac
11762 # Report which library types will actually be built
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11764 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11766 $as_echo "$can_build_shared" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11769 $as_echo_n "checking whether to build shared libraries... " >&6; }
11770 test "$can_build_shared" = "no" && enable_shared=no
11772 # On AIX, shared libraries and static libraries use the same namespace, and
11773 # are all built from PIC.
11774 case $host_os in
11775 aix3*)
11776 test "$enable_shared" = yes && enable_static=no
11777 if test -n "$RANLIB"; then
11778 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11779 postinstall_cmds='$RANLIB $lib'
11783 aix[4-9]*)
11784 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11785 test "$enable_shared" = yes && enable_static=no
11788 esac
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11790 $as_echo "$enable_shared" >&6; }
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11793 $as_echo_n "checking whether to build static libraries... " >&6; }
11794 # Make sure either enable_shared or enable_static is yes.
11795 test "$enable_shared" = yes || enable_static=yes
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11797 $as_echo "$enable_static" >&6; }
11803 ac_ext=c
11804 ac_cpp='$CPP $CPPFLAGS'
11805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11809 CC="$lt_save_CC"
11811 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11812 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11813 (test "X$CXX" != "Xg++"))) ; then
11814 ac_ext=cpp
11815 ac_cpp='$CXXCPP $CPPFLAGS'
11816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11820 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11821 if test -z "$CXXCPP"; then
11822 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11823 $as_echo_n "(cached) " >&6
11824 else
11825 # Double quotes because CXXCPP needs to be expanded
11826 for CXXCPP in "$CXX -E" "/lib/cpp"
11828 ac_preproc_ok=false
11829 for ac_cxx_preproc_warn_flag in '' yes
11831 # Use a header file that comes with gcc, so configuring glibc
11832 # with a fresh cross-compiler works.
11833 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11834 # <limits.h> exists even on freestanding compilers.
11835 # On the NeXT, cc -E runs the code through the compiler's parser,
11836 # not just through cpp. "Syntax error" is here to catch this case.
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11839 #ifdef __STDC__
11840 # include <limits.h>
11841 #else
11842 # include <assert.h>
11843 #endif
11844 Syntax error
11845 _ACEOF
11846 if ac_fn_cxx_try_cpp "$LINENO"; then :
11848 else
11849 # Broken: fails on valid input.
11850 continue
11852 rm -f conftest.err conftest.$ac_ext
11854 # OK, works on sane cases. Now check whether nonexistent headers
11855 # can be detected and how.
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11858 #include <ac_nonexistent.h>
11859 _ACEOF
11860 if ac_fn_cxx_try_cpp "$LINENO"; then :
11861 # Broken: success on invalid input.
11862 continue
11863 else
11864 # Passes both tests.
11865 ac_preproc_ok=:
11866 break
11868 rm -f conftest.err conftest.$ac_ext
11870 done
11871 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11872 rm -f conftest.err conftest.$ac_ext
11873 if $ac_preproc_ok; then :
11874 break
11877 done
11878 ac_cv_prog_CXXCPP=$CXXCPP
11881 CXXCPP=$ac_cv_prog_CXXCPP
11882 else
11883 ac_cv_prog_CXXCPP=$CXXCPP
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11886 $as_echo "$CXXCPP" >&6; }
11887 ac_preproc_ok=false
11888 for ac_cxx_preproc_warn_flag in '' yes
11890 # Use a header file that comes with gcc, so configuring glibc
11891 # with a fresh cross-compiler works.
11892 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11893 # <limits.h> exists even on freestanding compilers.
11894 # On the NeXT, cc -E runs the code through the compiler's parser,
11895 # not just through cpp. "Syntax error" is here to catch this case.
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11898 #ifdef __STDC__
11899 # include <limits.h>
11900 #else
11901 # include <assert.h>
11902 #endif
11903 Syntax error
11904 _ACEOF
11905 if ac_fn_cxx_try_cpp "$LINENO"; then :
11907 else
11908 # Broken: fails on valid input.
11909 continue
11911 rm -f conftest.err conftest.$ac_ext
11913 # OK, works on sane cases. Now check whether nonexistent headers
11914 # can be detected and how.
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11917 #include <ac_nonexistent.h>
11918 _ACEOF
11919 if ac_fn_cxx_try_cpp "$LINENO"; then :
11920 # Broken: success on invalid input.
11921 continue
11922 else
11923 # Passes both tests.
11924 ac_preproc_ok=:
11925 break
11927 rm -f conftest.err conftest.$ac_ext
11929 done
11930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11931 rm -f conftest.err conftest.$ac_ext
11932 if $ac_preproc_ok; then :
11934 else
11935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11937 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11938 See \`config.log' for more details." "$LINENO" 5; }
11941 ac_ext=c
11942 ac_cpp='$CPP $CPPFLAGS'
11943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11947 else
11948 _lt_caught_CXX_error=yes
11951 ac_ext=cpp
11952 ac_cpp='$CXXCPP $CPPFLAGS'
11953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11957 archive_cmds_need_lc_CXX=no
11958 allow_undefined_flag_CXX=
11959 always_export_symbols_CXX=no
11960 archive_expsym_cmds_CXX=
11961 compiler_needs_object_CXX=no
11962 export_dynamic_flag_spec_CXX=
11963 hardcode_direct_CXX=no
11964 hardcode_direct_absolute_CXX=no
11965 hardcode_libdir_flag_spec_CXX=
11966 hardcode_libdir_flag_spec_ld_CXX=
11967 hardcode_libdir_separator_CXX=
11968 hardcode_minus_L_CXX=no
11969 hardcode_shlibpath_var_CXX=unsupported
11970 hardcode_automatic_CXX=no
11971 inherit_rpath_CXX=no
11972 module_cmds_CXX=
11973 module_expsym_cmds_CXX=
11974 link_all_deplibs_CXX=unknown
11975 old_archive_cmds_CXX=$old_archive_cmds
11976 reload_flag_CXX=$reload_flag
11977 reload_cmds_CXX=$reload_cmds
11978 no_undefined_flag_CXX=
11979 whole_archive_flag_spec_CXX=
11980 enable_shared_with_static_runtimes_CXX=no
11982 # Source file extension for C++ test sources.
11983 ac_ext=cpp
11985 # Object file extension for compiled C++ test sources.
11986 objext=o
11987 objext_CXX=$objext
11989 # No sense in running all these tests if we already determined that
11990 # the CXX compiler isn't working. Some variables (like enable_shared)
11991 # are currently assumed to apply to all compilers on this platform,
11992 # and will be corrupted by setting them based on a non-working compiler.
11993 if test "$_lt_caught_CXX_error" != yes; then
11994 # Code to be used in simple compile tests
11995 lt_simple_compile_test_code="int some_variable = 0;"
11997 # Code to be used in simple link tests
11998 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12000 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12007 # If no C compiler was specified, use CC.
12008 LTCC=${LTCC-"$CC"}
12010 # If no C compiler flags were specified, use CFLAGS.
12011 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12013 # Allow CC to be a program name with arguments.
12014 compiler=$CC
12017 # save warnings/boilerplate of simple test code
12018 ac_outfile=conftest.$ac_objext
12019 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12020 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12021 _lt_compiler_boilerplate=`cat conftest.err`
12022 $RM conftest*
12024 ac_outfile=conftest.$ac_objext
12025 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12026 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12027 _lt_linker_boilerplate=`cat conftest.err`
12028 $RM -r conftest*
12031 # Allow CC to be a program name with arguments.
12032 lt_save_CC=$CC
12033 lt_save_LD=$LD
12034 lt_save_GCC=$GCC
12035 GCC=$GXX
12036 lt_save_with_gnu_ld=$with_gnu_ld
12037 lt_save_path_LD=$lt_cv_path_LD
12038 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12039 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12040 else
12041 $as_unset lt_cv_prog_gnu_ld
12043 if test -n "${lt_cv_path_LDCXX+set}"; then
12044 lt_cv_path_LD=$lt_cv_path_LDCXX
12045 else
12046 $as_unset lt_cv_path_LD
12048 test -z "${LDCXX+set}" || LD=$LDCXX
12049 CC=${CXX-"c++"}
12050 compiler=$CC
12051 compiler_CXX=$CC
12052 for cc_temp in $compiler""; do
12053 case $cc_temp in
12054 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12055 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12056 \-*) ;;
12057 *) break;;
12058 esac
12059 done
12060 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12063 if test -n "$compiler"; then
12064 # We don't want -fno-exception when compiling C++ code, so set the
12065 # no_builtin_flag separately
12066 if test "$GXX" = yes; then
12067 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12068 else
12069 lt_prog_compiler_no_builtin_flag_CXX=
12072 if test "$GXX" = yes; then
12073 # Set up default GNU C++ configuration
12077 # Check whether --with-gnu-ld was given.
12078 if test "${with_gnu_ld+set}" = set; then :
12079 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12080 else
12081 with_gnu_ld=no
12084 ac_prog=ld
12085 if test "$GCC" = yes; then
12086 # Check if gcc -print-prog-name=ld gives a path.
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12088 $as_echo_n "checking for ld used by $CC... " >&6; }
12089 case $host in
12090 *-*-mingw*)
12091 # gcc leaves a trailing carriage return which upsets mingw
12092 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12094 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12095 esac
12096 case $ac_prog in
12097 # Accept absolute paths.
12098 [\\/]* | ?:[\\/]*)
12099 re_direlt='/[^/][^/]*/\.\./'
12100 # Canonicalize the pathname of ld
12101 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12102 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12103 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12104 done
12105 test -z "$LD" && LD="$ac_prog"
12108 # If it fails, then pretend we aren't using GCC.
12109 ac_prog=ld
12112 # If it is relative, then search for the first ld in PATH.
12113 with_gnu_ld=unknown
12115 esac
12116 elif test "$with_gnu_ld" = yes; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12118 $as_echo_n "checking for GNU ld... " >&6; }
12119 else
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12121 $as_echo_n "checking for non-GNU ld... " >&6; }
12123 if test "${lt_cv_path_LD+set}" = set; then :
12124 $as_echo_n "(cached) " >&6
12125 else
12126 if test -z "$LD"; then
12127 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12128 for ac_dir in $PATH; do
12129 IFS="$lt_save_ifs"
12130 test -z "$ac_dir" && ac_dir=.
12131 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12132 lt_cv_path_LD="$ac_dir/$ac_prog"
12133 # Check to see if the program is GNU ld. I'd rather use --version,
12134 # but apparently some variants of GNU ld only accept -v.
12135 # Break only if it was the GNU/non-GNU ld that we prefer.
12136 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12137 *GNU* | *'with BFD'*)
12138 test "$with_gnu_ld" != no && break
12141 test "$with_gnu_ld" != yes && break
12143 esac
12145 done
12146 IFS="$lt_save_ifs"
12147 else
12148 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12152 LD="$lt_cv_path_LD"
12153 if test -n "$LD"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12155 $as_echo "$LD" >&6; }
12156 else
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12160 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12162 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12163 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12164 $as_echo_n "(cached) " >&6
12165 else
12166 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12167 case `$LD -v 2>&1 </dev/null` in
12168 *GNU* | *'with BFD'*)
12169 lt_cv_prog_gnu_ld=yes
12172 lt_cv_prog_gnu_ld=no
12174 esac
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12177 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12178 with_gnu_ld=$lt_cv_prog_gnu_ld
12186 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12187 # archiving commands below assume that GNU ld is being used.
12188 if test "$with_gnu_ld" = yes; then
12189 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12190 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'
12192 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12193 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12195 # If archive_cmds runs LD, not CC, wlarc should be empty
12196 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12197 # investigate it a little bit more. (MM)
12198 wlarc='${wl}'
12200 # ancient GNU ld didn't support --whole-archive et. al.
12201 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12202 $GREP 'no-whole-archive' > /dev/null; then
12203 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12204 else
12205 whole_archive_flag_spec_CXX=
12207 else
12208 with_gnu_ld=no
12209 wlarc=
12211 # A generic and very simple default shared library creation
12212 # command for GNU C++ for the case where it uses the native
12213 # linker, instead of GNU ld. If possible, this setting should
12214 # overridden to take advantage of the native linker features on
12215 # the platform it is being used on.
12216 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12219 # Commands to make compiler produce verbose output that lists
12220 # what "hidden" libraries, object files and flags are used when
12221 # linking a shared library.
12222 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12224 else
12225 GXX=no
12226 with_gnu_ld=no
12227 wlarc=
12230 # PORTME: fill in a description of your system's C++ link characteristics
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12232 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12233 ld_shlibs_CXX=yes
12234 case $host_os in
12235 aix3*)
12236 # FIXME: insert proper C++ library support
12237 ld_shlibs_CXX=no
12239 aix[4-9]*)
12240 if test "$host_cpu" = ia64; then
12241 # On IA64, the linker does run time linking by default, so we don't
12242 # have to do anything special.
12243 aix_use_runtimelinking=no
12244 exp_sym_flag='-Bexport'
12245 no_entry_flag=""
12246 else
12247 aix_use_runtimelinking=no
12249 # Test if we are trying to use run time linking or normal
12250 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12251 # need to do runtime linking.
12252 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12253 for ld_flag in $LDFLAGS; do
12254 case $ld_flag in
12255 *-brtl*)
12256 aix_use_runtimelinking=yes
12257 break
12259 esac
12260 done
12262 esac
12264 exp_sym_flag='-bexport'
12265 no_entry_flag='-bnoentry'
12268 # When large executables or shared objects are built, AIX ld can
12269 # have problems creating the table of contents. If linking a library
12270 # or program results in "error TOC overflow" add -mminimal-toc to
12271 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12272 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12274 archive_cmds_CXX=''
12275 hardcode_direct_CXX=yes
12276 hardcode_direct_absolute_CXX=yes
12277 hardcode_libdir_separator_CXX=':'
12278 link_all_deplibs_CXX=yes
12279 file_list_spec_CXX='${wl}-f,'
12281 if test "$GXX" = yes; then
12282 case $host_os in aix4.[012]|aix4.[012].*)
12283 # We only want to do this on AIX 4.2 and lower, the check
12284 # below for broken collect2 doesn't work under 4.3+
12285 collect2name=`${CC} -print-prog-name=collect2`
12286 if test -f "$collect2name" &&
12287 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12288 then
12289 # We have reworked collect2
12291 else
12292 # We have old collect2
12293 hardcode_direct_CXX=unsupported
12294 # It fails to find uninstalled libraries when the uninstalled
12295 # path is not listed in the libpath. Setting hardcode_minus_L
12296 # to unsupported forces relinking
12297 hardcode_minus_L_CXX=yes
12298 hardcode_libdir_flag_spec_CXX='-L$libdir'
12299 hardcode_libdir_separator_CXX=
12301 esac
12302 shared_flag='-shared'
12303 if test "$aix_use_runtimelinking" = yes; then
12304 shared_flag="$shared_flag "'${wl}-G'
12306 else
12307 # not using gcc
12308 if test "$host_cpu" = ia64; then
12309 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12310 # chokes on -Wl,-G. The following line is correct:
12311 shared_flag='-G'
12312 else
12313 if test "$aix_use_runtimelinking" = yes; then
12314 shared_flag='${wl}-G'
12315 else
12316 shared_flag='${wl}-bM:SRE'
12321 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12322 # It seems that -bexpall does not export symbols beginning with
12323 # underscore (_), so it is better to generate a list of symbols to
12324 # export.
12325 always_export_symbols_CXX=yes
12326 if test "$aix_use_runtimelinking" = yes; then
12327 # Warning - without using the other runtime loading flags (-brtl),
12328 # -berok will link without error, but may produce a broken library.
12329 allow_undefined_flag_CXX='-berok'
12330 # Determine the default libpath from the value encoded in an empty
12331 # executable.
12332 if test x$gcc_no_link = xyes; then
12333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12339 main ()
12343 return 0;
12345 _ACEOF
12346 if ac_fn_cxx_try_link "$LINENO"; then :
12348 lt_aix_libpath_sed='
12349 /Import File Strings/,/^$/ {
12350 /^0/ {
12351 s/^0 *\(.*\)$/\1/
12355 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12356 # Check for a 64-bit object if we didn't find anything.
12357 if test -z "$aix_libpath"; then
12358 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12361 rm -f core conftest.err conftest.$ac_objext \
12362 conftest$ac_exeext conftest.$ac_ext
12363 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12365 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12367 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"
12368 else
12369 if test "$host_cpu" = ia64; then
12370 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12371 allow_undefined_flag_CXX="-z nodefs"
12372 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"
12373 else
12374 # Determine the default libpath from the value encoded in an
12375 # empty executable.
12376 if test x$gcc_no_link = xyes; then
12377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12380 /* end confdefs.h. */
12383 main ()
12387 return 0;
12389 _ACEOF
12390 if ac_fn_cxx_try_link "$LINENO"; then :
12392 lt_aix_libpath_sed='
12393 /Import File Strings/,/^$/ {
12394 /^0/ {
12395 s/^0 *\(.*\)$/\1/
12399 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12400 # Check for a 64-bit object if we didn't find anything.
12401 if test -z "$aix_libpath"; then
12402 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12405 rm -f core conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext
12407 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12409 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12410 # Warning - without using the other run time loading flags,
12411 # -berok will link without error, but may produce a broken library.
12412 no_undefined_flag_CXX=' ${wl}-bernotok'
12413 allow_undefined_flag_CXX=' ${wl}-berok'
12414 if test "$with_gnu_ld" = yes; then
12415 # We only use this code for GNU lds that support --whole-archive.
12416 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12417 else
12418 # Exported symbols can be pulled into shared objects from archives
12419 whole_archive_flag_spec_CXX='$convenience'
12421 archive_cmds_need_lc_CXX=yes
12422 # This is similar to how AIX traditionally builds its shared
12423 # libraries.
12424 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'
12429 beos*)
12430 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12431 allow_undefined_flag_CXX=unsupported
12432 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12433 # support --undefined. This deserves some investigation. FIXME
12434 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12435 else
12436 ld_shlibs_CXX=no
12440 chorus*)
12441 case $cc_basename in
12443 # FIXME: insert proper C++ library support
12444 ld_shlibs_CXX=no
12446 esac
12449 cygwin* | mingw* | pw32* | cegcc*)
12450 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12451 # as there is no search path for DLLs.
12452 hardcode_libdir_flag_spec_CXX='-L$libdir'
12453 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12454 allow_undefined_flag_CXX=unsupported
12455 always_export_symbols_CXX=no
12456 enable_shared_with_static_runtimes_CXX=yes
12458 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12459 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'
12460 # If the export-symbols file already is a .def file (1st line
12461 # is EXPORTS), use it as is; otherwise, prepend...
12462 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12463 cp $export_symbols $output_objdir/$soname.def;
12464 else
12465 echo EXPORTS > $output_objdir/$soname.def;
12466 cat $export_symbols >> $output_objdir/$soname.def;
12468 $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'
12469 else
12470 ld_shlibs_CXX=no
12473 darwin* | rhapsody*)
12476 archive_cmds_need_lc_CXX=no
12477 hardcode_direct_CXX=no
12478 hardcode_automatic_CXX=yes
12479 hardcode_shlibpath_var_CXX=unsupported
12480 if test "$lt_cv_ld_force_load" = "yes"; then
12481 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\"`'
12482 else
12483 whole_archive_flag_spec_CXX=''
12485 link_all_deplibs_CXX=yes
12486 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12487 case $cc_basename in
12488 ifort*) _lt_dar_can_shared=yes ;;
12489 *) _lt_dar_can_shared=$GCC ;;
12490 esac
12491 if test "$_lt_dar_can_shared" = "yes"; then
12492 output_verbose_link_cmd=func_echo_all
12493 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}"
12494 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12495 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}"
12496 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}"
12497 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12498 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}"
12499 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}"
12502 else
12503 ld_shlibs_CXX=no
12508 dgux*)
12509 case $cc_basename in
12510 ec++*)
12511 # FIXME: insert proper C++ library support
12512 ld_shlibs_CXX=no
12514 ghcx*)
12515 # Green Hills C++ Compiler
12516 # FIXME: insert proper C++ library support
12517 ld_shlibs_CXX=no
12520 # FIXME: insert proper C++ library support
12521 ld_shlibs_CXX=no
12523 esac
12526 freebsd[12]*)
12527 # C++ shared libraries reported to be fairly broken before
12528 # switch to ELF
12529 ld_shlibs_CXX=no
12532 freebsd-elf*)
12533 archive_cmds_need_lc_CXX=no
12536 freebsd* | dragonfly*)
12537 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12538 # conventions
12539 ld_shlibs_CXX=yes
12542 gnu*)
12545 haiku*)
12546 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 link_all_deplibs_CXX=yes
12550 hpux9*)
12551 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12552 hardcode_libdir_separator_CXX=:
12553 export_dynamic_flag_spec_CXX='${wl}-E'
12554 hardcode_direct_CXX=yes
12555 hardcode_minus_L_CXX=yes # Not in the search PATH,
12556 # but as the default
12557 # location of the library.
12559 case $cc_basename in
12560 CC*)
12561 # FIXME: insert proper C++ library support
12562 ld_shlibs_CXX=no
12564 aCC*)
12565 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'
12566 # Commands to make compiler produce verbose output that lists
12567 # what "hidden" libraries, object files and flags are used when
12568 # linking a shared library.
12570 # There doesn't appear to be a way to prevent this compiler from
12571 # explicitly linking system object files so we need to strip them
12572 # from the output so that they don't get included in the library
12573 # dependencies.
12574 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"'
12577 if test "$GXX" = yes; then
12578 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'
12579 else
12580 # FIXME: insert proper C++ library support
12581 ld_shlibs_CXX=no
12584 esac
12587 hpux10*|hpux11*)
12588 if test $with_gnu_ld = no; then
12589 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12590 hardcode_libdir_separator_CXX=:
12592 case $host_cpu in
12593 hppa*64*|ia64*)
12596 export_dynamic_flag_spec_CXX='${wl}-E'
12598 esac
12600 case $host_cpu in
12601 hppa*64*|ia64*)
12602 hardcode_direct_CXX=no
12603 hardcode_shlibpath_var_CXX=no
12606 hardcode_direct_CXX=yes
12607 hardcode_direct_absolute_CXX=yes
12608 hardcode_minus_L_CXX=yes # Not in the search PATH,
12609 # but as the default
12610 # location of the library.
12612 esac
12614 case $cc_basename in
12615 CC*)
12616 # FIXME: insert proper C++ library support
12617 ld_shlibs_CXX=no
12619 aCC*)
12620 case $host_cpu in
12621 hppa*64*)
12622 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12624 ia64*)
12625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12628 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12630 esac
12631 # Commands to make compiler produce verbose output that lists
12632 # what "hidden" libraries, object files and flags are used when
12633 # linking a shared library.
12635 # There doesn't appear to be a way to prevent this compiler from
12636 # explicitly linking system object files so we need to strip them
12637 # from the output so that they don't get included in the library
12638 # dependencies.
12639 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"'
12642 if test "$GXX" = yes; then
12643 if test $with_gnu_ld = no; then
12644 case $host_cpu in
12645 hppa*64*)
12646 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12648 ia64*)
12649 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652 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'
12654 esac
12656 else
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12661 esac
12664 interix[3-9]*)
12665 hardcode_direct_CXX=no
12666 hardcode_shlibpath_var_CXX=no
12667 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12668 export_dynamic_flag_spec_CXX='${wl}-E'
12669 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12670 # Instead, shared libraries are loaded at an image base (0x10000000 by
12671 # default) and relocated if they conflict, which is a slow very memory
12672 # consuming and fragmenting process. To avoid this, we pick a random,
12673 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12674 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12675 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'
12676 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'
12678 irix5* | irix6*)
12679 case $cc_basename in
12680 CC*)
12681 # SGI C++
12682 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'
12684 # Archives containing C++ object files must be created using
12685 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12686 # necessary to make sure instantiated templates are included
12687 # in the archive.
12688 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12691 if test "$GXX" = yes; then
12692 if test "$with_gnu_ld" = no; then
12693 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'
12694 else
12695 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'
12698 link_all_deplibs_CXX=yes
12700 esac
12701 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12702 hardcode_libdir_separator_CXX=:
12703 inherit_rpath_CXX=yes
12706 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12707 case $cc_basename in
12708 KCC*)
12709 # Kuck and Associates, Inc. (KAI) C++ Compiler
12711 # KCC will only create a shared library if the output file
12712 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12713 # to its proper name (with version) after linking.
12714 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'
12715 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'
12716 # Commands to make compiler produce verbose output that lists
12717 # what "hidden" libraries, object files and flags are used when
12718 # linking a shared library.
12720 # There doesn't appear to be a way to prevent this compiler from
12721 # explicitly linking system object files so we need to strip them
12722 # from the output so that they don't get included in the library
12723 # dependencies.
12724 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"'
12726 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12727 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12729 # Archives containing C++ object files must be created using
12730 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12731 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12733 icpc* | ecpc* )
12734 # Intel C++
12735 with_gnu_ld=yes
12736 # version 8.0 and above of icpc choke on multiply defined symbols
12737 # if we add $predep_objects and $postdep_objects, however 7.1 and
12738 # earlier do not add the objects themselves.
12739 case `$CC -V 2>&1` in
12740 *"Version 7."*)
12741 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12742 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'
12744 *) # Version 8.0 or newer
12745 tmp_idyn=
12746 case $host_cpu in
12747 ia64*) tmp_idyn=' -i_dynamic';;
12748 esac
12749 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12750 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'
12752 esac
12753 archive_cmds_need_lc_CXX=no
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12758 pgCC* | pgcpp*)
12759 # Portland Group C++ compiler
12760 case `$CC -V` in
12761 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12762 prelink_cmds_CXX='tpldir=Template.dir~
12763 rm -rf $tpldir~
12764 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12765 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12766 old_archive_cmds_CXX='tpldir=Template.dir~
12767 rm -rf $tpldir~
12768 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12769 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12770 $RANLIB $oldlib'
12771 archive_cmds_CXX='tpldir=Template.dir~
12772 rm -rf $tpldir~
12773 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12774 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12775 archive_expsym_cmds_CXX='tpldir=Template.dir~
12776 rm -rf $tpldir~
12777 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12778 $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'
12780 *) # Version 6 and above use weak symbols
12781 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12782 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'
12784 esac
12786 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12787 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12788 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'
12790 cxx*)
12791 # Compaq C++
12792 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12793 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'
12795 runpath_var=LD_RUN_PATH
12796 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12797 hardcode_libdir_separator_CXX=:
12799 # Commands to make compiler produce verbose output that lists
12800 # what "hidden" libraries, object files and flags are used when
12801 # linking a shared library.
12803 # There doesn't appear to be a way to prevent this compiler from
12804 # explicitly linking system object files so we need to strip them
12805 # from the output so that they don't get included in the library
12806 # dependencies.
12807 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'
12809 xl* | mpixl* | bgxl*)
12810 # IBM XL 8.0 on PPC, with GNU ld
12811 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12812 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12813 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12814 if test "x$supports_anon_versioning" = xyes; then
12815 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12816 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12817 echo "local: *; };" >> $output_objdir/$libname.ver~
12818 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12822 case `$CC -V 2>&1 | sed 5q` in
12823 *Sun\ C*)
12824 # Sun C++ 5.9
12825 no_undefined_flag_CXX=' -zdefs'
12826 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12827 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'
12828 hardcode_libdir_flag_spec_CXX='-R$libdir'
12829 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'
12830 compiler_needs_object_CXX=yes
12832 # Not sure whether something based on
12833 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12834 # would be better.
12835 output_verbose_link_cmd='func_echo_all'
12837 # Archives containing C++ object files must be created using
12838 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12839 # necessary to make sure instantiated templates are included
12840 # in the archive.
12841 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12843 esac
12845 esac
12848 lynxos*)
12849 # FIXME: insert proper C++ library support
12850 ld_shlibs_CXX=no
12853 m88k*)
12854 # FIXME: insert proper C++ library support
12855 ld_shlibs_CXX=no
12858 mvs*)
12859 case $cc_basename in
12860 cxx*)
12861 # FIXME: insert proper C++ library support
12862 ld_shlibs_CXX=no
12865 # FIXME: insert proper C++ library support
12866 ld_shlibs_CXX=no
12868 esac
12871 netbsd*)
12872 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12873 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12874 wlarc=
12875 hardcode_libdir_flag_spec_CXX='-R$libdir'
12876 hardcode_direct_CXX=yes
12877 hardcode_shlibpath_var_CXX=no
12879 # Workaround some broken pre-1.5 toolchains
12880 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12883 *nto* | *qnx*)
12884 ld_shlibs_CXX=yes
12887 openbsd2*)
12888 # C++ shared libraries are fairly broken
12889 ld_shlibs_CXX=no
12892 openbsd*)
12893 if test -f /usr/libexec/ld.so; then
12894 hardcode_direct_CXX=yes
12895 hardcode_shlibpath_var_CXX=no
12896 hardcode_direct_absolute_CXX=yes
12897 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12898 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12899 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12900 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12901 export_dynamic_flag_spec_CXX='${wl}-E'
12902 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12904 output_verbose_link_cmd=func_echo_all
12905 else
12906 ld_shlibs_CXX=no
12910 osf3* | osf4* | osf5*)
12911 case $cc_basename in
12912 KCC*)
12913 # Kuck and Associates, Inc. (KAI) C++ Compiler
12915 # KCC will only create a shared library if the output file
12916 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12917 # to its proper name (with version) after linking.
12918 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'
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12921 hardcode_libdir_separator_CXX=:
12923 # Archives containing C++ object files must be created using
12924 # the KAI C++ compiler.
12925 case $host in
12926 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12927 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12928 esac
12930 RCC*)
12931 # Rational C++ 2.4.1
12932 # FIXME: insert proper C++ library support
12933 ld_shlibs_CXX=no
12935 cxx*)
12936 case $host in
12937 osf3*)
12938 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12939 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'
12940 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12943 allow_undefined_flag_CXX=' -expect_unresolved \*'
12944 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'
12945 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12946 echo "-hidden">> $lib.exp~
12947 $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~
12948 $RM $lib.exp'
12949 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12951 esac
12953 hardcode_libdir_separator_CXX=:
12955 # Commands to make compiler produce verbose output that lists
12956 # what "hidden" libraries, object files and flags are used when
12957 # linking a shared library.
12959 # There doesn't appear to be a way to prevent this compiler from
12960 # explicitly linking system object files so we need to strip them
12961 # from the output so that they don't get included in the library
12962 # dependencies.
12963 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"'
12966 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12967 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12968 case $host in
12969 osf3*)
12970 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'
12973 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'
12975 esac
12977 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12978 hardcode_libdir_separator_CXX=:
12980 # Commands to make compiler produce verbose output that lists
12981 # what "hidden" libraries, object files and flags are used when
12982 # linking a shared library.
12983 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12985 else
12986 # FIXME: insert proper C++ library support
12987 ld_shlibs_CXX=no
12990 esac
12993 psos*)
12994 # FIXME: insert proper C++ library support
12995 ld_shlibs_CXX=no
12998 sunos4*)
12999 case $cc_basename in
13000 CC*)
13001 # Sun C++ 4.x
13002 # FIXME: insert proper C++ library support
13003 ld_shlibs_CXX=no
13005 lcc*)
13006 # Lucid
13007 # FIXME: insert proper C++ library support
13008 ld_shlibs_CXX=no
13011 # FIXME: insert proper C++ library support
13012 ld_shlibs_CXX=no
13014 esac
13017 solaris*)
13018 case $cc_basename in
13019 CC*)
13020 # Sun C++ 4.2, 5.x and Centerline C++
13021 archive_cmds_need_lc_CXX=yes
13022 no_undefined_flag_CXX=' -zdefs'
13023 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13024 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13025 $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'
13027 hardcode_libdir_flag_spec_CXX='-R$libdir'
13028 hardcode_shlibpath_var_CXX=no
13029 case $host_os in
13030 solaris2.[0-5] | solaris2.[0-5].*) ;;
13032 # The compiler driver will combine and reorder linker options,
13033 # but understands `-z linker_flag'.
13034 # Supported since Solaris 2.6 (maybe 2.5.1?)
13035 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13037 esac
13038 link_all_deplibs_CXX=yes
13040 output_verbose_link_cmd='func_echo_all'
13042 # Archives containing C++ object files must be created using
13043 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13044 # necessary to make sure instantiated templates are included
13045 # in the archive.
13046 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13048 gcx*)
13049 # Green Hills C++ Compiler
13050 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13052 # The C++ compiler must be used to create the archive.
13053 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13056 # GNU C++ compiler with Solaris linker
13057 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13058 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13059 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13060 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13061 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13062 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13067 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13068 else
13069 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13070 # platform.
13071 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13072 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13073 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13075 # Commands to make compiler produce verbose output that lists
13076 # what "hidden" libraries, object files and flags are used when
13077 # linking a shared library.
13078 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13081 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13082 case $host_os in
13083 solaris2.[0-5] | solaris2.[0-5].*) ;;
13085 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13087 esac
13090 esac
13093 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13094 no_undefined_flag_CXX='${wl}-z,text'
13095 archive_cmds_need_lc_CXX=no
13096 hardcode_shlibpath_var_CXX=no
13097 runpath_var='LD_RUN_PATH'
13099 case $cc_basename in
13100 CC*)
13101 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13102 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108 esac
13111 sysv5* | sco3.2v5* | sco5v6*)
13112 # Note: We can NOT use -z defs as we might desire, because we do not
13113 # link with -lc, and that would cause any symbols used from libc to
13114 # always be unresolved, which means just about no library would
13115 # ever link correctly. If we're not using GNU ld we use -z text
13116 # though, which does catch some bad symbols but isn't as heavy-handed
13117 # as -z defs.
13118 no_undefined_flag_CXX='${wl}-z,text'
13119 allow_undefined_flag_CXX='${wl}-z,nodefs'
13120 archive_cmds_need_lc_CXX=no
13121 hardcode_shlibpath_var_CXX=no
13122 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13123 hardcode_libdir_separator_CXX=':'
13124 link_all_deplibs_CXX=yes
13125 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13126 runpath_var='LD_RUN_PATH'
13128 case $cc_basename in
13129 CC*)
13130 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13133 '"$old_archive_cmds_CXX"
13134 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13135 '"$reload_cmds_CXX"
13138 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13139 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141 esac
13144 tandem*)
13145 case $cc_basename in
13146 NCC*)
13147 # NonStop-UX NCC 3.20
13148 # FIXME: insert proper C++ library support
13149 ld_shlibs_CXX=no
13152 # FIXME: insert proper C++ library support
13153 ld_shlibs_CXX=no
13155 esac
13158 vxworks*)
13159 # FIXME: insert proper C++ library support
13160 ld_shlibs_CXX=no
13164 # FIXME: insert proper C++ library support
13165 ld_shlibs_CXX=no
13167 esac
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13170 $as_echo "$ld_shlibs_CXX" >&6; }
13171 test "$ld_shlibs_CXX" = no && can_build_shared=no
13173 GCC_CXX="$GXX"
13174 LD_CXX="$LD"
13176 ## CAVEAT EMPTOR:
13177 ## There is no encapsulation within the following macros, do not change
13178 ## the running order or otherwise move them around unless you know exactly
13179 ## what you are doing...
13180 # Dependencies to place before and after the object being linked:
13181 predep_objects_CXX=
13182 postdep_objects_CXX=
13183 predeps_CXX=
13184 postdeps_CXX=
13185 compiler_lib_search_path_CXX=
13187 cat > conftest.$ac_ext <<_LT_EOF
13188 class Foo
13190 public:
13191 Foo (void) { a = 0; }
13192 private:
13193 int a;
13195 _LT_EOF
13197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13198 (eval $ac_compile) 2>&5
13199 ac_status=$?
13200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13201 test $ac_status = 0; }; then
13202 # Parse the compiler output and extract the necessary
13203 # objects, libraries and library flags.
13205 # Sentinel used to keep track of whether or not we are before
13206 # the conftest object file.
13207 pre_test_object_deps_done=no
13209 for p in `eval "$output_verbose_link_cmd"`; do
13210 case $p in
13212 -L* | -R* | -l*)
13213 # Some compilers place space between "-{L,R}" and the path.
13214 # Remove the space.
13215 if test $p = "-L" ||
13216 test $p = "-R"; then
13217 prev=$p
13218 continue
13219 else
13220 prev=
13223 if test "$pre_test_object_deps_done" = no; then
13224 case $p in
13225 -L* | -R*)
13226 # Internal compiler library paths should come after those
13227 # provided the user. The postdeps already come after the
13228 # user supplied libs so there is no need to process them.
13229 if test -z "$compiler_lib_search_path_CXX"; then
13230 compiler_lib_search_path_CXX="${prev}${p}"
13231 else
13232 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13235 # The "-l" case would never come before the object being
13236 # linked, so don't bother handling this case.
13237 esac
13238 else
13239 if test -z "$postdeps_CXX"; then
13240 postdeps_CXX="${prev}${p}"
13241 else
13242 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13247 *.$objext)
13248 # This assumes that the test object file only shows up
13249 # once in the compiler output.
13250 if test "$p" = "conftest.$objext"; then
13251 pre_test_object_deps_done=yes
13252 continue
13255 if test "$pre_test_object_deps_done" = no; then
13256 if test -z "$predep_objects_CXX"; then
13257 predep_objects_CXX="$p"
13258 else
13259 predep_objects_CXX="$predep_objects_CXX $p"
13261 else
13262 if test -z "$postdep_objects_CXX"; then
13263 postdep_objects_CXX="$p"
13264 else
13265 postdep_objects_CXX="$postdep_objects_CXX $p"
13270 *) ;; # Ignore the rest.
13272 esac
13273 done
13275 # Clean up.
13276 rm -f a.out a.exe
13277 else
13278 echo "libtool.m4: error: problem compiling CXX test program"
13281 $RM -f confest.$objext
13283 # PORTME: override above test on systems where it is broken
13284 case $host_os in
13285 interix[3-9]*)
13286 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13287 # hack all around it, let's just trust "g++" to DTRT.
13288 predep_objects_CXX=
13289 postdep_objects_CXX=
13290 postdeps_CXX=
13293 linux*)
13294 case `$CC -V 2>&1 | sed 5q` in
13295 *Sun\ C*)
13296 # Sun C++ 5.9
13298 # The more standards-conforming stlport4 library is
13299 # incompatible with the Cstd library. Avoid specifying
13300 # it if it's in CXXFLAGS. Ignore libCrun as
13301 # -library=stlport4 depends on it.
13302 case " $CXX $CXXFLAGS " in
13303 *" -library=stlport4 "*)
13304 solaris_use_stlport4=yes
13306 esac
13308 if test "$solaris_use_stlport4" != yes; then
13309 postdeps_CXX='-library=Cstd -library=Crun'
13312 esac
13315 solaris*)
13316 case $cc_basename in
13317 CC*)
13318 # The more standards-conforming stlport4 library is
13319 # incompatible with the Cstd library. Avoid specifying
13320 # it if it's in CXXFLAGS. Ignore libCrun as
13321 # -library=stlport4 depends on it.
13322 case " $CXX $CXXFLAGS " in
13323 *" -library=stlport4 "*)
13324 solaris_use_stlport4=yes
13326 esac
13328 # Adding this requires a known-good setup of shared libraries for
13329 # Sun compiler versions before 5.6, else PIC objects from an old
13330 # archive will be linked into the output, leading to subtle bugs.
13331 if test "$solaris_use_stlport4" != yes; then
13332 postdeps_CXX='-library=Cstd -library=Crun'
13335 esac
13337 esac
13340 case " $postdeps_CXX " in
13341 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13342 esac
13343 compiler_lib_search_dirs_CXX=
13344 if test -n "${compiler_lib_search_path_CXX}"; then
13345 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13378 lt_prog_compiler_wl_CXX=
13379 lt_prog_compiler_pic_CXX=
13380 lt_prog_compiler_static_CXX=
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13383 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13385 # C++ specific cases for pic, static, wl, etc.
13386 if test "$GXX" = yes; then
13387 lt_prog_compiler_wl_CXX='-Wl,'
13388 lt_prog_compiler_static_CXX='-static'
13390 case $host_os in
13391 aix*)
13392 # All AIX code is PIC.
13393 if test "$host_cpu" = ia64; then
13394 # AIX 5 now supports IA64 processor
13395 lt_prog_compiler_static_CXX='-Bstatic'
13399 amigaos*)
13400 case $host_cpu in
13401 powerpc)
13402 # see comment about AmigaOS4 .so support
13403 lt_prog_compiler_pic_CXX='-fPIC'
13405 m68k)
13406 # FIXME: we need at least 68020 code to build shared libraries, but
13407 # adding the `-m68020' flag to GCC prevents building anything better,
13408 # like `-m68040'.
13409 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13411 esac
13414 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13415 # PIC is the default for these OSes.
13417 mingw* | cygwin* | os2* | pw32* | cegcc*)
13418 # This hack is so that the source file can tell whether it is being
13419 # built for inclusion in a dll (and should export symbols for example).
13420 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13421 # (--disable-auto-import) libraries
13422 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13424 darwin* | rhapsody*)
13425 # PIC is the default on this platform
13426 # Common symbols not allowed in MH_DYLIB files
13427 lt_prog_compiler_pic_CXX='-fno-common'
13429 *djgpp*)
13430 # DJGPP does not support shared libraries at all
13431 lt_prog_compiler_pic_CXX=
13433 haiku*)
13434 # PIC is the default for Haiku.
13435 # The "-static" flag exists, but is broken.
13436 lt_prog_compiler_static_CXX=
13438 interix[3-9]*)
13439 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13440 # Instead, we relocate shared libraries at runtime.
13442 sysv4*MP*)
13443 if test -d /usr/nec; then
13444 lt_prog_compiler_pic_CXX=-Kconform_pic
13447 hpux*)
13448 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13449 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13450 # sets the default TLS model and affects inlining.
13451 case $host_cpu in
13452 hppa*64*)
13455 lt_prog_compiler_pic_CXX='-fPIC'
13457 esac
13459 *qnx* | *nto*)
13460 # QNX uses GNU C++, but need to define -shared option too, otherwise
13461 # it will coredump.
13462 lt_prog_compiler_pic_CXX='-fPIC -shared'
13465 lt_prog_compiler_pic_CXX='-fPIC'
13467 esac
13468 else
13469 case $host_os in
13470 aix[4-9]*)
13471 # All AIX code is PIC.
13472 if test "$host_cpu" = ia64; then
13473 # AIX 5 now supports IA64 processor
13474 lt_prog_compiler_static_CXX='-Bstatic'
13475 else
13476 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13479 chorus*)
13480 case $cc_basename in
13481 cxch68*)
13482 # Green Hills C++ Compiler
13483 # _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"
13485 esac
13487 dgux*)
13488 case $cc_basename in
13489 ec++*)
13490 lt_prog_compiler_pic_CXX='-KPIC'
13492 ghcx*)
13493 # Green Hills C++ Compiler
13494 lt_prog_compiler_pic_CXX='-pic'
13498 esac
13500 freebsd* | dragonfly*)
13501 # FreeBSD uses GNU C++
13503 hpux9* | hpux10* | hpux11*)
13504 case $cc_basename in
13505 CC*)
13506 lt_prog_compiler_wl_CXX='-Wl,'
13507 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13508 if test "$host_cpu" != ia64; then
13509 lt_prog_compiler_pic_CXX='+Z'
13512 aCC*)
13513 lt_prog_compiler_wl_CXX='-Wl,'
13514 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13515 case $host_cpu in
13516 hppa*64*|ia64*)
13517 # +Z the default
13520 lt_prog_compiler_pic_CXX='+Z'
13522 esac
13526 esac
13528 interix*)
13529 # This is c89, which is MS Visual C++ (no shared libs)
13530 # Anyone wants to do a port?
13532 irix5* | irix6* | nonstopux*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='-non_shared'
13537 # CC pic flag -KPIC is the default.
13541 esac
13543 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13544 case $cc_basename in
13545 KCC*)
13546 # KAI C++ Compiler
13547 lt_prog_compiler_wl_CXX='--backend -Wl,'
13548 lt_prog_compiler_pic_CXX='-fPIC'
13550 ecpc* )
13551 # old Intel C++ for x86_64 which still supported -KPIC.
13552 lt_prog_compiler_wl_CXX='-Wl,'
13553 lt_prog_compiler_pic_CXX='-KPIC'
13554 lt_prog_compiler_static_CXX='-static'
13556 icpc* )
13557 # Intel C++, used to be incompatible with GCC.
13558 # ICC 10 doesn't accept -KPIC any more.
13559 lt_prog_compiler_wl_CXX='-Wl,'
13560 lt_prog_compiler_pic_CXX='-fPIC'
13561 lt_prog_compiler_static_CXX='-static'
13563 pgCC* | pgcpp*)
13564 # Portland Group C++ compiler
13565 lt_prog_compiler_wl_CXX='-Wl,'
13566 lt_prog_compiler_pic_CXX='-fpic'
13567 lt_prog_compiler_static_CXX='-Bstatic'
13569 cxx*)
13570 # Compaq C++
13571 # Make sure the PIC flag is empty. It appears that all Alpha
13572 # Linux and Compaq Tru64 Unix objects are PIC.
13573 lt_prog_compiler_pic_CXX=
13574 lt_prog_compiler_static_CXX='-non_shared'
13576 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13577 # IBM XL 8.0, 9.0 on PPC and BlueGene
13578 lt_prog_compiler_wl_CXX='-Wl,'
13579 lt_prog_compiler_pic_CXX='-qpic'
13580 lt_prog_compiler_static_CXX='-qstaticlink'
13583 case `$CC -V 2>&1 | sed 5q` in
13584 *Sun\ C*)
13585 # Sun C++ 5.9
13586 lt_prog_compiler_pic_CXX='-KPIC'
13587 lt_prog_compiler_static_CXX='-Bstatic'
13588 lt_prog_compiler_wl_CXX='-Qoption ld '
13590 esac
13592 esac
13594 lynxos*)
13596 m88k*)
13598 mvs*)
13599 case $cc_basename in
13600 cxx*)
13601 lt_prog_compiler_pic_CXX='-W c,exportall'
13605 esac
13607 netbsd*)
13609 *qnx* | *nto*)
13610 # QNX uses GNU C++, but need to define -shared option too, otherwise
13611 # it will coredump.
13612 lt_prog_compiler_pic_CXX='-fPIC -shared'
13614 osf3* | osf4* | osf5*)
13615 case $cc_basename in
13616 KCC*)
13617 lt_prog_compiler_wl_CXX='--backend -Wl,'
13619 RCC*)
13620 # Rational C++ 2.4.1
13621 lt_prog_compiler_pic_CXX='-pic'
13623 cxx*)
13624 # Digital/Compaq C++
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 # Make sure the PIC flag is empty. It appears that all Alpha
13627 # Linux and Compaq Tru64 Unix objects are PIC.
13628 lt_prog_compiler_pic_CXX=
13629 lt_prog_compiler_static_CXX='-non_shared'
13633 esac
13635 psos*)
13637 solaris*)
13638 case $cc_basename in
13639 CC*)
13640 # Sun C++ 4.2, 5.x and Centerline C++
13641 lt_prog_compiler_pic_CXX='-KPIC'
13642 lt_prog_compiler_static_CXX='-Bstatic'
13643 lt_prog_compiler_wl_CXX='-Qoption ld '
13645 gcx*)
13646 # Green Hills C++ Compiler
13647 lt_prog_compiler_pic_CXX='-PIC'
13651 esac
13653 sunos4*)
13654 case $cc_basename in
13655 CC*)
13656 # Sun C++ 4.x
13657 lt_prog_compiler_pic_CXX='-pic'
13658 lt_prog_compiler_static_CXX='-Bstatic'
13660 lcc*)
13661 # Lucid
13662 lt_prog_compiler_pic_CXX='-pic'
13666 esac
13668 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13669 case $cc_basename in
13670 CC*)
13671 lt_prog_compiler_wl_CXX='-Wl,'
13672 lt_prog_compiler_pic_CXX='-KPIC'
13673 lt_prog_compiler_static_CXX='-Bstatic'
13675 esac
13677 tandem*)
13678 case $cc_basename in
13679 NCC*)
13680 # NonStop-UX NCC 3.20
13681 lt_prog_compiler_pic_CXX='-KPIC'
13685 esac
13687 vxworks*)
13690 lt_prog_compiler_can_build_shared_CXX=no
13692 esac
13695 case $host_os in
13696 # For platforms which do not support PIC, -DPIC is meaningless:
13697 *djgpp*)
13698 lt_prog_compiler_pic_CXX=
13701 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13703 esac
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13705 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13710 # Check to make sure the PIC flag actually works.
13712 if test -n "$lt_prog_compiler_pic_CXX"; then
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13714 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13715 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 lt_cv_prog_compiler_pic_works_CXX=no
13719 ac_outfile=conftest.$ac_objext
13720 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13721 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13722 # Insert the option either (1) after the last *FLAGS variable, or
13723 # (2) before a word containing "conftest.", or (3) at the end.
13724 # Note that $ac_compile itself does not contain backslashes and begins
13725 # with a dollar sign (not a hyphen), so the echo should work correctly.
13726 # The option is referenced via a variable to avoid confusing sed.
13727 lt_compile=`echo "$ac_compile" | $SED \
13728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13730 -e 's:$: $lt_compiler_flag:'`
13731 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13732 (eval "$lt_compile" 2>conftest.err)
13733 ac_status=$?
13734 cat conftest.err >&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 if (exit $ac_status) && test -s "$ac_outfile"; then
13737 # The compiler can only warn and ignore the option if not recognized
13738 # So say no if there are warnings other than the usual output.
13739 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13740 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13741 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13742 lt_cv_prog_compiler_pic_works_CXX=yes
13745 $RM conftest*
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13749 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13751 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13752 case $lt_prog_compiler_pic_CXX in
13753 "" | " "*) ;;
13754 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13755 esac
13756 else
13757 lt_prog_compiler_pic_CXX=
13758 lt_prog_compiler_can_build_shared_CXX=no
13766 # Check to make sure the static flag actually works.
13768 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13770 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13771 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13772 $as_echo_n "(cached) " >&6
13773 else
13774 lt_cv_prog_compiler_static_works_CXX=no
13775 save_LDFLAGS="$LDFLAGS"
13776 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13777 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13778 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13779 # The linker can only warn and ignore the option if not recognized
13780 # So say no if there are warnings
13781 if test -s conftest.err; then
13782 # Append any errors to the config.log.
13783 cat conftest.err 1>&5
13784 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13785 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13786 if diff conftest.exp conftest.er2 >/dev/null; then
13787 lt_cv_prog_compiler_static_works_CXX=yes
13789 else
13790 lt_cv_prog_compiler_static_works_CXX=yes
13793 $RM -r conftest*
13794 LDFLAGS="$save_LDFLAGS"
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13798 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13800 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13802 else
13803 lt_prog_compiler_static_CXX=
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13811 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13812 $as_echo_n "(cached) " >&6
13813 else
13814 lt_cv_prog_compiler_c_o_CXX=no
13815 $RM -r conftest 2>/dev/null
13816 mkdir conftest
13817 cd conftest
13818 mkdir out
13819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13821 lt_compiler_flag="-o out/conftest2.$ac_objext"
13822 # Insert the option either (1) after the last *FLAGS variable, or
13823 # (2) before a word containing "conftest.", or (3) at the end.
13824 # Note that $ac_compile itself does not contain backslashes and begins
13825 # with a dollar sign (not a hyphen), so the echo should work correctly.
13826 lt_compile=`echo "$ac_compile" | $SED \
13827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13829 -e 's:$: $lt_compiler_flag:'`
13830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13831 (eval "$lt_compile" 2>out/conftest.err)
13832 ac_status=$?
13833 cat out/conftest.err >&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13836 then
13837 # The compiler can only warn and ignore the option if not recognized
13838 # So say no if there are warnings
13839 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13840 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13841 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13842 lt_cv_prog_compiler_c_o_CXX=yes
13845 chmod u+w . 2>&5
13846 $RM conftest*
13847 # SGI C++ compiler will create directory out/ii_files/ for
13848 # template instantiation
13849 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13850 $RM out/* && rmdir out
13851 cd ..
13852 $RM -r conftest
13853 $RM conftest*
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13857 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13862 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13863 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 lt_cv_prog_compiler_c_o_CXX=no
13867 $RM -r conftest 2>/dev/null
13868 mkdir conftest
13869 cd conftest
13870 mkdir out
13871 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13873 lt_compiler_flag="-o out/conftest2.$ac_objext"
13874 # Insert the option either (1) after the last *FLAGS variable, or
13875 # (2) before a word containing "conftest.", or (3) at the end.
13876 # Note that $ac_compile itself does not contain backslashes and begins
13877 # with a dollar sign (not a hyphen), so the echo should work correctly.
13878 lt_compile=`echo "$ac_compile" | $SED \
13879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13881 -e 's:$: $lt_compiler_flag:'`
13882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13883 (eval "$lt_compile" 2>out/conftest.err)
13884 ac_status=$?
13885 cat out/conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13888 then
13889 # The compiler can only warn and ignore the option if not recognized
13890 # So say no if there are warnings
13891 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13892 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13893 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13894 lt_cv_prog_compiler_c_o_CXX=yes
13897 chmod u+w . 2>&5
13898 $RM conftest*
13899 # SGI C++ compiler will create directory out/ii_files/ for
13900 # template instantiation
13901 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13902 $RM out/* && rmdir out
13903 cd ..
13904 $RM -r conftest
13905 $RM conftest*
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13909 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13914 hard_links="nottested"
13915 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13916 # do not overwrite the value of need_locks provided by the user
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13918 $as_echo_n "checking if we can lock with hard links... " >&6; }
13919 hard_links=yes
13920 $RM conftest*
13921 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13922 touch conftest.a
13923 ln conftest.a conftest.b 2>&5 || hard_links=no
13924 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13926 $as_echo "$hard_links" >&6; }
13927 if test "$hard_links" = no; then
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13929 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13930 need_locks=warn
13932 else
13933 need_locks=no
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13939 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13941 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13942 case $host_os in
13943 aix[4-9]*)
13944 # If we're using GNU nm, then we don't want the "-C" option.
13945 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13946 # Also, AIX nm treats weak defined symbols like other global defined
13947 # symbols, whereas GNU nm marks them as "W".
13948 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13949 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'
13950 else
13951 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'
13954 pw32*)
13955 export_symbols_cmds_CXX="$ltdll_cmds"
13957 cygwin* | mingw* | cegcc*)
13958 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'
13961 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13963 esac
13964 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13967 $as_echo "$ld_shlibs_CXX" >&6; }
13968 test "$ld_shlibs_CXX" = no && can_build_shared=no
13970 with_gnu_ld_CXX=$with_gnu_ld
13978 # Do we need to explicitly link libc?
13980 case "x$archive_cmds_need_lc_CXX" in
13981 x|xyes)
13982 # Assume -lc should be added
13983 archive_cmds_need_lc_CXX=yes
13985 if test "$enable_shared" = yes && test "$GCC" = yes; then
13986 case $archive_cmds_CXX in
13987 *'~'*)
13988 # FIXME: we may have to deal with multi-command sequences.
13990 '$CC '*)
13991 # Test whether the compiler implicitly links with -lc since on some
13992 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13993 # to ld, don't add -lc before -lgcc.
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13995 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13996 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13997 $as_echo_n "(cached) " >&6
13998 else
13999 $RM conftest*
14000 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14003 (eval $ac_compile) 2>&5
14004 ac_status=$?
14005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14006 test $ac_status = 0; } 2>conftest.err; then
14007 soname=conftest
14008 lib=conftest
14009 libobjs=conftest.$ac_objext
14010 deplibs=
14011 wl=$lt_prog_compiler_wl_CXX
14012 pic_flag=$lt_prog_compiler_pic_CXX
14013 compiler_flags=-v
14014 linker_flags=-v
14015 verstring=
14016 output_objdir=.
14017 libname=conftest
14018 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14019 allow_undefined_flag_CXX=
14020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14021 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14022 ac_status=$?
14023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14024 test $ac_status = 0; }
14025 then
14026 lt_cv_archive_cmds_need_lc_CXX=no
14027 else
14028 lt_cv_archive_cmds_need_lc_CXX=yes
14030 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14031 else
14032 cat conftest.err 1>&5
14034 $RM conftest*
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14038 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14039 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14041 esac
14044 esac
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14110 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14112 library_names_spec=
14113 libname_spec='lib$name'
14114 soname_spec=
14115 shrext_cmds=".so"
14116 postinstall_cmds=
14117 postuninstall_cmds=
14118 finish_cmds=
14119 finish_eval=
14120 shlibpath_var=
14121 shlibpath_overrides_runpath=unknown
14122 version_type=none
14123 dynamic_linker="$host_os ld.so"
14124 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14125 need_lib_prefix=unknown
14126 hardcode_into_libs=no
14128 # when you set need_version to no, make sure it does not cause -set_version
14129 # flags to be left without arguments
14130 need_version=unknown
14132 case $host_os in
14133 aix3*)
14134 version_type=linux
14135 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14136 shlibpath_var=LIBPATH
14138 # AIX 3 has no versioning support, so we append a major version to the name.
14139 soname_spec='${libname}${release}${shared_ext}$major'
14142 aix[4-9]*)
14143 version_type=linux
14144 need_lib_prefix=no
14145 need_version=no
14146 hardcode_into_libs=yes
14147 if test "$host_cpu" = ia64; then
14148 # AIX 5 supports IA64
14149 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14150 shlibpath_var=LD_LIBRARY_PATH
14151 else
14152 # With GCC up to 2.95.x, collect2 would create an import file
14153 # for dependence libraries. The import file would start with
14154 # the line `#! .'. This would cause the generated library to
14155 # depend on `.', always an invalid library. This was fixed in
14156 # development snapshots of GCC prior to 3.0.
14157 case $host_os in
14158 aix4 | aix4.[01] | aix4.[01].*)
14159 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14160 echo ' yes '
14161 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14163 else
14164 can_build_shared=no
14167 esac
14168 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14169 # soname into executable. Probably we can add versioning support to
14170 # collect2, so additional links can be useful in future.
14171 if test "$aix_use_runtimelinking" = yes; then
14172 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14173 # instead of lib<name>.a to let people know that these are not
14174 # typical AIX shared libraries.
14175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14176 else
14177 # We preserve .a as extension for shared libraries through AIX4.2
14178 # and later when we are not doing run time linking.
14179 library_names_spec='${libname}${release}.a $libname.a'
14180 soname_spec='${libname}${release}${shared_ext}$major'
14182 shlibpath_var=LIBPATH
14186 amigaos*)
14187 case $host_cpu in
14188 powerpc)
14189 # Since July 2007 AmigaOS4 officially supports .so libraries.
14190 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14193 m68k)
14194 library_names_spec='$libname.ixlibrary $libname.a'
14195 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14196 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'
14198 esac
14201 beos*)
14202 library_names_spec='${libname}${shared_ext}'
14203 dynamic_linker="$host_os ld.so"
14204 shlibpath_var=LIBRARY_PATH
14207 bsdi[45]*)
14208 version_type=linux
14209 need_version=no
14210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14211 soname_spec='${libname}${release}${shared_ext}$major'
14212 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14213 shlibpath_var=LD_LIBRARY_PATH
14214 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14215 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14216 # the default ld.so.conf also contains /usr/contrib/lib and
14217 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14218 # libtool to hard-code these into programs
14221 cygwin* | mingw* | pw32* | cegcc*)
14222 version_type=windows
14223 shrext_cmds=".dll"
14224 need_version=no
14225 need_lib_prefix=no
14227 case $GCC,$host_os in
14228 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14229 library_names_spec='$libname.dll.a'
14230 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14231 postinstall_cmds='base_file=`basename \${file}`~
14232 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14233 dldir=$destdir/`dirname \$dlpath`~
14234 test -d \$dldir || mkdir -p \$dldir~
14235 $install_prog $dir/$dlname \$dldir/$dlname~
14236 chmod a+x \$dldir/$dlname~
14237 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14238 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14240 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14241 dlpath=$dir/\$dldll~
14242 $RM \$dlpath'
14243 shlibpath_overrides_runpath=yes
14245 case $host_os in
14246 cygwin*)
14247 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14248 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14251 mingw* | cegcc*)
14252 # MinGW DLLs use traditional 'lib' prefix
14253 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14255 pw32*)
14256 # pw32 DLLs use 'pw' prefix rather than 'lib'
14257 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14259 esac
14263 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14265 esac
14266 dynamic_linker='Win32 ld.exe'
14267 # FIXME: first we should search . and the directory the executable is in
14268 shlibpath_var=PATH
14271 darwin* | rhapsody*)
14272 dynamic_linker="$host_os dyld"
14273 version_type=darwin
14274 need_lib_prefix=no
14275 need_version=no
14276 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14277 soname_spec='${libname}${release}${major}$shared_ext'
14278 shlibpath_overrides_runpath=yes
14279 shlibpath_var=DYLD_LIBRARY_PATH
14280 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14282 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14285 dgux*)
14286 version_type=linux
14287 need_lib_prefix=no
14288 need_version=no
14289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 shlibpath_var=LD_LIBRARY_PATH
14294 freebsd* | dragonfly*)
14295 # DragonFly does not have aout. When/if they implement a new
14296 # versioning mechanism, adjust this.
14297 if test -x /usr/bin/objformat; then
14298 objformat=`/usr/bin/objformat`
14299 else
14300 case $host_os in
14301 freebsd[123]*) objformat=aout ;;
14302 *) objformat=elf ;;
14303 esac
14305 version_type=freebsd-$objformat
14306 case $version_type in
14307 freebsd-elf*)
14308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14309 need_version=no
14310 need_lib_prefix=no
14312 freebsd-*)
14313 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14314 need_version=yes
14316 esac
14317 shlibpath_var=LD_LIBRARY_PATH
14318 case $host_os in
14319 freebsd2*)
14320 shlibpath_overrides_runpath=yes
14322 freebsd3.[01]* | freebsdelf3.[01]*)
14323 shlibpath_overrides_runpath=yes
14324 hardcode_into_libs=yes
14326 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14327 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14328 shlibpath_overrides_runpath=no
14329 hardcode_into_libs=yes
14331 *) # from 4.6 on, and DragonFly
14332 shlibpath_overrides_runpath=yes
14333 hardcode_into_libs=yes
14335 esac
14338 gnu*)
14339 version_type=linux
14340 need_lib_prefix=no
14341 need_version=no
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14343 soname_spec='${libname}${release}${shared_ext}$major'
14344 shlibpath_var=LD_LIBRARY_PATH
14345 hardcode_into_libs=yes
14348 haiku*)
14349 version_type=linux
14350 need_lib_prefix=no
14351 need_version=no
14352 dynamic_linker="$host_os runtime_loader"
14353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14354 soname_spec='${libname}${release}${shared_ext}$major'
14355 shlibpath_var=LIBRARY_PATH
14356 shlibpath_overrides_runpath=yes
14357 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14358 hardcode_into_libs=yes
14361 hpux9* | hpux10* | hpux11*)
14362 # Give a soname corresponding to the major version so that dld.sl refuses to
14363 # link against other versions.
14364 version_type=sunos
14365 need_lib_prefix=no
14366 need_version=no
14367 case $host_cpu in
14368 ia64*)
14369 shrext_cmds='.so'
14370 hardcode_into_libs=yes
14371 dynamic_linker="$host_os dld.so"
14372 shlibpath_var=LD_LIBRARY_PATH
14373 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14375 soname_spec='${libname}${release}${shared_ext}$major'
14376 if test "X$HPUX_IA64_MODE" = X32; then
14377 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14378 else
14379 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14381 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14383 hppa*64*)
14384 shrext_cmds='.sl'
14385 hardcode_into_libs=yes
14386 dynamic_linker="$host_os dld.sl"
14387 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14388 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14390 soname_spec='${libname}${release}${shared_ext}$major'
14391 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14392 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14395 shrext_cmds='.sl'
14396 dynamic_linker="$host_os dld.sl"
14397 shlibpath_var=SHLIB_PATH
14398 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14402 esac
14403 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14404 postinstall_cmds='chmod 555 $lib'
14405 # or fails outright, so override atomically:
14406 install_override_mode=555
14409 interix[3-9]*)
14410 version_type=linux
14411 need_lib_prefix=no
14412 need_version=no
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14414 soname_spec='${libname}${release}${shared_ext}$major'
14415 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14416 shlibpath_var=LD_LIBRARY_PATH
14417 shlibpath_overrides_runpath=no
14418 hardcode_into_libs=yes
14421 irix5* | irix6* | nonstopux*)
14422 case $host_os in
14423 nonstopux*) version_type=nonstopux ;;
14425 if test "$lt_cv_prog_gnu_ld" = yes; then
14426 version_type=linux
14427 else
14428 version_type=irix
14429 fi ;;
14430 esac
14431 need_lib_prefix=no
14432 need_version=no
14433 soname_spec='${libname}${release}${shared_ext}$major'
14434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14435 case $host_os in
14436 irix5* | nonstopux*)
14437 libsuff= shlibsuff=
14440 case $LD in # libtool.m4 will add one of these switches to LD
14441 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14442 libsuff= shlibsuff= libmagic=32-bit;;
14443 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14444 libsuff=32 shlibsuff=N32 libmagic=N32;;
14445 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14446 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14447 *) libsuff= shlibsuff= libmagic=never-match;;
14448 esac
14450 esac
14451 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14452 shlibpath_overrides_runpath=no
14453 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14454 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14455 hardcode_into_libs=yes
14458 # No shared lib support for Linux oldld, aout, or coff.
14459 linux*oldld* | linux*aout* | linux*coff*)
14460 dynamic_linker=no
14463 # This must be Linux ELF.
14464 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14465 version_type=linux
14466 need_lib_prefix=no
14467 need_version=no
14468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14471 shlibpath_var=LD_LIBRARY_PATH
14472 shlibpath_overrides_runpath=no
14474 # Some binutils ld are patched to set DT_RUNPATH
14475 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 lt_cv_shlibpath_overrides_runpath=no
14479 save_LDFLAGS=$LDFLAGS
14480 save_libdir=$libdir
14481 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14482 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14483 if test x$gcc_no_link = xyes; then
14484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14490 main ()
14494 return 0;
14496 _ACEOF
14497 if ac_fn_cxx_try_link "$LINENO"; then :
14498 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14499 lt_cv_shlibpath_overrides_runpath=yes
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14504 LDFLAGS=$save_LDFLAGS
14505 libdir=$save_libdir
14509 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14511 # This implies no fast_install, which is unacceptable.
14512 # Some rework will be needed to allow for fast_install
14513 # before this can be enabled.
14514 hardcode_into_libs=yes
14516 # Append ld.so.conf contents to the search path
14517 if test -f /etc/ld.so.conf; then
14518 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' ' '`
14519 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14522 # We used to test for /lib/ld.so.1 and disable shared libraries on
14523 # powerpc, because MkLinux only supported shared libraries with the
14524 # GNU dynamic linker. Since this was broken with cross compilers,
14525 # most powerpc-linux boxes support dynamic linking these days and
14526 # people can always --disable-shared, the test was removed, and we
14527 # assume the GNU/Linux dynamic linker is in use.
14528 dynamic_linker='GNU/Linux ld.so'
14531 netbsd*)
14532 version_type=sunos
14533 need_lib_prefix=no
14534 need_version=no
14535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14538 dynamic_linker='NetBSD (a.out) ld.so'
14539 else
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14541 soname_spec='${libname}${release}${shared_ext}$major'
14542 dynamic_linker='NetBSD ld.elf_so'
14544 shlibpath_var=LD_LIBRARY_PATH
14545 shlibpath_overrides_runpath=yes
14546 hardcode_into_libs=yes
14549 newsos6)
14550 version_type=linux
14551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14552 shlibpath_var=LD_LIBRARY_PATH
14553 shlibpath_overrides_runpath=yes
14556 *nto* | *qnx*)
14557 version_type=qnx
14558 need_lib_prefix=no
14559 need_version=no
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 soname_spec='${libname}${release}${shared_ext}$major'
14562 shlibpath_var=LD_LIBRARY_PATH
14563 shlibpath_overrides_runpath=no
14564 hardcode_into_libs=yes
14565 dynamic_linker='ldqnx.so'
14568 openbsd*)
14569 version_type=sunos
14570 sys_lib_dlsearch_path_spec="/usr/lib"
14571 need_lib_prefix=no
14572 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14573 case $host_os in
14574 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14575 *) need_version=no ;;
14576 esac
14577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14578 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14579 shlibpath_var=LD_LIBRARY_PATH
14580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14581 case $host_os in
14582 openbsd2.[89] | openbsd2.[89].*)
14583 shlibpath_overrides_runpath=no
14586 shlibpath_overrides_runpath=yes
14588 esac
14589 else
14590 shlibpath_overrides_runpath=yes
14594 os2*)
14595 libname_spec='$name'
14596 shrext_cmds=".dll"
14597 need_lib_prefix=no
14598 library_names_spec='$libname${shared_ext} $libname.a'
14599 dynamic_linker='OS/2 ld.exe'
14600 shlibpath_var=LIBPATH
14603 osf3* | osf4* | osf5*)
14604 version_type=osf
14605 need_lib_prefix=no
14606 need_version=no
14607 soname_spec='${libname}${release}${shared_ext}$major'
14608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14609 shlibpath_var=LD_LIBRARY_PATH
14610 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14611 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14614 rdos*)
14615 dynamic_linker=no
14618 solaris*)
14619 version_type=linux
14620 need_lib_prefix=no
14621 need_version=no
14622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14623 soname_spec='${libname}${release}${shared_ext}$major'
14624 shlibpath_var=LD_LIBRARY_PATH
14625 shlibpath_overrides_runpath=yes
14626 hardcode_into_libs=yes
14627 # ldd complains unless libraries are executable
14628 postinstall_cmds='chmod +x $lib'
14631 sunos4*)
14632 version_type=sunos
14633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14634 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14635 shlibpath_var=LD_LIBRARY_PATH
14636 shlibpath_overrides_runpath=yes
14637 if test "$with_gnu_ld" = yes; then
14638 need_lib_prefix=no
14640 need_version=yes
14643 sysv4 | sysv4.3*)
14644 version_type=linux
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646 soname_spec='${libname}${release}${shared_ext}$major'
14647 shlibpath_var=LD_LIBRARY_PATH
14648 case $host_vendor in
14649 sni)
14650 shlibpath_overrides_runpath=no
14651 need_lib_prefix=no
14652 runpath_var=LD_RUN_PATH
14654 siemens)
14655 need_lib_prefix=no
14657 motorola)
14658 need_lib_prefix=no
14659 need_version=no
14660 shlibpath_overrides_runpath=no
14661 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14663 esac
14666 sysv4*MP*)
14667 if test -d /usr/nec ;then
14668 version_type=linux
14669 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14670 soname_spec='$libname${shared_ext}.$major'
14671 shlibpath_var=LD_LIBRARY_PATH
14675 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14676 version_type=freebsd-elf
14677 need_lib_prefix=no
14678 need_version=no
14679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14680 soname_spec='${libname}${release}${shared_ext}$major'
14681 shlibpath_var=LD_LIBRARY_PATH
14682 shlibpath_overrides_runpath=yes
14683 hardcode_into_libs=yes
14684 if test "$with_gnu_ld" = yes; then
14685 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14686 else
14687 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14688 case $host_os in
14689 sco3.2v5*)
14690 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14692 esac
14694 sys_lib_dlsearch_path_spec='/usr/lib'
14697 tpf*)
14698 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14699 version_type=linux
14700 need_lib_prefix=no
14701 need_version=no
14702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14703 shlibpath_var=LD_LIBRARY_PATH
14704 shlibpath_overrides_runpath=no
14705 hardcode_into_libs=yes
14708 uts4*)
14709 version_type=linux
14710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14711 soname_spec='${libname}${release}${shared_ext}$major'
14712 shlibpath_var=LD_LIBRARY_PATH
14716 dynamic_linker=no
14718 esac
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14720 $as_echo "$dynamic_linker" >&6; }
14721 test "$dynamic_linker" = no && can_build_shared=no
14723 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14724 if test "$GCC" = yes; then
14725 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14728 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14729 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14731 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14732 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14773 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14774 hardcode_action_CXX=
14775 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14776 test -n "$runpath_var_CXX" ||
14777 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14779 # We can hardcode non-existent directories.
14780 if test "$hardcode_direct_CXX" != no &&
14781 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14782 # have to relink, otherwise we might link with an installed library
14783 # when we should be linking with a yet-to-be-installed one
14784 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14785 test "$hardcode_minus_L_CXX" != no; then
14786 # Linking always hardcodes the temporary library directory.
14787 hardcode_action_CXX=relink
14788 else
14789 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14790 hardcode_action_CXX=immediate
14792 else
14793 # We cannot hardcode anything, or else we can only hardcode existing
14794 # directories.
14795 hardcode_action_CXX=unsupported
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14798 $as_echo "$hardcode_action_CXX" >&6; }
14800 if test "$hardcode_action_CXX" = relink ||
14801 test "$inherit_rpath_CXX" = yes; then
14802 # Fast installation is not supported
14803 enable_fast_install=no
14804 elif test "$shlibpath_overrides_runpath" = yes ||
14805 test "$enable_shared" = no; then
14806 # Fast installation is not necessary
14807 enable_fast_install=needless
14816 fi # test -n "$compiler"
14818 CC=$lt_save_CC
14819 LDCXX=$LD
14820 LD=$lt_save_LD
14821 GCC=$lt_save_GCC
14822 with_gnu_ld=$lt_save_with_gnu_ld
14823 lt_cv_path_LDCXX=$lt_cv_path_LD
14824 lt_cv_path_LD=$lt_save_path_LD
14825 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14826 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14827 fi # test "$_lt_caught_CXX_error" != yes
14829 ac_ext=c
14830 ac_cpp='$CPP $CPPFLAGS'
14831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14847 ac_config_commands="$ac_config_commands libtool"
14852 # Only expand once:
14858 case $host in
14859 *-cygwin* | *-mingw*)
14860 # 'host' will be top-level target in the case of a target lib,
14861 # we must compare to with_cross_host to decide if this is a native
14862 # or cross-compiler and select where to install dlls appropriately.
14863 if test -n "$with_cross_host" &&
14864 test x"$with_cross_host" != x"no"; then
14865 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14866 else
14867 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14871 lt_host_flags=
14873 esac
14880 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14881 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14883 # Possibly disable most of the library.
14884 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14885 ## than just ignoring the results. Faster /and/ more correct, win win.
14887 # Check whether --enable-hosted-libstdcxx was given.
14888 if test "${enable_hosted_libstdcxx+set}" = set; then :
14889 enableval=$enable_hosted_libstdcxx;
14890 else
14891 case "$host" in
14892 arm*-*-symbianelf*)
14893 enable_hosted_libstdcxx=no
14896 enable_hosted_libstdcxx=yes
14898 esac
14901 if test "$enable_hosted_libstdcxx" = no; then
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14903 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14904 is_hosted=no
14905 hosted_define=0
14906 enable_abi_check=no
14907 enable_libstdcxx_pch=no
14908 else
14909 is_hosted=yes
14910 hosted_define=1
14914 cat >>confdefs.h <<_ACEOF
14915 #define _GLIBCXX_HOSTED $hosted_define
14916 _ACEOF
14920 # Enable compiler support that doesn't require linking.
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14923 $as_echo_n "checking for exception model to use... " >&6; }
14925 ac_ext=cpp
14926 ac_cpp='$CXXCPP $CPPFLAGS'
14927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14931 # Check whether --enable-sjlj-exceptions was given.
14932 if test "${enable_sjlj_exceptions+set}" = set; then :
14933 enableval=$enable_sjlj_exceptions;
14934 case "$enableval" in
14935 yes|no|auto) ;;
14936 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14937 esac
14939 else
14940 enable_sjlj_exceptions=auto
14945 if test $enable_sjlj_exceptions = auto; then
14946 # Botheration. Now we've got to detect the exception model. Link tests
14947 # against libgcc.a are problematic since we've not been given proper -L
14948 # bits for single-tree newlib and libgloss.
14950 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14951 cat > conftest.$ac_ext << EOF
14952 #line 14952 "configure"
14953 struct S { ~S(); };
14954 void bar();
14955 void foo()
14957 S s;
14958 bar();
14961 old_CXXFLAGS="$CXXFLAGS"
14962 CXXFLAGS=-S
14963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14964 (eval $ac_compile) 2>&5
14965 ac_status=$?
14966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 test $ac_status = 0; }; then
14968 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14969 enable_sjlj_exceptions=yes
14970 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14971 enable_sjlj_exceptions=no
14972 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14973 enable_sjlj_exceptions=no
14976 CXXFLAGS="$old_CXXFLAGS"
14977 rm -f conftest*
14980 # This is a tad weird, for hysterical raisins. We have to map
14981 # enable/disable to two different models.
14982 case $enable_sjlj_exceptions in
14983 yes)
14985 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14987 ac_exception_model_name=sjlj
14990 ac_exception_model_name="call frame"
14993 as_fn_error "unable to detect exception model" "$LINENO" 5
14995 esac
14996 ac_ext=c
14997 ac_cpp='$CPP $CPPFLAGS'
14998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15003 $as_echo "$ac_exception_model_name" >&6; }
15006 # Check whether --enable-libstdcxx-pch was given.
15007 if test "${enable_libstdcxx_pch+set}" = set; then :
15008 enableval=$enable_libstdcxx_pch;
15009 case "$enableval" in
15010 yes|no) ;;
15011 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15012 esac
15014 else
15015 enable_libstdcxx_pch=$is_hosted
15019 if test $enable_libstdcxx_pch = yes; then
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15021 $as_echo_n "checking for compiler with PCH support... " >&6; }
15022 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15023 $as_echo_n "(cached) " >&6
15024 else
15025 ac_save_CXXFLAGS="$CXXFLAGS"
15026 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15028 ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15034 echo '#include <math.h>' > conftest.h
15035 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15036 -o conftest.h.gch 1>&5 2>&1 &&
15037 echo '#error "pch failed"' > conftest.h &&
15038 echo '#include "conftest.h"' > conftest.cc &&
15039 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15040 then
15041 glibcxx_cv_prog_CXX_pch=yes
15042 else
15043 glibcxx_cv_prog_CXX_pch=no
15045 rm -f conftest*
15046 CXXFLAGS=$ac_save_CXXFLAGS
15047 ac_ext=c
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15056 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15057 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15061 $as_echo_n "checking for enabled PCH... " >&6; }
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15063 $as_echo "$enable_libstdcxx_pch" >&6; }
15066 if test $enable_libstdcxx_pch = yes; then
15067 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15068 else
15069 glibcxx_PCHFLAGS=""
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15075 $as_echo_n "checking for thread model used by GCC... " >&6; }
15076 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15078 $as_echo "$target_thread_file" >&6; }
15080 if test $target_thread_file != single; then
15082 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15086 glibcxx_thread_h=gthr-$target_thread_file.h
15088 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15089 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15090 enable_thread=yes
15091 else
15092 enable_thread=no
15099 ac_ext=cpp
15100 ac_cpp='$CXXCPP $CPPFLAGS'
15101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15105 old_CXXFLAGS="$CXXFLAGS"
15107 # Do link tests if possible, instead asm tests, limited to some platforms
15108 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15109 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15110 atomic_builtins_link_tests=no
15111 if test x$gcc_no_link != xyes; then
15112 # Can do link tests. Limit to some tested platforms
15113 case "$host" in
15114 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15115 atomic_builtins_link_tests=yes
15117 esac
15120 if test x$atomic_builtins_link_tests = xyes; then
15122 # Do link tests.
15124 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15127 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15128 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15129 $as_echo_n "(cached) " >&6
15130 else
15132 if test x$gcc_no_link = xyes; then
15133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15139 main ()
15141 typedef bool atomic_type;
15142 atomic_type c1;
15143 atomic_type c2;
15144 const atomic_type c3(0);
15145 __sync_fetch_and_add(&c1, c2);
15146 __sync_val_compare_and_swap(&c1, c3, c2);
15147 __sync_lock_test_and_set(&c1, c3);
15148 __sync_lock_release(&c1);
15149 __sync_synchronize();
15151 return 0;
15153 _ACEOF
15154 if ac_fn_cxx_try_link "$LINENO"; then :
15155 glibcxx_cv_atomic_bool=yes
15156 else
15157 glibcxx_cv_atomic_bool=no
15159 rm -f core conftest.err conftest.$ac_objext \
15160 conftest$ac_exeext conftest.$ac_ext
15164 if test $glibcxx_cv_atomic_bool = yes; then
15166 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15170 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15173 $as_echo_n "checking for atomic builtins for short... " >&6; }
15174 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15178 if test x$gcc_no_link = xyes; then
15179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15185 main ()
15187 typedef short atomic_type;
15188 atomic_type c1;
15189 atomic_type c2;
15190 const atomic_type c3(0);
15191 __sync_fetch_and_add(&c1, c2);
15192 __sync_val_compare_and_swap(&c1, c3, c2);
15193 __sync_lock_test_and_set(&c1, c3);
15194 __sync_lock_release(&c1);
15195 __sync_synchronize();
15197 return 0;
15199 _ACEOF
15200 if ac_fn_cxx_try_link "$LINENO"; then :
15201 glibcxx_cv_atomic_short=yes
15202 else
15203 glibcxx_cv_atomic_short=no
15205 rm -f core conftest.err conftest.$ac_objext \
15206 conftest$ac_exeext conftest.$ac_ext
15210 if test $glibcxx_cv_atomic_short = yes; then
15212 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15216 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15219 $as_echo_n "checking for atomic builtins for int... " >&6; }
15220 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15221 $as_echo_n "(cached) " >&6
15222 else
15224 if test x$gcc_no_link = xyes; then
15225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15231 main ()
15233 typedef int atomic_type;
15234 atomic_type c1;
15235 atomic_type c2;
15236 const atomic_type c3(0);
15237 __sync_fetch_and_add(&c1, c2);
15238 __sync_val_compare_and_swap(&c1, c3, c2);
15239 __sync_lock_test_and_set(&c1, c3);
15240 __sync_lock_release(&c1);
15241 __sync_synchronize();
15243 return 0;
15245 _ACEOF
15246 if ac_fn_cxx_try_link "$LINENO"; then :
15247 glibcxx_cv_atomic_int=yes
15248 else
15249 glibcxx_cv_atomic_int=no
15251 rm -f core conftest.err conftest.$ac_objext \
15252 conftest$ac_exeext conftest.$ac_ext
15256 if test $glibcxx_cv_atomic_int = yes; then
15258 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15262 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15265 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15266 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15270 if test x$gcc_no_link = xyes; then
15271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15277 main ()
15279 typedef long long atomic_type;
15280 atomic_type c1;
15281 atomic_type c2;
15282 const atomic_type c3(0);
15283 __sync_fetch_and_add(&c1, c2);
15284 __sync_val_compare_and_swap(&c1, c3, c2);
15285 __sync_lock_test_and_set(&c1, c3);
15286 __sync_lock_release(&c1);
15287 __sync_synchronize();
15289 return 0;
15291 _ACEOF
15292 if ac_fn_cxx_try_link "$LINENO"; then :
15293 glibcxx_cv_atomic_long_long=yes
15294 else
15295 glibcxx_cv_atomic_long_long=no
15297 rm -f core conftest.err conftest.$ac_objext \
15298 conftest$ac_exeext conftest.$ac_ext
15302 if test $glibcxx_cv_atomic_long_long = yes; then
15304 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15308 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15310 else
15312 # Do asm tests.
15314 # Compile unoptimized.
15315 CXXFLAGS='-O0 -S'
15317 # Fake what AC_TRY_COMPILE does.
15319 cat > conftest.$ac_ext << EOF
15320 #line 15320 "configure"
15321 int main()
15323 typedef bool atomic_type;
15324 atomic_type c1;
15325 atomic_type c2;
15326 const atomic_type c3(0);
15327 __sync_fetch_and_add(&c1, c2);
15328 __sync_val_compare_and_swap(&c1, c3, c2);
15329 __sync_lock_test_and_set(&c1, c3);
15330 __sync_lock_release(&c1);
15331 __sync_synchronize();
15332 return 0;
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15337 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15339 (eval $ac_compile) 2>&5
15340 ac_status=$?
15341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15342 test $ac_status = 0; }; then
15343 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15344 glibcxx_cv_atomic_bool=no
15345 else
15347 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15349 glibcxx_cv_atomic_bool=yes
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15353 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15354 rm -f conftest*
15356 cat > conftest.$ac_ext << EOF
15357 #line 15357 "configure"
15358 int main()
15360 typedef short atomic_type;
15361 atomic_type c1;
15362 atomic_type c2;
15363 const atomic_type c3(0);
15364 __sync_fetch_and_add(&c1, c2);
15365 __sync_val_compare_and_swap(&c1, c3, c2);
15366 __sync_lock_test_and_set(&c1, c3);
15367 __sync_lock_release(&c1);
15368 __sync_synchronize();
15369 return 0;
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15374 $as_echo_n "checking for atomic builtins for short... " >&6; }
15375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15376 (eval $ac_compile) 2>&5
15377 ac_status=$?
15378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15379 test $ac_status = 0; }; then
15380 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15381 glibcxx_cv_atomic_short=no
15382 else
15384 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15386 glibcxx_cv_atomic_short=yes
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15390 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15391 rm -f conftest*
15393 cat > conftest.$ac_ext << EOF
15394 #line 15394 "configure"
15395 int main()
15397 // NB: _Atomic_word not necessarily int.
15398 typedef int atomic_type;
15399 atomic_type c1;
15400 atomic_type c2;
15401 const atomic_type c3(0);
15402 __sync_fetch_and_add(&c1, c2);
15403 __sync_val_compare_and_swap(&c1, c3, c2);
15404 __sync_lock_test_and_set(&c1, c3);
15405 __sync_lock_release(&c1);
15406 __sync_synchronize();
15407 return 0;
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15412 $as_echo_n "checking for atomic builtins for int... " >&6; }
15413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15414 (eval $ac_compile) 2>&5
15415 ac_status=$?
15416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15417 test $ac_status = 0; }; then
15418 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15419 glibcxx_cv_atomic_int=no
15420 else
15422 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15424 glibcxx_cv_atomic_int=yes
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15428 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15429 rm -f conftest*
15431 cat > conftest.$ac_ext << EOF
15432 #line 15432 "configure"
15433 int main()
15435 typedef long long atomic_type;
15436 atomic_type c1;
15437 atomic_type c2;
15438 const atomic_type c3(0);
15439 __sync_fetch_and_add(&c1, c2);
15440 __sync_val_compare_and_swap(&c1, c3, c2);
15441 __sync_lock_test_and_set(&c1, c3);
15442 __sync_lock_release(&c1);
15443 __sync_synchronize();
15444 return 0;
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15449 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15451 (eval $ac_compile) 2>&5
15452 ac_status=$?
15453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15454 test $ac_status = 0; }; then
15455 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15456 glibcxx_cv_atomic_long_long=no
15457 else
15459 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15461 glibcxx_cv_atomic_long_long=yes
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15465 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15466 rm -f conftest*
15470 CXXFLAGS="$old_CXXFLAGS"
15471 ac_ext=c
15472 ac_cpp='$CPP $CPPFLAGS'
15473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15478 # Set atomicity_dir to builtins if either of above tests pass.
15479 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15480 atomicity_dir=cpu/generic/atomicity_builtins
15483 # If still generic, set to mutex.
15484 if test $atomicity_dir = "cpu/generic" ; then
15485 atomicity_dir=cpu/generic/atomicity_mutex
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15487 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15488 if test "x$target_thread_file" = xsingle; then
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15490 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15492 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15493 else
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15495 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15497 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15504 # Fake what AC_TRY_COMPILE does, without linking as this is
15505 # unnecessary for this test.
15507 cat > conftest.$ac_ext << EOF
15508 #line 15508 "configure"
15509 int main()
15511 _Decimal32 d1;
15512 _Decimal64 d2;
15513 _Decimal128 d3;
15514 return 0;
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15519 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15521 (eval $ac_compile) 2>&5
15522 ac_status=$?
15523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15524 test $ac_status = 0; }; then
15526 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15528 enable_dfp=yes
15529 else
15530 enable_dfp=no
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15533 $as_echo "$enable_dfp" >&6; }
15534 rm -f conftest*
15539 ac_ext=cpp
15540 ac_cpp='$CXXCPP $CPPFLAGS'
15541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15546 # Fake what AC_TRY_COMPILE does, without linking as this is
15547 # unnecessary for this test.
15549 cat > conftest.$ac_ext << EOF
15550 #line 15550 "configure"
15551 template<typename T1, typename T2>
15552 struct same
15553 { typedef T2 type; };
15555 template<typename T>
15556 struct same<T, T>;
15558 int main()
15560 typename same<long, __int128>::type i1;
15561 typename same<long long, __int128>::type i2;
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15566 $as_echo_n "checking for __int128... " >&6; }
15567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15568 (eval $ac_compile) 2>&5
15569 ac_status=$?
15570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15571 test $ac_status = 0; }; then
15573 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15575 enable_int128=yes
15576 else
15577 enable_int128=no
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15580 $as_echo "$enable_int128" >&6; }
15581 rm -f conftest*
15583 cat > conftest.$ac_ext << EOF
15584 #line 15584 "configure"
15585 template<typename T1, typename T2>
15586 struct same
15587 { typedef T2 type; };
15589 template<typename T>
15590 struct same<T, T>;
15592 int main()
15594 typename same<double, __float128>::type f1;
15595 typename same<long double, __float128>::type f2;
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15600 $as_echo_n "checking for __float128... " >&6; }
15601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15602 (eval $ac_compile) 2>&5
15603 ac_status=$?
15604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15605 test $ac_status = 0; }; then
15607 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15609 enable_float128=yes
15610 else
15611 enable_float128=no
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15614 $as_echo "$enable_float128" >&6; }
15615 rm -f conftest*
15617 ac_ext=c
15618 ac_cpp='$CPP $CPPFLAGS'
15619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15625 # Checks for compiler support that doesn't require linking.
15627 # All these tests are for C++; save the language and the compiler flags.
15628 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15629 # found in GLIBCXX_CONFIGURE.
15631 ac_ext=cpp
15632 ac_cpp='$CXXCPP $CPPFLAGS'
15633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15637 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15638 ac_save_CXXFLAGS="$CXXFLAGS"
15640 # Check for maintainer-mode bits.
15641 if test x"$USE_MAINTAINER_MODE" = xno; then
15642 WERROR=''
15643 else
15644 WERROR='-Werror'
15647 # Check for -ffunction-sections -fdata-sections
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15649 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15650 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15653 int foo; void bar() { };
15655 main ()
15659 return 0;
15661 _ACEOF
15662 if ac_fn_cxx_try_compile "$LINENO"; then :
15663 ac_fdsections=yes
15664 else
15665 ac_fdsections=no
15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15668 if test "$ac_test_CXXFLAGS" = set; then
15669 CXXFLAGS="$ac_save_CXXFLAGS"
15670 else
15671 # this is the suspicious part
15672 CXXFLAGS=''
15674 if test x"$ac_fdsections" = x"yes"; then
15675 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15678 $as_echo "$ac_fdsections" >&6; }
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 # Enable all the variable C++ runtime options that don't require linking.
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15693 $as_echo_n "checking for underlying I/O to use... " >&6; }
15694 # Check whether --enable-cstdio was given.
15695 if test "${enable_cstdio+set}" = set; then :
15696 enableval=$enable_cstdio;
15697 case "$enableval" in
15698 stdio) ;;
15699 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15700 esac
15702 else
15703 enable_cstdio=stdio
15708 # Now that libio has been removed, you can have any color you want as long
15709 # as it's black. This is one big no-op until other packages are added, but
15710 # showing the framework never hurts.
15711 case ${enable_cstdio} in
15712 stdio)
15713 CSTDIO_H=config/io/c_io_stdio.h
15714 BASIC_FILE_H=config/io/basic_file_stdio.h
15715 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15717 $as_echo "stdio" >&6; }
15719 esac
15726 # Check whether --enable-clocale was given.
15727 if test "${enable_clocale+set}" = set; then :
15728 enableval=$enable_clocale;
15729 case "$enableval" in
15730 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15731 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15732 esac
15734 else
15735 enable_clocale=auto
15740 # Deal with gettext issues. Default to not using it (=no) until we detect
15741 # support for it later. Let the user turn it off via --e/d, but let that
15742 # default to on for easier handling.
15743 USE_NLS=no
15744 # Check whether --enable-nls was given.
15745 if test "${enable_nls+set}" = set; then :
15746 enableval=$enable_nls;
15747 else
15748 enable_nls=yes
15752 # Either a known package, or "auto"
15753 if test $enable_clocale = no || test $enable_clocale = yes; then
15754 enable_clocale=auto
15756 enable_clocale_flag=$enable_clocale
15758 # Probe for locale model to use if none specified.
15759 # Default to "generic".
15760 if test $enable_clocale_flag = auto; then
15761 case ${target_os} in
15762 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15763 enable_clocale_flag=gnu
15765 darwin* | freebsd*)
15766 enable_clocale_flag=darwin
15769 if test x"$with_newlib" = x"yes"; then
15770 enable_clocale_flag=newlib
15771 else
15772 enable_clocale_flag=generic
15775 esac
15778 # Sanity check model, and test for special functionality.
15779 if test $enable_clocale_flag = gnu; then
15780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15781 /* end confdefs.h. */
15783 #include <features.h>
15784 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15785 _GLIBCXX_ok
15786 #endif
15788 _ACEOF
15789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15790 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15791 enable_clocale_flag=gnu
15792 else
15793 enable_clocale_flag=generic
15795 rm -f conftest*
15798 # Set it to scream when it hurts.
15799 ac_save_CFLAGS="$CFLAGS"
15800 CFLAGS="-Wimplicit-function-declaration -Werror"
15802 # Use strxfrm_l if available.
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15805 #define _GNU_SOURCE 1
15806 #include <string.h>
15807 #include <locale.h>
15809 main ()
15811 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15813 return 0;
15815 _ACEOF
15816 if ac_fn_c_try_compile "$LINENO"; then :
15818 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15823 # Use strerror_l if available.
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 #define _GNU_SOURCE 1
15827 #include <string.h>
15828 #include <locale.h>
15830 main ()
15832 __locale_t loc; strerror_l(5, loc);
15834 return 0;
15836 _ACEOF
15837 if ac_fn_c_try_compile "$LINENO"; then :
15839 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15844 CFLAGS="$ac_save_CFLAGS"
15847 # Perhaps use strerror_r if available, and strerror_l isn't.
15848 ac_save_CFLAGS="$CFLAGS"
15849 CFLAGS="-Wimplicit-function-declaration -Werror"
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15852 #define _GNU_SOURCE 1
15853 #include <string.h>
15854 #include <locale.h>
15856 main ()
15858 char s[128]; strerror_r(5, s, 128);
15860 return 0;
15862 _ACEOF
15863 if ac_fn_c_try_compile "$LINENO"; then :
15865 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15869 CFLAGS="$ac_save_CFLAGS"
15871 # Set configure bits for specified locale package
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15873 $as_echo_n "checking for C locale to use... " >&6; }
15874 case ${enable_clocale_flag} in
15875 generic)
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15877 $as_echo "generic" >&6; }
15879 CLOCALE_H=config/locale/generic/c_locale.h
15880 CLOCALE_CC=config/locale/generic/c_locale.cc
15881 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15882 CCOLLATE_CC=config/locale/generic/collate_members.cc
15883 CCTYPE_CC=config/locale/generic/ctype_members.cc
15884 CMESSAGES_H=config/locale/generic/messages_members.h
15885 CMESSAGES_CC=config/locale/generic/messages_members.cc
15886 CMONEY_CC=config/locale/generic/monetary_members.cc
15887 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15888 CTIME_H=config/locale/generic/time_members.h
15889 CTIME_CC=config/locale/generic/time_members.cc
15890 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15892 darwin)
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15894 $as_echo "darwin or freebsd" >&6; }
15896 CLOCALE_H=config/locale/generic/c_locale.h
15897 CLOCALE_CC=config/locale/generic/c_locale.cc
15898 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15899 CCOLLATE_CC=config/locale/generic/collate_members.cc
15900 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15901 CMESSAGES_H=config/locale/generic/messages_members.h
15902 CMESSAGES_CC=config/locale/generic/messages_members.cc
15903 CMONEY_CC=config/locale/generic/monetary_members.cc
15904 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15905 CTIME_H=config/locale/generic/time_members.h
15906 CTIME_CC=config/locale/generic/time_members.cc
15907 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15910 gnu)
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15912 $as_echo "gnu" >&6; }
15914 # Declare intention to use gettext, and add support for specific
15915 # languages.
15916 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15917 ALL_LINGUAS="de fr"
15919 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15920 # Extract the first word of "msgfmt", so it can be a program name with args.
15921 set dummy msgfmt; ac_word=$2
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15923 $as_echo_n "checking for $ac_word... " >&6; }
15924 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15925 $as_echo_n "(cached) " >&6
15926 else
15927 if test -n "$check_msgfmt"; then
15928 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15929 else
15930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15931 for as_dir in $PATH
15933 IFS=$as_save_IFS
15934 test -z "$as_dir" && as_dir=.
15935 for ac_exec_ext in '' $ac_executable_extensions; do
15936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15937 ac_cv_prog_check_msgfmt="yes"
15938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15939 break 2
15941 done
15942 done
15943 IFS=$as_save_IFS
15945 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15948 check_msgfmt=$ac_cv_prog_check_msgfmt
15949 if test -n "$check_msgfmt"; then
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15951 $as_echo "$check_msgfmt" >&6; }
15952 else
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15954 $as_echo "no" >&6; }
15958 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15959 USE_NLS=yes
15961 # Export the build objects.
15962 for ling in $ALL_LINGUAS; do \
15963 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15964 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15965 done
15969 CLOCALE_H=config/locale/gnu/c_locale.h
15970 CLOCALE_CC=config/locale/gnu/c_locale.cc
15971 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15972 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15973 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15974 CMESSAGES_H=config/locale/gnu/messages_members.h
15975 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15976 CMONEY_CC=config/locale/gnu/monetary_members.cc
15977 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15978 CTIME_H=config/locale/gnu/time_members.h
15979 CTIME_CC=config/locale/gnu/time_members.cc
15980 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15982 ieee_1003.1-2001)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15984 $as_echo "IEEE 1003.1" >&6; }
15986 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15987 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15988 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989 CCOLLATE_CC=config/locale/generic/collate_members.cc
15990 CCTYPE_CC=config/locale/generic/ctype_members.cc
15991 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15992 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15993 CMONEY_CC=config/locale/generic/monetary_members.cc
15994 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995 CTIME_H=config/locale/generic/time_members.h
15996 CTIME_CC=config/locale/generic/time_members.cc
15997 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15999 newlib)
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16001 $as_echo "newlib" >&6; }
16003 CLOCALE_H=config/locale/generic/c_locale.h
16004 CLOCALE_CC=config/locale/generic/c_locale.cc
16005 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16006 CCOLLATE_CC=config/locale/generic/collate_members.cc
16007 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16008 CMESSAGES_H=config/locale/generic/messages_members.h
16009 CMESSAGES_CC=config/locale/generic/messages_members.cc
16010 CMONEY_CC=config/locale/generic/monetary_members.cc
16011 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16012 CTIME_H=config/locale/generic/time_members.h
16013 CTIME_CC=config/locale/generic/time_members.cc
16014 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16016 esac
16018 # This is where the testsuite looks for locale catalogs, using the
16019 # -DLOCALEDIR define during testsuite compilation.
16020 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16023 # A standalone libintl (e.g., GNU libintl) may be in use.
16024 if test $USE_NLS = yes; then
16025 for ac_header in libintl.h
16026 do :
16027 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16028 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_LIBINTL_H 1
16031 _ACEOF
16033 else
16034 USE_NLS=no
16037 done
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16040 $as_echo_n "checking for library containing gettext... " >&6; }
16041 if test "${ac_cv_search_gettext+set}" = set; then :
16042 $as_echo_n "(cached) " >&6
16043 else
16044 ac_func_search_save_LIBS=$LIBS
16045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16046 /* end confdefs.h. */
16048 /* Override any GCC internal prototype to avoid an error.
16049 Use char because int might match the return type of a GCC
16050 builtin and then its argument prototype would still apply. */
16051 #ifdef __cplusplus
16052 extern "C"
16053 #endif
16054 char gettext ();
16056 main ()
16058 return gettext ();
16060 return 0;
16062 _ACEOF
16063 for ac_lib in '' intl; do
16064 if test -z "$ac_lib"; then
16065 ac_res="none required"
16066 else
16067 ac_res=-l$ac_lib
16068 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16070 if test x$gcc_no_link = xyes; then
16071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16073 if ac_fn_c_try_link "$LINENO"; then :
16074 ac_cv_search_gettext=$ac_res
16076 rm -f core conftest.err conftest.$ac_objext \
16077 conftest$ac_exeext
16078 if test "${ac_cv_search_gettext+set}" = set; then :
16079 break
16081 done
16082 if test "${ac_cv_search_gettext+set}" = set; then :
16084 else
16085 ac_cv_search_gettext=no
16087 rm conftest.$ac_ext
16088 LIBS=$ac_func_search_save_LIBS
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16091 $as_echo "$ac_cv_search_gettext" >&6; }
16092 ac_res=$ac_cv_search_gettext
16093 if test "$ac_res" != no; then :
16094 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16096 else
16097 USE_NLS=no
16101 if test $USE_NLS = yes; then
16103 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16123 $as_echo_n "checking for std::allocator base class... " >&6; }
16124 # Check whether --enable-libstdcxx-allocator was given.
16125 if test "${enable_libstdcxx_allocator+set}" = set; then :
16126 enableval=$enable_libstdcxx_allocator;
16127 case "$enableval" in
16128 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16129 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16130 esac
16132 else
16133 enable_libstdcxx_allocator=auto
16138 # If they didn't use this option switch, or if they specified --enable
16139 # with no specific model, we'll have to look for one. If they
16140 # specified --disable (???), do likewise.
16141 if test $enable_libstdcxx_allocator = no ||
16142 test $enable_libstdcxx_allocator = yes;
16143 then
16144 enable_libstdcxx_allocator=auto
16147 # Either a known package, or "auto". Auto implies the default choice
16148 # for a particular platform.
16149 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16151 # Probe for host-specific support if no specific model is specified.
16152 # Default to "new".
16153 if test $enable_libstdcxx_allocator_flag = auto; then
16154 case ${target_os} in
16155 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16156 enable_libstdcxx_allocator_flag=new
16159 enable_libstdcxx_allocator_flag=new
16161 esac
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16164 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16167 # Set configure bits for specified locale package
16168 case ${enable_libstdcxx_allocator_flag} in
16169 bitmap)
16170 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16171 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16173 malloc)
16174 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16175 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16178 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16179 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16181 new)
16182 ALLOCATOR_H=config/allocator/new_allocator_base.h
16183 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16185 pool)
16186 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16187 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16189 esac
16195 # Check whether --enable-cheaders was given.
16196 if test "${enable_cheaders+set}" = set; then :
16197 enableval=$enable_cheaders;
16198 case "$enableval" in
16199 c|c_std|c_global) ;;
16200 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16201 esac
16203 else
16204 enable_cheaders=$c_model
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16209 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16211 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16213 # Allow overrides to configure.host here.
16214 if test $enable_cheaders = c_global; then
16215 c_compatibility=yes
16224 # Check whether --enable-long-long was given.
16225 if test "${enable_long_long+set}" = set; then :
16226 enableval=$enable_long_long;
16227 case "$enableval" in
16228 yes|no) ;;
16229 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16230 esac
16232 else
16233 enable_long_long=yes
16237 if test $enable_long_long = yes; then
16239 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16243 $as_echo_n "checking for enabled long long specializations... " >&6; }
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16245 $as_echo "$enable_long_long" >&6; }
16248 # Check whether --enable-wchar_t was given.
16249 if test "${enable_wchar_t+set}" = set; then :
16250 enableval=$enable_wchar_t;
16251 case "$enableval" in
16252 yes|no) ;;
16253 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16254 esac
16256 else
16257 enable_wchar_t=yes
16262 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16263 for ac_header in wchar.h
16264 do :
16265 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16266 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define HAVE_WCHAR_H 1
16269 _ACEOF
16270 ac_has_wchar_h=yes
16271 else
16272 ac_has_wchar_h=no
16275 done
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16278 $as_echo_n "checking for mbstate_t... " >&6; }
16279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16281 #include <wchar.h>
16283 main ()
16285 mbstate_t teststate;
16287 return 0;
16289 _ACEOF
16290 if ac_fn_c_try_compile "$LINENO"; then :
16291 have_mbstate_t=yes
16292 else
16293 have_mbstate_t=no
16295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16297 $as_echo "$have_mbstate_t" >&6; }
16298 if test x"$have_mbstate_t" = xyes; then
16300 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16304 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16305 # ac_has_wchar_h.
16306 for ac_header in wctype.h
16307 do :
16308 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16309 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_WCTYPE_H 1
16312 _ACEOF
16313 ac_has_wctype_h=yes
16314 else
16315 ac_has_wctype_h=no
16318 done
16321 if test x"$enable_wchar_t" = x"yes"; then
16324 ac_ext=cpp
16325 ac_cpp='$CXXCPP $CPPFLAGS'
16326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16331 if test x"$ac_has_wchar_h" = xyes &&
16332 test x"$ac_has_wctype_h" = xyes; then
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16335 #include <wchar.h>
16336 #include <stddef.h>
16337 wint_t i;
16338 long l = WEOF;
16339 long j = WCHAR_MIN;
16340 long k = WCHAR_MAX;
16341 namespace test
16343 using ::btowc;
16344 using ::fgetwc;
16345 using ::fgetws;
16346 using ::fputwc;
16347 using ::fputws;
16348 using ::fwide;
16349 using ::fwprintf;
16350 using ::fwscanf;
16351 using ::getwc;
16352 using ::getwchar;
16353 using ::mbrlen;
16354 using ::mbrtowc;
16355 using ::mbsinit;
16356 using ::mbsrtowcs;
16357 using ::putwc;
16358 using ::putwchar;
16359 using ::swprintf;
16360 using ::swscanf;
16361 using ::ungetwc;
16362 using ::vfwprintf;
16363 using ::vswprintf;
16364 using ::vwprintf;
16365 using ::wcrtomb;
16366 using ::wcscat;
16367 using ::wcschr;
16368 using ::wcscmp;
16369 using ::wcscoll;
16370 using ::wcscpy;
16371 using ::wcscspn;
16372 using ::wcsftime;
16373 using ::wcslen;
16374 using ::wcsncat;
16375 using ::wcsncmp;
16376 using ::wcsncpy;
16377 using ::wcspbrk;
16378 using ::wcsrchr;
16379 using ::wcsrtombs;
16380 using ::wcsspn;
16381 using ::wcsstr;
16382 using ::wcstod;
16383 using ::wcstok;
16384 using ::wcstol;
16385 using ::wcstoul;
16386 using ::wcsxfrm;
16387 using ::wctob;
16388 using ::wmemchr;
16389 using ::wmemcmp;
16390 using ::wmemcpy;
16391 using ::wmemmove;
16392 using ::wmemset;
16393 using ::wprintf;
16394 using ::wscanf;
16398 main ()
16402 return 0;
16404 _ACEOF
16405 if ac_fn_cxx_try_compile "$LINENO"; then :
16407 else
16408 enable_wchar_t=no
16410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16411 else
16412 enable_wchar_t=no
16415 ac_ext=c
16416 ac_cpp='$CPP $CPPFLAGS'
16417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16423 if test x"$enable_wchar_t" = x"yes"; then
16425 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16430 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16432 $as_echo "$enable_wchar_t" >&6; }
16436 # Check whether --enable-c99 was given.
16437 if test "${enable_c99+set}" = set; then :
16438 enableval=$enable_c99;
16439 case "$enableval" in
16440 yes|no) ;;
16441 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16442 esac
16444 else
16445 enable_c99=yes
16450 if test x"$enable_c99" = x"yes"; then
16453 ac_ext=cpp
16454 ac_cpp='$CXXCPP $CPPFLAGS'
16455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16460 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16461 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16462 # spuriously enabled.
16463 # Long term, -std=c++0x could be even better, could manage to explicitely
16464 # request C99 facilities to the underlying C headers.
16465 ac_save_CXXFLAGS="$CXXFLAGS"
16466 CXXFLAGS="$CXXFLAGS -std=c++98"
16467 ac_save_LIBS="$LIBS"
16468 ac_save_gcc_no_link="$gcc_no_link"
16470 if test x$gcc_no_link != xyes; then
16471 # Use -fno-exceptions to that the C driver can link these tests without
16472 # hitting undefined references to personality routines.
16473 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16475 $as_echo_n "checking for sin in -lm... " >&6; }
16476 if test "${ac_cv_lib_m_sin+set}" = set; then :
16477 $as_echo_n "(cached) " >&6
16478 else
16479 ac_check_lib_save_LIBS=$LIBS
16480 LIBS="-lm $LIBS"
16481 if test x$gcc_no_link = xyes; then
16482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16487 /* Override any GCC internal prototype to avoid an error.
16488 Use char because int might match the return type of a GCC
16489 builtin and then its argument prototype would still apply. */
16490 #ifdef __cplusplus
16491 extern "C"
16492 #endif
16493 char sin ();
16495 main ()
16497 return sin ();
16499 return 0;
16501 _ACEOF
16502 if ac_fn_cxx_try_link "$LINENO"; then :
16503 ac_cv_lib_m_sin=yes
16504 else
16505 ac_cv_lib_m_sin=no
16507 rm -f core conftest.err conftest.$ac_objext \
16508 conftest$ac_exeext conftest.$ac_ext
16509 LIBS=$ac_check_lib_save_LIBS
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16512 $as_echo "$ac_cv_lib_m_sin" >&6; }
16513 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16515 LIBS="$LIBS -lm"
16517 else
16519 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16520 gcc_no_link=yes
16526 # Check for the existence of <math.h> functions used if C99 is enabled.
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16528 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16529 if test "${glibcxx_cv_c99_math+set}" = set; then :
16530 $as_echo_n "(cached) " >&6
16531 else
16533 if test x$gcc_no_link = xyes; then
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16536 #include <math.h>
16537 volatile double d1, d2;
16538 volatile int i;
16540 main ()
16542 i = fpclassify(d1);
16543 i = isfinite(d1);
16544 i = isinf(d1);
16545 i = isnan(d1);
16546 i = isnormal(d1);
16547 i = signbit(d1);
16548 i = isgreater(d1, d2);
16549 i = isgreaterequal(d1, d2);
16550 i = isless(d1, d2);
16551 i = islessequal(d1, d2);
16552 i = islessgreater(d1, d2);
16553 i = islessgreater(d1, d2);
16554 i = isunordered(d1, d2);
16557 return 0;
16559 _ACEOF
16560 if ac_fn_cxx_try_compile "$LINENO"; then :
16561 glibcxx_cv_c99_math=yes
16562 else
16563 glibcxx_cv_c99_math=no
16565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16566 else
16567 if test x$gcc_no_link = xyes; then
16568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16572 #include <math.h>
16573 volatile double d1, d2;
16574 volatile int i;
16576 main ()
16578 i = fpclassify(d1);
16579 i = isfinite(d1);
16580 i = isinf(d1);
16581 i = isnan(d1);
16582 i = isnormal(d1);
16583 i = signbit(d1);
16584 i = isgreater(d1, d2);
16585 i = isgreaterequal(d1, d2);
16586 i = isless(d1, d2);
16587 i = islessequal(d1, d2);
16588 i = islessgreater(d1, d2);
16589 i = islessgreater(d1, d2);
16590 i = isunordered(d1, d2);
16593 return 0;
16595 _ACEOF
16596 if ac_fn_cxx_try_link "$LINENO"; then :
16597 glibcxx_cv_c99_math=yes
16598 else
16599 glibcxx_cv_c99_math=no
16601 rm -f core conftest.err conftest.$ac_objext \
16602 conftest$ac_exeext conftest.$ac_ext
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16608 $as_echo "$glibcxx_cv_c99_math" >&6; }
16609 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16611 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16615 # Check for the existence of <complex.h> complex math functions.
16616 # This is necessary even though libstdc++ uses the builtin versions
16617 # of these functions, because if the builtin cannot be used, a reference
16618 # to the library function is emitted.
16619 for ac_header in tgmath.h
16620 do :
16621 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16622 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_TGMATH_H 1
16625 _ACEOF
16626 ac_has_tgmath_h=yes
16627 else
16628 ac_has_tgmath_h=no
16631 done
16633 for ac_header in complex.h
16634 do :
16635 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16636 if test "x$ac_cv_header_complex_h" = x""yes; then :
16637 cat >>confdefs.h <<_ACEOF
16638 #define HAVE_COMPLEX_H 1
16639 _ACEOF
16640 ac_has_complex_h=yes
16641 else
16642 ac_has_complex_h=no
16645 done
16647 glibcxx_cv_c99_complex=no;
16648 if test x"$ac_has_complex_h" = x"yes"; then
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16650 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16651 if test x$gcc_no_link = xyes; then
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16654 #include <complex.h>
16655 typedef __complex__ float float_type;
16656 typedef __complex__ double double_type;
16657 typedef __complex__ long double ld_type;
16658 volatile float_type tmpf;
16659 volatile double_type tmpd;
16660 volatile ld_type tmpld;
16661 volatile float f;
16662 volatile double d;
16663 volatile long double ld;
16665 main ()
16667 f = cabsf(tmpf);
16668 f = cargf(tmpf);
16669 tmpf = ccosf(tmpf);
16670 tmpf = ccoshf(tmpf);
16671 tmpf = cexpf(tmpf);
16672 tmpf = clogf(tmpf);
16673 tmpf = csinf(tmpf);
16674 tmpf = csinhf(tmpf);
16675 tmpf = csqrtf(tmpf);
16676 tmpf = ctanf(tmpf);
16677 tmpf = ctanhf(tmpf);
16678 tmpf = cpowf(tmpf, tmpf);
16679 tmpf = cprojf(tmpf);
16680 d = cabs(tmpd);
16681 d = carg(tmpd);
16682 tmpd = ccos(tmpd);
16683 tmpd = ccosh(tmpd);
16684 tmpd = cexp(tmpd);
16685 tmpd = clog(tmpd);
16686 tmpd = csin(tmpd);
16687 tmpd = csinh(tmpd);
16688 tmpd = csqrt(tmpd);
16689 tmpd = ctan(tmpd);
16690 tmpd = ctanh(tmpd);
16691 tmpd = cpow(tmpd, tmpd);
16692 tmpd = cproj(tmpd);
16693 ld = cabsl(tmpld);
16694 ld = cargl(tmpld);
16695 tmpld = ccosl(tmpld);
16696 tmpld = ccoshl(tmpld);
16697 tmpld = cexpl(tmpld);
16698 tmpld = clogl(tmpld);
16699 tmpld = csinl(tmpld);
16700 tmpld = csinhl(tmpld);
16701 tmpld = csqrtl(tmpld);
16702 tmpld = ctanl(tmpld);
16703 tmpld = ctanhl(tmpld);
16704 tmpld = cpowl(tmpld, tmpld);
16705 tmpld = cprojl(tmpld);
16708 return 0;
16710 _ACEOF
16711 if ac_fn_cxx_try_compile "$LINENO"; then :
16712 glibcxx_cv_c99_complex=yes
16713 else
16714 glibcxx_cv_c99_complex=no
16716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16717 else
16718 if test x$gcc_no_link = xyes; then
16719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #include <complex.h>
16724 typedef __complex__ float float_type;
16725 typedef __complex__ double double_type;
16726 typedef __complex__ long double ld_type;
16727 volatile float_type tmpf;
16728 volatile double_type tmpd;
16729 volatile ld_type tmpld;
16730 volatile float f;
16731 volatile double d;
16732 volatile long double ld;
16734 main ()
16736 f = cabsf(tmpf);
16737 f = cargf(tmpf);
16738 tmpf = ccosf(tmpf);
16739 tmpf = ccoshf(tmpf);
16740 tmpf = cexpf(tmpf);
16741 tmpf = clogf(tmpf);
16742 tmpf = csinf(tmpf);
16743 tmpf = csinhf(tmpf);
16744 tmpf = csqrtf(tmpf);
16745 tmpf = ctanf(tmpf);
16746 tmpf = ctanhf(tmpf);
16747 tmpf = cpowf(tmpf, tmpf);
16748 tmpf = cprojf(tmpf);
16749 d = cabs(tmpd);
16750 d = carg(tmpd);
16751 tmpd = ccos(tmpd);
16752 tmpd = ccosh(tmpd);
16753 tmpd = cexp(tmpd);
16754 tmpd = clog(tmpd);
16755 tmpd = csin(tmpd);
16756 tmpd = csinh(tmpd);
16757 tmpd = csqrt(tmpd);
16758 tmpd = ctan(tmpd);
16759 tmpd = ctanh(tmpd);
16760 tmpd = cpow(tmpd, tmpd);
16761 tmpd = cproj(tmpd);
16762 ld = cabsl(tmpld);
16763 ld = cargl(tmpld);
16764 tmpld = ccosl(tmpld);
16765 tmpld = ccoshl(tmpld);
16766 tmpld = cexpl(tmpld);
16767 tmpld = clogl(tmpld);
16768 tmpld = csinl(tmpld);
16769 tmpld = csinhl(tmpld);
16770 tmpld = csqrtl(tmpld);
16771 tmpld = ctanl(tmpld);
16772 tmpld = ctanhl(tmpld);
16773 tmpld = cpowl(tmpld, tmpld);
16774 tmpld = cprojl(tmpld);
16777 return 0;
16779 _ACEOF
16780 if ac_fn_cxx_try_link "$LINENO"; then :
16781 glibcxx_cv_c99_complex=yes
16782 else
16783 glibcxx_cv_c99_complex=no
16785 rm -f core conftest.err conftest.$ac_objext \
16786 conftest$ac_exeext conftest.$ac_ext
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16790 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16791 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16793 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16797 # Check for the existence in <stdio.h> of vscanf, et. al.
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16799 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16800 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16801 $as_echo_n "(cached) " >&6
16802 else
16804 if test x$gcc_no_link = xyes; then
16805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16807 #include <stdio.h>
16808 #include <stdarg.h>
16809 void foo(char* fmt, ...)
16811 va_list args; va_start(args, fmt);
16812 vfscanf(stderr, "%i", args);
16813 vscanf("%i", args);
16814 vsnprintf(fmt, 0, "%i", args);
16815 vsscanf(fmt, "%i", args);
16818 main ()
16820 snprintf("12", 0, "%i");
16822 return 0;
16824 _ACEOF
16825 if ac_fn_cxx_try_compile "$LINENO"; then :
16826 glibcxx_cv_c99_stdio=yes
16827 else
16828 glibcxx_cv_c99_stdio=no
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 else
16832 if test x$gcc_no_link = xyes; then
16833 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16837 #include <stdio.h>
16838 #include <stdarg.h>
16839 void foo(char* fmt, ...)
16841 va_list args; va_start(args, fmt);
16842 vfscanf(stderr, "%i", args);
16843 vscanf("%i", args);
16844 vsnprintf(fmt, 0, "%i", args);
16845 vsscanf(fmt, "%i", args);
16848 main ()
16850 snprintf("12", 0, "%i");
16852 return 0;
16854 _ACEOF
16855 if ac_fn_cxx_try_link "$LINENO"; then :
16856 glibcxx_cv_c99_stdio=yes
16857 else
16858 glibcxx_cv_c99_stdio=no
16860 rm -f core conftest.err conftest.$ac_objext \
16861 conftest$ac_exeext conftest.$ac_ext
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16867 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16869 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16871 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16872 if test "${glibcxx_cv_c99_stdlib+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 <stdlib.h>
16880 volatile float f;
16881 volatile long double ld;
16882 volatile unsigned long long ll;
16883 lldiv_t mydivt;
16885 main ()
16887 char* tmp;
16888 f = strtof("gnu", &tmp);
16889 ld = strtold("gnu", &tmp);
16890 ll = strtoll("gnu", &tmp, 10);
16891 ll = strtoull("gnu", &tmp, 10);
16892 ll = llabs(10);
16893 mydivt = lldiv(10,1);
16894 ll = mydivt.quot;
16895 ll = mydivt.rem;
16896 ll = atoll("10");
16897 _Exit(0);
16900 return 0;
16902 _ACEOF
16903 if ac_fn_cxx_try_compile "$LINENO"; then :
16904 glibcxx_cv_c99_stdlib=yes
16905 else
16906 glibcxx_cv_c99_stdlib=no
16908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16909 else
16910 if test x$gcc_no_link = xyes; then
16911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 #include <stdlib.h>
16916 volatile float f;
16917 volatile long double ld;
16918 volatile unsigned long long ll;
16919 lldiv_t mydivt;
16921 main ()
16923 char* tmp;
16924 f = strtof("gnu", &tmp);
16925 ld = strtold("gnu", &tmp);
16926 ll = strtoll("gnu", &tmp, 10);
16927 ll = strtoull("gnu", &tmp, 10);
16928 ll = llabs(10);
16929 mydivt = lldiv(10,1);
16930 ll = mydivt.quot;
16931 ll = mydivt.rem;
16932 ll = atoll("10");
16933 _Exit(0);
16936 return 0;
16938 _ACEOF
16939 if ac_fn_cxx_try_link "$LINENO"; then :
16940 glibcxx_cv_c99_stdlib=yes
16941 else
16942 glibcxx_cv_c99_stdlib=no
16944 rm -f core conftest.err conftest.$ac_objext \
16945 conftest$ac_exeext conftest.$ac_ext
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16951 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16953 # Check for the existence in <wchar.h> of wcstold, etc.
16954 glibcxx_cv_c99_wchar=no;
16955 if test x"$ac_has_wchar_h" = xyes &&
16956 test x"$ac_has_wctype_h" = xyes; then
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16958 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16961 #include <wchar.h>
16962 namespace test
16964 using ::wcstold;
16965 using ::wcstoll;
16966 using ::wcstoull;
16970 main ()
16974 return 0;
16976 _ACEOF
16977 if ac_fn_cxx_try_compile "$LINENO"; then :
16978 glibcxx_cv_c99_wchar=yes
16979 else
16980 glibcxx_cv_c99_wchar=no
16982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16984 # Checks for wide character functions that may not be present.
16985 # Injection of these is wrapped with guard macros.
16986 # NB: only put functions here, instead of immediately above, if
16987 # absolutely necessary.
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #include <wchar.h>
16991 namespace test { using ::vfwscanf; }
16993 main ()
16997 return 0;
16999 _ACEOF
17000 if ac_fn_cxx_try_compile "$LINENO"; then :
17002 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17009 #include <wchar.h>
17010 namespace test { using ::vswscanf; }
17012 main ()
17016 return 0;
17018 _ACEOF
17019 if ac_fn_cxx_try_compile "$LINENO"; then :
17021 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 #include <wchar.h>
17029 namespace test { using ::vwscanf; }
17031 main ()
17035 return 0;
17037 _ACEOF
17038 if ac_fn_cxx_try_compile "$LINENO"; then :
17040 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047 #include <wchar.h>
17048 namespace test { using ::wcstof; }
17050 main ()
17054 return 0;
17056 _ACEOF
17057 if ac_fn_cxx_try_compile "$LINENO"; then :
17059 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 #include <wctype.h>
17068 main ()
17070 wint_t t; int i = iswblank(t);
17072 return 0;
17074 _ACEOF
17075 if ac_fn_cxx_try_compile "$LINENO"; then :
17077 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17083 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17086 # Option parsed, now set things appropriately.
17087 if test x"$glibcxx_cv_c99_math" = x"no" ||
17088 test x"$glibcxx_cv_c99_complex" = x"no" ||
17089 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17090 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17091 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17092 enable_c99=no;
17093 else
17095 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17099 gcc_no_link="$ac_save_gcc_no_link"
17100 LIBS="$ac_save_LIBS"
17101 CXXFLAGS="$ac_save_CXXFLAGS"
17102 ac_ext=c
17103 ac_cpp='$CPP $CPPFLAGS'
17104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17111 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17113 $as_echo "$enable_c99" >&6; }
17116 # Check whether --enable-concept-checks was given.
17117 if test "${enable_concept_checks+set}" = set; then :
17118 enableval=$enable_concept_checks;
17119 case "$enableval" in
17120 yes|no) ;;
17121 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17122 esac
17124 else
17125 enable_concept_checks=no
17129 if test $enable_concept_checks = yes; then
17131 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17136 # Check whether --enable-libstdcxx-debug-flags was given.
17137 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17138 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17139 xno | x) enable_libstdcxx_debug_flags= ;;
17140 x-*) ;;
17141 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17142 esac
17143 else
17144 enable_libstdcxx_debug_flags="-g3 -O0"
17149 # Option parsed, now set things appropriately
17150 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17154 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17158 $as_echo_n "checking for additional debug build... " >&6; }
17159 # Check whether --enable-libstdcxx-debug was given.
17160 if test "${enable_libstdcxx_debug+set}" = set; then :
17161 enableval=$enable_libstdcxx_debug;
17162 case "$enableval" in
17163 yes|no) ;;
17164 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17165 esac
17167 else
17168 enable_libstdcxx_debug=no
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17173 $as_echo "$enable_libstdcxx_debug" >&6; }
17178 enable_parallel=no;
17180 # See if configured libgomp/omp.h exists. (libgomp may be in
17181 # noconfigdirs but not explicitly disabled.)
17182 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17183 enable_parallel=yes;
17184 else
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17186 $as_echo "$as_me: target-libgomp not built" >&6;}
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17190 $as_echo_n "checking for parallel mode support... " >&6; }
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17192 $as_echo "$enable_parallel" >&6; }
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17196 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17197 # Check whether --enable-cxx-flags was given.
17198 if test "${enable_cxx_flags+set}" = set; then :
17199 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17200 xno | x) enable_cxx_flags= ;;
17201 x-*) ;;
17202 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17203 esac
17204 else
17205 enable_cxx_flags=
17210 # Run through flags (either default or command-line) and set anything
17211 # extra (e.g., #defines) that must accompany particular g++ options.
17212 if test -n "$enable_cxx_flags"; then
17213 for f in $enable_cxx_flags; do
17214 case "$f" in
17215 -fhonor-std) ;;
17216 -*) ;;
17217 *) # and we're trying to pass /what/ exactly?
17218 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17219 esac
17220 done
17223 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17225 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17229 # Check whether --enable-fully-dynamic-string was given.
17230 if test "${enable_fully_dynamic_string+set}" = set; then :
17231 enableval=$enable_fully_dynamic_string;
17232 case "$enableval" in
17233 yes|no) ;;
17234 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17235 esac
17237 else
17238 enable_fully_dynamic_string=no
17242 if test $enable_fully_dynamic_string = yes; then
17243 enable_fully_dynamic_string_def=1
17244 else
17245 enable_fully_dynamic_string_def=0
17248 cat >>confdefs.h <<_ACEOF
17249 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17250 _ACEOF
17255 # Check whether --enable-extern-template was given.
17256 if test "${enable_extern_template+set}" = set; then :
17257 enableval=$enable_extern_template;
17258 case "$enableval" in
17259 yes|no) ;;
17260 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17261 esac
17263 else
17264 enable_extern_template=yes
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17270 $as_echo_n "checking for extern template support... " >&6; }
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17272 $as_echo "$enable_extern_template" >&6; }
17277 # Checks for operating systems support that doesn't require linking.
17281 ac_ext=cpp
17282 ac_cpp='$CXXCPP $CPPFLAGS'
17283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17288 case "$host" in
17289 *-*-solaris2.*)
17290 # Solaris 8 FCS only had an overload for double std::abs(double) in
17291 # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
17292 # introduced the full set also found from Solaris 9 onwards.
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17294 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17295 if test "${glibcxx_cv_abs_float+set}" = set; then :
17296 $as_echo_n "(cached) " >&6
17297 else
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17301 #include <math.h>
17302 namespace std {
17303 inline float abs(float __x)
17304 { return __builtin_fabsf(__x); }
17307 _ACEOF
17308 if ac_fn_cxx_try_compile "$LINENO"; then :
17309 glibcxx_cv_abs_float=no
17310 else
17311 glibcxx_cv_abs_float=yes
17314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17318 # autoheader cannot handle indented templates.
17322 if test $glibcxx_cv_abs_float = yes; then
17323 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17325 else
17326 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17330 $as_echo "$glibcxx_cv_abs_float" >&6; }
17332 esac
17334 ac_ext=c
17335 ac_cpp='$CPP $CPPFLAGS'
17336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17344 ac_ext=cpp
17345 ac_cpp='$CXXCPP $CPPFLAGS'
17346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17351 case "$host" in
17352 *-*-solaris2.*)
17353 # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17354 # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
17355 # (SPARC) and 109608-02 (x86) introduced them.
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17357 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17358 if test "${glibcxx_cv_abs_long+set}" = set; then :
17359 $as_echo_n "(cached) " >&6
17360 else
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <stdlib.h>
17365 namespace std {
17366 inline long
17367 abs(long __i) { return labs(__i); }
17370 _ACEOF
17371 if ac_fn_cxx_try_compile "$LINENO"; then :
17372 glibcxx_cv_abs_long=no
17373 else
17374 glibcxx_cv_abs_long=yes
17377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17381 # autoheader cannot handle indented templates.
17383 if test $glibcxx_cv_abs_long = yes; then
17384 $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17388 $as_echo "$glibcxx_cv_abs_long" >&6; }
17390 esac
17392 ac_ext=c
17393 ac_cpp='$CPP $CPPFLAGS'
17394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17402 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17403 if test "${glibcxx_cv_system_error1+set}" = set; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #include <errno.h>
17411 main ()
17413 int i = EOWNERDEAD;
17415 return 0;
17417 _ACEOF
17418 if ac_fn_c_try_compile "$LINENO"; then :
17419 glibcxx_cv_system_error1=yes
17420 else
17421 glibcxx_cv_system_error1=no
17423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17428 $as_echo "$glibcxx_cv_system_error1" >&6; }
17429 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17431 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17435 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17436 if test "${glibcxx_cv_system_error2+set}" = set; then :
17437 $as_echo_n "(cached) " >&6
17438 else
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 #include <errno.h>
17444 main ()
17446 int i = ENOTRECOVERABLE;
17448 return 0;
17450 _ACEOF
17451 if ac_fn_c_try_compile "$LINENO"; then :
17452 glibcxx_cv_system_error2=yes
17453 else
17454 glibcxx_cv_system_error2=no
17456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17461 $as_echo "$glibcxx_cv_system_error2" >&6; }
17462 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17464 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17468 $as_echo_n "checking for ENOLINK... " >&6; }
17469 if test "${glibcxx_cv_system_error3+set}" = set; then :
17470 $as_echo_n "(cached) " >&6
17471 else
17473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17475 #include <errno.h>
17477 main ()
17479 int i = ENOLINK;
17481 return 0;
17483 _ACEOF
17484 if ac_fn_c_try_compile "$LINENO"; then :
17485 glibcxx_cv_system_error3=yes
17486 else
17487 glibcxx_cv_system_error3=no
17489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17494 $as_echo "$glibcxx_cv_system_error3" >&6; }
17495 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17497 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17501 $as_echo_n "checking for EPROTO... " >&6; }
17502 if test "${glibcxx_cv_system_error4+set}" = set; then :
17503 $as_echo_n "(cached) " >&6
17504 else
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508 #include <errno.h>
17510 main ()
17512 int i = EPROTO;
17514 return 0;
17516 _ACEOF
17517 if ac_fn_c_try_compile "$LINENO"; then :
17518 glibcxx_cv_system_error4=yes
17519 else
17520 glibcxx_cv_system_error4=no
17522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17527 $as_echo "$glibcxx_cv_system_error4" >&6; }
17528 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17530 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17534 $as_echo_n "checking for ENODATA... " >&6; }
17535 if test "${glibcxx_cv_system_error5+set}" = set; then :
17536 $as_echo_n "(cached) " >&6
17537 else
17539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17541 #include <errno.h>
17543 main ()
17545 int i = ENODATA;
17547 return 0;
17549 _ACEOF
17550 if ac_fn_c_try_compile "$LINENO"; then :
17551 glibcxx_cv_system_error5=yes
17552 else
17553 glibcxx_cv_system_error5=no
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17560 $as_echo "$glibcxx_cv_system_error5" >&6; }
17561 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17563 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17567 $as_echo_n "checking for ENOSR... " >&6; }
17568 if test "${glibcxx_cv_system_error6+set}" = set; then :
17569 $as_echo_n "(cached) " >&6
17570 else
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17574 #include <errno.h>
17576 main ()
17578 int i = ENOSR;
17580 return 0;
17582 _ACEOF
17583 if ac_fn_c_try_compile "$LINENO"; then :
17584 glibcxx_cv_system_error6=yes
17585 else
17586 glibcxx_cv_system_error6=no
17588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17593 $as_echo "$glibcxx_cv_system_error6" >&6; }
17594 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17596 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17600 $as_echo_n "checking for ENOSTR... " >&6; }
17601 if test "${glibcxx_cv_system_error7+set}" = set; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17607 #include <errno.h>
17609 main ()
17611 int i = ENOSTR;
17613 return 0;
17615 _ACEOF
17616 if ac_fn_c_try_compile "$LINENO"; then :
17617 glibcxx_cv_system_error7=yes
17618 else
17619 glibcxx_cv_system_error7=no
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17626 $as_echo "$glibcxx_cv_system_error7" >&6; }
17627 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17629 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17633 $as_echo_n "checking for ETIME... " >&6; }
17634 if test "${glibcxx_cv_system_error8+set}" = set; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #include <errno.h>
17642 main ()
17644 int i = ETIME;
17646 return 0;
17648 _ACEOF
17649 if ac_fn_c_try_compile "$LINENO"; then :
17650 glibcxx_cv_system_error8=yes
17651 else
17652 glibcxx_cv_system_error8=no
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17659 $as_echo "$glibcxx_cv_system_error8" >&6; }
17660 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17662 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17666 $as_echo_n "checking for EBADMSG... " >&6; }
17667 if test "${glibcxx_cv_system_error9+set}" = set; then :
17668 $as_echo_n "(cached) " >&6
17669 else
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673 #include <errno.h>
17675 main ()
17677 int i = EBADMSG;
17679 return 0;
17681 _ACEOF
17682 if ac_fn_c_try_compile "$LINENO"; then :
17683 glibcxx_cv_system_error9=yes
17684 else
17685 glibcxx_cv_system_error9=no
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17692 $as_echo "$glibcxx_cv_system_error9" >&6; }
17693 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17695 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17699 $as_echo_n "checking for ECANCELED... " >&6; }
17700 if test "${glibcxx_cv_system_error10+set}" = set; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 #include <errno.h>
17708 main ()
17710 int i = ECANCELED;
17712 return 0;
17714 _ACEOF
17715 if ac_fn_c_try_compile "$LINENO"; then :
17716 glibcxx_cv_system_error10=yes
17717 else
17718 glibcxx_cv_system_error10=no
17720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17725 $as_echo "$glibcxx_cv_system_error10" >&6; }
17726 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17728 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17732 $as_echo_n "checking for EOVERFLOW... " >&6; }
17733 if test "${glibcxx_cv_system_error11+set}" = set; then :
17734 $as_echo_n "(cached) " >&6
17735 else
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17739 #include <errno.h>
17741 main ()
17743 int i = EOVERFLOW;
17745 return 0;
17747 _ACEOF
17748 if ac_fn_c_try_compile "$LINENO"; then :
17749 glibcxx_cv_system_error11=yes
17750 else
17751 glibcxx_cv_system_error11=no
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17758 $as_echo "$glibcxx_cv_system_error11" >&6; }
17759 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17761 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17765 $as_echo_n "checking for ENOTSUP... " >&6; }
17766 if test "${glibcxx_cv_system_error12+set}" = set; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17772 #include <errno.h>
17774 main ()
17776 int i = ENOTSUP;
17778 return 0;
17780 _ACEOF
17781 if ac_fn_c_try_compile "$LINENO"; then :
17782 glibcxx_cv_system_error12=yes
17783 else
17784 glibcxx_cv_system_error12=no
17786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17791 $as_echo "$glibcxx_cv_system_error12" >&6; }
17792 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17794 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17798 $as_echo_n "checking for EIDRM... " >&6; }
17799 if test "${glibcxx_cv_system_error13+set}" = set; then :
17800 $as_echo_n "(cached) " >&6
17801 else
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #include <errno.h>
17807 main ()
17809 int i = EIDRM;
17811 return 0;
17813 _ACEOF
17814 if ac_fn_c_try_compile "$LINENO"; then :
17815 glibcxx_cv_system_error13=yes
17816 else
17817 glibcxx_cv_system_error13=no
17819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17824 $as_echo "$glibcxx_cv_system_error13" >&6; }
17825 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17827 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17831 $as_echo_n "checking for ETXTBSY... " >&6; }
17832 if test "${glibcxx_cv_system_error14+set}" = set; then :
17833 $as_echo_n "(cached) " >&6
17834 else
17836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h. */
17838 #include <errno.h>
17840 main ()
17842 int i = ETXTBSY;
17844 return 0;
17846 _ACEOF
17847 if ac_fn_c_try_compile "$LINENO"; then :
17848 glibcxx_cv_system_error14=yes
17849 else
17850 glibcxx_cv_system_error14=no
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17857 $as_echo "$glibcxx_cv_system_error14" >&6; }
17858 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17860 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17864 $as_echo_n "checking for ECHILD... " >&6; }
17865 if test "${glibcxx_cv_system_error15+set}" = set; then :
17866 $as_echo_n "(cached) " >&6
17867 else
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17871 #include <errno.h>
17873 main ()
17875 int i = ECHILD;
17877 return 0;
17879 _ACEOF
17880 if ac_fn_c_try_compile "$LINENO"; then :
17881 glibcxx_cv_system_error15=yes
17882 else
17883 glibcxx_cv_system_error15=no
17885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17890 $as_echo "$glibcxx_cv_system_error15" >&6; }
17891 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17893 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17897 $as_echo_n "checking for ENOSPC... " >&6; }
17898 if test "${glibcxx_cv_system_error16+set}" = set; then :
17899 $as_echo_n "(cached) " >&6
17900 else
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17904 #include <errno.h>
17906 main ()
17908 int i = ENOSPC;
17910 return 0;
17912 _ACEOF
17913 if ac_fn_c_try_compile "$LINENO"; then :
17914 glibcxx_cv_system_error16=yes
17915 else
17916 glibcxx_cv_system_error16=no
17918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17923 $as_echo "$glibcxx_cv_system_error16" >&6; }
17924 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17926 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17930 $as_echo_n "checking for EPERM... " >&6; }
17931 if test "${glibcxx_cv_system_error17+set}" = set; then :
17932 $as_echo_n "(cached) " >&6
17933 else
17935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17937 #include <errno.h>
17939 main ()
17941 int i = EPERM;
17943 return 0;
17945 _ACEOF
17946 if ac_fn_c_try_compile "$LINENO"; then :
17947 glibcxx_cv_system_error17=yes
17948 else
17949 glibcxx_cv_system_error17=no
17951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17956 $as_echo "$glibcxx_cv_system_error17" >&6; }
17957 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17959 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17963 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17964 if test "${glibcxx_cv_system_error18+set}" = set; then :
17965 $as_echo_n "(cached) " >&6
17966 else
17968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h. */
17970 #include <errno.h>
17972 main ()
17974 int i = ETIMEDOUT;
17976 return 0;
17978 _ACEOF
17979 if ac_fn_c_try_compile "$LINENO"; then :
17980 glibcxx_cv_system_error18=yes
17981 else
17982 glibcxx_cv_system_error18=no
17984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17989 $as_echo "$glibcxx_cv_system_error18" >&6; }
17990 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17992 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17996 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17997 if test "${glibcxx_cv_system_error19+set}" = set; then :
17998 $as_echo_n "(cached) " >&6
17999 else
18001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18003 #include <errno.h>
18005 main ()
18007 int i = EWOULDBLOCK;
18009 return 0;
18011 _ACEOF
18012 if ac_fn_c_try_compile "$LINENO"; then :
18013 glibcxx_cv_system_error19=yes
18014 else
18015 glibcxx_cv_system_error19=no
18017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18022 $as_echo "$glibcxx_cv_system_error19" >&6; }
18023 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18025 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18031 # For the streamoff typedef.
18035 ac_ext=cpp
18036 ac_cpp='$CXXCPP $CPPFLAGS'
18037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18043 $as_echo_n "checking for int64_t... " >&6; }
18044 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18045 $as_echo_n "(cached) " >&6
18046 else
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18050 #include <stdint.h>
18052 main ()
18054 int64_t var;
18056 return 0;
18058 _ACEOF
18059 if ac_fn_cxx_try_compile "$LINENO"; then :
18060 glibcxx_cv_INT64_T=yes
18061 else
18062 glibcxx_cv_INT64_T=no
18064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18069 if test $glibcxx_cv_INT64_T = yes; then
18071 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18074 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18077 $as_echo_n "checking for int64_t as long... " >&6; }
18078 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <stdint.h>
18085 template<typename, typename> struct same { enum { value = -1 }; };
18086 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18087 int array[same<int64_t, long>::value];
18089 main ()
18093 return 0;
18095 _ACEOF
18096 if ac_fn_cxx_try_compile "$LINENO"; then :
18097 glibcxx_cv_int64_t_long=yes
18098 else
18099 glibcxx_cv_int64_t_long=no
18101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106 if test $glibcxx_cv_int64_t_long = yes; then
18108 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18111 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18115 $as_echo_n "checking for int64_t as long long... " >&6; }
18116 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18117 $as_echo_n "(cached) " >&6
18118 else
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18122 #include <stdint.h>
18123 template<typename, typename> struct same { enum { value = -1 }; };
18124 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18125 int array[same<int64_t, long long>::value];
18127 main ()
18131 return 0;
18133 _ACEOF
18134 if ac_fn_cxx_try_compile "$LINENO"; then :
18135 glibcxx_cv_int64_t_long_long=yes
18136 else
18137 glibcxx_cv_int64_t_long_long=no
18139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18144 if test $glibcxx_cv_int64_t_long_long = yes; then
18146 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18149 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18153 ac_ext=c
18154 ac_cpp='$CPP $CPPFLAGS'
18155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18161 # For LFS support.
18164 ac_ext=cpp
18165 ac_cpp='$CXXCPP $CPPFLAGS'
18166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18170 ac_save_CXXFLAGS="$CXXFLAGS"
18171 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18173 $as_echo_n "checking for LFS support... " >&6; }
18174 if test "${glibcxx_cv_LFS+set}" = set; then :
18175 $as_echo_n "(cached) " >&6
18176 else
18178 if test x$gcc_no_link = xyes; then
18179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18180 /* end confdefs.h. */
18181 #include <unistd.h>
18182 #include <stdio.h>
18183 #include <sys/stat.h>
18186 main ()
18188 FILE* fp;
18189 fopen64("t", "w");
18190 fseeko64(fp, 0, SEEK_CUR);
18191 ftello64(fp);
18192 lseek64(1, 0, SEEK_CUR);
18193 struct stat64 buf;
18194 fstat64(1, &buf);
18196 return 0;
18198 _ACEOF
18199 if ac_fn_cxx_try_compile "$LINENO"; then :
18200 glibcxx_cv_LFS=yes
18201 else
18202 glibcxx_cv_LFS=no
18204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18205 else
18206 if test x$gcc_no_link = xyes; then
18207 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18210 /* end confdefs.h. */
18211 #include <unistd.h>
18212 #include <stdio.h>
18213 #include <sys/stat.h>
18216 main ()
18218 FILE* fp;
18219 fopen64("t", "w");
18220 fseeko64(fp, 0, SEEK_CUR);
18221 ftello64(fp);
18222 lseek64(1, 0, SEEK_CUR);
18223 struct stat64 buf;
18224 fstat64(1, &buf);
18226 return 0;
18228 _ACEOF
18229 if ac_fn_cxx_try_link "$LINENO"; then :
18230 glibcxx_cv_LFS=yes
18231 else
18232 glibcxx_cv_LFS=no
18234 rm -f core conftest.err conftest.$ac_objext \
18235 conftest$ac_exeext conftest.$ac_ext
18240 if test $glibcxx_cv_LFS = yes; then
18242 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18246 $as_echo "$glibcxx_cv_LFS" >&6; }
18247 CXXFLAGS="$ac_save_CXXFLAGS"
18248 ac_ext=c
18249 ac_cpp='$CPP $CPPFLAGS'
18250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18256 # For showmanyc_helper().
18257 for ac_header in sys/ioctl.h sys/filio.h
18258 do :
18259 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18260 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18261 eval as_val=\$$as_ac_Header
18262 if test "x$as_val" = x""yes; then :
18263 cat >>confdefs.h <<_ACEOF
18264 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18265 _ACEOF
18269 done
18274 ac_ext=cpp
18275 ac_cpp='$CXXCPP $CPPFLAGS'
18276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18280 ac_save_CXXFLAGS="$CXXFLAGS"
18281 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18284 $as_echo_n "checking for poll... " >&6; }
18285 if test "${glibcxx_cv_POLL+set}" = set; then :
18286 $as_echo_n "(cached) " >&6
18287 else
18289 if test x$gcc_no_link = xyes; then
18290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18291 /* end confdefs.h. */
18292 #include <poll.h>
18294 main ()
18296 struct pollfd pfd[1];
18297 pfd[0].events = POLLIN;
18298 poll(pfd, 1, 0);
18300 return 0;
18302 _ACEOF
18303 if ac_fn_cxx_try_compile "$LINENO"; then :
18304 glibcxx_cv_POLL=yes
18305 else
18306 glibcxx_cv_POLL=no
18308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18309 else
18310 if test x$gcc_no_link = xyes; then
18311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18315 #include <poll.h>
18317 main ()
18319 struct pollfd pfd[1];
18320 pfd[0].events = POLLIN;
18321 poll(pfd, 1, 0);
18323 return 0;
18325 _ACEOF
18326 if ac_fn_cxx_try_link "$LINENO"; then :
18327 glibcxx_cv_POLL=yes
18328 else
18329 glibcxx_cv_POLL=no
18331 rm -f core conftest.err conftest.$ac_objext \
18332 conftest$ac_exeext conftest.$ac_ext
18337 if test $glibcxx_cv_POLL = yes; then
18339 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18343 $as_echo "$glibcxx_cv_POLL" >&6; }
18345 CXXFLAGS="$ac_save_CXXFLAGS"
18346 ac_ext=c
18347 ac_cpp='$CPP $CPPFLAGS'
18348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18356 ac_ext=cpp
18357 ac_cpp='$CXXCPP $CPPFLAGS'
18358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18362 ac_save_CXXFLAGS="$CXXFLAGS"
18363 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18366 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18367 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18368 $as_echo_n "(cached) " >&6
18369 else
18371 if test x$gcc_no_link = xyes; then
18372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18373 /* end confdefs.h. */
18374 #include <sys/stat.h>
18376 main ()
18378 struct stat buffer;
18379 fstat(0, &buffer);
18380 S_ISREG(buffer.st_mode);
18382 return 0;
18384 _ACEOF
18385 if ac_fn_cxx_try_compile "$LINENO"; then :
18386 glibcxx_cv_S_ISREG=yes
18387 else
18388 glibcxx_cv_S_ISREG=no
18390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18391 else
18392 if test x$gcc_no_link = xyes; then
18393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #include <sys/stat.h>
18399 main ()
18401 struct stat buffer;
18402 fstat(0, &buffer);
18403 S_ISREG(buffer.st_mode);
18405 return 0;
18407 _ACEOF
18408 if ac_fn_cxx_try_link "$LINENO"; then :
18409 glibcxx_cv_S_ISREG=yes
18410 else
18411 glibcxx_cv_S_ISREG=no
18413 rm -f core conftest.err conftest.$ac_objext \
18414 conftest$ac_exeext conftest.$ac_ext
18419 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18420 $as_echo_n "(cached) " >&6
18421 else
18423 if test x$gcc_no_link = xyes; then
18424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18425 /* end confdefs.h. */
18426 #include <sys/stat.h>
18428 main ()
18430 struct stat buffer;
18431 fstat(0, &buffer);
18432 S_IFREG & buffer.st_mode;
18434 return 0;
18436 _ACEOF
18437 if ac_fn_cxx_try_compile "$LINENO"; then :
18438 glibcxx_cv_S_IFREG=yes
18439 else
18440 glibcxx_cv_S_IFREG=no
18442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18443 else
18444 if test x$gcc_no_link = xyes; then
18445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18449 #include <sys/stat.h>
18451 main ()
18453 struct stat buffer;
18454 fstat(0, &buffer);
18455 S_IFREG & buffer.st_mode;
18457 return 0;
18459 _ACEOF
18460 if ac_fn_cxx_try_link "$LINENO"; then :
18461 glibcxx_cv_S_IFREG=yes
18462 else
18463 glibcxx_cv_S_IFREG=no
18465 rm -f core conftest.err conftest.$ac_objext \
18466 conftest$ac_exeext conftest.$ac_ext
18471 res=no
18472 if test $glibcxx_cv_S_ISREG = yes; then
18474 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18476 res=S_ISREG
18477 elif test $glibcxx_cv_S_IFREG = yes; then
18479 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18481 res=S_IFREG
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18484 $as_echo "$res" >&6; }
18486 CXXFLAGS="$ac_save_CXXFLAGS"
18487 ac_ext=c
18488 ac_cpp='$CPP $CPPFLAGS'
18489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18495 # For xsputn_2().
18496 for ac_header in sys/uio.h
18497 do :
18498 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18499 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18500 cat >>confdefs.h <<_ACEOF
18501 #define HAVE_SYS_UIO_H 1
18502 _ACEOF
18506 done
18511 ac_ext=cpp
18512 ac_cpp='$CXXCPP $CPPFLAGS'
18513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18517 ac_save_CXXFLAGS="$CXXFLAGS"
18518 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18521 $as_echo_n "checking for writev... " >&6; }
18522 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18523 $as_echo_n "(cached) " >&6
18524 else
18526 if test x$gcc_no_link = xyes; then
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 #include <sys/uio.h>
18531 main ()
18533 struct iovec iov[2];
18534 writev(0, iov, 0);
18536 return 0;
18538 _ACEOF
18539 if ac_fn_cxx_try_compile "$LINENO"; then :
18540 glibcxx_cv_WRITEV=yes
18541 else
18542 glibcxx_cv_WRITEV=no
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545 else
18546 if test x$gcc_no_link = xyes; then
18547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 #include <sys/uio.h>
18553 main ()
18555 struct iovec iov[2];
18556 writev(0, iov, 0);
18558 return 0;
18560 _ACEOF
18561 if ac_fn_cxx_try_link "$LINENO"; then :
18562 glibcxx_cv_WRITEV=yes
18563 else
18564 glibcxx_cv_WRITEV=no
18566 rm -f core conftest.err conftest.$ac_objext \
18567 conftest$ac_exeext conftest.$ac_ext
18572 if test $glibcxx_cv_WRITEV = yes; then
18574 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18578 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18580 CXXFLAGS="$ac_save_CXXFLAGS"
18581 ac_ext=c
18582 ac_cpp='$CPP $CPPFLAGS'
18583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18589 # For C99 support to TR1.
18593 ac_ext=cpp
18594 ac_cpp='$CXXCPP $CPPFLAGS'
18595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18600 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18601 # undefined and fake C99 facilities may be spuriously enabled.
18602 ac_save_CXXFLAGS="$CXXFLAGS"
18603 CXXFLAGS="$CXXFLAGS -std=c++98"
18605 # Check for the existence of <complex.h> complex math functions used
18606 # by tr1/complex.
18607 for ac_header in complex.h
18608 do :
18609 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18610 if test "x$ac_cv_header_complex_h" = x""yes; then :
18611 cat >>confdefs.h <<_ACEOF
18612 #define HAVE_COMPLEX_H 1
18613 _ACEOF
18614 ac_has_complex_h=yes
18615 else
18616 ac_has_complex_h=no
18619 done
18621 ac_c99_complex_tr1=no;
18622 if test x"$ac_has_complex_h" = x"yes"; then
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18624 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #include <complex.h>
18629 main ()
18631 typedef __complex__ float float_type; float_type tmpf;
18632 cacosf(tmpf);
18633 casinf(tmpf);
18634 catanf(tmpf);
18635 cacoshf(tmpf);
18636 casinhf(tmpf);
18637 catanhf(tmpf);
18638 typedef __complex__ double double_type; double_type tmpd;
18639 cacos(tmpd);
18640 casin(tmpd);
18641 catan(tmpd);
18642 cacosh(tmpd);
18643 casinh(tmpd);
18644 catanh(tmpd);
18645 typedef __complex__ long double ld_type; ld_type tmpld;
18646 cacosl(tmpld);
18647 casinl(tmpld);
18648 catanl(tmpld);
18649 cacoshl(tmpld);
18650 casinhl(tmpld);
18651 catanhl(tmpld);
18654 return 0;
18656 _ACEOF
18657 if ac_fn_cxx_try_compile "$LINENO"; then :
18658 ac_c99_complex_tr1=yes
18659 else
18660 ac_c99_complex_tr1=no
18662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18665 $as_echo "$ac_c99_complex_tr1" >&6; }
18666 if test x"$ac_c99_complex_tr1" = x"yes"; then
18668 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18672 # Check for the existence of <ctype.h> functions.
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18674 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18675 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18676 $as_echo_n "(cached) " >&6
18677 else
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 #include <ctype.h>
18683 main ()
18685 int ch;
18686 int ret;
18687 ret = isblank(ch);
18690 return 0;
18692 _ACEOF
18693 if ac_fn_cxx_try_compile "$LINENO"; then :
18694 glibcxx_cv_c99_ctype_tr1=yes
18695 else
18696 glibcxx_cv_c99_ctype_tr1=no
18698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18703 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18704 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18706 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18710 # Check for the existence of <fenv.h> functions.
18711 for ac_header in fenv.h
18712 do :
18713 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18714 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18715 cat >>confdefs.h <<_ACEOF
18716 #define HAVE_FENV_H 1
18717 _ACEOF
18718 ac_has_fenv_h=yes
18719 else
18720 ac_has_fenv_h=no
18723 done
18725 ac_c99_fenv_tr1=no;
18726 if test x"$ac_has_fenv_h" = x"yes"; then
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18728 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #include <fenv.h>
18733 main ()
18735 int except, mode;
18736 fexcept_t* pflag;
18737 fenv_t* penv;
18738 int ret;
18739 ret = feclearexcept(except);
18740 ret = fegetexceptflag(pflag, except);
18741 ret = feraiseexcept(except);
18742 ret = fesetexceptflag(pflag, except);
18743 ret = fetestexcept(except);
18744 ret = fegetround();
18745 ret = fesetround(mode);
18746 ret = fegetenv(penv);
18747 ret = feholdexcept(penv);
18748 ret = fesetenv(penv);
18749 ret = feupdateenv(penv);
18752 return 0;
18754 _ACEOF
18755 if ac_fn_cxx_try_compile "$LINENO"; then :
18756 ac_c99_fenv_tr1=yes
18757 else
18758 ac_c99_fenv_tr1=no
18760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18763 $as_echo "$ac_c99_fenv_tr1" >&6; }
18764 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18766 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18770 # Check for the existence of <stdint.h> types.
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18772 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18773 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18774 $as_echo_n "(cached) " >&6
18775 else
18777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18778 /* end confdefs.h. */
18779 #define __STDC_LIMIT_MACROS
18780 #define __STDC_CONSTANT_MACROS
18781 #include <stdint.h>
18783 main ()
18785 typedef int8_t my_int8_t;
18786 my_int8_t i8 = INT8_MIN;
18787 i8 = INT8_MAX;
18788 typedef int16_t my_int16_t;
18789 my_int16_t i16 = INT16_MIN;
18790 i16 = INT16_MAX;
18791 typedef int32_t my_int32_t;
18792 my_int32_t i32 = INT32_MIN;
18793 i32 = INT32_MAX;
18794 typedef int64_t my_int64_t;
18795 my_int64_t i64 = INT64_MIN;
18796 i64 = INT64_MAX;
18797 typedef int_fast8_t my_int_fast8_t;
18798 my_int_fast8_t if8 = INT_FAST8_MIN;
18799 if8 = INT_FAST8_MAX;
18800 typedef int_fast16_t my_int_fast16_t;
18801 my_int_fast16_t if16 = INT_FAST16_MIN;
18802 if16 = INT_FAST16_MAX;
18803 typedef int_fast32_t my_int_fast32_t;
18804 my_int_fast32_t if32 = INT_FAST32_MIN;
18805 if32 = INT_FAST32_MAX;
18806 typedef int_fast64_t my_int_fast64_t;
18807 my_int_fast64_t if64 = INT_FAST64_MIN;
18808 if64 = INT_FAST64_MAX;
18809 typedef int_least8_t my_int_least8_t;
18810 my_int_least8_t il8 = INT_LEAST8_MIN;
18811 il8 = INT_LEAST8_MAX;
18812 typedef int_least16_t my_int_least16_t;
18813 my_int_least16_t il16 = INT_LEAST16_MIN;
18814 il16 = INT_LEAST16_MAX;
18815 typedef int_least32_t my_int_least32_t;
18816 my_int_least32_t il32 = INT_LEAST32_MIN;
18817 il32 = INT_LEAST32_MAX;
18818 typedef int_least64_t my_int_least64_t;
18819 my_int_least64_t il64 = INT_LEAST64_MIN;
18820 il64 = INT_LEAST64_MAX;
18821 typedef intmax_t my_intmax_t;
18822 my_intmax_t im = INTMAX_MAX;
18823 im = INTMAX_MIN;
18824 typedef intptr_t my_intptr_t;
18825 my_intptr_t ip = INTPTR_MAX;
18826 ip = INTPTR_MIN;
18827 typedef uint8_t my_uint8_t;
18828 my_uint8_t ui8 = UINT8_MAX;
18829 ui8 = UINT8_MAX;
18830 typedef uint16_t my_uint16_t;
18831 my_uint16_t ui16 = UINT16_MAX;
18832 ui16 = UINT16_MAX;
18833 typedef uint32_t my_uint32_t;
18834 my_uint32_t ui32 = UINT32_MAX;
18835 ui32 = UINT32_MAX;
18836 typedef uint64_t my_uint64_t;
18837 my_uint64_t ui64 = UINT64_MAX;
18838 ui64 = UINT64_MAX;
18839 typedef uint_fast8_t my_uint_fast8_t;
18840 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18841 uif8 = UINT_FAST8_MAX;
18842 typedef uint_fast16_t my_uint_fast16_t;
18843 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18844 uif16 = UINT_FAST16_MAX;
18845 typedef uint_fast32_t my_uint_fast32_t;
18846 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18847 uif32 = UINT_FAST32_MAX;
18848 typedef uint_fast64_t my_uint_fast64_t;
18849 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18850 uif64 = UINT_FAST64_MAX;
18851 typedef uint_least8_t my_uint_least8_t;
18852 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18853 uil8 = UINT_LEAST8_MAX;
18854 typedef uint_least16_t my_uint_least16_t;
18855 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18856 uil16 = UINT_LEAST16_MAX;
18857 typedef uint_least32_t my_uint_least32_t;
18858 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18859 uil32 = UINT_LEAST32_MAX;
18860 typedef uint_least64_t my_uint_least64_t;
18861 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18862 uil64 = UINT_LEAST64_MAX;
18863 typedef uintmax_t my_uintmax_t;
18864 my_uintmax_t uim = UINTMAX_MAX;
18865 uim = UINTMAX_MAX;
18866 typedef uintptr_t my_uintptr_t;
18867 my_uintptr_t uip = UINTPTR_MAX;
18868 uip = UINTPTR_MAX;
18871 return 0;
18873 _ACEOF
18874 if ac_fn_cxx_try_compile "$LINENO"; then :
18875 glibcxx_cv_c99_stdint_tr1=yes
18876 else
18877 glibcxx_cv_c99_stdint_tr1=no
18879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18884 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18885 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18887 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18891 # Check for the existence of <math.h> functions.
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18893 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18894 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18895 $as_echo_n "(cached) " >&6
18896 else
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 #include <math.h>
18902 main ()
18904 typedef double_t my_double_t;
18905 typedef float_t my_float_t;
18906 acosh(0.0);
18907 acoshf(0.0f);
18908 acoshl(0.0l);
18909 asinh(0.0);
18910 asinhf(0.0f);
18911 asinhl(0.0l);
18912 atanh(0.0);
18913 atanhf(0.0f);
18914 atanhl(0.0l);
18915 cbrt(0.0);
18916 cbrtf(0.0f);
18917 cbrtl(0.0l);
18918 copysign(0.0, 0.0);
18919 copysignf(0.0f, 0.0f);
18920 copysignl(0.0l, 0.0l);
18921 erf(0.0);
18922 erff(0.0f);
18923 erfl(0.0l);
18924 erfc(0.0);
18925 erfcf(0.0f);
18926 erfcl(0.0l);
18927 exp2(0.0);
18928 exp2f(0.0f);
18929 exp2l(0.0l);
18930 expm1(0.0);
18931 expm1f(0.0f);
18932 expm1l(0.0l);
18933 fdim(0.0, 0.0);
18934 fdimf(0.0f, 0.0f);
18935 fdiml(0.0l, 0.0l);
18936 fma(0.0, 0.0, 0.0);
18937 fmaf(0.0f, 0.0f, 0.0f);
18938 fmal(0.0l, 0.0l, 0.0l);
18939 fmax(0.0, 0.0);
18940 fmaxf(0.0f, 0.0f);
18941 fmaxl(0.0l, 0.0l);
18942 fmin(0.0, 0.0);
18943 fminf(0.0f, 0.0f);
18944 fminl(0.0l, 0.0l);
18945 hypot(0.0, 0.0);
18946 hypotf(0.0f, 0.0f);
18947 hypotl(0.0l, 0.0l);
18948 ilogb(0.0);
18949 ilogbf(0.0f);
18950 ilogbl(0.0l);
18951 lgamma(0.0);
18952 lgammaf(0.0f);
18953 lgammal(0.0l);
18954 llrint(0.0);
18955 llrintf(0.0f);
18956 llrintl(0.0l);
18957 llround(0.0);
18958 llroundf(0.0f);
18959 llroundl(0.0l);
18960 log1p(0.0);
18961 log1pf(0.0f);
18962 log1pl(0.0l);
18963 log2(0.0);
18964 log2f(0.0f);
18965 log2l(0.0l);
18966 logb(0.0);
18967 logbf(0.0f);
18968 logbl(0.0l);
18969 lrint(0.0);
18970 lrintf(0.0f);
18971 lrintl(0.0l);
18972 lround(0.0);
18973 lroundf(0.0f);
18974 lroundl(0.0l);
18975 nan(0);
18976 nanf(0);
18977 nanl(0);
18978 nearbyint(0.0);
18979 nearbyintf(0.0f);
18980 nearbyintl(0.0l);
18981 nextafter(0.0, 0.0);
18982 nextafterf(0.0f, 0.0f);
18983 nextafterl(0.0l, 0.0l);
18984 nexttoward(0.0, 0.0);
18985 nexttowardf(0.0f, 0.0f);
18986 nexttowardl(0.0l, 0.0l);
18987 remainder(0.0, 0.0);
18988 remainderf(0.0f, 0.0f);
18989 remainderl(0.0l, 0.0l);
18990 remquo(0.0, 0.0, 0);
18991 remquof(0.0f, 0.0f, 0);
18992 remquol(0.0l, 0.0l, 0);
18993 rint(0.0);
18994 rintf(0.0f);
18995 rintl(0.0l);
18996 round(0.0);
18997 roundf(0.0f);
18998 roundl(0.0l);
18999 scalbln(0.0, 0l);
19000 scalblnf(0.0f, 0l);
19001 scalblnl(0.0l, 0l);
19002 scalbn(0.0, 0);
19003 scalbnf(0.0f, 0);
19004 scalbnl(0.0l, 0);
19005 tgamma(0.0);
19006 tgammaf(0.0f);
19007 tgammal(0.0l);
19008 trunc(0.0);
19009 truncf(0.0f);
19010 truncl(0.0l);
19013 return 0;
19015 _ACEOF
19016 if ac_fn_cxx_try_compile "$LINENO"; then :
19017 glibcxx_cv_c99_math_tr1=yes
19018 else
19019 glibcxx_cv_c99_math_tr1=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19026 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19027 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19029 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19033 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19034 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19035 ac_c99_inttypes_tr1=no;
19036 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19038 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19041 #include <inttypes.h>
19043 main ()
19045 intmax_t i, numer, denom, base;
19046 const char* s;
19047 char** endptr;
19048 intmax_t ret = imaxabs(i);
19049 imaxdiv_t dret = imaxdiv(numer, denom);
19050 ret = strtoimax(s, endptr, base);
19051 uintmax_t uret = strtoumax(s, endptr, base);
19054 return 0;
19056 _ACEOF
19057 if ac_fn_cxx_try_compile "$LINENO"; then :
19058 ac_c99_inttypes_tr1=yes
19059 else
19060 ac_c99_inttypes_tr1=no
19062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19065 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19066 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19068 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19072 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19073 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19074 ac_c99_inttypes_wchar_t_tr1=no;
19075 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19077 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 #include <inttypes.h>
19082 main ()
19084 intmax_t base;
19085 const wchar_t* s;
19086 wchar_t** endptr;
19087 intmax_t ret = wcstoimax(s, endptr, base);
19088 uintmax_t uret = wcstoumax(s, endptr, base);
19091 return 0;
19093 _ACEOF
19094 if ac_fn_cxx_try_compile "$LINENO"; then :
19095 ac_c99_inttypes_wchar_t_tr1=yes
19096 else
19097 ac_c99_inttypes_wchar_t_tr1=no
19099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19102 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19103 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19105 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19109 # Check for the existence of the <stdbool.h> header.
19110 for ac_header in stdbool.h
19111 do :
19112 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19113 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_STDBOOL_H 1
19116 _ACEOF
19120 done
19123 CXXFLAGS="$ac_save_CXXFLAGS"
19124 ac_ext=c
19125 ac_cpp='$CPP $CPPFLAGS'
19126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19132 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19136 $as_echo_n "checking for the value of EOF... " >&6; }
19137 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19138 $as_echo_n "(cached) " >&6
19139 else
19141 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19143 else
19144 as_fn_error "computing EOF failed" "$LINENO" 5
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19150 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19152 cat >>confdefs.h <<_ACEOF
19153 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19154 _ACEOF
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19158 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19159 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19160 $as_echo_n "(cached) " >&6
19161 else
19163 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19165 else
19166 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19172 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19174 cat >>confdefs.h <<_ACEOF
19175 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19176 _ACEOF
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19180 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19181 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19182 $as_echo_n "(cached) " >&6
19183 else
19185 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19187 else
19188 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19194 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19196 cat >>confdefs.h <<_ACEOF
19197 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19198 _ACEOF
19202 # For gettimeofday support.
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19206 $as_echo_n "checking for gettimeofday... " >&6; }
19209 ac_ext=cpp
19210 ac_cpp='$CXXCPP $CPPFLAGS'
19211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19215 ac_save_CXXFLAGS="$CXXFLAGS"
19216 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19218 ac_has_gettimeofday=no;
19219 for ac_header in sys/time.h
19220 do :
19221 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19222 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_SYS_TIME_H 1
19225 _ACEOF
19226 ac_has_sys_time_h=yes
19227 else
19228 ac_has_sys_time_h=no
19231 done
19233 if test x"$ac_has_sys_time_h" = x"yes"; then
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19235 $as_echo_n "checking for gettimeofday... " >&6; }
19236 if test x$gcc_no_link = xyes; then
19237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19239 #include <sys/time.h>
19241 main ()
19243 timeval tv; gettimeofday(&tv, 0);
19245 return 0;
19247 _ACEOF
19248 if ac_fn_cxx_try_compile "$LINENO"; then :
19249 ac_has_gettimeofday=yes
19250 else
19251 ac_has_gettimeofday=no
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 else
19255 if test x$gcc_no_link = xyes; then
19256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19260 #include <sys/time.h>
19262 main ()
19264 timeval tv; gettimeofday(&tv, 0);
19266 return 0;
19268 _ACEOF
19269 if ac_fn_cxx_try_link "$LINENO"; then :
19270 ac_has_gettimeofday=yes
19271 else
19272 ac_has_gettimeofday=no
19274 rm -f core conftest.err conftest.$ac_objext \
19275 conftest$ac_exeext conftest.$ac_ext
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19279 $as_echo "$ac_has_gettimeofday" >&6; }
19282 if test x"$ac_has_gettimeofday" = x"yes"; then
19284 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19288 CXXFLAGS="$ac_save_CXXFLAGS"
19289 ac_ext=c
19290 ac_cpp='$CPP $CPPFLAGS'
19291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19297 # For clock_gettime, nanosleep and sched_yield support.
19298 # NB: The default is [no], because otherwise it requires linking.
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19302 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19303 # Check whether --enable-libstdcxx-time was given.
19304 if test "${enable_libstdcxx_time+set}" = set; then :
19305 enableval=$enable_libstdcxx_time;
19306 case "$enableval" in
19307 yes|no|rt) ;;
19308 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19309 esac
19311 else
19312 enable_libstdcxx_time=no
19318 ac_ext=cpp
19319 ac_cpp='$CXXCPP $CPPFLAGS'
19320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19324 ac_save_CXXFLAGS="$CXXFLAGS"
19325 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19326 ac_save_LIBS="$LIBS"
19328 ac_has_clock_monotonic=no
19329 ac_has_clock_realtime=no
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19331 $as_echo "$enable_libstdcxx_time" >&6; }
19333 if test x"$enable_libstdcxx_time" != x"no"; then
19335 if test x"$enable_libstdcxx_time" = x"rt"; then
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19337 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19338 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19339 $as_echo_n "(cached) " >&6
19340 else
19341 ac_func_search_save_LIBS=$LIBS
19342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19345 /* Override any GCC internal prototype to avoid an error.
19346 Use char because int might match the return type of a GCC
19347 builtin and then its argument prototype would still apply. */
19348 #ifdef __cplusplus
19349 extern "C"
19350 #endif
19351 char clock_gettime ();
19353 main ()
19355 return clock_gettime ();
19357 return 0;
19359 _ACEOF
19360 for ac_lib in '' rt posix4; do
19361 if test -z "$ac_lib"; then
19362 ac_res="none required"
19363 else
19364 ac_res=-l$ac_lib
19365 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19367 if test x$gcc_no_link = xyes; then
19368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19370 if ac_fn_cxx_try_link "$LINENO"; then :
19371 ac_cv_search_clock_gettime=$ac_res
19373 rm -f core conftest.err conftest.$ac_objext \
19374 conftest$ac_exeext
19375 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19376 break
19378 done
19379 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19381 else
19382 ac_cv_search_clock_gettime=no
19384 rm conftest.$ac_ext
19385 LIBS=$ac_func_search_save_LIBS
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19388 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19389 ac_res=$ac_cv_search_clock_gettime
19390 if test "$ac_res" != no; then :
19391 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19396 $as_echo_n "checking for library containing nanosleep... " >&6; }
19397 if test "${ac_cv_search_nanosleep+set}" = set; then :
19398 $as_echo_n "(cached) " >&6
19399 else
19400 ac_func_search_save_LIBS=$LIBS
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19404 /* Override any GCC internal prototype to avoid an error.
19405 Use char because int might match the return type of a GCC
19406 builtin and then its argument prototype would still apply. */
19407 #ifdef __cplusplus
19408 extern "C"
19409 #endif
19410 char nanosleep ();
19412 main ()
19414 return nanosleep ();
19416 return 0;
19418 _ACEOF
19419 for ac_lib in '' rt posix4; do
19420 if test -z "$ac_lib"; then
19421 ac_res="none required"
19422 else
19423 ac_res=-l$ac_lib
19424 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19426 if test x$gcc_no_link = xyes; then
19427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19429 if ac_fn_cxx_try_link "$LINENO"; then :
19430 ac_cv_search_nanosleep=$ac_res
19432 rm -f core conftest.err conftest.$ac_objext \
19433 conftest$ac_exeext
19434 if test "${ac_cv_search_nanosleep+set}" = set; then :
19435 break
19437 done
19438 if test "${ac_cv_search_nanosleep+set}" = set; then :
19440 else
19441 ac_cv_search_nanosleep=no
19443 rm conftest.$ac_ext
19444 LIBS=$ac_func_search_save_LIBS
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19447 $as_echo "$ac_cv_search_nanosleep" >&6; }
19448 ac_res=$ac_cv_search_nanosleep
19449 if test "$ac_res" != no; then :
19450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19454 else
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19456 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19457 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19458 $as_echo_n "(cached) " >&6
19459 else
19460 ac_func_search_save_LIBS=$LIBS
19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19464 /* Override any GCC internal prototype to avoid an error.
19465 Use char because int might match the return type of a GCC
19466 builtin and then its argument prototype would still apply. */
19467 #ifdef __cplusplus
19468 extern "C"
19469 #endif
19470 char clock_gettime ();
19472 main ()
19474 return clock_gettime ();
19476 return 0;
19478 _ACEOF
19479 for ac_lib in '' posix4; do
19480 if test -z "$ac_lib"; then
19481 ac_res="none required"
19482 else
19483 ac_res=-l$ac_lib
19484 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19486 if test x$gcc_no_link = xyes; then
19487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19489 if ac_fn_cxx_try_link "$LINENO"; then :
19490 ac_cv_search_clock_gettime=$ac_res
19492 rm -f core conftest.err conftest.$ac_objext \
19493 conftest$ac_exeext
19494 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19495 break
19497 done
19498 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19500 else
19501 ac_cv_search_clock_gettime=no
19503 rm conftest.$ac_ext
19504 LIBS=$ac_func_search_save_LIBS
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19507 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19508 ac_res=$ac_cv_search_clock_gettime
19509 if test "$ac_res" != no; then :
19510 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19515 $as_echo_n "checking for library containing nanosleep... " >&6; }
19516 if test "${ac_cv_search_nanosleep+set}" = set; then :
19517 $as_echo_n "(cached) " >&6
19518 else
19519 ac_func_search_save_LIBS=$LIBS
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19523 /* Override any GCC internal prototype to avoid an error.
19524 Use char because int might match the return type of a GCC
19525 builtin and then its argument prototype would still apply. */
19526 #ifdef __cplusplus
19527 extern "C"
19528 #endif
19529 char nanosleep ();
19531 main ()
19533 return nanosleep ();
19535 return 0;
19537 _ACEOF
19538 for ac_lib in '' posix4; do
19539 if test -z "$ac_lib"; then
19540 ac_res="none required"
19541 else
19542 ac_res=-l$ac_lib
19543 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19545 if test x$gcc_no_link = xyes; then
19546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19548 if ac_fn_cxx_try_link "$LINENO"; then :
19549 ac_cv_search_nanosleep=$ac_res
19551 rm -f core conftest.err conftest.$ac_objext \
19552 conftest$ac_exeext
19553 if test "${ac_cv_search_nanosleep+set}" = set; then :
19554 break
19556 done
19557 if test "${ac_cv_search_nanosleep+set}" = set; then :
19559 else
19560 ac_cv_search_nanosleep=no
19562 rm conftest.$ac_ext
19563 LIBS=$ac_func_search_save_LIBS
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19566 $as_echo "$ac_cv_search_nanosleep" >&6; }
19567 ac_res=$ac_cv_search_nanosleep
19568 if test "$ac_res" != no; then :
19569 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19575 case "$ac_cv_search_clock_gettime" in
19576 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19578 esac
19579 case "$ac_cv_search_nanosleep" in
19580 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19582 esac
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19585 $as_echo_n "checking for library containing sched_yield... " >&6; }
19586 if test "${ac_cv_search_sched_yield+set}" = set; then :
19587 $as_echo_n "(cached) " >&6
19588 else
19589 ac_func_search_save_LIBS=$LIBS
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19593 /* Override any GCC internal prototype to avoid an error.
19594 Use char because int might match the return type of a GCC
19595 builtin and then its argument prototype would still apply. */
19596 #ifdef __cplusplus
19597 extern "C"
19598 #endif
19599 char sched_yield ();
19601 main ()
19603 return sched_yield ();
19605 return 0;
19607 _ACEOF
19608 for ac_lib in '' rt posix4; do
19609 if test -z "$ac_lib"; then
19610 ac_res="none required"
19611 else
19612 ac_res=-l$ac_lib
19613 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19615 if test x$gcc_no_link = xyes; then
19616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19618 if ac_fn_cxx_try_link "$LINENO"; then :
19619 ac_cv_search_sched_yield=$ac_res
19621 rm -f core conftest.err conftest.$ac_objext \
19622 conftest$ac_exeext
19623 if test "${ac_cv_search_sched_yield+set}" = set; then :
19624 break
19626 done
19627 if test "${ac_cv_search_sched_yield+set}" = set; then :
19629 else
19630 ac_cv_search_sched_yield=no
19632 rm conftest.$ac_ext
19633 LIBS=$ac_func_search_save_LIBS
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19636 $as_echo "$ac_cv_search_sched_yield" >&6; }
19637 ac_res=$ac_cv_search_sched_yield
19638 if test "$ac_res" != no; then :
19639 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19644 case "$ac_cv_search_sched_yield" in
19645 -lposix4*)
19646 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19648 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19651 -lrt*)
19652 if test x"$enable_libstdcxx_time" = x"rt"; then
19653 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19655 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19661 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19664 esac
19666 for ac_header in unistd.h
19667 do :
19668 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19669 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19670 cat >>confdefs.h <<_ACEOF
19671 #define HAVE_UNISTD_H 1
19672 _ACEOF
19673 ac_has_unistd_h=yes
19674 else
19675 ac_has_unistd_h=no
19678 done
19681 if test x"$ac_has_unistd_h" = x"yes"; then
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19683 $as_echo_n "checking for monotonic clock... " >&6; }
19684 if test x$gcc_no_link = xyes; then
19685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h. */
19689 #include <unistd.h>
19690 #include <time.h>
19693 main ()
19695 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19696 timespec tp;
19697 #endif
19698 clock_gettime(CLOCK_MONOTONIC, &tp);
19701 return 0;
19703 _ACEOF
19704 if ac_fn_cxx_try_link "$LINENO"; then :
19705 ac_has_clock_monotonic=yes
19706 else
19707 ac_has_clock_monotonic=no
19709 rm -f core conftest.err conftest.$ac_objext \
19710 conftest$ac_exeext conftest.$ac_ext
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19713 $as_echo "$ac_has_clock_monotonic" >&6; }
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19716 $as_echo_n "checking for realtime clock... " >&6; }
19717 if test x$gcc_no_link = xyes; then
19718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19722 #include <unistd.h>
19723 #include <time.h>
19726 main ()
19728 #if _POSIX_TIMERS > 0
19729 timespec tp;
19730 #endif
19731 clock_gettime(CLOCK_REALTIME, &tp);
19734 return 0;
19736 _ACEOF
19737 if ac_fn_cxx_try_link "$LINENO"; then :
19738 ac_has_clock_realtime=yes
19739 else
19740 ac_has_clock_realtime=no
19742 rm -f core conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19746 $as_echo "$ac_has_clock_realtime" >&6; }
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19749 $as_echo_n "checking for nanosleep... " >&6; }
19750 if test x$gcc_no_link = xyes; then
19751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 #include <unistd.h>
19756 #include <time.h>
19759 main ()
19761 #if _POSIX_TIMERS > 0
19762 timespec tp;
19763 #endif
19764 nanosleep(&tp, 0);
19767 return 0;
19769 _ACEOF
19770 if ac_fn_cxx_try_link "$LINENO"; then :
19771 ac_has_nanosleep=yes
19772 else
19773 ac_has_nanosleep=no
19775 rm -f core conftest.err conftest.$ac_objext \
19776 conftest$ac_exeext conftest.$ac_ext
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19779 $as_echo "$ac_has_nanosleep" >&6; }
19783 if test x"$ac_has_clock_monotonic" = x"yes"; then
19785 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19789 if test x"$ac_has_clock_realtime" = x"yes"; then
19791 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19795 if test x"$ac_has_nanosleep" = x"yes"; then
19797 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19803 CXXFLAGS="$ac_save_CXXFLAGS"
19804 LIBS="$ac_save_LIBS"
19805 ac_ext=c
19806 ac_cpp='$CPP $CPPFLAGS'
19807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19813 # For gthread support
19816 ac_ext=cpp
19817 ac_cpp='$CXXCPP $CPPFLAGS'
19818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19823 ac_save_CXXFLAGS="$CXXFLAGS"
19824 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19826 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19827 case $target_thread_file in
19828 posix)
19829 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19830 esac
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
19833 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19837 #include <unistd.h>
19839 main ()
19842 // In case of POSIX threads check _POSIX_TIMEOUTS.
19843 #if (defined(_PTHREADS) \
19844 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19845 #error
19846 #endif
19849 return 0;
19851 _ACEOF
19852 if ac_fn_cxx_try_compile "$LINENO"; then :
19853 ac_gthread_use_mutex_timedlock=1
19854 else
19855 ac_gthread_use_mutex_timedlock=0
19857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19860 cat >>confdefs.h <<_ACEOF
19861 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19862 _ACEOF
19865 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19866 else res_mutex_timedlock=no ; fi
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19868 $as_echo "$res_mutex_timedlock" >&6; }
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19871 $as_echo_n "checking for gthreads library... " >&6; }
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875 #include "gthr.h"
19877 main ()
19880 #ifndef __GTHREADS_CXX0X
19881 #error
19882 #endif
19885 return 0;
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889 ac_has_gthreads=yes
19890 else
19891 ac_has_gthreads=no
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19896 $as_echo "$ac_has_gthreads" >&6; }
19898 if test x"$ac_has_gthreads" = x"yes"; then
19900 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19904 CXXFLAGS="$ac_save_CXXFLAGS"
19905 ac_ext=c
19906 ac_cpp='$CPP $CPPFLAGS'
19907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19914 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19915 if test "x$ac_cv_header_locale_h" = x""yes; then :
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19918 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19919 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19920 $as_echo_n "(cached) " >&6
19921 else
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 #include <locale.h>
19926 main ()
19928 return LC_MESSAGES
19930 return 0;
19932 _ACEOF
19933 if ac_fn_c_try_compile "$LINENO"; then :
19934 ac_cv_val_LC_MESSAGES=yes
19935 else
19936 ac_cv_val_LC_MESSAGES=no
19938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19941 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19942 if test $ac_cv_val_LC_MESSAGES = yes; then
19944 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19953 # For hardware_concurrency
19954 for ac_header in sys/sysinfo.h
19955 do :
19956 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19957 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19958 cat >>confdefs.h <<_ACEOF
19959 #define HAVE_SYS_SYSINFO_H 1
19960 _ACEOF
19964 done
19969 ac_ext=cpp
19970 ac_cpp='$CXXCPP $CPPFLAGS'
19971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19975 ac_save_CXXFLAGS="$CXXFLAGS"
19976 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19979 $as_echo_n "checking for get_nprocs... " >&6; }
19980 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19981 $as_echo_n "(cached) " >&6
19982 else
19984 if test x$gcc_no_link = xyes; then
19985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19986 /* end confdefs.h. */
19987 #include <sys/sysinfo.h>
19989 main ()
19991 int n = get_nprocs();
19993 return 0;
19995 _ACEOF
19996 if ac_fn_cxx_try_compile "$LINENO"; then :
19997 glibcxx_cv_GET_NPROCS=yes
19998 else
19999 glibcxx_cv_GET_NPROCS=no
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20002 else
20003 if test x$gcc_no_link = xyes; then
20004 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20008 #include <sys/sysinfo.h>
20010 main ()
20012 int n = get_nprocs();
20014 return 0;
20016 _ACEOF
20017 if ac_fn_cxx_try_link "$LINENO"; then :
20018 glibcxx_cv_GET_NPROCS=yes
20019 else
20020 glibcxx_cv_GET_NPROCS=no
20022 rm -f core conftest.err conftest.$ac_objext \
20023 conftest$ac_exeext conftest.$ac_ext
20028 if test $glibcxx_cv_GET_NPROCS = yes; then
20030 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20034 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20036 CXXFLAGS="$ac_save_CXXFLAGS"
20037 ac_ext=c
20038 ac_cpp='$CPP $CPPFLAGS'
20039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20044 for ac_header in unistd.h
20045 do :
20046 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20047 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20048 cat >>confdefs.h <<_ACEOF
20049 #define HAVE_UNISTD_H 1
20050 _ACEOF
20054 done
20059 ac_ext=cpp
20060 ac_cpp='$CXXCPP $CPPFLAGS'
20061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20065 ac_save_CXXFLAGS="$CXXFLAGS"
20066 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20069 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20070 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20071 $as_echo_n "(cached) " >&6
20072 else
20074 if test x$gcc_no_link = xyes; then
20075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20076 /* end confdefs.h. */
20077 #include <unistd.h>
20079 main ()
20081 int n = sysconf(_SC_NPROCESSORS_ONLN);
20083 return 0;
20085 _ACEOF
20086 if ac_fn_cxx_try_compile "$LINENO"; then :
20087 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20088 else
20089 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20092 else
20093 if test x$gcc_no_link = xyes; then
20094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20097 /* end confdefs.h. */
20098 #include <unistd.h>
20100 main ()
20102 int n = sysconf(_SC_NPROCESSORS_ONLN);
20104 return 0;
20106 _ACEOF
20107 if ac_fn_cxx_try_link "$LINENO"; then :
20108 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20109 else
20110 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20112 rm -f core conftest.err conftest.$ac_objext \
20113 conftest$ac_exeext conftest.$ac_ext
20118 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20120 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20124 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20126 CXXFLAGS="$ac_save_CXXFLAGS"
20127 ac_ext=c
20128 ac_cpp='$CPP $CPPFLAGS'
20129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20135 # Check for available headers.
20136 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20137 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20138 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20139 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20140 wchar.h wctype.h
20141 do :
20142 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20143 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20144 eval as_val=\$$as_ac_Header
20145 if test "x$as_val" = x""yes; then :
20146 cat >>confdefs.h <<_ACEOF
20147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20148 _ACEOF
20152 done
20155 # Only do link tests if native. Else, hardcode.
20156 if $GLIBCXX_IS_NATIVE; then
20158 # We can do more elaborate tests that assume a working linker.
20159 CANADIAN=no
20163 # Check whether --with-gnu-ld was given.
20164 if test "${with_gnu_ld+set}" = set; then :
20165 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20166 else
20167 with_gnu_ld=no
20170 ac_prog=ld
20171 if test "$GCC" = yes; then
20172 # Check if gcc -print-prog-name=ld gives a path.
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20174 $as_echo_n "checking for ld used by $CC... " >&6; }
20175 case $host in
20176 *-*-mingw*)
20177 # gcc leaves a trailing carriage return which upsets mingw
20178 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20180 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20181 esac
20182 case $ac_prog in
20183 # Accept absolute paths.
20184 [\\/]* | ?:[\\/]*)
20185 re_direlt='/[^/][^/]*/\.\./'
20186 # Canonicalize the pathname of ld
20187 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20188 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20189 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20190 done
20191 test -z "$LD" && LD="$ac_prog"
20194 # If it fails, then pretend we aren't using GCC.
20195 ac_prog=ld
20198 # If it is relative, then search for the first ld in PATH.
20199 with_gnu_ld=unknown
20201 esac
20202 elif test "$with_gnu_ld" = yes; then
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20204 $as_echo_n "checking for GNU ld... " >&6; }
20205 else
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20207 $as_echo_n "checking for non-GNU ld... " >&6; }
20209 if test "${lt_cv_path_LD+set}" = set; then :
20210 $as_echo_n "(cached) " >&6
20211 else
20212 if test -z "$LD"; then
20213 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20214 for ac_dir in $PATH; do
20215 IFS="$lt_save_ifs"
20216 test -z "$ac_dir" && ac_dir=.
20217 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20218 lt_cv_path_LD="$ac_dir/$ac_prog"
20219 # Check to see if the program is GNU ld. I'd rather use --version,
20220 # but apparently some variants of GNU ld only accept -v.
20221 # Break only if it was the GNU/non-GNU ld that we prefer.
20222 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20223 *GNU* | *'with BFD'*)
20224 test "$with_gnu_ld" != no && break
20227 test "$with_gnu_ld" != yes && break
20229 esac
20231 done
20232 IFS="$lt_save_ifs"
20233 else
20234 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20238 LD="$lt_cv_path_LD"
20239 if test -n "$LD"; then
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20241 $as_echo "$LD" >&6; }
20242 else
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20244 $as_echo "no" >&6; }
20246 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20248 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20249 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20250 $as_echo_n "(cached) " >&6
20251 else
20252 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20253 case `$LD -v 2>&1 </dev/null` in
20254 *GNU* | *'with BFD'*)
20255 lt_cv_prog_gnu_ld=yes
20258 lt_cv_prog_gnu_ld=no
20260 esac
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20263 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20264 with_gnu_ld=$lt_cv_prog_gnu_ld
20272 # If we're not using GNU ld, then there's no point in even trying these
20273 # tests. Check for that first. We should have already tested for gld
20274 # by now (in libtool), but require it now just to be safe...
20275 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20276 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20280 # The name set by libtool depends on the version of libtool. Shame on us
20281 # for depending on an impl detail, but c'est la vie. Older versions used
20282 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20283 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20284 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20285 # set (hence we're using an older libtool), then set it.
20286 if test x${with_gnu_ld+set} != xset; then
20287 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20288 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20289 with_gnu_ld=no
20290 else
20291 with_gnu_ld=$ac_cv_prog_gnu_ld
20295 # Start by getting the version number. I think the libtool test already
20296 # does some of this, but throws away the result.
20297 glibcxx_ld_is_gold=no
20298 if test x"$with_gnu_ld" = x"yes"; then
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20300 $as_echo_n "checking for ld version... " >&6; }
20302 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20303 glibcxx_ld_is_gold=yes
20305 ldver=`$LD --version 2>/dev/null |
20306 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'`
20308 glibcxx_gnu_ld_version=`echo $ldver | \
20309 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20311 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20314 # Set --gc-sections.
20315 glibcxx_have_gc_sections=no
20316 if test "$glibcxx_ld_is_gold" = "yes"; then
20317 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20318 glibcxx_have_gc_sections=yes
20320 else
20321 glibcxx_gcsections_min_ld=21602
20322 if test x"$with_gnu_ld" = x"yes" &&
20323 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20324 glibcxx_have_gc_sections=yes
20327 if test "$glibcxx_have_gc_sections" = "yes"; then
20328 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20329 # NB: This flag only works reliably after 2.16.1. Configure tests
20330 # for this are difficult, so hard wire a value that should work.
20332 ac_test_CFLAGS="${CFLAGS+set}"
20333 ac_save_CFLAGS="$CFLAGS"
20334 CFLAGS='-Wl,--gc-sections'
20336 # Check for -Wl,--gc-sections
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20338 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20339 if test x$gcc_no_link = xyes; then
20340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20343 /* end confdefs.h. */
20344 int one(void) { return 1; }
20345 int two(void) { return 2; }
20348 main ()
20350 two();
20352 return 0;
20354 _ACEOF
20355 if ac_fn_c_try_link "$LINENO"; then :
20356 ac_gcsections=yes
20357 else
20358 ac_gcsections=no
20360 rm -f core conftest.err conftest.$ac_objext \
20361 conftest$ac_exeext conftest.$ac_ext
20362 if test "$ac_gcsections" = "yes"; then
20363 rm -f conftest.c
20364 touch conftest.c
20365 if $CC -c conftest.c; then
20366 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20367 grep "Warning: gc-sections option ignored" > /dev/null; then
20368 ac_gcsections=no
20371 rm -f conftest.c conftest.o conftest
20373 if test "$ac_gcsections" = "yes"; then
20374 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20377 $as_echo "$ac_gcsections" >&6; }
20379 if test "$ac_test_CFLAGS" = set; then
20380 CFLAGS="$ac_save_CFLAGS"
20381 else
20382 # this is the suspicious part
20383 CFLAGS=''
20387 # Set -z,relro.
20388 # Note this is only for shared objects.
20389 ac_ld_relro=no
20390 if test x"$with_gnu_ld" = x"yes"; then
20391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20392 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20393 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20394 if test -n "$cxx_z_relo"; then
20395 OPT_LDFLAGS="-Wl,-z,relro"
20396 ac_ld_relro=yes
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20399 $as_echo "$ac_ld_relro" >&6; }
20402 # Set linker optimization flags.
20403 if test x"$with_gnu_ld" = x"yes"; then
20404 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20411 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20412 ac_save_CXXFLAGS="$CXXFLAGS"
20413 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20416 $as_echo_n "checking for sin in -lm... " >&6; }
20417 if test "${ac_cv_lib_m_sin+set}" = set; then :
20418 $as_echo_n "(cached) " >&6
20419 else
20420 ac_check_lib_save_LIBS=$LIBS
20421 LIBS="-lm $LIBS"
20422 if test x$gcc_no_link = xyes; then
20423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20426 /* end confdefs.h. */
20428 /* Override any GCC internal prototype to avoid an error.
20429 Use char because int might match the return type of a GCC
20430 builtin and then its argument prototype would still apply. */
20431 #ifdef __cplusplus
20432 extern "C"
20433 #endif
20434 char sin ();
20436 main ()
20438 return sin ();
20440 return 0;
20442 _ACEOF
20443 if ac_fn_c_try_link "$LINENO"; then :
20444 ac_cv_lib_m_sin=yes
20445 else
20446 ac_cv_lib_m_sin=no
20448 rm -f core conftest.err conftest.$ac_objext \
20449 conftest$ac_exeext conftest.$ac_ext
20450 LIBS=$ac_check_lib_save_LIBS
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20453 $as_echo "$ac_cv_lib_m_sin" >&6; }
20454 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20455 libm="-lm"
20458 ac_save_LIBS="$LIBS"
20459 LIBS="$LIBS $libm"
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20464 $as_echo_n "checking for isinf declaration... " >&6; }
20465 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20466 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20467 $as_echo_n "(cached) " >&6
20468 else
20471 ac_ext=cpp
20472 ac_cpp='$CXXCPP $CPPFLAGS'
20473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20478 /* end confdefs.h. */
20479 #include <math.h>
20480 #ifdef HAVE_IEEEFP_H
20481 #include <ieeefp.h>
20482 #endif
20485 main ()
20487 isinf(0);
20489 return 0;
20491 _ACEOF
20492 if ac_fn_cxx_try_compile "$LINENO"; then :
20493 glibcxx_cv_func_isinf_use=yes
20494 else
20495 glibcxx_cv_func_isinf_use=no
20497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20498 ac_ext=c
20499 ac_cpp='$CPP $CPPFLAGS'
20500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20509 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20511 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20512 for ac_func in isinf
20513 do :
20514 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20515 if test "x$ac_cv_func_isinf" = x""yes; then :
20516 cat >>confdefs.h <<_ACEOF
20517 #define HAVE_ISINF 1
20518 _ACEOF
20521 done
20523 else
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20526 $as_echo_n "checking for _isinf declaration... " >&6; }
20527 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20528 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20529 $as_echo_n "(cached) " >&6
20530 else
20533 ac_ext=cpp
20534 ac_cpp='$CXXCPP $CPPFLAGS'
20535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20540 /* end confdefs.h. */
20541 #include <math.h>
20542 #ifdef HAVE_IEEEFP_H
20543 #include <ieeefp.h>
20544 #endif
20547 main ()
20549 _isinf(0);
20551 return 0;
20553 _ACEOF
20554 if ac_fn_cxx_try_compile "$LINENO"; then :
20555 glibcxx_cv_func__isinf_use=yes
20556 else
20557 glibcxx_cv_func__isinf_use=no
20559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20560 ac_ext=c
20561 ac_cpp='$CPP $CPPFLAGS'
20562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20571 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20573 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20574 for ac_func in _isinf
20575 do :
20576 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20577 if test "x$ac_cv_func__isinf" = x""yes; then :
20578 cat >>confdefs.h <<_ACEOF
20579 #define HAVE__ISINF 1
20580 _ACEOF
20583 done
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20593 $as_echo_n "checking for isnan declaration... " >&6; }
20594 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20595 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20596 $as_echo_n "(cached) " >&6
20597 else
20600 ac_ext=cpp
20601 ac_cpp='$CXXCPP $CPPFLAGS'
20602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20608 #include <math.h>
20609 #ifdef HAVE_IEEEFP_H
20610 #include <ieeefp.h>
20611 #endif
20614 main ()
20616 isnan(0);
20618 return 0;
20620 _ACEOF
20621 if ac_fn_cxx_try_compile "$LINENO"; then :
20622 glibcxx_cv_func_isnan_use=yes
20623 else
20624 glibcxx_cv_func_isnan_use=no
20626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627 ac_ext=c
20628 ac_cpp='$CPP $CPPFLAGS'
20629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20638 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20640 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20641 for ac_func in isnan
20642 do :
20643 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20644 if test "x$ac_cv_func_isnan" = x""yes; then :
20645 cat >>confdefs.h <<_ACEOF
20646 #define HAVE_ISNAN 1
20647 _ACEOF
20650 done
20652 else
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20655 $as_echo_n "checking for _isnan declaration... " >&6; }
20656 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20657 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20658 $as_echo_n "(cached) " >&6
20659 else
20662 ac_ext=cpp
20663 ac_cpp='$CXXCPP $CPPFLAGS'
20664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20669 /* end confdefs.h. */
20670 #include <math.h>
20671 #ifdef HAVE_IEEEFP_H
20672 #include <ieeefp.h>
20673 #endif
20676 main ()
20678 _isnan(0);
20680 return 0;
20682 _ACEOF
20683 if ac_fn_cxx_try_compile "$LINENO"; then :
20684 glibcxx_cv_func__isnan_use=yes
20685 else
20686 glibcxx_cv_func__isnan_use=no
20688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20689 ac_ext=c
20690 ac_cpp='$CPP $CPPFLAGS'
20691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20700 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20702 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20703 for ac_func in _isnan
20704 do :
20705 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20706 if test "x$ac_cv_func__isnan" = x""yes; then :
20707 cat >>confdefs.h <<_ACEOF
20708 #define HAVE__ISNAN 1
20709 _ACEOF
20712 done
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20722 $as_echo_n "checking for finite declaration... " >&6; }
20723 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20724 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20725 $as_echo_n "(cached) " >&6
20726 else
20729 ac_ext=cpp
20730 ac_cpp='$CXXCPP $CPPFLAGS'
20731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20736 /* end confdefs.h. */
20737 #include <math.h>
20738 #ifdef HAVE_IEEEFP_H
20739 #include <ieeefp.h>
20740 #endif
20743 main ()
20745 finite(0);
20747 return 0;
20749 _ACEOF
20750 if ac_fn_cxx_try_compile "$LINENO"; then :
20751 glibcxx_cv_func_finite_use=yes
20752 else
20753 glibcxx_cv_func_finite_use=no
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20756 ac_ext=c
20757 ac_cpp='$CPP $CPPFLAGS'
20758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20767 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20769 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20770 for ac_func in finite
20771 do :
20772 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20773 if test "x$ac_cv_func_finite" = x""yes; then :
20774 cat >>confdefs.h <<_ACEOF
20775 #define HAVE_FINITE 1
20776 _ACEOF
20779 done
20781 else
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20784 $as_echo_n "checking for _finite declaration... " >&6; }
20785 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20786 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20787 $as_echo_n "(cached) " >&6
20788 else
20791 ac_ext=cpp
20792 ac_cpp='$CXXCPP $CPPFLAGS'
20793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20798 /* end confdefs.h. */
20799 #include <math.h>
20800 #ifdef HAVE_IEEEFP_H
20801 #include <ieeefp.h>
20802 #endif
20805 main ()
20807 _finite(0);
20809 return 0;
20811 _ACEOF
20812 if ac_fn_cxx_try_compile "$LINENO"; then :
20813 glibcxx_cv_func__finite_use=yes
20814 else
20815 glibcxx_cv_func__finite_use=no
20817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 ac_ext=c
20819 ac_cpp='$CPP $CPPFLAGS'
20820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20829 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20831 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20832 for ac_func in _finite
20833 do :
20834 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20835 if test "x$ac_cv_func__finite" = x""yes; then :
20836 cat >>confdefs.h <<_ACEOF
20837 #define HAVE__FINITE 1
20838 _ACEOF
20841 done
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20851 $as_echo_n "checking for sincos declaration... " >&6; }
20852 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20853 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20854 $as_echo_n "(cached) " >&6
20855 else
20858 ac_ext=cpp
20859 ac_cpp='$CXXCPP $CPPFLAGS'
20860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20865 /* end confdefs.h. */
20866 #include <math.h>
20868 main ()
20870 sincos(0, 0, 0);
20872 return 0;
20874 _ACEOF
20875 if ac_fn_cxx_try_compile "$LINENO"; then :
20876 glibcxx_cv_func_sincos_use=yes
20877 else
20878 glibcxx_cv_func_sincos_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_sincos_use" >&5
20892 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20894 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20895 for ac_func in sincos
20896 do :
20897 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20898 if test "x$ac_cv_func_sincos" = x""yes; then :
20899 cat >>confdefs.h <<_ACEOF
20900 #define HAVE_SINCOS 1
20901 _ACEOF
20904 done
20906 else
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20909 $as_echo_n "checking for _sincos declaration... " >&6; }
20910 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20911 if test "${glibcxx_cv_func__sincos_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>
20926 main ()
20928 _sincos(0, 0, 0);
20930 return 0;
20932 _ACEOF
20933 if ac_fn_cxx_try_compile "$LINENO"; then :
20934 glibcxx_cv_func__sincos_use=yes
20935 else
20936 glibcxx_cv_func__sincos_use=no
20938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20939 ac_ext=c
20940 ac_cpp='$CPP $CPPFLAGS'
20941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20950 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20952 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20953 for ac_func in _sincos
20954 do :
20955 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20956 if test "x$ac_cv_func__sincos" = x""yes; then :
20957 cat >>confdefs.h <<_ACEOF
20958 #define HAVE__SINCOS 1
20959 _ACEOF
20962 done
20971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20972 $as_echo_n "checking for fpclass declaration... " >&6; }
20973 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20974 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20975 $as_echo_n "(cached) " >&6
20976 else
20979 ac_ext=cpp
20980 ac_cpp='$CXXCPP $CPPFLAGS'
20981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20986 /* end confdefs.h. */
20987 #include <math.h>
20988 #ifdef HAVE_IEEEFP_H
20989 #include <ieeefp.h>
20990 #endif
20993 main ()
20995 fpclass(0);
20997 return 0;
20999 _ACEOF
21000 if ac_fn_cxx_try_compile "$LINENO"; then :
21001 glibcxx_cv_func_fpclass_use=yes
21002 else
21003 glibcxx_cv_func_fpclass_use=no
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006 ac_ext=c
21007 ac_cpp='$CPP $CPPFLAGS'
21008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21017 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21019 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21020 for ac_func in fpclass
21021 do :
21022 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21023 if test "x$ac_cv_func_fpclass" = x""yes; then :
21024 cat >>confdefs.h <<_ACEOF
21025 #define HAVE_FPCLASS 1
21026 _ACEOF
21029 done
21031 else
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21034 $as_echo_n "checking for _fpclass declaration... " >&6; }
21035 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21036 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21037 $as_echo_n "(cached) " >&6
21038 else
21041 ac_ext=cpp
21042 ac_cpp='$CXXCPP $CPPFLAGS'
21043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21048 /* end confdefs.h. */
21049 #include <math.h>
21050 #ifdef HAVE_IEEEFP_H
21051 #include <ieeefp.h>
21052 #endif
21055 main ()
21057 _fpclass(0);
21059 return 0;
21061 _ACEOF
21062 if ac_fn_cxx_try_compile "$LINENO"; then :
21063 glibcxx_cv_func__fpclass_use=yes
21064 else
21065 glibcxx_cv_func__fpclass_use=no
21067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21068 ac_ext=c
21069 ac_cpp='$CPP $CPPFLAGS'
21070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21079 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21081 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21082 for ac_func in _fpclass
21083 do :
21084 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21085 if test "x$ac_cv_func__fpclass" = x""yes; then :
21086 cat >>confdefs.h <<_ACEOF
21087 #define HAVE__FPCLASS 1
21088 _ACEOF
21091 done
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21101 $as_echo_n "checking for qfpclass declaration... " >&6; }
21102 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21103 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21104 $as_echo_n "(cached) " >&6
21105 else
21108 ac_ext=cpp
21109 ac_cpp='$CXXCPP $CPPFLAGS'
21110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21115 /* end confdefs.h. */
21116 #include <math.h>
21117 #ifdef HAVE_IEEEFP_H
21118 #include <ieeefp.h>
21119 #endif
21122 main ()
21124 qfpclass(0);
21126 return 0;
21128 _ACEOF
21129 if ac_fn_cxx_try_compile "$LINENO"; then :
21130 glibcxx_cv_func_qfpclass_use=yes
21131 else
21132 glibcxx_cv_func_qfpclass_use=no
21134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21135 ac_ext=c
21136 ac_cpp='$CPP $CPPFLAGS'
21137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21146 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21148 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21149 for ac_func in qfpclass
21150 do :
21151 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21152 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21153 cat >>confdefs.h <<_ACEOF
21154 #define HAVE_QFPCLASS 1
21155 _ACEOF
21158 done
21160 else
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21163 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21164 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21165 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21166 $as_echo_n "(cached) " >&6
21167 else
21170 ac_ext=cpp
21171 ac_cpp='$CXXCPP $CPPFLAGS'
21172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21177 /* end confdefs.h. */
21178 #include <math.h>
21179 #ifdef HAVE_IEEEFP_H
21180 #include <ieeefp.h>
21181 #endif
21184 main ()
21186 _qfpclass(0);
21188 return 0;
21190 _ACEOF
21191 if ac_fn_cxx_try_compile "$LINENO"; then :
21192 glibcxx_cv_func__qfpclass_use=yes
21193 else
21194 glibcxx_cv_func__qfpclass_use=no
21196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21197 ac_ext=c
21198 ac_cpp='$CPP $CPPFLAGS'
21199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21208 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21210 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21211 for ac_func in _qfpclass
21212 do :
21213 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21214 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21215 cat >>confdefs.h <<_ACEOF
21216 #define HAVE__QFPCLASS 1
21217 _ACEOF
21220 done
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21230 $as_echo_n "checking for hypot declaration... " >&6; }
21231 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21232 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21233 $as_echo_n "(cached) " >&6
21234 else
21237 ac_ext=cpp
21238 ac_cpp='$CXXCPP $CPPFLAGS'
21239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21244 /* end confdefs.h. */
21245 #include <math.h>
21247 main ()
21249 hypot(0, 0);
21251 return 0;
21253 _ACEOF
21254 if ac_fn_cxx_try_compile "$LINENO"; then :
21255 glibcxx_cv_func_hypot_use=yes
21256 else
21257 glibcxx_cv_func_hypot_use=no
21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260 ac_ext=c
21261 ac_cpp='$CPP $CPPFLAGS'
21262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21271 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21273 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21274 for ac_func in hypot
21275 do :
21276 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21277 if test "x$ac_cv_func_hypot" = x""yes; then :
21278 cat >>confdefs.h <<_ACEOF
21279 #define HAVE_HYPOT 1
21280 _ACEOF
21283 done
21285 else
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21288 $as_echo_n "checking for _hypot declaration... " >&6; }
21289 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21290 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21291 $as_echo_n "(cached) " >&6
21292 else
21295 ac_ext=cpp
21296 ac_cpp='$CXXCPP $CPPFLAGS'
21297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21302 /* end confdefs.h. */
21303 #include <math.h>
21305 main ()
21307 _hypot(0, 0);
21309 return 0;
21311 _ACEOF
21312 if ac_fn_cxx_try_compile "$LINENO"; then :
21313 glibcxx_cv_func__hypot_use=yes
21314 else
21315 glibcxx_cv_func__hypot_use=no
21317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21318 ac_ext=c
21319 ac_cpp='$CPP $CPPFLAGS'
21320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21329 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21331 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21332 for ac_func in _hypot
21333 do :
21334 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21335 if test "x$ac_cv_func__hypot" = x""yes; then :
21336 cat >>confdefs.h <<_ACEOF
21337 #define HAVE__HYPOT 1
21338 _ACEOF
21341 done
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21351 $as_echo_n "checking for float trig functions... " >&6; }
21352 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21353 $as_echo_n "(cached) " >&6
21354 else
21357 ac_ext=cpp
21358 ac_cpp='$CXXCPP $CPPFLAGS'
21359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21364 /* end confdefs.h. */
21365 #include <math.h>
21367 main ()
21369 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21371 return 0;
21373 _ACEOF
21374 if ac_fn_cxx_try_compile "$LINENO"; then :
21375 glibcxx_cv_func_float_trig_use=yes
21376 else
21377 glibcxx_cv_func_float_trig_use=no
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21380 ac_ext=c
21381 ac_cpp='$CPP $CPPFLAGS'
21382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21389 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21390 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21391 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21392 do :
21393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21395 eval as_val=\$$as_ac_var
21396 if test "x$as_val" = x""yes; then :
21397 cat >>confdefs.h <<_ACEOF
21398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21399 _ACEOF
21402 done
21404 else
21405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21406 $as_echo_n "checking for _float trig functions... " >&6; }
21407 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21408 $as_echo_n "(cached) " >&6
21409 else
21412 ac_ext=cpp
21413 ac_cpp='$CXXCPP $CPPFLAGS'
21414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21419 /* end confdefs.h. */
21420 #include <math.h>
21422 main ()
21424 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21426 return 0;
21428 _ACEOF
21429 if ac_fn_cxx_try_compile "$LINENO"; then :
21430 glibcxx_cv_func__float_trig_use=yes
21431 else
21432 glibcxx_cv_func__float_trig_use=no
21434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21435 ac_ext=c
21436 ac_cpp='$CPP $CPPFLAGS'
21437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21444 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21445 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21446 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21447 do :
21448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21450 eval as_val=\$$as_ac_var
21451 if test "x$as_val" = x""yes; then :
21452 cat >>confdefs.h <<_ACEOF
21453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21454 _ACEOF
21457 done
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21467 $as_echo_n "checking for float round functions... " >&6; }
21468 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21469 $as_echo_n "(cached) " >&6
21470 else
21473 ac_ext=cpp
21474 ac_cpp='$CXXCPP $CPPFLAGS'
21475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21480 /* end confdefs.h. */
21481 #include <math.h>
21483 main ()
21485 ceilf (0); floorf (0);
21487 return 0;
21489 _ACEOF
21490 if ac_fn_cxx_try_compile "$LINENO"; then :
21491 glibcxx_cv_func_float_round_use=yes
21492 else
21493 glibcxx_cv_func_float_round_use=no
21495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21496 ac_ext=c
21497 ac_cpp='$CPP $CPPFLAGS'
21498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21505 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21506 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21507 for ac_func in ceilf floorf
21508 do :
21509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21511 eval as_val=\$$as_ac_var
21512 if test "x$as_val" = x""yes; then :
21513 cat >>confdefs.h <<_ACEOF
21514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21515 _ACEOF
21518 done
21520 else
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21522 $as_echo_n "checking for _float round functions... " >&6; }
21523 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21524 $as_echo_n "(cached) " >&6
21525 else
21528 ac_ext=cpp
21529 ac_cpp='$CXXCPP $CPPFLAGS'
21530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <math.h>
21538 main ()
21540 _ceilf (0); _floorf (0);
21542 return 0;
21544 _ACEOF
21545 if ac_fn_cxx_try_compile "$LINENO"; then :
21546 glibcxx_cv_func__float_round_use=yes
21547 else
21548 glibcxx_cv_func__float_round_use=no
21550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21551 ac_ext=c
21552 ac_cpp='$CPP $CPPFLAGS'
21553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21560 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21561 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21562 for ac_func in _ceilf _floorf
21563 do :
21564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21566 eval as_val=\$$as_ac_var
21567 if test "x$as_val" = x""yes; then :
21568 cat >>confdefs.h <<_ACEOF
21569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21570 _ACEOF
21573 done
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21584 $as_echo_n "checking for expf declaration... " >&6; }
21585 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21586 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21591 ac_ext=cpp
21592 ac_cpp='$CXXCPP $CPPFLAGS'
21593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21598 /* end confdefs.h. */
21599 #include <math.h>
21600 #ifdef HAVE_IEEEFP_H
21601 #include <ieeefp.h>
21602 #endif
21605 main ()
21607 expf(0);
21609 return 0;
21611 _ACEOF
21612 if ac_fn_cxx_try_compile "$LINENO"; then :
21613 glibcxx_cv_func_expf_use=yes
21614 else
21615 glibcxx_cv_func_expf_use=no
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618 ac_ext=c
21619 ac_cpp='$CPP $CPPFLAGS'
21620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21629 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21631 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21632 for ac_func in expf
21633 do :
21634 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21635 if test "x$ac_cv_func_expf" = x""yes; then :
21636 cat >>confdefs.h <<_ACEOF
21637 #define HAVE_EXPF 1
21638 _ACEOF
21641 done
21643 else
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21646 $as_echo_n "checking for _expf declaration... " >&6; }
21647 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21648 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21649 $as_echo_n "(cached) " >&6
21650 else
21653 ac_ext=cpp
21654 ac_cpp='$CXXCPP $CPPFLAGS'
21655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21660 /* end confdefs.h. */
21661 #include <math.h>
21662 #ifdef HAVE_IEEEFP_H
21663 #include <ieeefp.h>
21664 #endif
21667 main ()
21669 _expf(0);
21671 return 0;
21673 _ACEOF
21674 if ac_fn_cxx_try_compile "$LINENO"; then :
21675 glibcxx_cv_func__expf_use=yes
21676 else
21677 glibcxx_cv_func__expf_use=no
21679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21680 ac_ext=c
21681 ac_cpp='$CPP $CPPFLAGS'
21682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21691 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21693 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21694 for ac_func in _expf
21695 do :
21696 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21697 if test "x$ac_cv_func__expf" = x""yes; then :
21698 cat >>confdefs.h <<_ACEOF
21699 #define HAVE__EXPF 1
21700 _ACEOF
21703 done
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21713 $as_echo_n "checking for isnanf declaration... " >&6; }
21714 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21715 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21716 $as_echo_n "(cached) " >&6
21717 else
21720 ac_ext=cpp
21721 ac_cpp='$CXXCPP $CPPFLAGS'
21722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21727 /* end confdefs.h. */
21728 #include <math.h>
21729 #ifdef HAVE_IEEEFP_H
21730 #include <ieeefp.h>
21731 #endif
21734 main ()
21736 isnanf(0);
21738 return 0;
21740 _ACEOF
21741 if ac_fn_cxx_try_compile "$LINENO"; then :
21742 glibcxx_cv_func_isnanf_use=yes
21743 else
21744 glibcxx_cv_func_isnanf_use=no
21746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21747 ac_ext=c
21748 ac_cpp='$CPP $CPPFLAGS'
21749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21758 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21760 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21761 for ac_func in isnanf
21762 do :
21763 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21764 if test "x$ac_cv_func_isnanf" = x""yes; then :
21765 cat >>confdefs.h <<_ACEOF
21766 #define HAVE_ISNANF 1
21767 _ACEOF
21770 done
21772 else
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21775 $as_echo_n "checking for _isnanf declaration... " >&6; }
21776 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21777 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21778 $as_echo_n "(cached) " >&6
21779 else
21782 ac_ext=cpp
21783 ac_cpp='$CXXCPP $CPPFLAGS'
21784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21789 /* end confdefs.h. */
21790 #include <math.h>
21791 #ifdef HAVE_IEEEFP_H
21792 #include <ieeefp.h>
21793 #endif
21796 main ()
21798 _isnanf(0);
21800 return 0;
21802 _ACEOF
21803 if ac_fn_cxx_try_compile "$LINENO"; then :
21804 glibcxx_cv_func__isnanf_use=yes
21805 else
21806 glibcxx_cv_func__isnanf_use=no
21808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809 ac_ext=c
21810 ac_cpp='$CPP $CPPFLAGS'
21811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21820 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21822 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21823 for ac_func in _isnanf
21824 do :
21825 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21826 if test "x$ac_cv_func__isnanf" = x""yes; then :
21827 cat >>confdefs.h <<_ACEOF
21828 #define HAVE__ISNANF 1
21829 _ACEOF
21832 done
21841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21842 $as_echo_n "checking for isinff declaration... " >&6; }
21843 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21844 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21845 $as_echo_n "(cached) " >&6
21846 else
21849 ac_ext=cpp
21850 ac_cpp='$CXXCPP $CPPFLAGS'
21851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21857 #include <math.h>
21858 #ifdef HAVE_IEEEFP_H
21859 #include <ieeefp.h>
21860 #endif
21863 main ()
21865 isinff(0);
21867 return 0;
21869 _ACEOF
21870 if ac_fn_cxx_try_compile "$LINENO"; then :
21871 glibcxx_cv_func_isinff_use=yes
21872 else
21873 glibcxx_cv_func_isinff_use=no
21875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21876 ac_ext=c
21877 ac_cpp='$CPP $CPPFLAGS'
21878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21887 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21889 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21890 for ac_func in isinff
21891 do :
21892 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21893 if test "x$ac_cv_func_isinff" = x""yes; then :
21894 cat >>confdefs.h <<_ACEOF
21895 #define HAVE_ISINFF 1
21896 _ACEOF
21899 done
21901 else
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21904 $as_echo_n "checking for _isinff declaration... " >&6; }
21905 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21906 if test "${glibcxx_cv_func__isinff_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>
21920 #ifdef HAVE_IEEEFP_H
21921 #include <ieeefp.h>
21922 #endif
21925 main ()
21927 _isinff(0);
21929 return 0;
21931 _ACEOF
21932 if ac_fn_cxx_try_compile "$LINENO"; then :
21933 glibcxx_cv_func__isinff_use=yes
21934 else
21935 glibcxx_cv_func__isinff_use=no
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21938 ac_ext=c
21939 ac_cpp='$CPP $CPPFLAGS'
21940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21949 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21951 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21952 for ac_func in _isinff
21953 do :
21954 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21955 if test "x$ac_cv_func__isinff" = x""yes; then :
21956 cat >>confdefs.h <<_ACEOF
21957 #define HAVE__ISINFF 1
21958 _ACEOF
21961 done
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21971 $as_echo_n "checking for atan2f declaration... " >&6; }
21972 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21973 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21974 $as_echo_n "(cached) " >&6
21975 else
21978 ac_ext=cpp
21979 ac_cpp='$CXXCPP $CPPFLAGS'
21980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21985 /* end confdefs.h. */
21986 #include <math.h>
21988 main ()
21990 atan2f(0, 0);
21992 return 0;
21994 _ACEOF
21995 if ac_fn_cxx_try_compile "$LINENO"; then :
21996 glibcxx_cv_func_atan2f_use=yes
21997 else
21998 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
22012 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22014 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22015 for ac_func in atan2f
22016 do :
22017 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22018 if test "x$ac_cv_func_atan2f" = x""yes; then :
22019 cat >>confdefs.h <<_ACEOF
22020 #define HAVE_ATAN2F 1
22021 _ACEOF
22024 done
22026 else
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22029 $as_echo_n "checking for _atan2f declaration... " >&6; }
22030 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22031 if test "${glibcxx_cv_func__atan2f_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>
22046 main ()
22048 _atan2f(0, 0);
22050 return 0;
22052 _ACEOF
22053 if ac_fn_cxx_try_compile "$LINENO"; then :
22054 glibcxx_cv_func__atan2f_use=yes
22055 else
22056 glibcxx_cv_func__atan2f_use=no
22058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22059 ac_ext=c
22060 ac_cpp='$CPP $CPPFLAGS'
22061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22070 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22072 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22073 for ac_func in _atan2f
22074 do :
22075 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22076 if test "x$ac_cv_func__atan2f" = x""yes; then :
22077 cat >>confdefs.h <<_ACEOF
22078 #define HAVE__ATAN2F 1
22079 _ACEOF
22082 done
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22092 $as_echo_n "checking for fabsf declaration... " >&6; }
22093 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22094 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22095 $as_echo_n "(cached) " >&6
22096 else
22099 ac_ext=cpp
22100 ac_cpp='$CXXCPP $CPPFLAGS'
22101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h. */
22107 #include <math.h>
22108 #ifdef HAVE_IEEEFP_H
22109 #include <ieeefp.h>
22110 #endif
22113 main ()
22115 fabsf(0);
22117 return 0;
22119 _ACEOF
22120 if ac_fn_cxx_try_compile "$LINENO"; then :
22121 glibcxx_cv_func_fabsf_use=yes
22122 else
22123 glibcxx_cv_func_fabsf_use=no
22125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22126 ac_ext=c
22127 ac_cpp='$CPP $CPPFLAGS'
22128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22137 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22139 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22140 for ac_func in fabsf
22141 do :
22142 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22143 if test "x$ac_cv_func_fabsf" = x""yes; then :
22144 cat >>confdefs.h <<_ACEOF
22145 #define HAVE_FABSF 1
22146 _ACEOF
22149 done
22151 else
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22154 $as_echo_n "checking for _fabsf declaration... " >&6; }
22155 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22156 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22157 $as_echo_n "(cached) " >&6
22158 else
22161 ac_ext=cpp
22162 ac_cpp='$CXXCPP $CPPFLAGS'
22163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22168 /* end confdefs.h. */
22169 #include <math.h>
22170 #ifdef HAVE_IEEEFP_H
22171 #include <ieeefp.h>
22172 #endif
22175 main ()
22177 _fabsf(0);
22179 return 0;
22181 _ACEOF
22182 if ac_fn_cxx_try_compile "$LINENO"; then :
22183 glibcxx_cv_func__fabsf_use=yes
22184 else
22185 glibcxx_cv_func__fabsf_use=no
22187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22188 ac_ext=c
22189 ac_cpp='$CPP $CPPFLAGS'
22190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22199 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22201 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22202 for ac_func in _fabsf
22203 do :
22204 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22205 if test "x$ac_cv_func__fabsf" = x""yes; then :
22206 cat >>confdefs.h <<_ACEOF
22207 #define HAVE__FABSF 1
22208 _ACEOF
22211 done
22220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22221 $as_echo_n "checking for fmodf declaration... " >&6; }
22222 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22223 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22224 $as_echo_n "(cached) " >&6
22225 else
22228 ac_ext=cpp
22229 ac_cpp='$CXXCPP $CPPFLAGS'
22230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22235 /* end confdefs.h. */
22236 #include <math.h>
22238 main ()
22240 fmodf(0, 0);
22242 return 0;
22244 _ACEOF
22245 if ac_fn_cxx_try_compile "$LINENO"; then :
22246 glibcxx_cv_func_fmodf_use=yes
22247 else
22248 glibcxx_cv_func_fmodf_use=no
22250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22251 ac_ext=c
22252 ac_cpp='$CPP $CPPFLAGS'
22253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22262 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22264 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22265 for ac_func in fmodf
22266 do :
22267 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22268 if test "x$ac_cv_func_fmodf" = x""yes; then :
22269 cat >>confdefs.h <<_ACEOF
22270 #define HAVE_FMODF 1
22271 _ACEOF
22274 done
22276 else
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22279 $as_echo_n "checking for _fmodf declaration... " >&6; }
22280 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22281 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22282 $as_echo_n "(cached) " >&6
22283 else
22286 ac_ext=cpp
22287 ac_cpp='$CXXCPP $CPPFLAGS'
22288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22293 /* end confdefs.h. */
22294 #include <math.h>
22296 main ()
22298 _fmodf(0, 0);
22300 return 0;
22302 _ACEOF
22303 if ac_fn_cxx_try_compile "$LINENO"; then :
22304 glibcxx_cv_func__fmodf_use=yes
22305 else
22306 glibcxx_cv_func__fmodf_use=no
22308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22309 ac_ext=c
22310 ac_cpp='$CPP $CPPFLAGS'
22311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22320 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22322 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22323 for ac_func in _fmodf
22324 do :
22325 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22326 if test "x$ac_cv_func__fmodf" = x""yes; then :
22327 cat >>confdefs.h <<_ACEOF
22328 #define HAVE__FMODF 1
22329 _ACEOF
22332 done
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22342 $as_echo_n "checking for frexpf declaration... " >&6; }
22343 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22344 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22345 $as_echo_n "(cached) " >&6
22346 else
22349 ac_ext=cpp
22350 ac_cpp='$CXXCPP $CPPFLAGS'
22351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22356 /* end confdefs.h. */
22357 #include <math.h>
22359 main ()
22361 frexpf(0, 0);
22363 return 0;
22365 _ACEOF
22366 if ac_fn_cxx_try_compile "$LINENO"; then :
22367 glibcxx_cv_func_frexpf_use=yes
22368 else
22369 glibcxx_cv_func_frexpf_use=no
22371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22372 ac_ext=c
22373 ac_cpp='$CPP $CPPFLAGS'
22374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22383 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22385 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22386 for ac_func in frexpf
22387 do :
22388 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22389 if test "x$ac_cv_func_frexpf" = x""yes; then :
22390 cat >>confdefs.h <<_ACEOF
22391 #define HAVE_FREXPF 1
22392 _ACEOF
22395 done
22397 else
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22400 $as_echo_n "checking for _frexpf declaration... " >&6; }
22401 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22402 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22403 $as_echo_n "(cached) " >&6
22404 else
22407 ac_ext=cpp
22408 ac_cpp='$CXXCPP $CPPFLAGS'
22409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22414 /* end confdefs.h. */
22415 #include <math.h>
22417 main ()
22419 _frexpf(0, 0);
22421 return 0;
22423 _ACEOF
22424 if ac_fn_cxx_try_compile "$LINENO"; then :
22425 glibcxx_cv_func__frexpf_use=yes
22426 else
22427 glibcxx_cv_func__frexpf_use=no
22429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22430 ac_ext=c
22431 ac_cpp='$CPP $CPPFLAGS'
22432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22441 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22443 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22444 for ac_func in _frexpf
22445 do :
22446 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22447 if test "x$ac_cv_func__frexpf" = x""yes; then :
22448 cat >>confdefs.h <<_ACEOF
22449 #define HAVE__FREXPF 1
22450 _ACEOF
22453 done
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22463 $as_echo_n "checking for hypotf declaration... " >&6; }
22464 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22465 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22466 $as_echo_n "(cached) " >&6
22467 else
22470 ac_ext=cpp
22471 ac_cpp='$CXXCPP $CPPFLAGS'
22472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22477 /* end confdefs.h. */
22478 #include <math.h>
22480 main ()
22482 hypotf(0, 0);
22484 return 0;
22486 _ACEOF
22487 if ac_fn_cxx_try_compile "$LINENO"; then :
22488 glibcxx_cv_func_hypotf_use=yes
22489 else
22490 glibcxx_cv_func_hypotf_use=no
22492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22493 ac_ext=c
22494 ac_cpp='$CPP $CPPFLAGS'
22495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22504 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22506 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22507 for ac_func in hypotf
22508 do :
22509 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22510 if test "x$ac_cv_func_hypotf" = x""yes; then :
22511 cat >>confdefs.h <<_ACEOF
22512 #define HAVE_HYPOTF 1
22513 _ACEOF
22516 done
22518 else
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22521 $as_echo_n "checking for _hypotf declaration... " >&6; }
22522 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22523 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22524 $as_echo_n "(cached) " >&6
22525 else
22528 ac_ext=cpp
22529 ac_cpp='$CXXCPP $CPPFLAGS'
22530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22535 /* end confdefs.h. */
22536 #include <math.h>
22538 main ()
22540 _hypotf(0, 0);
22542 return 0;
22544 _ACEOF
22545 if ac_fn_cxx_try_compile "$LINENO"; then :
22546 glibcxx_cv_func__hypotf_use=yes
22547 else
22548 glibcxx_cv_func__hypotf_use=no
22550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22551 ac_ext=c
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22562 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22564 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22565 for ac_func in _hypotf
22566 do :
22567 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22568 if test "x$ac_cv_func__hypotf" = x""yes; then :
22569 cat >>confdefs.h <<_ACEOF
22570 #define HAVE__HYPOTF 1
22571 _ACEOF
22574 done
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22584 $as_echo_n "checking for ldexpf declaration... " >&6; }
22585 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22586 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22587 $as_echo_n "(cached) " >&6
22588 else
22591 ac_ext=cpp
22592 ac_cpp='$CXXCPP $CPPFLAGS'
22593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22598 /* end confdefs.h. */
22599 #include <math.h>
22601 main ()
22603 ldexpf(0, 0);
22605 return 0;
22607 _ACEOF
22608 if ac_fn_cxx_try_compile "$LINENO"; then :
22609 glibcxx_cv_func_ldexpf_use=yes
22610 else
22611 glibcxx_cv_func_ldexpf_use=no
22613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22614 ac_ext=c
22615 ac_cpp='$CPP $CPPFLAGS'
22616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22625 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22627 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22628 for ac_func in ldexpf
22629 do :
22630 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22631 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22632 cat >>confdefs.h <<_ACEOF
22633 #define HAVE_LDEXPF 1
22634 _ACEOF
22637 done
22639 else
22641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22642 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22643 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22644 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22645 $as_echo_n "(cached) " >&6
22646 else
22649 ac_ext=cpp
22650 ac_cpp='$CXXCPP $CPPFLAGS'
22651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22656 /* end confdefs.h. */
22657 #include <math.h>
22659 main ()
22661 _ldexpf(0, 0);
22663 return 0;
22665 _ACEOF
22666 if ac_fn_cxx_try_compile "$LINENO"; then :
22667 glibcxx_cv_func__ldexpf_use=yes
22668 else
22669 glibcxx_cv_func__ldexpf_use=no
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22672 ac_ext=c
22673 ac_cpp='$CPP $CPPFLAGS'
22674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22683 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22685 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22686 for ac_func in _ldexpf
22687 do :
22688 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22689 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22690 cat >>confdefs.h <<_ACEOF
22691 #define HAVE__LDEXPF 1
22692 _ACEOF
22695 done
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22705 $as_echo_n "checking for logf declaration... " >&6; }
22706 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22707 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22708 $as_echo_n "(cached) " >&6
22709 else
22712 ac_ext=cpp
22713 ac_cpp='$CXXCPP $CPPFLAGS'
22714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22719 /* end confdefs.h. */
22720 #include <math.h>
22721 #ifdef HAVE_IEEEFP_H
22722 #include <ieeefp.h>
22723 #endif
22726 main ()
22728 logf(0);
22730 return 0;
22732 _ACEOF
22733 if ac_fn_cxx_try_compile "$LINENO"; then :
22734 glibcxx_cv_func_logf_use=yes
22735 else
22736 glibcxx_cv_func_logf_use=no
22738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22739 ac_ext=c
22740 ac_cpp='$CPP $CPPFLAGS'
22741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22750 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22752 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22753 for ac_func in logf
22754 do :
22755 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22756 if test "x$ac_cv_func_logf" = x""yes; then :
22757 cat >>confdefs.h <<_ACEOF
22758 #define HAVE_LOGF 1
22759 _ACEOF
22762 done
22764 else
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22767 $as_echo_n "checking for _logf declaration... " >&6; }
22768 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22769 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22770 $as_echo_n "(cached) " >&6
22771 else
22774 ac_ext=cpp
22775 ac_cpp='$CXXCPP $CPPFLAGS'
22776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781 /* end confdefs.h. */
22782 #include <math.h>
22783 #ifdef HAVE_IEEEFP_H
22784 #include <ieeefp.h>
22785 #endif
22788 main ()
22790 _logf(0);
22792 return 0;
22794 _ACEOF
22795 if ac_fn_cxx_try_compile "$LINENO"; then :
22796 glibcxx_cv_func__logf_use=yes
22797 else
22798 glibcxx_cv_func__logf_use=no
22800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22801 ac_ext=c
22802 ac_cpp='$CPP $CPPFLAGS'
22803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22812 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22814 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22815 for ac_func in _logf
22816 do :
22817 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22818 if test "x$ac_cv_func__logf" = x""yes; then :
22819 cat >>confdefs.h <<_ACEOF
22820 #define HAVE__LOGF 1
22821 _ACEOF
22824 done
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22834 $as_echo_n "checking for log10f declaration... " >&6; }
22835 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22836 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22837 $as_echo_n "(cached) " >&6
22838 else
22841 ac_ext=cpp
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22848 /* end confdefs.h. */
22849 #include <math.h>
22850 #ifdef HAVE_IEEEFP_H
22851 #include <ieeefp.h>
22852 #endif
22855 main ()
22857 log10f(0);
22859 return 0;
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func_log10f_use=yes
22864 else
22865 glibcxx_cv_func_log10f_use=no
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22879 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22881 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22882 for ac_func in log10f
22883 do :
22884 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22885 if test "x$ac_cv_func_log10f" = x""yes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE_LOG10F 1
22888 _ACEOF
22891 done
22893 else
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22896 $as_echo_n "checking for _log10f declaration... " >&6; }
22897 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22898 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22899 $as_echo_n "(cached) " >&6
22900 else
22903 ac_ext=cpp
22904 ac_cpp='$CXXCPP $CPPFLAGS'
22905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22910 /* end confdefs.h. */
22911 #include <math.h>
22912 #ifdef HAVE_IEEEFP_H
22913 #include <ieeefp.h>
22914 #endif
22917 main ()
22919 _log10f(0);
22921 return 0;
22923 _ACEOF
22924 if ac_fn_cxx_try_compile "$LINENO"; then :
22925 glibcxx_cv_func__log10f_use=yes
22926 else
22927 glibcxx_cv_func__log10f_use=no
22929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22930 ac_ext=c
22931 ac_cpp='$CPP $CPPFLAGS'
22932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22941 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22943 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22944 for ac_func in _log10f
22945 do :
22946 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22947 if test "x$ac_cv_func__log10f" = x""yes; then :
22948 cat >>confdefs.h <<_ACEOF
22949 #define HAVE__LOG10F 1
22950 _ACEOF
22953 done
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22963 $as_echo_n "checking for modff declaration... " >&6; }
22964 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22965 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22966 $as_echo_n "(cached) " >&6
22967 else
22970 ac_ext=cpp
22971 ac_cpp='$CXXCPP $CPPFLAGS'
22972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22977 /* end confdefs.h. */
22978 #include <math.h>
22980 main ()
22982 modff(0, 0);
22984 return 0;
22986 _ACEOF
22987 if ac_fn_cxx_try_compile "$LINENO"; then :
22988 glibcxx_cv_func_modff_use=yes
22989 else
22990 glibcxx_cv_func_modff_use=no
22992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22993 ac_ext=c
22994 ac_cpp='$CPP $CPPFLAGS'
22995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23004 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23006 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23007 for ac_func in modff
23008 do :
23009 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23010 if test "x$ac_cv_func_modff" = x""yes; then :
23011 cat >>confdefs.h <<_ACEOF
23012 #define HAVE_MODFF 1
23013 _ACEOF
23016 done
23018 else
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23021 $as_echo_n "checking for _modff declaration... " >&6; }
23022 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23023 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23024 $as_echo_n "(cached) " >&6
23025 else
23028 ac_ext=cpp
23029 ac_cpp='$CXXCPP $CPPFLAGS'
23030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23035 /* end confdefs.h. */
23036 #include <math.h>
23038 main ()
23040 _modff(0, 0);
23042 return 0;
23044 _ACEOF
23045 if ac_fn_cxx_try_compile "$LINENO"; then :
23046 glibcxx_cv_func__modff_use=yes
23047 else
23048 glibcxx_cv_func__modff_use=no
23050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23051 ac_ext=c
23052 ac_cpp='$CPP $CPPFLAGS'
23053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23062 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23064 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23065 for ac_func in _modff
23066 do :
23067 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23068 if test "x$ac_cv_func__modff" = x""yes; then :
23069 cat >>confdefs.h <<_ACEOF
23070 #define HAVE__MODFF 1
23071 _ACEOF
23074 done
23083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23084 $as_echo_n "checking for modf declaration... " >&6; }
23085 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23086 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23087 $as_echo_n "(cached) " >&6
23088 else
23091 ac_ext=cpp
23092 ac_cpp='$CXXCPP $CPPFLAGS'
23093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23098 /* end confdefs.h. */
23099 #include <math.h>
23101 main ()
23103 modf(0, 0);
23105 return 0;
23107 _ACEOF
23108 if ac_fn_cxx_try_compile "$LINENO"; then :
23109 glibcxx_cv_func_modf_use=yes
23110 else
23111 glibcxx_cv_func_modf_use=no
23113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23114 ac_ext=c
23115 ac_cpp='$CPP $CPPFLAGS'
23116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23125 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23127 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23128 for ac_func in modf
23129 do :
23130 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23131 if test "x$ac_cv_func_modf" = x""yes; then :
23132 cat >>confdefs.h <<_ACEOF
23133 #define HAVE_MODF 1
23134 _ACEOF
23137 done
23139 else
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23142 $as_echo_n "checking for _modf declaration... " >&6; }
23143 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23144 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23145 $as_echo_n "(cached) " >&6
23146 else
23149 ac_ext=cpp
23150 ac_cpp='$CXXCPP $CPPFLAGS'
23151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23156 /* end confdefs.h. */
23157 #include <math.h>
23159 main ()
23161 _modf(0, 0);
23163 return 0;
23165 _ACEOF
23166 if ac_fn_cxx_try_compile "$LINENO"; then :
23167 glibcxx_cv_func__modf_use=yes
23168 else
23169 glibcxx_cv_func__modf_use=no
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23172 ac_ext=c
23173 ac_cpp='$CPP $CPPFLAGS'
23174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23183 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23185 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23186 for ac_func in _modf
23187 do :
23188 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23189 if test "x$ac_cv_func__modf" = x""yes; then :
23190 cat >>confdefs.h <<_ACEOF
23191 #define HAVE__MODF 1
23192 _ACEOF
23195 done
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23205 $as_echo_n "checking for powf declaration... " >&6; }
23206 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23207 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23208 $as_echo_n "(cached) " >&6
23209 else
23212 ac_ext=cpp
23213 ac_cpp='$CXXCPP $CPPFLAGS'
23214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h. */
23220 #include <math.h>
23222 main ()
23224 powf(0, 0);
23226 return 0;
23228 _ACEOF
23229 if ac_fn_cxx_try_compile "$LINENO"; then :
23230 glibcxx_cv_func_powf_use=yes
23231 else
23232 glibcxx_cv_func_powf_use=no
23234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23235 ac_ext=c
23236 ac_cpp='$CPP $CPPFLAGS'
23237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23246 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23248 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23249 for ac_func in powf
23250 do :
23251 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23252 if test "x$ac_cv_func_powf" = x""yes; then :
23253 cat >>confdefs.h <<_ACEOF
23254 #define HAVE_POWF 1
23255 _ACEOF
23258 done
23260 else
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23263 $as_echo_n "checking for _powf declaration... " >&6; }
23264 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23265 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23266 $as_echo_n "(cached) " >&6
23267 else
23270 ac_ext=cpp
23271 ac_cpp='$CXXCPP $CPPFLAGS'
23272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23277 /* end confdefs.h. */
23278 #include <math.h>
23280 main ()
23282 _powf(0, 0);
23284 return 0;
23286 _ACEOF
23287 if ac_fn_cxx_try_compile "$LINENO"; then :
23288 glibcxx_cv_func__powf_use=yes
23289 else
23290 glibcxx_cv_func__powf_use=no
23292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23293 ac_ext=c
23294 ac_cpp='$CPP $CPPFLAGS'
23295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23304 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23306 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23307 for ac_func in _powf
23308 do :
23309 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23310 if test "x$ac_cv_func__powf" = x""yes; then :
23311 cat >>confdefs.h <<_ACEOF
23312 #define HAVE__POWF 1
23313 _ACEOF
23316 done
23325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23326 $as_echo_n "checking for sqrtf declaration... " >&6; }
23327 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23328 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23329 $as_echo_n "(cached) " >&6
23330 else
23333 ac_ext=cpp
23334 ac_cpp='$CXXCPP $CPPFLAGS'
23335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23340 /* end confdefs.h. */
23341 #include <math.h>
23342 #ifdef HAVE_IEEEFP_H
23343 #include <ieeefp.h>
23344 #endif
23347 main ()
23349 sqrtf(0);
23351 return 0;
23353 _ACEOF
23354 if ac_fn_cxx_try_compile "$LINENO"; then :
23355 glibcxx_cv_func_sqrtf_use=yes
23356 else
23357 glibcxx_cv_func_sqrtf_use=no
23359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360 ac_ext=c
23361 ac_cpp='$CPP $CPPFLAGS'
23362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23371 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23373 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23374 for ac_func in sqrtf
23375 do :
23376 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23377 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23378 cat >>confdefs.h <<_ACEOF
23379 #define HAVE_SQRTF 1
23380 _ACEOF
23383 done
23385 else
23387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23388 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23389 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23390 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23391 $as_echo_n "(cached) " >&6
23392 else
23395 ac_ext=cpp
23396 ac_cpp='$CXXCPP $CPPFLAGS'
23397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23402 /* end confdefs.h. */
23403 #include <math.h>
23404 #ifdef HAVE_IEEEFP_H
23405 #include <ieeefp.h>
23406 #endif
23409 main ()
23411 _sqrtf(0);
23413 return 0;
23415 _ACEOF
23416 if ac_fn_cxx_try_compile "$LINENO"; then :
23417 glibcxx_cv_func__sqrtf_use=yes
23418 else
23419 glibcxx_cv_func__sqrtf_use=no
23421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23422 ac_ext=c
23423 ac_cpp='$CPP $CPPFLAGS'
23424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23433 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23435 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23436 for ac_func in _sqrtf
23437 do :
23438 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23439 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23440 cat >>confdefs.h <<_ACEOF
23441 #define HAVE__SQRTF 1
23442 _ACEOF
23445 done
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23455 $as_echo_n "checking for sincosf declaration... " >&6; }
23456 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23457 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23458 $as_echo_n "(cached) " >&6
23459 else
23462 ac_ext=cpp
23463 ac_cpp='$CXXCPP $CPPFLAGS'
23464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23469 /* end confdefs.h. */
23470 #include <math.h>
23472 main ()
23474 sincosf(0, 0, 0);
23476 return 0;
23478 _ACEOF
23479 if ac_fn_cxx_try_compile "$LINENO"; then :
23480 glibcxx_cv_func_sincosf_use=yes
23481 else
23482 glibcxx_cv_func_sincosf_use=no
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 ac_ext=c
23486 ac_cpp='$CPP $CPPFLAGS'
23487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23496 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23498 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23499 for ac_func in sincosf
23500 do :
23501 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23502 if test "x$ac_cv_func_sincosf" = x""yes; then :
23503 cat >>confdefs.h <<_ACEOF
23504 #define HAVE_SINCOSF 1
23505 _ACEOF
23508 done
23510 else
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23513 $as_echo_n "checking for _sincosf declaration... " >&6; }
23514 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23515 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23516 $as_echo_n "(cached) " >&6
23517 else
23520 ac_ext=cpp
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23527 /* end confdefs.h. */
23528 #include <math.h>
23530 main ()
23532 _sincosf(0, 0, 0);
23534 return 0;
23536 _ACEOF
23537 if ac_fn_cxx_try_compile "$LINENO"; then :
23538 glibcxx_cv_func__sincosf_use=yes
23539 else
23540 glibcxx_cv_func__sincosf_use=no
23542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23543 ac_ext=c
23544 ac_cpp='$CPP $CPPFLAGS'
23545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23554 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23556 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23557 for ac_func in _sincosf
23558 do :
23559 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23560 if test "x$ac_cv_func__sincosf" = x""yes; then :
23561 cat >>confdefs.h <<_ACEOF
23562 #define HAVE__SINCOSF 1
23563 _ACEOF
23566 done
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23576 $as_echo_n "checking for finitef declaration... " >&6; }
23577 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23578 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23579 $as_echo_n "(cached) " >&6
23580 else
23583 ac_ext=cpp
23584 ac_cpp='$CXXCPP $CPPFLAGS'
23585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23590 /* end confdefs.h. */
23591 #include <math.h>
23592 #ifdef HAVE_IEEEFP_H
23593 #include <ieeefp.h>
23594 #endif
23597 main ()
23599 finitef(0);
23601 return 0;
23603 _ACEOF
23604 if ac_fn_cxx_try_compile "$LINENO"; then :
23605 glibcxx_cv_func_finitef_use=yes
23606 else
23607 glibcxx_cv_func_finitef_use=no
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 ac_ext=c
23611 ac_cpp='$CPP $CPPFLAGS'
23612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23621 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23623 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23624 for ac_func in finitef
23625 do :
23626 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23627 if test "x$ac_cv_func_finitef" = x""yes; then :
23628 cat >>confdefs.h <<_ACEOF
23629 #define HAVE_FINITEF 1
23630 _ACEOF
23633 done
23635 else
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23638 $as_echo_n "checking for _finitef declaration... " >&6; }
23639 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23640 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23641 $as_echo_n "(cached) " >&6
23642 else
23645 ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h. */
23653 #include <math.h>
23654 #ifdef HAVE_IEEEFP_H
23655 #include <ieeefp.h>
23656 #endif
23659 main ()
23661 _finitef(0);
23663 return 0;
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667 glibcxx_cv_func__finitef_use=yes
23668 else
23669 glibcxx_cv_func__finitef_use=no
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23683 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23685 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23686 for ac_func in _finitef
23687 do :
23688 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23689 if test "x$ac_cv_func__finitef" = x""yes; then :
23690 cat >>confdefs.h <<_ACEOF
23691 #define HAVE__FINITEF 1
23692 _ACEOF
23695 done
23704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23705 $as_echo_n "checking for long double trig functions... " >&6; }
23706 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23707 $as_echo_n "(cached) " >&6
23708 else
23711 ac_ext=cpp
23712 ac_cpp='$CXXCPP $CPPFLAGS'
23713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23718 /* end confdefs.h. */
23719 #include <math.h>
23721 main ()
23723 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23725 return 0;
23727 _ACEOF
23728 if ac_fn_cxx_try_compile "$LINENO"; then :
23729 glibcxx_cv_func_long_double_trig_use=yes
23730 else
23731 glibcxx_cv_func_long_double_trig_use=no
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734 ac_ext=c
23735 ac_cpp='$CPP $CPPFLAGS'
23736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23743 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23744 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23745 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23746 do :
23747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23749 eval as_val=\$$as_ac_var
23750 if test "x$as_val" = x""yes; then :
23751 cat >>confdefs.h <<_ACEOF
23752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23753 _ACEOF
23756 done
23758 else
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23760 $as_echo_n "checking for _long double trig functions... " >&6; }
23761 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23762 $as_echo_n "(cached) " >&6
23763 else
23766 ac_ext=cpp
23767 ac_cpp='$CXXCPP $CPPFLAGS'
23768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23773 /* end confdefs.h. */
23774 #include <math.h>
23776 main ()
23778 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23780 return 0;
23782 _ACEOF
23783 if ac_fn_cxx_try_compile "$LINENO"; then :
23784 glibcxx_cv_func__long_double_trig_use=yes
23785 else
23786 glibcxx_cv_func__long_double_trig_use=no
23788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23789 ac_ext=c
23790 ac_cpp='$CPP $CPPFLAGS'
23791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23798 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23799 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23800 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23801 do :
23802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23804 eval as_val=\$$as_ac_var
23805 if test "x$as_val" = x""yes; then :
23806 cat >>confdefs.h <<_ACEOF
23807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23808 _ACEOF
23811 done
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23821 $as_echo_n "checking for long double round functions... " >&6; }
23822 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23823 $as_echo_n "(cached) " >&6
23824 else
23827 ac_ext=cpp
23828 ac_cpp='$CXXCPP $CPPFLAGS'
23829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23834 /* end confdefs.h. */
23835 #include <math.h>
23837 main ()
23839 ceill (0); floorl (0);
23841 return 0;
23843 _ACEOF
23844 if ac_fn_cxx_try_compile "$LINENO"; then :
23845 glibcxx_cv_func_long_double_round_use=yes
23846 else
23847 glibcxx_cv_func_long_double_round_use=no
23849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23850 ac_ext=c
23851 ac_cpp='$CPP $CPPFLAGS'
23852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23859 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23860 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23861 for ac_func in ceill floorl
23862 do :
23863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23864 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23865 eval as_val=\$$as_ac_var
23866 if test "x$as_val" = x""yes; then :
23867 cat >>confdefs.h <<_ACEOF
23868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23869 _ACEOF
23872 done
23874 else
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23876 $as_echo_n "checking for _long double round functions... " >&6; }
23877 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23878 $as_echo_n "(cached) " >&6
23879 else
23882 ac_ext=cpp
23883 ac_cpp='$CXXCPP $CPPFLAGS'
23884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23889 /* end confdefs.h. */
23890 #include <math.h>
23892 main ()
23894 _ceill (0); _floorl (0);
23896 return 0;
23898 _ACEOF
23899 if ac_fn_cxx_try_compile "$LINENO"; then :
23900 glibcxx_cv_func__long_double_round_use=yes
23901 else
23902 glibcxx_cv_func__long_double_round_use=no
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905 ac_ext=c
23906 ac_cpp='$CPP $CPPFLAGS'
23907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23914 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23915 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23916 for ac_func in _ceill _floorl
23917 do :
23918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23920 eval as_val=\$$as_ac_var
23921 if test "x$as_val" = x""yes; then :
23922 cat >>confdefs.h <<_ACEOF
23923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23924 _ACEOF
23927 done
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23938 $as_echo_n "checking for isnanl declaration... " >&6; }
23939 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23940 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23941 $as_echo_n "(cached) " >&6
23942 else
23945 ac_ext=cpp
23946 ac_cpp='$CXXCPP $CPPFLAGS'
23947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23952 /* end confdefs.h. */
23953 #include <math.h>
23954 #ifdef HAVE_IEEEFP_H
23955 #include <ieeefp.h>
23956 #endif
23959 main ()
23961 isnanl(0);
23963 return 0;
23965 _ACEOF
23966 if ac_fn_cxx_try_compile "$LINENO"; then :
23967 glibcxx_cv_func_isnanl_use=yes
23968 else
23969 glibcxx_cv_func_isnanl_use=no
23971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23972 ac_ext=c
23973 ac_cpp='$CPP $CPPFLAGS'
23974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23983 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23985 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23986 for ac_func in isnanl
23987 do :
23988 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23989 if test "x$ac_cv_func_isnanl" = x""yes; then :
23990 cat >>confdefs.h <<_ACEOF
23991 #define HAVE_ISNANL 1
23992 _ACEOF
23995 done
23997 else
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24000 $as_echo_n "checking for _isnanl declaration... " >&6; }
24001 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24002 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24003 $as_echo_n "(cached) " >&6
24004 else
24007 ac_ext=cpp
24008 ac_cpp='$CXXCPP $CPPFLAGS'
24009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24014 /* end confdefs.h. */
24015 #include <math.h>
24016 #ifdef HAVE_IEEEFP_H
24017 #include <ieeefp.h>
24018 #endif
24021 main ()
24023 _isnanl(0);
24025 return 0;
24027 _ACEOF
24028 if ac_fn_cxx_try_compile "$LINENO"; then :
24029 glibcxx_cv_func__isnanl_use=yes
24030 else
24031 glibcxx_cv_func__isnanl_use=no
24033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24034 ac_ext=c
24035 ac_cpp='$CPP $CPPFLAGS'
24036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24045 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24047 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24048 for ac_func in _isnanl
24049 do :
24050 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24051 if test "x$ac_cv_func__isnanl" = x""yes; then :
24052 cat >>confdefs.h <<_ACEOF
24053 #define HAVE__ISNANL 1
24054 _ACEOF
24057 done
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24067 $as_echo_n "checking for isinfl declaration... " >&6; }
24068 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24069 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24070 $as_echo_n "(cached) " >&6
24071 else
24074 ac_ext=cpp
24075 ac_cpp='$CXXCPP $CPPFLAGS'
24076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24081 /* end confdefs.h. */
24082 #include <math.h>
24083 #ifdef HAVE_IEEEFP_H
24084 #include <ieeefp.h>
24085 #endif
24088 main ()
24090 isinfl(0);
24092 return 0;
24094 _ACEOF
24095 if ac_fn_cxx_try_compile "$LINENO"; then :
24096 glibcxx_cv_func_isinfl_use=yes
24097 else
24098 glibcxx_cv_func_isinfl_use=no
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 ac_ext=c
24102 ac_cpp='$CPP $CPPFLAGS'
24103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24112 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24114 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24115 for ac_func in isinfl
24116 do :
24117 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24118 if test "x$ac_cv_func_isinfl" = x""yes; then :
24119 cat >>confdefs.h <<_ACEOF
24120 #define HAVE_ISINFL 1
24121 _ACEOF
24124 done
24126 else
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24129 $as_echo_n "checking for _isinfl declaration... " >&6; }
24130 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24131 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24132 $as_echo_n "(cached) " >&6
24133 else
24136 ac_ext=cpp
24137 ac_cpp='$CXXCPP $CPPFLAGS'
24138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24143 /* end confdefs.h. */
24144 #include <math.h>
24145 #ifdef HAVE_IEEEFP_H
24146 #include <ieeefp.h>
24147 #endif
24150 main ()
24152 _isinfl(0);
24154 return 0;
24156 _ACEOF
24157 if ac_fn_cxx_try_compile "$LINENO"; then :
24158 glibcxx_cv_func__isinfl_use=yes
24159 else
24160 glibcxx_cv_func__isinfl_use=no
24162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24163 ac_ext=c
24164 ac_cpp='$CPP $CPPFLAGS'
24165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24174 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24176 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24177 for ac_func in _isinfl
24178 do :
24179 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24180 if test "x$ac_cv_func__isinfl" = x""yes; then :
24181 cat >>confdefs.h <<_ACEOF
24182 #define HAVE__ISINFL 1
24183 _ACEOF
24186 done
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24196 $as_echo_n "checking for atan2l declaration... " >&6; }
24197 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24198 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24199 $as_echo_n "(cached) " >&6
24200 else
24203 ac_ext=cpp
24204 ac_cpp='$CXXCPP $CPPFLAGS'
24205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24210 /* end confdefs.h. */
24211 #include <math.h>
24213 main ()
24215 atan2l(0, 0);
24217 return 0;
24219 _ACEOF
24220 if ac_fn_cxx_try_compile "$LINENO"; then :
24221 glibcxx_cv_func_atan2l_use=yes
24222 else
24223 glibcxx_cv_func_atan2l_use=no
24225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24226 ac_ext=c
24227 ac_cpp='$CPP $CPPFLAGS'
24228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24237 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24239 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24240 for ac_func in atan2l
24241 do :
24242 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24243 if test "x$ac_cv_func_atan2l" = x""yes; then :
24244 cat >>confdefs.h <<_ACEOF
24245 #define HAVE_ATAN2L 1
24246 _ACEOF
24249 done
24251 else
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24254 $as_echo_n "checking for _atan2l declaration... " >&6; }
24255 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24256 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24257 $as_echo_n "(cached) " >&6
24258 else
24261 ac_ext=cpp
24262 ac_cpp='$CXXCPP $CPPFLAGS'
24263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24268 /* end confdefs.h. */
24269 #include <math.h>
24271 main ()
24273 _atan2l(0, 0);
24275 return 0;
24277 _ACEOF
24278 if ac_fn_cxx_try_compile "$LINENO"; then :
24279 glibcxx_cv_func__atan2l_use=yes
24280 else
24281 glibcxx_cv_func__atan2l_use=no
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284 ac_ext=c
24285 ac_cpp='$CPP $CPPFLAGS'
24286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24295 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24297 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24298 for ac_func in _atan2l
24299 do :
24300 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24301 if test "x$ac_cv_func__atan2l" = x""yes; then :
24302 cat >>confdefs.h <<_ACEOF
24303 #define HAVE__ATAN2L 1
24304 _ACEOF
24307 done
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24317 $as_echo_n "checking for expl declaration... " >&6; }
24318 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24319 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24320 $as_echo_n "(cached) " >&6
24321 else
24324 ac_ext=cpp
24325 ac_cpp='$CXXCPP $CPPFLAGS'
24326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24331 /* end confdefs.h. */
24332 #include <math.h>
24333 #ifdef HAVE_IEEEFP_H
24334 #include <ieeefp.h>
24335 #endif
24338 main ()
24340 expl(0);
24342 return 0;
24344 _ACEOF
24345 if ac_fn_cxx_try_compile "$LINENO"; then :
24346 glibcxx_cv_func_expl_use=yes
24347 else
24348 glibcxx_cv_func_expl_use=no
24350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24351 ac_ext=c
24352 ac_cpp='$CPP $CPPFLAGS'
24353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24362 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24364 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24365 for ac_func in expl
24366 do :
24367 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24368 if test "x$ac_cv_func_expl" = x""yes; then :
24369 cat >>confdefs.h <<_ACEOF
24370 #define HAVE_EXPL 1
24371 _ACEOF
24374 done
24376 else
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24379 $as_echo_n "checking for _expl declaration... " >&6; }
24380 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24381 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24382 $as_echo_n "(cached) " >&6
24383 else
24386 ac_ext=cpp
24387 ac_cpp='$CXXCPP $CPPFLAGS'
24388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h. */
24394 #include <math.h>
24395 #ifdef HAVE_IEEEFP_H
24396 #include <ieeefp.h>
24397 #endif
24400 main ()
24402 _expl(0);
24404 return 0;
24406 _ACEOF
24407 if ac_fn_cxx_try_compile "$LINENO"; then :
24408 glibcxx_cv_func__expl_use=yes
24409 else
24410 glibcxx_cv_func__expl_use=no
24412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24413 ac_ext=c
24414 ac_cpp='$CPP $CPPFLAGS'
24415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24424 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24426 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24427 for ac_func in _expl
24428 do :
24429 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24430 if test "x$ac_cv_func__expl" = x""yes; then :
24431 cat >>confdefs.h <<_ACEOF
24432 #define HAVE__EXPL 1
24433 _ACEOF
24436 done
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24446 $as_echo_n "checking for fabsl declaration... " >&6; }
24447 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24448 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24449 $as_echo_n "(cached) " >&6
24450 else
24453 ac_ext=cpp
24454 ac_cpp='$CXXCPP $CPPFLAGS'
24455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24460 /* end confdefs.h. */
24461 #include <math.h>
24462 #ifdef HAVE_IEEEFP_H
24463 #include <ieeefp.h>
24464 #endif
24467 main ()
24469 fabsl(0);
24471 return 0;
24473 _ACEOF
24474 if ac_fn_cxx_try_compile "$LINENO"; then :
24475 glibcxx_cv_func_fabsl_use=yes
24476 else
24477 glibcxx_cv_func_fabsl_use=no
24479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24480 ac_ext=c
24481 ac_cpp='$CPP $CPPFLAGS'
24482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24491 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24493 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24494 for ac_func in fabsl
24495 do :
24496 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24497 if test "x$ac_cv_func_fabsl" = x""yes; then :
24498 cat >>confdefs.h <<_ACEOF
24499 #define HAVE_FABSL 1
24500 _ACEOF
24503 done
24505 else
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24508 $as_echo_n "checking for _fabsl declaration... " >&6; }
24509 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24510 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24511 $as_echo_n "(cached) " >&6
24512 else
24515 ac_ext=cpp
24516 ac_cpp='$CXXCPP $CPPFLAGS'
24517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24522 /* end confdefs.h. */
24523 #include <math.h>
24524 #ifdef HAVE_IEEEFP_H
24525 #include <ieeefp.h>
24526 #endif
24529 main ()
24531 _fabsl(0);
24533 return 0;
24535 _ACEOF
24536 if ac_fn_cxx_try_compile "$LINENO"; then :
24537 glibcxx_cv_func__fabsl_use=yes
24538 else
24539 glibcxx_cv_func__fabsl_use=no
24541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24542 ac_ext=c
24543 ac_cpp='$CPP $CPPFLAGS'
24544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24553 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24555 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24556 for ac_func in _fabsl
24557 do :
24558 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24559 if test "x$ac_cv_func__fabsl" = x""yes; then :
24560 cat >>confdefs.h <<_ACEOF
24561 #define HAVE__FABSL 1
24562 _ACEOF
24565 done
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24575 $as_echo_n "checking for fmodl declaration... " >&6; }
24576 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24577 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24578 $as_echo_n "(cached) " >&6
24579 else
24582 ac_ext=cpp
24583 ac_cpp='$CXXCPP $CPPFLAGS'
24584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24589 /* end confdefs.h. */
24590 #include <math.h>
24592 main ()
24594 fmodl(0, 0);
24596 return 0;
24598 _ACEOF
24599 if ac_fn_cxx_try_compile "$LINENO"; then :
24600 glibcxx_cv_func_fmodl_use=yes
24601 else
24602 glibcxx_cv_func_fmodl_use=no
24604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24605 ac_ext=c
24606 ac_cpp='$CPP $CPPFLAGS'
24607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24616 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24618 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24619 for ac_func in fmodl
24620 do :
24621 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24622 if test "x$ac_cv_func_fmodl" = x""yes; then :
24623 cat >>confdefs.h <<_ACEOF
24624 #define HAVE_FMODL 1
24625 _ACEOF
24628 done
24630 else
24632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24633 $as_echo_n "checking for _fmodl declaration... " >&6; }
24634 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24635 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24636 $as_echo_n "(cached) " >&6
24637 else
24640 ac_ext=cpp
24641 ac_cpp='$CXXCPP $CPPFLAGS'
24642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24647 /* end confdefs.h. */
24648 #include <math.h>
24650 main ()
24652 _fmodl(0, 0);
24654 return 0;
24656 _ACEOF
24657 if ac_fn_cxx_try_compile "$LINENO"; then :
24658 glibcxx_cv_func__fmodl_use=yes
24659 else
24660 glibcxx_cv_func__fmodl_use=no
24662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24663 ac_ext=c
24664 ac_cpp='$CPP $CPPFLAGS'
24665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24674 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24676 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24677 for ac_func in _fmodl
24678 do :
24679 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24680 if test "x$ac_cv_func__fmodl" = x""yes; then :
24681 cat >>confdefs.h <<_ACEOF
24682 #define HAVE__FMODL 1
24683 _ACEOF
24686 done
24695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24696 $as_echo_n "checking for frexpl declaration... " >&6; }
24697 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24698 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24699 $as_echo_n "(cached) " >&6
24700 else
24703 ac_ext=cpp
24704 ac_cpp='$CXXCPP $CPPFLAGS'
24705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24710 /* end confdefs.h. */
24711 #include <math.h>
24713 main ()
24715 frexpl(0, 0);
24717 return 0;
24719 _ACEOF
24720 if ac_fn_cxx_try_compile "$LINENO"; then :
24721 glibcxx_cv_func_frexpl_use=yes
24722 else
24723 glibcxx_cv_func_frexpl_use=no
24725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24726 ac_ext=c
24727 ac_cpp='$CPP $CPPFLAGS'
24728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24737 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24739 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24740 for ac_func in frexpl
24741 do :
24742 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24743 if test "x$ac_cv_func_frexpl" = x""yes; then :
24744 cat >>confdefs.h <<_ACEOF
24745 #define HAVE_FREXPL 1
24746 _ACEOF
24749 done
24751 else
24753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24754 $as_echo_n "checking for _frexpl declaration... " >&6; }
24755 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24756 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24757 $as_echo_n "(cached) " >&6
24758 else
24761 ac_ext=cpp
24762 ac_cpp='$CXXCPP $CPPFLAGS'
24763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24768 /* end confdefs.h. */
24769 #include <math.h>
24771 main ()
24773 _frexpl(0, 0);
24775 return 0;
24777 _ACEOF
24778 if ac_fn_cxx_try_compile "$LINENO"; then :
24779 glibcxx_cv_func__frexpl_use=yes
24780 else
24781 glibcxx_cv_func__frexpl_use=no
24783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24784 ac_ext=c
24785 ac_cpp='$CPP $CPPFLAGS'
24786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24795 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24797 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24798 for ac_func in _frexpl
24799 do :
24800 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24801 if test "x$ac_cv_func__frexpl" = x""yes; then :
24802 cat >>confdefs.h <<_ACEOF
24803 #define HAVE__FREXPL 1
24804 _ACEOF
24807 done
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24817 $as_echo_n "checking for hypotl declaration... " >&6; }
24818 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24819 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24820 $as_echo_n "(cached) " >&6
24821 else
24824 ac_ext=cpp
24825 ac_cpp='$CXXCPP $CPPFLAGS'
24826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24831 /* end confdefs.h. */
24832 #include <math.h>
24834 main ()
24836 hypotl(0, 0);
24838 return 0;
24840 _ACEOF
24841 if ac_fn_cxx_try_compile "$LINENO"; then :
24842 glibcxx_cv_func_hypotl_use=yes
24843 else
24844 glibcxx_cv_func_hypotl_use=no
24846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24847 ac_ext=c
24848 ac_cpp='$CPP $CPPFLAGS'
24849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24858 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24860 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24861 for ac_func in hypotl
24862 do :
24863 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24864 if test "x$ac_cv_func_hypotl" = x""yes; then :
24865 cat >>confdefs.h <<_ACEOF
24866 #define HAVE_HYPOTL 1
24867 _ACEOF
24870 done
24872 else
24874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24875 $as_echo_n "checking for _hypotl declaration... " >&6; }
24876 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24877 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24878 $as_echo_n "(cached) " >&6
24879 else
24882 ac_ext=cpp
24883 ac_cpp='$CXXCPP $CPPFLAGS'
24884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24889 /* end confdefs.h. */
24890 #include <math.h>
24892 main ()
24894 _hypotl(0, 0);
24896 return 0;
24898 _ACEOF
24899 if ac_fn_cxx_try_compile "$LINENO"; then :
24900 glibcxx_cv_func__hypotl_use=yes
24901 else
24902 glibcxx_cv_func__hypotl_use=no
24904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24905 ac_ext=c
24906 ac_cpp='$CPP $CPPFLAGS'
24907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24916 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24918 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24919 for ac_func in _hypotl
24920 do :
24921 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24922 if test "x$ac_cv_func__hypotl" = x""yes; then :
24923 cat >>confdefs.h <<_ACEOF
24924 #define HAVE__HYPOTL 1
24925 _ACEOF
24928 done
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24938 $as_echo_n "checking for ldexpl declaration... " >&6; }
24939 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24940 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24941 $as_echo_n "(cached) " >&6
24942 else
24945 ac_ext=cpp
24946 ac_cpp='$CXXCPP $CPPFLAGS'
24947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24952 /* end confdefs.h. */
24953 #include <math.h>
24955 main ()
24957 ldexpl(0, 0);
24959 return 0;
24961 _ACEOF
24962 if ac_fn_cxx_try_compile "$LINENO"; then :
24963 glibcxx_cv_func_ldexpl_use=yes
24964 else
24965 glibcxx_cv_func_ldexpl_use=no
24967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24968 ac_ext=c
24969 ac_cpp='$CPP $CPPFLAGS'
24970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24979 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24981 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24982 for ac_func in ldexpl
24983 do :
24984 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24985 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24986 cat >>confdefs.h <<_ACEOF
24987 #define HAVE_LDEXPL 1
24988 _ACEOF
24991 done
24993 else
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24996 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24997 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24998 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24999 $as_echo_n "(cached) " >&6
25000 else
25003 ac_ext=cpp
25004 ac_cpp='$CXXCPP $CPPFLAGS'
25005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h. */
25011 #include <math.h>
25013 main ()
25015 _ldexpl(0, 0);
25017 return 0;
25019 _ACEOF
25020 if ac_fn_cxx_try_compile "$LINENO"; then :
25021 glibcxx_cv_func__ldexpl_use=yes
25022 else
25023 glibcxx_cv_func__ldexpl_use=no
25025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026 ac_ext=c
25027 ac_cpp='$CPP $CPPFLAGS'
25028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25037 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25039 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25040 for ac_func in _ldexpl
25041 do :
25042 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25043 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25044 cat >>confdefs.h <<_ACEOF
25045 #define HAVE__LDEXPL 1
25046 _ACEOF
25049 done
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25059 $as_echo_n "checking for logl declaration... " >&6; }
25060 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25061 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25062 $as_echo_n "(cached) " >&6
25063 else
25066 ac_ext=cpp
25067 ac_cpp='$CXXCPP $CPPFLAGS'
25068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25073 /* end confdefs.h. */
25074 #include <math.h>
25075 #ifdef HAVE_IEEEFP_H
25076 #include <ieeefp.h>
25077 #endif
25080 main ()
25082 logl(0);
25084 return 0;
25086 _ACEOF
25087 if ac_fn_cxx_try_compile "$LINENO"; then :
25088 glibcxx_cv_func_logl_use=yes
25089 else
25090 glibcxx_cv_func_logl_use=no
25092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25093 ac_ext=c
25094 ac_cpp='$CPP $CPPFLAGS'
25095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25104 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25106 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25107 for ac_func in logl
25108 do :
25109 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25110 if test "x$ac_cv_func_logl" = x""yes; then :
25111 cat >>confdefs.h <<_ACEOF
25112 #define HAVE_LOGL 1
25113 _ACEOF
25116 done
25118 else
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25121 $as_echo_n "checking for _logl declaration... " >&6; }
25122 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25123 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25124 $as_echo_n "(cached) " >&6
25125 else
25128 ac_ext=cpp
25129 ac_cpp='$CXXCPP $CPPFLAGS'
25130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25135 /* end confdefs.h. */
25136 #include <math.h>
25137 #ifdef HAVE_IEEEFP_H
25138 #include <ieeefp.h>
25139 #endif
25142 main ()
25144 _logl(0);
25146 return 0;
25148 _ACEOF
25149 if ac_fn_cxx_try_compile "$LINENO"; then :
25150 glibcxx_cv_func__logl_use=yes
25151 else
25152 glibcxx_cv_func__logl_use=no
25154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25155 ac_ext=c
25156 ac_cpp='$CPP $CPPFLAGS'
25157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25166 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25168 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25169 for ac_func in _logl
25170 do :
25171 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25172 if test "x$ac_cv_func__logl" = x""yes; then :
25173 cat >>confdefs.h <<_ACEOF
25174 #define HAVE__LOGL 1
25175 _ACEOF
25178 done
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25188 $as_echo_n "checking for log10l declaration... " >&6; }
25189 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25190 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25191 $as_echo_n "(cached) " >&6
25192 else
25195 ac_ext=cpp
25196 ac_cpp='$CXXCPP $CPPFLAGS'
25197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25202 /* end confdefs.h. */
25203 #include <math.h>
25204 #ifdef HAVE_IEEEFP_H
25205 #include <ieeefp.h>
25206 #endif
25209 main ()
25211 log10l(0);
25213 return 0;
25215 _ACEOF
25216 if ac_fn_cxx_try_compile "$LINENO"; then :
25217 glibcxx_cv_func_log10l_use=yes
25218 else
25219 glibcxx_cv_func_log10l_use=no
25221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25222 ac_ext=c
25223 ac_cpp='$CPP $CPPFLAGS'
25224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25233 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25235 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25236 for ac_func in log10l
25237 do :
25238 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25239 if test "x$ac_cv_func_log10l" = x""yes; then :
25240 cat >>confdefs.h <<_ACEOF
25241 #define HAVE_LOG10L 1
25242 _ACEOF
25245 done
25247 else
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25250 $as_echo_n "checking for _log10l declaration... " >&6; }
25251 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25252 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25253 $as_echo_n "(cached) " >&6
25254 else
25257 ac_ext=cpp
25258 ac_cpp='$CXXCPP $CPPFLAGS'
25259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25264 /* end confdefs.h. */
25265 #include <math.h>
25266 #ifdef HAVE_IEEEFP_H
25267 #include <ieeefp.h>
25268 #endif
25271 main ()
25273 _log10l(0);
25275 return 0;
25277 _ACEOF
25278 if ac_fn_cxx_try_compile "$LINENO"; then :
25279 glibcxx_cv_func__log10l_use=yes
25280 else
25281 glibcxx_cv_func__log10l_use=no
25283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25284 ac_ext=c
25285 ac_cpp='$CPP $CPPFLAGS'
25286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25295 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25297 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25298 for ac_func in _log10l
25299 do :
25300 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25301 if test "x$ac_cv_func__log10l" = x""yes; then :
25302 cat >>confdefs.h <<_ACEOF
25303 #define HAVE__LOG10L 1
25304 _ACEOF
25307 done
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25317 $as_echo_n "checking for modfl declaration... " >&6; }
25318 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25319 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25320 $as_echo_n "(cached) " >&6
25321 else
25324 ac_ext=cpp
25325 ac_cpp='$CXXCPP $CPPFLAGS'
25326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25331 /* end confdefs.h. */
25332 #include <math.h>
25334 main ()
25336 modfl(0, 0);
25338 return 0;
25340 _ACEOF
25341 if ac_fn_cxx_try_compile "$LINENO"; then :
25342 glibcxx_cv_func_modfl_use=yes
25343 else
25344 glibcxx_cv_func_modfl_use=no
25346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25347 ac_ext=c
25348 ac_cpp='$CPP $CPPFLAGS'
25349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25358 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25360 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25361 for ac_func in modfl
25362 do :
25363 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25364 if test "x$ac_cv_func_modfl" = x""yes; then :
25365 cat >>confdefs.h <<_ACEOF
25366 #define HAVE_MODFL 1
25367 _ACEOF
25370 done
25372 else
25374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25375 $as_echo_n "checking for _modfl declaration... " >&6; }
25376 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25377 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25378 $as_echo_n "(cached) " >&6
25379 else
25382 ac_ext=cpp
25383 ac_cpp='$CXXCPP $CPPFLAGS'
25384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25390 #include <math.h>
25392 main ()
25394 _modfl(0, 0);
25396 return 0;
25398 _ACEOF
25399 if ac_fn_cxx_try_compile "$LINENO"; then :
25400 glibcxx_cv_func__modfl_use=yes
25401 else
25402 glibcxx_cv_func__modfl_use=no
25404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405 ac_ext=c
25406 ac_cpp='$CPP $CPPFLAGS'
25407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25416 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25418 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25419 for ac_func in _modfl
25420 do :
25421 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25422 if test "x$ac_cv_func__modfl" = x""yes; then :
25423 cat >>confdefs.h <<_ACEOF
25424 #define HAVE__MODFL 1
25425 _ACEOF
25428 done
25437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25438 $as_echo_n "checking for powl declaration... " >&6; }
25439 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25440 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25441 $as_echo_n "(cached) " >&6
25442 else
25445 ac_ext=cpp
25446 ac_cpp='$CXXCPP $CPPFLAGS'
25447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25452 /* end confdefs.h. */
25453 #include <math.h>
25455 main ()
25457 powl(0, 0);
25459 return 0;
25461 _ACEOF
25462 if ac_fn_cxx_try_compile "$LINENO"; then :
25463 glibcxx_cv_func_powl_use=yes
25464 else
25465 glibcxx_cv_func_powl_use=no
25467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25468 ac_ext=c
25469 ac_cpp='$CPP $CPPFLAGS'
25470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25479 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25481 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25482 for ac_func in powl
25483 do :
25484 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25485 if test "x$ac_cv_func_powl" = x""yes; then :
25486 cat >>confdefs.h <<_ACEOF
25487 #define HAVE_POWL 1
25488 _ACEOF
25491 done
25493 else
25495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25496 $as_echo_n "checking for _powl declaration... " >&6; }
25497 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25498 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25499 $as_echo_n "(cached) " >&6
25500 else
25503 ac_ext=cpp
25504 ac_cpp='$CXXCPP $CPPFLAGS'
25505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25510 /* end confdefs.h. */
25511 #include <math.h>
25513 main ()
25515 _powl(0, 0);
25517 return 0;
25519 _ACEOF
25520 if ac_fn_cxx_try_compile "$LINENO"; then :
25521 glibcxx_cv_func__powl_use=yes
25522 else
25523 glibcxx_cv_func__powl_use=no
25525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25526 ac_ext=c
25527 ac_cpp='$CPP $CPPFLAGS'
25528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25537 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25539 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25540 for ac_func in _powl
25541 do :
25542 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25543 if test "x$ac_cv_func__powl" = x""yes; then :
25544 cat >>confdefs.h <<_ACEOF
25545 #define HAVE__POWL 1
25546 _ACEOF
25549 done
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25559 $as_echo_n "checking for sqrtl declaration... " >&6; }
25560 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25561 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25562 $as_echo_n "(cached) " >&6
25563 else
25566 ac_ext=cpp
25567 ac_cpp='$CXXCPP $CPPFLAGS'
25568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25573 /* end confdefs.h. */
25574 #include <math.h>
25575 #ifdef HAVE_IEEEFP_H
25576 #include <ieeefp.h>
25577 #endif
25580 main ()
25582 sqrtl(0);
25584 return 0;
25586 _ACEOF
25587 if ac_fn_cxx_try_compile "$LINENO"; then :
25588 glibcxx_cv_func_sqrtl_use=yes
25589 else
25590 glibcxx_cv_func_sqrtl_use=no
25592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25593 ac_ext=c
25594 ac_cpp='$CPP $CPPFLAGS'
25595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25604 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25606 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25607 for ac_func in sqrtl
25608 do :
25609 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25610 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25611 cat >>confdefs.h <<_ACEOF
25612 #define HAVE_SQRTL 1
25613 _ACEOF
25616 done
25618 else
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25621 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25622 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25623 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25624 $as_echo_n "(cached) " >&6
25625 else
25628 ac_ext=cpp
25629 ac_cpp='$CXXCPP $CPPFLAGS'
25630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25635 /* end confdefs.h. */
25636 #include <math.h>
25637 #ifdef HAVE_IEEEFP_H
25638 #include <ieeefp.h>
25639 #endif
25642 main ()
25644 _sqrtl(0);
25646 return 0;
25648 _ACEOF
25649 if ac_fn_cxx_try_compile "$LINENO"; then :
25650 glibcxx_cv_func__sqrtl_use=yes
25651 else
25652 glibcxx_cv_func__sqrtl_use=no
25654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25655 ac_ext=c
25656 ac_cpp='$CPP $CPPFLAGS'
25657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25666 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25668 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25669 for ac_func in _sqrtl
25670 do :
25671 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25672 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25673 cat >>confdefs.h <<_ACEOF
25674 #define HAVE__SQRTL 1
25675 _ACEOF
25678 done
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25688 $as_echo_n "checking for sincosl declaration... " >&6; }
25689 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25690 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25691 $as_echo_n "(cached) " >&6
25692 else
25695 ac_ext=cpp
25696 ac_cpp='$CXXCPP $CPPFLAGS'
25697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25702 /* end confdefs.h. */
25703 #include <math.h>
25705 main ()
25707 sincosl(0, 0, 0);
25709 return 0;
25711 _ACEOF
25712 if ac_fn_cxx_try_compile "$LINENO"; then :
25713 glibcxx_cv_func_sincosl_use=yes
25714 else
25715 glibcxx_cv_func_sincosl_use=no
25717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25718 ac_ext=c
25719 ac_cpp='$CPP $CPPFLAGS'
25720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25729 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25731 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25732 for ac_func in sincosl
25733 do :
25734 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25735 if test "x$ac_cv_func_sincosl" = x""yes; then :
25736 cat >>confdefs.h <<_ACEOF
25737 #define HAVE_SINCOSL 1
25738 _ACEOF
25741 done
25743 else
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25746 $as_echo_n "checking for _sincosl declaration... " >&6; }
25747 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25748 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25749 $as_echo_n "(cached) " >&6
25750 else
25753 ac_ext=cpp
25754 ac_cpp='$CXXCPP $CPPFLAGS'
25755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25760 /* end confdefs.h. */
25761 #include <math.h>
25763 main ()
25765 _sincosl(0, 0, 0);
25767 return 0;
25769 _ACEOF
25770 if ac_fn_cxx_try_compile "$LINENO"; then :
25771 glibcxx_cv_func__sincosl_use=yes
25772 else
25773 glibcxx_cv_func__sincosl_use=no
25775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25776 ac_ext=c
25777 ac_cpp='$CPP $CPPFLAGS'
25778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25787 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25789 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25790 for ac_func in _sincosl
25791 do :
25792 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25793 if test "x$ac_cv_func__sincosl" = x""yes; then :
25794 cat >>confdefs.h <<_ACEOF
25795 #define HAVE__SINCOSL 1
25796 _ACEOF
25799 done
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25809 $as_echo_n "checking for finitel declaration... " >&6; }
25810 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25811 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25812 $as_echo_n "(cached) " >&6
25813 else
25816 ac_ext=cpp
25817 ac_cpp='$CXXCPP $CPPFLAGS'
25818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25823 /* end confdefs.h. */
25824 #include <math.h>
25825 #ifdef HAVE_IEEEFP_H
25826 #include <ieeefp.h>
25827 #endif
25830 main ()
25832 finitel(0);
25834 return 0;
25836 _ACEOF
25837 if ac_fn_cxx_try_compile "$LINENO"; then :
25838 glibcxx_cv_func_finitel_use=yes
25839 else
25840 glibcxx_cv_func_finitel_use=no
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843 ac_ext=c
25844 ac_cpp='$CPP $CPPFLAGS'
25845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25854 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25856 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25857 for ac_func in finitel
25858 do :
25859 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25860 if test "x$ac_cv_func_finitel" = x""yes; then :
25861 cat >>confdefs.h <<_ACEOF
25862 #define HAVE_FINITEL 1
25863 _ACEOF
25866 done
25868 else
25870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25871 $as_echo_n "checking for _finitel declaration... " >&6; }
25872 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25873 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25874 $as_echo_n "(cached) " >&6
25875 else
25878 ac_ext=cpp
25879 ac_cpp='$CXXCPP $CPPFLAGS'
25880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25885 /* end confdefs.h. */
25886 #include <math.h>
25887 #ifdef HAVE_IEEEFP_H
25888 #include <ieeefp.h>
25889 #endif
25892 main ()
25894 _finitel(0);
25896 return 0;
25898 _ACEOF
25899 if ac_fn_cxx_try_compile "$LINENO"; then :
25900 glibcxx_cv_func__finitel_use=yes
25901 else
25902 glibcxx_cv_func__finitel_use=no
25904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25905 ac_ext=c
25906 ac_cpp='$CPP $CPPFLAGS'
25907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25916 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25918 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25919 for ac_func in _finitel
25920 do :
25921 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25922 if test "x$ac_cv_func__finitel" = x""yes; then :
25923 cat >>confdefs.h <<_ACEOF
25924 #define HAVE__FINITEL 1
25925 _ACEOF
25928 done
25936 LIBS="$ac_save_LIBS"
25937 CXXFLAGS="$ac_save_CXXFLAGS"
25940 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25941 ac_save_CXXFLAGS="$CXXFLAGS"
25942 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25946 $as_echo_n "checking for strtold declaration... " >&6; }
25947 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25948 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25949 $as_echo_n "(cached) " >&6
25950 else
25953 ac_ext=cpp
25954 ac_cpp='$CXXCPP $CPPFLAGS'
25955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25960 /* end confdefs.h. */
25961 #include <stdlib.h>
25963 main ()
25965 strtold(0, 0);
25967 return 0;
25969 _ACEOF
25970 if ac_fn_cxx_try_compile "$LINENO"; then :
25971 glibcxx_cv_func_strtold_use=yes
25972 else
25973 glibcxx_cv_func_strtold_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_strtold_use" >&5
25987 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25988 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25989 for ac_func in strtold
25990 do :
25991 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25992 if test "x$ac_cv_func_strtold" = x""yes; then :
25993 cat >>confdefs.h <<_ACEOF
25994 #define HAVE_STRTOLD 1
25995 _ACEOF
25998 done
26005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26006 $as_echo_n "checking for strtof declaration... " >&6; }
26007 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26008 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26009 $as_echo_n "(cached) " >&6
26010 else
26013 ac_ext=cpp
26014 ac_cpp='$CXXCPP $CPPFLAGS'
26015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26020 /* end confdefs.h. */
26021 #include <stdlib.h>
26023 main ()
26025 strtof(0, 0);
26027 return 0;
26029 _ACEOF
26030 if ac_fn_cxx_try_compile "$LINENO"; then :
26031 glibcxx_cv_func_strtof_use=yes
26032 else
26033 glibcxx_cv_func_strtof_use=no
26035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26036 ac_ext=c
26037 ac_cpp='$CPP $CPPFLAGS'
26038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26047 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26048 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26049 for ac_func in strtof
26050 do :
26051 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26052 if test "x$ac_cv_func_strtof" = x""yes; then :
26053 cat >>confdefs.h <<_ACEOF
26054 #define HAVE_STRTOF 1
26055 _ACEOF
26058 done
26065 CXXFLAGS="$ac_save_CXXFLAGS"
26068 # For /dev/random and /dev/urandom for TR1.
26071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26072 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26073 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26074 $as_echo_n "(cached) " >&6
26075 else
26077 if test -r /dev/random && test -r /dev/urandom; then
26078 glibcxx_cv_random_tr1=yes;
26079 else
26080 glibcxx_cv_random_tr1=no;
26085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26086 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26088 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26090 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26096 # For TLS support.
26099 # Check whether --enable-tls was given.
26100 if test "${enable_tls+set}" = set; then :
26101 enableval=$enable_tls;
26102 case "$enableval" in
26103 yes|no) ;;
26104 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26105 esac
26107 else
26108 enable_tls=yes
26112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26113 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26114 if test "${gcc_cv_have_tls+set}" = set; then :
26115 $as_echo_n "(cached) " >&6
26116 else
26118 if test "$cross_compiling" = yes; then :
26119 if test x$gcc_no_link = xyes; then
26120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26123 /* end confdefs.h. */
26124 __thread int a; int b; int main() { return a = b; }
26125 _ACEOF
26126 if ac_fn_c_try_link "$LINENO"; then :
26127 chktls_save_LDFLAGS="$LDFLAGS"
26128 case $host in
26129 *-*-linux*)
26130 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26132 esac
26133 chktls_save_CFLAGS="$CFLAGS"
26134 CFLAGS="-fPIC $CFLAGS"
26135 if test x$gcc_no_link = xyes; then
26136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26139 /* end confdefs.h. */
26140 int f() { return 0; }
26141 _ACEOF
26142 if ac_fn_c_try_link "$LINENO"; then :
26143 if test x$gcc_no_link = xyes; then
26144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26147 /* end confdefs.h. */
26148 __thread int a; int b; int f() { return a = b; }
26149 _ACEOF
26150 if ac_fn_c_try_link "$LINENO"; then :
26151 gcc_cv_have_tls=yes
26152 else
26153 gcc_cv_have_tls=no
26155 rm -f core conftest.err conftest.$ac_objext \
26156 conftest$ac_exeext conftest.$ac_ext
26157 else
26158 gcc_cv_have_tls=yes
26160 rm -f core conftest.err conftest.$ac_objext \
26161 conftest$ac_exeext conftest.$ac_ext
26162 CFLAGS="$chktls_save_CFLAGS"
26163 LDFLAGS="$chktls_save_LDFLAGS"
26164 else
26165 gcc_cv_have_tls=no
26167 rm -f core conftest.err conftest.$ac_objext \
26168 conftest$ac_exeext conftest.$ac_ext
26171 else
26172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26173 /* end confdefs.h. */
26174 __thread int a; int b; int main() { return a = b; }
26175 _ACEOF
26176 if ac_fn_c_try_run "$LINENO"; then :
26177 chktls_save_LDFLAGS="$LDFLAGS"
26178 LDFLAGS="-static $LDFLAGS"
26179 if test x$gcc_no_link = xyes; then
26180 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26183 /* end confdefs.h. */
26184 int main() { return 0; }
26185 _ACEOF
26186 if ac_fn_c_try_link "$LINENO"; then :
26187 if test "$cross_compiling" = yes; then :
26188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26190 as_fn_error "cannot run test program while cross compiling
26191 See \`config.log' for more details." "$LINENO" 5; }
26192 else
26193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26194 /* end confdefs.h. */
26195 __thread int a; int b; int main() { return a = b; }
26196 _ACEOF
26197 if ac_fn_c_try_run "$LINENO"; then :
26198 gcc_cv_have_tls=yes
26199 else
26200 gcc_cv_have_tls=no
26202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26203 conftest.$ac_objext conftest.beam conftest.$ac_ext
26206 else
26207 gcc_cv_have_tls=yes
26209 rm -f core conftest.err conftest.$ac_objext \
26210 conftest$ac_exeext conftest.$ac_ext
26211 LDFLAGS="$chktls_save_LDFLAGS"
26212 if test $gcc_cv_have_tls = yes; then
26213 chktls_save_CFLAGS="$CFLAGS"
26214 thread_CFLAGS=failed
26215 for flag in '' '-pthread' '-lpthread'; do
26216 CFLAGS="$flag $chktls_save_CFLAGS"
26217 if test x$gcc_no_link = xyes; then
26218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26221 /* end confdefs.h. */
26222 #include <pthread.h>
26223 void *g(void *d) { return NULL; }
26225 main ()
26227 pthread_t t; pthread_create(&t,NULL,g,NULL);
26229 return 0;
26231 _ACEOF
26232 if ac_fn_c_try_link "$LINENO"; then :
26233 thread_CFLAGS="$flag"
26235 rm -f core conftest.err conftest.$ac_objext \
26236 conftest$ac_exeext conftest.$ac_ext
26237 if test "X$thread_CFLAGS" != Xfailed; then
26238 break
26240 done
26241 CFLAGS="$chktls_save_CFLAGS"
26242 if test "X$thread_CFLAGS" != Xfailed; then
26243 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26244 if test "$cross_compiling" = yes; then :
26245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26247 as_fn_error "cannot run test program while cross compiling
26248 See \`config.log' for more details." "$LINENO" 5; }
26249 else
26250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26251 /* end confdefs.h. */
26252 #include <pthread.h>
26253 __thread int a;
26254 static int *volatile a_in_other_thread;
26255 static void *
26256 thread_func (void *arg)
26258 a_in_other_thread = &a;
26259 return (void *)0;
26262 main ()
26264 pthread_t thread;
26265 void *thread_retval;
26266 int *volatile a_in_main_thread;
26267 a_in_main_thread = &a;
26268 if (pthread_create (&thread, (pthread_attr_t *)0,
26269 thread_func, (void *)0))
26270 return 0;
26271 if (pthread_join (thread, &thread_retval))
26272 return 0;
26273 return (a_in_other_thread == a_in_main_thread);
26275 return 0;
26277 _ACEOF
26278 if ac_fn_c_try_run "$LINENO"; then :
26279 gcc_cv_have_tls=yes
26280 else
26281 gcc_cv_have_tls=no
26283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26284 conftest.$ac_objext conftest.beam conftest.$ac_ext
26287 CFLAGS="$chktls_save_CFLAGS"
26290 else
26291 gcc_cv_have_tls=no
26293 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26294 conftest.$ac_objext conftest.beam conftest.$ac_ext
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26299 $as_echo "$gcc_cv_have_tls" >&6; }
26300 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26302 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26306 # For iconv support.
26308 if test "X$prefix" = "XNONE"; then
26309 acl_final_prefix="$ac_default_prefix"
26310 else
26311 acl_final_prefix="$prefix"
26313 if test "X$exec_prefix" = "XNONE"; then
26314 acl_final_exec_prefix='${prefix}'
26315 else
26316 acl_final_exec_prefix="$exec_prefix"
26318 acl_save_prefix="$prefix"
26319 prefix="$acl_final_prefix"
26320 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26321 prefix="$acl_save_prefix"
26324 # Check whether --with-gnu-ld was given.
26325 if test "${with_gnu_ld+set}" = set; then :
26326 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26327 else
26328 with_gnu_ld=no
26331 # Prepare PATH_SEPARATOR.
26332 # The user is always right.
26333 if test "${PATH_SEPARATOR+set}" != set; then
26334 echo "#! /bin/sh" >conf$$.sh
26335 echo "exit 0" >>conf$$.sh
26336 chmod +x conf$$.sh
26337 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26338 PATH_SEPARATOR=';'
26339 else
26340 PATH_SEPARATOR=:
26342 rm -f conf$$.sh
26344 ac_prog=ld
26345 if test "$GCC" = yes; then
26346 # Check if gcc -print-prog-name=ld gives a path.
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26348 $as_echo_n "checking for ld used by GCC... " >&6; }
26349 case $host in
26350 *-*-mingw*)
26351 # gcc leaves a trailing carriage return which upsets mingw
26352 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26354 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26355 esac
26356 case $ac_prog in
26357 # Accept absolute paths.
26358 [\\/]* | [A-Za-z]:[\\/]*)
26359 re_direlt='/[^/][^/]*/\.\./'
26360 # Canonicalize the path of ld
26361 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26362 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26363 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26364 done
26365 test -z "$LD" && LD="$ac_prog"
26368 # If it fails, then pretend we aren't using GCC.
26369 ac_prog=ld
26372 # If it is relative, then search for the first ld in PATH.
26373 with_gnu_ld=unknown
26375 esac
26376 elif test "$with_gnu_ld" = yes; then
26377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26378 $as_echo_n "checking for GNU ld... " >&6; }
26379 else
26380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26381 $as_echo_n "checking for non-GNU ld... " >&6; }
26383 if test "${acl_cv_path_LD+set}" = set; then :
26384 $as_echo_n "(cached) " >&6
26385 else
26386 if test -z "$LD"; then
26387 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26388 for ac_dir in $PATH; do
26389 test -z "$ac_dir" && ac_dir=.
26390 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26391 acl_cv_path_LD="$ac_dir/$ac_prog"
26392 # Check to see if the program is GNU ld. I'd rather use --version,
26393 # but apparently some GNU ld's only accept -v.
26394 # Break only if it was the GNU/non-GNU ld that we prefer.
26395 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26396 test "$with_gnu_ld" != no && break
26397 else
26398 test "$with_gnu_ld" != yes && break
26401 done
26402 IFS="$ac_save_ifs"
26403 else
26404 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26408 LD="$acl_cv_path_LD"
26409 if test -n "$LD"; then
26410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26411 $as_echo "$LD" >&6; }
26412 else
26413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26414 $as_echo "no" >&6; }
26416 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26418 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26419 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26420 $as_echo_n "(cached) " >&6
26421 else
26422 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26423 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26424 acl_cv_prog_gnu_ld=yes
26425 else
26426 acl_cv_prog_gnu_ld=no
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26430 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26431 with_gnu_ld=$acl_cv_prog_gnu_ld
26435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26436 $as_echo_n "checking for shared library run path origin... " >&6; }
26437 if test "${acl_cv_rpath+set}" = set; then :
26438 $as_echo_n "(cached) " >&6
26439 else
26441 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26442 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26443 . ./conftest.sh
26444 rm -f ./conftest.sh
26445 acl_cv_rpath=done
26448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26449 $as_echo "$acl_cv_rpath" >&6; }
26450 wl="$acl_cv_wl"
26451 libext="$acl_cv_libext"
26452 shlibext="$acl_cv_shlibext"
26453 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26454 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26455 hardcode_direct="$acl_cv_hardcode_direct"
26456 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26457 # Check whether --enable-rpath was given.
26458 if test "${enable_rpath+set}" = set; then :
26459 enableval=$enable_rpath; :
26460 else
26461 enable_rpath=yes
26471 use_additional=yes
26473 acl_save_prefix="$prefix"
26474 prefix="$acl_final_prefix"
26475 acl_save_exec_prefix="$exec_prefix"
26476 exec_prefix="$acl_final_exec_prefix"
26478 eval additional_includedir=\"$includedir\"
26479 eval additional_libdir=\"$libdir\"
26481 exec_prefix="$acl_save_exec_prefix"
26482 prefix="$acl_save_prefix"
26485 # Check whether --with-libiconv-prefix was given.
26486 if test "${with_libiconv_prefix+set}" = set; then :
26487 withval=$with_libiconv_prefix;
26488 if test "X$withval" = "Xno"; then
26489 use_additional=no
26490 else
26491 if test "X$withval" = "X"; then
26493 acl_save_prefix="$prefix"
26494 prefix="$acl_final_prefix"
26495 acl_save_exec_prefix="$exec_prefix"
26496 exec_prefix="$acl_final_exec_prefix"
26498 eval additional_includedir=\"$includedir\"
26499 eval additional_libdir=\"$libdir\"
26501 exec_prefix="$acl_save_exec_prefix"
26502 prefix="$acl_save_prefix"
26504 else
26505 additional_includedir="$withval/include"
26506 additional_libdir="$withval/lib"
26512 LIBICONV=
26513 LTLIBICONV=
26514 INCICONV=
26515 rpathdirs=
26516 ltrpathdirs=
26517 names_already_handled=
26518 names_next_round='iconv '
26519 while test -n "$names_next_round"; do
26520 names_this_round="$names_next_round"
26521 names_next_round=
26522 for name in $names_this_round; do
26523 already_handled=
26524 for n in $names_already_handled; do
26525 if test "$n" = "$name"; then
26526 already_handled=yes
26527 break
26529 done
26530 if test -z "$already_handled"; then
26531 names_already_handled="$names_already_handled $name"
26532 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26533 eval value=\"\$HAVE_LIB$uppername\"
26534 if test -n "$value"; then
26535 if test "$value" = yes; then
26536 eval value=\"\$LIB$uppername\"
26537 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26538 eval value=\"\$LTLIB$uppername\"
26539 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26540 else
26543 else
26544 found_dir=
26545 found_la=
26546 found_so=
26547 found_a=
26548 if test $use_additional = yes; then
26549 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26550 found_dir="$additional_libdir"
26551 found_so="$additional_libdir/lib$name.$shlibext"
26552 if test -f "$additional_libdir/lib$name.la"; then
26553 found_la="$additional_libdir/lib$name.la"
26555 else
26556 if test -f "$additional_libdir/lib$name.$libext"; then
26557 found_dir="$additional_libdir"
26558 found_a="$additional_libdir/lib$name.$libext"
26559 if test -f "$additional_libdir/lib$name.la"; then
26560 found_la="$additional_libdir/lib$name.la"
26565 if test "X$found_dir" = "X"; then
26566 for x in $LDFLAGS $LTLIBICONV; do
26568 acl_save_prefix="$prefix"
26569 prefix="$acl_final_prefix"
26570 acl_save_exec_prefix="$exec_prefix"
26571 exec_prefix="$acl_final_exec_prefix"
26572 eval x=\"$x\"
26573 exec_prefix="$acl_save_exec_prefix"
26574 prefix="$acl_save_prefix"
26576 case "$x" in
26577 -L*)
26578 dir=`echo "X$x" | sed -e 's/^X-L//'`
26579 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26580 found_dir="$dir"
26581 found_so="$dir/lib$name.$shlibext"
26582 if test -f "$dir/lib$name.la"; then
26583 found_la="$dir/lib$name.la"
26585 else
26586 if test -f "$dir/lib$name.$libext"; then
26587 found_dir="$dir"
26588 found_a="$dir/lib$name.$libext"
26589 if test -f "$dir/lib$name.la"; then
26590 found_la="$dir/lib$name.la"
26595 esac
26596 if test "X$found_dir" != "X"; then
26597 break
26599 done
26601 if test "X$found_dir" != "X"; then
26602 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26603 if test "X$found_so" != "X"; then
26604 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26605 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26606 else
26607 haveit=
26608 for x in $ltrpathdirs; do
26609 if test "X$x" = "X$found_dir"; then
26610 haveit=yes
26611 break
26613 done
26614 if test -z "$haveit"; then
26615 ltrpathdirs="$ltrpathdirs $found_dir"
26617 if test "$hardcode_direct" = yes; then
26618 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26619 else
26620 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26621 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26622 haveit=
26623 for x in $rpathdirs; do
26624 if test "X$x" = "X$found_dir"; then
26625 haveit=yes
26626 break
26628 done
26629 if test -z "$haveit"; then
26630 rpathdirs="$rpathdirs $found_dir"
26632 else
26633 haveit=
26634 for x in $LDFLAGS $LIBICONV; do
26636 acl_save_prefix="$prefix"
26637 prefix="$acl_final_prefix"
26638 acl_save_exec_prefix="$exec_prefix"
26639 exec_prefix="$acl_final_exec_prefix"
26640 eval x=\"$x\"
26641 exec_prefix="$acl_save_exec_prefix"
26642 prefix="$acl_save_prefix"
26644 if test "X$x" = "X-L$found_dir"; then
26645 haveit=yes
26646 break
26648 done
26649 if test -z "$haveit"; then
26650 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26652 if test "$hardcode_minus_L" != no; then
26653 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26654 else
26655 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26660 else
26661 if test "X$found_a" != "X"; then
26662 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26663 else
26664 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26667 additional_includedir=
26668 case "$found_dir" in
26669 */lib | */lib/)
26670 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26671 additional_includedir="$basedir/include"
26673 esac
26674 if test "X$additional_includedir" != "X"; then
26675 if test "X$additional_includedir" != "X/usr/include"; then
26676 haveit=
26677 if test "X$additional_includedir" = "X/usr/local/include"; then
26678 if test -n "$GCC"; then
26679 case $host_os in
26680 linux*) haveit=yes;;
26681 esac
26684 if test -z "$haveit"; then
26685 for x in $CPPFLAGS $INCICONV; do
26687 acl_save_prefix="$prefix"
26688 prefix="$acl_final_prefix"
26689 acl_save_exec_prefix="$exec_prefix"
26690 exec_prefix="$acl_final_exec_prefix"
26691 eval x=\"$x\"
26692 exec_prefix="$acl_save_exec_prefix"
26693 prefix="$acl_save_prefix"
26695 if test "X$x" = "X-I$additional_includedir"; then
26696 haveit=yes
26697 break
26699 done
26700 if test -z "$haveit"; then
26701 if test -d "$additional_includedir"; then
26702 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26708 if test -n "$found_la"; then
26709 save_libdir="$libdir"
26710 case "$found_la" in
26711 */* | *\\*) . "$found_la" ;;
26712 *) . "./$found_la" ;;
26713 esac
26714 libdir="$save_libdir"
26715 for dep in $dependency_libs; do
26716 case "$dep" in
26717 -L*)
26718 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26719 if test "X$additional_libdir" != "X/usr/lib"; then
26720 haveit=
26721 if test "X$additional_libdir" = "X/usr/local/lib"; then
26722 if test -n "$GCC"; then
26723 case $host_os in
26724 linux*) haveit=yes;;
26725 esac
26728 if test -z "$haveit"; then
26729 haveit=
26730 for x in $LDFLAGS $LIBICONV; do
26732 acl_save_prefix="$prefix"
26733 prefix="$acl_final_prefix"
26734 acl_save_exec_prefix="$exec_prefix"
26735 exec_prefix="$acl_final_exec_prefix"
26736 eval x=\"$x\"
26737 exec_prefix="$acl_save_exec_prefix"
26738 prefix="$acl_save_prefix"
26740 if test "X$x" = "X-L$additional_libdir"; then
26741 haveit=yes
26742 break
26744 done
26745 if test -z "$haveit"; then
26746 if test -d "$additional_libdir"; then
26747 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26750 haveit=
26751 for x in $LDFLAGS $LTLIBICONV; do
26753 acl_save_prefix="$prefix"
26754 prefix="$acl_final_prefix"
26755 acl_save_exec_prefix="$exec_prefix"
26756 exec_prefix="$acl_final_exec_prefix"
26757 eval x=\"$x\"
26758 exec_prefix="$acl_save_exec_prefix"
26759 prefix="$acl_save_prefix"
26761 if test "X$x" = "X-L$additional_libdir"; then
26762 haveit=yes
26763 break
26765 done
26766 if test -z "$haveit"; then
26767 if test -d "$additional_libdir"; then
26768 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26774 -R*)
26775 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26776 if test "$enable_rpath" != no; then
26777 haveit=
26778 for x in $rpathdirs; do
26779 if test "X$x" = "X$dir"; then
26780 haveit=yes
26781 break
26783 done
26784 if test -z "$haveit"; then
26785 rpathdirs="$rpathdirs $dir"
26787 haveit=
26788 for x in $ltrpathdirs; do
26789 if test "X$x" = "X$dir"; then
26790 haveit=yes
26791 break
26793 done
26794 if test -z "$haveit"; then
26795 ltrpathdirs="$ltrpathdirs $dir"
26799 -l*)
26800 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26802 *.la)
26803 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26806 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26807 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26809 esac
26810 done
26812 else
26813 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26814 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26818 done
26819 done
26820 if test "X$rpathdirs" != "X"; then
26821 if test -n "$hardcode_libdir_separator"; then
26822 alldirs=
26823 for found_dir in $rpathdirs; do
26824 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26825 done
26826 acl_save_libdir="$libdir"
26827 libdir="$alldirs"
26828 eval flag=\"$hardcode_libdir_flag_spec\"
26829 libdir="$acl_save_libdir"
26830 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26831 else
26832 for found_dir in $rpathdirs; do
26833 acl_save_libdir="$libdir"
26834 libdir="$found_dir"
26835 eval flag=\"$hardcode_libdir_flag_spec\"
26836 libdir="$acl_save_libdir"
26837 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26838 done
26841 if test "X$ltrpathdirs" != "X"; then
26842 for found_dir in $ltrpathdirs; do
26843 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26844 done
26853 am_save_CPPFLAGS="$CPPFLAGS"
26855 for element in $INCICONV; do
26856 haveit=
26857 for x in $CPPFLAGS; do
26859 acl_save_prefix="$prefix"
26860 prefix="$acl_final_prefix"
26861 acl_save_exec_prefix="$exec_prefix"
26862 exec_prefix="$acl_final_exec_prefix"
26863 eval x=\"$x\"
26864 exec_prefix="$acl_save_exec_prefix"
26865 prefix="$acl_save_prefix"
26867 if test "X$x" = "X$element"; then
26868 haveit=yes
26869 break
26871 done
26872 if test -z "$haveit"; then
26873 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26875 done
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26879 $as_echo_n "checking for iconv... " >&6; }
26880 if test "${am_cv_func_iconv+set}" = set; then :
26881 $as_echo_n "(cached) " >&6
26882 else
26884 am_cv_func_iconv="no, consider installing GNU libiconv"
26885 am_cv_lib_iconv=no
26886 if test x$gcc_no_link = xyes; then
26887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26890 /* end confdefs.h. */
26891 #include <stdlib.h>
26892 #include <iconv.h>
26894 main ()
26896 iconv_t cd = iconv_open("","");
26897 iconv(cd,NULL,NULL,NULL,NULL);
26898 iconv_close(cd);
26900 return 0;
26902 _ACEOF
26903 if ac_fn_c_try_link "$LINENO"; then :
26904 am_cv_func_iconv=yes
26906 rm -f core conftest.err conftest.$ac_objext \
26907 conftest$ac_exeext conftest.$ac_ext
26908 if test "$am_cv_func_iconv" != yes; then
26909 am_save_LIBS="$LIBS"
26910 LIBS="$LIBS $LIBICONV"
26911 if test x$gcc_no_link = xyes; then
26912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26915 /* end confdefs.h. */
26916 #include <stdlib.h>
26917 #include <iconv.h>
26919 main ()
26921 iconv_t cd = iconv_open("","");
26922 iconv(cd,NULL,NULL,NULL,NULL);
26923 iconv_close(cd);
26925 return 0;
26927 _ACEOF
26928 if ac_fn_c_try_link "$LINENO"; then :
26929 am_cv_lib_iconv=yes
26930 am_cv_func_iconv=yes
26932 rm -f core conftest.err conftest.$ac_objext \
26933 conftest$ac_exeext conftest.$ac_ext
26934 LIBS="$am_save_LIBS"
26938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26939 $as_echo "$am_cv_func_iconv" >&6; }
26940 if test "$am_cv_func_iconv" = yes; then
26942 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26945 if test "$am_cv_lib_iconv" = yes; then
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26947 $as_echo_n "checking how to link with libiconv... " >&6; }
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26949 $as_echo "$LIBICONV" >&6; }
26950 else
26951 CPPFLAGS="$am_save_CPPFLAGS"
26952 LIBICONV=
26953 LTLIBICONV=
26958 if test "$am_cv_func_iconv" = yes; then
26959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26960 $as_echo_n "checking for iconv declaration... " >&6; }
26961 if test "${am_cv_proto_iconv+set}" = set; then :
26962 $as_echo_n "(cached) " >&6
26963 else
26965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26966 /* end confdefs.h. */
26968 #include <stdlib.h>
26969 #include <iconv.h>
26970 extern
26971 #ifdef __cplusplus
26973 #endif
26974 #if defined(__STDC__) || defined(__cplusplus)
26975 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26976 #else
26977 size_t iconv();
26978 #endif
26981 main ()
26985 return 0;
26987 _ACEOF
26988 if ac_fn_c_try_compile "$LINENO"; then :
26989 am_cv_proto_iconv_arg1=""
26990 else
26991 am_cv_proto_iconv_arg1="const"
26993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26994 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);"
26997 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26999 }$am_cv_proto_iconv" >&5
27000 $as_echo "${ac_t:-
27001 }$am_cv_proto_iconv" >&6; }
27003 cat >>confdefs.h <<_ACEOF
27004 #define ICONV_CONST $am_cv_proto_iconv_arg1
27005 _ACEOF
27010 else
27012 # This lets us hard-code the functionality we know we'll have in the cross
27013 # target environment. "Let" is a sugar-coated word placed on an especially
27014 # dull and tedious hack, actually.
27016 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27017 # that involve linking, can't be used:
27018 # "cannot open sim-crt0.o"
27019 # "cannot open crt0.o"
27020 # etc. All this is because there currently exists no unified, consistent
27021 # way for top level CC information to be passed down to target directories:
27022 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27023 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27024 # crosses can be removed.
27026 # If Canadian cross, then don't pick up tools from the build directory.
27027 # Used only in GLIBCXX_EXPORT_INCLUDES.
27028 if test -n "$with_cross_host" &&
27029 test x"$build_alias" != x"$with_cross_host" &&
27030 test x"$build" != x"$target";
27031 then
27032 CANADIAN=yes
27033 else
27034 CANADIAN=no
27037 # Construct crosses by hand, eliminating bits that need ld...
27038 # GLIBCXX_CHECK_MATH_SUPPORT
27040 # First, test for "known" system libraries. We may be using newlib even
27041 # on a hosted environment.
27042 if test "x${with_newlib}" = "xyes"; then
27043 os_include_dir="os/newlib"
27044 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27047 # GLIBCXX_CHECK_STDLIB_SUPPORT
27048 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27051 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27053 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27055 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27057 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27059 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27061 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27063 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27065 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27067 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27069 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27071 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27073 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27075 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27077 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27079 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27081 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27083 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27085 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27087 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27089 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27091 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27093 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27096 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27098 else
27100 # Base decisions on target environment.
27101 case "${host}" in
27102 arm*-*-symbianelf*)
27103 # This is a freestanding configuration; there is nothing to do here.
27106 mips*-sde-elf*)
27107 # These definitions are for the SDE C library rather than newlib.
27108 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27111 # All these tests are for C++; save the language and the compiler flags.
27112 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27113 # found in GLIBCXX_CONFIGURE.
27115 ac_ext=cpp
27116 ac_cpp='$CXXCPP $CPPFLAGS'
27117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27121 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27122 ac_save_CXXFLAGS="$CXXFLAGS"
27124 # Check for maintainer-mode bits.
27125 if test x"$USE_MAINTAINER_MODE" = xno; then
27126 WERROR=''
27127 else
27128 WERROR='-Werror'
27131 # Check for -ffunction-sections -fdata-sections
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27133 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27134 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27136 /* end confdefs.h. */
27137 int foo; void bar() { };
27139 main ()
27143 return 0;
27145 _ACEOF
27146 if ac_fn_cxx_try_compile "$LINENO"; then :
27147 ac_fdsections=yes
27148 else
27149 ac_fdsections=no
27151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27152 if test "$ac_test_CXXFLAGS" = set; then
27153 CXXFLAGS="$ac_save_CXXFLAGS"
27154 else
27155 # this is the suspicious part
27156 CXXFLAGS=''
27158 if test x"$ac_fdsections" = x"yes"; then
27159 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27162 $as_echo "$ac_fdsections" >&6; }
27164 ac_ext=c
27165 ac_cpp='$CPP $CPPFLAGS'
27166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27174 # If we're not using GNU ld, then there's no point in even trying these
27175 # tests. Check for that first. We should have already tested for gld
27176 # by now (in libtool), but require it now just to be safe...
27177 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27178 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27182 # The name set by libtool depends on the version of libtool. Shame on us
27183 # for depending on an impl detail, but c'est la vie. Older versions used
27184 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27185 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27186 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27187 # set (hence we're using an older libtool), then set it.
27188 if test x${with_gnu_ld+set} != xset; then
27189 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27190 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27191 with_gnu_ld=no
27192 else
27193 with_gnu_ld=$ac_cv_prog_gnu_ld
27197 # Start by getting the version number. I think the libtool test already
27198 # does some of this, but throws away the result.
27199 glibcxx_ld_is_gold=no
27200 if test x"$with_gnu_ld" = x"yes"; then
27201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27202 $as_echo_n "checking for ld version... " >&6; }
27204 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27205 glibcxx_ld_is_gold=yes
27207 ldver=`$LD --version 2>/dev/null |
27208 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'`
27210 glibcxx_gnu_ld_version=`echo $ldver | \
27211 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27213 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27216 # Set --gc-sections.
27217 glibcxx_have_gc_sections=no
27218 if test "$glibcxx_ld_is_gold" = "yes"; then
27219 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27220 glibcxx_have_gc_sections=yes
27222 else
27223 glibcxx_gcsections_min_ld=21602
27224 if test x"$with_gnu_ld" = x"yes" &&
27225 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27226 glibcxx_have_gc_sections=yes
27229 if test "$glibcxx_have_gc_sections" = "yes"; then
27230 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27231 # NB: This flag only works reliably after 2.16.1. Configure tests
27232 # for this are difficult, so hard wire a value that should work.
27234 ac_test_CFLAGS="${CFLAGS+set}"
27235 ac_save_CFLAGS="$CFLAGS"
27236 CFLAGS='-Wl,--gc-sections'
27238 # Check for -Wl,--gc-sections
27239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27240 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27241 if test x$gcc_no_link = xyes; then
27242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27245 /* end confdefs.h. */
27246 int one(void) { return 1; }
27247 int two(void) { return 2; }
27250 main ()
27252 two();
27254 return 0;
27256 _ACEOF
27257 if ac_fn_c_try_link "$LINENO"; then :
27258 ac_gcsections=yes
27259 else
27260 ac_gcsections=no
27262 rm -f core conftest.err conftest.$ac_objext \
27263 conftest$ac_exeext conftest.$ac_ext
27264 if test "$ac_gcsections" = "yes"; then
27265 rm -f conftest.c
27266 touch conftest.c
27267 if $CC -c conftest.c; then
27268 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27269 grep "Warning: gc-sections option ignored" > /dev/null; then
27270 ac_gcsections=no
27273 rm -f conftest.c conftest.o conftest
27275 if test "$ac_gcsections" = "yes"; then
27276 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27279 $as_echo "$ac_gcsections" >&6; }
27281 if test "$ac_test_CFLAGS" = set; then
27282 CFLAGS="$ac_save_CFLAGS"
27283 else
27284 # this is the suspicious part
27285 CFLAGS=''
27289 # Set -z,relro.
27290 # Note this is only for shared objects.
27291 ac_ld_relro=no
27292 if test x"$with_gnu_ld" = x"yes"; then
27293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27294 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27295 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27296 if test -n "$cxx_z_relo"; then
27297 OPT_LDFLAGS="-Wl,-z,relro"
27298 ac_ld_relro=yes
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27301 $as_echo "$ac_ld_relro" >&6; }
27304 # Set linker optimization flags.
27305 if test x"$with_gnu_ld" = x"yes"; then
27306 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27313 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27314 ac_save_CXXFLAGS="$CXXFLAGS"
27315 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27318 $as_echo_n "checking for sin in -lm... " >&6; }
27319 if test "${ac_cv_lib_m_sin+set}" = set; then :
27320 $as_echo_n "(cached) " >&6
27321 else
27322 ac_check_lib_save_LIBS=$LIBS
27323 LIBS="-lm $LIBS"
27324 if test x$gcc_no_link = xyes; then
27325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27328 /* end confdefs.h. */
27330 /* Override any GCC internal prototype to avoid an error.
27331 Use char because int might match the return type of a GCC
27332 builtin and then its argument prototype would still apply. */
27333 #ifdef __cplusplus
27334 extern "C"
27335 #endif
27336 char sin ();
27338 main ()
27340 return sin ();
27342 return 0;
27344 _ACEOF
27345 if ac_fn_c_try_link "$LINENO"; then :
27346 ac_cv_lib_m_sin=yes
27347 else
27348 ac_cv_lib_m_sin=no
27350 rm -f core conftest.err conftest.$ac_objext \
27351 conftest$ac_exeext conftest.$ac_ext
27352 LIBS=$ac_check_lib_save_LIBS
27354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27355 $as_echo "$ac_cv_lib_m_sin" >&6; }
27356 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27357 libm="-lm"
27360 ac_save_LIBS="$LIBS"
27361 LIBS="$LIBS $libm"
27365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27366 $as_echo_n "checking for isinf declaration... " >&6; }
27367 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27368 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27369 $as_echo_n "(cached) " >&6
27370 else
27373 ac_ext=cpp
27374 ac_cpp='$CXXCPP $CPPFLAGS'
27375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27380 /* end confdefs.h. */
27381 #include <math.h>
27382 #ifdef HAVE_IEEEFP_H
27383 #include <ieeefp.h>
27384 #endif
27387 main ()
27389 isinf(0);
27391 return 0;
27393 _ACEOF
27394 if ac_fn_cxx_try_compile "$LINENO"; then :
27395 glibcxx_cv_func_isinf_use=yes
27396 else
27397 glibcxx_cv_func_isinf_use=no
27399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27400 ac_ext=c
27401 ac_cpp='$CPP $CPPFLAGS'
27402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27411 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27413 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27414 for ac_func in isinf
27415 do :
27416 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27417 if test "x$ac_cv_func_isinf" = x""yes; then :
27418 cat >>confdefs.h <<_ACEOF
27419 #define HAVE_ISINF 1
27420 _ACEOF
27423 done
27425 else
27427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27428 $as_echo_n "checking for _isinf declaration... " >&6; }
27429 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27430 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27431 $as_echo_n "(cached) " >&6
27432 else
27435 ac_ext=cpp
27436 ac_cpp='$CXXCPP $CPPFLAGS'
27437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27442 /* end confdefs.h. */
27443 #include <math.h>
27444 #ifdef HAVE_IEEEFP_H
27445 #include <ieeefp.h>
27446 #endif
27449 main ()
27451 _isinf(0);
27453 return 0;
27455 _ACEOF
27456 if ac_fn_cxx_try_compile "$LINENO"; then :
27457 glibcxx_cv_func__isinf_use=yes
27458 else
27459 glibcxx_cv_func__isinf_use=no
27461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27462 ac_ext=c
27463 ac_cpp='$CPP $CPPFLAGS'
27464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27473 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27475 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27476 for ac_func in _isinf
27477 do :
27478 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27479 if test "x$ac_cv_func__isinf" = x""yes; then :
27480 cat >>confdefs.h <<_ACEOF
27481 #define HAVE__ISINF 1
27482 _ACEOF
27485 done
27494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27495 $as_echo_n "checking for isnan declaration... " >&6; }
27496 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27497 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27498 $as_echo_n "(cached) " >&6
27499 else
27502 ac_ext=cpp
27503 ac_cpp='$CXXCPP $CPPFLAGS'
27504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27509 /* end confdefs.h. */
27510 #include <math.h>
27511 #ifdef HAVE_IEEEFP_H
27512 #include <ieeefp.h>
27513 #endif
27516 main ()
27518 isnan(0);
27520 return 0;
27522 _ACEOF
27523 if ac_fn_cxx_try_compile "$LINENO"; then :
27524 glibcxx_cv_func_isnan_use=yes
27525 else
27526 glibcxx_cv_func_isnan_use=no
27528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27529 ac_ext=c
27530 ac_cpp='$CPP $CPPFLAGS'
27531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27540 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27542 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27543 for ac_func in isnan
27544 do :
27545 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27546 if test "x$ac_cv_func_isnan" = x""yes; then :
27547 cat >>confdefs.h <<_ACEOF
27548 #define HAVE_ISNAN 1
27549 _ACEOF
27552 done
27554 else
27556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27557 $as_echo_n "checking for _isnan declaration... " >&6; }
27558 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27559 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27560 $as_echo_n "(cached) " >&6
27561 else
27564 ac_ext=cpp
27565 ac_cpp='$CXXCPP $CPPFLAGS'
27566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27571 /* end confdefs.h. */
27572 #include <math.h>
27573 #ifdef HAVE_IEEEFP_H
27574 #include <ieeefp.h>
27575 #endif
27578 main ()
27580 _isnan(0);
27582 return 0;
27584 _ACEOF
27585 if ac_fn_cxx_try_compile "$LINENO"; then :
27586 glibcxx_cv_func__isnan_use=yes
27587 else
27588 glibcxx_cv_func__isnan_use=no
27590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27591 ac_ext=c
27592 ac_cpp='$CPP $CPPFLAGS'
27593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27602 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27604 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27605 for ac_func in _isnan
27606 do :
27607 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27608 if test "x$ac_cv_func__isnan" = x""yes; then :
27609 cat >>confdefs.h <<_ACEOF
27610 #define HAVE__ISNAN 1
27611 _ACEOF
27614 done
27623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27624 $as_echo_n "checking for finite declaration... " >&6; }
27625 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27626 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27627 $as_echo_n "(cached) " >&6
27628 else
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27638 /* end confdefs.h. */
27639 #include <math.h>
27640 #ifdef HAVE_IEEEFP_H
27641 #include <ieeefp.h>
27642 #endif
27645 main ()
27647 finite(0);
27649 return 0;
27651 _ACEOF
27652 if ac_fn_cxx_try_compile "$LINENO"; then :
27653 glibcxx_cv_func_finite_use=yes
27654 else
27655 glibcxx_cv_func_finite_use=no
27657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27658 ac_ext=c
27659 ac_cpp='$CPP $CPPFLAGS'
27660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27669 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27671 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27672 for ac_func in finite
27673 do :
27674 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27675 if test "x$ac_cv_func_finite" = x""yes; then :
27676 cat >>confdefs.h <<_ACEOF
27677 #define HAVE_FINITE 1
27678 _ACEOF
27681 done
27683 else
27685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27686 $as_echo_n "checking for _finite declaration... " >&6; }
27687 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27688 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27689 $as_echo_n "(cached) " >&6
27690 else
27693 ac_ext=cpp
27694 ac_cpp='$CXXCPP $CPPFLAGS'
27695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27700 /* end confdefs.h. */
27701 #include <math.h>
27702 #ifdef HAVE_IEEEFP_H
27703 #include <ieeefp.h>
27704 #endif
27707 main ()
27709 _finite(0);
27711 return 0;
27713 _ACEOF
27714 if ac_fn_cxx_try_compile "$LINENO"; then :
27715 glibcxx_cv_func__finite_use=yes
27716 else
27717 glibcxx_cv_func__finite_use=no
27719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27720 ac_ext=c
27721 ac_cpp='$CPP $CPPFLAGS'
27722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27731 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27733 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27734 for ac_func in _finite
27735 do :
27736 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27737 if test "x$ac_cv_func__finite" = x""yes; then :
27738 cat >>confdefs.h <<_ACEOF
27739 #define HAVE__FINITE 1
27740 _ACEOF
27743 done
27752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27753 $as_echo_n "checking for sincos declaration... " >&6; }
27754 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27755 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27756 $as_echo_n "(cached) " >&6
27757 else
27760 ac_ext=cpp
27761 ac_cpp='$CXXCPP $CPPFLAGS'
27762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27767 /* end confdefs.h. */
27768 #include <math.h>
27770 main ()
27772 sincos(0, 0, 0);
27774 return 0;
27776 _ACEOF
27777 if ac_fn_cxx_try_compile "$LINENO"; then :
27778 glibcxx_cv_func_sincos_use=yes
27779 else
27780 glibcxx_cv_func_sincos_use=no
27782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27783 ac_ext=c
27784 ac_cpp='$CPP $CPPFLAGS'
27785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27794 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27796 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27797 for ac_func in sincos
27798 do :
27799 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27800 if test "x$ac_cv_func_sincos" = x""yes; then :
27801 cat >>confdefs.h <<_ACEOF
27802 #define HAVE_SINCOS 1
27803 _ACEOF
27806 done
27808 else
27810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27811 $as_echo_n "checking for _sincos declaration... " >&6; }
27812 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27813 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27814 $as_echo_n "(cached) " >&6
27815 else
27818 ac_ext=cpp
27819 ac_cpp='$CXXCPP $CPPFLAGS'
27820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27825 /* end confdefs.h. */
27826 #include <math.h>
27828 main ()
27830 _sincos(0, 0, 0);
27832 return 0;
27834 _ACEOF
27835 if ac_fn_cxx_try_compile "$LINENO"; then :
27836 glibcxx_cv_func__sincos_use=yes
27837 else
27838 glibcxx_cv_func__sincos_use=no
27840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27841 ac_ext=c
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27852 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27854 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27855 for ac_func in _sincos
27856 do :
27857 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27858 if test "x$ac_cv_func__sincos" = x""yes; then :
27859 cat >>confdefs.h <<_ACEOF
27860 #define HAVE__SINCOS 1
27861 _ACEOF
27864 done
27873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27874 $as_echo_n "checking for fpclass declaration... " >&6; }
27875 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27876 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27877 $as_echo_n "(cached) " >&6
27878 else
27881 ac_ext=cpp
27882 ac_cpp='$CXXCPP $CPPFLAGS'
27883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27888 /* end confdefs.h. */
27889 #include <math.h>
27890 #ifdef HAVE_IEEEFP_H
27891 #include <ieeefp.h>
27892 #endif
27895 main ()
27897 fpclass(0);
27899 return 0;
27901 _ACEOF
27902 if ac_fn_cxx_try_compile "$LINENO"; then :
27903 glibcxx_cv_func_fpclass_use=yes
27904 else
27905 glibcxx_cv_func_fpclass_use=no
27907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27908 ac_ext=c
27909 ac_cpp='$CPP $CPPFLAGS'
27910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27919 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27921 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27922 for ac_func in fpclass
27923 do :
27924 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27925 if test "x$ac_cv_func_fpclass" = x""yes; then :
27926 cat >>confdefs.h <<_ACEOF
27927 #define HAVE_FPCLASS 1
27928 _ACEOF
27931 done
27933 else
27935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27936 $as_echo_n "checking for _fpclass declaration... " >&6; }
27937 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27938 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27939 $as_echo_n "(cached) " >&6
27940 else
27943 ac_ext=cpp
27944 ac_cpp='$CXXCPP $CPPFLAGS'
27945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27950 /* end confdefs.h. */
27951 #include <math.h>
27952 #ifdef HAVE_IEEEFP_H
27953 #include <ieeefp.h>
27954 #endif
27957 main ()
27959 _fpclass(0);
27961 return 0;
27963 _ACEOF
27964 if ac_fn_cxx_try_compile "$LINENO"; then :
27965 glibcxx_cv_func__fpclass_use=yes
27966 else
27967 glibcxx_cv_func__fpclass_use=no
27969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27970 ac_ext=c
27971 ac_cpp='$CPP $CPPFLAGS'
27972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27981 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27983 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27984 for ac_func in _fpclass
27985 do :
27986 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27987 if test "x$ac_cv_func__fpclass" = x""yes; then :
27988 cat >>confdefs.h <<_ACEOF
27989 #define HAVE__FPCLASS 1
27990 _ACEOF
27993 done
28002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28003 $as_echo_n "checking for qfpclass declaration... " >&6; }
28004 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28005 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28006 $as_echo_n "(cached) " >&6
28007 else
28010 ac_ext=cpp
28011 ac_cpp='$CXXCPP $CPPFLAGS'
28012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28017 /* end confdefs.h. */
28018 #include <math.h>
28019 #ifdef HAVE_IEEEFP_H
28020 #include <ieeefp.h>
28021 #endif
28024 main ()
28026 qfpclass(0);
28028 return 0;
28030 _ACEOF
28031 if ac_fn_cxx_try_compile "$LINENO"; then :
28032 glibcxx_cv_func_qfpclass_use=yes
28033 else
28034 glibcxx_cv_func_qfpclass_use=no
28036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28037 ac_ext=c
28038 ac_cpp='$CPP $CPPFLAGS'
28039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28048 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28050 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28051 for ac_func in qfpclass
28052 do :
28053 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28054 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28055 cat >>confdefs.h <<_ACEOF
28056 #define HAVE_QFPCLASS 1
28057 _ACEOF
28060 done
28062 else
28064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28065 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28066 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28067 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28068 $as_echo_n "(cached) " >&6
28069 else
28072 ac_ext=cpp
28073 ac_cpp='$CXXCPP $CPPFLAGS'
28074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28079 /* end confdefs.h. */
28080 #include <math.h>
28081 #ifdef HAVE_IEEEFP_H
28082 #include <ieeefp.h>
28083 #endif
28086 main ()
28088 _qfpclass(0);
28090 return 0;
28092 _ACEOF
28093 if ac_fn_cxx_try_compile "$LINENO"; then :
28094 glibcxx_cv_func__qfpclass_use=yes
28095 else
28096 glibcxx_cv_func__qfpclass_use=no
28098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28099 ac_ext=c
28100 ac_cpp='$CPP $CPPFLAGS'
28101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28110 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28112 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28113 for ac_func in _qfpclass
28114 do :
28115 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28116 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28117 cat >>confdefs.h <<_ACEOF
28118 #define HAVE__QFPCLASS 1
28119 _ACEOF
28122 done
28131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28132 $as_echo_n "checking for hypot declaration... " >&6; }
28133 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28134 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28135 $as_echo_n "(cached) " >&6
28136 else
28139 ac_ext=cpp
28140 ac_cpp='$CXXCPP $CPPFLAGS'
28141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28146 /* end confdefs.h. */
28147 #include <math.h>
28149 main ()
28151 hypot(0, 0);
28153 return 0;
28155 _ACEOF
28156 if ac_fn_cxx_try_compile "$LINENO"; then :
28157 glibcxx_cv_func_hypot_use=yes
28158 else
28159 glibcxx_cv_func_hypot_use=no
28161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28162 ac_ext=c
28163 ac_cpp='$CPP $CPPFLAGS'
28164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28173 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28175 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28176 for ac_func in hypot
28177 do :
28178 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28179 if test "x$ac_cv_func_hypot" = x""yes; then :
28180 cat >>confdefs.h <<_ACEOF
28181 #define HAVE_HYPOT 1
28182 _ACEOF
28185 done
28187 else
28189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28190 $as_echo_n "checking for _hypot declaration... " >&6; }
28191 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28192 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28193 $as_echo_n "(cached) " >&6
28194 else
28197 ac_ext=cpp
28198 ac_cpp='$CXXCPP $CPPFLAGS'
28199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28204 /* end confdefs.h. */
28205 #include <math.h>
28207 main ()
28209 _hypot(0, 0);
28211 return 0;
28213 _ACEOF
28214 if ac_fn_cxx_try_compile "$LINENO"; then :
28215 glibcxx_cv_func__hypot_use=yes
28216 else
28217 glibcxx_cv_func__hypot_use=no
28219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28220 ac_ext=c
28221 ac_cpp='$CPP $CPPFLAGS'
28222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28231 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28233 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28234 for ac_func in _hypot
28235 do :
28236 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28237 if test "x$ac_cv_func__hypot" = x""yes; then :
28238 cat >>confdefs.h <<_ACEOF
28239 #define HAVE__HYPOT 1
28240 _ACEOF
28243 done
28252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28253 $as_echo_n "checking for float trig functions... " >&6; }
28254 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28255 $as_echo_n "(cached) " >&6
28256 else
28259 ac_ext=cpp
28260 ac_cpp='$CXXCPP $CPPFLAGS'
28261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28266 /* end confdefs.h. */
28267 #include <math.h>
28269 main ()
28271 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28273 return 0;
28275 _ACEOF
28276 if ac_fn_cxx_try_compile "$LINENO"; then :
28277 glibcxx_cv_func_float_trig_use=yes
28278 else
28279 glibcxx_cv_func_float_trig_use=no
28281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28282 ac_ext=c
28283 ac_cpp='$CPP $CPPFLAGS'
28284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28291 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28292 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28293 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28294 do :
28295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28297 eval as_val=\$$as_ac_var
28298 if test "x$as_val" = x""yes; then :
28299 cat >>confdefs.h <<_ACEOF
28300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28301 _ACEOF
28304 done
28306 else
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28308 $as_echo_n "checking for _float trig functions... " >&6; }
28309 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28310 $as_echo_n "(cached) " >&6
28311 else
28314 ac_ext=cpp
28315 ac_cpp='$CXXCPP $CPPFLAGS'
28316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28321 /* end confdefs.h. */
28322 #include <math.h>
28324 main ()
28326 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28328 return 0;
28330 _ACEOF
28331 if ac_fn_cxx_try_compile "$LINENO"; then :
28332 glibcxx_cv_func__float_trig_use=yes
28333 else
28334 glibcxx_cv_func__float_trig_use=no
28336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28337 ac_ext=c
28338 ac_cpp='$CPP $CPPFLAGS'
28339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28346 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28347 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28348 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28349 do :
28350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28352 eval as_val=\$$as_ac_var
28353 if test "x$as_val" = x""yes; then :
28354 cat >>confdefs.h <<_ACEOF
28355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28356 _ACEOF
28359 done
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28369 $as_echo_n "checking for float round functions... " >&6; }
28370 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28371 $as_echo_n "(cached) " >&6
28372 else
28375 ac_ext=cpp
28376 ac_cpp='$CXXCPP $CPPFLAGS'
28377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28382 /* end confdefs.h. */
28383 #include <math.h>
28385 main ()
28387 ceilf (0); floorf (0);
28389 return 0;
28391 _ACEOF
28392 if ac_fn_cxx_try_compile "$LINENO"; then :
28393 glibcxx_cv_func_float_round_use=yes
28394 else
28395 glibcxx_cv_func_float_round_use=no
28397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28398 ac_ext=c
28399 ac_cpp='$CPP $CPPFLAGS'
28400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28407 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28408 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28409 for ac_func in ceilf floorf
28410 do :
28411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28413 eval as_val=\$$as_ac_var
28414 if test "x$as_val" = x""yes; then :
28415 cat >>confdefs.h <<_ACEOF
28416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28417 _ACEOF
28420 done
28422 else
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28424 $as_echo_n "checking for _float round functions... " >&6; }
28425 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28426 $as_echo_n "(cached) " >&6
28427 else
28430 ac_ext=cpp
28431 ac_cpp='$CXXCPP $CPPFLAGS'
28432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28437 /* end confdefs.h. */
28438 #include <math.h>
28440 main ()
28442 _ceilf (0); _floorf (0);
28444 return 0;
28446 _ACEOF
28447 if ac_fn_cxx_try_compile "$LINENO"; then :
28448 glibcxx_cv_func__float_round_use=yes
28449 else
28450 glibcxx_cv_func__float_round_use=no
28452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28453 ac_ext=c
28454 ac_cpp='$CPP $CPPFLAGS'
28455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28462 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28463 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28464 for ac_func in _ceilf _floorf
28465 do :
28466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28468 eval as_val=\$$as_ac_var
28469 if test "x$as_val" = x""yes; then :
28470 cat >>confdefs.h <<_ACEOF
28471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28472 _ACEOF
28475 done
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28486 $as_echo_n "checking for expf declaration... " >&6; }
28487 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28488 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28489 $as_echo_n "(cached) " >&6
28490 else
28493 ac_ext=cpp
28494 ac_cpp='$CXXCPP $CPPFLAGS'
28495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28500 /* end confdefs.h. */
28501 #include <math.h>
28502 #ifdef HAVE_IEEEFP_H
28503 #include <ieeefp.h>
28504 #endif
28507 main ()
28509 expf(0);
28511 return 0;
28513 _ACEOF
28514 if ac_fn_cxx_try_compile "$LINENO"; then :
28515 glibcxx_cv_func_expf_use=yes
28516 else
28517 glibcxx_cv_func_expf_use=no
28519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28520 ac_ext=c
28521 ac_cpp='$CPP $CPPFLAGS'
28522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28531 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28533 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28534 for ac_func in expf
28535 do :
28536 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28537 if test "x$ac_cv_func_expf" = x""yes; then :
28538 cat >>confdefs.h <<_ACEOF
28539 #define HAVE_EXPF 1
28540 _ACEOF
28543 done
28545 else
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28548 $as_echo_n "checking for _expf declaration... " >&6; }
28549 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28550 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28551 $as_echo_n "(cached) " >&6
28552 else
28555 ac_ext=cpp
28556 ac_cpp='$CXXCPP $CPPFLAGS'
28557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28562 /* end confdefs.h. */
28563 #include <math.h>
28564 #ifdef HAVE_IEEEFP_H
28565 #include <ieeefp.h>
28566 #endif
28569 main ()
28571 _expf(0);
28573 return 0;
28575 _ACEOF
28576 if ac_fn_cxx_try_compile "$LINENO"; then :
28577 glibcxx_cv_func__expf_use=yes
28578 else
28579 glibcxx_cv_func__expf_use=no
28581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28582 ac_ext=c
28583 ac_cpp='$CPP $CPPFLAGS'
28584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28593 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28595 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28596 for ac_func in _expf
28597 do :
28598 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28599 if test "x$ac_cv_func__expf" = x""yes; then :
28600 cat >>confdefs.h <<_ACEOF
28601 #define HAVE__EXPF 1
28602 _ACEOF
28605 done
28614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28615 $as_echo_n "checking for isnanf declaration... " >&6; }
28616 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28617 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28618 $as_echo_n "(cached) " >&6
28619 else
28622 ac_ext=cpp
28623 ac_cpp='$CXXCPP $CPPFLAGS'
28624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28629 /* end confdefs.h. */
28630 #include <math.h>
28631 #ifdef HAVE_IEEEFP_H
28632 #include <ieeefp.h>
28633 #endif
28636 main ()
28638 isnanf(0);
28640 return 0;
28642 _ACEOF
28643 if ac_fn_cxx_try_compile "$LINENO"; then :
28644 glibcxx_cv_func_isnanf_use=yes
28645 else
28646 glibcxx_cv_func_isnanf_use=no
28648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28649 ac_ext=c
28650 ac_cpp='$CPP $CPPFLAGS'
28651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28660 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28662 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28663 for ac_func in isnanf
28664 do :
28665 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28666 if test "x$ac_cv_func_isnanf" = x""yes; then :
28667 cat >>confdefs.h <<_ACEOF
28668 #define HAVE_ISNANF 1
28669 _ACEOF
28672 done
28674 else
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28677 $as_echo_n "checking for _isnanf declaration... " >&6; }
28678 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28679 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28680 $as_echo_n "(cached) " >&6
28681 else
28684 ac_ext=cpp
28685 ac_cpp='$CXXCPP $CPPFLAGS'
28686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28691 /* end confdefs.h. */
28692 #include <math.h>
28693 #ifdef HAVE_IEEEFP_H
28694 #include <ieeefp.h>
28695 #endif
28698 main ()
28700 _isnanf(0);
28702 return 0;
28704 _ACEOF
28705 if ac_fn_cxx_try_compile "$LINENO"; then :
28706 glibcxx_cv_func__isnanf_use=yes
28707 else
28708 glibcxx_cv_func__isnanf_use=no
28710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28711 ac_ext=c
28712 ac_cpp='$CPP $CPPFLAGS'
28713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28722 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28724 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28725 for ac_func in _isnanf
28726 do :
28727 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28728 if test "x$ac_cv_func__isnanf" = x""yes; then :
28729 cat >>confdefs.h <<_ACEOF
28730 #define HAVE__ISNANF 1
28731 _ACEOF
28734 done
28743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28744 $as_echo_n "checking for isinff declaration... " >&6; }
28745 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28746 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28747 $as_echo_n "(cached) " >&6
28748 else
28751 ac_ext=cpp
28752 ac_cpp='$CXXCPP $CPPFLAGS'
28753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28758 /* end confdefs.h. */
28759 #include <math.h>
28760 #ifdef HAVE_IEEEFP_H
28761 #include <ieeefp.h>
28762 #endif
28765 main ()
28767 isinff(0);
28769 return 0;
28771 _ACEOF
28772 if ac_fn_cxx_try_compile "$LINENO"; then :
28773 glibcxx_cv_func_isinff_use=yes
28774 else
28775 glibcxx_cv_func_isinff_use=no
28777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28778 ac_ext=c
28779 ac_cpp='$CPP $CPPFLAGS'
28780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28789 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28791 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28792 for ac_func in isinff
28793 do :
28794 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28795 if test "x$ac_cv_func_isinff" = x""yes; then :
28796 cat >>confdefs.h <<_ACEOF
28797 #define HAVE_ISINFF 1
28798 _ACEOF
28801 done
28803 else
28805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28806 $as_echo_n "checking for _isinff declaration... " >&6; }
28807 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28808 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28809 $as_echo_n "(cached) " >&6
28810 else
28813 ac_ext=cpp
28814 ac_cpp='$CXXCPP $CPPFLAGS'
28815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28820 /* end confdefs.h. */
28821 #include <math.h>
28822 #ifdef HAVE_IEEEFP_H
28823 #include <ieeefp.h>
28824 #endif
28827 main ()
28829 _isinff(0);
28831 return 0;
28833 _ACEOF
28834 if ac_fn_cxx_try_compile "$LINENO"; then :
28835 glibcxx_cv_func__isinff_use=yes
28836 else
28837 glibcxx_cv_func__isinff_use=no
28839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28840 ac_ext=c
28841 ac_cpp='$CPP $CPPFLAGS'
28842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28851 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28853 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28854 for ac_func in _isinff
28855 do :
28856 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28857 if test "x$ac_cv_func__isinff" = x""yes; then :
28858 cat >>confdefs.h <<_ACEOF
28859 #define HAVE__ISINFF 1
28860 _ACEOF
28863 done
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28873 $as_echo_n "checking for atan2f declaration... " >&6; }
28874 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28875 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28876 $as_echo_n "(cached) " >&6
28877 else
28880 ac_ext=cpp
28881 ac_cpp='$CXXCPP $CPPFLAGS'
28882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28887 /* end confdefs.h. */
28888 #include <math.h>
28890 main ()
28892 atan2f(0, 0);
28894 return 0;
28896 _ACEOF
28897 if ac_fn_cxx_try_compile "$LINENO"; then :
28898 glibcxx_cv_func_atan2f_use=yes
28899 else
28900 glibcxx_cv_func_atan2f_use=no
28902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28903 ac_ext=c
28904 ac_cpp='$CPP $CPPFLAGS'
28905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28914 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28916 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28917 for ac_func in atan2f
28918 do :
28919 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28920 if test "x$ac_cv_func_atan2f" = x""yes; then :
28921 cat >>confdefs.h <<_ACEOF
28922 #define HAVE_ATAN2F 1
28923 _ACEOF
28926 done
28928 else
28930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28931 $as_echo_n "checking for _atan2f declaration... " >&6; }
28932 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28933 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28934 $as_echo_n "(cached) " >&6
28935 else
28938 ac_ext=cpp
28939 ac_cpp='$CXXCPP $CPPFLAGS'
28940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28945 /* end confdefs.h. */
28946 #include <math.h>
28948 main ()
28950 _atan2f(0, 0);
28952 return 0;
28954 _ACEOF
28955 if ac_fn_cxx_try_compile "$LINENO"; then :
28956 glibcxx_cv_func__atan2f_use=yes
28957 else
28958 glibcxx_cv_func__atan2f_use=no
28960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28961 ac_ext=c
28962 ac_cpp='$CPP $CPPFLAGS'
28963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28972 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28974 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28975 for ac_func in _atan2f
28976 do :
28977 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28978 if test "x$ac_cv_func__atan2f" = x""yes; then :
28979 cat >>confdefs.h <<_ACEOF
28980 #define HAVE__ATAN2F 1
28981 _ACEOF
28984 done
28993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28994 $as_echo_n "checking for fabsf declaration... " >&6; }
28995 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28996 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28997 $as_echo_n "(cached) " >&6
28998 else
29001 ac_ext=cpp
29002 ac_cpp='$CXXCPP $CPPFLAGS'
29003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29008 /* end confdefs.h. */
29009 #include <math.h>
29010 #ifdef HAVE_IEEEFP_H
29011 #include <ieeefp.h>
29012 #endif
29015 main ()
29017 fabsf(0);
29019 return 0;
29021 _ACEOF
29022 if ac_fn_cxx_try_compile "$LINENO"; then :
29023 glibcxx_cv_func_fabsf_use=yes
29024 else
29025 glibcxx_cv_func_fabsf_use=no
29027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29028 ac_ext=c
29029 ac_cpp='$CPP $CPPFLAGS'
29030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29039 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29041 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29042 for ac_func in fabsf
29043 do :
29044 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29045 if test "x$ac_cv_func_fabsf" = x""yes; then :
29046 cat >>confdefs.h <<_ACEOF
29047 #define HAVE_FABSF 1
29048 _ACEOF
29051 done
29053 else
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29056 $as_echo_n "checking for _fabsf declaration... " >&6; }
29057 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29058 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29059 $as_echo_n "(cached) " >&6
29060 else
29063 ac_ext=cpp
29064 ac_cpp='$CXXCPP $CPPFLAGS'
29065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29070 /* end confdefs.h. */
29071 #include <math.h>
29072 #ifdef HAVE_IEEEFP_H
29073 #include <ieeefp.h>
29074 #endif
29077 main ()
29079 _fabsf(0);
29081 return 0;
29083 _ACEOF
29084 if ac_fn_cxx_try_compile "$LINENO"; then :
29085 glibcxx_cv_func__fabsf_use=yes
29086 else
29087 glibcxx_cv_func__fabsf_use=no
29089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29090 ac_ext=c
29091 ac_cpp='$CPP $CPPFLAGS'
29092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29101 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29103 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29104 for ac_func in _fabsf
29105 do :
29106 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29107 if test "x$ac_cv_func__fabsf" = x""yes; then :
29108 cat >>confdefs.h <<_ACEOF
29109 #define HAVE__FABSF 1
29110 _ACEOF
29113 done
29122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29123 $as_echo_n "checking for fmodf declaration... " >&6; }
29124 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29125 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29126 $as_echo_n "(cached) " >&6
29127 else
29130 ac_ext=cpp
29131 ac_cpp='$CXXCPP $CPPFLAGS'
29132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29137 /* end confdefs.h. */
29138 #include <math.h>
29140 main ()
29142 fmodf(0, 0);
29144 return 0;
29146 _ACEOF
29147 if ac_fn_cxx_try_compile "$LINENO"; then :
29148 glibcxx_cv_func_fmodf_use=yes
29149 else
29150 glibcxx_cv_func_fmodf_use=no
29152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29153 ac_ext=c
29154 ac_cpp='$CPP $CPPFLAGS'
29155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29164 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29166 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29167 for ac_func in fmodf
29168 do :
29169 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29170 if test "x$ac_cv_func_fmodf" = x""yes; then :
29171 cat >>confdefs.h <<_ACEOF
29172 #define HAVE_FMODF 1
29173 _ACEOF
29176 done
29178 else
29180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29181 $as_echo_n "checking for _fmodf declaration... " >&6; }
29182 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29183 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29184 $as_echo_n "(cached) " >&6
29185 else
29188 ac_ext=cpp
29189 ac_cpp='$CXXCPP $CPPFLAGS'
29190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29195 /* end confdefs.h. */
29196 #include <math.h>
29198 main ()
29200 _fmodf(0, 0);
29202 return 0;
29204 _ACEOF
29205 if ac_fn_cxx_try_compile "$LINENO"; then :
29206 glibcxx_cv_func__fmodf_use=yes
29207 else
29208 glibcxx_cv_func__fmodf_use=no
29210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29211 ac_ext=c
29212 ac_cpp='$CPP $CPPFLAGS'
29213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29222 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29224 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29225 for ac_func in _fmodf
29226 do :
29227 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29228 if test "x$ac_cv_func__fmodf" = x""yes; then :
29229 cat >>confdefs.h <<_ACEOF
29230 #define HAVE__FMODF 1
29231 _ACEOF
29234 done
29243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29244 $as_echo_n "checking for frexpf declaration... " >&6; }
29245 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29246 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29247 $as_echo_n "(cached) " >&6
29248 else
29251 ac_ext=cpp
29252 ac_cpp='$CXXCPP $CPPFLAGS'
29253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29258 /* end confdefs.h. */
29259 #include <math.h>
29261 main ()
29263 frexpf(0, 0);
29265 return 0;
29267 _ACEOF
29268 if ac_fn_cxx_try_compile "$LINENO"; then :
29269 glibcxx_cv_func_frexpf_use=yes
29270 else
29271 glibcxx_cv_func_frexpf_use=no
29273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29274 ac_ext=c
29275 ac_cpp='$CPP $CPPFLAGS'
29276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29285 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29287 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29288 for ac_func in frexpf
29289 do :
29290 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29291 if test "x$ac_cv_func_frexpf" = x""yes; then :
29292 cat >>confdefs.h <<_ACEOF
29293 #define HAVE_FREXPF 1
29294 _ACEOF
29297 done
29299 else
29301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29302 $as_echo_n "checking for _frexpf declaration... " >&6; }
29303 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29304 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29305 $as_echo_n "(cached) " >&6
29306 else
29309 ac_ext=cpp
29310 ac_cpp='$CXXCPP $CPPFLAGS'
29311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29316 /* end confdefs.h. */
29317 #include <math.h>
29319 main ()
29321 _frexpf(0, 0);
29323 return 0;
29325 _ACEOF
29326 if ac_fn_cxx_try_compile "$LINENO"; then :
29327 glibcxx_cv_func__frexpf_use=yes
29328 else
29329 glibcxx_cv_func__frexpf_use=no
29331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29332 ac_ext=c
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29343 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29345 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29346 for ac_func in _frexpf
29347 do :
29348 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29349 if test "x$ac_cv_func__frexpf" = x""yes; then :
29350 cat >>confdefs.h <<_ACEOF
29351 #define HAVE__FREXPF 1
29352 _ACEOF
29355 done
29364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29365 $as_echo_n "checking for hypotf declaration... " >&6; }
29366 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29367 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29368 $as_echo_n "(cached) " >&6
29369 else
29372 ac_ext=cpp
29373 ac_cpp='$CXXCPP $CPPFLAGS'
29374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29379 /* end confdefs.h. */
29380 #include <math.h>
29382 main ()
29384 hypotf(0, 0);
29386 return 0;
29388 _ACEOF
29389 if ac_fn_cxx_try_compile "$LINENO"; then :
29390 glibcxx_cv_func_hypotf_use=yes
29391 else
29392 glibcxx_cv_func_hypotf_use=no
29394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29395 ac_ext=c
29396 ac_cpp='$CPP $CPPFLAGS'
29397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29406 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29408 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29409 for ac_func in hypotf
29410 do :
29411 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29412 if test "x$ac_cv_func_hypotf" = x""yes; then :
29413 cat >>confdefs.h <<_ACEOF
29414 #define HAVE_HYPOTF 1
29415 _ACEOF
29418 done
29420 else
29422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29423 $as_echo_n "checking for _hypotf declaration... " >&6; }
29424 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29425 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29426 $as_echo_n "(cached) " >&6
29427 else
29430 ac_ext=cpp
29431 ac_cpp='$CXXCPP $CPPFLAGS'
29432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29437 /* end confdefs.h. */
29438 #include <math.h>
29440 main ()
29442 _hypotf(0, 0);
29444 return 0;
29446 _ACEOF
29447 if ac_fn_cxx_try_compile "$LINENO"; then :
29448 glibcxx_cv_func__hypotf_use=yes
29449 else
29450 glibcxx_cv_func__hypotf_use=no
29452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453 ac_ext=c
29454 ac_cpp='$CPP $CPPFLAGS'
29455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29464 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29466 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29467 for ac_func in _hypotf
29468 do :
29469 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29470 if test "x$ac_cv_func__hypotf" = x""yes; then :
29471 cat >>confdefs.h <<_ACEOF
29472 #define HAVE__HYPOTF 1
29473 _ACEOF
29476 done
29485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29486 $as_echo_n "checking for ldexpf declaration... " >&6; }
29487 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29488 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29489 $as_echo_n "(cached) " >&6
29490 else
29493 ac_ext=cpp
29494 ac_cpp='$CXXCPP $CPPFLAGS'
29495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29500 /* end confdefs.h. */
29501 #include <math.h>
29503 main ()
29505 ldexpf(0, 0);
29507 return 0;
29509 _ACEOF
29510 if ac_fn_cxx_try_compile "$LINENO"; then :
29511 glibcxx_cv_func_ldexpf_use=yes
29512 else
29513 glibcxx_cv_func_ldexpf_use=no
29515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29516 ac_ext=c
29517 ac_cpp='$CPP $CPPFLAGS'
29518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29527 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29529 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29530 for ac_func in ldexpf
29531 do :
29532 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29533 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29534 cat >>confdefs.h <<_ACEOF
29535 #define HAVE_LDEXPF 1
29536 _ACEOF
29539 done
29541 else
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29544 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29545 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29546 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29547 $as_echo_n "(cached) " >&6
29548 else
29551 ac_ext=cpp
29552 ac_cpp='$CXXCPP $CPPFLAGS'
29553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29558 /* end confdefs.h. */
29559 #include <math.h>
29561 main ()
29563 _ldexpf(0, 0);
29565 return 0;
29567 _ACEOF
29568 if ac_fn_cxx_try_compile "$LINENO"; then :
29569 glibcxx_cv_func__ldexpf_use=yes
29570 else
29571 glibcxx_cv_func__ldexpf_use=no
29573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29574 ac_ext=c
29575 ac_cpp='$CPP $CPPFLAGS'
29576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29585 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29587 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29588 for ac_func in _ldexpf
29589 do :
29590 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29591 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29592 cat >>confdefs.h <<_ACEOF
29593 #define HAVE__LDEXPF 1
29594 _ACEOF
29597 done
29606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29607 $as_echo_n "checking for logf declaration... " >&6; }
29608 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29609 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29610 $as_echo_n "(cached) " >&6
29611 else
29614 ac_ext=cpp
29615 ac_cpp='$CXXCPP $CPPFLAGS'
29616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29621 /* end confdefs.h. */
29622 #include <math.h>
29623 #ifdef HAVE_IEEEFP_H
29624 #include <ieeefp.h>
29625 #endif
29628 main ()
29630 logf(0);
29632 return 0;
29634 _ACEOF
29635 if ac_fn_cxx_try_compile "$LINENO"; then :
29636 glibcxx_cv_func_logf_use=yes
29637 else
29638 glibcxx_cv_func_logf_use=no
29640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29641 ac_ext=c
29642 ac_cpp='$CPP $CPPFLAGS'
29643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29652 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29654 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29655 for ac_func in logf
29656 do :
29657 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29658 if test "x$ac_cv_func_logf" = x""yes; then :
29659 cat >>confdefs.h <<_ACEOF
29660 #define HAVE_LOGF 1
29661 _ACEOF
29664 done
29666 else
29668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29669 $as_echo_n "checking for _logf declaration... " >&6; }
29670 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29671 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29672 $as_echo_n "(cached) " >&6
29673 else
29676 ac_ext=cpp
29677 ac_cpp='$CXXCPP $CPPFLAGS'
29678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29683 /* end confdefs.h. */
29684 #include <math.h>
29685 #ifdef HAVE_IEEEFP_H
29686 #include <ieeefp.h>
29687 #endif
29690 main ()
29692 _logf(0);
29694 return 0;
29696 _ACEOF
29697 if ac_fn_cxx_try_compile "$LINENO"; then :
29698 glibcxx_cv_func__logf_use=yes
29699 else
29700 glibcxx_cv_func__logf_use=no
29702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29703 ac_ext=c
29704 ac_cpp='$CPP $CPPFLAGS'
29705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29714 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29716 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29717 for ac_func in _logf
29718 do :
29719 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29720 if test "x$ac_cv_func__logf" = x""yes; then :
29721 cat >>confdefs.h <<_ACEOF
29722 #define HAVE__LOGF 1
29723 _ACEOF
29726 done
29735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29736 $as_echo_n "checking for log10f declaration... " >&6; }
29737 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29738 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29739 $as_echo_n "(cached) " >&6
29740 else
29743 ac_ext=cpp
29744 ac_cpp='$CXXCPP $CPPFLAGS'
29745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29750 /* end confdefs.h. */
29751 #include <math.h>
29752 #ifdef HAVE_IEEEFP_H
29753 #include <ieeefp.h>
29754 #endif
29757 main ()
29759 log10f(0);
29761 return 0;
29763 _ACEOF
29764 if ac_fn_cxx_try_compile "$LINENO"; then :
29765 glibcxx_cv_func_log10f_use=yes
29766 else
29767 glibcxx_cv_func_log10f_use=no
29769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29770 ac_ext=c
29771 ac_cpp='$CPP $CPPFLAGS'
29772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29781 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29783 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29784 for ac_func in log10f
29785 do :
29786 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29787 if test "x$ac_cv_func_log10f" = x""yes; then :
29788 cat >>confdefs.h <<_ACEOF
29789 #define HAVE_LOG10F 1
29790 _ACEOF
29793 done
29795 else
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29798 $as_echo_n "checking for _log10f declaration... " >&6; }
29799 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29800 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29801 $as_echo_n "(cached) " >&6
29802 else
29805 ac_ext=cpp
29806 ac_cpp='$CXXCPP $CPPFLAGS'
29807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29812 /* end confdefs.h. */
29813 #include <math.h>
29814 #ifdef HAVE_IEEEFP_H
29815 #include <ieeefp.h>
29816 #endif
29819 main ()
29821 _log10f(0);
29823 return 0;
29825 _ACEOF
29826 if ac_fn_cxx_try_compile "$LINENO"; then :
29827 glibcxx_cv_func__log10f_use=yes
29828 else
29829 glibcxx_cv_func__log10f_use=no
29831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29832 ac_ext=c
29833 ac_cpp='$CPP $CPPFLAGS'
29834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29843 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29845 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29846 for ac_func in _log10f
29847 do :
29848 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29849 if test "x$ac_cv_func__log10f" = x""yes; then :
29850 cat >>confdefs.h <<_ACEOF
29851 #define HAVE__LOG10F 1
29852 _ACEOF
29855 done
29864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29865 $as_echo_n "checking for modff declaration... " >&6; }
29866 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29867 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29868 $as_echo_n "(cached) " >&6
29869 else
29872 ac_ext=cpp
29873 ac_cpp='$CXXCPP $CPPFLAGS'
29874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29879 /* end confdefs.h. */
29880 #include <math.h>
29882 main ()
29884 modff(0, 0);
29886 return 0;
29888 _ACEOF
29889 if ac_fn_cxx_try_compile "$LINENO"; then :
29890 glibcxx_cv_func_modff_use=yes
29891 else
29892 glibcxx_cv_func_modff_use=no
29894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29895 ac_ext=c
29896 ac_cpp='$CPP $CPPFLAGS'
29897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29906 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29908 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29909 for ac_func in modff
29910 do :
29911 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29912 if test "x$ac_cv_func_modff" = x""yes; then :
29913 cat >>confdefs.h <<_ACEOF
29914 #define HAVE_MODFF 1
29915 _ACEOF
29918 done
29920 else
29922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29923 $as_echo_n "checking for _modff declaration... " >&6; }
29924 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29925 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29926 $as_echo_n "(cached) " >&6
29927 else
29930 ac_ext=cpp
29931 ac_cpp='$CXXCPP $CPPFLAGS'
29932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29937 /* end confdefs.h. */
29938 #include <math.h>
29940 main ()
29942 _modff(0, 0);
29944 return 0;
29946 _ACEOF
29947 if ac_fn_cxx_try_compile "$LINENO"; then :
29948 glibcxx_cv_func__modff_use=yes
29949 else
29950 glibcxx_cv_func__modff_use=no
29952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29953 ac_ext=c
29954 ac_cpp='$CPP $CPPFLAGS'
29955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29964 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29966 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29967 for ac_func in _modff
29968 do :
29969 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29970 if test "x$ac_cv_func__modff" = x""yes; then :
29971 cat >>confdefs.h <<_ACEOF
29972 #define HAVE__MODFF 1
29973 _ACEOF
29976 done
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29986 $as_echo_n "checking for modf declaration... " >&6; }
29987 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29988 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29989 $as_echo_n "(cached) " >&6
29990 else
29993 ac_ext=cpp
29994 ac_cpp='$CXXCPP $CPPFLAGS'
29995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30000 /* end confdefs.h. */
30001 #include <math.h>
30003 main ()
30005 modf(0, 0);
30007 return 0;
30009 _ACEOF
30010 if ac_fn_cxx_try_compile "$LINENO"; then :
30011 glibcxx_cv_func_modf_use=yes
30012 else
30013 glibcxx_cv_func_modf_use=no
30015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30016 ac_ext=c
30017 ac_cpp='$CPP $CPPFLAGS'
30018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30027 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30029 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30030 for ac_func in modf
30031 do :
30032 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30033 if test "x$ac_cv_func_modf" = x""yes; then :
30034 cat >>confdefs.h <<_ACEOF
30035 #define HAVE_MODF 1
30036 _ACEOF
30039 done
30041 else
30043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30044 $as_echo_n "checking for _modf declaration... " >&6; }
30045 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30046 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30047 $as_echo_n "(cached) " >&6
30048 else
30051 ac_ext=cpp
30052 ac_cpp='$CXXCPP $CPPFLAGS'
30053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30059 #include <math.h>
30061 main ()
30063 _modf(0, 0);
30065 return 0;
30067 _ACEOF
30068 if ac_fn_cxx_try_compile "$LINENO"; then :
30069 glibcxx_cv_func__modf_use=yes
30070 else
30071 glibcxx_cv_func__modf_use=no
30073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30074 ac_ext=c
30075 ac_cpp='$CPP $CPPFLAGS'
30076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30085 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30087 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30088 for ac_func in _modf
30089 do :
30090 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30091 if test "x$ac_cv_func__modf" = x""yes; then :
30092 cat >>confdefs.h <<_ACEOF
30093 #define HAVE__MODF 1
30094 _ACEOF
30097 done
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30107 $as_echo_n "checking for powf declaration... " >&6; }
30108 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30109 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30110 $as_echo_n "(cached) " >&6
30111 else
30114 ac_ext=cpp
30115 ac_cpp='$CXXCPP $CPPFLAGS'
30116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30121 /* end confdefs.h. */
30122 #include <math.h>
30124 main ()
30126 powf(0, 0);
30128 return 0;
30130 _ACEOF
30131 if ac_fn_cxx_try_compile "$LINENO"; then :
30132 glibcxx_cv_func_powf_use=yes
30133 else
30134 glibcxx_cv_func_powf_use=no
30136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30137 ac_ext=c
30138 ac_cpp='$CPP $CPPFLAGS'
30139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30148 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30150 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30151 for ac_func in powf
30152 do :
30153 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30154 if test "x$ac_cv_func_powf" = x""yes; then :
30155 cat >>confdefs.h <<_ACEOF
30156 #define HAVE_POWF 1
30157 _ACEOF
30160 done
30162 else
30164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30165 $as_echo_n "checking for _powf declaration... " >&6; }
30166 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30167 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30168 $as_echo_n "(cached) " >&6
30169 else
30172 ac_ext=cpp
30173 ac_cpp='$CXXCPP $CPPFLAGS'
30174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30179 /* end confdefs.h. */
30180 #include <math.h>
30182 main ()
30184 _powf(0, 0);
30186 return 0;
30188 _ACEOF
30189 if ac_fn_cxx_try_compile "$LINENO"; then :
30190 glibcxx_cv_func__powf_use=yes
30191 else
30192 glibcxx_cv_func__powf_use=no
30194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30195 ac_ext=c
30196 ac_cpp='$CPP $CPPFLAGS'
30197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30206 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30208 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30209 for ac_func in _powf
30210 do :
30211 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30212 if test "x$ac_cv_func__powf" = x""yes; then :
30213 cat >>confdefs.h <<_ACEOF
30214 #define HAVE__POWF 1
30215 _ACEOF
30218 done
30227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30228 $as_echo_n "checking for sqrtf declaration... " >&6; }
30229 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30230 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30231 $as_echo_n "(cached) " >&6
30232 else
30235 ac_ext=cpp
30236 ac_cpp='$CXXCPP $CPPFLAGS'
30237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30242 /* end confdefs.h. */
30243 #include <math.h>
30244 #ifdef HAVE_IEEEFP_H
30245 #include <ieeefp.h>
30246 #endif
30249 main ()
30251 sqrtf(0);
30253 return 0;
30255 _ACEOF
30256 if ac_fn_cxx_try_compile "$LINENO"; then :
30257 glibcxx_cv_func_sqrtf_use=yes
30258 else
30259 glibcxx_cv_func_sqrtf_use=no
30261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30262 ac_ext=c
30263 ac_cpp='$CPP $CPPFLAGS'
30264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30273 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30275 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30276 for ac_func in sqrtf
30277 do :
30278 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30279 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30280 cat >>confdefs.h <<_ACEOF
30281 #define HAVE_SQRTF 1
30282 _ACEOF
30285 done
30287 else
30289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30290 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30291 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30292 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30293 $as_echo_n "(cached) " >&6
30294 else
30297 ac_ext=cpp
30298 ac_cpp='$CXXCPP $CPPFLAGS'
30299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30304 /* end confdefs.h. */
30305 #include <math.h>
30306 #ifdef HAVE_IEEEFP_H
30307 #include <ieeefp.h>
30308 #endif
30311 main ()
30313 _sqrtf(0);
30315 return 0;
30317 _ACEOF
30318 if ac_fn_cxx_try_compile "$LINENO"; then :
30319 glibcxx_cv_func__sqrtf_use=yes
30320 else
30321 glibcxx_cv_func__sqrtf_use=no
30323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30324 ac_ext=c
30325 ac_cpp='$CPP $CPPFLAGS'
30326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30335 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30337 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30338 for ac_func in _sqrtf
30339 do :
30340 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30341 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30342 cat >>confdefs.h <<_ACEOF
30343 #define HAVE__SQRTF 1
30344 _ACEOF
30347 done
30356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30357 $as_echo_n "checking for sincosf declaration... " >&6; }
30358 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30359 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30360 $as_echo_n "(cached) " >&6
30361 else
30364 ac_ext=cpp
30365 ac_cpp='$CXXCPP $CPPFLAGS'
30366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30371 /* end confdefs.h. */
30372 #include <math.h>
30374 main ()
30376 sincosf(0, 0, 0);
30378 return 0;
30380 _ACEOF
30381 if ac_fn_cxx_try_compile "$LINENO"; then :
30382 glibcxx_cv_func_sincosf_use=yes
30383 else
30384 glibcxx_cv_func_sincosf_use=no
30386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30387 ac_ext=c
30388 ac_cpp='$CPP $CPPFLAGS'
30389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30398 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30400 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30401 for ac_func in sincosf
30402 do :
30403 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30404 if test "x$ac_cv_func_sincosf" = x""yes; then :
30405 cat >>confdefs.h <<_ACEOF
30406 #define HAVE_SINCOSF 1
30407 _ACEOF
30410 done
30412 else
30414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30415 $as_echo_n "checking for _sincosf declaration... " >&6; }
30416 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30417 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30418 $as_echo_n "(cached) " >&6
30419 else
30422 ac_ext=cpp
30423 ac_cpp='$CXXCPP $CPPFLAGS'
30424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30429 /* end confdefs.h. */
30430 #include <math.h>
30432 main ()
30434 _sincosf(0, 0, 0);
30436 return 0;
30438 _ACEOF
30439 if ac_fn_cxx_try_compile "$LINENO"; then :
30440 glibcxx_cv_func__sincosf_use=yes
30441 else
30442 glibcxx_cv_func__sincosf_use=no
30444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30445 ac_ext=c
30446 ac_cpp='$CPP $CPPFLAGS'
30447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30456 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30458 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30459 for ac_func in _sincosf
30460 do :
30461 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30462 if test "x$ac_cv_func__sincosf" = x""yes; then :
30463 cat >>confdefs.h <<_ACEOF
30464 #define HAVE__SINCOSF 1
30465 _ACEOF
30468 done
30477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30478 $as_echo_n "checking for finitef declaration... " >&6; }
30479 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30480 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30481 $as_echo_n "(cached) " >&6
30482 else
30485 ac_ext=cpp
30486 ac_cpp='$CXXCPP $CPPFLAGS'
30487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30492 /* end confdefs.h. */
30493 #include <math.h>
30494 #ifdef HAVE_IEEEFP_H
30495 #include <ieeefp.h>
30496 #endif
30499 main ()
30501 finitef(0);
30503 return 0;
30505 _ACEOF
30506 if ac_fn_cxx_try_compile "$LINENO"; then :
30507 glibcxx_cv_func_finitef_use=yes
30508 else
30509 glibcxx_cv_func_finitef_use=no
30511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30512 ac_ext=c
30513 ac_cpp='$CPP $CPPFLAGS'
30514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30523 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30525 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30526 for ac_func in finitef
30527 do :
30528 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30529 if test "x$ac_cv_func_finitef" = x""yes; then :
30530 cat >>confdefs.h <<_ACEOF
30531 #define HAVE_FINITEF 1
30532 _ACEOF
30535 done
30537 else
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30540 $as_echo_n "checking for _finitef declaration... " >&6; }
30541 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30542 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30543 $as_echo_n "(cached) " >&6
30544 else
30547 ac_ext=cpp
30548 ac_cpp='$CXXCPP $CPPFLAGS'
30549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30554 /* end confdefs.h. */
30555 #include <math.h>
30556 #ifdef HAVE_IEEEFP_H
30557 #include <ieeefp.h>
30558 #endif
30561 main ()
30563 _finitef(0);
30565 return 0;
30567 _ACEOF
30568 if ac_fn_cxx_try_compile "$LINENO"; then :
30569 glibcxx_cv_func__finitef_use=yes
30570 else
30571 glibcxx_cv_func__finitef_use=no
30573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30574 ac_ext=c
30575 ac_cpp='$CPP $CPPFLAGS'
30576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30585 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30587 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30588 for ac_func in _finitef
30589 do :
30590 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30591 if test "x$ac_cv_func__finitef" = x""yes; then :
30592 cat >>confdefs.h <<_ACEOF
30593 #define HAVE__FINITEF 1
30594 _ACEOF
30597 done
30606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30607 $as_echo_n "checking for long double trig functions... " >&6; }
30608 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30609 $as_echo_n "(cached) " >&6
30610 else
30613 ac_ext=cpp
30614 ac_cpp='$CXXCPP $CPPFLAGS'
30615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30620 /* end confdefs.h. */
30621 #include <math.h>
30623 main ()
30625 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30627 return 0;
30629 _ACEOF
30630 if ac_fn_cxx_try_compile "$LINENO"; then :
30631 glibcxx_cv_func_long_double_trig_use=yes
30632 else
30633 glibcxx_cv_func_long_double_trig_use=no
30635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30636 ac_ext=c
30637 ac_cpp='$CPP $CPPFLAGS'
30638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30645 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30646 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30647 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30648 do :
30649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30651 eval as_val=\$$as_ac_var
30652 if test "x$as_val" = x""yes; then :
30653 cat >>confdefs.h <<_ACEOF
30654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30655 _ACEOF
30658 done
30660 else
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30662 $as_echo_n "checking for _long double trig functions... " >&6; }
30663 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30664 $as_echo_n "(cached) " >&6
30665 else
30668 ac_ext=cpp
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30675 /* end confdefs.h. */
30676 #include <math.h>
30678 main ()
30680 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30682 return 0;
30684 _ACEOF
30685 if ac_fn_cxx_try_compile "$LINENO"; then :
30686 glibcxx_cv_func__long_double_trig_use=yes
30687 else
30688 glibcxx_cv_func__long_double_trig_use=no
30690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30691 ac_ext=c
30692 ac_cpp='$CPP $CPPFLAGS'
30693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30700 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30701 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30702 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30703 do :
30704 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30706 eval as_val=\$$as_ac_var
30707 if test "x$as_val" = x""yes; then :
30708 cat >>confdefs.h <<_ACEOF
30709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30710 _ACEOF
30713 done
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30723 $as_echo_n "checking for long double round functions... " >&6; }
30724 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30725 $as_echo_n "(cached) " >&6
30726 else
30729 ac_ext=cpp
30730 ac_cpp='$CXXCPP $CPPFLAGS'
30731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30736 /* end confdefs.h. */
30737 #include <math.h>
30739 main ()
30741 ceill (0); floorl (0);
30743 return 0;
30745 _ACEOF
30746 if ac_fn_cxx_try_compile "$LINENO"; then :
30747 glibcxx_cv_func_long_double_round_use=yes
30748 else
30749 glibcxx_cv_func_long_double_round_use=no
30751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30752 ac_ext=c
30753 ac_cpp='$CPP $CPPFLAGS'
30754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30761 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30762 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30763 for ac_func in ceill floorl
30764 do :
30765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30767 eval as_val=\$$as_ac_var
30768 if test "x$as_val" = x""yes; then :
30769 cat >>confdefs.h <<_ACEOF
30770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30771 _ACEOF
30774 done
30776 else
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30778 $as_echo_n "checking for _long double round functions... " >&6; }
30779 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30780 $as_echo_n "(cached) " >&6
30781 else
30784 ac_ext=cpp
30785 ac_cpp='$CXXCPP $CPPFLAGS'
30786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30791 /* end confdefs.h. */
30792 #include <math.h>
30794 main ()
30796 _ceill (0); _floorl (0);
30798 return 0;
30800 _ACEOF
30801 if ac_fn_cxx_try_compile "$LINENO"; then :
30802 glibcxx_cv_func__long_double_round_use=yes
30803 else
30804 glibcxx_cv_func__long_double_round_use=no
30806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30807 ac_ext=c
30808 ac_cpp='$CPP $CPPFLAGS'
30809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30816 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30817 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30818 for ac_func in _ceill _floorl
30819 do :
30820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30822 eval as_val=\$$as_ac_var
30823 if test "x$as_val" = x""yes; then :
30824 cat >>confdefs.h <<_ACEOF
30825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30826 _ACEOF
30829 done
30839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30840 $as_echo_n "checking for isnanl declaration... " >&6; }
30841 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30842 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30843 $as_echo_n "(cached) " >&6
30844 else
30847 ac_ext=cpp
30848 ac_cpp='$CXXCPP $CPPFLAGS'
30849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30854 /* end confdefs.h. */
30855 #include <math.h>
30856 #ifdef HAVE_IEEEFP_H
30857 #include <ieeefp.h>
30858 #endif
30861 main ()
30863 isnanl(0);
30865 return 0;
30867 _ACEOF
30868 if ac_fn_cxx_try_compile "$LINENO"; then :
30869 glibcxx_cv_func_isnanl_use=yes
30870 else
30871 glibcxx_cv_func_isnanl_use=no
30873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30874 ac_ext=c
30875 ac_cpp='$CPP $CPPFLAGS'
30876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30885 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30887 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30888 for ac_func in isnanl
30889 do :
30890 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30891 if test "x$ac_cv_func_isnanl" = x""yes; then :
30892 cat >>confdefs.h <<_ACEOF
30893 #define HAVE_ISNANL 1
30894 _ACEOF
30897 done
30899 else
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30902 $as_echo_n "checking for _isnanl declaration... " >&6; }
30903 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30904 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30905 $as_echo_n "(cached) " >&6
30906 else
30909 ac_ext=cpp
30910 ac_cpp='$CXXCPP $CPPFLAGS'
30911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30916 /* end confdefs.h. */
30917 #include <math.h>
30918 #ifdef HAVE_IEEEFP_H
30919 #include <ieeefp.h>
30920 #endif
30923 main ()
30925 _isnanl(0);
30927 return 0;
30929 _ACEOF
30930 if ac_fn_cxx_try_compile "$LINENO"; then :
30931 glibcxx_cv_func__isnanl_use=yes
30932 else
30933 glibcxx_cv_func__isnanl_use=no
30935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30936 ac_ext=c
30937 ac_cpp='$CPP $CPPFLAGS'
30938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30947 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30949 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30950 for ac_func in _isnanl
30951 do :
30952 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30953 if test "x$ac_cv_func__isnanl" = x""yes; then :
30954 cat >>confdefs.h <<_ACEOF
30955 #define HAVE__ISNANL 1
30956 _ACEOF
30959 done
30968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30969 $as_echo_n "checking for isinfl declaration... " >&6; }
30970 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30971 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30972 $as_echo_n "(cached) " >&6
30973 else
30976 ac_ext=cpp
30977 ac_cpp='$CXXCPP $CPPFLAGS'
30978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30983 /* end confdefs.h. */
30984 #include <math.h>
30985 #ifdef HAVE_IEEEFP_H
30986 #include <ieeefp.h>
30987 #endif
30990 main ()
30992 isinfl(0);
30994 return 0;
30996 _ACEOF
30997 if ac_fn_cxx_try_compile "$LINENO"; then :
30998 glibcxx_cv_func_isinfl_use=yes
30999 else
31000 glibcxx_cv_func_isinfl_use=no
31002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31003 ac_ext=c
31004 ac_cpp='$CPP $CPPFLAGS'
31005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31014 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31016 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31017 for ac_func in isinfl
31018 do :
31019 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31020 if test "x$ac_cv_func_isinfl" = x""yes; then :
31021 cat >>confdefs.h <<_ACEOF
31022 #define HAVE_ISINFL 1
31023 _ACEOF
31026 done
31028 else
31030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31031 $as_echo_n "checking for _isinfl declaration... " >&6; }
31032 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31033 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31034 $as_echo_n "(cached) " >&6
31035 else
31038 ac_ext=cpp
31039 ac_cpp='$CXXCPP $CPPFLAGS'
31040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31045 /* end confdefs.h. */
31046 #include <math.h>
31047 #ifdef HAVE_IEEEFP_H
31048 #include <ieeefp.h>
31049 #endif
31052 main ()
31054 _isinfl(0);
31056 return 0;
31058 _ACEOF
31059 if ac_fn_cxx_try_compile "$LINENO"; then :
31060 glibcxx_cv_func__isinfl_use=yes
31061 else
31062 glibcxx_cv_func__isinfl_use=no
31064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31065 ac_ext=c
31066 ac_cpp='$CPP $CPPFLAGS'
31067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31076 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31078 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31079 for ac_func in _isinfl
31080 do :
31081 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31082 if test "x$ac_cv_func__isinfl" = x""yes; then :
31083 cat >>confdefs.h <<_ACEOF
31084 #define HAVE__ISINFL 1
31085 _ACEOF
31088 done
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31098 $as_echo_n "checking for atan2l declaration... " >&6; }
31099 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31100 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31101 $as_echo_n "(cached) " >&6
31102 else
31105 ac_ext=cpp
31106 ac_cpp='$CXXCPP $CPPFLAGS'
31107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31112 /* end confdefs.h. */
31113 #include <math.h>
31115 main ()
31117 atan2l(0, 0);
31119 return 0;
31121 _ACEOF
31122 if ac_fn_cxx_try_compile "$LINENO"; then :
31123 glibcxx_cv_func_atan2l_use=yes
31124 else
31125 glibcxx_cv_func_atan2l_use=no
31127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31128 ac_ext=c
31129 ac_cpp='$CPP $CPPFLAGS'
31130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31139 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31141 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31142 for ac_func in atan2l
31143 do :
31144 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31145 if test "x$ac_cv_func_atan2l" = x""yes; then :
31146 cat >>confdefs.h <<_ACEOF
31147 #define HAVE_ATAN2L 1
31148 _ACEOF
31151 done
31153 else
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31156 $as_echo_n "checking for _atan2l declaration... " >&6; }
31157 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31158 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31159 $as_echo_n "(cached) " >&6
31160 else
31163 ac_ext=cpp
31164 ac_cpp='$CXXCPP $CPPFLAGS'
31165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31170 /* end confdefs.h. */
31171 #include <math.h>
31173 main ()
31175 _atan2l(0, 0);
31177 return 0;
31179 _ACEOF
31180 if ac_fn_cxx_try_compile "$LINENO"; then :
31181 glibcxx_cv_func__atan2l_use=yes
31182 else
31183 glibcxx_cv_func__atan2l_use=no
31185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31186 ac_ext=c
31187 ac_cpp='$CPP $CPPFLAGS'
31188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31197 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31199 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31200 for ac_func in _atan2l
31201 do :
31202 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31203 if test "x$ac_cv_func__atan2l" = x""yes; then :
31204 cat >>confdefs.h <<_ACEOF
31205 #define HAVE__ATAN2L 1
31206 _ACEOF
31209 done
31218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31219 $as_echo_n "checking for expl declaration... " >&6; }
31220 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31221 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31222 $as_echo_n "(cached) " >&6
31223 else
31226 ac_ext=cpp
31227 ac_cpp='$CXXCPP $CPPFLAGS'
31228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31233 /* end confdefs.h. */
31234 #include <math.h>
31235 #ifdef HAVE_IEEEFP_H
31236 #include <ieeefp.h>
31237 #endif
31240 main ()
31242 expl(0);
31244 return 0;
31246 _ACEOF
31247 if ac_fn_cxx_try_compile "$LINENO"; then :
31248 glibcxx_cv_func_expl_use=yes
31249 else
31250 glibcxx_cv_func_expl_use=no
31252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31253 ac_ext=c
31254 ac_cpp='$CPP $CPPFLAGS'
31255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31264 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31266 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31267 for ac_func in expl
31268 do :
31269 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31270 if test "x$ac_cv_func_expl" = x""yes; then :
31271 cat >>confdefs.h <<_ACEOF
31272 #define HAVE_EXPL 1
31273 _ACEOF
31276 done
31278 else
31280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31281 $as_echo_n "checking for _expl declaration... " >&6; }
31282 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31283 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31284 $as_echo_n "(cached) " >&6
31285 else
31288 ac_ext=cpp
31289 ac_cpp='$CXXCPP $CPPFLAGS'
31290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31295 /* end confdefs.h. */
31296 #include <math.h>
31297 #ifdef HAVE_IEEEFP_H
31298 #include <ieeefp.h>
31299 #endif
31302 main ()
31304 _expl(0);
31306 return 0;
31308 _ACEOF
31309 if ac_fn_cxx_try_compile "$LINENO"; then :
31310 glibcxx_cv_func__expl_use=yes
31311 else
31312 glibcxx_cv_func__expl_use=no
31314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31315 ac_ext=c
31316 ac_cpp='$CPP $CPPFLAGS'
31317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31326 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31328 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31329 for ac_func in _expl
31330 do :
31331 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31332 if test "x$ac_cv_func__expl" = x""yes; then :
31333 cat >>confdefs.h <<_ACEOF
31334 #define HAVE__EXPL 1
31335 _ACEOF
31338 done
31347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31348 $as_echo_n "checking for fabsl declaration... " >&6; }
31349 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31350 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31351 $as_echo_n "(cached) " >&6
31352 else
31355 ac_ext=cpp
31356 ac_cpp='$CXXCPP $CPPFLAGS'
31357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31363 #include <math.h>
31364 #ifdef HAVE_IEEEFP_H
31365 #include <ieeefp.h>
31366 #endif
31369 main ()
31371 fabsl(0);
31373 return 0;
31375 _ACEOF
31376 if ac_fn_cxx_try_compile "$LINENO"; then :
31377 glibcxx_cv_func_fabsl_use=yes
31378 else
31379 glibcxx_cv_func_fabsl_use=no
31381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31382 ac_ext=c
31383 ac_cpp='$CPP $CPPFLAGS'
31384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31393 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31395 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31396 for ac_func in fabsl
31397 do :
31398 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31399 if test "x$ac_cv_func_fabsl" = x""yes; then :
31400 cat >>confdefs.h <<_ACEOF
31401 #define HAVE_FABSL 1
31402 _ACEOF
31405 done
31407 else
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31410 $as_echo_n "checking for _fabsl declaration... " >&6; }
31411 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31412 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31413 $as_echo_n "(cached) " >&6
31414 else
31417 ac_ext=cpp
31418 ac_cpp='$CXXCPP $CPPFLAGS'
31419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31424 /* end confdefs.h. */
31425 #include <math.h>
31426 #ifdef HAVE_IEEEFP_H
31427 #include <ieeefp.h>
31428 #endif
31431 main ()
31433 _fabsl(0);
31435 return 0;
31437 _ACEOF
31438 if ac_fn_cxx_try_compile "$LINENO"; then :
31439 glibcxx_cv_func__fabsl_use=yes
31440 else
31441 glibcxx_cv_func__fabsl_use=no
31443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31444 ac_ext=c
31445 ac_cpp='$CPP $CPPFLAGS'
31446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31455 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31457 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31458 for ac_func in _fabsl
31459 do :
31460 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31461 if test "x$ac_cv_func__fabsl" = x""yes; then :
31462 cat >>confdefs.h <<_ACEOF
31463 #define HAVE__FABSL 1
31464 _ACEOF
31467 done
31476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31477 $as_echo_n "checking for fmodl declaration... " >&6; }
31478 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31479 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31480 $as_echo_n "(cached) " >&6
31481 else
31484 ac_ext=cpp
31485 ac_cpp='$CXXCPP $CPPFLAGS'
31486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31491 /* end confdefs.h. */
31492 #include <math.h>
31494 main ()
31496 fmodl(0, 0);
31498 return 0;
31500 _ACEOF
31501 if ac_fn_cxx_try_compile "$LINENO"; then :
31502 glibcxx_cv_func_fmodl_use=yes
31503 else
31504 glibcxx_cv_func_fmodl_use=no
31506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31507 ac_ext=c
31508 ac_cpp='$CPP $CPPFLAGS'
31509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31518 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31520 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31521 for ac_func in fmodl
31522 do :
31523 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31524 if test "x$ac_cv_func_fmodl" = x""yes; then :
31525 cat >>confdefs.h <<_ACEOF
31526 #define HAVE_FMODL 1
31527 _ACEOF
31530 done
31532 else
31534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31535 $as_echo_n "checking for _fmodl declaration... " >&6; }
31536 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31537 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31538 $as_echo_n "(cached) " >&6
31539 else
31542 ac_ext=cpp
31543 ac_cpp='$CXXCPP $CPPFLAGS'
31544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31549 /* end confdefs.h. */
31550 #include <math.h>
31552 main ()
31554 _fmodl(0, 0);
31556 return 0;
31558 _ACEOF
31559 if ac_fn_cxx_try_compile "$LINENO"; then :
31560 glibcxx_cv_func__fmodl_use=yes
31561 else
31562 glibcxx_cv_func__fmodl_use=no
31564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565 ac_ext=c
31566 ac_cpp='$CPP $CPPFLAGS'
31567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31576 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31578 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31579 for ac_func in _fmodl
31580 do :
31581 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31582 if test "x$ac_cv_func__fmodl" = x""yes; then :
31583 cat >>confdefs.h <<_ACEOF
31584 #define HAVE__FMODL 1
31585 _ACEOF
31588 done
31597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31598 $as_echo_n "checking for frexpl declaration... " >&6; }
31599 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31600 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31601 $as_echo_n "(cached) " >&6
31602 else
31605 ac_ext=cpp
31606 ac_cpp='$CXXCPP $CPPFLAGS'
31607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31612 /* end confdefs.h. */
31613 #include <math.h>
31615 main ()
31617 frexpl(0, 0);
31619 return 0;
31621 _ACEOF
31622 if ac_fn_cxx_try_compile "$LINENO"; then :
31623 glibcxx_cv_func_frexpl_use=yes
31624 else
31625 glibcxx_cv_func_frexpl_use=no
31627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31628 ac_ext=c
31629 ac_cpp='$CPP $CPPFLAGS'
31630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31639 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31641 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31642 for ac_func in frexpl
31643 do :
31644 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31645 if test "x$ac_cv_func_frexpl" = x""yes; then :
31646 cat >>confdefs.h <<_ACEOF
31647 #define HAVE_FREXPL 1
31648 _ACEOF
31651 done
31653 else
31655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31656 $as_echo_n "checking for _frexpl declaration... " >&6; }
31657 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31658 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31659 $as_echo_n "(cached) " >&6
31660 else
31663 ac_ext=cpp
31664 ac_cpp='$CXXCPP $CPPFLAGS'
31665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31670 /* end confdefs.h. */
31671 #include <math.h>
31673 main ()
31675 _frexpl(0, 0);
31677 return 0;
31679 _ACEOF
31680 if ac_fn_cxx_try_compile "$LINENO"; then :
31681 glibcxx_cv_func__frexpl_use=yes
31682 else
31683 glibcxx_cv_func__frexpl_use=no
31685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31686 ac_ext=c
31687 ac_cpp='$CPP $CPPFLAGS'
31688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31697 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31699 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31700 for ac_func in _frexpl
31701 do :
31702 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31703 if test "x$ac_cv_func__frexpl" = x""yes; then :
31704 cat >>confdefs.h <<_ACEOF
31705 #define HAVE__FREXPL 1
31706 _ACEOF
31709 done
31718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31719 $as_echo_n "checking for hypotl declaration... " >&6; }
31720 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31721 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31722 $as_echo_n "(cached) " >&6
31723 else
31726 ac_ext=cpp
31727 ac_cpp='$CXXCPP $CPPFLAGS'
31728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31733 /* end confdefs.h. */
31734 #include <math.h>
31736 main ()
31738 hypotl(0, 0);
31740 return 0;
31742 _ACEOF
31743 if ac_fn_cxx_try_compile "$LINENO"; then :
31744 glibcxx_cv_func_hypotl_use=yes
31745 else
31746 glibcxx_cv_func_hypotl_use=no
31748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31749 ac_ext=c
31750 ac_cpp='$CPP $CPPFLAGS'
31751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31760 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31762 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31763 for ac_func in hypotl
31764 do :
31765 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31766 if test "x$ac_cv_func_hypotl" = x""yes; then :
31767 cat >>confdefs.h <<_ACEOF
31768 #define HAVE_HYPOTL 1
31769 _ACEOF
31772 done
31774 else
31776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31777 $as_echo_n "checking for _hypotl declaration... " >&6; }
31778 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31779 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31780 $as_echo_n "(cached) " >&6
31781 else
31784 ac_ext=cpp
31785 ac_cpp='$CXXCPP $CPPFLAGS'
31786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31791 /* end confdefs.h. */
31792 #include <math.h>
31794 main ()
31796 _hypotl(0, 0);
31798 return 0;
31800 _ACEOF
31801 if ac_fn_cxx_try_compile "$LINENO"; then :
31802 glibcxx_cv_func__hypotl_use=yes
31803 else
31804 glibcxx_cv_func__hypotl_use=no
31806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31807 ac_ext=c
31808 ac_cpp='$CPP $CPPFLAGS'
31809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31818 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31820 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31821 for ac_func in _hypotl
31822 do :
31823 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31824 if test "x$ac_cv_func__hypotl" = x""yes; then :
31825 cat >>confdefs.h <<_ACEOF
31826 #define HAVE__HYPOTL 1
31827 _ACEOF
31830 done
31839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31840 $as_echo_n "checking for ldexpl declaration... " >&6; }
31841 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31842 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31843 $as_echo_n "(cached) " >&6
31844 else
31847 ac_ext=cpp
31848 ac_cpp='$CXXCPP $CPPFLAGS'
31849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31854 /* end confdefs.h. */
31855 #include <math.h>
31857 main ()
31859 ldexpl(0, 0);
31861 return 0;
31863 _ACEOF
31864 if ac_fn_cxx_try_compile "$LINENO"; then :
31865 glibcxx_cv_func_ldexpl_use=yes
31866 else
31867 glibcxx_cv_func_ldexpl_use=no
31869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31870 ac_ext=c
31871 ac_cpp='$CPP $CPPFLAGS'
31872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31881 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31883 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31884 for ac_func in ldexpl
31885 do :
31886 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31887 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31888 cat >>confdefs.h <<_ACEOF
31889 #define HAVE_LDEXPL 1
31890 _ACEOF
31893 done
31895 else
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31898 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31899 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31900 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31901 $as_echo_n "(cached) " >&6
31902 else
31905 ac_ext=cpp
31906 ac_cpp='$CXXCPP $CPPFLAGS'
31907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31912 /* end confdefs.h. */
31913 #include <math.h>
31915 main ()
31917 _ldexpl(0, 0);
31919 return 0;
31921 _ACEOF
31922 if ac_fn_cxx_try_compile "$LINENO"; then :
31923 glibcxx_cv_func__ldexpl_use=yes
31924 else
31925 glibcxx_cv_func__ldexpl_use=no
31927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31928 ac_ext=c
31929 ac_cpp='$CPP $CPPFLAGS'
31930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31939 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31941 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31942 for ac_func in _ldexpl
31943 do :
31944 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31945 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31946 cat >>confdefs.h <<_ACEOF
31947 #define HAVE__LDEXPL 1
31948 _ACEOF
31951 done
31960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31961 $as_echo_n "checking for logl declaration... " >&6; }
31962 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31963 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31964 $as_echo_n "(cached) " >&6
31965 else
31968 ac_ext=cpp
31969 ac_cpp='$CXXCPP $CPPFLAGS'
31970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31975 /* end confdefs.h. */
31976 #include <math.h>
31977 #ifdef HAVE_IEEEFP_H
31978 #include <ieeefp.h>
31979 #endif
31982 main ()
31984 logl(0);
31986 return 0;
31988 _ACEOF
31989 if ac_fn_cxx_try_compile "$LINENO"; then :
31990 glibcxx_cv_func_logl_use=yes
31991 else
31992 glibcxx_cv_func_logl_use=no
31994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31995 ac_ext=c
31996 ac_cpp='$CPP $CPPFLAGS'
31997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32006 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32008 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32009 for ac_func in logl
32010 do :
32011 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32012 if test "x$ac_cv_func_logl" = x""yes; then :
32013 cat >>confdefs.h <<_ACEOF
32014 #define HAVE_LOGL 1
32015 _ACEOF
32018 done
32020 else
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32023 $as_echo_n "checking for _logl declaration... " >&6; }
32024 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32025 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32026 $as_echo_n "(cached) " >&6
32027 else
32030 ac_ext=cpp
32031 ac_cpp='$CXXCPP $CPPFLAGS'
32032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32037 /* end confdefs.h. */
32038 #include <math.h>
32039 #ifdef HAVE_IEEEFP_H
32040 #include <ieeefp.h>
32041 #endif
32044 main ()
32046 _logl(0);
32048 return 0;
32050 _ACEOF
32051 if ac_fn_cxx_try_compile "$LINENO"; then :
32052 glibcxx_cv_func__logl_use=yes
32053 else
32054 glibcxx_cv_func__logl_use=no
32056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32057 ac_ext=c
32058 ac_cpp='$CPP $CPPFLAGS'
32059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32068 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32070 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32071 for ac_func in _logl
32072 do :
32073 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32074 if test "x$ac_cv_func__logl" = x""yes; then :
32075 cat >>confdefs.h <<_ACEOF
32076 #define HAVE__LOGL 1
32077 _ACEOF
32080 done
32089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32090 $as_echo_n "checking for log10l declaration... " >&6; }
32091 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32092 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32093 $as_echo_n "(cached) " >&6
32094 else
32097 ac_ext=cpp
32098 ac_cpp='$CXXCPP $CPPFLAGS'
32099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32104 /* end confdefs.h. */
32105 #include <math.h>
32106 #ifdef HAVE_IEEEFP_H
32107 #include <ieeefp.h>
32108 #endif
32111 main ()
32113 log10l(0);
32115 return 0;
32117 _ACEOF
32118 if ac_fn_cxx_try_compile "$LINENO"; then :
32119 glibcxx_cv_func_log10l_use=yes
32120 else
32121 glibcxx_cv_func_log10l_use=no
32123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32124 ac_ext=c
32125 ac_cpp='$CPP $CPPFLAGS'
32126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32135 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32137 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32138 for ac_func in log10l
32139 do :
32140 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32141 if test "x$ac_cv_func_log10l" = x""yes; then :
32142 cat >>confdefs.h <<_ACEOF
32143 #define HAVE_LOG10L 1
32144 _ACEOF
32147 done
32149 else
32151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32152 $as_echo_n "checking for _log10l declaration... " >&6; }
32153 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32154 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32155 $as_echo_n "(cached) " >&6
32156 else
32159 ac_ext=cpp
32160 ac_cpp='$CXXCPP $CPPFLAGS'
32161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h. */
32167 #include <math.h>
32168 #ifdef HAVE_IEEEFP_H
32169 #include <ieeefp.h>
32170 #endif
32173 main ()
32175 _log10l(0);
32177 return 0;
32179 _ACEOF
32180 if ac_fn_cxx_try_compile "$LINENO"; then :
32181 glibcxx_cv_func__log10l_use=yes
32182 else
32183 glibcxx_cv_func__log10l_use=no
32185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32186 ac_ext=c
32187 ac_cpp='$CPP $CPPFLAGS'
32188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32197 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32199 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32200 for ac_func in _log10l
32201 do :
32202 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32203 if test "x$ac_cv_func__log10l" = x""yes; then :
32204 cat >>confdefs.h <<_ACEOF
32205 #define HAVE__LOG10L 1
32206 _ACEOF
32209 done
32218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32219 $as_echo_n "checking for modfl declaration... " >&6; }
32220 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32221 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32222 $as_echo_n "(cached) " >&6
32223 else
32226 ac_ext=cpp
32227 ac_cpp='$CXXCPP $CPPFLAGS'
32228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32233 /* end confdefs.h. */
32234 #include <math.h>
32236 main ()
32238 modfl(0, 0);
32240 return 0;
32242 _ACEOF
32243 if ac_fn_cxx_try_compile "$LINENO"; then :
32244 glibcxx_cv_func_modfl_use=yes
32245 else
32246 glibcxx_cv_func_modfl_use=no
32248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32249 ac_ext=c
32250 ac_cpp='$CPP $CPPFLAGS'
32251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32260 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32262 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32263 for ac_func in modfl
32264 do :
32265 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32266 if test "x$ac_cv_func_modfl" = x""yes; then :
32267 cat >>confdefs.h <<_ACEOF
32268 #define HAVE_MODFL 1
32269 _ACEOF
32272 done
32274 else
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32277 $as_echo_n "checking for _modfl declaration... " >&6; }
32278 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32279 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32280 $as_echo_n "(cached) " >&6
32281 else
32284 ac_ext=cpp
32285 ac_cpp='$CXXCPP $CPPFLAGS'
32286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32291 /* end confdefs.h. */
32292 #include <math.h>
32294 main ()
32296 _modfl(0, 0);
32298 return 0;
32300 _ACEOF
32301 if ac_fn_cxx_try_compile "$LINENO"; then :
32302 glibcxx_cv_func__modfl_use=yes
32303 else
32304 glibcxx_cv_func__modfl_use=no
32306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32307 ac_ext=c
32308 ac_cpp='$CPP $CPPFLAGS'
32309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32318 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32320 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32321 for ac_func in _modfl
32322 do :
32323 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32324 if test "x$ac_cv_func__modfl" = x""yes; then :
32325 cat >>confdefs.h <<_ACEOF
32326 #define HAVE__MODFL 1
32327 _ACEOF
32330 done
32339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32340 $as_echo_n "checking for powl declaration... " >&6; }
32341 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32342 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32343 $as_echo_n "(cached) " >&6
32344 else
32347 ac_ext=cpp
32348 ac_cpp='$CXXCPP $CPPFLAGS'
32349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32354 /* end confdefs.h. */
32355 #include <math.h>
32357 main ()
32359 powl(0, 0);
32361 return 0;
32363 _ACEOF
32364 if ac_fn_cxx_try_compile "$LINENO"; then :
32365 glibcxx_cv_func_powl_use=yes
32366 else
32367 glibcxx_cv_func_powl_use=no
32369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32370 ac_ext=c
32371 ac_cpp='$CPP $CPPFLAGS'
32372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32381 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32383 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32384 for ac_func in powl
32385 do :
32386 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32387 if test "x$ac_cv_func_powl" = x""yes; then :
32388 cat >>confdefs.h <<_ACEOF
32389 #define HAVE_POWL 1
32390 _ACEOF
32393 done
32395 else
32397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32398 $as_echo_n "checking for _powl declaration... " >&6; }
32399 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32400 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32401 $as_echo_n "(cached) " >&6
32402 else
32405 ac_ext=cpp
32406 ac_cpp='$CXXCPP $CPPFLAGS'
32407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32412 /* end confdefs.h. */
32413 #include <math.h>
32415 main ()
32417 _powl(0, 0);
32419 return 0;
32421 _ACEOF
32422 if ac_fn_cxx_try_compile "$LINENO"; then :
32423 glibcxx_cv_func__powl_use=yes
32424 else
32425 glibcxx_cv_func__powl_use=no
32427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32428 ac_ext=c
32429 ac_cpp='$CPP $CPPFLAGS'
32430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32439 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32441 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32442 for ac_func in _powl
32443 do :
32444 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32445 if test "x$ac_cv_func__powl" = x""yes; then :
32446 cat >>confdefs.h <<_ACEOF
32447 #define HAVE__POWL 1
32448 _ACEOF
32451 done
32460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32461 $as_echo_n "checking for sqrtl declaration... " >&6; }
32462 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32463 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32464 $as_echo_n "(cached) " >&6
32465 else
32468 ac_ext=cpp
32469 ac_cpp='$CXXCPP $CPPFLAGS'
32470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32475 /* end confdefs.h. */
32476 #include <math.h>
32477 #ifdef HAVE_IEEEFP_H
32478 #include <ieeefp.h>
32479 #endif
32482 main ()
32484 sqrtl(0);
32486 return 0;
32488 _ACEOF
32489 if ac_fn_cxx_try_compile "$LINENO"; then :
32490 glibcxx_cv_func_sqrtl_use=yes
32491 else
32492 glibcxx_cv_func_sqrtl_use=no
32494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32495 ac_ext=c
32496 ac_cpp='$CPP $CPPFLAGS'
32497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32506 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32508 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32509 for ac_func in sqrtl
32510 do :
32511 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32512 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32513 cat >>confdefs.h <<_ACEOF
32514 #define HAVE_SQRTL 1
32515 _ACEOF
32518 done
32520 else
32522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32523 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32524 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32525 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32526 $as_echo_n "(cached) " >&6
32527 else
32530 ac_ext=cpp
32531 ac_cpp='$CXXCPP $CPPFLAGS'
32532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32537 /* end confdefs.h. */
32538 #include <math.h>
32539 #ifdef HAVE_IEEEFP_H
32540 #include <ieeefp.h>
32541 #endif
32544 main ()
32546 _sqrtl(0);
32548 return 0;
32550 _ACEOF
32551 if ac_fn_cxx_try_compile "$LINENO"; then :
32552 glibcxx_cv_func__sqrtl_use=yes
32553 else
32554 glibcxx_cv_func__sqrtl_use=no
32556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32557 ac_ext=c
32558 ac_cpp='$CPP $CPPFLAGS'
32559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32568 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32570 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32571 for ac_func in _sqrtl
32572 do :
32573 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32574 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32575 cat >>confdefs.h <<_ACEOF
32576 #define HAVE__SQRTL 1
32577 _ACEOF
32580 done
32589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32590 $as_echo_n "checking for sincosl declaration... " >&6; }
32591 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32592 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32593 $as_echo_n "(cached) " >&6
32594 else
32597 ac_ext=cpp
32598 ac_cpp='$CXXCPP $CPPFLAGS'
32599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32604 /* end confdefs.h. */
32605 #include <math.h>
32607 main ()
32609 sincosl(0, 0, 0);
32611 return 0;
32613 _ACEOF
32614 if ac_fn_cxx_try_compile "$LINENO"; then :
32615 glibcxx_cv_func_sincosl_use=yes
32616 else
32617 glibcxx_cv_func_sincosl_use=no
32619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32620 ac_ext=c
32621 ac_cpp='$CPP $CPPFLAGS'
32622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32631 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32633 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32634 for ac_func in sincosl
32635 do :
32636 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32637 if test "x$ac_cv_func_sincosl" = x""yes; then :
32638 cat >>confdefs.h <<_ACEOF
32639 #define HAVE_SINCOSL 1
32640 _ACEOF
32643 done
32645 else
32647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32648 $as_echo_n "checking for _sincosl declaration... " >&6; }
32649 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32650 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32651 $as_echo_n "(cached) " >&6
32652 else
32655 ac_ext=cpp
32656 ac_cpp='$CXXCPP $CPPFLAGS'
32657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32662 /* end confdefs.h. */
32663 #include <math.h>
32665 main ()
32667 _sincosl(0, 0, 0);
32669 return 0;
32671 _ACEOF
32672 if ac_fn_cxx_try_compile "$LINENO"; then :
32673 glibcxx_cv_func__sincosl_use=yes
32674 else
32675 glibcxx_cv_func__sincosl_use=no
32677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32678 ac_ext=c
32679 ac_cpp='$CPP $CPPFLAGS'
32680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32689 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32691 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32692 for ac_func in _sincosl
32693 do :
32694 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32695 if test "x$ac_cv_func__sincosl" = x""yes; then :
32696 cat >>confdefs.h <<_ACEOF
32697 #define HAVE__SINCOSL 1
32698 _ACEOF
32701 done
32710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32711 $as_echo_n "checking for finitel declaration... " >&6; }
32712 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32713 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32714 $as_echo_n "(cached) " >&6
32715 else
32718 ac_ext=cpp
32719 ac_cpp='$CXXCPP $CPPFLAGS'
32720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32725 /* end confdefs.h. */
32726 #include <math.h>
32727 #ifdef HAVE_IEEEFP_H
32728 #include <ieeefp.h>
32729 #endif
32732 main ()
32734 finitel(0);
32736 return 0;
32738 _ACEOF
32739 if ac_fn_cxx_try_compile "$LINENO"; then :
32740 glibcxx_cv_func_finitel_use=yes
32741 else
32742 glibcxx_cv_func_finitel_use=no
32744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32745 ac_ext=c
32746 ac_cpp='$CPP $CPPFLAGS'
32747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32756 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32758 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32759 for ac_func in finitel
32760 do :
32761 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32762 if test "x$ac_cv_func_finitel" = x""yes; then :
32763 cat >>confdefs.h <<_ACEOF
32764 #define HAVE_FINITEL 1
32765 _ACEOF
32768 done
32770 else
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32773 $as_echo_n "checking for _finitel declaration... " >&6; }
32774 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32775 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32776 $as_echo_n "(cached) " >&6
32777 else
32780 ac_ext=cpp
32781 ac_cpp='$CXXCPP $CPPFLAGS'
32782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32787 /* end confdefs.h. */
32788 #include <math.h>
32789 #ifdef HAVE_IEEEFP_H
32790 #include <ieeefp.h>
32791 #endif
32794 main ()
32796 _finitel(0);
32798 return 0;
32800 _ACEOF
32801 if ac_fn_cxx_try_compile "$LINENO"; then :
32802 glibcxx_cv_func__finitel_use=yes
32803 else
32804 glibcxx_cv_func__finitel_use=no
32806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32807 ac_ext=c
32808 ac_cpp='$CPP $CPPFLAGS'
32809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32818 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32820 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32821 for ac_func in _finitel
32822 do :
32823 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32824 if test "x$ac_cv_func__finitel" = x""yes; then :
32825 cat >>confdefs.h <<_ACEOF
32826 #define HAVE__FINITEL 1
32827 _ACEOF
32830 done
32838 LIBS="$ac_save_LIBS"
32839 CXXFLAGS="$ac_save_CXXFLAGS"
32842 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32843 ac_save_CXXFLAGS="$CXXFLAGS"
32844 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32848 $as_echo_n "checking for strtold declaration... " >&6; }
32849 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32850 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32851 $as_echo_n "(cached) " >&6
32852 else
32855 ac_ext=cpp
32856 ac_cpp='$CXXCPP $CPPFLAGS'
32857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32862 /* end confdefs.h. */
32863 #include <stdlib.h>
32865 main ()
32867 strtold(0, 0);
32869 return 0;
32871 _ACEOF
32872 if ac_fn_cxx_try_compile "$LINENO"; then :
32873 glibcxx_cv_func_strtold_use=yes
32874 else
32875 glibcxx_cv_func_strtold_use=no
32877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 ac_ext=c
32879 ac_cpp='$CPP $CPPFLAGS'
32880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32889 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32890 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32891 for ac_func in strtold
32892 do :
32893 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32894 if test "x$ac_cv_func_strtold" = x""yes; then :
32895 cat >>confdefs.h <<_ACEOF
32896 #define HAVE_STRTOLD 1
32897 _ACEOF
32900 done
32907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32908 $as_echo_n "checking for strtof declaration... " >&6; }
32909 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32910 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32911 $as_echo_n "(cached) " >&6
32912 else
32915 ac_ext=cpp
32916 ac_cpp='$CXXCPP $CPPFLAGS'
32917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32922 /* end confdefs.h. */
32923 #include <stdlib.h>
32925 main ()
32927 strtof(0, 0);
32929 return 0;
32931 _ACEOF
32932 if ac_fn_cxx_try_compile "$LINENO"; then :
32933 glibcxx_cv_func_strtof_use=yes
32934 else
32935 glibcxx_cv_func_strtof_use=no
32937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32938 ac_ext=c
32939 ac_cpp='$CPP $CPPFLAGS'
32940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32949 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32950 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32951 for ac_func in strtof
32952 do :
32953 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32954 if test "x$ac_cv_func_strtof" = x""yes; then :
32955 cat >>confdefs.h <<_ACEOF
32956 #define HAVE_STRTOF 1
32957 _ACEOF
32960 done
32967 CXXFLAGS="$ac_save_CXXFLAGS"
32970 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32972 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32974 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32976 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32979 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32981 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32983 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32987 *-aix*)
32989 # If we're not using GNU ld, then there's no point in even trying these
32990 # tests. Check for that first. We should have already tested for gld
32991 # by now (in libtool), but require it now just to be safe...
32992 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32993 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32997 # The name set by libtool depends on the version of libtool. Shame on us
32998 # for depending on an impl detail, but c'est la vie. Older versions used
32999 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33000 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33001 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33002 # set (hence we're using an older libtool), then set it.
33003 if test x${with_gnu_ld+set} != xset; then
33004 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33005 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33006 with_gnu_ld=no
33007 else
33008 with_gnu_ld=$ac_cv_prog_gnu_ld
33012 # Start by getting the version number. I think the libtool test already
33013 # does some of this, but throws away the result.
33014 glibcxx_ld_is_gold=no
33015 if test x"$with_gnu_ld" = x"yes"; then
33016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33017 $as_echo_n "checking for ld version... " >&6; }
33019 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33020 glibcxx_ld_is_gold=yes
33022 ldver=`$LD --version 2>/dev/null |
33023 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'`
33025 glibcxx_gnu_ld_version=`echo $ldver | \
33026 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33028 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33031 # Set --gc-sections.
33032 glibcxx_have_gc_sections=no
33033 if test "$glibcxx_ld_is_gold" = "yes"; then
33034 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33035 glibcxx_have_gc_sections=yes
33037 else
33038 glibcxx_gcsections_min_ld=21602
33039 if test x"$with_gnu_ld" = x"yes" &&
33040 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33041 glibcxx_have_gc_sections=yes
33044 if test "$glibcxx_have_gc_sections" = "yes"; then
33045 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33046 # NB: This flag only works reliably after 2.16.1. Configure tests
33047 # for this are difficult, so hard wire a value that should work.
33049 ac_test_CFLAGS="${CFLAGS+set}"
33050 ac_save_CFLAGS="$CFLAGS"
33051 CFLAGS='-Wl,--gc-sections'
33053 # Check for -Wl,--gc-sections
33054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33055 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33056 if test x$gcc_no_link = xyes; then
33057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33060 /* end confdefs.h. */
33061 int one(void) { return 1; }
33062 int two(void) { return 2; }
33065 main ()
33067 two();
33069 return 0;
33071 _ACEOF
33072 if ac_fn_c_try_link "$LINENO"; then :
33073 ac_gcsections=yes
33074 else
33075 ac_gcsections=no
33077 rm -f core conftest.err conftest.$ac_objext \
33078 conftest$ac_exeext conftest.$ac_ext
33079 if test "$ac_gcsections" = "yes"; then
33080 rm -f conftest.c
33081 touch conftest.c
33082 if $CC -c conftest.c; then
33083 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33084 grep "Warning: gc-sections option ignored" > /dev/null; then
33085 ac_gcsections=no
33088 rm -f conftest.c conftest.o conftest
33090 if test "$ac_gcsections" = "yes"; then
33091 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33094 $as_echo "$ac_gcsections" >&6; }
33096 if test "$ac_test_CFLAGS" = set; then
33097 CFLAGS="$ac_save_CFLAGS"
33098 else
33099 # this is the suspicious part
33100 CFLAGS=''
33104 # Set -z,relro.
33105 # Note this is only for shared objects.
33106 ac_ld_relro=no
33107 if test x"$with_gnu_ld" = x"yes"; then
33108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33109 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33110 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33111 if test -n "$cxx_z_relo"; then
33112 OPT_LDFLAGS="-Wl,-z,relro"
33113 ac_ld_relro=yes
33115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33116 $as_echo "$ac_ld_relro" >&6; }
33119 # Set linker optimization flags.
33120 if test x"$with_gnu_ld" = x"yes"; then
33121 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33128 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33129 ac_save_CXXFLAGS="$CXXFLAGS"
33130 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33133 $as_echo_n "checking for sin in -lm... " >&6; }
33134 if test "${ac_cv_lib_m_sin+set}" = set; then :
33135 $as_echo_n "(cached) " >&6
33136 else
33137 ac_check_lib_save_LIBS=$LIBS
33138 LIBS="-lm $LIBS"
33139 if test x$gcc_no_link = xyes; then
33140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33143 /* end confdefs.h. */
33145 /* Override any GCC internal prototype to avoid an error.
33146 Use char because int might match the return type of a GCC
33147 builtin and then its argument prototype would still apply. */
33148 #ifdef __cplusplus
33149 extern "C"
33150 #endif
33151 char sin ();
33153 main ()
33155 return sin ();
33157 return 0;
33159 _ACEOF
33160 if ac_fn_c_try_link "$LINENO"; then :
33161 ac_cv_lib_m_sin=yes
33162 else
33163 ac_cv_lib_m_sin=no
33165 rm -f core conftest.err conftest.$ac_objext \
33166 conftest$ac_exeext conftest.$ac_ext
33167 LIBS=$ac_check_lib_save_LIBS
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33170 $as_echo "$ac_cv_lib_m_sin" >&6; }
33171 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33172 libm="-lm"
33175 ac_save_LIBS="$LIBS"
33176 LIBS="$LIBS $libm"
33180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33181 $as_echo_n "checking for isinf declaration... " >&6; }
33182 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33183 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33184 $as_echo_n "(cached) " >&6
33185 else
33188 ac_ext=cpp
33189 ac_cpp='$CXXCPP $CPPFLAGS'
33190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33195 /* end confdefs.h. */
33196 #include <math.h>
33197 #ifdef HAVE_IEEEFP_H
33198 #include <ieeefp.h>
33199 #endif
33202 main ()
33204 isinf(0);
33206 return 0;
33208 _ACEOF
33209 if ac_fn_cxx_try_compile "$LINENO"; then :
33210 glibcxx_cv_func_isinf_use=yes
33211 else
33212 glibcxx_cv_func_isinf_use=no
33214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33215 ac_ext=c
33216 ac_cpp='$CPP $CPPFLAGS'
33217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33226 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33228 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33229 for ac_func in isinf
33230 do :
33231 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33232 if test "x$ac_cv_func_isinf" = x""yes; then :
33233 cat >>confdefs.h <<_ACEOF
33234 #define HAVE_ISINF 1
33235 _ACEOF
33238 done
33240 else
33242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33243 $as_echo_n "checking for _isinf declaration... " >&6; }
33244 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33245 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33246 $as_echo_n "(cached) " >&6
33247 else
33250 ac_ext=cpp
33251 ac_cpp='$CXXCPP $CPPFLAGS'
33252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33257 /* end confdefs.h. */
33258 #include <math.h>
33259 #ifdef HAVE_IEEEFP_H
33260 #include <ieeefp.h>
33261 #endif
33264 main ()
33266 _isinf(0);
33268 return 0;
33270 _ACEOF
33271 if ac_fn_cxx_try_compile "$LINENO"; then :
33272 glibcxx_cv_func__isinf_use=yes
33273 else
33274 glibcxx_cv_func__isinf_use=no
33276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33277 ac_ext=c
33278 ac_cpp='$CPP $CPPFLAGS'
33279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33288 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33290 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33291 for ac_func in _isinf
33292 do :
33293 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33294 if test "x$ac_cv_func__isinf" = x""yes; then :
33295 cat >>confdefs.h <<_ACEOF
33296 #define HAVE__ISINF 1
33297 _ACEOF
33300 done
33309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33310 $as_echo_n "checking for isnan declaration... " >&6; }
33311 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33312 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33313 $as_echo_n "(cached) " >&6
33314 else
33317 ac_ext=cpp
33318 ac_cpp='$CXXCPP $CPPFLAGS'
33319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33324 /* end confdefs.h. */
33325 #include <math.h>
33326 #ifdef HAVE_IEEEFP_H
33327 #include <ieeefp.h>
33328 #endif
33331 main ()
33333 isnan(0);
33335 return 0;
33337 _ACEOF
33338 if ac_fn_cxx_try_compile "$LINENO"; then :
33339 glibcxx_cv_func_isnan_use=yes
33340 else
33341 glibcxx_cv_func_isnan_use=no
33343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33344 ac_ext=c
33345 ac_cpp='$CPP $CPPFLAGS'
33346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33355 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33357 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33358 for ac_func in isnan
33359 do :
33360 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33361 if test "x$ac_cv_func_isnan" = x""yes; then :
33362 cat >>confdefs.h <<_ACEOF
33363 #define HAVE_ISNAN 1
33364 _ACEOF
33367 done
33369 else
33371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33372 $as_echo_n "checking for _isnan declaration... " >&6; }
33373 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33374 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33375 $as_echo_n "(cached) " >&6
33376 else
33379 ac_ext=cpp
33380 ac_cpp='$CXXCPP $CPPFLAGS'
33381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33386 /* end confdefs.h. */
33387 #include <math.h>
33388 #ifdef HAVE_IEEEFP_H
33389 #include <ieeefp.h>
33390 #endif
33393 main ()
33395 _isnan(0);
33397 return 0;
33399 _ACEOF
33400 if ac_fn_cxx_try_compile "$LINENO"; then :
33401 glibcxx_cv_func__isnan_use=yes
33402 else
33403 glibcxx_cv_func__isnan_use=no
33405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33406 ac_ext=c
33407 ac_cpp='$CPP $CPPFLAGS'
33408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33417 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33419 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33420 for ac_func in _isnan
33421 do :
33422 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33423 if test "x$ac_cv_func__isnan" = x""yes; then :
33424 cat >>confdefs.h <<_ACEOF
33425 #define HAVE__ISNAN 1
33426 _ACEOF
33429 done
33438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33439 $as_echo_n "checking for finite declaration... " >&6; }
33440 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33441 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33442 $as_echo_n "(cached) " >&6
33443 else
33446 ac_ext=cpp
33447 ac_cpp='$CXXCPP $CPPFLAGS'
33448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33453 /* end confdefs.h. */
33454 #include <math.h>
33455 #ifdef HAVE_IEEEFP_H
33456 #include <ieeefp.h>
33457 #endif
33460 main ()
33462 finite(0);
33464 return 0;
33466 _ACEOF
33467 if ac_fn_cxx_try_compile "$LINENO"; then :
33468 glibcxx_cv_func_finite_use=yes
33469 else
33470 glibcxx_cv_func_finite_use=no
33472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33473 ac_ext=c
33474 ac_cpp='$CPP $CPPFLAGS'
33475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33484 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33486 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33487 for ac_func in finite
33488 do :
33489 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33490 if test "x$ac_cv_func_finite" = x""yes; then :
33491 cat >>confdefs.h <<_ACEOF
33492 #define HAVE_FINITE 1
33493 _ACEOF
33496 done
33498 else
33500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33501 $as_echo_n "checking for _finite declaration... " >&6; }
33502 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33503 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33504 $as_echo_n "(cached) " >&6
33505 else
33508 ac_ext=cpp
33509 ac_cpp='$CXXCPP $CPPFLAGS'
33510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33515 /* end confdefs.h. */
33516 #include <math.h>
33517 #ifdef HAVE_IEEEFP_H
33518 #include <ieeefp.h>
33519 #endif
33522 main ()
33524 _finite(0);
33526 return 0;
33528 _ACEOF
33529 if ac_fn_cxx_try_compile "$LINENO"; then :
33530 glibcxx_cv_func__finite_use=yes
33531 else
33532 glibcxx_cv_func__finite_use=no
33534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33535 ac_ext=c
33536 ac_cpp='$CPP $CPPFLAGS'
33537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33546 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33548 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33549 for ac_func in _finite
33550 do :
33551 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33552 if test "x$ac_cv_func__finite" = x""yes; then :
33553 cat >>confdefs.h <<_ACEOF
33554 #define HAVE__FINITE 1
33555 _ACEOF
33558 done
33567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33568 $as_echo_n "checking for sincos declaration... " >&6; }
33569 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33570 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33571 $as_echo_n "(cached) " >&6
33572 else
33575 ac_ext=cpp
33576 ac_cpp='$CXXCPP $CPPFLAGS'
33577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33582 /* end confdefs.h. */
33583 #include <math.h>
33585 main ()
33587 sincos(0, 0, 0);
33589 return 0;
33591 _ACEOF
33592 if ac_fn_cxx_try_compile "$LINENO"; then :
33593 glibcxx_cv_func_sincos_use=yes
33594 else
33595 glibcxx_cv_func_sincos_use=no
33597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33598 ac_ext=c
33599 ac_cpp='$CPP $CPPFLAGS'
33600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33609 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33611 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33612 for ac_func in sincos
33613 do :
33614 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33615 if test "x$ac_cv_func_sincos" = x""yes; then :
33616 cat >>confdefs.h <<_ACEOF
33617 #define HAVE_SINCOS 1
33618 _ACEOF
33621 done
33623 else
33625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33626 $as_echo_n "checking for _sincos declaration... " >&6; }
33627 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33628 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33629 $as_echo_n "(cached) " >&6
33630 else
33633 ac_ext=cpp
33634 ac_cpp='$CXXCPP $CPPFLAGS'
33635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33640 /* end confdefs.h. */
33641 #include <math.h>
33643 main ()
33645 _sincos(0, 0, 0);
33647 return 0;
33649 _ACEOF
33650 if ac_fn_cxx_try_compile "$LINENO"; then :
33651 glibcxx_cv_func__sincos_use=yes
33652 else
33653 glibcxx_cv_func__sincos_use=no
33655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33656 ac_ext=c
33657 ac_cpp='$CPP $CPPFLAGS'
33658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33667 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33669 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33670 for ac_func in _sincos
33671 do :
33672 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33673 if test "x$ac_cv_func__sincos" = x""yes; then :
33674 cat >>confdefs.h <<_ACEOF
33675 #define HAVE__SINCOS 1
33676 _ACEOF
33679 done
33688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33689 $as_echo_n "checking for fpclass declaration... " >&6; }
33690 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33691 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33692 $as_echo_n "(cached) " >&6
33693 else
33696 ac_ext=cpp
33697 ac_cpp='$CXXCPP $CPPFLAGS'
33698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33703 /* end confdefs.h. */
33704 #include <math.h>
33705 #ifdef HAVE_IEEEFP_H
33706 #include <ieeefp.h>
33707 #endif
33710 main ()
33712 fpclass(0);
33714 return 0;
33716 _ACEOF
33717 if ac_fn_cxx_try_compile "$LINENO"; then :
33718 glibcxx_cv_func_fpclass_use=yes
33719 else
33720 glibcxx_cv_func_fpclass_use=no
33722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33723 ac_ext=c
33724 ac_cpp='$CPP $CPPFLAGS'
33725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33734 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33736 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33737 for ac_func in fpclass
33738 do :
33739 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33740 if test "x$ac_cv_func_fpclass" = x""yes; then :
33741 cat >>confdefs.h <<_ACEOF
33742 #define HAVE_FPCLASS 1
33743 _ACEOF
33746 done
33748 else
33750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33751 $as_echo_n "checking for _fpclass declaration... " >&6; }
33752 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33753 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33754 $as_echo_n "(cached) " >&6
33755 else
33758 ac_ext=cpp
33759 ac_cpp='$CXXCPP $CPPFLAGS'
33760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33765 /* end confdefs.h. */
33766 #include <math.h>
33767 #ifdef HAVE_IEEEFP_H
33768 #include <ieeefp.h>
33769 #endif
33772 main ()
33774 _fpclass(0);
33776 return 0;
33778 _ACEOF
33779 if ac_fn_cxx_try_compile "$LINENO"; then :
33780 glibcxx_cv_func__fpclass_use=yes
33781 else
33782 glibcxx_cv_func__fpclass_use=no
33784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33785 ac_ext=c
33786 ac_cpp='$CPP $CPPFLAGS'
33787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33796 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33798 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33799 for ac_func in _fpclass
33800 do :
33801 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33802 if test "x$ac_cv_func__fpclass" = x""yes; then :
33803 cat >>confdefs.h <<_ACEOF
33804 #define HAVE__FPCLASS 1
33805 _ACEOF
33808 done
33817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33818 $as_echo_n "checking for qfpclass declaration... " >&6; }
33819 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33820 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33821 $as_echo_n "(cached) " >&6
33822 else
33825 ac_ext=cpp
33826 ac_cpp='$CXXCPP $CPPFLAGS'
33827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33832 /* end confdefs.h. */
33833 #include <math.h>
33834 #ifdef HAVE_IEEEFP_H
33835 #include <ieeefp.h>
33836 #endif
33839 main ()
33841 qfpclass(0);
33843 return 0;
33845 _ACEOF
33846 if ac_fn_cxx_try_compile "$LINENO"; then :
33847 glibcxx_cv_func_qfpclass_use=yes
33848 else
33849 glibcxx_cv_func_qfpclass_use=no
33851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33852 ac_ext=c
33853 ac_cpp='$CPP $CPPFLAGS'
33854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33863 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33865 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33866 for ac_func in qfpclass
33867 do :
33868 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33869 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33870 cat >>confdefs.h <<_ACEOF
33871 #define HAVE_QFPCLASS 1
33872 _ACEOF
33875 done
33877 else
33879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33880 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33881 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33882 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33883 $as_echo_n "(cached) " >&6
33884 else
33887 ac_ext=cpp
33888 ac_cpp='$CXXCPP $CPPFLAGS'
33889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33894 /* end confdefs.h. */
33895 #include <math.h>
33896 #ifdef HAVE_IEEEFP_H
33897 #include <ieeefp.h>
33898 #endif
33901 main ()
33903 _qfpclass(0);
33905 return 0;
33907 _ACEOF
33908 if ac_fn_cxx_try_compile "$LINENO"; then :
33909 glibcxx_cv_func__qfpclass_use=yes
33910 else
33911 glibcxx_cv_func__qfpclass_use=no
33913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33914 ac_ext=c
33915 ac_cpp='$CPP $CPPFLAGS'
33916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33925 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33927 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33928 for ac_func in _qfpclass
33929 do :
33930 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33931 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33932 cat >>confdefs.h <<_ACEOF
33933 #define HAVE__QFPCLASS 1
33934 _ACEOF
33937 done
33946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33947 $as_echo_n "checking for hypot declaration... " >&6; }
33948 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33949 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33950 $as_echo_n "(cached) " >&6
33951 else
33954 ac_ext=cpp
33955 ac_cpp='$CXXCPP $CPPFLAGS'
33956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33961 /* end confdefs.h. */
33962 #include <math.h>
33964 main ()
33966 hypot(0, 0);
33968 return 0;
33970 _ACEOF
33971 if ac_fn_cxx_try_compile "$LINENO"; then :
33972 glibcxx_cv_func_hypot_use=yes
33973 else
33974 glibcxx_cv_func_hypot_use=no
33976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33977 ac_ext=c
33978 ac_cpp='$CPP $CPPFLAGS'
33979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33988 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33990 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33991 for ac_func in hypot
33992 do :
33993 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33994 if test "x$ac_cv_func_hypot" = x""yes; then :
33995 cat >>confdefs.h <<_ACEOF
33996 #define HAVE_HYPOT 1
33997 _ACEOF
34000 done
34002 else
34004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34005 $as_echo_n "checking for _hypot declaration... " >&6; }
34006 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34007 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34008 $as_echo_n "(cached) " >&6
34009 else
34012 ac_ext=cpp
34013 ac_cpp='$CXXCPP $CPPFLAGS'
34014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34019 /* end confdefs.h. */
34020 #include <math.h>
34022 main ()
34024 _hypot(0, 0);
34026 return 0;
34028 _ACEOF
34029 if ac_fn_cxx_try_compile "$LINENO"; then :
34030 glibcxx_cv_func__hypot_use=yes
34031 else
34032 glibcxx_cv_func__hypot_use=no
34034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34035 ac_ext=c
34036 ac_cpp='$CPP $CPPFLAGS'
34037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34046 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34048 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34049 for ac_func in _hypot
34050 do :
34051 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34052 if test "x$ac_cv_func__hypot" = x""yes; then :
34053 cat >>confdefs.h <<_ACEOF
34054 #define HAVE__HYPOT 1
34055 _ACEOF
34058 done
34067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34068 $as_echo_n "checking for float trig functions... " >&6; }
34069 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34070 $as_echo_n "(cached) " >&6
34071 else
34074 ac_ext=cpp
34075 ac_cpp='$CXXCPP $CPPFLAGS'
34076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34081 /* end confdefs.h. */
34082 #include <math.h>
34084 main ()
34086 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34088 return 0;
34090 _ACEOF
34091 if ac_fn_cxx_try_compile "$LINENO"; then :
34092 glibcxx_cv_func_float_trig_use=yes
34093 else
34094 glibcxx_cv_func_float_trig_use=no
34096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34097 ac_ext=c
34098 ac_cpp='$CPP $CPPFLAGS'
34099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34106 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34107 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34108 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34109 do :
34110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34112 eval as_val=\$$as_ac_var
34113 if test "x$as_val" = x""yes; then :
34114 cat >>confdefs.h <<_ACEOF
34115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34116 _ACEOF
34119 done
34121 else
34122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34123 $as_echo_n "checking for _float trig functions... " >&6; }
34124 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34125 $as_echo_n "(cached) " >&6
34126 else
34129 ac_ext=cpp
34130 ac_cpp='$CXXCPP $CPPFLAGS'
34131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34136 /* end confdefs.h. */
34137 #include <math.h>
34139 main ()
34141 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34143 return 0;
34145 _ACEOF
34146 if ac_fn_cxx_try_compile "$LINENO"; then :
34147 glibcxx_cv_func__float_trig_use=yes
34148 else
34149 glibcxx_cv_func__float_trig_use=no
34151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34152 ac_ext=c
34153 ac_cpp='$CPP $CPPFLAGS'
34154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34161 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34162 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34163 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34164 do :
34165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34167 eval as_val=\$$as_ac_var
34168 if test "x$as_val" = x""yes; then :
34169 cat >>confdefs.h <<_ACEOF
34170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34171 _ACEOF
34174 done
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34184 $as_echo_n "checking for float round functions... " >&6; }
34185 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34186 $as_echo_n "(cached) " >&6
34187 else
34190 ac_ext=cpp
34191 ac_cpp='$CXXCPP $CPPFLAGS'
34192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34197 /* end confdefs.h. */
34198 #include <math.h>
34200 main ()
34202 ceilf (0); floorf (0);
34204 return 0;
34206 _ACEOF
34207 if ac_fn_cxx_try_compile "$LINENO"; then :
34208 glibcxx_cv_func_float_round_use=yes
34209 else
34210 glibcxx_cv_func_float_round_use=no
34212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34213 ac_ext=c
34214 ac_cpp='$CPP $CPPFLAGS'
34215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34222 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34223 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34224 for ac_func in ceilf floorf
34225 do :
34226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34228 eval as_val=\$$as_ac_var
34229 if test "x$as_val" = x""yes; then :
34230 cat >>confdefs.h <<_ACEOF
34231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34232 _ACEOF
34235 done
34237 else
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34239 $as_echo_n "checking for _float round functions... " >&6; }
34240 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34241 $as_echo_n "(cached) " >&6
34242 else
34245 ac_ext=cpp
34246 ac_cpp='$CXXCPP $CPPFLAGS'
34247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34252 /* end confdefs.h. */
34253 #include <math.h>
34255 main ()
34257 _ceilf (0); _floorf (0);
34259 return 0;
34261 _ACEOF
34262 if ac_fn_cxx_try_compile "$LINENO"; then :
34263 glibcxx_cv_func__float_round_use=yes
34264 else
34265 glibcxx_cv_func__float_round_use=no
34267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34268 ac_ext=c
34269 ac_cpp='$CPP $CPPFLAGS'
34270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34277 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34278 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34279 for ac_func in _ceilf _floorf
34280 do :
34281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34283 eval as_val=\$$as_ac_var
34284 if test "x$as_val" = x""yes; then :
34285 cat >>confdefs.h <<_ACEOF
34286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34287 _ACEOF
34290 done
34300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34301 $as_echo_n "checking for expf declaration... " >&6; }
34302 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34303 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34304 $as_echo_n "(cached) " >&6
34305 else
34308 ac_ext=cpp
34309 ac_cpp='$CXXCPP $CPPFLAGS'
34310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34315 /* end confdefs.h. */
34316 #include <math.h>
34317 #ifdef HAVE_IEEEFP_H
34318 #include <ieeefp.h>
34319 #endif
34322 main ()
34324 expf(0);
34326 return 0;
34328 _ACEOF
34329 if ac_fn_cxx_try_compile "$LINENO"; then :
34330 glibcxx_cv_func_expf_use=yes
34331 else
34332 glibcxx_cv_func_expf_use=no
34334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34335 ac_ext=c
34336 ac_cpp='$CPP $CPPFLAGS'
34337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34346 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34348 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34349 for ac_func in expf
34350 do :
34351 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34352 if test "x$ac_cv_func_expf" = x""yes; then :
34353 cat >>confdefs.h <<_ACEOF
34354 #define HAVE_EXPF 1
34355 _ACEOF
34358 done
34360 else
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34363 $as_echo_n "checking for _expf declaration... " >&6; }
34364 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34365 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34366 $as_echo_n "(cached) " >&6
34367 else
34370 ac_ext=cpp
34371 ac_cpp='$CXXCPP $CPPFLAGS'
34372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34377 /* end confdefs.h. */
34378 #include <math.h>
34379 #ifdef HAVE_IEEEFP_H
34380 #include <ieeefp.h>
34381 #endif
34384 main ()
34386 _expf(0);
34388 return 0;
34390 _ACEOF
34391 if ac_fn_cxx_try_compile "$LINENO"; then :
34392 glibcxx_cv_func__expf_use=yes
34393 else
34394 glibcxx_cv_func__expf_use=no
34396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34397 ac_ext=c
34398 ac_cpp='$CPP $CPPFLAGS'
34399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34408 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34410 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34411 for ac_func in _expf
34412 do :
34413 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34414 if test "x$ac_cv_func__expf" = x""yes; then :
34415 cat >>confdefs.h <<_ACEOF
34416 #define HAVE__EXPF 1
34417 _ACEOF
34420 done
34429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34430 $as_echo_n "checking for isnanf declaration... " >&6; }
34431 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34432 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34433 $as_echo_n "(cached) " >&6
34434 else
34437 ac_ext=cpp
34438 ac_cpp='$CXXCPP $CPPFLAGS'
34439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34444 /* end confdefs.h. */
34445 #include <math.h>
34446 #ifdef HAVE_IEEEFP_H
34447 #include <ieeefp.h>
34448 #endif
34451 main ()
34453 isnanf(0);
34455 return 0;
34457 _ACEOF
34458 if ac_fn_cxx_try_compile "$LINENO"; then :
34459 glibcxx_cv_func_isnanf_use=yes
34460 else
34461 glibcxx_cv_func_isnanf_use=no
34463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34464 ac_ext=c
34465 ac_cpp='$CPP $CPPFLAGS'
34466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34475 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34477 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34478 for ac_func in isnanf
34479 do :
34480 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34481 if test "x$ac_cv_func_isnanf" = x""yes; then :
34482 cat >>confdefs.h <<_ACEOF
34483 #define HAVE_ISNANF 1
34484 _ACEOF
34487 done
34489 else
34491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34492 $as_echo_n "checking for _isnanf declaration... " >&6; }
34493 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34494 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34495 $as_echo_n "(cached) " >&6
34496 else
34499 ac_ext=cpp
34500 ac_cpp='$CXXCPP $CPPFLAGS'
34501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34506 /* end confdefs.h. */
34507 #include <math.h>
34508 #ifdef HAVE_IEEEFP_H
34509 #include <ieeefp.h>
34510 #endif
34513 main ()
34515 _isnanf(0);
34517 return 0;
34519 _ACEOF
34520 if ac_fn_cxx_try_compile "$LINENO"; then :
34521 glibcxx_cv_func__isnanf_use=yes
34522 else
34523 glibcxx_cv_func__isnanf_use=no
34525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34526 ac_ext=c
34527 ac_cpp='$CPP $CPPFLAGS'
34528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34537 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34539 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34540 for ac_func in _isnanf
34541 do :
34542 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34543 if test "x$ac_cv_func__isnanf" = x""yes; then :
34544 cat >>confdefs.h <<_ACEOF
34545 #define HAVE__ISNANF 1
34546 _ACEOF
34549 done
34558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34559 $as_echo_n "checking for isinff declaration... " >&6; }
34560 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34561 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34562 $as_echo_n "(cached) " >&6
34563 else
34566 ac_ext=cpp
34567 ac_cpp='$CXXCPP $CPPFLAGS'
34568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34573 /* end confdefs.h. */
34574 #include <math.h>
34575 #ifdef HAVE_IEEEFP_H
34576 #include <ieeefp.h>
34577 #endif
34580 main ()
34582 isinff(0);
34584 return 0;
34586 _ACEOF
34587 if ac_fn_cxx_try_compile "$LINENO"; then :
34588 glibcxx_cv_func_isinff_use=yes
34589 else
34590 glibcxx_cv_func_isinff_use=no
34592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34593 ac_ext=c
34594 ac_cpp='$CPP $CPPFLAGS'
34595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34604 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34606 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34607 for ac_func in isinff
34608 do :
34609 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34610 if test "x$ac_cv_func_isinff" = x""yes; then :
34611 cat >>confdefs.h <<_ACEOF
34612 #define HAVE_ISINFF 1
34613 _ACEOF
34616 done
34618 else
34620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34621 $as_echo_n "checking for _isinff declaration... " >&6; }
34622 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34623 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34624 $as_echo_n "(cached) " >&6
34625 else
34628 ac_ext=cpp
34629 ac_cpp='$CXXCPP $CPPFLAGS'
34630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34635 /* end confdefs.h. */
34636 #include <math.h>
34637 #ifdef HAVE_IEEEFP_H
34638 #include <ieeefp.h>
34639 #endif
34642 main ()
34644 _isinff(0);
34646 return 0;
34648 _ACEOF
34649 if ac_fn_cxx_try_compile "$LINENO"; then :
34650 glibcxx_cv_func__isinff_use=yes
34651 else
34652 glibcxx_cv_func__isinff_use=no
34654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34655 ac_ext=c
34656 ac_cpp='$CPP $CPPFLAGS'
34657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34666 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34668 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34669 for ac_func in _isinff
34670 do :
34671 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34672 if test "x$ac_cv_func__isinff" = x""yes; then :
34673 cat >>confdefs.h <<_ACEOF
34674 #define HAVE__ISINFF 1
34675 _ACEOF
34678 done
34687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34688 $as_echo_n "checking for atan2f declaration... " >&6; }
34689 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34690 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34691 $as_echo_n "(cached) " >&6
34692 else
34695 ac_ext=cpp
34696 ac_cpp='$CXXCPP $CPPFLAGS'
34697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34702 /* end confdefs.h. */
34703 #include <math.h>
34705 main ()
34707 atan2f(0, 0);
34709 return 0;
34711 _ACEOF
34712 if ac_fn_cxx_try_compile "$LINENO"; then :
34713 glibcxx_cv_func_atan2f_use=yes
34714 else
34715 glibcxx_cv_func_atan2f_use=no
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34718 ac_ext=c
34719 ac_cpp='$CPP $CPPFLAGS'
34720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34729 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34731 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34732 for ac_func in atan2f
34733 do :
34734 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34735 if test "x$ac_cv_func_atan2f" = x""yes; then :
34736 cat >>confdefs.h <<_ACEOF
34737 #define HAVE_ATAN2F 1
34738 _ACEOF
34741 done
34743 else
34745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34746 $as_echo_n "checking for _atan2f declaration... " >&6; }
34747 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34748 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34749 $as_echo_n "(cached) " >&6
34750 else
34753 ac_ext=cpp
34754 ac_cpp='$CXXCPP $CPPFLAGS'
34755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34760 /* end confdefs.h. */
34761 #include <math.h>
34763 main ()
34765 _atan2f(0, 0);
34767 return 0;
34769 _ACEOF
34770 if ac_fn_cxx_try_compile "$LINENO"; then :
34771 glibcxx_cv_func__atan2f_use=yes
34772 else
34773 glibcxx_cv_func__atan2f_use=no
34775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34776 ac_ext=c
34777 ac_cpp='$CPP $CPPFLAGS'
34778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34787 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34789 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34790 for ac_func in _atan2f
34791 do :
34792 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34793 if test "x$ac_cv_func__atan2f" = x""yes; then :
34794 cat >>confdefs.h <<_ACEOF
34795 #define HAVE__ATAN2F 1
34796 _ACEOF
34799 done
34808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34809 $as_echo_n "checking for fabsf declaration... " >&6; }
34810 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34811 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34812 $as_echo_n "(cached) " >&6
34813 else
34816 ac_ext=cpp
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823 /* end confdefs.h. */
34824 #include <math.h>
34825 #ifdef HAVE_IEEEFP_H
34826 #include <ieeefp.h>
34827 #endif
34830 main ()
34832 fabsf(0);
34834 return 0;
34836 _ACEOF
34837 if ac_fn_cxx_try_compile "$LINENO"; then :
34838 glibcxx_cv_func_fabsf_use=yes
34839 else
34840 glibcxx_cv_func_fabsf_use=no
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34843 ac_ext=c
34844 ac_cpp='$CPP $CPPFLAGS'
34845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34854 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34856 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34857 for ac_func in fabsf
34858 do :
34859 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34860 if test "x$ac_cv_func_fabsf" = x""yes; then :
34861 cat >>confdefs.h <<_ACEOF
34862 #define HAVE_FABSF 1
34863 _ACEOF
34866 done
34868 else
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34871 $as_echo_n "checking for _fabsf declaration... " >&6; }
34872 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34873 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34874 $as_echo_n "(cached) " >&6
34875 else
34878 ac_ext=cpp
34879 ac_cpp='$CXXCPP $CPPFLAGS'
34880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34885 /* end confdefs.h. */
34886 #include <math.h>
34887 #ifdef HAVE_IEEEFP_H
34888 #include <ieeefp.h>
34889 #endif
34892 main ()
34894 _fabsf(0);
34896 return 0;
34898 _ACEOF
34899 if ac_fn_cxx_try_compile "$LINENO"; then :
34900 glibcxx_cv_func__fabsf_use=yes
34901 else
34902 glibcxx_cv_func__fabsf_use=no
34904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34905 ac_ext=c
34906 ac_cpp='$CPP $CPPFLAGS'
34907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34916 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34918 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34919 for ac_func in _fabsf
34920 do :
34921 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34922 if test "x$ac_cv_func__fabsf" = x""yes; then :
34923 cat >>confdefs.h <<_ACEOF
34924 #define HAVE__FABSF 1
34925 _ACEOF
34928 done
34937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34938 $as_echo_n "checking for fmodf declaration... " >&6; }
34939 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34940 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34941 $as_echo_n "(cached) " >&6
34942 else
34945 ac_ext=cpp
34946 ac_cpp='$CXXCPP $CPPFLAGS'
34947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34952 /* end confdefs.h. */
34953 #include <math.h>
34955 main ()
34957 fmodf(0, 0);
34959 return 0;
34961 _ACEOF
34962 if ac_fn_cxx_try_compile "$LINENO"; then :
34963 glibcxx_cv_func_fmodf_use=yes
34964 else
34965 glibcxx_cv_func_fmodf_use=no
34967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34968 ac_ext=c
34969 ac_cpp='$CPP $CPPFLAGS'
34970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34979 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34981 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34982 for ac_func in fmodf
34983 do :
34984 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34985 if test "x$ac_cv_func_fmodf" = x""yes; then :
34986 cat >>confdefs.h <<_ACEOF
34987 #define HAVE_FMODF 1
34988 _ACEOF
34991 done
34993 else
34995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34996 $as_echo_n "checking for _fmodf declaration... " >&6; }
34997 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34998 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34999 $as_echo_n "(cached) " >&6
35000 else
35003 ac_ext=cpp
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35010 /* end confdefs.h. */
35011 #include <math.h>
35013 main ()
35015 _fmodf(0, 0);
35017 return 0;
35019 _ACEOF
35020 if ac_fn_cxx_try_compile "$LINENO"; then :
35021 glibcxx_cv_func__fmodf_use=yes
35022 else
35023 glibcxx_cv_func__fmodf_use=no
35025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35026 ac_ext=c
35027 ac_cpp='$CPP $CPPFLAGS'
35028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35037 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35039 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35040 for ac_func in _fmodf
35041 do :
35042 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35043 if test "x$ac_cv_func__fmodf" = x""yes; then :
35044 cat >>confdefs.h <<_ACEOF
35045 #define HAVE__FMODF 1
35046 _ACEOF
35049 done
35058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35059 $as_echo_n "checking for frexpf declaration... " >&6; }
35060 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35061 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35062 $as_echo_n "(cached) " >&6
35063 else
35066 ac_ext=cpp
35067 ac_cpp='$CXXCPP $CPPFLAGS'
35068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35073 /* end confdefs.h. */
35074 #include <math.h>
35076 main ()
35078 frexpf(0, 0);
35080 return 0;
35082 _ACEOF
35083 if ac_fn_cxx_try_compile "$LINENO"; then :
35084 glibcxx_cv_func_frexpf_use=yes
35085 else
35086 glibcxx_cv_func_frexpf_use=no
35088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35089 ac_ext=c
35090 ac_cpp='$CPP $CPPFLAGS'
35091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35100 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35102 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35103 for ac_func in frexpf
35104 do :
35105 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35106 if test "x$ac_cv_func_frexpf" = x""yes; then :
35107 cat >>confdefs.h <<_ACEOF
35108 #define HAVE_FREXPF 1
35109 _ACEOF
35112 done
35114 else
35116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35117 $as_echo_n "checking for _frexpf declaration... " >&6; }
35118 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35119 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35120 $as_echo_n "(cached) " >&6
35121 else
35124 ac_ext=cpp
35125 ac_cpp='$CXXCPP $CPPFLAGS'
35126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h. */
35132 #include <math.h>
35134 main ()
35136 _frexpf(0, 0);
35138 return 0;
35140 _ACEOF
35141 if ac_fn_cxx_try_compile "$LINENO"; then :
35142 glibcxx_cv_func__frexpf_use=yes
35143 else
35144 glibcxx_cv_func__frexpf_use=no
35146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35147 ac_ext=c
35148 ac_cpp='$CPP $CPPFLAGS'
35149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35158 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35160 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35161 for ac_func in _frexpf
35162 do :
35163 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35164 if test "x$ac_cv_func__frexpf" = x""yes; then :
35165 cat >>confdefs.h <<_ACEOF
35166 #define HAVE__FREXPF 1
35167 _ACEOF
35170 done
35179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35180 $as_echo_n "checking for hypotf declaration... " >&6; }
35181 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35182 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35183 $as_echo_n "(cached) " >&6
35184 else
35187 ac_ext=cpp
35188 ac_cpp='$CXXCPP $CPPFLAGS'
35189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35194 /* end confdefs.h. */
35195 #include <math.h>
35197 main ()
35199 hypotf(0, 0);
35201 return 0;
35203 _ACEOF
35204 if ac_fn_cxx_try_compile "$LINENO"; then :
35205 glibcxx_cv_func_hypotf_use=yes
35206 else
35207 glibcxx_cv_func_hypotf_use=no
35209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35210 ac_ext=c
35211 ac_cpp='$CPP $CPPFLAGS'
35212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35221 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35223 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35224 for ac_func in hypotf
35225 do :
35226 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35227 if test "x$ac_cv_func_hypotf" = x""yes; then :
35228 cat >>confdefs.h <<_ACEOF
35229 #define HAVE_HYPOTF 1
35230 _ACEOF
35233 done
35235 else
35237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35238 $as_echo_n "checking for _hypotf declaration... " >&6; }
35239 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35240 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35241 $as_echo_n "(cached) " >&6
35242 else
35245 ac_ext=cpp
35246 ac_cpp='$CXXCPP $CPPFLAGS'
35247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35252 /* end confdefs.h. */
35253 #include <math.h>
35255 main ()
35257 _hypotf(0, 0);
35259 return 0;
35261 _ACEOF
35262 if ac_fn_cxx_try_compile "$LINENO"; then :
35263 glibcxx_cv_func__hypotf_use=yes
35264 else
35265 glibcxx_cv_func__hypotf_use=no
35267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35268 ac_ext=c
35269 ac_cpp='$CPP $CPPFLAGS'
35270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35279 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35281 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35282 for ac_func in _hypotf
35283 do :
35284 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35285 if test "x$ac_cv_func__hypotf" = x""yes; then :
35286 cat >>confdefs.h <<_ACEOF
35287 #define HAVE__HYPOTF 1
35288 _ACEOF
35291 done
35300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35301 $as_echo_n "checking for ldexpf declaration... " >&6; }
35302 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35303 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35304 $as_echo_n "(cached) " >&6
35305 else
35308 ac_ext=cpp
35309 ac_cpp='$CXXCPP $CPPFLAGS'
35310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35315 /* end confdefs.h. */
35316 #include <math.h>
35318 main ()
35320 ldexpf(0, 0);
35322 return 0;
35324 _ACEOF
35325 if ac_fn_cxx_try_compile "$LINENO"; then :
35326 glibcxx_cv_func_ldexpf_use=yes
35327 else
35328 glibcxx_cv_func_ldexpf_use=no
35330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35331 ac_ext=c
35332 ac_cpp='$CPP $CPPFLAGS'
35333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35342 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35344 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35345 for ac_func in ldexpf
35346 do :
35347 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35348 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35349 cat >>confdefs.h <<_ACEOF
35350 #define HAVE_LDEXPF 1
35351 _ACEOF
35354 done
35356 else
35358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35359 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35360 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35361 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35362 $as_echo_n "(cached) " >&6
35363 else
35366 ac_ext=cpp
35367 ac_cpp='$CXXCPP $CPPFLAGS'
35368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35373 /* end confdefs.h. */
35374 #include <math.h>
35376 main ()
35378 _ldexpf(0, 0);
35380 return 0;
35382 _ACEOF
35383 if ac_fn_cxx_try_compile "$LINENO"; then :
35384 glibcxx_cv_func__ldexpf_use=yes
35385 else
35386 glibcxx_cv_func__ldexpf_use=no
35388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35389 ac_ext=c
35390 ac_cpp='$CPP $CPPFLAGS'
35391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35400 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35402 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35403 for ac_func in _ldexpf
35404 do :
35405 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35406 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35407 cat >>confdefs.h <<_ACEOF
35408 #define HAVE__LDEXPF 1
35409 _ACEOF
35412 done
35421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35422 $as_echo_n "checking for logf declaration... " >&6; }
35423 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35424 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35425 $as_echo_n "(cached) " >&6
35426 else
35429 ac_ext=cpp
35430 ac_cpp='$CXXCPP $CPPFLAGS'
35431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35436 /* end confdefs.h. */
35437 #include <math.h>
35438 #ifdef HAVE_IEEEFP_H
35439 #include <ieeefp.h>
35440 #endif
35443 main ()
35445 logf(0);
35447 return 0;
35449 _ACEOF
35450 if ac_fn_cxx_try_compile "$LINENO"; then :
35451 glibcxx_cv_func_logf_use=yes
35452 else
35453 glibcxx_cv_func_logf_use=no
35455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35456 ac_ext=c
35457 ac_cpp='$CPP $CPPFLAGS'
35458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35467 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35469 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35470 for ac_func in logf
35471 do :
35472 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35473 if test "x$ac_cv_func_logf" = x""yes; then :
35474 cat >>confdefs.h <<_ACEOF
35475 #define HAVE_LOGF 1
35476 _ACEOF
35479 done
35481 else
35483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35484 $as_echo_n "checking for _logf declaration... " >&6; }
35485 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35486 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35487 $as_echo_n "(cached) " >&6
35488 else
35491 ac_ext=cpp
35492 ac_cpp='$CXXCPP $CPPFLAGS'
35493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35498 /* end confdefs.h. */
35499 #include <math.h>
35500 #ifdef HAVE_IEEEFP_H
35501 #include <ieeefp.h>
35502 #endif
35505 main ()
35507 _logf(0);
35509 return 0;
35511 _ACEOF
35512 if ac_fn_cxx_try_compile "$LINENO"; then :
35513 glibcxx_cv_func__logf_use=yes
35514 else
35515 glibcxx_cv_func__logf_use=no
35517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35518 ac_ext=c
35519 ac_cpp='$CPP $CPPFLAGS'
35520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35529 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35531 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35532 for ac_func in _logf
35533 do :
35534 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35535 if test "x$ac_cv_func__logf" = x""yes; then :
35536 cat >>confdefs.h <<_ACEOF
35537 #define HAVE__LOGF 1
35538 _ACEOF
35541 done
35550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35551 $as_echo_n "checking for log10f declaration... " >&6; }
35552 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35553 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35554 $as_echo_n "(cached) " >&6
35555 else
35558 ac_ext=cpp
35559 ac_cpp='$CXXCPP $CPPFLAGS'
35560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35565 /* end confdefs.h. */
35566 #include <math.h>
35567 #ifdef HAVE_IEEEFP_H
35568 #include <ieeefp.h>
35569 #endif
35572 main ()
35574 log10f(0);
35576 return 0;
35578 _ACEOF
35579 if ac_fn_cxx_try_compile "$LINENO"; then :
35580 glibcxx_cv_func_log10f_use=yes
35581 else
35582 glibcxx_cv_func_log10f_use=no
35584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35585 ac_ext=c
35586 ac_cpp='$CPP $CPPFLAGS'
35587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35596 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35598 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35599 for ac_func in log10f
35600 do :
35601 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35602 if test "x$ac_cv_func_log10f" = x""yes; then :
35603 cat >>confdefs.h <<_ACEOF
35604 #define HAVE_LOG10F 1
35605 _ACEOF
35608 done
35610 else
35612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35613 $as_echo_n "checking for _log10f declaration... " >&6; }
35614 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35615 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35616 $as_echo_n "(cached) " >&6
35617 else
35620 ac_ext=cpp
35621 ac_cpp='$CXXCPP $CPPFLAGS'
35622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35627 /* end confdefs.h. */
35628 #include <math.h>
35629 #ifdef HAVE_IEEEFP_H
35630 #include <ieeefp.h>
35631 #endif
35634 main ()
35636 _log10f(0);
35638 return 0;
35640 _ACEOF
35641 if ac_fn_cxx_try_compile "$LINENO"; then :
35642 glibcxx_cv_func__log10f_use=yes
35643 else
35644 glibcxx_cv_func__log10f_use=no
35646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35647 ac_ext=c
35648 ac_cpp='$CPP $CPPFLAGS'
35649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35658 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35660 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35661 for ac_func in _log10f
35662 do :
35663 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35664 if test "x$ac_cv_func__log10f" = x""yes; then :
35665 cat >>confdefs.h <<_ACEOF
35666 #define HAVE__LOG10F 1
35667 _ACEOF
35670 done
35679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35680 $as_echo_n "checking for modff declaration... " >&6; }
35681 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35682 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35683 $as_echo_n "(cached) " >&6
35684 else
35687 ac_ext=cpp
35688 ac_cpp='$CXXCPP $CPPFLAGS'
35689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35694 /* end confdefs.h. */
35695 #include <math.h>
35697 main ()
35699 modff(0, 0);
35701 return 0;
35703 _ACEOF
35704 if ac_fn_cxx_try_compile "$LINENO"; then :
35705 glibcxx_cv_func_modff_use=yes
35706 else
35707 glibcxx_cv_func_modff_use=no
35709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35710 ac_ext=c
35711 ac_cpp='$CPP $CPPFLAGS'
35712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35721 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35723 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35724 for ac_func in modff
35725 do :
35726 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35727 if test "x$ac_cv_func_modff" = x""yes; then :
35728 cat >>confdefs.h <<_ACEOF
35729 #define HAVE_MODFF 1
35730 _ACEOF
35733 done
35735 else
35737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35738 $as_echo_n "checking for _modff declaration... " >&6; }
35739 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35740 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35741 $as_echo_n "(cached) " >&6
35742 else
35745 ac_ext=cpp
35746 ac_cpp='$CXXCPP $CPPFLAGS'
35747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35752 /* end confdefs.h. */
35753 #include <math.h>
35755 main ()
35757 _modff(0, 0);
35759 return 0;
35761 _ACEOF
35762 if ac_fn_cxx_try_compile "$LINENO"; then :
35763 glibcxx_cv_func__modff_use=yes
35764 else
35765 glibcxx_cv_func__modff_use=no
35767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35768 ac_ext=c
35769 ac_cpp='$CPP $CPPFLAGS'
35770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35779 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35781 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35782 for ac_func in _modff
35783 do :
35784 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35785 if test "x$ac_cv_func__modff" = x""yes; then :
35786 cat >>confdefs.h <<_ACEOF
35787 #define HAVE__MODFF 1
35788 _ACEOF
35791 done
35800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35801 $as_echo_n "checking for modf declaration... " >&6; }
35802 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35803 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35804 $as_echo_n "(cached) " >&6
35805 else
35808 ac_ext=cpp
35809 ac_cpp='$CXXCPP $CPPFLAGS'
35810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35815 /* end confdefs.h. */
35816 #include <math.h>
35818 main ()
35820 modf(0, 0);
35822 return 0;
35824 _ACEOF
35825 if ac_fn_cxx_try_compile "$LINENO"; then :
35826 glibcxx_cv_func_modf_use=yes
35827 else
35828 glibcxx_cv_func_modf_use=no
35830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35831 ac_ext=c
35832 ac_cpp='$CPP $CPPFLAGS'
35833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35842 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35844 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35845 for ac_func in modf
35846 do :
35847 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35848 if test "x$ac_cv_func_modf" = x""yes; then :
35849 cat >>confdefs.h <<_ACEOF
35850 #define HAVE_MODF 1
35851 _ACEOF
35854 done
35856 else
35858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35859 $as_echo_n "checking for _modf declaration... " >&6; }
35860 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35861 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35862 $as_echo_n "(cached) " >&6
35863 else
35866 ac_ext=cpp
35867 ac_cpp='$CXXCPP $CPPFLAGS'
35868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35873 /* end confdefs.h. */
35874 #include <math.h>
35876 main ()
35878 _modf(0, 0);
35880 return 0;
35882 _ACEOF
35883 if ac_fn_cxx_try_compile "$LINENO"; then :
35884 glibcxx_cv_func__modf_use=yes
35885 else
35886 glibcxx_cv_func__modf_use=no
35888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35889 ac_ext=c
35890 ac_cpp='$CPP $CPPFLAGS'
35891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35900 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35902 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35903 for ac_func in _modf
35904 do :
35905 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35906 if test "x$ac_cv_func__modf" = x""yes; then :
35907 cat >>confdefs.h <<_ACEOF
35908 #define HAVE__MODF 1
35909 _ACEOF
35912 done
35921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35922 $as_echo_n "checking for powf declaration... " >&6; }
35923 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35924 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35925 $as_echo_n "(cached) " >&6
35926 else
35929 ac_ext=cpp
35930 ac_cpp='$CXXCPP $CPPFLAGS'
35931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35936 /* end confdefs.h. */
35937 #include <math.h>
35939 main ()
35941 powf(0, 0);
35943 return 0;
35945 _ACEOF
35946 if ac_fn_cxx_try_compile "$LINENO"; then :
35947 glibcxx_cv_func_powf_use=yes
35948 else
35949 glibcxx_cv_func_powf_use=no
35951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35952 ac_ext=c
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35963 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35965 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35966 for ac_func in powf
35967 do :
35968 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35969 if test "x$ac_cv_func_powf" = x""yes; then :
35970 cat >>confdefs.h <<_ACEOF
35971 #define HAVE_POWF 1
35972 _ACEOF
35975 done
35977 else
35979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35980 $as_echo_n "checking for _powf declaration... " >&6; }
35981 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35982 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35983 $as_echo_n "(cached) " >&6
35984 else
35987 ac_ext=cpp
35988 ac_cpp='$CXXCPP $CPPFLAGS'
35989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35994 /* end confdefs.h. */
35995 #include <math.h>
35997 main ()
35999 _powf(0, 0);
36001 return 0;
36003 _ACEOF
36004 if ac_fn_cxx_try_compile "$LINENO"; then :
36005 glibcxx_cv_func__powf_use=yes
36006 else
36007 glibcxx_cv_func__powf_use=no
36009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36010 ac_ext=c
36011 ac_cpp='$CPP $CPPFLAGS'
36012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36021 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36023 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36024 for ac_func in _powf
36025 do :
36026 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36027 if test "x$ac_cv_func__powf" = x""yes; then :
36028 cat >>confdefs.h <<_ACEOF
36029 #define HAVE__POWF 1
36030 _ACEOF
36033 done
36042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36043 $as_echo_n "checking for sqrtf declaration... " >&6; }
36044 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36045 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36046 $as_echo_n "(cached) " >&6
36047 else
36050 ac_ext=cpp
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36057 /* end confdefs.h. */
36058 #include <math.h>
36059 #ifdef HAVE_IEEEFP_H
36060 #include <ieeefp.h>
36061 #endif
36064 main ()
36066 sqrtf(0);
36068 return 0;
36070 _ACEOF
36071 if ac_fn_cxx_try_compile "$LINENO"; then :
36072 glibcxx_cv_func_sqrtf_use=yes
36073 else
36074 glibcxx_cv_func_sqrtf_use=no
36076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36077 ac_ext=c
36078 ac_cpp='$CPP $CPPFLAGS'
36079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36088 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36090 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36091 for ac_func in sqrtf
36092 do :
36093 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36094 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36095 cat >>confdefs.h <<_ACEOF
36096 #define HAVE_SQRTF 1
36097 _ACEOF
36100 done
36102 else
36104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36105 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36106 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36107 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36108 $as_echo_n "(cached) " >&6
36109 else
36112 ac_ext=cpp
36113 ac_cpp='$CXXCPP $CPPFLAGS'
36114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36119 /* end confdefs.h. */
36120 #include <math.h>
36121 #ifdef HAVE_IEEEFP_H
36122 #include <ieeefp.h>
36123 #endif
36126 main ()
36128 _sqrtf(0);
36130 return 0;
36132 _ACEOF
36133 if ac_fn_cxx_try_compile "$LINENO"; then :
36134 glibcxx_cv_func__sqrtf_use=yes
36135 else
36136 glibcxx_cv_func__sqrtf_use=no
36138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36139 ac_ext=c
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36150 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36152 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36153 for ac_func in _sqrtf
36154 do :
36155 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36156 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36157 cat >>confdefs.h <<_ACEOF
36158 #define HAVE__SQRTF 1
36159 _ACEOF
36162 done
36171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36172 $as_echo_n "checking for sincosf declaration... " >&6; }
36173 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36174 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36175 $as_echo_n "(cached) " >&6
36176 else
36179 ac_ext=cpp
36180 ac_cpp='$CXXCPP $CPPFLAGS'
36181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36186 /* end confdefs.h. */
36187 #include <math.h>
36189 main ()
36191 sincosf(0, 0, 0);
36193 return 0;
36195 _ACEOF
36196 if ac_fn_cxx_try_compile "$LINENO"; then :
36197 glibcxx_cv_func_sincosf_use=yes
36198 else
36199 glibcxx_cv_func_sincosf_use=no
36201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36202 ac_ext=c
36203 ac_cpp='$CPP $CPPFLAGS'
36204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36213 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36215 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36216 for ac_func in sincosf
36217 do :
36218 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36219 if test "x$ac_cv_func_sincosf" = x""yes; then :
36220 cat >>confdefs.h <<_ACEOF
36221 #define HAVE_SINCOSF 1
36222 _ACEOF
36225 done
36227 else
36229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36230 $as_echo_n "checking for _sincosf declaration... " >&6; }
36231 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36232 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36233 $as_echo_n "(cached) " >&6
36234 else
36237 ac_ext=cpp
36238 ac_cpp='$CXXCPP $CPPFLAGS'
36239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36244 /* end confdefs.h. */
36245 #include <math.h>
36247 main ()
36249 _sincosf(0, 0, 0);
36251 return 0;
36253 _ACEOF
36254 if ac_fn_cxx_try_compile "$LINENO"; then :
36255 glibcxx_cv_func__sincosf_use=yes
36256 else
36257 glibcxx_cv_func__sincosf_use=no
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260 ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36271 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36273 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36274 for ac_func in _sincosf
36275 do :
36276 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36277 if test "x$ac_cv_func__sincosf" = x""yes; then :
36278 cat >>confdefs.h <<_ACEOF
36279 #define HAVE__SINCOSF 1
36280 _ACEOF
36283 done
36292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36293 $as_echo_n "checking for finitef declaration... " >&6; }
36294 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36295 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36296 $as_echo_n "(cached) " >&6
36297 else
36300 ac_ext=cpp
36301 ac_cpp='$CXXCPP $CPPFLAGS'
36302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36307 /* end confdefs.h. */
36308 #include <math.h>
36309 #ifdef HAVE_IEEEFP_H
36310 #include <ieeefp.h>
36311 #endif
36314 main ()
36316 finitef(0);
36318 return 0;
36320 _ACEOF
36321 if ac_fn_cxx_try_compile "$LINENO"; then :
36322 glibcxx_cv_func_finitef_use=yes
36323 else
36324 glibcxx_cv_func_finitef_use=no
36326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36327 ac_ext=c
36328 ac_cpp='$CPP $CPPFLAGS'
36329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36338 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36340 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36341 for ac_func in finitef
36342 do :
36343 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36344 if test "x$ac_cv_func_finitef" = x""yes; then :
36345 cat >>confdefs.h <<_ACEOF
36346 #define HAVE_FINITEF 1
36347 _ACEOF
36350 done
36352 else
36354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36355 $as_echo_n "checking for _finitef declaration... " >&6; }
36356 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36357 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36358 $as_echo_n "(cached) " >&6
36359 else
36362 ac_ext=cpp
36363 ac_cpp='$CXXCPP $CPPFLAGS'
36364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36369 /* end confdefs.h. */
36370 #include <math.h>
36371 #ifdef HAVE_IEEEFP_H
36372 #include <ieeefp.h>
36373 #endif
36376 main ()
36378 _finitef(0);
36380 return 0;
36382 _ACEOF
36383 if ac_fn_cxx_try_compile "$LINENO"; then :
36384 glibcxx_cv_func__finitef_use=yes
36385 else
36386 glibcxx_cv_func__finitef_use=no
36388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36389 ac_ext=c
36390 ac_cpp='$CPP $CPPFLAGS'
36391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36400 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36402 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36403 for ac_func in _finitef
36404 do :
36405 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36406 if test "x$ac_cv_func__finitef" = x""yes; then :
36407 cat >>confdefs.h <<_ACEOF
36408 #define HAVE__FINITEF 1
36409 _ACEOF
36412 done
36421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36422 $as_echo_n "checking for long double trig functions... " >&6; }
36423 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36424 $as_echo_n "(cached) " >&6
36425 else
36428 ac_ext=cpp
36429 ac_cpp='$CXXCPP $CPPFLAGS'
36430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36435 /* end confdefs.h. */
36436 #include <math.h>
36438 main ()
36440 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36442 return 0;
36444 _ACEOF
36445 if ac_fn_cxx_try_compile "$LINENO"; then :
36446 glibcxx_cv_func_long_double_trig_use=yes
36447 else
36448 glibcxx_cv_func_long_double_trig_use=no
36450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36451 ac_ext=c
36452 ac_cpp='$CPP $CPPFLAGS'
36453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36460 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36461 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36462 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36463 do :
36464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36466 eval as_val=\$$as_ac_var
36467 if test "x$as_val" = x""yes; then :
36468 cat >>confdefs.h <<_ACEOF
36469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36470 _ACEOF
36473 done
36475 else
36476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36477 $as_echo_n "checking for _long double trig functions... " >&6; }
36478 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36479 $as_echo_n "(cached) " >&6
36480 else
36483 ac_ext=cpp
36484 ac_cpp='$CXXCPP $CPPFLAGS'
36485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36490 /* end confdefs.h. */
36491 #include <math.h>
36493 main ()
36495 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36497 return 0;
36499 _ACEOF
36500 if ac_fn_cxx_try_compile "$LINENO"; then :
36501 glibcxx_cv_func__long_double_trig_use=yes
36502 else
36503 glibcxx_cv_func__long_double_trig_use=no
36505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36506 ac_ext=c
36507 ac_cpp='$CPP $CPPFLAGS'
36508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36515 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36516 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36517 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36518 do :
36519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36521 eval as_val=\$$as_ac_var
36522 if test "x$as_val" = x""yes; then :
36523 cat >>confdefs.h <<_ACEOF
36524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36525 _ACEOF
36528 done
36537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36538 $as_echo_n "checking for long double round functions... " >&6; }
36539 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36540 $as_echo_n "(cached) " >&6
36541 else
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36551 /* end confdefs.h. */
36552 #include <math.h>
36554 main ()
36556 ceill (0); floorl (0);
36558 return 0;
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562 glibcxx_cv_func_long_double_round_use=yes
36563 else
36564 glibcxx_cv_func_long_double_round_use=no
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36567 ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36576 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36577 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36578 for ac_func in ceill floorl
36579 do :
36580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36582 eval as_val=\$$as_ac_var
36583 if test "x$as_val" = x""yes; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36586 _ACEOF
36589 done
36591 else
36592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36593 $as_echo_n "checking for _long double round functions... " >&6; }
36594 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36595 $as_echo_n "(cached) " >&6
36596 else
36599 ac_ext=cpp
36600 ac_cpp='$CXXCPP $CPPFLAGS'
36601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36606 /* end confdefs.h. */
36607 #include <math.h>
36609 main ()
36611 _ceill (0); _floorl (0);
36613 return 0;
36615 _ACEOF
36616 if ac_fn_cxx_try_compile "$LINENO"; then :
36617 glibcxx_cv_func__long_double_round_use=yes
36618 else
36619 glibcxx_cv_func__long_double_round_use=no
36621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36622 ac_ext=c
36623 ac_cpp='$CPP $CPPFLAGS'
36624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36631 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36632 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36633 for ac_func in _ceill _floorl
36634 do :
36635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36637 eval as_val=\$$as_ac_var
36638 if test "x$as_val" = x""yes; then :
36639 cat >>confdefs.h <<_ACEOF
36640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36641 _ACEOF
36644 done
36654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36655 $as_echo_n "checking for isnanl declaration... " >&6; }
36656 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36657 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36658 $as_echo_n "(cached) " >&6
36659 else
36662 ac_ext=cpp
36663 ac_cpp='$CXXCPP $CPPFLAGS'
36664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36669 /* end confdefs.h. */
36670 #include <math.h>
36671 #ifdef HAVE_IEEEFP_H
36672 #include <ieeefp.h>
36673 #endif
36676 main ()
36678 isnanl(0);
36680 return 0;
36682 _ACEOF
36683 if ac_fn_cxx_try_compile "$LINENO"; then :
36684 glibcxx_cv_func_isnanl_use=yes
36685 else
36686 glibcxx_cv_func_isnanl_use=no
36688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36689 ac_ext=c
36690 ac_cpp='$CPP $CPPFLAGS'
36691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36700 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36702 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36703 for ac_func in isnanl
36704 do :
36705 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36706 if test "x$ac_cv_func_isnanl" = x""yes; then :
36707 cat >>confdefs.h <<_ACEOF
36708 #define HAVE_ISNANL 1
36709 _ACEOF
36712 done
36714 else
36716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36717 $as_echo_n "checking for _isnanl declaration... " >&6; }
36718 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36719 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36720 $as_echo_n "(cached) " >&6
36721 else
36724 ac_ext=cpp
36725 ac_cpp='$CXXCPP $CPPFLAGS'
36726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36731 /* end confdefs.h. */
36732 #include <math.h>
36733 #ifdef HAVE_IEEEFP_H
36734 #include <ieeefp.h>
36735 #endif
36738 main ()
36740 _isnanl(0);
36742 return 0;
36744 _ACEOF
36745 if ac_fn_cxx_try_compile "$LINENO"; then :
36746 glibcxx_cv_func__isnanl_use=yes
36747 else
36748 glibcxx_cv_func__isnanl_use=no
36750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36751 ac_ext=c
36752 ac_cpp='$CPP $CPPFLAGS'
36753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36762 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36764 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36765 for ac_func in _isnanl
36766 do :
36767 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36768 if test "x$ac_cv_func__isnanl" = x""yes; then :
36769 cat >>confdefs.h <<_ACEOF
36770 #define HAVE__ISNANL 1
36771 _ACEOF
36774 done
36783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36784 $as_echo_n "checking for isinfl declaration... " >&6; }
36785 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36786 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36787 $as_echo_n "(cached) " >&6
36788 else
36791 ac_ext=cpp
36792 ac_cpp='$CXXCPP $CPPFLAGS'
36793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36798 /* end confdefs.h. */
36799 #include <math.h>
36800 #ifdef HAVE_IEEEFP_H
36801 #include <ieeefp.h>
36802 #endif
36805 main ()
36807 isinfl(0);
36809 return 0;
36811 _ACEOF
36812 if ac_fn_cxx_try_compile "$LINENO"; then :
36813 glibcxx_cv_func_isinfl_use=yes
36814 else
36815 glibcxx_cv_func_isinfl_use=no
36817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36818 ac_ext=c
36819 ac_cpp='$CPP $CPPFLAGS'
36820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36829 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36831 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36832 for ac_func in isinfl
36833 do :
36834 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36835 if test "x$ac_cv_func_isinfl" = x""yes; then :
36836 cat >>confdefs.h <<_ACEOF
36837 #define HAVE_ISINFL 1
36838 _ACEOF
36841 done
36843 else
36845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36846 $as_echo_n "checking for _isinfl declaration... " >&6; }
36847 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36848 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36849 $as_echo_n "(cached) " >&6
36850 else
36853 ac_ext=cpp
36854 ac_cpp='$CXXCPP $CPPFLAGS'
36855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36860 /* end confdefs.h. */
36861 #include <math.h>
36862 #ifdef HAVE_IEEEFP_H
36863 #include <ieeefp.h>
36864 #endif
36867 main ()
36869 _isinfl(0);
36871 return 0;
36873 _ACEOF
36874 if ac_fn_cxx_try_compile "$LINENO"; then :
36875 glibcxx_cv_func__isinfl_use=yes
36876 else
36877 glibcxx_cv_func__isinfl_use=no
36879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36880 ac_ext=c
36881 ac_cpp='$CPP $CPPFLAGS'
36882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36891 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36893 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36894 for ac_func in _isinfl
36895 do :
36896 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36897 if test "x$ac_cv_func__isinfl" = x""yes; then :
36898 cat >>confdefs.h <<_ACEOF
36899 #define HAVE__ISINFL 1
36900 _ACEOF
36903 done
36912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36913 $as_echo_n "checking for atan2l declaration... " >&6; }
36914 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36915 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36916 $as_echo_n "(cached) " >&6
36917 else
36920 ac_ext=cpp
36921 ac_cpp='$CXXCPP $CPPFLAGS'
36922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36927 /* end confdefs.h. */
36928 #include <math.h>
36930 main ()
36932 atan2l(0, 0);
36934 return 0;
36936 _ACEOF
36937 if ac_fn_cxx_try_compile "$LINENO"; then :
36938 glibcxx_cv_func_atan2l_use=yes
36939 else
36940 glibcxx_cv_func_atan2l_use=no
36942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36943 ac_ext=c
36944 ac_cpp='$CPP $CPPFLAGS'
36945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36954 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36956 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36957 for ac_func in atan2l
36958 do :
36959 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36960 if test "x$ac_cv_func_atan2l" = x""yes; then :
36961 cat >>confdefs.h <<_ACEOF
36962 #define HAVE_ATAN2L 1
36963 _ACEOF
36966 done
36968 else
36970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36971 $as_echo_n "checking for _atan2l declaration... " >&6; }
36972 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36973 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36974 $as_echo_n "(cached) " >&6
36975 else
36978 ac_ext=cpp
36979 ac_cpp='$CXXCPP $CPPFLAGS'
36980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36985 /* end confdefs.h. */
36986 #include <math.h>
36988 main ()
36990 _atan2l(0, 0);
36992 return 0;
36994 _ACEOF
36995 if ac_fn_cxx_try_compile "$LINENO"; then :
36996 glibcxx_cv_func__atan2l_use=yes
36997 else
36998 glibcxx_cv_func__atan2l_use=no
37000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37001 ac_ext=c
37002 ac_cpp='$CPP $CPPFLAGS'
37003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37012 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37014 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37015 for ac_func in _atan2l
37016 do :
37017 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37018 if test "x$ac_cv_func__atan2l" = x""yes; then :
37019 cat >>confdefs.h <<_ACEOF
37020 #define HAVE__ATAN2L 1
37021 _ACEOF
37024 done
37033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37034 $as_echo_n "checking for expl declaration... " >&6; }
37035 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37036 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37037 $as_echo_n "(cached) " >&6
37038 else
37041 ac_ext=cpp
37042 ac_cpp='$CXXCPP $CPPFLAGS'
37043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37048 /* end confdefs.h. */
37049 #include <math.h>
37050 #ifdef HAVE_IEEEFP_H
37051 #include <ieeefp.h>
37052 #endif
37055 main ()
37057 expl(0);
37059 return 0;
37061 _ACEOF
37062 if ac_fn_cxx_try_compile "$LINENO"; then :
37063 glibcxx_cv_func_expl_use=yes
37064 else
37065 glibcxx_cv_func_expl_use=no
37067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37068 ac_ext=c
37069 ac_cpp='$CPP $CPPFLAGS'
37070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37079 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37081 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37082 for ac_func in expl
37083 do :
37084 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37085 if test "x$ac_cv_func_expl" = x""yes; then :
37086 cat >>confdefs.h <<_ACEOF
37087 #define HAVE_EXPL 1
37088 _ACEOF
37091 done
37093 else
37095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37096 $as_echo_n "checking for _expl declaration... " >&6; }
37097 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37098 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37099 $as_echo_n "(cached) " >&6
37100 else
37103 ac_ext=cpp
37104 ac_cpp='$CXXCPP $CPPFLAGS'
37105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37110 /* end confdefs.h. */
37111 #include <math.h>
37112 #ifdef HAVE_IEEEFP_H
37113 #include <ieeefp.h>
37114 #endif
37117 main ()
37119 _expl(0);
37121 return 0;
37123 _ACEOF
37124 if ac_fn_cxx_try_compile "$LINENO"; then :
37125 glibcxx_cv_func__expl_use=yes
37126 else
37127 glibcxx_cv_func__expl_use=no
37129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37130 ac_ext=c
37131 ac_cpp='$CPP $CPPFLAGS'
37132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37141 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37143 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37144 for ac_func in _expl
37145 do :
37146 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37147 if test "x$ac_cv_func__expl" = x""yes; then :
37148 cat >>confdefs.h <<_ACEOF
37149 #define HAVE__EXPL 1
37150 _ACEOF
37153 done
37162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37163 $as_echo_n "checking for fabsl declaration... " >&6; }
37164 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37165 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37166 $as_echo_n "(cached) " >&6
37167 else
37170 ac_ext=cpp
37171 ac_cpp='$CXXCPP $CPPFLAGS'
37172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37177 /* end confdefs.h. */
37178 #include <math.h>
37179 #ifdef HAVE_IEEEFP_H
37180 #include <ieeefp.h>
37181 #endif
37184 main ()
37186 fabsl(0);
37188 return 0;
37190 _ACEOF
37191 if ac_fn_cxx_try_compile "$LINENO"; then :
37192 glibcxx_cv_func_fabsl_use=yes
37193 else
37194 glibcxx_cv_func_fabsl_use=no
37196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37197 ac_ext=c
37198 ac_cpp='$CPP $CPPFLAGS'
37199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37208 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37210 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37211 for ac_func in fabsl
37212 do :
37213 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37214 if test "x$ac_cv_func_fabsl" = x""yes; then :
37215 cat >>confdefs.h <<_ACEOF
37216 #define HAVE_FABSL 1
37217 _ACEOF
37220 done
37222 else
37224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37225 $as_echo_n "checking for _fabsl declaration... " >&6; }
37226 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37227 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37228 $as_echo_n "(cached) " >&6
37229 else
37232 ac_ext=cpp
37233 ac_cpp='$CXXCPP $CPPFLAGS'
37234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37239 /* end confdefs.h. */
37240 #include <math.h>
37241 #ifdef HAVE_IEEEFP_H
37242 #include <ieeefp.h>
37243 #endif
37246 main ()
37248 _fabsl(0);
37250 return 0;
37252 _ACEOF
37253 if ac_fn_cxx_try_compile "$LINENO"; then :
37254 glibcxx_cv_func__fabsl_use=yes
37255 else
37256 glibcxx_cv_func__fabsl_use=no
37258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37259 ac_ext=c
37260 ac_cpp='$CPP $CPPFLAGS'
37261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37270 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37272 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37273 for ac_func in _fabsl
37274 do :
37275 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37276 if test "x$ac_cv_func__fabsl" = x""yes; then :
37277 cat >>confdefs.h <<_ACEOF
37278 #define HAVE__FABSL 1
37279 _ACEOF
37282 done
37291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37292 $as_echo_n "checking for fmodl declaration... " >&6; }
37293 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37294 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37295 $as_echo_n "(cached) " >&6
37296 else
37299 ac_ext=cpp
37300 ac_cpp='$CXXCPP $CPPFLAGS'
37301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37306 /* end confdefs.h. */
37307 #include <math.h>
37309 main ()
37311 fmodl(0, 0);
37313 return 0;
37315 _ACEOF
37316 if ac_fn_cxx_try_compile "$LINENO"; then :
37317 glibcxx_cv_func_fmodl_use=yes
37318 else
37319 glibcxx_cv_func_fmodl_use=no
37321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37322 ac_ext=c
37323 ac_cpp='$CPP $CPPFLAGS'
37324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37333 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37335 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37336 for ac_func in fmodl
37337 do :
37338 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37339 if test "x$ac_cv_func_fmodl" = x""yes; then :
37340 cat >>confdefs.h <<_ACEOF
37341 #define HAVE_FMODL 1
37342 _ACEOF
37345 done
37347 else
37349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37350 $as_echo_n "checking for _fmodl declaration... " >&6; }
37351 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37352 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37353 $as_echo_n "(cached) " >&6
37354 else
37357 ac_ext=cpp
37358 ac_cpp='$CXXCPP $CPPFLAGS'
37359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37364 /* end confdefs.h. */
37365 #include <math.h>
37367 main ()
37369 _fmodl(0, 0);
37371 return 0;
37373 _ACEOF
37374 if ac_fn_cxx_try_compile "$LINENO"; then :
37375 glibcxx_cv_func__fmodl_use=yes
37376 else
37377 glibcxx_cv_func__fmodl_use=no
37379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37380 ac_ext=c
37381 ac_cpp='$CPP $CPPFLAGS'
37382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37391 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37393 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37394 for ac_func in _fmodl
37395 do :
37396 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37397 if test "x$ac_cv_func__fmodl" = x""yes; then :
37398 cat >>confdefs.h <<_ACEOF
37399 #define HAVE__FMODL 1
37400 _ACEOF
37403 done
37412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37413 $as_echo_n "checking for frexpl declaration... " >&6; }
37414 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37415 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37416 $as_echo_n "(cached) " >&6
37417 else
37420 ac_ext=cpp
37421 ac_cpp='$CXXCPP $CPPFLAGS'
37422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37427 /* end confdefs.h. */
37428 #include <math.h>
37430 main ()
37432 frexpl(0, 0);
37434 return 0;
37436 _ACEOF
37437 if ac_fn_cxx_try_compile "$LINENO"; then :
37438 glibcxx_cv_func_frexpl_use=yes
37439 else
37440 glibcxx_cv_func_frexpl_use=no
37442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37443 ac_ext=c
37444 ac_cpp='$CPP $CPPFLAGS'
37445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37454 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37456 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37457 for ac_func in frexpl
37458 do :
37459 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37460 if test "x$ac_cv_func_frexpl" = x""yes; then :
37461 cat >>confdefs.h <<_ACEOF
37462 #define HAVE_FREXPL 1
37463 _ACEOF
37466 done
37468 else
37470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37471 $as_echo_n "checking for _frexpl declaration... " >&6; }
37472 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37473 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37474 $as_echo_n "(cached) " >&6
37475 else
37478 ac_ext=cpp
37479 ac_cpp='$CXXCPP $CPPFLAGS'
37480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37485 /* end confdefs.h. */
37486 #include <math.h>
37488 main ()
37490 _frexpl(0, 0);
37492 return 0;
37494 _ACEOF
37495 if ac_fn_cxx_try_compile "$LINENO"; then :
37496 glibcxx_cv_func__frexpl_use=yes
37497 else
37498 glibcxx_cv_func__frexpl_use=no
37500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37501 ac_ext=c
37502 ac_cpp='$CPP $CPPFLAGS'
37503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37512 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37514 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37515 for ac_func in _frexpl
37516 do :
37517 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37518 if test "x$ac_cv_func__frexpl" = x""yes; then :
37519 cat >>confdefs.h <<_ACEOF
37520 #define HAVE__FREXPL 1
37521 _ACEOF
37524 done
37533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37534 $as_echo_n "checking for hypotl declaration... " >&6; }
37535 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37536 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37537 $as_echo_n "(cached) " >&6
37538 else
37541 ac_ext=cpp
37542 ac_cpp='$CXXCPP $CPPFLAGS'
37543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37548 /* end confdefs.h. */
37549 #include <math.h>
37551 main ()
37553 hypotl(0, 0);
37555 return 0;
37557 _ACEOF
37558 if ac_fn_cxx_try_compile "$LINENO"; then :
37559 glibcxx_cv_func_hypotl_use=yes
37560 else
37561 glibcxx_cv_func_hypotl_use=no
37563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37564 ac_ext=c
37565 ac_cpp='$CPP $CPPFLAGS'
37566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37575 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37577 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37578 for ac_func in hypotl
37579 do :
37580 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37581 if test "x$ac_cv_func_hypotl" = x""yes; then :
37582 cat >>confdefs.h <<_ACEOF
37583 #define HAVE_HYPOTL 1
37584 _ACEOF
37587 done
37589 else
37591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37592 $as_echo_n "checking for _hypotl declaration... " >&6; }
37593 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37594 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37595 $as_echo_n "(cached) " >&6
37596 else
37599 ac_ext=cpp
37600 ac_cpp='$CXXCPP $CPPFLAGS'
37601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37606 /* end confdefs.h. */
37607 #include <math.h>
37609 main ()
37611 _hypotl(0, 0);
37613 return 0;
37615 _ACEOF
37616 if ac_fn_cxx_try_compile "$LINENO"; then :
37617 glibcxx_cv_func__hypotl_use=yes
37618 else
37619 glibcxx_cv_func__hypotl_use=no
37621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37622 ac_ext=c
37623 ac_cpp='$CPP $CPPFLAGS'
37624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37633 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37635 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37636 for ac_func in _hypotl
37637 do :
37638 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37639 if test "x$ac_cv_func__hypotl" = x""yes; then :
37640 cat >>confdefs.h <<_ACEOF
37641 #define HAVE__HYPOTL 1
37642 _ACEOF
37645 done
37654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37655 $as_echo_n "checking for ldexpl declaration... " >&6; }
37656 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37657 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37658 $as_echo_n "(cached) " >&6
37659 else
37662 ac_ext=cpp
37663 ac_cpp='$CXXCPP $CPPFLAGS'
37664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37669 /* end confdefs.h. */
37670 #include <math.h>
37672 main ()
37674 ldexpl(0, 0);
37676 return 0;
37678 _ACEOF
37679 if ac_fn_cxx_try_compile "$LINENO"; then :
37680 glibcxx_cv_func_ldexpl_use=yes
37681 else
37682 glibcxx_cv_func_ldexpl_use=no
37684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37685 ac_ext=c
37686 ac_cpp='$CPP $CPPFLAGS'
37687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37696 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37698 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37699 for ac_func in ldexpl
37700 do :
37701 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37702 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37703 cat >>confdefs.h <<_ACEOF
37704 #define HAVE_LDEXPL 1
37705 _ACEOF
37708 done
37710 else
37712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37713 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37714 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37715 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37716 $as_echo_n "(cached) " >&6
37717 else
37720 ac_ext=cpp
37721 ac_cpp='$CXXCPP $CPPFLAGS'
37722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37727 /* end confdefs.h. */
37728 #include <math.h>
37730 main ()
37732 _ldexpl(0, 0);
37734 return 0;
37736 _ACEOF
37737 if ac_fn_cxx_try_compile "$LINENO"; then :
37738 glibcxx_cv_func__ldexpl_use=yes
37739 else
37740 glibcxx_cv_func__ldexpl_use=no
37742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37743 ac_ext=c
37744 ac_cpp='$CPP $CPPFLAGS'
37745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37754 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37756 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37757 for ac_func in _ldexpl
37758 do :
37759 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37760 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37761 cat >>confdefs.h <<_ACEOF
37762 #define HAVE__LDEXPL 1
37763 _ACEOF
37766 done
37775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37776 $as_echo_n "checking for logl declaration... " >&6; }
37777 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37778 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37779 $as_echo_n "(cached) " >&6
37780 else
37783 ac_ext=cpp
37784 ac_cpp='$CXXCPP $CPPFLAGS'
37785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37790 /* end confdefs.h. */
37791 #include <math.h>
37792 #ifdef HAVE_IEEEFP_H
37793 #include <ieeefp.h>
37794 #endif
37797 main ()
37799 logl(0);
37801 return 0;
37803 _ACEOF
37804 if ac_fn_cxx_try_compile "$LINENO"; then :
37805 glibcxx_cv_func_logl_use=yes
37806 else
37807 glibcxx_cv_func_logl_use=no
37809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37810 ac_ext=c
37811 ac_cpp='$CPP $CPPFLAGS'
37812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37821 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37823 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37824 for ac_func in logl
37825 do :
37826 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37827 if test "x$ac_cv_func_logl" = x""yes; then :
37828 cat >>confdefs.h <<_ACEOF
37829 #define HAVE_LOGL 1
37830 _ACEOF
37833 done
37835 else
37837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37838 $as_echo_n "checking for _logl declaration... " >&6; }
37839 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37840 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37841 $as_echo_n "(cached) " >&6
37842 else
37845 ac_ext=cpp
37846 ac_cpp='$CXXCPP $CPPFLAGS'
37847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37852 /* end confdefs.h. */
37853 #include <math.h>
37854 #ifdef HAVE_IEEEFP_H
37855 #include <ieeefp.h>
37856 #endif
37859 main ()
37861 _logl(0);
37863 return 0;
37865 _ACEOF
37866 if ac_fn_cxx_try_compile "$LINENO"; then :
37867 glibcxx_cv_func__logl_use=yes
37868 else
37869 glibcxx_cv_func__logl_use=no
37871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37872 ac_ext=c
37873 ac_cpp='$CPP $CPPFLAGS'
37874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37883 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37885 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37886 for ac_func in _logl
37887 do :
37888 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37889 if test "x$ac_cv_func__logl" = x""yes; then :
37890 cat >>confdefs.h <<_ACEOF
37891 #define HAVE__LOGL 1
37892 _ACEOF
37895 done
37904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37905 $as_echo_n "checking for log10l declaration... " >&6; }
37906 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37907 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37908 $as_echo_n "(cached) " >&6
37909 else
37912 ac_ext=cpp
37913 ac_cpp='$CXXCPP $CPPFLAGS'
37914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37919 /* end confdefs.h. */
37920 #include <math.h>
37921 #ifdef HAVE_IEEEFP_H
37922 #include <ieeefp.h>
37923 #endif
37926 main ()
37928 log10l(0);
37930 return 0;
37932 _ACEOF
37933 if ac_fn_cxx_try_compile "$LINENO"; then :
37934 glibcxx_cv_func_log10l_use=yes
37935 else
37936 glibcxx_cv_func_log10l_use=no
37938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37939 ac_ext=c
37940 ac_cpp='$CPP $CPPFLAGS'
37941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37950 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37952 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37953 for ac_func in log10l
37954 do :
37955 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37956 if test "x$ac_cv_func_log10l" = x""yes; then :
37957 cat >>confdefs.h <<_ACEOF
37958 #define HAVE_LOG10L 1
37959 _ACEOF
37962 done
37964 else
37966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37967 $as_echo_n "checking for _log10l declaration... " >&6; }
37968 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37969 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37970 $as_echo_n "(cached) " >&6
37971 else
37974 ac_ext=cpp
37975 ac_cpp='$CXXCPP $CPPFLAGS'
37976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37981 /* end confdefs.h. */
37982 #include <math.h>
37983 #ifdef HAVE_IEEEFP_H
37984 #include <ieeefp.h>
37985 #endif
37988 main ()
37990 _log10l(0);
37992 return 0;
37994 _ACEOF
37995 if ac_fn_cxx_try_compile "$LINENO"; then :
37996 glibcxx_cv_func__log10l_use=yes
37997 else
37998 glibcxx_cv_func__log10l_use=no
38000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38001 ac_ext=c
38002 ac_cpp='$CPP $CPPFLAGS'
38003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38012 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38014 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38015 for ac_func in _log10l
38016 do :
38017 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38018 if test "x$ac_cv_func__log10l" = x""yes; then :
38019 cat >>confdefs.h <<_ACEOF
38020 #define HAVE__LOG10L 1
38021 _ACEOF
38024 done
38033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38034 $as_echo_n "checking for modfl declaration... " >&6; }
38035 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38036 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38037 $as_echo_n "(cached) " >&6
38038 else
38041 ac_ext=cpp
38042 ac_cpp='$CXXCPP $CPPFLAGS'
38043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38048 /* end confdefs.h. */
38049 #include <math.h>
38051 main ()
38053 modfl(0, 0);
38055 return 0;
38057 _ACEOF
38058 if ac_fn_cxx_try_compile "$LINENO"; then :
38059 glibcxx_cv_func_modfl_use=yes
38060 else
38061 glibcxx_cv_func_modfl_use=no
38063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38064 ac_ext=c
38065 ac_cpp='$CPP $CPPFLAGS'
38066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38075 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38077 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38078 for ac_func in modfl
38079 do :
38080 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38081 if test "x$ac_cv_func_modfl" = x""yes; then :
38082 cat >>confdefs.h <<_ACEOF
38083 #define HAVE_MODFL 1
38084 _ACEOF
38087 done
38089 else
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38092 $as_echo_n "checking for _modfl declaration... " >&6; }
38093 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38094 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38095 $as_echo_n "(cached) " >&6
38096 else
38099 ac_ext=cpp
38100 ac_cpp='$CXXCPP $CPPFLAGS'
38101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38106 /* end confdefs.h. */
38107 #include <math.h>
38109 main ()
38111 _modfl(0, 0);
38113 return 0;
38115 _ACEOF
38116 if ac_fn_cxx_try_compile "$LINENO"; then :
38117 glibcxx_cv_func__modfl_use=yes
38118 else
38119 glibcxx_cv_func__modfl_use=no
38121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38122 ac_ext=c
38123 ac_cpp='$CPP $CPPFLAGS'
38124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38133 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38135 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38136 for ac_func in _modfl
38137 do :
38138 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38139 if test "x$ac_cv_func__modfl" = x""yes; then :
38140 cat >>confdefs.h <<_ACEOF
38141 #define HAVE__MODFL 1
38142 _ACEOF
38145 done
38154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38155 $as_echo_n "checking for powl declaration... " >&6; }
38156 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38157 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38158 $as_echo_n "(cached) " >&6
38159 else
38162 ac_ext=cpp
38163 ac_cpp='$CXXCPP $CPPFLAGS'
38164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38169 /* end confdefs.h. */
38170 #include <math.h>
38172 main ()
38174 powl(0, 0);
38176 return 0;
38178 _ACEOF
38179 if ac_fn_cxx_try_compile "$LINENO"; then :
38180 glibcxx_cv_func_powl_use=yes
38181 else
38182 glibcxx_cv_func_powl_use=no
38184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38185 ac_ext=c
38186 ac_cpp='$CPP $CPPFLAGS'
38187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38196 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38198 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38199 for ac_func in powl
38200 do :
38201 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38202 if test "x$ac_cv_func_powl" = x""yes; then :
38203 cat >>confdefs.h <<_ACEOF
38204 #define HAVE_POWL 1
38205 _ACEOF
38208 done
38210 else
38212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38213 $as_echo_n "checking for _powl declaration... " >&6; }
38214 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38215 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38216 $as_echo_n "(cached) " >&6
38217 else
38220 ac_ext=cpp
38221 ac_cpp='$CXXCPP $CPPFLAGS'
38222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38227 /* end confdefs.h. */
38228 #include <math.h>
38230 main ()
38232 _powl(0, 0);
38234 return 0;
38236 _ACEOF
38237 if ac_fn_cxx_try_compile "$LINENO"; then :
38238 glibcxx_cv_func__powl_use=yes
38239 else
38240 glibcxx_cv_func__powl_use=no
38242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38243 ac_ext=c
38244 ac_cpp='$CPP $CPPFLAGS'
38245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38254 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38256 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38257 for ac_func in _powl
38258 do :
38259 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38260 if test "x$ac_cv_func__powl" = x""yes; then :
38261 cat >>confdefs.h <<_ACEOF
38262 #define HAVE__POWL 1
38263 _ACEOF
38266 done
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38276 $as_echo_n "checking for sqrtl declaration... " >&6; }
38277 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38278 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38279 $as_echo_n "(cached) " >&6
38280 else
38283 ac_ext=cpp
38284 ac_cpp='$CXXCPP $CPPFLAGS'
38285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38290 /* end confdefs.h. */
38291 #include <math.h>
38292 #ifdef HAVE_IEEEFP_H
38293 #include <ieeefp.h>
38294 #endif
38297 main ()
38299 sqrtl(0);
38301 return 0;
38303 _ACEOF
38304 if ac_fn_cxx_try_compile "$LINENO"; then :
38305 glibcxx_cv_func_sqrtl_use=yes
38306 else
38307 glibcxx_cv_func_sqrtl_use=no
38309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38310 ac_ext=c
38311 ac_cpp='$CPP $CPPFLAGS'
38312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38321 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38323 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38324 for ac_func in sqrtl
38325 do :
38326 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38327 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38328 cat >>confdefs.h <<_ACEOF
38329 #define HAVE_SQRTL 1
38330 _ACEOF
38333 done
38335 else
38337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38338 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38339 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38340 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38341 $as_echo_n "(cached) " >&6
38342 else
38345 ac_ext=cpp
38346 ac_cpp='$CXXCPP $CPPFLAGS'
38347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38352 /* end confdefs.h. */
38353 #include <math.h>
38354 #ifdef HAVE_IEEEFP_H
38355 #include <ieeefp.h>
38356 #endif
38359 main ()
38361 _sqrtl(0);
38363 return 0;
38365 _ACEOF
38366 if ac_fn_cxx_try_compile "$LINENO"; then :
38367 glibcxx_cv_func__sqrtl_use=yes
38368 else
38369 glibcxx_cv_func__sqrtl_use=no
38371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38372 ac_ext=c
38373 ac_cpp='$CPP $CPPFLAGS'
38374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38383 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38385 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38386 for ac_func in _sqrtl
38387 do :
38388 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38389 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38390 cat >>confdefs.h <<_ACEOF
38391 #define HAVE__SQRTL 1
38392 _ACEOF
38395 done
38404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38405 $as_echo_n "checking for sincosl declaration... " >&6; }
38406 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38407 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38408 $as_echo_n "(cached) " >&6
38409 else
38412 ac_ext=cpp
38413 ac_cpp='$CXXCPP $CPPFLAGS'
38414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38419 /* end confdefs.h. */
38420 #include <math.h>
38422 main ()
38424 sincosl(0, 0, 0);
38426 return 0;
38428 _ACEOF
38429 if ac_fn_cxx_try_compile "$LINENO"; then :
38430 glibcxx_cv_func_sincosl_use=yes
38431 else
38432 glibcxx_cv_func_sincosl_use=no
38434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38435 ac_ext=c
38436 ac_cpp='$CPP $CPPFLAGS'
38437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38446 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38448 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38449 for ac_func in sincosl
38450 do :
38451 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38452 if test "x$ac_cv_func_sincosl" = x""yes; then :
38453 cat >>confdefs.h <<_ACEOF
38454 #define HAVE_SINCOSL 1
38455 _ACEOF
38458 done
38460 else
38462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38463 $as_echo_n "checking for _sincosl declaration... " >&6; }
38464 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38465 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38466 $as_echo_n "(cached) " >&6
38467 else
38470 ac_ext=cpp
38471 ac_cpp='$CXXCPP $CPPFLAGS'
38472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38477 /* end confdefs.h. */
38478 #include <math.h>
38480 main ()
38482 _sincosl(0, 0, 0);
38484 return 0;
38486 _ACEOF
38487 if ac_fn_cxx_try_compile "$LINENO"; then :
38488 glibcxx_cv_func__sincosl_use=yes
38489 else
38490 glibcxx_cv_func__sincosl_use=no
38492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493 ac_ext=c
38494 ac_cpp='$CPP $CPPFLAGS'
38495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38504 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38506 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38507 for ac_func in _sincosl
38508 do :
38509 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38510 if test "x$ac_cv_func__sincosl" = x""yes; then :
38511 cat >>confdefs.h <<_ACEOF
38512 #define HAVE__SINCOSL 1
38513 _ACEOF
38516 done
38525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38526 $as_echo_n "checking for finitel declaration... " >&6; }
38527 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38528 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38529 $as_echo_n "(cached) " >&6
38530 else
38533 ac_ext=cpp
38534 ac_cpp='$CXXCPP $CPPFLAGS'
38535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38540 /* end confdefs.h. */
38541 #include <math.h>
38542 #ifdef HAVE_IEEEFP_H
38543 #include <ieeefp.h>
38544 #endif
38547 main ()
38549 finitel(0);
38551 return 0;
38553 _ACEOF
38554 if ac_fn_cxx_try_compile "$LINENO"; then :
38555 glibcxx_cv_func_finitel_use=yes
38556 else
38557 glibcxx_cv_func_finitel_use=no
38559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38560 ac_ext=c
38561 ac_cpp='$CPP $CPPFLAGS'
38562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38571 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38573 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38574 for ac_func in finitel
38575 do :
38576 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38577 if test "x$ac_cv_func_finitel" = x""yes; then :
38578 cat >>confdefs.h <<_ACEOF
38579 #define HAVE_FINITEL 1
38580 _ACEOF
38583 done
38585 else
38587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38588 $as_echo_n "checking for _finitel declaration... " >&6; }
38589 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38590 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38591 $as_echo_n "(cached) " >&6
38592 else
38595 ac_ext=cpp
38596 ac_cpp='$CXXCPP $CPPFLAGS'
38597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38602 /* end confdefs.h. */
38603 #include <math.h>
38604 #ifdef HAVE_IEEEFP_H
38605 #include <ieeefp.h>
38606 #endif
38609 main ()
38611 _finitel(0);
38613 return 0;
38615 _ACEOF
38616 if ac_fn_cxx_try_compile "$LINENO"; then :
38617 glibcxx_cv_func__finitel_use=yes
38618 else
38619 glibcxx_cv_func__finitel_use=no
38621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38622 ac_ext=c
38623 ac_cpp='$CPP $CPPFLAGS'
38624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38633 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38635 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38636 for ac_func in _finitel
38637 do :
38638 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38639 if test "x$ac_cv_func__finitel" = x""yes; then :
38640 cat >>confdefs.h <<_ACEOF
38641 #define HAVE__FINITEL 1
38642 _ACEOF
38645 done
38653 LIBS="$ac_save_LIBS"
38654 CXXFLAGS="$ac_save_CXXFLAGS"
38657 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38658 ac_save_CXXFLAGS="$CXXFLAGS"
38659 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38663 $as_echo_n "checking for strtold declaration... " >&6; }
38664 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38665 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38666 $as_echo_n "(cached) " >&6
38667 else
38670 ac_ext=cpp
38671 ac_cpp='$CXXCPP $CPPFLAGS'
38672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38677 /* end confdefs.h. */
38678 #include <stdlib.h>
38680 main ()
38682 strtold(0, 0);
38684 return 0;
38686 _ACEOF
38687 if ac_fn_cxx_try_compile "$LINENO"; then :
38688 glibcxx_cv_func_strtold_use=yes
38689 else
38690 glibcxx_cv_func_strtold_use=no
38692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38693 ac_ext=c
38694 ac_cpp='$CPP $CPPFLAGS'
38695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38704 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38705 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38706 for ac_func in strtold
38707 do :
38708 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38709 if test "x$ac_cv_func_strtold" = x""yes; then :
38710 cat >>confdefs.h <<_ACEOF
38711 #define HAVE_STRTOLD 1
38712 _ACEOF
38715 done
38722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38723 $as_echo_n "checking for strtof declaration... " >&6; }
38724 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38725 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38726 $as_echo_n "(cached) " >&6
38727 else
38730 ac_ext=cpp
38731 ac_cpp='$CXXCPP $CPPFLAGS'
38732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38737 /* end confdefs.h. */
38738 #include <stdlib.h>
38740 main ()
38742 strtof(0, 0);
38744 return 0;
38746 _ACEOF
38747 if ac_fn_cxx_try_compile "$LINENO"; then :
38748 glibcxx_cv_func_strtof_use=yes
38749 else
38750 glibcxx_cv_func_strtof_use=no
38752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38753 ac_ext=c
38754 ac_cpp='$CPP $CPPFLAGS'
38755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38764 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38765 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38766 for ac_func in strtof
38767 do :
38768 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38769 if test "x$ac_cv_func_strtof" = x""yes; then :
38770 cat >>confdefs.h <<_ACEOF
38771 #define HAVE_STRTOF 1
38772 _ACEOF
38775 done
38782 CXXFLAGS="$ac_save_CXXFLAGS"
38784 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38786 # We don't yet support AIX's TLS ABI.
38787 #GCC_CHECK_TLS
38793 am_save_CPPFLAGS="$CPPFLAGS"
38795 for element in $INCICONV; do
38796 haveit=
38797 for x in $CPPFLAGS; do
38799 acl_save_prefix="$prefix"
38800 prefix="$acl_final_prefix"
38801 acl_save_exec_prefix="$exec_prefix"
38802 exec_prefix="$acl_final_exec_prefix"
38803 eval x=\"$x\"
38804 exec_prefix="$acl_save_exec_prefix"
38805 prefix="$acl_save_prefix"
38807 if test "X$x" = "X$element"; then
38808 haveit=yes
38809 break
38811 done
38812 if test -z "$haveit"; then
38813 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38815 done
38818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38819 $as_echo_n "checking for iconv... " >&6; }
38820 if test "${am_cv_func_iconv+set}" = set; then :
38821 $as_echo_n "(cached) " >&6
38822 else
38824 am_cv_func_iconv="no, consider installing GNU libiconv"
38825 am_cv_lib_iconv=no
38826 if test x$gcc_no_link = xyes; then
38827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38830 /* end confdefs.h. */
38831 #include <stdlib.h>
38832 #include <iconv.h>
38834 main ()
38836 iconv_t cd = iconv_open("","");
38837 iconv(cd,NULL,NULL,NULL,NULL);
38838 iconv_close(cd);
38840 return 0;
38842 _ACEOF
38843 if ac_fn_c_try_link "$LINENO"; then :
38844 am_cv_func_iconv=yes
38846 rm -f core conftest.err conftest.$ac_objext \
38847 conftest$ac_exeext conftest.$ac_ext
38848 if test "$am_cv_func_iconv" != yes; then
38849 am_save_LIBS="$LIBS"
38850 LIBS="$LIBS $LIBICONV"
38851 if test x$gcc_no_link = xyes; then
38852 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38855 /* end confdefs.h. */
38856 #include <stdlib.h>
38857 #include <iconv.h>
38859 main ()
38861 iconv_t cd = iconv_open("","");
38862 iconv(cd,NULL,NULL,NULL,NULL);
38863 iconv_close(cd);
38865 return 0;
38867 _ACEOF
38868 if ac_fn_c_try_link "$LINENO"; then :
38869 am_cv_lib_iconv=yes
38870 am_cv_func_iconv=yes
38872 rm -f core conftest.err conftest.$ac_objext \
38873 conftest$ac_exeext conftest.$ac_ext
38874 LIBS="$am_save_LIBS"
38878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38879 $as_echo "$am_cv_func_iconv" >&6; }
38880 if test "$am_cv_func_iconv" = yes; then
38882 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38885 if test "$am_cv_lib_iconv" = yes; then
38886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38887 $as_echo_n "checking how to link with libiconv... " >&6; }
38888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38889 $as_echo "$LIBICONV" >&6; }
38890 else
38891 CPPFLAGS="$am_save_CPPFLAGS"
38892 LIBICONV=
38893 LTLIBICONV=
38898 if test "$am_cv_func_iconv" = yes; then
38899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38900 $as_echo_n "checking for iconv declaration... " >&6; }
38901 if test "${am_cv_proto_iconv+set}" = set; then :
38902 $as_echo_n "(cached) " >&6
38903 else
38905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38906 /* end confdefs.h. */
38908 #include <stdlib.h>
38909 #include <iconv.h>
38910 extern
38911 #ifdef __cplusplus
38913 #endif
38914 #if defined(__STDC__) || defined(__cplusplus)
38915 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38916 #else
38917 size_t iconv();
38918 #endif
38921 main ()
38925 return 0;
38927 _ACEOF
38928 if ac_fn_c_try_compile "$LINENO"; then :
38929 am_cv_proto_iconv_arg1=""
38930 else
38931 am_cv_proto_iconv_arg1="const"
38933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38934 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);"
38937 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38939 }$am_cv_proto_iconv" >&5
38940 $as_echo "${ac_t:-
38941 }$am_cv_proto_iconv" >&6; }
38943 cat >>confdefs.h <<_ACEOF
38944 #define ICONV_CONST $am_cv_proto_iconv_arg1
38945 _ACEOF
38951 *-darwin*)
38952 # Darwin versions vary, but the linker should work in a cross environment,
38953 # so we just check for all the features here.
38954 # Check for available headers.
38956 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38958 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38959 ac_save_CXXFLAGS="$CXXFLAGS"
38960 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38963 $as_echo_n "checking for sin in -lm... " >&6; }
38964 if test "${ac_cv_lib_m_sin+set}" = set; then :
38965 $as_echo_n "(cached) " >&6
38966 else
38967 ac_check_lib_save_LIBS=$LIBS
38968 LIBS="-lm $LIBS"
38969 if test x$gcc_no_link = xyes; then
38970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38973 /* end confdefs.h. */
38975 /* Override any GCC internal prototype to avoid an error.
38976 Use char because int might match the return type of a GCC
38977 builtin and then its argument prototype would still apply. */
38978 #ifdef __cplusplus
38979 extern "C"
38980 #endif
38981 char sin ();
38983 main ()
38985 return sin ();
38987 return 0;
38989 _ACEOF
38990 if ac_fn_c_try_link "$LINENO"; then :
38991 ac_cv_lib_m_sin=yes
38992 else
38993 ac_cv_lib_m_sin=no
38995 rm -f core conftest.err conftest.$ac_objext \
38996 conftest$ac_exeext conftest.$ac_ext
38997 LIBS=$ac_check_lib_save_LIBS
38999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39000 $as_echo "$ac_cv_lib_m_sin" >&6; }
39001 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39002 libm="-lm"
39005 ac_save_LIBS="$LIBS"
39006 LIBS="$LIBS $libm"
39010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39011 $as_echo_n "checking for isinf declaration... " >&6; }
39012 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39013 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39014 $as_echo_n "(cached) " >&6
39015 else
39018 ac_ext=cpp
39019 ac_cpp='$CXXCPP $CPPFLAGS'
39020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39025 /* end confdefs.h. */
39026 #include <math.h>
39027 #ifdef HAVE_IEEEFP_H
39028 #include <ieeefp.h>
39029 #endif
39032 main ()
39034 isinf(0);
39036 return 0;
39038 _ACEOF
39039 if ac_fn_cxx_try_compile "$LINENO"; then :
39040 glibcxx_cv_func_isinf_use=yes
39041 else
39042 glibcxx_cv_func_isinf_use=no
39044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39045 ac_ext=c
39046 ac_cpp='$CPP $CPPFLAGS'
39047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39056 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39058 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39059 for ac_func in isinf
39060 do :
39061 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39062 if test "x$ac_cv_func_isinf" = x""yes; then :
39063 cat >>confdefs.h <<_ACEOF
39064 #define HAVE_ISINF 1
39065 _ACEOF
39068 done
39070 else
39072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39073 $as_echo_n "checking for _isinf declaration... " >&6; }
39074 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39075 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39076 $as_echo_n "(cached) " >&6
39077 else
39080 ac_ext=cpp
39081 ac_cpp='$CXXCPP $CPPFLAGS'
39082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39087 /* end confdefs.h. */
39088 #include <math.h>
39089 #ifdef HAVE_IEEEFP_H
39090 #include <ieeefp.h>
39091 #endif
39094 main ()
39096 _isinf(0);
39098 return 0;
39100 _ACEOF
39101 if ac_fn_cxx_try_compile "$LINENO"; then :
39102 glibcxx_cv_func__isinf_use=yes
39103 else
39104 glibcxx_cv_func__isinf_use=no
39106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39107 ac_ext=c
39108 ac_cpp='$CPP $CPPFLAGS'
39109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39118 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39120 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39121 for ac_func in _isinf
39122 do :
39123 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39124 if test "x$ac_cv_func__isinf" = x""yes; then :
39125 cat >>confdefs.h <<_ACEOF
39126 #define HAVE__ISINF 1
39127 _ACEOF
39130 done
39139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39140 $as_echo_n "checking for isnan declaration... " >&6; }
39141 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39142 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39143 $as_echo_n "(cached) " >&6
39144 else
39147 ac_ext=cpp
39148 ac_cpp='$CXXCPP $CPPFLAGS'
39149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39154 /* end confdefs.h. */
39155 #include <math.h>
39156 #ifdef HAVE_IEEEFP_H
39157 #include <ieeefp.h>
39158 #endif
39161 main ()
39163 isnan(0);
39165 return 0;
39167 _ACEOF
39168 if ac_fn_cxx_try_compile "$LINENO"; then :
39169 glibcxx_cv_func_isnan_use=yes
39170 else
39171 glibcxx_cv_func_isnan_use=no
39173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39174 ac_ext=c
39175 ac_cpp='$CPP $CPPFLAGS'
39176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39185 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39187 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39188 for ac_func in isnan
39189 do :
39190 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39191 if test "x$ac_cv_func_isnan" = x""yes; then :
39192 cat >>confdefs.h <<_ACEOF
39193 #define HAVE_ISNAN 1
39194 _ACEOF
39197 done
39199 else
39201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39202 $as_echo_n "checking for _isnan declaration... " >&6; }
39203 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39204 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39205 $as_echo_n "(cached) " >&6
39206 else
39209 ac_ext=cpp
39210 ac_cpp='$CXXCPP $CPPFLAGS'
39211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39216 /* end confdefs.h. */
39217 #include <math.h>
39218 #ifdef HAVE_IEEEFP_H
39219 #include <ieeefp.h>
39220 #endif
39223 main ()
39225 _isnan(0);
39227 return 0;
39229 _ACEOF
39230 if ac_fn_cxx_try_compile "$LINENO"; then :
39231 glibcxx_cv_func__isnan_use=yes
39232 else
39233 glibcxx_cv_func__isnan_use=no
39235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39236 ac_ext=c
39237 ac_cpp='$CPP $CPPFLAGS'
39238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39247 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39249 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39250 for ac_func in _isnan
39251 do :
39252 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39253 if test "x$ac_cv_func__isnan" = x""yes; then :
39254 cat >>confdefs.h <<_ACEOF
39255 #define HAVE__ISNAN 1
39256 _ACEOF
39259 done
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39269 $as_echo_n "checking for finite declaration... " >&6; }
39270 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39271 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39272 $as_echo_n "(cached) " >&6
39273 else
39276 ac_ext=cpp
39277 ac_cpp='$CXXCPP $CPPFLAGS'
39278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39283 /* end confdefs.h. */
39284 #include <math.h>
39285 #ifdef HAVE_IEEEFP_H
39286 #include <ieeefp.h>
39287 #endif
39290 main ()
39292 finite(0);
39294 return 0;
39296 _ACEOF
39297 if ac_fn_cxx_try_compile "$LINENO"; then :
39298 glibcxx_cv_func_finite_use=yes
39299 else
39300 glibcxx_cv_func_finite_use=no
39302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39303 ac_ext=c
39304 ac_cpp='$CPP $CPPFLAGS'
39305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39314 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39316 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39317 for ac_func in finite
39318 do :
39319 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39320 if test "x$ac_cv_func_finite" = x""yes; then :
39321 cat >>confdefs.h <<_ACEOF
39322 #define HAVE_FINITE 1
39323 _ACEOF
39326 done
39328 else
39330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39331 $as_echo_n "checking for _finite declaration... " >&6; }
39332 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39333 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39334 $as_echo_n "(cached) " >&6
39335 else
39338 ac_ext=cpp
39339 ac_cpp='$CXXCPP $CPPFLAGS'
39340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39345 /* end confdefs.h. */
39346 #include <math.h>
39347 #ifdef HAVE_IEEEFP_H
39348 #include <ieeefp.h>
39349 #endif
39352 main ()
39354 _finite(0);
39356 return 0;
39358 _ACEOF
39359 if ac_fn_cxx_try_compile "$LINENO"; then :
39360 glibcxx_cv_func__finite_use=yes
39361 else
39362 glibcxx_cv_func__finite_use=no
39364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39365 ac_ext=c
39366 ac_cpp='$CPP $CPPFLAGS'
39367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39376 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39378 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39379 for ac_func in _finite
39380 do :
39381 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39382 if test "x$ac_cv_func__finite" = x""yes; then :
39383 cat >>confdefs.h <<_ACEOF
39384 #define HAVE__FINITE 1
39385 _ACEOF
39388 done
39397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39398 $as_echo_n "checking for sincos declaration... " >&6; }
39399 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39400 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39401 $as_echo_n "(cached) " >&6
39402 else
39405 ac_ext=cpp
39406 ac_cpp='$CXXCPP $CPPFLAGS'
39407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39412 /* end confdefs.h. */
39413 #include <math.h>
39415 main ()
39417 sincos(0, 0, 0);
39419 return 0;
39421 _ACEOF
39422 if ac_fn_cxx_try_compile "$LINENO"; then :
39423 glibcxx_cv_func_sincos_use=yes
39424 else
39425 glibcxx_cv_func_sincos_use=no
39427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39428 ac_ext=c
39429 ac_cpp='$CPP $CPPFLAGS'
39430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39439 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39441 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39442 for ac_func in sincos
39443 do :
39444 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39445 if test "x$ac_cv_func_sincos" = x""yes; then :
39446 cat >>confdefs.h <<_ACEOF
39447 #define HAVE_SINCOS 1
39448 _ACEOF
39451 done
39453 else
39455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39456 $as_echo_n "checking for _sincos declaration... " >&6; }
39457 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39458 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39459 $as_echo_n "(cached) " >&6
39460 else
39463 ac_ext=cpp
39464 ac_cpp='$CXXCPP $CPPFLAGS'
39465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39470 /* end confdefs.h. */
39471 #include <math.h>
39473 main ()
39475 _sincos(0, 0, 0);
39477 return 0;
39479 _ACEOF
39480 if ac_fn_cxx_try_compile "$LINENO"; then :
39481 glibcxx_cv_func__sincos_use=yes
39482 else
39483 glibcxx_cv_func__sincos_use=no
39485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39486 ac_ext=c
39487 ac_cpp='$CPP $CPPFLAGS'
39488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39497 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39499 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39500 for ac_func in _sincos
39501 do :
39502 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39503 if test "x$ac_cv_func__sincos" = x""yes; then :
39504 cat >>confdefs.h <<_ACEOF
39505 #define HAVE__SINCOS 1
39506 _ACEOF
39509 done
39518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39519 $as_echo_n "checking for fpclass declaration... " >&6; }
39520 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39521 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39522 $as_echo_n "(cached) " >&6
39523 else
39526 ac_ext=cpp
39527 ac_cpp='$CXXCPP $CPPFLAGS'
39528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39533 /* end confdefs.h. */
39534 #include <math.h>
39535 #ifdef HAVE_IEEEFP_H
39536 #include <ieeefp.h>
39537 #endif
39540 main ()
39542 fpclass(0);
39544 return 0;
39546 _ACEOF
39547 if ac_fn_cxx_try_compile "$LINENO"; then :
39548 glibcxx_cv_func_fpclass_use=yes
39549 else
39550 glibcxx_cv_func_fpclass_use=no
39552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39553 ac_ext=c
39554 ac_cpp='$CPP $CPPFLAGS'
39555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39564 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39566 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39567 for ac_func in fpclass
39568 do :
39569 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39570 if test "x$ac_cv_func_fpclass" = x""yes; then :
39571 cat >>confdefs.h <<_ACEOF
39572 #define HAVE_FPCLASS 1
39573 _ACEOF
39576 done
39578 else
39580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39581 $as_echo_n "checking for _fpclass declaration... " >&6; }
39582 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39583 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39584 $as_echo_n "(cached) " >&6
39585 else
39588 ac_ext=cpp
39589 ac_cpp='$CXXCPP $CPPFLAGS'
39590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39595 /* end confdefs.h. */
39596 #include <math.h>
39597 #ifdef HAVE_IEEEFP_H
39598 #include <ieeefp.h>
39599 #endif
39602 main ()
39604 _fpclass(0);
39606 return 0;
39608 _ACEOF
39609 if ac_fn_cxx_try_compile "$LINENO"; then :
39610 glibcxx_cv_func__fpclass_use=yes
39611 else
39612 glibcxx_cv_func__fpclass_use=no
39614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39615 ac_ext=c
39616 ac_cpp='$CPP $CPPFLAGS'
39617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39626 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39628 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39629 for ac_func in _fpclass
39630 do :
39631 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39632 if test "x$ac_cv_func__fpclass" = x""yes; then :
39633 cat >>confdefs.h <<_ACEOF
39634 #define HAVE__FPCLASS 1
39635 _ACEOF
39638 done
39647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39648 $as_echo_n "checking for qfpclass declaration... " >&6; }
39649 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39650 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39651 $as_echo_n "(cached) " >&6
39652 else
39655 ac_ext=cpp
39656 ac_cpp='$CXXCPP $CPPFLAGS'
39657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39662 /* end confdefs.h. */
39663 #include <math.h>
39664 #ifdef HAVE_IEEEFP_H
39665 #include <ieeefp.h>
39666 #endif
39669 main ()
39671 qfpclass(0);
39673 return 0;
39675 _ACEOF
39676 if ac_fn_cxx_try_compile "$LINENO"; then :
39677 glibcxx_cv_func_qfpclass_use=yes
39678 else
39679 glibcxx_cv_func_qfpclass_use=no
39681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39682 ac_ext=c
39683 ac_cpp='$CPP $CPPFLAGS'
39684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39693 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39695 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39696 for ac_func in qfpclass
39697 do :
39698 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39699 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39700 cat >>confdefs.h <<_ACEOF
39701 #define HAVE_QFPCLASS 1
39702 _ACEOF
39705 done
39707 else
39709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39710 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39711 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39712 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39713 $as_echo_n "(cached) " >&6
39714 else
39717 ac_ext=cpp
39718 ac_cpp='$CXXCPP $CPPFLAGS'
39719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39724 /* end confdefs.h. */
39725 #include <math.h>
39726 #ifdef HAVE_IEEEFP_H
39727 #include <ieeefp.h>
39728 #endif
39731 main ()
39733 _qfpclass(0);
39735 return 0;
39737 _ACEOF
39738 if ac_fn_cxx_try_compile "$LINENO"; then :
39739 glibcxx_cv_func__qfpclass_use=yes
39740 else
39741 glibcxx_cv_func__qfpclass_use=no
39743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39744 ac_ext=c
39745 ac_cpp='$CPP $CPPFLAGS'
39746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39755 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39757 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39758 for ac_func in _qfpclass
39759 do :
39760 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39761 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39762 cat >>confdefs.h <<_ACEOF
39763 #define HAVE__QFPCLASS 1
39764 _ACEOF
39767 done
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39777 $as_echo_n "checking for hypot declaration... " >&6; }
39778 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39779 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39780 $as_echo_n "(cached) " >&6
39781 else
39784 ac_ext=cpp
39785 ac_cpp='$CXXCPP $CPPFLAGS'
39786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39791 /* end confdefs.h. */
39792 #include <math.h>
39794 main ()
39796 hypot(0, 0);
39798 return 0;
39800 _ACEOF
39801 if ac_fn_cxx_try_compile "$LINENO"; then :
39802 glibcxx_cv_func_hypot_use=yes
39803 else
39804 glibcxx_cv_func_hypot_use=no
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39807 ac_ext=c
39808 ac_cpp='$CPP $CPPFLAGS'
39809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39818 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39820 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39821 for ac_func in hypot
39822 do :
39823 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39824 if test "x$ac_cv_func_hypot" = x""yes; then :
39825 cat >>confdefs.h <<_ACEOF
39826 #define HAVE_HYPOT 1
39827 _ACEOF
39830 done
39832 else
39834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39835 $as_echo_n "checking for _hypot declaration... " >&6; }
39836 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39837 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39838 $as_echo_n "(cached) " >&6
39839 else
39842 ac_ext=cpp
39843 ac_cpp='$CXXCPP $CPPFLAGS'
39844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39849 /* end confdefs.h. */
39850 #include <math.h>
39852 main ()
39854 _hypot(0, 0);
39856 return 0;
39858 _ACEOF
39859 if ac_fn_cxx_try_compile "$LINENO"; then :
39860 glibcxx_cv_func__hypot_use=yes
39861 else
39862 glibcxx_cv_func__hypot_use=no
39864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39865 ac_ext=c
39866 ac_cpp='$CPP $CPPFLAGS'
39867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39876 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39878 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39879 for ac_func in _hypot
39880 do :
39881 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39882 if test "x$ac_cv_func__hypot" = x""yes; then :
39883 cat >>confdefs.h <<_ACEOF
39884 #define HAVE__HYPOT 1
39885 _ACEOF
39888 done
39897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39898 $as_echo_n "checking for float trig functions... " >&6; }
39899 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39900 $as_echo_n "(cached) " >&6
39901 else
39904 ac_ext=cpp
39905 ac_cpp='$CXXCPP $CPPFLAGS'
39906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39911 /* end confdefs.h. */
39912 #include <math.h>
39914 main ()
39916 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39918 return 0;
39920 _ACEOF
39921 if ac_fn_cxx_try_compile "$LINENO"; then :
39922 glibcxx_cv_func_float_trig_use=yes
39923 else
39924 glibcxx_cv_func_float_trig_use=no
39926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39927 ac_ext=c
39928 ac_cpp='$CPP $CPPFLAGS'
39929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39936 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39937 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39938 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39939 do :
39940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39942 eval as_val=\$$as_ac_var
39943 if test "x$as_val" = x""yes; then :
39944 cat >>confdefs.h <<_ACEOF
39945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39946 _ACEOF
39949 done
39951 else
39952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39953 $as_echo_n "checking for _float trig functions... " >&6; }
39954 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39955 $as_echo_n "(cached) " >&6
39956 else
39959 ac_ext=cpp
39960 ac_cpp='$CXXCPP $CPPFLAGS'
39961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39966 /* end confdefs.h. */
39967 #include <math.h>
39969 main ()
39971 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39973 return 0;
39975 _ACEOF
39976 if ac_fn_cxx_try_compile "$LINENO"; then :
39977 glibcxx_cv_func__float_trig_use=yes
39978 else
39979 glibcxx_cv_func__float_trig_use=no
39981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39982 ac_ext=c
39983 ac_cpp='$CPP $CPPFLAGS'
39984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39991 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39992 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39993 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39994 do :
39995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39997 eval as_val=\$$as_ac_var
39998 if test "x$as_val" = x""yes; then :
39999 cat >>confdefs.h <<_ACEOF
40000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40001 _ACEOF
40004 done
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40014 $as_echo_n "checking for float round functions... " >&6; }
40015 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40016 $as_echo_n "(cached) " >&6
40017 else
40020 ac_ext=cpp
40021 ac_cpp='$CXXCPP $CPPFLAGS'
40022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40027 /* end confdefs.h. */
40028 #include <math.h>
40030 main ()
40032 ceilf (0); floorf (0);
40034 return 0;
40036 _ACEOF
40037 if ac_fn_cxx_try_compile "$LINENO"; then :
40038 glibcxx_cv_func_float_round_use=yes
40039 else
40040 glibcxx_cv_func_float_round_use=no
40042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40043 ac_ext=c
40044 ac_cpp='$CPP $CPPFLAGS'
40045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40052 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40053 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40054 for ac_func in ceilf floorf
40055 do :
40056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40058 eval as_val=\$$as_ac_var
40059 if test "x$as_val" = x""yes; then :
40060 cat >>confdefs.h <<_ACEOF
40061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40062 _ACEOF
40065 done
40067 else
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40069 $as_echo_n "checking for _float round functions... " >&6; }
40070 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40071 $as_echo_n "(cached) " >&6
40072 else
40075 ac_ext=cpp
40076 ac_cpp='$CXXCPP $CPPFLAGS'
40077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40082 /* end confdefs.h. */
40083 #include <math.h>
40085 main ()
40087 _ceilf (0); _floorf (0);
40089 return 0;
40091 _ACEOF
40092 if ac_fn_cxx_try_compile "$LINENO"; then :
40093 glibcxx_cv_func__float_round_use=yes
40094 else
40095 glibcxx_cv_func__float_round_use=no
40097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40098 ac_ext=c
40099 ac_cpp='$CPP $CPPFLAGS'
40100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40107 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40108 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40109 for ac_func in _ceilf _floorf
40110 do :
40111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40113 eval as_val=\$$as_ac_var
40114 if test "x$as_val" = x""yes; then :
40115 cat >>confdefs.h <<_ACEOF
40116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40117 _ACEOF
40120 done
40130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40131 $as_echo_n "checking for expf declaration... " >&6; }
40132 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40133 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40134 $as_echo_n "(cached) " >&6
40135 else
40138 ac_ext=cpp
40139 ac_cpp='$CXXCPP $CPPFLAGS'
40140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40145 /* end confdefs.h. */
40146 #include <math.h>
40147 #ifdef HAVE_IEEEFP_H
40148 #include <ieeefp.h>
40149 #endif
40152 main ()
40154 expf(0);
40156 return 0;
40158 _ACEOF
40159 if ac_fn_cxx_try_compile "$LINENO"; then :
40160 glibcxx_cv_func_expf_use=yes
40161 else
40162 glibcxx_cv_func_expf_use=no
40164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40165 ac_ext=c
40166 ac_cpp='$CPP $CPPFLAGS'
40167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40176 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40178 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40179 for ac_func in expf
40180 do :
40181 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40182 if test "x$ac_cv_func_expf" = x""yes; then :
40183 cat >>confdefs.h <<_ACEOF
40184 #define HAVE_EXPF 1
40185 _ACEOF
40188 done
40190 else
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40193 $as_echo_n "checking for _expf declaration... " >&6; }
40194 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40195 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40196 $as_echo_n "(cached) " >&6
40197 else
40200 ac_ext=cpp
40201 ac_cpp='$CXXCPP $CPPFLAGS'
40202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40207 /* end confdefs.h. */
40208 #include <math.h>
40209 #ifdef HAVE_IEEEFP_H
40210 #include <ieeefp.h>
40211 #endif
40214 main ()
40216 _expf(0);
40218 return 0;
40220 _ACEOF
40221 if ac_fn_cxx_try_compile "$LINENO"; then :
40222 glibcxx_cv_func__expf_use=yes
40223 else
40224 glibcxx_cv_func__expf_use=no
40226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40227 ac_ext=c
40228 ac_cpp='$CPP $CPPFLAGS'
40229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40238 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40240 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40241 for ac_func in _expf
40242 do :
40243 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40244 if test "x$ac_cv_func__expf" = x""yes; then :
40245 cat >>confdefs.h <<_ACEOF
40246 #define HAVE__EXPF 1
40247 _ACEOF
40250 done
40259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40260 $as_echo_n "checking for isnanf declaration... " >&6; }
40261 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40262 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40263 $as_echo_n "(cached) " >&6
40264 else
40267 ac_ext=cpp
40268 ac_cpp='$CXXCPP $CPPFLAGS'
40269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40274 /* end confdefs.h. */
40275 #include <math.h>
40276 #ifdef HAVE_IEEEFP_H
40277 #include <ieeefp.h>
40278 #endif
40281 main ()
40283 isnanf(0);
40285 return 0;
40287 _ACEOF
40288 if ac_fn_cxx_try_compile "$LINENO"; then :
40289 glibcxx_cv_func_isnanf_use=yes
40290 else
40291 glibcxx_cv_func_isnanf_use=no
40293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40294 ac_ext=c
40295 ac_cpp='$CPP $CPPFLAGS'
40296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40305 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40307 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40308 for ac_func in isnanf
40309 do :
40310 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40311 if test "x$ac_cv_func_isnanf" = x""yes; then :
40312 cat >>confdefs.h <<_ACEOF
40313 #define HAVE_ISNANF 1
40314 _ACEOF
40317 done
40319 else
40321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40322 $as_echo_n "checking for _isnanf declaration... " >&6; }
40323 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40324 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40325 $as_echo_n "(cached) " >&6
40326 else
40329 ac_ext=cpp
40330 ac_cpp='$CXXCPP $CPPFLAGS'
40331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40336 /* end confdefs.h. */
40337 #include <math.h>
40338 #ifdef HAVE_IEEEFP_H
40339 #include <ieeefp.h>
40340 #endif
40343 main ()
40345 _isnanf(0);
40347 return 0;
40349 _ACEOF
40350 if ac_fn_cxx_try_compile "$LINENO"; then :
40351 glibcxx_cv_func__isnanf_use=yes
40352 else
40353 glibcxx_cv_func__isnanf_use=no
40355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40356 ac_ext=c
40357 ac_cpp='$CPP $CPPFLAGS'
40358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40367 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40369 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40370 for ac_func in _isnanf
40371 do :
40372 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40373 if test "x$ac_cv_func__isnanf" = x""yes; then :
40374 cat >>confdefs.h <<_ACEOF
40375 #define HAVE__ISNANF 1
40376 _ACEOF
40379 done
40388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40389 $as_echo_n "checking for isinff declaration... " >&6; }
40390 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40391 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40392 $as_echo_n "(cached) " >&6
40393 else
40396 ac_ext=cpp
40397 ac_cpp='$CXXCPP $CPPFLAGS'
40398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40403 /* end confdefs.h. */
40404 #include <math.h>
40405 #ifdef HAVE_IEEEFP_H
40406 #include <ieeefp.h>
40407 #endif
40410 main ()
40412 isinff(0);
40414 return 0;
40416 _ACEOF
40417 if ac_fn_cxx_try_compile "$LINENO"; then :
40418 glibcxx_cv_func_isinff_use=yes
40419 else
40420 glibcxx_cv_func_isinff_use=no
40422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40423 ac_ext=c
40424 ac_cpp='$CPP $CPPFLAGS'
40425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40434 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40436 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40437 for ac_func in isinff
40438 do :
40439 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40440 if test "x$ac_cv_func_isinff" = x""yes; then :
40441 cat >>confdefs.h <<_ACEOF
40442 #define HAVE_ISINFF 1
40443 _ACEOF
40446 done
40448 else
40450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40451 $as_echo_n "checking for _isinff declaration... " >&6; }
40452 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40453 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40454 $as_echo_n "(cached) " >&6
40455 else
40458 ac_ext=cpp
40459 ac_cpp='$CXXCPP $CPPFLAGS'
40460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40465 /* end confdefs.h. */
40466 #include <math.h>
40467 #ifdef HAVE_IEEEFP_H
40468 #include <ieeefp.h>
40469 #endif
40472 main ()
40474 _isinff(0);
40476 return 0;
40478 _ACEOF
40479 if ac_fn_cxx_try_compile "$LINENO"; then :
40480 glibcxx_cv_func__isinff_use=yes
40481 else
40482 glibcxx_cv_func__isinff_use=no
40484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40485 ac_ext=c
40486 ac_cpp='$CPP $CPPFLAGS'
40487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40496 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40498 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40499 for ac_func in _isinff
40500 do :
40501 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40502 if test "x$ac_cv_func__isinff" = x""yes; then :
40503 cat >>confdefs.h <<_ACEOF
40504 #define HAVE__ISINFF 1
40505 _ACEOF
40508 done
40517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40518 $as_echo_n "checking for atan2f declaration... " >&6; }
40519 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40520 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40521 $as_echo_n "(cached) " >&6
40522 else
40525 ac_ext=cpp
40526 ac_cpp='$CXXCPP $CPPFLAGS'
40527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40532 /* end confdefs.h. */
40533 #include <math.h>
40535 main ()
40537 atan2f(0, 0);
40539 return 0;
40541 _ACEOF
40542 if ac_fn_cxx_try_compile "$LINENO"; then :
40543 glibcxx_cv_func_atan2f_use=yes
40544 else
40545 glibcxx_cv_func_atan2f_use=no
40547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40548 ac_ext=c
40549 ac_cpp='$CPP $CPPFLAGS'
40550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40559 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40561 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40562 for ac_func in atan2f
40563 do :
40564 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40565 if test "x$ac_cv_func_atan2f" = x""yes; then :
40566 cat >>confdefs.h <<_ACEOF
40567 #define HAVE_ATAN2F 1
40568 _ACEOF
40571 done
40573 else
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40576 $as_echo_n "checking for _atan2f declaration... " >&6; }
40577 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40578 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40579 $as_echo_n "(cached) " >&6
40580 else
40583 ac_ext=cpp
40584 ac_cpp='$CXXCPP $CPPFLAGS'
40585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40590 /* end confdefs.h. */
40591 #include <math.h>
40593 main ()
40595 _atan2f(0, 0);
40597 return 0;
40599 _ACEOF
40600 if ac_fn_cxx_try_compile "$LINENO"; then :
40601 glibcxx_cv_func__atan2f_use=yes
40602 else
40603 glibcxx_cv_func__atan2f_use=no
40605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40606 ac_ext=c
40607 ac_cpp='$CPP $CPPFLAGS'
40608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40617 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40619 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40620 for ac_func in _atan2f
40621 do :
40622 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40623 if test "x$ac_cv_func__atan2f" = x""yes; then :
40624 cat >>confdefs.h <<_ACEOF
40625 #define HAVE__ATAN2F 1
40626 _ACEOF
40629 done
40638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40639 $as_echo_n "checking for fabsf declaration... " >&6; }
40640 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40641 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40642 $as_echo_n "(cached) " >&6
40643 else
40646 ac_ext=cpp
40647 ac_cpp='$CXXCPP $CPPFLAGS'
40648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40653 /* end confdefs.h. */
40654 #include <math.h>
40655 #ifdef HAVE_IEEEFP_H
40656 #include <ieeefp.h>
40657 #endif
40660 main ()
40662 fabsf(0);
40664 return 0;
40666 _ACEOF
40667 if ac_fn_cxx_try_compile "$LINENO"; then :
40668 glibcxx_cv_func_fabsf_use=yes
40669 else
40670 glibcxx_cv_func_fabsf_use=no
40672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40673 ac_ext=c
40674 ac_cpp='$CPP $CPPFLAGS'
40675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40684 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40686 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40687 for ac_func in fabsf
40688 do :
40689 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40690 if test "x$ac_cv_func_fabsf" = x""yes; then :
40691 cat >>confdefs.h <<_ACEOF
40692 #define HAVE_FABSF 1
40693 _ACEOF
40696 done
40698 else
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40701 $as_echo_n "checking for _fabsf declaration... " >&6; }
40702 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40703 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40704 $as_echo_n "(cached) " >&6
40705 else
40708 ac_ext=cpp
40709 ac_cpp='$CXXCPP $CPPFLAGS'
40710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40715 /* end confdefs.h. */
40716 #include <math.h>
40717 #ifdef HAVE_IEEEFP_H
40718 #include <ieeefp.h>
40719 #endif
40722 main ()
40724 _fabsf(0);
40726 return 0;
40728 _ACEOF
40729 if ac_fn_cxx_try_compile "$LINENO"; then :
40730 glibcxx_cv_func__fabsf_use=yes
40731 else
40732 glibcxx_cv_func__fabsf_use=no
40734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40735 ac_ext=c
40736 ac_cpp='$CPP $CPPFLAGS'
40737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40746 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40748 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40749 for ac_func in _fabsf
40750 do :
40751 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40752 if test "x$ac_cv_func__fabsf" = x""yes; then :
40753 cat >>confdefs.h <<_ACEOF
40754 #define HAVE__FABSF 1
40755 _ACEOF
40758 done
40767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40768 $as_echo_n "checking for fmodf declaration... " >&6; }
40769 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40770 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40771 $as_echo_n "(cached) " >&6
40772 else
40775 ac_ext=cpp
40776 ac_cpp='$CXXCPP $CPPFLAGS'
40777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40782 /* end confdefs.h. */
40783 #include <math.h>
40785 main ()
40787 fmodf(0, 0);
40789 return 0;
40791 _ACEOF
40792 if ac_fn_cxx_try_compile "$LINENO"; then :
40793 glibcxx_cv_func_fmodf_use=yes
40794 else
40795 glibcxx_cv_func_fmodf_use=no
40797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40798 ac_ext=c
40799 ac_cpp='$CPP $CPPFLAGS'
40800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40809 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40811 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40812 for ac_func in fmodf
40813 do :
40814 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40815 if test "x$ac_cv_func_fmodf" = x""yes; then :
40816 cat >>confdefs.h <<_ACEOF
40817 #define HAVE_FMODF 1
40818 _ACEOF
40821 done
40823 else
40825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40826 $as_echo_n "checking for _fmodf declaration... " >&6; }
40827 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40828 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40829 $as_echo_n "(cached) " >&6
40830 else
40833 ac_ext=cpp
40834 ac_cpp='$CXXCPP $CPPFLAGS'
40835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40840 /* end confdefs.h. */
40841 #include <math.h>
40843 main ()
40845 _fmodf(0, 0);
40847 return 0;
40849 _ACEOF
40850 if ac_fn_cxx_try_compile "$LINENO"; then :
40851 glibcxx_cv_func__fmodf_use=yes
40852 else
40853 glibcxx_cv_func__fmodf_use=no
40855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40856 ac_ext=c
40857 ac_cpp='$CPP $CPPFLAGS'
40858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40867 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40869 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40870 for ac_func in _fmodf
40871 do :
40872 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40873 if test "x$ac_cv_func__fmodf" = x""yes; then :
40874 cat >>confdefs.h <<_ACEOF
40875 #define HAVE__FMODF 1
40876 _ACEOF
40879 done
40888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40889 $as_echo_n "checking for frexpf declaration... " >&6; }
40890 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40891 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40892 $as_echo_n "(cached) " >&6
40893 else
40896 ac_ext=cpp
40897 ac_cpp='$CXXCPP $CPPFLAGS'
40898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40903 /* end confdefs.h. */
40904 #include <math.h>
40906 main ()
40908 frexpf(0, 0);
40910 return 0;
40912 _ACEOF
40913 if ac_fn_cxx_try_compile "$LINENO"; then :
40914 glibcxx_cv_func_frexpf_use=yes
40915 else
40916 glibcxx_cv_func_frexpf_use=no
40918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40919 ac_ext=c
40920 ac_cpp='$CPP $CPPFLAGS'
40921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40930 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40932 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40933 for ac_func in frexpf
40934 do :
40935 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40936 if test "x$ac_cv_func_frexpf" = x""yes; then :
40937 cat >>confdefs.h <<_ACEOF
40938 #define HAVE_FREXPF 1
40939 _ACEOF
40942 done
40944 else
40946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40947 $as_echo_n "checking for _frexpf declaration... " >&6; }
40948 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40949 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40950 $as_echo_n "(cached) " >&6
40951 else
40954 ac_ext=cpp
40955 ac_cpp='$CXXCPP $CPPFLAGS'
40956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40961 /* end confdefs.h. */
40962 #include <math.h>
40964 main ()
40966 _frexpf(0, 0);
40968 return 0;
40970 _ACEOF
40971 if ac_fn_cxx_try_compile "$LINENO"; then :
40972 glibcxx_cv_func__frexpf_use=yes
40973 else
40974 glibcxx_cv_func__frexpf_use=no
40976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40977 ac_ext=c
40978 ac_cpp='$CPP $CPPFLAGS'
40979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40988 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40990 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40991 for ac_func in _frexpf
40992 do :
40993 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40994 if test "x$ac_cv_func__frexpf" = x""yes; then :
40995 cat >>confdefs.h <<_ACEOF
40996 #define HAVE__FREXPF 1
40997 _ACEOF
41000 done
41009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41010 $as_echo_n "checking for hypotf declaration... " >&6; }
41011 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41012 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41013 $as_echo_n "(cached) " >&6
41014 else
41017 ac_ext=cpp
41018 ac_cpp='$CXXCPP $CPPFLAGS'
41019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41024 /* end confdefs.h. */
41025 #include <math.h>
41027 main ()
41029 hypotf(0, 0);
41031 return 0;
41033 _ACEOF
41034 if ac_fn_cxx_try_compile "$LINENO"; then :
41035 glibcxx_cv_func_hypotf_use=yes
41036 else
41037 glibcxx_cv_func_hypotf_use=no
41039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41040 ac_ext=c
41041 ac_cpp='$CPP $CPPFLAGS'
41042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41051 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41053 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41054 for ac_func in hypotf
41055 do :
41056 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41057 if test "x$ac_cv_func_hypotf" = x""yes; then :
41058 cat >>confdefs.h <<_ACEOF
41059 #define HAVE_HYPOTF 1
41060 _ACEOF
41063 done
41065 else
41067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41068 $as_echo_n "checking for _hypotf declaration... " >&6; }
41069 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41070 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41071 $as_echo_n "(cached) " >&6
41072 else
41075 ac_ext=cpp
41076 ac_cpp='$CXXCPP $CPPFLAGS'
41077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41082 /* end confdefs.h. */
41083 #include <math.h>
41085 main ()
41087 _hypotf(0, 0);
41089 return 0;
41091 _ACEOF
41092 if ac_fn_cxx_try_compile "$LINENO"; then :
41093 glibcxx_cv_func__hypotf_use=yes
41094 else
41095 glibcxx_cv_func__hypotf_use=no
41097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41098 ac_ext=c
41099 ac_cpp='$CPP $CPPFLAGS'
41100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41109 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41111 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41112 for ac_func in _hypotf
41113 do :
41114 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41115 if test "x$ac_cv_func__hypotf" = x""yes; then :
41116 cat >>confdefs.h <<_ACEOF
41117 #define HAVE__HYPOTF 1
41118 _ACEOF
41121 done
41130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41131 $as_echo_n "checking for ldexpf declaration... " >&6; }
41132 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41133 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41134 $as_echo_n "(cached) " >&6
41135 else
41138 ac_ext=cpp
41139 ac_cpp='$CXXCPP $CPPFLAGS'
41140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41145 /* end confdefs.h. */
41146 #include <math.h>
41148 main ()
41150 ldexpf(0, 0);
41152 return 0;
41154 _ACEOF
41155 if ac_fn_cxx_try_compile "$LINENO"; then :
41156 glibcxx_cv_func_ldexpf_use=yes
41157 else
41158 glibcxx_cv_func_ldexpf_use=no
41160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41161 ac_ext=c
41162 ac_cpp='$CPP $CPPFLAGS'
41163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41172 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41174 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41175 for ac_func in ldexpf
41176 do :
41177 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41178 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41179 cat >>confdefs.h <<_ACEOF
41180 #define HAVE_LDEXPF 1
41181 _ACEOF
41184 done
41186 else
41188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41189 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41190 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41191 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41192 $as_echo_n "(cached) " >&6
41193 else
41196 ac_ext=cpp
41197 ac_cpp='$CXXCPP $CPPFLAGS'
41198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41203 /* end confdefs.h. */
41204 #include <math.h>
41206 main ()
41208 _ldexpf(0, 0);
41210 return 0;
41212 _ACEOF
41213 if ac_fn_cxx_try_compile "$LINENO"; then :
41214 glibcxx_cv_func__ldexpf_use=yes
41215 else
41216 glibcxx_cv_func__ldexpf_use=no
41218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41219 ac_ext=c
41220 ac_cpp='$CPP $CPPFLAGS'
41221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41230 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41232 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41233 for ac_func in _ldexpf
41234 do :
41235 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41236 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41237 cat >>confdefs.h <<_ACEOF
41238 #define HAVE__LDEXPF 1
41239 _ACEOF
41242 done
41251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41252 $as_echo_n "checking for logf declaration... " >&6; }
41253 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41254 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41255 $as_echo_n "(cached) " >&6
41256 else
41259 ac_ext=cpp
41260 ac_cpp='$CXXCPP $CPPFLAGS'
41261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41266 /* end confdefs.h. */
41267 #include <math.h>
41268 #ifdef HAVE_IEEEFP_H
41269 #include <ieeefp.h>
41270 #endif
41273 main ()
41275 logf(0);
41277 return 0;
41279 _ACEOF
41280 if ac_fn_cxx_try_compile "$LINENO"; then :
41281 glibcxx_cv_func_logf_use=yes
41282 else
41283 glibcxx_cv_func_logf_use=no
41285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41286 ac_ext=c
41287 ac_cpp='$CPP $CPPFLAGS'
41288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41297 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41299 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41300 for ac_func in logf
41301 do :
41302 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41303 if test "x$ac_cv_func_logf" = x""yes; then :
41304 cat >>confdefs.h <<_ACEOF
41305 #define HAVE_LOGF 1
41306 _ACEOF
41309 done
41311 else
41313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41314 $as_echo_n "checking for _logf declaration... " >&6; }
41315 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41316 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41317 $as_echo_n "(cached) " >&6
41318 else
41321 ac_ext=cpp
41322 ac_cpp='$CXXCPP $CPPFLAGS'
41323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41328 /* end confdefs.h. */
41329 #include <math.h>
41330 #ifdef HAVE_IEEEFP_H
41331 #include <ieeefp.h>
41332 #endif
41335 main ()
41337 _logf(0);
41339 return 0;
41341 _ACEOF
41342 if ac_fn_cxx_try_compile "$LINENO"; then :
41343 glibcxx_cv_func__logf_use=yes
41344 else
41345 glibcxx_cv_func__logf_use=no
41347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41348 ac_ext=c
41349 ac_cpp='$CPP $CPPFLAGS'
41350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41359 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41361 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41362 for ac_func in _logf
41363 do :
41364 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41365 if test "x$ac_cv_func__logf" = x""yes; then :
41366 cat >>confdefs.h <<_ACEOF
41367 #define HAVE__LOGF 1
41368 _ACEOF
41371 done
41380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41381 $as_echo_n "checking for log10f declaration... " >&6; }
41382 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41383 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41384 $as_echo_n "(cached) " >&6
41385 else
41388 ac_ext=cpp
41389 ac_cpp='$CXXCPP $CPPFLAGS'
41390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41395 /* end confdefs.h. */
41396 #include <math.h>
41397 #ifdef HAVE_IEEEFP_H
41398 #include <ieeefp.h>
41399 #endif
41402 main ()
41404 log10f(0);
41406 return 0;
41408 _ACEOF
41409 if ac_fn_cxx_try_compile "$LINENO"; then :
41410 glibcxx_cv_func_log10f_use=yes
41411 else
41412 glibcxx_cv_func_log10f_use=no
41414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41415 ac_ext=c
41416 ac_cpp='$CPP $CPPFLAGS'
41417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41426 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41428 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41429 for ac_func in log10f
41430 do :
41431 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41432 if test "x$ac_cv_func_log10f" = x""yes; then :
41433 cat >>confdefs.h <<_ACEOF
41434 #define HAVE_LOG10F 1
41435 _ACEOF
41438 done
41440 else
41442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41443 $as_echo_n "checking for _log10f declaration... " >&6; }
41444 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41445 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41446 $as_echo_n "(cached) " >&6
41447 else
41450 ac_ext=cpp
41451 ac_cpp='$CXXCPP $CPPFLAGS'
41452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41457 /* end confdefs.h. */
41458 #include <math.h>
41459 #ifdef HAVE_IEEEFP_H
41460 #include <ieeefp.h>
41461 #endif
41464 main ()
41466 _log10f(0);
41468 return 0;
41470 _ACEOF
41471 if ac_fn_cxx_try_compile "$LINENO"; then :
41472 glibcxx_cv_func__log10f_use=yes
41473 else
41474 glibcxx_cv_func__log10f_use=no
41476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41477 ac_ext=c
41478 ac_cpp='$CPP $CPPFLAGS'
41479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41488 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41490 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41491 for ac_func in _log10f
41492 do :
41493 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41494 if test "x$ac_cv_func__log10f" = x""yes; then :
41495 cat >>confdefs.h <<_ACEOF
41496 #define HAVE__LOG10F 1
41497 _ACEOF
41500 done
41509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41510 $as_echo_n "checking for modff declaration... " >&6; }
41511 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41512 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41513 $as_echo_n "(cached) " >&6
41514 else
41517 ac_ext=cpp
41518 ac_cpp='$CXXCPP $CPPFLAGS'
41519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41524 /* end confdefs.h. */
41525 #include <math.h>
41527 main ()
41529 modff(0, 0);
41531 return 0;
41533 _ACEOF
41534 if ac_fn_cxx_try_compile "$LINENO"; then :
41535 glibcxx_cv_func_modff_use=yes
41536 else
41537 glibcxx_cv_func_modff_use=no
41539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41540 ac_ext=c
41541 ac_cpp='$CPP $CPPFLAGS'
41542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41551 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41553 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41554 for ac_func in modff
41555 do :
41556 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41557 if test "x$ac_cv_func_modff" = x""yes; then :
41558 cat >>confdefs.h <<_ACEOF
41559 #define HAVE_MODFF 1
41560 _ACEOF
41563 done
41565 else
41567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41568 $as_echo_n "checking for _modff declaration... " >&6; }
41569 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41570 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41571 $as_echo_n "(cached) " >&6
41572 else
41575 ac_ext=cpp
41576 ac_cpp='$CXXCPP $CPPFLAGS'
41577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41582 /* end confdefs.h. */
41583 #include <math.h>
41585 main ()
41587 _modff(0, 0);
41589 return 0;
41591 _ACEOF
41592 if ac_fn_cxx_try_compile "$LINENO"; then :
41593 glibcxx_cv_func__modff_use=yes
41594 else
41595 glibcxx_cv_func__modff_use=no
41597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41598 ac_ext=c
41599 ac_cpp='$CPP $CPPFLAGS'
41600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41609 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41611 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41612 for ac_func in _modff
41613 do :
41614 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41615 if test "x$ac_cv_func__modff" = x""yes; then :
41616 cat >>confdefs.h <<_ACEOF
41617 #define HAVE__MODFF 1
41618 _ACEOF
41621 done
41630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41631 $as_echo_n "checking for modf declaration... " >&6; }
41632 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41633 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41634 $as_echo_n "(cached) " >&6
41635 else
41638 ac_ext=cpp
41639 ac_cpp='$CXXCPP $CPPFLAGS'
41640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41645 /* end confdefs.h. */
41646 #include <math.h>
41648 main ()
41650 modf(0, 0);
41652 return 0;
41654 _ACEOF
41655 if ac_fn_cxx_try_compile "$LINENO"; then :
41656 glibcxx_cv_func_modf_use=yes
41657 else
41658 glibcxx_cv_func_modf_use=no
41660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41661 ac_ext=c
41662 ac_cpp='$CPP $CPPFLAGS'
41663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41672 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41674 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41675 for ac_func in modf
41676 do :
41677 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41678 if test "x$ac_cv_func_modf" = x""yes; then :
41679 cat >>confdefs.h <<_ACEOF
41680 #define HAVE_MODF 1
41681 _ACEOF
41684 done
41686 else
41688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41689 $as_echo_n "checking for _modf declaration... " >&6; }
41690 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41691 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41692 $as_echo_n "(cached) " >&6
41693 else
41696 ac_ext=cpp
41697 ac_cpp='$CXXCPP $CPPFLAGS'
41698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41703 /* end confdefs.h. */
41704 #include <math.h>
41706 main ()
41708 _modf(0, 0);
41710 return 0;
41712 _ACEOF
41713 if ac_fn_cxx_try_compile "$LINENO"; then :
41714 glibcxx_cv_func__modf_use=yes
41715 else
41716 glibcxx_cv_func__modf_use=no
41718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41719 ac_ext=c
41720 ac_cpp='$CPP $CPPFLAGS'
41721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41730 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41732 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41733 for ac_func in _modf
41734 do :
41735 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41736 if test "x$ac_cv_func__modf" = x""yes; then :
41737 cat >>confdefs.h <<_ACEOF
41738 #define HAVE__MODF 1
41739 _ACEOF
41742 done
41751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41752 $as_echo_n "checking for powf declaration... " >&6; }
41753 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41754 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41755 $as_echo_n "(cached) " >&6
41756 else
41759 ac_ext=cpp
41760 ac_cpp='$CXXCPP $CPPFLAGS'
41761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41766 /* end confdefs.h. */
41767 #include <math.h>
41769 main ()
41771 powf(0, 0);
41773 return 0;
41775 _ACEOF
41776 if ac_fn_cxx_try_compile "$LINENO"; then :
41777 glibcxx_cv_func_powf_use=yes
41778 else
41779 glibcxx_cv_func_powf_use=no
41781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41782 ac_ext=c
41783 ac_cpp='$CPP $CPPFLAGS'
41784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41793 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41795 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41796 for ac_func in powf
41797 do :
41798 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41799 if test "x$ac_cv_func_powf" = x""yes; then :
41800 cat >>confdefs.h <<_ACEOF
41801 #define HAVE_POWF 1
41802 _ACEOF
41805 done
41807 else
41809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41810 $as_echo_n "checking for _powf declaration... " >&6; }
41811 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41812 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41813 $as_echo_n "(cached) " >&6
41814 else
41817 ac_ext=cpp
41818 ac_cpp='$CXXCPP $CPPFLAGS'
41819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41824 /* end confdefs.h. */
41825 #include <math.h>
41827 main ()
41829 _powf(0, 0);
41831 return 0;
41833 _ACEOF
41834 if ac_fn_cxx_try_compile "$LINENO"; then :
41835 glibcxx_cv_func__powf_use=yes
41836 else
41837 glibcxx_cv_func__powf_use=no
41839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41840 ac_ext=c
41841 ac_cpp='$CPP $CPPFLAGS'
41842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41851 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41853 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41854 for ac_func in _powf
41855 do :
41856 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41857 if test "x$ac_cv_func__powf" = x""yes; then :
41858 cat >>confdefs.h <<_ACEOF
41859 #define HAVE__POWF 1
41860 _ACEOF
41863 done
41872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41873 $as_echo_n "checking for sqrtf declaration... " >&6; }
41874 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41875 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41876 $as_echo_n "(cached) " >&6
41877 else
41880 ac_ext=cpp
41881 ac_cpp='$CXXCPP $CPPFLAGS'
41882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41887 /* end confdefs.h. */
41888 #include <math.h>
41889 #ifdef HAVE_IEEEFP_H
41890 #include <ieeefp.h>
41891 #endif
41894 main ()
41896 sqrtf(0);
41898 return 0;
41900 _ACEOF
41901 if ac_fn_cxx_try_compile "$LINENO"; then :
41902 glibcxx_cv_func_sqrtf_use=yes
41903 else
41904 glibcxx_cv_func_sqrtf_use=no
41906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41907 ac_ext=c
41908 ac_cpp='$CPP $CPPFLAGS'
41909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41918 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41920 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41921 for ac_func in sqrtf
41922 do :
41923 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41924 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41925 cat >>confdefs.h <<_ACEOF
41926 #define HAVE_SQRTF 1
41927 _ACEOF
41930 done
41932 else
41934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41935 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41936 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41937 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41938 $as_echo_n "(cached) " >&6
41939 else
41942 ac_ext=cpp
41943 ac_cpp='$CXXCPP $CPPFLAGS'
41944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41949 /* end confdefs.h. */
41950 #include <math.h>
41951 #ifdef HAVE_IEEEFP_H
41952 #include <ieeefp.h>
41953 #endif
41956 main ()
41958 _sqrtf(0);
41960 return 0;
41962 _ACEOF
41963 if ac_fn_cxx_try_compile "$LINENO"; then :
41964 glibcxx_cv_func__sqrtf_use=yes
41965 else
41966 glibcxx_cv_func__sqrtf_use=no
41968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41969 ac_ext=c
41970 ac_cpp='$CPP $CPPFLAGS'
41971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41980 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41982 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41983 for ac_func in _sqrtf
41984 do :
41985 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41986 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41987 cat >>confdefs.h <<_ACEOF
41988 #define HAVE__SQRTF 1
41989 _ACEOF
41992 done
42001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42002 $as_echo_n "checking for sincosf declaration... " >&6; }
42003 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42004 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42005 $as_echo_n "(cached) " >&6
42006 else
42009 ac_ext=cpp
42010 ac_cpp='$CXXCPP $CPPFLAGS'
42011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42016 /* end confdefs.h. */
42017 #include <math.h>
42019 main ()
42021 sincosf(0, 0, 0);
42023 return 0;
42025 _ACEOF
42026 if ac_fn_cxx_try_compile "$LINENO"; then :
42027 glibcxx_cv_func_sincosf_use=yes
42028 else
42029 glibcxx_cv_func_sincosf_use=no
42031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42032 ac_ext=c
42033 ac_cpp='$CPP $CPPFLAGS'
42034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42043 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42045 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42046 for ac_func in sincosf
42047 do :
42048 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42049 if test "x$ac_cv_func_sincosf" = x""yes; then :
42050 cat >>confdefs.h <<_ACEOF
42051 #define HAVE_SINCOSF 1
42052 _ACEOF
42055 done
42057 else
42059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42060 $as_echo_n "checking for _sincosf declaration... " >&6; }
42061 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42062 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42063 $as_echo_n "(cached) " >&6
42064 else
42067 ac_ext=cpp
42068 ac_cpp='$CXXCPP $CPPFLAGS'
42069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42074 /* end confdefs.h. */
42075 #include <math.h>
42077 main ()
42079 _sincosf(0, 0, 0);
42081 return 0;
42083 _ACEOF
42084 if ac_fn_cxx_try_compile "$LINENO"; then :
42085 glibcxx_cv_func__sincosf_use=yes
42086 else
42087 glibcxx_cv_func__sincosf_use=no
42089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42090 ac_ext=c
42091 ac_cpp='$CPP $CPPFLAGS'
42092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42101 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42103 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42104 for ac_func in _sincosf
42105 do :
42106 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42107 if test "x$ac_cv_func__sincosf" = x""yes; then :
42108 cat >>confdefs.h <<_ACEOF
42109 #define HAVE__SINCOSF 1
42110 _ACEOF
42113 done
42122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42123 $as_echo_n "checking for finitef declaration... " >&6; }
42124 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42125 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42126 $as_echo_n "(cached) " >&6
42127 else
42130 ac_ext=cpp
42131 ac_cpp='$CXXCPP $CPPFLAGS'
42132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42137 /* end confdefs.h. */
42138 #include <math.h>
42139 #ifdef HAVE_IEEEFP_H
42140 #include <ieeefp.h>
42141 #endif
42144 main ()
42146 finitef(0);
42148 return 0;
42150 _ACEOF
42151 if ac_fn_cxx_try_compile "$LINENO"; then :
42152 glibcxx_cv_func_finitef_use=yes
42153 else
42154 glibcxx_cv_func_finitef_use=no
42156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42157 ac_ext=c
42158 ac_cpp='$CPP $CPPFLAGS'
42159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42168 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42170 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42171 for ac_func in finitef
42172 do :
42173 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42174 if test "x$ac_cv_func_finitef" = x""yes; then :
42175 cat >>confdefs.h <<_ACEOF
42176 #define HAVE_FINITEF 1
42177 _ACEOF
42180 done
42182 else
42184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42185 $as_echo_n "checking for _finitef declaration... " >&6; }
42186 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42187 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42188 $as_echo_n "(cached) " >&6
42189 else
42192 ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h. */
42200 #include <math.h>
42201 #ifdef HAVE_IEEEFP_H
42202 #include <ieeefp.h>
42203 #endif
42206 main ()
42208 _finitef(0);
42210 return 0;
42212 _ACEOF
42213 if ac_fn_cxx_try_compile "$LINENO"; then :
42214 glibcxx_cv_func__finitef_use=yes
42215 else
42216 glibcxx_cv_func__finitef_use=no
42218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42219 ac_ext=c
42220 ac_cpp='$CPP $CPPFLAGS'
42221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42230 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42232 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42233 for ac_func in _finitef
42234 do :
42235 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42236 if test "x$ac_cv_func__finitef" = x""yes; then :
42237 cat >>confdefs.h <<_ACEOF
42238 #define HAVE__FINITEF 1
42239 _ACEOF
42242 done
42251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42252 $as_echo_n "checking for long double trig functions... " >&6; }
42253 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42254 $as_echo_n "(cached) " >&6
42255 else
42258 ac_ext=cpp
42259 ac_cpp='$CXXCPP $CPPFLAGS'
42260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42265 /* end confdefs.h. */
42266 #include <math.h>
42268 main ()
42270 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42272 return 0;
42274 _ACEOF
42275 if ac_fn_cxx_try_compile "$LINENO"; then :
42276 glibcxx_cv_func_long_double_trig_use=yes
42277 else
42278 glibcxx_cv_func_long_double_trig_use=no
42280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42281 ac_ext=c
42282 ac_cpp='$CPP $CPPFLAGS'
42283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42290 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42291 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42292 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42293 do :
42294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42296 eval as_val=\$$as_ac_var
42297 if test "x$as_val" = x""yes; then :
42298 cat >>confdefs.h <<_ACEOF
42299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42300 _ACEOF
42303 done
42305 else
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42307 $as_echo_n "checking for _long double trig functions... " >&6; }
42308 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42309 $as_echo_n "(cached) " >&6
42310 else
42313 ac_ext=cpp
42314 ac_cpp='$CXXCPP $CPPFLAGS'
42315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42320 /* end confdefs.h. */
42321 #include <math.h>
42323 main ()
42325 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42327 return 0;
42329 _ACEOF
42330 if ac_fn_cxx_try_compile "$LINENO"; then :
42331 glibcxx_cv_func__long_double_trig_use=yes
42332 else
42333 glibcxx_cv_func__long_double_trig_use=no
42335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42336 ac_ext=c
42337 ac_cpp='$CPP $CPPFLAGS'
42338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42345 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42346 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42347 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42348 do :
42349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42351 eval as_val=\$$as_ac_var
42352 if test "x$as_val" = x""yes; then :
42353 cat >>confdefs.h <<_ACEOF
42354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42355 _ACEOF
42358 done
42367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42368 $as_echo_n "checking for long double round functions... " >&6; }
42369 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42370 $as_echo_n "(cached) " >&6
42371 else
42374 ac_ext=cpp
42375 ac_cpp='$CXXCPP $CPPFLAGS'
42376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42381 /* end confdefs.h. */
42382 #include <math.h>
42384 main ()
42386 ceill (0); floorl (0);
42388 return 0;
42390 _ACEOF
42391 if ac_fn_cxx_try_compile "$LINENO"; then :
42392 glibcxx_cv_func_long_double_round_use=yes
42393 else
42394 glibcxx_cv_func_long_double_round_use=no
42396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42397 ac_ext=c
42398 ac_cpp='$CPP $CPPFLAGS'
42399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42406 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42407 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42408 for ac_func in ceill floorl
42409 do :
42410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42412 eval as_val=\$$as_ac_var
42413 if test "x$as_val" = x""yes; then :
42414 cat >>confdefs.h <<_ACEOF
42415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42416 _ACEOF
42419 done
42421 else
42422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42423 $as_echo_n "checking for _long double round functions... " >&6; }
42424 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42425 $as_echo_n "(cached) " >&6
42426 else
42429 ac_ext=cpp
42430 ac_cpp='$CXXCPP $CPPFLAGS'
42431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42436 /* end confdefs.h. */
42437 #include <math.h>
42439 main ()
42441 _ceill (0); _floorl (0);
42443 return 0;
42445 _ACEOF
42446 if ac_fn_cxx_try_compile "$LINENO"; then :
42447 glibcxx_cv_func__long_double_round_use=yes
42448 else
42449 glibcxx_cv_func__long_double_round_use=no
42451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42452 ac_ext=c
42453 ac_cpp='$CPP $CPPFLAGS'
42454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42461 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42462 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42463 for ac_func in _ceill _floorl
42464 do :
42465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42467 eval as_val=\$$as_ac_var
42468 if test "x$as_val" = x""yes; then :
42469 cat >>confdefs.h <<_ACEOF
42470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42471 _ACEOF
42474 done
42484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42485 $as_echo_n "checking for isnanl declaration... " >&6; }
42486 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42487 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42488 $as_echo_n "(cached) " >&6
42489 else
42492 ac_ext=cpp
42493 ac_cpp='$CXXCPP $CPPFLAGS'
42494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42499 /* end confdefs.h. */
42500 #include <math.h>
42501 #ifdef HAVE_IEEEFP_H
42502 #include <ieeefp.h>
42503 #endif
42506 main ()
42508 isnanl(0);
42510 return 0;
42512 _ACEOF
42513 if ac_fn_cxx_try_compile "$LINENO"; then :
42514 glibcxx_cv_func_isnanl_use=yes
42515 else
42516 glibcxx_cv_func_isnanl_use=no
42518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42519 ac_ext=c
42520 ac_cpp='$CPP $CPPFLAGS'
42521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42530 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42532 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42533 for ac_func in isnanl
42534 do :
42535 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42536 if test "x$ac_cv_func_isnanl" = x""yes; then :
42537 cat >>confdefs.h <<_ACEOF
42538 #define HAVE_ISNANL 1
42539 _ACEOF
42542 done
42544 else
42546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42547 $as_echo_n "checking for _isnanl declaration... " >&6; }
42548 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42549 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42550 $as_echo_n "(cached) " >&6
42551 else
42554 ac_ext=cpp
42555 ac_cpp='$CXXCPP $CPPFLAGS'
42556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42561 /* end confdefs.h. */
42562 #include <math.h>
42563 #ifdef HAVE_IEEEFP_H
42564 #include <ieeefp.h>
42565 #endif
42568 main ()
42570 _isnanl(0);
42572 return 0;
42574 _ACEOF
42575 if ac_fn_cxx_try_compile "$LINENO"; then :
42576 glibcxx_cv_func__isnanl_use=yes
42577 else
42578 glibcxx_cv_func__isnanl_use=no
42580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42581 ac_ext=c
42582 ac_cpp='$CPP $CPPFLAGS'
42583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42592 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42594 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42595 for ac_func in _isnanl
42596 do :
42597 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42598 if test "x$ac_cv_func__isnanl" = x""yes; then :
42599 cat >>confdefs.h <<_ACEOF
42600 #define HAVE__ISNANL 1
42601 _ACEOF
42604 done
42613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42614 $as_echo_n "checking for isinfl declaration... " >&6; }
42615 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42616 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42617 $as_echo_n "(cached) " >&6
42618 else
42621 ac_ext=cpp
42622 ac_cpp='$CXXCPP $CPPFLAGS'
42623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42628 /* end confdefs.h. */
42629 #include <math.h>
42630 #ifdef HAVE_IEEEFP_H
42631 #include <ieeefp.h>
42632 #endif
42635 main ()
42637 isinfl(0);
42639 return 0;
42641 _ACEOF
42642 if ac_fn_cxx_try_compile "$LINENO"; then :
42643 glibcxx_cv_func_isinfl_use=yes
42644 else
42645 glibcxx_cv_func_isinfl_use=no
42647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42648 ac_ext=c
42649 ac_cpp='$CPP $CPPFLAGS'
42650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42659 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42661 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42662 for ac_func in isinfl
42663 do :
42664 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42665 if test "x$ac_cv_func_isinfl" = x""yes; then :
42666 cat >>confdefs.h <<_ACEOF
42667 #define HAVE_ISINFL 1
42668 _ACEOF
42671 done
42673 else
42675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42676 $as_echo_n "checking for _isinfl declaration... " >&6; }
42677 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42678 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42679 $as_echo_n "(cached) " >&6
42680 else
42683 ac_ext=cpp
42684 ac_cpp='$CXXCPP $CPPFLAGS'
42685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42690 /* end confdefs.h. */
42691 #include <math.h>
42692 #ifdef HAVE_IEEEFP_H
42693 #include <ieeefp.h>
42694 #endif
42697 main ()
42699 _isinfl(0);
42701 return 0;
42703 _ACEOF
42704 if ac_fn_cxx_try_compile "$LINENO"; then :
42705 glibcxx_cv_func__isinfl_use=yes
42706 else
42707 glibcxx_cv_func__isinfl_use=no
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710 ac_ext=c
42711 ac_cpp='$CPP $CPPFLAGS'
42712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42721 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42723 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42724 for ac_func in _isinfl
42725 do :
42726 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42727 if test "x$ac_cv_func__isinfl" = x""yes; then :
42728 cat >>confdefs.h <<_ACEOF
42729 #define HAVE__ISINFL 1
42730 _ACEOF
42733 done
42742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42743 $as_echo_n "checking for atan2l declaration... " >&6; }
42744 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42745 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42746 $as_echo_n "(cached) " >&6
42747 else
42750 ac_ext=cpp
42751 ac_cpp='$CXXCPP $CPPFLAGS'
42752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42757 /* end confdefs.h. */
42758 #include <math.h>
42760 main ()
42762 atan2l(0, 0);
42764 return 0;
42766 _ACEOF
42767 if ac_fn_cxx_try_compile "$LINENO"; then :
42768 glibcxx_cv_func_atan2l_use=yes
42769 else
42770 glibcxx_cv_func_atan2l_use=no
42772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42773 ac_ext=c
42774 ac_cpp='$CPP $CPPFLAGS'
42775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42784 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42786 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42787 for ac_func in atan2l
42788 do :
42789 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42790 if test "x$ac_cv_func_atan2l" = x""yes; then :
42791 cat >>confdefs.h <<_ACEOF
42792 #define HAVE_ATAN2L 1
42793 _ACEOF
42796 done
42798 else
42800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42801 $as_echo_n "checking for _atan2l declaration... " >&6; }
42802 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42803 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42804 $as_echo_n "(cached) " >&6
42805 else
42808 ac_ext=cpp
42809 ac_cpp='$CXXCPP $CPPFLAGS'
42810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42815 /* end confdefs.h. */
42816 #include <math.h>
42818 main ()
42820 _atan2l(0, 0);
42822 return 0;
42824 _ACEOF
42825 if ac_fn_cxx_try_compile "$LINENO"; then :
42826 glibcxx_cv_func__atan2l_use=yes
42827 else
42828 glibcxx_cv_func__atan2l_use=no
42830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42831 ac_ext=c
42832 ac_cpp='$CPP $CPPFLAGS'
42833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42842 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42844 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42845 for ac_func in _atan2l
42846 do :
42847 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42848 if test "x$ac_cv_func__atan2l" = x""yes; then :
42849 cat >>confdefs.h <<_ACEOF
42850 #define HAVE__ATAN2L 1
42851 _ACEOF
42854 done
42863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42864 $as_echo_n "checking for expl declaration... " >&6; }
42865 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42866 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42867 $as_echo_n "(cached) " >&6
42868 else
42871 ac_ext=cpp
42872 ac_cpp='$CXXCPP $CPPFLAGS'
42873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42878 /* end confdefs.h. */
42879 #include <math.h>
42880 #ifdef HAVE_IEEEFP_H
42881 #include <ieeefp.h>
42882 #endif
42885 main ()
42887 expl(0);
42889 return 0;
42891 _ACEOF
42892 if ac_fn_cxx_try_compile "$LINENO"; then :
42893 glibcxx_cv_func_expl_use=yes
42894 else
42895 glibcxx_cv_func_expl_use=no
42897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42898 ac_ext=c
42899 ac_cpp='$CPP $CPPFLAGS'
42900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42909 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42911 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42912 for ac_func in expl
42913 do :
42914 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42915 if test "x$ac_cv_func_expl" = x""yes; then :
42916 cat >>confdefs.h <<_ACEOF
42917 #define HAVE_EXPL 1
42918 _ACEOF
42921 done
42923 else
42925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42926 $as_echo_n "checking for _expl declaration... " >&6; }
42927 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42928 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42929 $as_echo_n "(cached) " >&6
42930 else
42933 ac_ext=cpp
42934 ac_cpp='$CXXCPP $CPPFLAGS'
42935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42940 /* end confdefs.h. */
42941 #include <math.h>
42942 #ifdef HAVE_IEEEFP_H
42943 #include <ieeefp.h>
42944 #endif
42947 main ()
42949 _expl(0);
42951 return 0;
42953 _ACEOF
42954 if ac_fn_cxx_try_compile "$LINENO"; then :
42955 glibcxx_cv_func__expl_use=yes
42956 else
42957 glibcxx_cv_func__expl_use=no
42959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42960 ac_ext=c
42961 ac_cpp='$CPP $CPPFLAGS'
42962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42971 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42973 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42974 for ac_func in _expl
42975 do :
42976 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42977 if test "x$ac_cv_func__expl" = x""yes; then :
42978 cat >>confdefs.h <<_ACEOF
42979 #define HAVE__EXPL 1
42980 _ACEOF
42983 done
42992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42993 $as_echo_n "checking for fabsl declaration... " >&6; }
42994 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42995 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42996 $as_echo_n "(cached) " >&6
42997 else
43000 ac_ext=cpp
43001 ac_cpp='$CXXCPP $CPPFLAGS'
43002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43007 /* end confdefs.h. */
43008 #include <math.h>
43009 #ifdef HAVE_IEEEFP_H
43010 #include <ieeefp.h>
43011 #endif
43014 main ()
43016 fabsl(0);
43018 return 0;
43020 _ACEOF
43021 if ac_fn_cxx_try_compile "$LINENO"; then :
43022 glibcxx_cv_func_fabsl_use=yes
43023 else
43024 glibcxx_cv_func_fabsl_use=no
43026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43027 ac_ext=c
43028 ac_cpp='$CPP $CPPFLAGS'
43029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43038 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43040 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43041 for ac_func in fabsl
43042 do :
43043 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43044 if test "x$ac_cv_func_fabsl" = x""yes; then :
43045 cat >>confdefs.h <<_ACEOF
43046 #define HAVE_FABSL 1
43047 _ACEOF
43050 done
43052 else
43054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43055 $as_echo_n "checking for _fabsl declaration... " >&6; }
43056 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43057 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43058 $as_echo_n "(cached) " >&6
43059 else
43062 ac_ext=cpp
43063 ac_cpp='$CXXCPP $CPPFLAGS'
43064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43069 /* end confdefs.h. */
43070 #include <math.h>
43071 #ifdef HAVE_IEEEFP_H
43072 #include <ieeefp.h>
43073 #endif
43076 main ()
43078 _fabsl(0);
43080 return 0;
43082 _ACEOF
43083 if ac_fn_cxx_try_compile "$LINENO"; then :
43084 glibcxx_cv_func__fabsl_use=yes
43085 else
43086 glibcxx_cv_func__fabsl_use=no
43088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43089 ac_ext=c
43090 ac_cpp='$CPP $CPPFLAGS'
43091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43100 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43102 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43103 for ac_func in _fabsl
43104 do :
43105 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43106 if test "x$ac_cv_func__fabsl" = x""yes; then :
43107 cat >>confdefs.h <<_ACEOF
43108 #define HAVE__FABSL 1
43109 _ACEOF
43112 done
43121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43122 $as_echo_n "checking for fmodl declaration... " >&6; }
43123 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43124 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43125 $as_echo_n "(cached) " >&6
43126 else
43129 ac_ext=cpp
43130 ac_cpp='$CXXCPP $CPPFLAGS'
43131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43136 /* end confdefs.h. */
43137 #include <math.h>
43139 main ()
43141 fmodl(0, 0);
43143 return 0;
43145 _ACEOF
43146 if ac_fn_cxx_try_compile "$LINENO"; then :
43147 glibcxx_cv_func_fmodl_use=yes
43148 else
43149 glibcxx_cv_func_fmodl_use=no
43151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43152 ac_ext=c
43153 ac_cpp='$CPP $CPPFLAGS'
43154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43163 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43165 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43166 for ac_func in fmodl
43167 do :
43168 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43169 if test "x$ac_cv_func_fmodl" = x""yes; then :
43170 cat >>confdefs.h <<_ACEOF
43171 #define HAVE_FMODL 1
43172 _ACEOF
43175 done
43177 else
43179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43180 $as_echo_n "checking for _fmodl declaration... " >&6; }
43181 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43182 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43183 $as_echo_n "(cached) " >&6
43184 else
43187 ac_ext=cpp
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43194 /* end confdefs.h. */
43195 #include <math.h>
43197 main ()
43199 _fmodl(0, 0);
43201 return 0;
43203 _ACEOF
43204 if ac_fn_cxx_try_compile "$LINENO"; then :
43205 glibcxx_cv_func__fmodl_use=yes
43206 else
43207 glibcxx_cv_func__fmodl_use=no
43209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43210 ac_ext=c
43211 ac_cpp='$CPP $CPPFLAGS'
43212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43221 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43223 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43224 for ac_func in _fmodl
43225 do :
43226 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43227 if test "x$ac_cv_func__fmodl" = x""yes; then :
43228 cat >>confdefs.h <<_ACEOF
43229 #define HAVE__FMODL 1
43230 _ACEOF
43233 done
43242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43243 $as_echo_n "checking for frexpl declaration... " >&6; }
43244 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43245 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43246 $as_echo_n "(cached) " >&6
43247 else
43250 ac_ext=cpp
43251 ac_cpp='$CXXCPP $CPPFLAGS'
43252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43257 /* end confdefs.h. */
43258 #include <math.h>
43260 main ()
43262 frexpl(0, 0);
43264 return 0;
43266 _ACEOF
43267 if ac_fn_cxx_try_compile "$LINENO"; then :
43268 glibcxx_cv_func_frexpl_use=yes
43269 else
43270 glibcxx_cv_func_frexpl_use=no
43272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43273 ac_ext=c
43274 ac_cpp='$CPP $CPPFLAGS'
43275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43284 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43286 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43287 for ac_func in frexpl
43288 do :
43289 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43290 if test "x$ac_cv_func_frexpl" = x""yes; then :
43291 cat >>confdefs.h <<_ACEOF
43292 #define HAVE_FREXPL 1
43293 _ACEOF
43296 done
43298 else
43300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43301 $as_echo_n "checking for _frexpl declaration... " >&6; }
43302 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43303 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43304 $as_echo_n "(cached) " >&6
43305 else
43308 ac_ext=cpp
43309 ac_cpp='$CXXCPP $CPPFLAGS'
43310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43315 /* end confdefs.h. */
43316 #include <math.h>
43318 main ()
43320 _frexpl(0, 0);
43322 return 0;
43324 _ACEOF
43325 if ac_fn_cxx_try_compile "$LINENO"; then :
43326 glibcxx_cv_func__frexpl_use=yes
43327 else
43328 glibcxx_cv_func__frexpl_use=no
43330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43331 ac_ext=c
43332 ac_cpp='$CPP $CPPFLAGS'
43333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43342 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43344 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43345 for ac_func in _frexpl
43346 do :
43347 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43348 if test "x$ac_cv_func__frexpl" = x""yes; then :
43349 cat >>confdefs.h <<_ACEOF
43350 #define HAVE__FREXPL 1
43351 _ACEOF
43354 done
43363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43364 $as_echo_n "checking for hypotl declaration... " >&6; }
43365 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43366 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43367 $as_echo_n "(cached) " >&6
43368 else
43371 ac_ext=cpp
43372 ac_cpp='$CXXCPP $CPPFLAGS'
43373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43378 /* end confdefs.h. */
43379 #include <math.h>
43381 main ()
43383 hypotl(0, 0);
43385 return 0;
43387 _ACEOF
43388 if ac_fn_cxx_try_compile "$LINENO"; then :
43389 glibcxx_cv_func_hypotl_use=yes
43390 else
43391 glibcxx_cv_func_hypotl_use=no
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394 ac_ext=c
43395 ac_cpp='$CPP $CPPFLAGS'
43396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43405 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43407 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43408 for ac_func in hypotl
43409 do :
43410 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43411 if test "x$ac_cv_func_hypotl" = x""yes; then :
43412 cat >>confdefs.h <<_ACEOF
43413 #define HAVE_HYPOTL 1
43414 _ACEOF
43417 done
43419 else
43421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43422 $as_echo_n "checking for _hypotl declaration... " >&6; }
43423 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43424 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43425 $as_echo_n "(cached) " >&6
43426 else
43429 ac_ext=cpp
43430 ac_cpp='$CXXCPP $CPPFLAGS'
43431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43436 /* end confdefs.h. */
43437 #include <math.h>
43439 main ()
43441 _hypotl(0, 0);
43443 return 0;
43445 _ACEOF
43446 if ac_fn_cxx_try_compile "$LINENO"; then :
43447 glibcxx_cv_func__hypotl_use=yes
43448 else
43449 glibcxx_cv_func__hypotl_use=no
43451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43452 ac_ext=c
43453 ac_cpp='$CPP $CPPFLAGS'
43454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43463 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43465 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43466 for ac_func in _hypotl
43467 do :
43468 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43469 if test "x$ac_cv_func__hypotl" = x""yes; then :
43470 cat >>confdefs.h <<_ACEOF
43471 #define HAVE__HYPOTL 1
43472 _ACEOF
43475 done
43484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43485 $as_echo_n "checking for ldexpl declaration... " >&6; }
43486 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43487 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43488 $as_echo_n "(cached) " >&6
43489 else
43492 ac_ext=cpp
43493 ac_cpp='$CXXCPP $CPPFLAGS'
43494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43499 /* end confdefs.h. */
43500 #include <math.h>
43502 main ()
43504 ldexpl(0, 0);
43506 return 0;
43508 _ACEOF
43509 if ac_fn_cxx_try_compile "$LINENO"; then :
43510 glibcxx_cv_func_ldexpl_use=yes
43511 else
43512 glibcxx_cv_func_ldexpl_use=no
43514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43515 ac_ext=c
43516 ac_cpp='$CPP $CPPFLAGS'
43517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43526 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43528 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43529 for ac_func in ldexpl
43530 do :
43531 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43532 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43533 cat >>confdefs.h <<_ACEOF
43534 #define HAVE_LDEXPL 1
43535 _ACEOF
43538 done
43540 else
43542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43543 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43544 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43545 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43546 $as_echo_n "(cached) " >&6
43547 else
43550 ac_ext=cpp
43551 ac_cpp='$CXXCPP $CPPFLAGS'
43552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43557 /* end confdefs.h. */
43558 #include <math.h>
43560 main ()
43562 _ldexpl(0, 0);
43564 return 0;
43566 _ACEOF
43567 if ac_fn_cxx_try_compile "$LINENO"; then :
43568 glibcxx_cv_func__ldexpl_use=yes
43569 else
43570 glibcxx_cv_func__ldexpl_use=no
43572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43573 ac_ext=c
43574 ac_cpp='$CPP $CPPFLAGS'
43575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43584 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43586 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43587 for ac_func in _ldexpl
43588 do :
43589 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43590 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43591 cat >>confdefs.h <<_ACEOF
43592 #define HAVE__LDEXPL 1
43593 _ACEOF
43596 done
43605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43606 $as_echo_n "checking for logl declaration... " >&6; }
43607 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43608 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43609 $as_echo_n "(cached) " >&6
43610 else
43613 ac_ext=cpp
43614 ac_cpp='$CXXCPP $CPPFLAGS'
43615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43620 /* end confdefs.h. */
43621 #include <math.h>
43622 #ifdef HAVE_IEEEFP_H
43623 #include <ieeefp.h>
43624 #endif
43627 main ()
43629 logl(0);
43631 return 0;
43633 _ACEOF
43634 if ac_fn_cxx_try_compile "$LINENO"; then :
43635 glibcxx_cv_func_logl_use=yes
43636 else
43637 glibcxx_cv_func_logl_use=no
43639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43640 ac_ext=c
43641 ac_cpp='$CPP $CPPFLAGS'
43642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43651 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43653 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43654 for ac_func in logl
43655 do :
43656 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43657 if test "x$ac_cv_func_logl" = x""yes; then :
43658 cat >>confdefs.h <<_ACEOF
43659 #define HAVE_LOGL 1
43660 _ACEOF
43663 done
43665 else
43667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43668 $as_echo_n "checking for _logl declaration... " >&6; }
43669 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43670 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43671 $as_echo_n "(cached) " >&6
43672 else
43675 ac_ext=cpp
43676 ac_cpp='$CXXCPP $CPPFLAGS'
43677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43682 /* end confdefs.h. */
43683 #include <math.h>
43684 #ifdef HAVE_IEEEFP_H
43685 #include <ieeefp.h>
43686 #endif
43689 main ()
43691 _logl(0);
43693 return 0;
43695 _ACEOF
43696 if ac_fn_cxx_try_compile "$LINENO"; then :
43697 glibcxx_cv_func__logl_use=yes
43698 else
43699 glibcxx_cv_func__logl_use=no
43701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43702 ac_ext=c
43703 ac_cpp='$CPP $CPPFLAGS'
43704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43713 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43715 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43716 for ac_func in _logl
43717 do :
43718 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43719 if test "x$ac_cv_func__logl" = x""yes; then :
43720 cat >>confdefs.h <<_ACEOF
43721 #define HAVE__LOGL 1
43722 _ACEOF
43725 done
43734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43735 $as_echo_n "checking for log10l declaration... " >&6; }
43736 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43737 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43738 $as_echo_n "(cached) " >&6
43739 else
43742 ac_ext=cpp
43743 ac_cpp='$CXXCPP $CPPFLAGS'
43744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43749 /* end confdefs.h. */
43750 #include <math.h>
43751 #ifdef HAVE_IEEEFP_H
43752 #include <ieeefp.h>
43753 #endif
43756 main ()
43758 log10l(0);
43760 return 0;
43762 _ACEOF
43763 if ac_fn_cxx_try_compile "$LINENO"; then :
43764 glibcxx_cv_func_log10l_use=yes
43765 else
43766 glibcxx_cv_func_log10l_use=no
43768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43769 ac_ext=c
43770 ac_cpp='$CPP $CPPFLAGS'
43771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43780 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43782 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43783 for ac_func in log10l
43784 do :
43785 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43786 if test "x$ac_cv_func_log10l" = x""yes; then :
43787 cat >>confdefs.h <<_ACEOF
43788 #define HAVE_LOG10L 1
43789 _ACEOF
43792 done
43794 else
43796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43797 $as_echo_n "checking for _log10l declaration... " >&6; }
43798 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43799 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43800 $as_echo_n "(cached) " >&6
43801 else
43804 ac_ext=cpp
43805 ac_cpp='$CXXCPP $CPPFLAGS'
43806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43811 /* end confdefs.h. */
43812 #include <math.h>
43813 #ifdef HAVE_IEEEFP_H
43814 #include <ieeefp.h>
43815 #endif
43818 main ()
43820 _log10l(0);
43822 return 0;
43824 _ACEOF
43825 if ac_fn_cxx_try_compile "$LINENO"; then :
43826 glibcxx_cv_func__log10l_use=yes
43827 else
43828 glibcxx_cv_func__log10l_use=no
43830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43831 ac_ext=c
43832 ac_cpp='$CPP $CPPFLAGS'
43833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43842 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43844 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43845 for ac_func in _log10l
43846 do :
43847 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43848 if test "x$ac_cv_func__log10l" = x""yes; then :
43849 cat >>confdefs.h <<_ACEOF
43850 #define HAVE__LOG10L 1
43851 _ACEOF
43854 done
43863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43864 $as_echo_n "checking for modfl declaration... " >&6; }
43865 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43866 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43867 $as_echo_n "(cached) " >&6
43868 else
43871 ac_ext=cpp
43872 ac_cpp='$CXXCPP $CPPFLAGS'
43873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43878 /* end confdefs.h. */
43879 #include <math.h>
43881 main ()
43883 modfl(0, 0);
43885 return 0;
43887 _ACEOF
43888 if ac_fn_cxx_try_compile "$LINENO"; then :
43889 glibcxx_cv_func_modfl_use=yes
43890 else
43891 glibcxx_cv_func_modfl_use=no
43893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43894 ac_ext=c
43895 ac_cpp='$CPP $CPPFLAGS'
43896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43905 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43907 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43908 for ac_func in modfl
43909 do :
43910 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43911 if test "x$ac_cv_func_modfl" = x""yes; then :
43912 cat >>confdefs.h <<_ACEOF
43913 #define HAVE_MODFL 1
43914 _ACEOF
43917 done
43919 else
43921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43922 $as_echo_n "checking for _modfl declaration... " >&6; }
43923 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43924 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43925 $as_echo_n "(cached) " >&6
43926 else
43929 ac_ext=cpp
43930 ac_cpp='$CXXCPP $CPPFLAGS'
43931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43936 /* end confdefs.h. */
43937 #include <math.h>
43939 main ()
43941 _modfl(0, 0);
43943 return 0;
43945 _ACEOF
43946 if ac_fn_cxx_try_compile "$LINENO"; then :
43947 glibcxx_cv_func__modfl_use=yes
43948 else
43949 glibcxx_cv_func__modfl_use=no
43951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43952 ac_ext=c
43953 ac_cpp='$CPP $CPPFLAGS'
43954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43963 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43965 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43966 for ac_func in _modfl
43967 do :
43968 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43969 if test "x$ac_cv_func__modfl" = x""yes; then :
43970 cat >>confdefs.h <<_ACEOF
43971 #define HAVE__MODFL 1
43972 _ACEOF
43975 done
43984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43985 $as_echo_n "checking for powl declaration... " >&6; }
43986 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43987 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43988 $as_echo_n "(cached) " >&6
43989 else
43992 ac_ext=cpp
43993 ac_cpp='$CXXCPP $CPPFLAGS'
43994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43999 /* end confdefs.h. */
44000 #include <math.h>
44002 main ()
44004 powl(0, 0);
44006 return 0;
44008 _ACEOF
44009 if ac_fn_cxx_try_compile "$LINENO"; then :
44010 glibcxx_cv_func_powl_use=yes
44011 else
44012 glibcxx_cv_func_powl_use=no
44014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44015 ac_ext=c
44016 ac_cpp='$CPP $CPPFLAGS'
44017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44026 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44028 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44029 for ac_func in powl
44030 do :
44031 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44032 if test "x$ac_cv_func_powl" = x""yes; then :
44033 cat >>confdefs.h <<_ACEOF
44034 #define HAVE_POWL 1
44035 _ACEOF
44038 done
44040 else
44042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44043 $as_echo_n "checking for _powl declaration... " >&6; }
44044 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44045 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44046 $as_echo_n "(cached) " >&6
44047 else
44050 ac_ext=cpp
44051 ac_cpp='$CXXCPP $CPPFLAGS'
44052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44057 /* end confdefs.h. */
44058 #include <math.h>
44060 main ()
44062 _powl(0, 0);
44064 return 0;
44066 _ACEOF
44067 if ac_fn_cxx_try_compile "$LINENO"; then :
44068 glibcxx_cv_func__powl_use=yes
44069 else
44070 glibcxx_cv_func__powl_use=no
44072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073 ac_ext=c
44074 ac_cpp='$CPP $CPPFLAGS'
44075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44084 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44086 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44087 for ac_func in _powl
44088 do :
44089 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44090 if test "x$ac_cv_func__powl" = x""yes; then :
44091 cat >>confdefs.h <<_ACEOF
44092 #define HAVE__POWL 1
44093 _ACEOF
44096 done
44105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44106 $as_echo_n "checking for sqrtl declaration... " >&6; }
44107 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44108 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44109 $as_echo_n "(cached) " >&6
44110 else
44113 ac_ext=cpp
44114 ac_cpp='$CXXCPP $CPPFLAGS'
44115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44120 /* end confdefs.h. */
44121 #include <math.h>
44122 #ifdef HAVE_IEEEFP_H
44123 #include <ieeefp.h>
44124 #endif
44127 main ()
44129 sqrtl(0);
44131 return 0;
44133 _ACEOF
44134 if ac_fn_cxx_try_compile "$LINENO"; then :
44135 glibcxx_cv_func_sqrtl_use=yes
44136 else
44137 glibcxx_cv_func_sqrtl_use=no
44139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44140 ac_ext=c
44141 ac_cpp='$CPP $CPPFLAGS'
44142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44151 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44153 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44154 for ac_func in sqrtl
44155 do :
44156 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44157 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44158 cat >>confdefs.h <<_ACEOF
44159 #define HAVE_SQRTL 1
44160 _ACEOF
44163 done
44165 else
44167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44168 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44169 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44170 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44171 $as_echo_n "(cached) " >&6
44172 else
44175 ac_ext=cpp
44176 ac_cpp='$CXXCPP $CPPFLAGS'
44177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44182 /* end confdefs.h. */
44183 #include <math.h>
44184 #ifdef HAVE_IEEEFP_H
44185 #include <ieeefp.h>
44186 #endif
44189 main ()
44191 _sqrtl(0);
44193 return 0;
44195 _ACEOF
44196 if ac_fn_cxx_try_compile "$LINENO"; then :
44197 glibcxx_cv_func__sqrtl_use=yes
44198 else
44199 glibcxx_cv_func__sqrtl_use=no
44201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44202 ac_ext=c
44203 ac_cpp='$CPP $CPPFLAGS'
44204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44213 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44215 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44216 for ac_func in _sqrtl
44217 do :
44218 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44219 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44220 cat >>confdefs.h <<_ACEOF
44221 #define HAVE__SQRTL 1
44222 _ACEOF
44225 done
44234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44235 $as_echo_n "checking for sincosl declaration... " >&6; }
44236 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44237 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44238 $as_echo_n "(cached) " >&6
44239 else
44242 ac_ext=cpp
44243 ac_cpp='$CXXCPP $CPPFLAGS'
44244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44249 /* end confdefs.h. */
44250 #include <math.h>
44252 main ()
44254 sincosl(0, 0, 0);
44256 return 0;
44258 _ACEOF
44259 if ac_fn_cxx_try_compile "$LINENO"; then :
44260 glibcxx_cv_func_sincosl_use=yes
44261 else
44262 glibcxx_cv_func_sincosl_use=no
44264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44265 ac_ext=c
44266 ac_cpp='$CPP $CPPFLAGS'
44267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44276 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44278 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44279 for ac_func in sincosl
44280 do :
44281 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44282 if test "x$ac_cv_func_sincosl" = x""yes; then :
44283 cat >>confdefs.h <<_ACEOF
44284 #define HAVE_SINCOSL 1
44285 _ACEOF
44288 done
44290 else
44292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44293 $as_echo_n "checking for _sincosl declaration... " >&6; }
44294 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44295 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44296 $as_echo_n "(cached) " >&6
44297 else
44300 ac_ext=cpp
44301 ac_cpp='$CXXCPP $CPPFLAGS'
44302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44307 /* end confdefs.h. */
44308 #include <math.h>
44310 main ()
44312 _sincosl(0, 0, 0);
44314 return 0;
44316 _ACEOF
44317 if ac_fn_cxx_try_compile "$LINENO"; then :
44318 glibcxx_cv_func__sincosl_use=yes
44319 else
44320 glibcxx_cv_func__sincosl_use=no
44322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44323 ac_ext=c
44324 ac_cpp='$CPP $CPPFLAGS'
44325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44334 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44336 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44337 for ac_func in _sincosl
44338 do :
44339 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44340 if test "x$ac_cv_func__sincosl" = x""yes; then :
44341 cat >>confdefs.h <<_ACEOF
44342 #define HAVE__SINCOSL 1
44343 _ACEOF
44346 done
44355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44356 $as_echo_n "checking for finitel declaration... " >&6; }
44357 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44358 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44359 $as_echo_n "(cached) " >&6
44360 else
44363 ac_ext=cpp
44364 ac_cpp='$CXXCPP $CPPFLAGS'
44365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44370 /* end confdefs.h. */
44371 #include <math.h>
44372 #ifdef HAVE_IEEEFP_H
44373 #include <ieeefp.h>
44374 #endif
44377 main ()
44379 finitel(0);
44381 return 0;
44383 _ACEOF
44384 if ac_fn_cxx_try_compile "$LINENO"; then :
44385 glibcxx_cv_func_finitel_use=yes
44386 else
44387 glibcxx_cv_func_finitel_use=no
44389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44390 ac_ext=c
44391 ac_cpp='$CPP $CPPFLAGS'
44392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44401 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44403 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44404 for ac_func in finitel
44405 do :
44406 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44407 if test "x$ac_cv_func_finitel" = x""yes; then :
44408 cat >>confdefs.h <<_ACEOF
44409 #define HAVE_FINITEL 1
44410 _ACEOF
44413 done
44415 else
44417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44418 $as_echo_n "checking for _finitel declaration... " >&6; }
44419 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44420 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44421 $as_echo_n "(cached) " >&6
44422 else
44425 ac_ext=cpp
44426 ac_cpp='$CXXCPP $CPPFLAGS'
44427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44432 /* end confdefs.h. */
44433 #include <math.h>
44434 #ifdef HAVE_IEEEFP_H
44435 #include <ieeefp.h>
44436 #endif
44439 main ()
44441 _finitel(0);
44443 return 0;
44445 _ACEOF
44446 if ac_fn_cxx_try_compile "$LINENO"; then :
44447 glibcxx_cv_func__finitel_use=yes
44448 else
44449 glibcxx_cv_func__finitel_use=no
44451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44452 ac_ext=c
44453 ac_cpp='$CPP $CPPFLAGS'
44454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44463 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44465 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44466 for ac_func in _finitel
44467 do :
44468 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44469 if test "x$ac_cv_func__finitel" = x""yes; then :
44470 cat >>confdefs.h <<_ACEOF
44471 #define HAVE__FINITEL 1
44472 _ACEOF
44475 done
44483 LIBS="$ac_save_LIBS"
44484 CXXFLAGS="$ac_save_CXXFLAGS"
44487 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44488 ac_save_CXXFLAGS="$CXXFLAGS"
44489 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44493 $as_echo_n "checking for strtold declaration... " >&6; }
44494 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44495 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44496 $as_echo_n "(cached) " >&6
44497 else
44500 ac_ext=cpp
44501 ac_cpp='$CXXCPP $CPPFLAGS'
44502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44507 /* end confdefs.h. */
44508 #include <stdlib.h>
44510 main ()
44512 strtold(0, 0);
44514 return 0;
44516 _ACEOF
44517 if ac_fn_cxx_try_compile "$LINENO"; then :
44518 glibcxx_cv_func_strtold_use=yes
44519 else
44520 glibcxx_cv_func_strtold_use=no
44522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44523 ac_ext=c
44524 ac_cpp='$CPP $CPPFLAGS'
44525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44534 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44535 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44536 for ac_func in strtold
44537 do :
44538 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44539 if test "x$ac_cv_func_strtold" = x""yes; then :
44540 cat >>confdefs.h <<_ACEOF
44541 #define HAVE_STRTOLD 1
44542 _ACEOF
44545 done
44552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44553 $as_echo_n "checking for strtof declaration... " >&6; }
44554 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44555 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44556 $as_echo_n "(cached) " >&6
44557 else
44560 ac_ext=cpp
44561 ac_cpp='$CXXCPP $CPPFLAGS'
44562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44567 /* end confdefs.h. */
44568 #include <stdlib.h>
44570 main ()
44572 strtof(0, 0);
44574 return 0;
44576 _ACEOF
44577 if ac_fn_cxx_try_compile "$LINENO"; then :
44578 glibcxx_cv_func_strtof_use=yes
44579 else
44580 glibcxx_cv_func_strtof_use=no
44582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44583 ac_ext=c
44584 ac_cpp='$CPP $CPPFLAGS'
44585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44594 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44595 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44596 for ac_func in strtof
44597 do :
44598 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44599 if test "x$ac_cv_func_strtof" = x""yes; then :
44600 cat >>confdefs.h <<_ACEOF
44601 #define HAVE_STRTOF 1
44602 _ACEOF
44605 done
44612 CXXFLAGS="$ac_save_CXXFLAGS"
44616 *djgpp)
44617 # GLIBCXX_CHECK_MATH_SUPPORT
44618 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44620 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44622 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44624 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44626 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44630 *-freebsd*)
44631 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44634 # If we're not using GNU ld, then there's no point in even trying these
44635 # tests. Check for that first. We should have already tested for gld
44636 # by now (in libtool), but require it now just to be safe...
44637 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44638 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44642 # The name set by libtool depends on the version of libtool. Shame on us
44643 # for depending on an impl detail, but c'est la vie. Older versions used
44644 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44645 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44646 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44647 # set (hence we're using an older libtool), then set it.
44648 if test x${with_gnu_ld+set} != xset; then
44649 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44650 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44651 with_gnu_ld=no
44652 else
44653 with_gnu_ld=$ac_cv_prog_gnu_ld
44657 # Start by getting the version number. I think the libtool test already
44658 # does some of this, but throws away the result.
44659 glibcxx_ld_is_gold=no
44660 if test x"$with_gnu_ld" = x"yes"; then
44661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44662 $as_echo_n "checking for ld version... " >&6; }
44664 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44665 glibcxx_ld_is_gold=yes
44667 ldver=`$LD --version 2>/dev/null |
44668 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'`
44670 glibcxx_gnu_ld_version=`echo $ldver | \
44671 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44673 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44676 # Set --gc-sections.
44677 glibcxx_have_gc_sections=no
44678 if test "$glibcxx_ld_is_gold" = "yes"; then
44679 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44680 glibcxx_have_gc_sections=yes
44682 else
44683 glibcxx_gcsections_min_ld=21602
44684 if test x"$with_gnu_ld" = x"yes" &&
44685 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44686 glibcxx_have_gc_sections=yes
44689 if test "$glibcxx_have_gc_sections" = "yes"; then
44690 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44691 # NB: This flag only works reliably after 2.16.1. Configure tests
44692 # for this are difficult, so hard wire a value that should work.
44694 ac_test_CFLAGS="${CFLAGS+set}"
44695 ac_save_CFLAGS="$CFLAGS"
44696 CFLAGS='-Wl,--gc-sections'
44698 # Check for -Wl,--gc-sections
44699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44700 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44701 if test x$gcc_no_link = xyes; then
44702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44705 /* end confdefs.h. */
44706 int one(void) { return 1; }
44707 int two(void) { return 2; }
44710 main ()
44712 two();
44714 return 0;
44716 _ACEOF
44717 if ac_fn_c_try_link "$LINENO"; then :
44718 ac_gcsections=yes
44719 else
44720 ac_gcsections=no
44722 rm -f core conftest.err conftest.$ac_objext \
44723 conftest$ac_exeext conftest.$ac_ext
44724 if test "$ac_gcsections" = "yes"; then
44725 rm -f conftest.c
44726 touch conftest.c
44727 if $CC -c conftest.c; then
44728 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44729 grep "Warning: gc-sections option ignored" > /dev/null; then
44730 ac_gcsections=no
44733 rm -f conftest.c conftest.o conftest
44735 if test "$ac_gcsections" = "yes"; then
44736 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44739 $as_echo "$ac_gcsections" >&6; }
44741 if test "$ac_test_CFLAGS" = set; then
44742 CFLAGS="$ac_save_CFLAGS"
44743 else
44744 # this is the suspicious part
44745 CFLAGS=''
44749 # Set -z,relro.
44750 # Note this is only for shared objects.
44751 ac_ld_relro=no
44752 if test x"$with_gnu_ld" = x"yes"; then
44753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44754 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44755 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44756 if test -n "$cxx_z_relo"; then
44757 OPT_LDFLAGS="-Wl,-z,relro"
44758 ac_ld_relro=yes
44760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44761 $as_echo "$ac_ld_relro" >&6; }
44764 # Set linker optimization flags.
44765 if test x"$with_gnu_ld" = x"yes"; then
44766 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44772 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44774 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44776 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44778 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44780 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44782 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44784 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44786 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44788 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44791 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44793 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44795 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44797 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44799 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44801 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44803 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44805 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44807 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44809 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44811 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44813 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44815 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44817 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44819 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44821 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44823 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44825 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44827 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44829 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44831 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44833 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44835 if test x"long_double_math_on_this_cpu" = x"yes"; then
44836 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44838 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44840 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44844 *-hpux*)
44845 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44848 # If we're not using GNU ld, then there's no point in even trying these
44849 # tests. Check for that first. We should have already tested for gld
44850 # by now (in libtool), but require it now just to be safe...
44851 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44852 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44856 # The name set by libtool depends on the version of libtool. Shame on us
44857 # for depending on an impl detail, but c'est la vie. Older versions used
44858 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44859 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44860 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44861 # set (hence we're using an older libtool), then set it.
44862 if test x${with_gnu_ld+set} != xset; then
44863 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44864 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44865 with_gnu_ld=no
44866 else
44867 with_gnu_ld=$ac_cv_prog_gnu_ld
44871 # Start by getting the version number. I think the libtool test already
44872 # does some of this, but throws away the result.
44873 glibcxx_ld_is_gold=no
44874 if test x"$with_gnu_ld" = x"yes"; then
44875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44876 $as_echo_n "checking for ld version... " >&6; }
44878 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44879 glibcxx_ld_is_gold=yes
44881 ldver=`$LD --version 2>/dev/null |
44882 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'`
44884 glibcxx_gnu_ld_version=`echo $ldver | \
44885 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44887 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44890 # Set --gc-sections.
44891 glibcxx_have_gc_sections=no
44892 if test "$glibcxx_ld_is_gold" = "yes"; then
44893 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44894 glibcxx_have_gc_sections=yes
44896 else
44897 glibcxx_gcsections_min_ld=21602
44898 if test x"$with_gnu_ld" = x"yes" &&
44899 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44900 glibcxx_have_gc_sections=yes
44903 if test "$glibcxx_have_gc_sections" = "yes"; then
44904 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44905 # NB: This flag only works reliably after 2.16.1. Configure tests
44906 # for this are difficult, so hard wire a value that should work.
44908 ac_test_CFLAGS="${CFLAGS+set}"
44909 ac_save_CFLAGS="$CFLAGS"
44910 CFLAGS='-Wl,--gc-sections'
44912 # Check for -Wl,--gc-sections
44913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44914 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44915 if test x$gcc_no_link = xyes; then
44916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44919 /* end confdefs.h. */
44920 int one(void) { return 1; }
44921 int two(void) { return 2; }
44924 main ()
44926 two();
44928 return 0;
44930 _ACEOF
44931 if ac_fn_c_try_link "$LINENO"; then :
44932 ac_gcsections=yes
44933 else
44934 ac_gcsections=no
44936 rm -f core conftest.err conftest.$ac_objext \
44937 conftest$ac_exeext conftest.$ac_ext
44938 if test "$ac_gcsections" = "yes"; then
44939 rm -f conftest.c
44940 touch conftest.c
44941 if $CC -c conftest.c; then
44942 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44943 grep "Warning: gc-sections option ignored" > /dev/null; then
44944 ac_gcsections=no
44947 rm -f conftest.c conftest.o conftest
44949 if test "$ac_gcsections" = "yes"; then
44950 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44953 $as_echo "$ac_gcsections" >&6; }
44955 if test "$ac_test_CFLAGS" = set; then
44956 CFLAGS="$ac_save_CFLAGS"
44957 else
44958 # this is the suspicious part
44959 CFLAGS=''
44963 # Set -z,relro.
44964 # Note this is only for shared objects.
44965 ac_ld_relro=no
44966 if test x"$with_gnu_ld" = x"yes"; then
44967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44968 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44969 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44970 if test -n "$cxx_z_relo"; then
44971 OPT_LDFLAGS="-Wl,-z,relro"
44972 ac_ld_relro=yes
44974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44975 $as_echo "$ac_ld_relro" >&6; }
44978 # Set linker optimization flags.
44979 if test x"$with_gnu_ld" = x"yes"; then
44980 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44987 # GLIBCXX_CHECK_MATH_SUPPORT
44988 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44990 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44992 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44994 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44996 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44998 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45000 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45002 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45004 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45006 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45008 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45010 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45012 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45014 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45016 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45018 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45020 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45022 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45024 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45026 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45028 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45031 # GLIBCXX_CHECK_STDLIB_SUPPORT
45032 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45037 # Check whether --enable-tls was given.
45038 if test "${enable_tls+set}" = set; then :
45039 enableval=$enable_tls;
45040 case "$enableval" in
45041 yes|no) ;;
45042 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45043 esac
45045 else
45046 enable_tls=yes
45050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45051 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45052 if test "${gcc_cv_have_tls+set}" = set; then :
45053 $as_echo_n "(cached) " >&6
45054 else
45056 if test "$cross_compiling" = yes; then :
45057 if test x$gcc_no_link = xyes; then
45058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45061 /* end confdefs.h. */
45062 __thread int a; int b; int main() { return a = b; }
45063 _ACEOF
45064 if ac_fn_c_try_link "$LINENO"; then :
45065 chktls_save_LDFLAGS="$LDFLAGS"
45066 case $host in
45067 *-*-linux*)
45068 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45070 esac
45071 chktls_save_CFLAGS="$CFLAGS"
45072 CFLAGS="-fPIC $CFLAGS"
45073 if test x$gcc_no_link = xyes; then
45074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45077 /* end confdefs.h. */
45078 int f() { return 0; }
45079 _ACEOF
45080 if ac_fn_c_try_link "$LINENO"; then :
45081 if test x$gcc_no_link = xyes; then
45082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45085 /* end confdefs.h. */
45086 __thread int a; int b; int f() { return a = b; }
45087 _ACEOF
45088 if ac_fn_c_try_link "$LINENO"; then :
45089 gcc_cv_have_tls=yes
45090 else
45091 gcc_cv_have_tls=no
45093 rm -f core conftest.err conftest.$ac_objext \
45094 conftest$ac_exeext conftest.$ac_ext
45095 else
45096 gcc_cv_have_tls=yes
45098 rm -f core conftest.err conftest.$ac_objext \
45099 conftest$ac_exeext conftest.$ac_ext
45100 CFLAGS="$chktls_save_CFLAGS"
45101 LDFLAGS="$chktls_save_LDFLAGS"
45102 else
45103 gcc_cv_have_tls=no
45105 rm -f core conftest.err conftest.$ac_objext \
45106 conftest$ac_exeext conftest.$ac_ext
45109 else
45110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45111 /* end confdefs.h. */
45112 __thread int a; int b; int main() { return a = b; }
45113 _ACEOF
45114 if ac_fn_c_try_run "$LINENO"; then :
45115 chktls_save_LDFLAGS="$LDFLAGS"
45116 LDFLAGS="-static $LDFLAGS"
45117 if test x$gcc_no_link = xyes; then
45118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45121 /* end confdefs.h. */
45122 int main() { return 0; }
45123 _ACEOF
45124 if ac_fn_c_try_link "$LINENO"; then :
45125 if test "$cross_compiling" = yes; then :
45126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45128 as_fn_error "cannot run test program while cross compiling
45129 See \`config.log' for more details." "$LINENO" 5; }
45130 else
45131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45132 /* end confdefs.h. */
45133 __thread int a; int b; int main() { return a = b; }
45134 _ACEOF
45135 if ac_fn_c_try_run "$LINENO"; then :
45136 gcc_cv_have_tls=yes
45137 else
45138 gcc_cv_have_tls=no
45140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45141 conftest.$ac_objext conftest.beam conftest.$ac_ext
45144 else
45145 gcc_cv_have_tls=yes
45147 rm -f core conftest.err conftest.$ac_objext \
45148 conftest$ac_exeext conftest.$ac_ext
45149 LDFLAGS="$chktls_save_LDFLAGS"
45150 if test $gcc_cv_have_tls = yes; then
45151 chktls_save_CFLAGS="$CFLAGS"
45152 thread_CFLAGS=failed
45153 for flag in '' '-pthread' '-lpthread'; do
45154 CFLAGS="$flag $chktls_save_CFLAGS"
45155 if test x$gcc_no_link = xyes; then
45156 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45159 /* end confdefs.h. */
45160 #include <pthread.h>
45161 void *g(void *d) { return NULL; }
45163 main ()
45165 pthread_t t; pthread_create(&t,NULL,g,NULL);
45167 return 0;
45169 _ACEOF
45170 if ac_fn_c_try_link "$LINENO"; then :
45171 thread_CFLAGS="$flag"
45173 rm -f core conftest.err conftest.$ac_objext \
45174 conftest$ac_exeext conftest.$ac_ext
45175 if test "X$thread_CFLAGS" != Xfailed; then
45176 break
45178 done
45179 CFLAGS="$chktls_save_CFLAGS"
45180 if test "X$thread_CFLAGS" != Xfailed; then
45181 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45182 if test "$cross_compiling" = yes; then :
45183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45185 as_fn_error "cannot run test program while cross compiling
45186 See \`config.log' for more details." "$LINENO" 5; }
45187 else
45188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45189 /* end confdefs.h. */
45190 #include <pthread.h>
45191 __thread int a;
45192 static int *volatile a_in_other_thread;
45193 static void *
45194 thread_func (void *arg)
45196 a_in_other_thread = &a;
45197 return (void *)0;
45200 main ()
45202 pthread_t thread;
45203 void *thread_retval;
45204 int *volatile a_in_main_thread;
45205 a_in_main_thread = &a;
45206 if (pthread_create (&thread, (pthread_attr_t *)0,
45207 thread_func, (void *)0))
45208 return 0;
45209 if (pthread_join (thread, &thread_retval))
45210 return 0;
45211 return (a_in_other_thread == a_in_main_thread);
45213 return 0;
45215 _ACEOF
45216 if ac_fn_c_try_run "$LINENO"; then :
45217 gcc_cv_have_tls=yes
45218 else
45219 gcc_cv_have_tls=no
45221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45222 conftest.$ac_objext conftest.beam conftest.$ac_ext
45225 CFLAGS="$chktls_save_CFLAGS"
45228 else
45229 gcc_cv_have_tls=no
45231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45232 conftest.$ac_objext conftest.beam conftest.$ac_ext
45236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45237 $as_echo "$gcc_cv_have_tls" >&6; }
45238 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45240 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45243 case "$target" in
45244 *-hpux10*)
45245 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45247 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45249 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45251 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45253 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45256 esac
45258 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45260 # All these tests are for C++; save the language and the compiler flags.
45261 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45262 # found in GLIBCXX_CONFIGURE.
45264 ac_ext=cpp
45265 ac_cpp='$CXXCPP $CPPFLAGS'
45266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45270 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45271 ac_save_CXXFLAGS="$CXXFLAGS"
45273 # Check for maintainer-mode bits.
45274 if test x"$USE_MAINTAINER_MODE" = xno; then
45275 WERROR=''
45276 else
45277 WERROR='-Werror'
45280 # Check for -ffunction-sections -fdata-sections
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45282 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45283 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45285 /* end confdefs.h. */
45286 int foo; void bar() { };
45288 main ()
45292 return 0;
45294 _ACEOF
45295 if ac_fn_cxx_try_compile "$LINENO"; then :
45296 ac_fdsections=yes
45297 else
45298 ac_fdsections=no
45300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45301 if test "$ac_test_CXXFLAGS" = set; then
45302 CXXFLAGS="$ac_save_CXXFLAGS"
45303 else
45304 # this is the suspicious part
45305 CXXFLAGS=''
45307 if test x"$ac_fdsections" = x"yes"; then
45308 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45311 $as_echo "$ac_fdsections" >&6; }
45313 ac_ext=c
45314 ac_cpp='$CPP $CPPFLAGS'
45315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45323 # If we're not using GNU ld, then there's no point in even trying these
45324 # tests. Check for that first. We should have already tested for gld
45325 # by now (in libtool), but require it now just to be safe...
45326 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45327 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45331 # The name set by libtool depends on the version of libtool. Shame on us
45332 # for depending on an impl detail, but c'est la vie. Older versions used
45333 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45334 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45335 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45336 # set (hence we're using an older libtool), then set it.
45337 if test x${with_gnu_ld+set} != xset; then
45338 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45339 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45340 with_gnu_ld=no
45341 else
45342 with_gnu_ld=$ac_cv_prog_gnu_ld
45346 # Start by getting the version number. I think the libtool test already
45347 # does some of this, but throws away the result.
45348 glibcxx_ld_is_gold=no
45349 if test x"$with_gnu_ld" = x"yes"; then
45350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45351 $as_echo_n "checking for ld version... " >&6; }
45353 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45354 glibcxx_ld_is_gold=yes
45356 ldver=`$LD --version 2>/dev/null |
45357 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'`
45359 glibcxx_gnu_ld_version=`echo $ldver | \
45360 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45362 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45365 # Set --gc-sections.
45366 glibcxx_have_gc_sections=no
45367 if test "$glibcxx_ld_is_gold" = "yes"; then
45368 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45369 glibcxx_have_gc_sections=yes
45371 else
45372 glibcxx_gcsections_min_ld=21602
45373 if test x"$with_gnu_ld" = x"yes" &&
45374 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45375 glibcxx_have_gc_sections=yes
45378 if test "$glibcxx_have_gc_sections" = "yes"; then
45379 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45380 # NB: This flag only works reliably after 2.16.1. Configure tests
45381 # for this are difficult, so hard wire a value that should work.
45383 ac_test_CFLAGS="${CFLAGS+set}"
45384 ac_save_CFLAGS="$CFLAGS"
45385 CFLAGS='-Wl,--gc-sections'
45387 # Check for -Wl,--gc-sections
45388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45389 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45390 if test x$gcc_no_link = xyes; then
45391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45394 /* end confdefs.h. */
45395 int one(void) { return 1; }
45396 int two(void) { return 2; }
45399 main ()
45401 two();
45403 return 0;
45405 _ACEOF
45406 if ac_fn_c_try_link "$LINENO"; then :
45407 ac_gcsections=yes
45408 else
45409 ac_gcsections=no
45411 rm -f core conftest.err conftest.$ac_objext \
45412 conftest$ac_exeext conftest.$ac_ext
45413 if test "$ac_gcsections" = "yes"; then
45414 rm -f conftest.c
45415 touch conftest.c
45416 if $CC -c conftest.c; then
45417 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45418 grep "Warning: gc-sections option ignored" > /dev/null; then
45419 ac_gcsections=no
45422 rm -f conftest.c conftest.o conftest
45424 if test "$ac_gcsections" = "yes"; then
45425 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45428 $as_echo "$ac_gcsections" >&6; }
45430 if test "$ac_test_CFLAGS" = set; then
45431 CFLAGS="$ac_save_CFLAGS"
45432 else
45433 # this is the suspicious part
45434 CFLAGS=''
45438 # Set -z,relro.
45439 # Note this is only for shared objects.
45440 ac_ld_relro=no
45441 if test x"$with_gnu_ld" = x"yes"; then
45442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45443 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45444 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45445 if test -n "$cxx_z_relo"; then
45446 OPT_LDFLAGS="-Wl,-z,relro"
45447 ac_ld_relro=yes
45449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45450 $as_echo "$ac_ld_relro" >&6; }
45453 # Set linker optimization flags.
45454 if test x"$with_gnu_ld" = x"yes"; then
45455 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45462 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45463 ac_save_CXXFLAGS="$CXXFLAGS"
45464 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45467 $as_echo_n "checking for sin in -lm... " >&6; }
45468 if test "${ac_cv_lib_m_sin+set}" = set; then :
45469 $as_echo_n "(cached) " >&6
45470 else
45471 ac_check_lib_save_LIBS=$LIBS
45472 LIBS="-lm $LIBS"
45473 if test x$gcc_no_link = xyes; then
45474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45477 /* end confdefs.h. */
45479 /* Override any GCC internal prototype to avoid an error.
45480 Use char because int might match the return type of a GCC
45481 builtin and then its argument prototype would still apply. */
45482 #ifdef __cplusplus
45483 extern "C"
45484 #endif
45485 char sin ();
45487 main ()
45489 return sin ();
45491 return 0;
45493 _ACEOF
45494 if ac_fn_c_try_link "$LINENO"; then :
45495 ac_cv_lib_m_sin=yes
45496 else
45497 ac_cv_lib_m_sin=no
45499 rm -f core conftest.err conftest.$ac_objext \
45500 conftest$ac_exeext conftest.$ac_ext
45501 LIBS=$ac_check_lib_save_LIBS
45503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45504 $as_echo "$ac_cv_lib_m_sin" >&6; }
45505 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45506 libm="-lm"
45509 ac_save_LIBS="$LIBS"
45510 LIBS="$LIBS $libm"
45514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45515 $as_echo_n "checking for isinf declaration... " >&6; }
45516 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45517 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45518 $as_echo_n "(cached) " >&6
45519 else
45522 ac_ext=cpp
45523 ac_cpp='$CXXCPP $CPPFLAGS'
45524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45529 /* end confdefs.h. */
45530 #include <math.h>
45531 #ifdef HAVE_IEEEFP_H
45532 #include <ieeefp.h>
45533 #endif
45536 main ()
45538 isinf(0);
45540 return 0;
45542 _ACEOF
45543 if ac_fn_cxx_try_compile "$LINENO"; then :
45544 glibcxx_cv_func_isinf_use=yes
45545 else
45546 glibcxx_cv_func_isinf_use=no
45548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45549 ac_ext=c
45550 ac_cpp='$CPP $CPPFLAGS'
45551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45560 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45562 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45563 for ac_func in isinf
45564 do :
45565 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45566 if test "x$ac_cv_func_isinf" = x""yes; then :
45567 cat >>confdefs.h <<_ACEOF
45568 #define HAVE_ISINF 1
45569 _ACEOF
45572 done
45574 else
45576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45577 $as_echo_n "checking for _isinf declaration... " >&6; }
45578 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45579 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45580 $as_echo_n "(cached) " >&6
45581 else
45584 ac_ext=cpp
45585 ac_cpp='$CXXCPP $CPPFLAGS'
45586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45591 /* end confdefs.h. */
45592 #include <math.h>
45593 #ifdef HAVE_IEEEFP_H
45594 #include <ieeefp.h>
45595 #endif
45598 main ()
45600 _isinf(0);
45602 return 0;
45604 _ACEOF
45605 if ac_fn_cxx_try_compile "$LINENO"; then :
45606 glibcxx_cv_func__isinf_use=yes
45607 else
45608 glibcxx_cv_func__isinf_use=no
45610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45611 ac_ext=c
45612 ac_cpp='$CPP $CPPFLAGS'
45613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45622 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45624 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45625 for ac_func in _isinf
45626 do :
45627 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45628 if test "x$ac_cv_func__isinf" = x""yes; then :
45629 cat >>confdefs.h <<_ACEOF
45630 #define HAVE__ISINF 1
45631 _ACEOF
45634 done
45643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45644 $as_echo_n "checking for isnan declaration... " >&6; }
45645 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45646 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45647 $as_echo_n "(cached) " >&6
45648 else
45651 ac_ext=cpp
45652 ac_cpp='$CXXCPP $CPPFLAGS'
45653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45658 /* end confdefs.h. */
45659 #include <math.h>
45660 #ifdef HAVE_IEEEFP_H
45661 #include <ieeefp.h>
45662 #endif
45665 main ()
45667 isnan(0);
45669 return 0;
45671 _ACEOF
45672 if ac_fn_cxx_try_compile "$LINENO"; then :
45673 glibcxx_cv_func_isnan_use=yes
45674 else
45675 glibcxx_cv_func_isnan_use=no
45677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45678 ac_ext=c
45679 ac_cpp='$CPP $CPPFLAGS'
45680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45689 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45691 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45692 for ac_func in isnan
45693 do :
45694 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45695 if test "x$ac_cv_func_isnan" = x""yes; then :
45696 cat >>confdefs.h <<_ACEOF
45697 #define HAVE_ISNAN 1
45698 _ACEOF
45701 done
45703 else
45705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45706 $as_echo_n "checking for _isnan declaration... " >&6; }
45707 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45708 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45709 $as_echo_n "(cached) " >&6
45710 else
45713 ac_ext=cpp
45714 ac_cpp='$CXXCPP $CPPFLAGS'
45715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45720 /* end confdefs.h. */
45721 #include <math.h>
45722 #ifdef HAVE_IEEEFP_H
45723 #include <ieeefp.h>
45724 #endif
45727 main ()
45729 _isnan(0);
45731 return 0;
45733 _ACEOF
45734 if ac_fn_cxx_try_compile "$LINENO"; then :
45735 glibcxx_cv_func__isnan_use=yes
45736 else
45737 glibcxx_cv_func__isnan_use=no
45739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45740 ac_ext=c
45741 ac_cpp='$CPP $CPPFLAGS'
45742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45751 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45753 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45754 for ac_func in _isnan
45755 do :
45756 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45757 if test "x$ac_cv_func__isnan" = x""yes; then :
45758 cat >>confdefs.h <<_ACEOF
45759 #define HAVE__ISNAN 1
45760 _ACEOF
45763 done
45772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45773 $as_echo_n "checking for finite declaration... " >&6; }
45774 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45775 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45776 $as_echo_n "(cached) " >&6
45777 else
45780 ac_ext=cpp
45781 ac_cpp='$CXXCPP $CPPFLAGS'
45782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45787 /* end confdefs.h. */
45788 #include <math.h>
45789 #ifdef HAVE_IEEEFP_H
45790 #include <ieeefp.h>
45791 #endif
45794 main ()
45796 finite(0);
45798 return 0;
45800 _ACEOF
45801 if ac_fn_cxx_try_compile "$LINENO"; then :
45802 glibcxx_cv_func_finite_use=yes
45803 else
45804 glibcxx_cv_func_finite_use=no
45806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45807 ac_ext=c
45808 ac_cpp='$CPP $CPPFLAGS'
45809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45818 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45820 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45821 for ac_func in finite
45822 do :
45823 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45824 if test "x$ac_cv_func_finite" = x""yes; then :
45825 cat >>confdefs.h <<_ACEOF
45826 #define HAVE_FINITE 1
45827 _ACEOF
45830 done
45832 else
45834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45835 $as_echo_n "checking for _finite declaration... " >&6; }
45836 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45837 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45838 $as_echo_n "(cached) " >&6
45839 else
45842 ac_ext=cpp
45843 ac_cpp='$CXXCPP $CPPFLAGS'
45844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45849 /* end confdefs.h. */
45850 #include <math.h>
45851 #ifdef HAVE_IEEEFP_H
45852 #include <ieeefp.h>
45853 #endif
45856 main ()
45858 _finite(0);
45860 return 0;
45862 _ACEOF
45863 if ac_fn_cxx_try_compile "$LINENO"; then :
45864 glibcxx_cv_func__finite_use=yes
45865 else
45866 glibcxx_cv_func__finite_use=no
45868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45869 ac_ext=c
45870 ac_cpp='$CPP $CPPFLAGS'
45871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45880 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45882 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45883 for ac_func in _finite
45884 do :
45885 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45886 if test "x$ac_cv_func__finite" = x""yes; then :
45887 cat >>confdefs.h <<_ACEOF
45888 #define HAVE__FINITE 1
45889 _ACEOF
45892 done
45901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45902 $as_echo_n "checking for sincos declaration... " >&6; }
45903 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45904 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45905 $as_echo_n "(cached) " >&6
45906 else
45909 ac_ext=cpp
45910 ac_cpp='$CXXCPP $CPPFLAGS'
45911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45916 /* end confdefs.h. */
45917 #include <math.h>
45919 main ()
45921 sincos(0, 0, 0);
45923 return 0;
45925 _ACEOF
45926 if ac_fn_cxx_try_compile "$LINENO"; then :
45927 glibcxx_cv_func_sincos_use=yes
45928 else
45929 glibcxx_cv_func_sincos_use=no
45931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45932 ac_ext=c
45933 ac_cpp='$CPP $CPPFLAGS'
45934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45943 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45945 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45946 for ac_func in sincos
45947 do :
45948 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45949 if test "x$ac_cv_func_sincos" = x""yes; then :
45950 cat >>confdefs.h <<_ACEOF
45951 #define HAVE_SINCOS 1
45952 _ACEOF
45955 done
45957 else
45959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45960 $as_echo_n "checking for _sincos declaration... " >&6; }
45961 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45962 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45963 $as_echo_n "(cached) " >&6
45964 else
45967 ac_ext=cpp
45968 ac_cpp='$CXXCPP $CPPFLAGS'
45969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45974 /* end confdefs.h. */
45975 #include <math.h>
45977 main ()
45979 _sincos(0, 0, 0);
45981 return 0;
45983 _ACEOF
45984 if ac_fn_cxx_try_compile "$LINENO"; then :
45985 glibcxx_cv_func__sincos_use=yes
45986 else
45987 glibcxx_cv_func__sincos_use=no
45989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45990 ac_ext=c
45991 ac_cpp='$CPP $CPPFLAGS'
45992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46001 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46003 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46004 for ac_func in _sincos
46005 do :
46006 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46007 if test "x$ac_cv_func__sincos" = x""yes; then :
46008 cat >>confdefs.h <<_ACEOF
46009 #define HAVE__SINCOS 1
46010 _ACEOF
46013 done
46022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46023 $as_echo_n "checking for fpclass declaration... " >&6; }
46024 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46025 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46026 $as_echo_n "(cached) " >&6
46027 else
46030 ac_ext=cpp
46031 ac_cpp='$CXXCPP $CPPFLAGS'
46032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46037 /* end confdefs.h. */
46038 #include <math.h>
46039 #ifdef HAVE_IEEEFP_H
46040 #include <ieeefp.h>
46041 #endif
46044 main ()
46046 fpclass(0);
46048 return 0;
46050 _ACEOF
46051 if ac_fn_cxx_try_compile "$LINENO"; then :
46052 glibcxx_cv_func_fpclass_use=yes
46053 else
46054 glibcxx_cv_func_fpclass_use=no
46056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46057 ac_ext=c
46058 ac_cpp='$CPP $CPPFLAGS'
46059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46068 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46070 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46071 for ac_func in fpclass
46072 do :
46073 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46074 if test "x$ac_cv_func_fpclass" = x""yes; then :
46075 cat >>confdefs.h <<_ACEOF
46076 #define HAVE_FPCLASS 1
46077 _ACEOF
46080 done
46082 else
46084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46085 $as_echo_n "checking for _fpclass declaration... " >&6; }
46086 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46087 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46088 $as_echo_n "(cached) " >&6
46089 else
46092 ac_ext=cpp
46093 ac_cpp='$CXXCPP $CPPFLAGS'
46094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46099 /* end confdefs.h. */
46100 #include <math.h>
46101 #ifdef HAVE_IEEEFP_H
46102 #include <ieeefp.h>
46103 #endif
46106 main ()
46108 _fpclass(0);
46110 return 0;
46112 _ACEOF
46113 if ac_fn_cxx_try_compile "$LINENO"; then :
46114 glibcxx_cv_func__fpclass_use=yes
46115 else
46116 glibcxx_cv_func__fpclass_use=no
46118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46119 ac_ext=c
46120 ac_cpp='$CPP $CPPFLAGS'
46121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46130 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46132 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46133 for ac_func in _fpclass
46134 do :
46135 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46136 if test "x$ac_cv_func__fpclass" = x""yes; then :
46137 cat >>confdefs.h <<_ACEOF
46138 #define HAVE__FPCLASS 1
46139 _ACEOF
46142 done
46151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46152 $as_echo_n "checking for qfpclass declaration... " >&6; }
46153 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46154 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46155 $as_echo_n "(cached) " >&6
46156 else
46159 ac_ext=cpp
46160 ac_cpp='$CXXCPP $CPPFLAGS'
46161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46166 /* end confdefs.h. */
46167 #include <math.h>
46168 #ifdef HAVE_IEEEFP_H
46169 #include <ieeefp.h>
46170 #endif
46173 main ()
46175 qfpclass(0);
46177 return 0;
46179 _ACEOF
46180 if ac_fn_cxx_try_compile "$LINENO"; then :
46181 glibcxx_cv_func_qfpclass_use=yes
46182 else
46183 glibcxx_cv_func_qfpclass_use=no
46185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46186 ac_ext=c
46187 ac_cpp='$CPP $CPPFLAGS'
46188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46197 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46199 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46200 for ac_func in qfpclass
46201 do :
46202 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46203 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46204 cat >>confdefs.h <<_ACEOF
46205 #define HAVE_QFPCLASS 1
46206 _ACEOF
46209 done
46211 else
46213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46214 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46215 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46216 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46217 $as_echo_n "(cached) " >&6
46218 else
46221 ac_ext=cpp
46222 ac_cpp='$CXXCPP $CPPFLAGS'
46223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46228 /* end confdefs.h. */
46229 #include <math.h>
46230 #ifdef HAVE_IEEEFP_H
46231 #include <ieeefp.h>
46232 #endif
46235 main ()
46237 _qfpclass(0);
46239 return 0;
46241 _ACEOF
46242 if ac_fn_cxx_try_compile "$LINENO"; then :
46243 glibcxx_cv_func__qfpclass_use=yes
46244 else
46245 glibcxx_cv_func__qfpclass_use=no
46247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46248 ac_ext=c
46249 ac_cpp='$CPP $CPPFLAGS'
46250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46259 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46261 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46262 for ac_func in _qfpclass
46263 do :
46264 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46265 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46266 cat >>confdefs.h <<_ACEOF
46267 #define HAVE__QFPCLASS 1
46268 _ACEOF
46271 done
46280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46281 $as_echo_n "checking for hypot declaration... " >&6; }
46282 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46283 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46284 $as_echo_n "(cached) " >&6
46285 else
46288 ac_ext=cpp
46289 ac_cpp='$CXXCPP $CPPFLAGS'
46290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46295 /* end confdefs.h. */
46296 #include <math.h>
46298 main ()
46300 hypot(0, 0);
46302 return 0;
46304 _ACEOF
46305 if ac_fn_cxx_try_compile "$LINENO"; then :
46306 glibcxx_cv_func_hypot_use=yes
46307 else
46308 glibcxx_cv_func_hypot_use=no
46310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46311 ac_ext=c
46312 ac_cpp='$CPP $CPPFLAGS'
46313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46322 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46324 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46325 for ac_func in hypot
46326 do :
46327 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46328 if test "x$ac_cv_func_hypot" = x""yes; then :
46329 cat >>confdefs.h <<_ACEOF
46330 #define HAVE_HYPOT 1
46331 _ACEOF
46334 done
46336 else
46338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46339 $as_echo_n "checking for _hypot declaration... " >&6; }
46340 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46341 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46342 $as_echo_n "(cached) " >&6
46343 else
46346 ac_ext=cpp
46347 ac_cpp='$CXXCPP $CPPFLAGS'
46348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46353 /* end confdefs.h. */
46354 #include <math.h>
46356 main ()
46358 _hypot(0, 0);
46360 return 0;
46362 _ACEOF
46363 if ac_fn_cxx_try_compile "$LINENO"; then :
46364 glibcxx_cv_func__hypot_use=yes
46365 else
46366 glibcxx_cv_func__hypot_use=no
46368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46369 ac_ext=c
46370 ac_cpp='$CPP $CPPFLAGS'
46371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46380 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46382 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46383 for ac_func in _hypot
46384 do :
46385 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46386 if test "x$ac_cv_func__hypot" = x""yes; then :
46387 cat >>confdefs.h <<_ACEOF
46388 #define HAVE__HYPOT 1
46389 _ACEOF
46392 done
46401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46402 $as_echo_n "checking for float trig functions... " >&6; }
46403 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46404 $as_echo_n "(cached) " >&6
46405 else
46408 ac_ext=cpp
46409 ac_cpp='$CXXCPP $CPPFLAGS'
46410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46415 /* end confdefs.h. */
46416 #include <math.h>
46418 main ()
46420 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46422 return 0;
46424 _ACEOF
46425 if ac_fn_cxx_try_compile "$LINENO"; then :
46426 glibcxx_cv_func_float_trig_use=yes
46427 else
46428 glibcxx_cv_func_float_trig_use=no
46430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46431 ac_ext=c
46432 ac_cpp='$CPP $CPPFLAGS'
46433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46440 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46441 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46442 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46443 do :
46444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46446 eval as_val=\$$as_ac_var
46447 if test "x$as_val" = x""yes; then :
46448 cat >>confdefs.h <<_ACEOF
46449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46450 _ACEOF
46453 done
46455 else
46456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46457 $as_echo_n "checking for _float trig functions... " >&6; }
46458 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46459 $as_echo_n "(cached) " >&6
46460 else
46463 ac_ext=cpp
46464 ac_cpp='$CXXCPP $CPPFLAGS'
46465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46470 /* end confdefs.h. */
46471 #include <math.h>
46473 main ()
46475 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46477 return 0;
46479 _ACEOF
46480 if ac_fn_cxx_try_compile "$LINENO"; then :
46481 glibcxx_cv_func__float_trig_use=yes
46482 else
46483 glibcxx_cv_func__float_trig_use=no
46485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46486 ac_ext=c
46487 ac_cpp='$CPP $CPPFLAGS'
46488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46495 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46496 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46497 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46498 do :
46499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46501 eval as_val=\$$as_ac_var
46502 if test "x$as_val" = x""yes; then :
46503 cat >>confdefs.h <<_ACEOF
46504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46505 _ACEOF
46508 done
46517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46518 $as_echo_n "checking for float round functions... " >&6; }
46519 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46520 $as_echo_n "(cached) " >&6
46521 else
46524 ac_ext=cpp
46525 ac_cpp='$CXXCPP $CPPFLAGS'
46526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46531 /* end confdefs.h. */
46532 #include <math.h>
46534 main ()
46536 ceilf (0); floorf (0);
46538 return 0;
46540 _ACEOF
46541 if ac_fn_cxx_try_compile "$LINENO"; then :
46542 glibcxx_cv_func_float_round_use=yes
46543 else
46544 glibcxx_cv_func_float_round_use=no
46546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46547 ac_ext=c
46548 ac_cpp='$CPP $CPPFLAGS'
46549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46556 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46557 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46558 for ac_func in ceilf floorf
46559 do :
46560 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46562 eval as_val=\$$as_ac_var
46563 if test "x$as_val" = x""yes; then :
46564 cat >>confdefs.h <<_ACEOF
46565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46566 _ACEOF
46569 done
46571 else
46572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46573 $as_echo_n "checking for _float round functions... " >&6; }
46574 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46575 $as_echo_n "(cached) " >&6
46576 else
46579 ac_ext=cpp
46580 ac_cpp='$CXXCPP $CPPFLAGS'
46581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46586 /* end confdefs.h. */
46587 #include <math.h>
46589 main ()
46591 _ceilf (0); _floorf (0);
46593 return 0;
46595 _ACEOF
46596 if ac_fn_cxx_try_compile "$LINENO"; then :
46597 glibcxx_cv_func__float_round_use=yes
46598 else
46599 glibcxx_cv_func__float_round_use=no
46601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46602 ac_ext=c
46603 ac_cpp='$CPP $CPPFLAGS'
46604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46611 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46612 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46613 for ac_func in _ceilf _floorf
46614 do :
46615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46617 eval as_val=\$$as_ac_var
46618 if test "x$as_val" = x""yes; then :
46619 cat >>confdefs.h <<_ACEOF
46620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46621 _ACEOF
46624 done
46634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46635 $as_echo_n "checking for expf declaration... " >&6; }
46636 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46637 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46638 $as_echo_n "(cached) " >&6
46639 else
46642 ac_ext=cpp
46643 ac_cpp='$CXXCPP $CPPFLAGS'
46644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46649 /* end confdefs.h. */
46650 #include <math.h>
46651 #ifdef HAVE_IEEEFP_H
46652 #include <ieeefp.h>
46653 #endif
46656 main ()
46658 expf(0);
46660 return 0;
46662 _ACEOF
46663 if ac_fn_cxx_try_compile "$LINENO"; then :
46664 glibcxx_cv_func_expf_use=yes
46665 else
46666 glibcxx_cv_func_expf_use=no
46668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46669 ac_ext=c
46670 ac_cpp='$CPP $CPPFLAGS'
46671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46680 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46682 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46683 for ac_func in expf
46684 do :
46685 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46686 if test "x$ac_cv_func_expf" = x""yes; then :
46687 cat >>confdefs.h <<_ACEOF
46688 #define HAVE_EXPF 1
46689 _ACEOF
46692 done
46694 else
46696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46697 $as_echo_n "checking for _expf declaration... " >&6; }
46698 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46699 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46700 $as_echo_n "(cached) " >&6
46701 else
46704 ac_ext=cpp
46705 ac_cpp='$CXXCPP $CPPFLAGS'
46706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46711 /* end confdefs.h. */
46712 #include <math.h>
46713 #ifdef HAVE_IEEEFP_H
46714 #include <ieeefp.h>
46715 #endif
46718 main ()
46720 _expf(0);
46722 return 0;
46724 _ACEOF
46725 if ac_fn_cxx_try_compile "$LINENO"; then :
46726 glibcxx_cv_func__expf_use=yes
46727 else
46728 glibcxx_cv_func__expf_use=no
46730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46731 ac_ext=c
46732 ac_cpp='$CPP $CPPFLAGS'
46733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46742 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46744 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46745 for ac_func in _expf
46746 do :
46747 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46748 if test "x$ac_cv_func__expf" = x""yes; then :
46749 cat >>confdefs.h <<_ACEOF
46750 #define HAVE__EXPF 1
46751 _ACEOF
46754 done
46763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46764 $as_echo_n "checking for isnanf declaration... " >&6; }
46765 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46766 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46767 $as_echo_n "(cached) " >&6
46768 else
46771 ac_ext=cpp
46772 ac_cpp='$CXXCPP $CPPFLAGS'
46773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46778 /* end confdefs.h. */
46779 #include <math.h>
46780 #ifdef HAVE_IEEEFP_H
46781 #include <ieeefp.h>
46782 #endif
46785 main ()
46787 isnanf(0);
46789 return 0;
46791 _ACEOF
46792 if ac_fn_cxx_try_compile "$LINENO"; then :
46793 glibcxx_cv_func_isnanf_use=yes
46794 else
46795 glibcxx_cv_func_isnanf_use=no
46797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46798 ac_ext=c
46799 ac_cpp='$CPP $CPPFLAGS'
46800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46809 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46811 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46812 for ac_func in isnanf
46813 do :
46814 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46815 if test "x$ac_cv_func_isnanf" = x""yes; then :
46816 cat >>confdefs.h <<_ACEOF
46817 #define HAVE_ISNANF 1
46818 _ACEOF
46821 done
46823 else
46825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46826 $as_echo_n "checking for _isnanf declaration... " >&6; }
46827 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46828 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46829 $as_echo_n "(cached) " >&6
46830 else
46833 ac_ext=cpp
46834 ac_cpp='$CXXCPP $CPPFLAGS'
46835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46840 /* end confdefs.h. */
46841 #include <math.h>
46842 #ifdef HAVE_IEEEFP_H
46843 #include <ieeefp.h>
46844 #endif
46847 main ()
46849 _isnanf(0);
46851 return 0;
46853 _ACEOF
46854 if ac_fn_cxx_try_compile "$LINENO"; then :
46855 glibcxx_cv_func__isnanf_use=yes
46856 else
46857 glibcxx_cv_func__isnanf_use=no
46859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46860 ac_ext=c
46861 ac_cpp='$CPP $CPPFLAGS'
46862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46871 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46873 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46874 for ac_func in _isnanf
46875 do :
46876 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46877 if test "x$ac_cv_func__isnanf" = x""yes; then :
46878 cat >>confdefs.h <<_ACEOF
46879 #define HAVE__ISNANF 1
46880 _ACEOF
46883 done
46892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46893 $as_echo_n "checking for isinff declaration... " >&6; }
46894 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46895 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46896 $as_echo_n "(cached) " >&6
46897 else
46900 ac_ext=cpp
46901 ac_cpp='$CXXCPP $CPPFLAGS'
46902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46907 /* end confdefs.h. */
46908 #include <math.h>
46909 #ifdef HAVE_IEEEFP_H
46910 #include <ieeefp.h>
46911 #endif
46914 main ()
46916 isinff(0);
46918 return 0;
46920 _ACEOF
46921 if ac_fn_cxx_try_compile "$LINENO"; then :
46922 glibcxx_cv_func_isinff_use=yes
46923 else
46924 glibcxx_cv_func_isinff_use=no
46926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46927 ac_ext=c
46928 ac_cpp='$CPP $CPPFLAGS'
46929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46938 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46940 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46941 for ac_func in isinff
46942 do :
46943 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46944 if test "x$ac_cv_func_isinff" = x""yes; then :
46945 cat >>confdefs.h <<_ACEOF
46946 #define HAVE_ISINFF 1
46947 _ACEOF
46950 done
46952 else
46954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46955 $as_echo_n "checking for _isinff declaration... " >&6; }
46956 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46957 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46958 $as_echo_n "(cached) " >&6
46959 else
46962 ac_ext=cpp
46963 ac_cpp='$CXXCPP $CPPFLAGS'
46964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46969 /* end confdefs.h. */
46970 #include <math.h>
46971 #ifdef HAVE_IEEEFP_H
46972 #include <ieeefp.h>
46973 #endif
46976 main ()
46978 _isinff(0);
46980 return 0;
46982 _ACEOF
46983 if ac_fn_cxx_try_compile "$LINENO"; then :
46984 glibcxx_cv_func__isinff_use=yes
46985 else
46986 glibcxx_cv_func__isinff_use=no
46988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46989 ac_ext=c
46990 ac_cpp='$CPP $CPPFLAGS'
46991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47000 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47002 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47003 for ac_func in _isinff
47004 do :
47005 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47006 if test "x$ac_cv_func__isinff" = x""yes; then :
47007 cat >>confdefs.h <<_ACEOF
47008 #define HAVE__ISINFF 1
47009 _ACEOF
47012 done
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47022 $as_echo_n "checking for atan2f declaration... " >&6; }
47023 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47024 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47025 $as_echo_n "(cached) " >&6
47026 else
47029 ac_ext=cpp
47030 ac_cpp='$CXXCPP $CPPFLAGS'
47031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47036 /* end confdefs.h. */
47037 #include <math.h>
47039 main ()
47041 atan2f(0, 0);
47043 return 0;
47045 _ACEOF
47046 if ac_fn_cxx_try_compile "$LINENO"; then :
47047 glibcxx_cv_func_atan2f_use=yes
47048 else
47049 glibcxx_cv_func_atan2f_use=no
47051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47052 ac_ext=c
47053 ac_cpp='$CPP $CPPFLAGS'
47054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47063 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47065 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47066 for ac_func in atan2f
47067 do :
47068 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47069 if test "x$ac_cv_func_atan2f" = x""yes; then :
47070 cat >>confdefs.h <<_ACEOF
47071 #define HAVE_ATAN2F 1
47072 _ACEOF
47075 done
47077 else
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47080 $as_echo_n "checking for _atan2f declaration... " >&6; }
47081 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47082 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47083 $as_echo_n "(cached) " >&6
47084 else
47087 ac_ext=cpp
47088 ac_cpp='$CXXCPP $CPPFLAGS'
47089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47094 /* end confdefs.h. */
47095 #include <math.h>
47097 main ()
47099 _atan2f(0, 0);
47101 return 0;
47103 _ACEOF
47104 if ac_fn_cxx_try_compile "$LINENO"; then :
47105 glibcxx_cv_func__atan2f_use=yes
47106 else
47107 glibcxx_cv_func__atan2f_use=no
47109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47110 ac_ext=c
47111 ac_cpp='$CPP $CPPFLAGS'
47112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47121 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47123 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47124 for ac_func in _atan2f
47125 do :
47126 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47127 if test "x$ac_cv_func__atan2f" = x""yes; then :
47128 cat >>confdefs.h <<_ACEOF
47129 #define HAVE__ATAN2F 1
47130 _ACEOF
47133 done
47142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47143 $as_echo_n "checking for fabsf declaration... " >&6; }
47144 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47145 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47146 $as_echo_n "(cached) " >&6
47147 else
47150 ac_ext=cpp
47151 ac_cpp='$CXXCPP $CPPFLAGS'
47152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47157 /* end confdefs.h. */
47158 #include <math.h>
47159 #ifdef HAVE_IEEEFP_H
47160 #include <ieeefp.h>
47161 #endif
47164 main ()
47166 fabsf(0);
47168 return 0;
47170 _ACEOF
47171 if ac_fn_cxx_try_compile "$LINENO"; then :
47172 glibcxx_cv_func_fabsf_use=yes
47173 else
47174 glibcxx_cv_func_fabsf_use=no
47176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47177 ac_ext=c
47178 ac_cpp='$CPP $CPPFLAGS'
47179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47188 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47190 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47191 for ac_func in fabsf
47192 do :
47193 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47194 if test "x$ac_cv_func_fabsf" = x""yes; then :
47195 cat >>confdefs.h <<_ACEOF
47196 #define HAVE_FABSF 1
47197 _ACEOF
47200 done
47202 else
47204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47205 $as_echo_n "checking for _fabsf declaration... " >&6; }
47206 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47207 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47208 $as_echo_n "(cached) " >&6
47209 else
47212 ac_ext=cpp
47213 ac_cpp='$CXXCPP $CPPFLAGS'
47214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47219 /* end confdefs.h. */
47220 #include <math.h>
47221 #ifdef HAVE_IEEEFP_H
47222 #include <ieeefp.h>
47223 #endif
47226 main ()
47228 _fabsf(0);
47230 return 0;
47232 _ACEOF
47233 if ac_fn_cxx_try_compile "$LINENO"; then :
47234 glibcxx_cv_func__fabsf_use=yes
47235 else
47236 glibcxx_cv_func__fabsf_use=no
47238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47239 ac_ext=c
47240 ac_cpp='$CPP $CPPFLAGS'
47241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47250 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47252 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47253 for ac_func in _fabsf
47254 do :
47255 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47256 if test "x$ac_cv_func__fabsf" = x""yes; then :
47257 cat >>confdefs.h <<_ACEOF
47258 #define HAVE__FABSF 1
47259 _ACEOF
47262 done
47271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47272 $as_echo_n "checking for fmodf declaration... " >&6; }
47273 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47274 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47275 $as_echo_n "(cached) " >&6
47276 else
47279 ac_ext=cpp
47280 ac_cpp='$CXXCPP $CPPFLAGS'
47281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47286 /* end confdefs.h. */
47287 #include <math.h>
47289 main ()
47291 fmodf(0, 0);
47293 return 0;
47295 _ACEOF
47296 if ac_fn_cxx_try_compile "$LINENO"; then :
47297 glibcxx_cv_func_fmodf_use=yes
47298 else
47299 glibcxx_cv_func_fmodf_use=no
47301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47302 ac_ext=c
47303 ac_cpp='$CPP $CPPFLAGS'
47304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47313 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47315 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47316 for ac_func in fmodf
47317 do :
47318 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47319 if test "x$ac_cv_func_fmodf" = x""yes; then :
47320 cat >>confdefs.h <<_ACEOF
47321 #define HAVE_FMODF 1
47322 _ACEOF
47325 done
47327 else
47329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47330 $as_echo_n "checking for _fmodf declaration... " >&6; }
47331 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47332 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47333 $as_echo_n "(cached) " >&6
47334 else
47337 ac_ext=cpp
47338 ac_cpp='$CXXCPP $CPPFLAGS'
47339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47344 /* end confdefs.h. */
47345 #include <math.h>
47347 main ()
47349 _fmodf(0, 0);
47351 return 0;
47353 _ACEOF
47354 if ac_fn_cxx_try_compile "$LINENO"; then :
47355 glibcxx_cv_func__fmodf_use=yes
47356 else
47357 glibcxx_cv_func__fmodf_use=no
47359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47360 ac_ext=c
47361 ac_cpp='$CPP $CPPFLAGS'
47362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47371 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47373 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47374 for ac_func in _fmodf
47375 do :
47376 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47377 if test "x$ac_cv_func__fmodf" = x""yes; then :
47378 cat >>confdefs.h <<_ACEOF
47379 #define HAVE__FMODF 1
47380 _ACEOF
47383 done
47392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47393 $as_echo_n "checking for frexpf declaration... " >&6; }
47394 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47395 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47396 $as_echo_n "(cached) " >&6
47397 else
47400 ac_ext=cpp
47401 ac_cpp='$CXXCPP $CPPFLAGS'
47402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47407 /* end confdefs.h. */
47408 #include <math.h>
47410 main ()
47412 frexpf(0, 0);
47414 return 0;
47416 _ACEOF
47417 if ac_fn_cxx_try_compile "$LINENO"; then :
47418 glibcxx_cv_func_frexpf_use=yes
47419 else
47420 glibcxx_cv_func_frexpf_use=no
47422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47423 ac_ext=c
47424 ac_cpp='$CPP $CPPFLAGS'
47425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47434 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47436 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47437 for ac_func in frexpf
47438 do :
47439 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47440 if test "x$ac_cv_func_frexpf" = x""yes; then :
47441 cat >>confdefs.h <<_ACEOF
47442 #define HAVE_FREXPF 1
47443 _ACEOF
47446 done
47448 else
47450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47451 $as_echo_n "checking for _frexpf declaration... " >&6; }
47452 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47453 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47454 $as_echo_n "(cached) " >&6
47455 else
47458 ac_ext=cpp
47459 ac_cpp='$CXXCPP $CPPFLAGS'
47460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47465 /* end confdefs.h. */
47466 #include <math.h>
47468 main ()
47470 _frexpf(0, 0);
47472 return 0;
47474 _ACEOF
47475 if ac_fn_cxx_try_compile "$LINENO"; then :
47476 glibcxx_cv_func__frexpf_use=yes
47477 else
47478 glibcxx_cv_func__frexpf_use=no
47480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47481 ac_ext=c
47482 ac_cpp='$CPP $CPPFLAGS'
47483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47492 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47494 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47495 for ac_func in _frexpf
47496 do :
47497 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47498 if test "x$ac_cv_func__frexpf" = x""yes; then :
47499 cat >>confdefs.h <<_ACEOF
47500 #define HAVE__FREXPF 1
47501 _ACEOF
47504 done
47513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47514 $as_echo_n "checking for hypotf declaration... " >&6; }
47515 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47516 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47517 $as_echo_n "(cached) " >&6
47518 else
47521 ac_ext=cpp
47522 ac_cpp='$CXXCPP $CPPFLAGS'
47523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47528 /* end confdefs.h. */
47529 #include <math.h>
47531 main ()
47533 hypotf(0, 0);
47535 return 0;
47537 _ACEOF
47538 if ac_fn_cxx_try_compile "$LINENO"; then :
47539 glibcxx_cv_func_hypotf_use=yes
47540 else
47541 glibcxx_cv_func_hypotf_use=no
47543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47544 ac_ext=c
47545 ac_cpp='$CPP $CPPFLAGS'
47546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47555 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47557 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47558 for ac_func in hypotf
47559 do :
47560 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47561 if test "x$ac_cv_func_hypotf" = x""yes; then :
47562 cat >>confdefs.h <<_ACEOF
47563 #define HAVE_HYPOTF 1
47564 _ACEOF
47567 done
47569 else
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47572 $as_echo_n "checking for _hypotf declaration... " >&6; }
47573 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47574 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47575 $as_echo_n "(cached) " >&6
47576 else
47579 ac_ext=cpp
47580 ac_cpp='$CXXCPP $CPPFLAGS'
47581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47586 /* end confdefs.h. */
47587 #include <math.h>
47589 main ()
47591 _hypotf(0, 0);
47593 return 0;
47595 _ACEOF
47596 if ac_fn_cxx_try_compile "$LINENO"; then :
47597 glibcxx_cv_func__hypotf_use=yes
47598 else
47599 glibcxx_cv_func__hypotf_use=no
47601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47602 ac_ext=c
47603 ac_cpp='$CPP $CPPFLAGS'
47604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47613 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47615 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47616 for ac_func in _hypotf
47617 do :
47618 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47619 if test "x$ac_cv_func__hypotf" = x""yes; then :
47620 cat >>confdefs.h <<_ACEOF
47621 #define HAVE__HYPOTF 1
47622 _ACEOF
47625 done
47634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47635 $as_echo_n "checking for ldexpf declaration... " >&6; }
47636 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47637 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47638 $as_echo_n "(cached) " >&6
47639 else
47642 ac_ext=cpp
47643 ac_cpp='$CXXCPP $CPPFLAGS'
47644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47649 /* end confdefs.h. */
47650 #include <math.h>
47652 main ()
47654 ldexpf(0, 0);
47656 return 0;
47658 _ACEOF
47659 if ac_fn_cxx_try_compile "$LINENO"; then :
47660 glibcxx_cv_func_ldexpf_use=yes
47661 else
47662 glibcxx_cv_func_ldexpf_use=no
47664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47665 ac_ext=c
47666 ac_cpp='$CPP $CPPFLAGS'
47667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47676 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47678 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47679 for ac_func in ldexpf
47680 do :
47681 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47682 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47683 cat >>confdefs.h <<_ACEOF
47684 #define HAVE_LDEXPF 1
47685 _ACEOF
47688 done
47690 else
47692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47693 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47694 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47695 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47696 $as_echo_n "(cached) " >&6
47697 else
47700 ac_ext=cpp
47701 ac_cpp='$CXXCPP $CPPFLAGS'
47702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47707 /* end confdefs.h. */
47708 #include <math.h>
47710 main ()
47712 _ldexpf(0, 0);
47714 return 0;
47716 _ACEOF
47717 if ac_fn_cxx_try_compile "$LINENO"; then :
47718 glibcxx_cv_func__ldexpf_use=yes
47719 else
47720 glibcxx_cv_func__ldexpf_use=no
47722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47723 ac_ext=c
47724 ac_cpp='$CPP $CPPFLAGS'
47725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47734 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47736 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47737 for ac_func in _ldexpf
47738 do :
47739 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47740 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47741 cat >>confdefs.h <<_ACEOF
47742 #define HAVE__LDEXPF 1
47743 _ACEOF
47746 done
47755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47756 $as_echo_n "checking for logf declaration... " >&6; }
47757 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47758 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47759 $as_echo_n "(cached) " >&6
47760 else
47763 ac_ext=cpp
47764 ac_cpp='$CXXCPP $CPPFLAGS'
47765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47770 /* end confdefs.h. */
47771 #include <math.h>
47772 #ifdef HAVE_IEEEFP_H
47773 #include <ieeefp.h>
47774 #endif
47777 main ()
47779 logf(0);
47781 return 0;
47783 _ACEOF
47784 if ac_fn_cxx_try_compile "$LINENO"; then :
47785 glibcxx_cv_func_logf_use=yes
47786 else
47787 glibcxx_cv_func_logf_use=no
47789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47790 ac_ext=c
47791 ac_cpp='$CPP $CPPFLAGS'
47792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47801 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47803 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47804 for ac_func in logf
47805 do :
47806 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47807 if test "x$ac_cv_func_logf" = x""yes; then :
47808 cat >>confdefs.h <<_ACEOF
47809 #define HAVE_LOGF 1
47810 _ACEOF
47813 done
47815 else
47817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47818 $as_echo_n "checking for _logf declaration... " >&6; }
47819 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47820 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47821 $as_echo_n "(cached) " >&6
47822 else
47825 ac_ext=cpp
47826 ac_cpp='$CXXCPP $CPPFLAGS'
47827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47832 /* end confdefs.h. */
47833 #include <math.h>
47834 #ifdef HAVE_IEEEFP_H
47835 #include <ieeefp.h>
47836 #endif
47839 main ()
47841 _logf(0);
47843 return 0;
47845 _ACEOF
47846 if ac_fn_cxx_try_compile "$LINENO"; then :
47847 glibcxx_cv_func__logf_use=yes
47848 else
47849 glibcxx_cv_func__logf_use=no
47851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47852 ac_ext=c
47853 ac_cpp='$CPP $CPPFLAGS'
47854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47863 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47865 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47866 for ac_func in _logf
47867 do :
47868 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47869 if test "x$ac_cv_func__logf" = x""yes; then :
47870 cat >>confdefs.h <<_ACEOF
47871 #define HAVE__LOGF 1
47872 _ACEOF
47875 done
47884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47885 $as_echo_n "checking for log10f declaration... " >&6; }
47886 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47887 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47888 $as_echo_n "(cached) " >&6
47889 else
47892 ac_ext=cpp
47893 ac_cpp='$CXXCPP $CPPFLAGS'
47894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47899 /* end confdefs.h. */
47900 #include <math.h>
47901 #ifdef HAVE_IEEEFP_H
47902 #include <ieeefp.h>
47903 #endif
47906 main ()
47908 log10f(0);
47910 return 0;
47912 _ACEOF
47913 if ac_fn_cxx_try_compile "$LINENO"; then :
47914 glibcxx_cv_func_log10f_use=yes
47915 else
47916 glibcxx_cv_func_log10f_use=no
47918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47919 ac_ext=c
47920 ac_cpp='$CPP $CPPFLAGS'
47921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47930 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47932 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47933 for ac_func in log10f
47934 do :
47935 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47936 if test "x$ac_cv_func_log10f" = x""yes; then :
47937 cat >>confdefs.h <<_ACEOF
47938 #define HAVE_LOG10F 1
47939 _ACEOF
47942 done
47944 else
47946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47947 $as_echo_n "checking for _log10f declaration... " >&6; }
47948 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47949 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47950 $as_echo_n "(cached) " >&6
47951 else
47954 ac_ext=cpp
47955 ac_cpp='$CXXCPP $CPPFLAGS'
47956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47961 /* end confdefs.h. */
47962 #include <math.h>
47963 #ifdef HAVE_IEEEFP_H
47964 #include <ieeefp.h>
47965 #endif
47968 main ()
47970 _log10f(0);
47972 return 0;
47974 _ACEOF
47975 if ac_fn_cxx_try_compile "$LINENO"; then :
47976 glibcxx_cv_func__log10f_use=yes
47977 else
47978 glibcxx_cv_func__log10f_use=no
47980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47981 ac_ext=c
47982 ac_cpp='$CPP $CPPFLAGS'
47983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47992 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47994 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47995 for ac_func in _log10f
47996 do :
47997 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47998 if test "x$ac_cv_func__log10f" = x""yes; then :
47999 cat >>confdefs.h <<_ACEOF
48000 #define HAVE__LOG10F 1
48001 _ACEOF
48004 done
48013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48014 $as_echo_n "checking for modff declaration... " >&6; }
48015 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48016 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48017 $as_echo_n "(cached) " >&6
48018 else
48021 ac_ext=cpp
48022 ac_cpp='$CXXCPP $CPPFLAGS'
48023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48028 /* end confdefs.h. */
48029 #include <math.h>
48031 main ()
48033 modff(0, 0);
48035 return 0;
48037 _ACEOF
48038 if ac_fn_cxx_try_compile "$LINENO"; then :
48039 glibcxx_cv_func_modff_use=yes
48040 else
48041 glibcxx_cv_func_modff_use=no
48043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48044 ac_ext=c
48045 ac_cpp='$CPP $CPPFLAGS'
48046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48055 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48057 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48058 for ac_func in modff
48059 do :
48060 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48061 if test "x$ac_cv_func_modff" = x""yes; then :
48062 cat >>confdefs.h <<_ACEOF
48063 #define HAVE_MODFF 1
48064 _ACEOF
48067 done
48069 else
48071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48072 $as_echo_n "checking for _modff declaration... " >&6; }
48073 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48074 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48075 $as_echo_n "(cached) " >&6
48076 else
48079 ac_ext=cpp
48080 ac_cpp='$CXXCPP $CPPFLAGS'
48081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48086 /* end confdefs.h. */
48087 #include <math.h>
48089 main ()
48091 _modff(0, 0);
48093 return 0;
48095 _ACEOF
48096 if ac_fn_cxx_try_compile "$LINENO"; then :
48097 glibcxx_cv_func__modff_use=yes
48098 else
48099 glibcxx_cv_func__modff_use=no
48101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48102 ac_ext=c
48103 ac_cpp='$CPP $CPPFLAGS'
48104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48113 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48115 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48116 for ac_func in _modff
48117 do :
48118 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48119 if test "x$ac_cv_func__modff" = x""yes; then :
48120 cat >>confdefs.h <<_ACEOF
48121 #define HAVE__MODFF 1
48122 _ACEOF
48125 done
48134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48135 $as_echo_n "checking for modf declaration... " >&6; }
48136 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48137 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48138 $as_echo_n "(cached) " >&6
48139 else
48142 ac_ext=cpp
48143 ac_cpp='$CXXCPP $CPPFLAGS'
48144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48149 /* end confdefs.h. */
48150 #include <math.h>
48152 main ()
48154 modf(0, 0);
48156 return 0;
48158 _ACEOF
48159 if ac_fn_cxx_try_compile "$LINENO"; then :
48160 glibcxx_cv_func_modf_use=yes
48161 else
48162 glibcxx_cv_func_modf_use=no
48164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48165 ac_ext=c
48166 ac_cpp='$CPP $CPPFLAGS'
48167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48176 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48178 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48179 for ac_func in modf
48180 do :
48181 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48182 if test "x$ac_cv_func_modf" = x""yes; then :
48183 cat >>confdefs.h <<_ACEOF
48184 #define HAVE_MODF 1
48185 _ACEOF
48188 done
48190 else
48192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48193 $as_echo_n "checking for _modf declaration... " >&6; }
48194 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48195 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48196 $as_echo_n "(cached) " >&6
48197 else
48200 ac_ext=cpp
48201 ac_cpp='$CXXCPP $CPPFLAGS'
48202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48207 /* end confdefs.h. */
48208 #include <math.h>
48210 main ()
48212 _modf(0, 0);
48214 return 0;
48216 _ACEOF
48217 if ac_fn_cxx_try_compile "$LINENO"; then :
48218 glibcxx_cv_func__modf_use=yes
48219 else
48220 glibcxx_cv_func__modf_use=no
48222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48223 ac_ext=c
48224 ac_cpp='$CPP $CPPFLAGS'
48225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48234 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48236 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48237 for ac_func in _modf
48238 do :
48239 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48240 if test "x$ac_cv_func__modf" = x""yes; then :
48241 cat >>confdefs.h <<_ACEOF
48242 #define HAVE__MODF 1
48243 _ACEOF
48246 done
48255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48256 $as_echo_n "checking for powf declaration... " >&6; }
48257 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48258 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48259 $as_echo_n "(cached) " >&6
48260 else
48263 ac_ext=cpp
48264 ac_cpp='$CXXCPP $CPPFLAGS'
48265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48270 /* end confdefs.h. */
48271 #include <math.h>
48273 main ()
48275 powf(0, 0);
48277 return 0;
48279 _ACEOF
48280 if ac_fn_cxx_try_compile "$LINENO"; then :
48281 glibcxx_cv_func_powf_use=yes
48282 else
48283 glibcxx_cv_func_powf_use=no
48285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48286 ac_ext=c
48287 ac_cpp='$CPP $CPPFLAGS'
48288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48297 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48299 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48300 for ac_func in powf
48301 do :
48302 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48303 if test "x$ac_cv_func_powf" = x""yes; then :
48304 cat >>confdefs.h <<_ACEOF
48305 #define HAVE_POWF 1
48306 _ACEOF
48309 done
48311 else
48313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48314 $as_echo_n "checking for _powf declaration... " >&6; }
48315 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48316 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48317 $as_echo_n "(cached) " >&6
48318 else
48321 ac_ext=cpp
48322 ac_cpp='$CXXCPP $CPPFLAGS'
48323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48328 /* end confdefs.h. */
48329 #include <math.h>
48331 main ()
48333 _powf(0, 0);
48335 return 0;
48337 _ACEOF
48338 if ac_fn_cxx_try_compile "$LINENO"; then :
48339 glibcxx_cv_func__powf_use=yes
48340 else
48341 glibcxx_cv_func__powf_use=no
48343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48344 ac_ext=c
48345 ac_cpp='$CPP $CPPFLAGS'
48346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48355 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48357 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48358 for ac_func in _powf
48359 do :
48360 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48361 if test "x$ac_cv_func__powf" = x""yes; then :
48362 cat >>confdefs.h <<_ACEOF
48363 #define HAVE__POWF 1
48364 _ACEOF
48367 done
48376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48377 $as_echo_n "checking for sqrtf declaration... " >&6; }
48378 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48379 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48380 $as_echo_n "(cached) " >&6
48381 else
48384 ac_ext=cpp
48385 ac_cpp='$CXXCPP $CPPFLAGS'
48386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48391 /* end confdefs.h. */
48392 #include <math.h>
48393 #ifdef HAVE_IEEEFP_H
48394 #include <ieeefp.h>
48395 #endif
48398 main ()
48400 sqrtf(0);
48402 return 0;
48404 _ACEOF
48405 if ac_fn_cxx_try_compile "$LINENO"; then :
48406 glibcxx_cv_func_sqrtf_use=yes
48407 else
48408 glibcxx_cv_func_sqrtf_use=no
48410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48411 ac_ext=c
48412 ac_cpp='$CPP $CPPFLAGS'
48413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48422 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48424 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48425 for ac_func in sqrtf
48426 do :
48427 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48428 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48429 cat >>confdefs.h <<_ACEOF
48430 #define HAVE_SQRTF 1
48431 _ACEOF
48434 done
48436 else
48438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48439 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48440 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48441 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48442 $as_echo_n "(cached) " >&6
48443 else
48446 ac_ext=cpp
48447 ac_cpp='$CXXCPP $CPPFLAGS'
48448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48453 /* end confdefs.h. */
48454 #include <math.h>
48455 #ifdef HAVE_IEEEFP_H
48456 #include <ieeefp.h>
48457 #endif
48460 main ()
48462 _sqrtf(0);
48464 return 0;
48466 _ACEOF
48467 if ac_fn_cxx_try_compile "$LINENO"; then :
48468 glibcxx_cv_func__sqrtf_use=yes
48469 else
48470 glibcxx_cv_func__sqrtf_use=no
48472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48473 ac_ext=c
48474 ac_cpp='$CPP $CPPFLAGS'
48475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48484 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48486 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48487 for ac_func in _sqrtf
48488 do :
48489 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48490 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48491 cat >>confdefs.h <<_ACEOF
48492 #define HAVE__SQRTF 1
48493 _ACEOF
48496 done
48505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48506 $as_echo_n "checking for sincosf declaration... " >&6; }
48507 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48508 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48509 $as_echo_n "(cached) " >&6
48510 else
48513 ac_ext=cpp
48514 ac_cpp='$CXXCPP $CPPFLAGS'
48515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48520 /* end confdefs.h. */
48521 #include <math.h>
48523 main ()
48525 sincosf(0, 0, 0);
48527 return 0;
48529 _ACEOF
48530 if ac_fn_cxx_try_compile "$LINENO"; then :
48531 glibcxx_cv_func_sincosf_use=yes
48532 else
48533 glibcxx_cv_func_sincosf_use=no
48535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48536 ac_ext=c
48537 ac_cpp='$CPP $CPPFLAGS'
48538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48547 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48549 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48550 for ac_func in sincosf
48551 do :
48552 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48553 if test "x$ac_cv_func_sincosf" = x""yes; then :
48554 cat >>confdefs.h <<_ACEOF
48555 #define HAVE_SINCOSF 1
48556 _ACEOF
48559 done
48561 else
48563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48564 $as_echo_n "checking for _sincosf declaration... " >&6; }
48565 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48566 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48567 $as_echo_n "(cached) " >&6
48568 else
48571 ac_ext=cpp
48572 ac_cpp='$CXXCPP $CPPFLAGS'
48573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48578 /* end confdefs.h. */
48579 #include <math.h>
48581 main ()
48583 _sincosf(0, 0, 0);
48585 return 0;
48587 _ACEOF
48588 if ac_fn_cxx_try_compile "$LINENO"; then :
48589 glibcxx_cv_func__sincosf_use=yes
48590 else
48591 glibcxx_cv_func__sincosf_use=no
48593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48594 ac_ext=c
48595 ac_cpp='$CPP $CPPFLAGS'
48596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48605 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48607 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48608 for ac_func in _sincosf
48609 do :
48610 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48611 if test "x$ac_cv_func__sincosf" = x""yes; then :
48612 cat >>confdefs.h <<_ACEOF
48613 #define HAVE__SINCOSF 1
48614 _ACEOF
48617 done
48626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48627 $as_echo_n "checking for finitef declaration... " >&6; }
48628 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48629 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48630 $as_echo_n "(cached) " >&6
48631 else
48634 ac_ext=cpp
48635 ac_cpp='$CXXCPP $CPPFLAGS'
48636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48641 /* end confdefs.h. */
48642 #include <math.h>
48643 #ifdef HAVE_IEEEFP_H
48644 #include <ieeefp.h>
48645 #endif
48648 main ()
48650 finitef(0);
48652 return 0;
48654 _ACEOF
48655 if ac_fn_cxx_try_compile "$LINENO"; then :
48656 glibcxx_cv_func_finitef_use=yes
48657 else
48658 glibcxx_cv_func_finitef_use=no
48660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48661 ac_ext=c
48662 ac_cpp='$CPP $CPPFLAGS'
48663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48672 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48674 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48675 for ac_func in finitef
48676 do :
48677 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48678 if test "x$ac_cv_func_finitef" = x""yes; then :
48679 cat >>confdefs.h <<_ACEOF
48680 #define HAVE_FINITEF 1
48681 _ACEOF
48684 done
48686 else
48688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48689 $as_echo_n "checking for _finitef declaration... " >&6; }
48690 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48691 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48692 $as_echo_n "(cached) " >&6
48693 else
48696 ac_ext=cpp
48697 ac_cpp='$CXXCPP $CPPFLAGS'
48698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48703 /* end confdefs.h. */
48704 #include <math.h>
48705 #ifdef HAVE_IEEEFP_H
48706 #include <ieeefp.h>
48707 #endif
48710 main ()
48712 _finitef(0);
48714 return 0;
48716 _ACEOF
48717 if ac_fn_cxx_try_compile "$LINENO"; then :
48718 glibcxx_cv_func__finitef_use=yes
48719 else
48720 glibcxx_cv_func__finitef_use=no
48722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48723 ac_ext=c
48724 ac_cpp='$CPP $CPPFLAGS'
48725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48734 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48736 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48737 for ac_func in _finitef
48738 do :
48739 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48740 if test "x$ac_cv_func__finitef" = x""yes; then :
48741 cat >>confdefs.h <<_ACEOF
48742 #define HAVE__FINITEF 1
48743 _ACEOF
48746 done
48755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48756 $as_echo_n "checking for long double trig functions... " >&6; }
48757 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48758 $as_echo_n "(cached) " >&6
48759 else
48762 ac_ext=cpp
48763 ac_cpp='$CXXCPP $CPPFLAGS'
48764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48769 /* end confdefs.h. */
48770 #include <math.h>
48772 main ()
48774 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48776 return 0;
48778 _ACEOF
48779 if ac_fn_cxx_try_compile "$LINENO"; then :
48780 glibcxx_cv_func_long_double_trig_use=yes
48781 else
48782 glibcxx_cv_func_long_double_trig_use=no
48784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48785 ac_ext=c
48786 ac_cpp='$CPP $CPPFLAGS'
48787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48794 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48795 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48796 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48797 do :
48798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48800 eval as_val=\$$as_ac_var
48801 if test "x$as_val" = x""yes; then :
48802 cat >>confdefs.h <<_ACEOF
48803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48804 _ACEOF
48807 done
48809 else
48810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48811 $as_echo_n "checking for _long double trig functions... " >&6; }
48812 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48813 $as_echo_n "(cached) " >&6
48814 else
48817 ac_ext=cpp
48818 ac_cpp='$CXXCPP $CPPFLAGS'
48819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48824 /* end confdefs.h. */
48825 #include <math.h>
48827 main ()
48829 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48831 return 0;
48833 _ACEOF
48834 if ac_fn_cxx_try_compile "$LINENO"; then :
48835 glibcxx_cv_func__long_double_trig_use=yes
48836 else
48837 glibcxx_cv_func__long_double_trig_use=no
48839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48840 ac_ext=c
48841 ac_cpp='$CPP $CPPFLAGS'
48842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48849 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48850 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48851 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48852 do :
48853 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48855 eval as_val=\$$as_ac_var
48856 if test "x$as_val" = x""yes; then :
48857 cat >>confdefs.h <<_ACEOF
48858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48859 _ACEOF
48862 done
48871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48872 $as_echo_n "checking for long double round functions... " >&6; }
48873 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48874 $as_echo_n "(cached) " >&6
48875 else
48878 ac_ext=cpp
48879 ac_cpp='$CXXCPP $CPPFLAGS'
48880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48885 /* end confdefs.h. */
48886 #include <math.h>
48888 main ()
48890 ceill (0); floorl (0);
48892 return 0;
48894 _ACEOF
48895 if ac_fn_cxx_try_compile "$LINENO"; then :
48896 glibcxx_cv_func_long_double_round_use=yes
48897 else
48898 glibcxx_cv_func_long_double_round_use=no
48900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48901 ac_ext=c
48902 ac_cpp='$CPP $CPPFLAGS'
48903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48910 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48911 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48912 for ac_func in ceill floorl
48913 do :
48914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48916 eval as_val=\$$as_ac_var
48917 if test "x$as_val" = x""yes; then :
48918 cat >>confdefs.h <<_ACEOF
48919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48920 _ACEOF
48923 done
48925 else
48926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48927 $as_echo_n "checking for _long double round functions... " >&6; }
48928 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48929 $as_echo_n "(cached) " >&6
48930 else
48933 ac_ext=cpp
48934 ac_cpp='$CXXCPP $CPPFLAGS'
48935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48940 /* end confdefs.h. */
48941 #include <math.h>
48943 main ()
48945 _ceill (0); _floorl (0);
48947 return 0;
48949 _ACEOF
48950 if ac_fn_cxx_try_compile "$LINENO"; then :
48951 glibcxx_cv_func__long_double_round_use=yes
48952 else
48953 glibcxx_cv_func__long_double_round_use=no
48955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48956 ac_ext=c
48957 ac_cpp='$CPP $CPPFLAGS'
48958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48965 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48966 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48967 for ac_func in _ceill _floorl
48968 do :
48969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48971 eval as_val=\$$as_ac_var
48972 if test "x$as_val" = x""yes; then :
48973 cat >>confdefs.h <<_ACEOF
48974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48975 _ACEOF
48978 done
48988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48989 $as_echo_n "checking for isnanl declaration... " >&6; }
48990 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48991 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48992 $as_echo_n "(cached) " >&6
48993 else
48996 ac_ext=cpp
48997 ac_cpp='$CXXCPP $CPPFLAGS'
48998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49003 /* end confdefs.h. */
49004 #include <math.h>
49005 #ifdef HAVE_IEEEFP_H
49006 #include <ieeefp.h>
49007 #endif
49010 main ()
49012 isnanl(0);
49014 return 0;
49016 _ACEOF
49017 if ac_fn_cxx_try_compile "$LINENO"; then :
49018 glibcxx_cv_func_isnanl_use=yes
49019 else
49020 glibcxx_cv_func_isnanl_use=no
49022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49023 ac_ext=c
49024 ac_cpp='$CPP $CPPFLAGS'
49025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49034 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49036 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49037 for ac_func in isnanl
49038 do :
49039 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49040 if test "x$ac_cv_func_isnanl" = x""yes; then :
49041 cat >>confdefs.h <<_ACEOF
49042 #define HAVE_ISNANL 1
49043 _ACEOF
49046 done
49048 else
49050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49051 $as_echo_n "checking for _isnanl declaration... " >&6; }
49052 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49053 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49054 $as_echo_n "(cached) " >&6
49055 else
49058 ac_ext=cpp
49059 ac_cpp='$CXXCPP $CPPFLAGS'
49060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49065 /* end confdefs.h. */
49066 #include <math.h>
49067 #ifdef HAVE_IEEEFP_H
49068 #include <ieeefp.h>
49069 #endif
49072 main ()
49074 _isnanl(0);
49076 return 0;
49078 _ACEOF
49079 if ac_fn_cxx_try_compile "$LINENO"; then :
49080 glibcxx_cv_func__isnanl_use=yes
49081 else
49082 glibcxx_cv_func__isnanl_use=no
49084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49085 ac_ext=c
49086 ac_cpp='$CPP $CPPFLAGS'
49087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49096 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49098 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49099 for ac_func in _isnanl
49100 do :
49101 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49102 if test "x$ac_cv_func__isnanl" = x""yes; then :
49103 cat >>confdefs.h <<_ACEOF
49104 #define HAVE__ISNANL 1
49105 _ACEOF
49108 done
49117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49118 $as_echo_n "checking for isinfl declaration... " >&6; }
49119 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49120 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49121 $as_echo_n "(cached) " >&6
49122 else
49125 ac_ext=cpp
49126 ac_cpp='$CXXCPP $CPPFLAGS'
49127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49132 /* end confdefs.h. */
49133 #include <math.h>
49134 #ifdef HAVE_IEEEFP_H
49135 #include <ieeefp.h>
49136 #endif
49139 main ()
49141 isinfl(0);
49143 return 0;
49145 _ACEOF
49146 if ac_fn_cxx_try_compile "$LINENO"; then :
49147 glibcxx_cv_func_isinfl_use=yes
49148 else
49149 glibcxx_cv_func_isinfl_use=no
49151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49152 ac_ext=c
49153 ac_cpp='$CPP $CPPFLAGS'
49154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49163 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49165 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49166 for ac_func in isinfl
49167 do :
49168 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49169 if test "x$ac_cv_func_isinfl" = x""yes; then :
49170 cat >>confdefs.h <<_ACEOF
49171 #define HAVE_ISINFL 1
49172 _ACEOF
49175 done
49177 else
49179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49180 $as_echo_n "checking for _isinfl declaration... " >&6; }
49181 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49182 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49183 $as_echo_n "(cached) " >&6
49184 else
49187 ac_ext=cpp
49188 ac_cpp='$CXXCPP $CPPFLAGS'
49189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49194 /* end confdefs.h. */
49195 #include <math.h>
49196 #ifdef HAVE_IEEEFP_H
49197 #include <ieeefp.h>
49198 #endif
49201 main ()
49203 _isinfl(0);
49205 return 0;
49207 _ACEOF
49208 if ac_fn_cxx_try_compile "$LINENO"; then :
49209 glibcxx_cv_func__isinfl_use=yes
49210 else
49211 glibcxx_cv_func__isinfl_use=no
49213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49214 ac_ext=c
49215 ac_cpp='$CPP $CPPFLAGS'
49216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49225 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49227 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49228 for ac_func in _isinfl
49229 do :
49230 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49231 if test "x$ac_cv_func__isinfl" = x""yes; then :
49232 cat >>confdefs.h <<_ACEOF
49233 #define HAVE__ISINFL 1
49234 _ACEOF
49237 done
49246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49247 $as_echo_n "checking for atan2l declaration... " >&6; }
49248 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49249 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49250 $as_echo_n "(cached) " >&6
49251 else
49254 ac_ext=cpp
49255 ac_cpp='$CXXCPP $CPPFLAGS'
49256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49261 /* end confdefs.h. */
49262 #include <math.h>
49264 main ()
49266 atan2l(0, 0);
49268 return 0;
49270 _ACEOF
49271 if ac_fn_cxx_try_compile "$LINENO"; then :
49272 glibcxx_cv_func_atan2l_use=yes
49273 else
49274 glibcxx_cv_func_atan2l_use=no
49276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49277 ac_ext=c
49278 ac_cpp='$CPP $CPPFLAGS'
49279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49288 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49290 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49291 for ac_func in atan2l
49292 do :
49293 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49294 if test "x$ac_cv_func_atan2l" = x""yes; then :
49295 cat >>confdefs.h <<_ACEOF
49296 #define HAVE_ATAN2L 1
49297 _ACEOF
49300 done
49302 else
49304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49305 $as_echo_n "checking for _atan2l declaration... " >&6; }
49306 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49307 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49308 $as_echo_n "(cached) " >&6
49309 else
49312 ac_ext=cpp
49313 ac_cpp='$CXXCPP $CPPFLAGS'
49314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49319 /* end confdefs.h. */
49320 #include <math.h>
49322 main ()
49324 _atan2l(0, 0);
49326 return 0;
49328 _ACEOF
49329 if ac_fn_cxx_try_compile "$LINENO"; then :
49330 glibcxx_cv_func__atan2l_use=yes
49331 else
49332 glibcxx_cv_func__atan2l_use=no
49334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49335 ac_ext=c
49336 ac_cpp='$CPP $CPPFLAGS'
49337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49346 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49348 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49349 for ac_func in _atan2l
49350 do :
49351 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49352 if test "x$ac_cv_func__atan2l" = x""yes; then :
49353 cat >>confdefs.h <<_ACEOF
49354 #define HAVE__ATAN2L 1
49355 _ACEOF
49358 done
49367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49368 $as_echo_n "checking for expl declaration... " >&6; }
49369 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49370 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49371 $as_echo_n "(cached) " >&6
49372 else
49375 ac_ext=cpp
49376 ac_cpp='$CXXCPP $CPPFLAGS'
49377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49382 /* end confdefs.h. */
49383 #include <math.h>
49384 #ifdef HAVE_IEEEFP_H
49385 #include <ieeefp.h>
49386 #endif
49389 main ()
49391 expl(0);
49393 return 0;
49395 _ACEOF
49396 if ac_fn_cxx_try_compile "$LINENO"; then :
49397 glibcxx_cv_func_expl_use=yes
49398 else
49399 glibcxx_cv_func_expl_use=no
49401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49402 ac_ext=c
49403 ac_cpp='$CPP $CPPFLAGS'
49404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49413 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49415 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49416 for ac_func in expl
49417 do :
49418 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49419 if test "x$ac_cv_func_expl" = x""yes; then :
49420 cat >>confdefs.h <<_ACEOF
49421 #define HAVE_EXPL 1
49422 _ACEOF
49425 done
49427 else
49429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49430 $as_echo_n "checking for _expl declaration... " >&6; }
49431 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49432 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49433 $as_echo_n "(cached) " >&6
49434 else
49437 ac_ext=cpp
49438 ac_cpp='$CXXCPP $CPPFLAGS'
49439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49444 /* end confdefs.h. */
49445 #include <math.h>
49446 #ifdef HAVE_IEEEFP_H
49447 #include <ieeefp.h>
49448 #endif
49451 main ()
49453 _expl(0);
49455 return 0;
49457 _ACEOF
49458 if ac_fn_cxx_try_compile "$LINENO"; then :
49459 glibcxx_cv_func__expl_use=yes
49460 else
49461 glibcxx_cv_func__expl_use=no
49463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49464 ac_ext=c
49465 ac_cpp='$CPP $CPPFLAGS'
49466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49475 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49477 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49478 for ac_func in _expl
49479 do :
49480 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49481 if test "x$ac_cv_func__expl" = x""yes; then :
49482 cat >>confdefs.h <<_ACEOF
49483 #define HAVE__EXPL 1
49484 _ACEOF
49487 done
49496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49497 $as_echo_n "checking for fabsl declaration... " >&6; }
49498 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49499 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49500 $as_echo_n "(cached) " >&6
49501 else
49504 ac_ext=cpp
49505 ac_cpp='$CXXCPP $CPPFLAGS'
49506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49511 /* end confdefs.h. */
49512 #include <math.h>
49513 #ifdef HAVE_IEEEFP_H
49514 #include <ieeefp.h>
49515 #endif
49518 main ()
49520 fabsl(0);
49522 return 0;
49524 _ACEOF
49525 if ac_fn_cxx_try_compile "$LINENO"; then :
49526 glibcxx_cv_func_fabsl_use=yes
49527 else
49528 glibcxx_cv_func_fabsl_use=no
49530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49531 ac_ext=c
49532 ac_cpp='$CPP $CPPFLAGS'
49533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49542 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49544 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49545 for ac_func in fabsl
49546 do :
49547 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49548 if test "x$ac_cv_func_fabsl" = x""yes; then :
49549 cat >>confdefs.h <<_ACEOF
49550 #define HAVE_FABSL 1
49551 _ACEOF
49554 done
49556 else
49558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49559 $as_echo_n "checking for _fabsl declaration... " >&6; }
49560 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49561 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49562 $as_echo_n "(cached) " >&6
49563 else
49566 ac_ext=cpp
49567 ac_cpp='$CXXCPP $CPPFLAGS'
49568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49573 /* end confdefs.h. */
49574 #include <math.h>
49575 #ifdef HAVE_IEEEFP_H
49576 #include <ieeefp.h>
49577 #endif
49580 main ()
49582 _fabsl(0);
49584 return 0;
49586 _ACEOF
49587 if ac_fn_cxx_try_compile "$LINENO"; then :
49588 glibcxx_cv_func__fabsl_use=yes
49589 else
49590 glibcxx_cv_func__fabsl_use=no
49592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49593 ac_ext=c
49594 ac_cpp='$CPP $CPPFLAGS'
49595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49604 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49606 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49607 for ac_func in _fabsl
49608 do :
49609 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49610 if test "x$ac_cv_func__fabsl" = x""yes; then :
49611 cat >>confdefs.h <<_ACEOF
49612 #define HAVE__FABSL 1
49613 _ACEOF
49616 done
49625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49626 $as_echo_n "checking for fmodl declaration... " >&6; }
49627 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49628 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49629 $as_echo_n "(cached) " >&6
49630 else
49633 ac_ext=cpp
49634 ac_cpp='$CXXCPP $CPPFLAGS'
49635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49640 /* end confdefs.h. */
49641 #include <math.h>
49643 main ()
49645 fmodl(0, 0);
49647 return 0;
49649 _ACEOF
49650 if ac_fn_cxx_try_compile "$LINENO"; then :
49651 glibcxx_cv_func_fmodl_use=yes
49652 else
49653 glibcxx_cv_func_fmodl_use=no
49655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49656 ac_ext=c
49657 ac_cpp='$CPP $CPPFLAGS'
49658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49667 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49669 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49670 for ac_func in fmodl
49671 do :
49672 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49673 if test "x$ac_cv_func_fmodl" = x""yes; then :
49674 cat >>confdefs.h <<_ACEOF
49675 #define HAVE_FMODL 1
49676 _ACEOF
49679 done
49681 else
49683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49684 $as_echo_n "checking for _fmodl declaration... " >&6; }
49685 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49686 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49687 $as_echo_n "(cached) " >&6
49688 else
49691 ac_ext=cpp
49692 ac_cpp='$CXXCPP $CPPFLAGS'
49693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49698 /* end confdefs.h. */
49699 #include <math.h>
49701 main ()
49703 _fmodl(0, 0);
49705 return 0;
49707 _ACEOF
49708 if ac_fn_cxx_try_compile "$LINENO"; then :
49709 glibcxx_cv_func__fmodl_use=yes
49710 else
49711 glibcxx_cv_func__fmodl_use=no
49713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49714 ac_ext=c
49715 ac_cpp='$CPP $CPPFLAGS'
49716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49725 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49727 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49728 for ac_func in _fmodl
49729 do :
49730 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49731 if test "x$ac_cv_func__fmodl" = x""yes; then :
49732 cat >>confdefs.h <<_ACEOF
49733 #define HAVE__FMODL 1
49734 _ACEOF
49737 done
49746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49747 $as_echo_n "checking for frexpl declaration... " >&6; }
49748 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49749 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49750 $as_echo_n "(cached) " >&6
49751 else
49754 ac_ext=cpp
49755 ac_cpp='$CXXCPP $CPPFLAGS'
49756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49761 /* end confdefs.h. */
49762 #include <math.h>
49764 main ()
49766 frexpl(0, 0);
49768 return 0;
49770 _ACEOF
49771 if ac_fn_cxx_try_compile "$LINENO"; then :
49772 glibcxx_cv_func_frexpl_use=yes
49773 else
49774 glibcxx_cv_func_frexpl_use=no
49776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49777 ac_ext=c
49778 ac_cpp='$CPP $CPPFLAGS'
49779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49788 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49790 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49791 for ac_func in frexpl
49792 do :
49793 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49794 if test "x$ac_cv_func_frexpl" = x""yes; then :
49795 cat >>confdefs.h <<_ACEOF
49796 #define HAVE_FREXPL 1
49797 _ACEOF
49800 done
49802 else
49804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49805 $as_echo_n "checking for _frexpl declaration... " >&6; }
49806 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49807 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49808 $as_echo_n "(cached) " >&6
49809 else
49812 ac_ext=cpp
49813 ac_cpp='$CXXCPP $CPPFLAGS'
49814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49819 /* end confdefs.h. */
49820 #include <math.h>
49822 main ()
49824 _frexpl(0, 0);
49826 return 0;
49828 _ACEOF
49829 if ac_fn_cxx_try_compile "$LINENO"; then :
49830 glibcxx_cv_func__frexpl_use=yes
49831 else
49832 glibcxx_cv_func__frexpl_use=no
49834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49835 ac_ext=c
49836 ac_cpp='$CPP $CPPFLAGS'
49837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49846 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49848 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49849 for ac_func in _frexpl
49850 do :
49851 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49852 if test "x$ac_cv_func__frexpl" = x""yes; then :
49853 cat >>confdefs.h <<_ACEOF
49854 #define HAVE__FREXPL 1
49855 _ACEOF
49858 done
49867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49868 $as_echo_n "checking for hypotl declaration... " >&6; }
49869 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49870 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49871 $as_echo_n "(cached) " >&6
49872 else
49875 ac_ext=cpp
49876 ac_cpp='$CXXCPP $CPPFLAGS'
49877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49882 /* end confdefs.h. */
49883 #include <math.h>
49885 main ()
49887 hypotl(0, 0);
49889 return 0;
49891 _ACEOF
49892 if ac_fn_cxx_try_compile "$LINENO"; then :
49893 glibcxx_cv_func_hypotl_use=yes
49894 else
49895 glibcxx_cv_func_hypotl_use=no
49897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49898 ac_ext=c
49899 ac_cpp='$CPP $CPPFLAGS'
49900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49909 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49911 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49912 for ac_func in hypotl
49913 do :
49914 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49915 if test "x$ac_cv_func_hypotl" = x""yes; then :
49916 cat >>confdefs.h <<_ACEOF
49917 #define HAVE_HYPOTL 1
49918 _ACEOF
49921 done
49923 else
49925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49926 $as_echo_n "checking for _hypotl declaration... " >&6; }
49927 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49928 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49929 $as_echo_n "(cached) " >&6
49930 else
49933 ac_ext=cpp
49934 ac_cpp='$CXXCPP $CPPFLAGS'
49935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49940 /* end confdefs.h. */
49941 #include <math.h>
49943 main ()
49945 _hypotl(0, 0);
49947 return 0;
49949 _ACEOF
49950 if ac_fn_cxx_try_compile "$LINENO"; then :
49951 glibcxx_cv_func__hypotl_use=yes
49952 else
49953 glibcxx_cv_func__hypotl_use=no
49955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49956 ac_ext=c
49957 ac_cpp='$CPP $CPPFLAGS'
49958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49967 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49969 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49970 for ac_func in _hypotl
49971 do :
49972 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49973 if test "x$ac_cv_func__hypotl" = x""yes; then :
49974 cat >>confdefs.h <<_ACEOF
49975 #define HAVE__HYPOTL 1
49976 _ACEOF
49979 done
49988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49989 $as_echo_n "checking for ldexpl declaration... " >&6; }
49990 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49991 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49992 $as_echo_n "(cached) " >&6
49993 else
49996 ac_ext=cpp
49997 ac_cpp='$CXXCPP $CPPFLAGS'
49998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50003 /* end confdefs.h. */
50004 #include <math.h>
50006 main ()
50008 ldexpl(0, 0);
50010 return 0;
50012 _ACEOF
50013 if ac_fn_cxx_try_compile "$LINENO"; then :
50014 glibcxx_cv_func_ldexpl_use=yes
50015 else
50016 glibcxx_cv_func_ldexpl_use=no
50018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50019 ac_ext=c
50020 ac_cpp='$CPP $CPPFLAGS'
50021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50030 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50032 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50033 for ac_func in ldexpl
50034 do :
50035 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50036 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50037 cat >>confdefs.h <<_ACEOF
50038 #define HAVE_LDEXPL 1
50039 _ACEOF
50042 done
50044 else
50046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50047 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50048 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50049 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50050 $as_echo_n "(cached) " >&6
50051 else
50054 ac_ext=cpp
50055 ac_cpp='$CXXCPP $CPPFLAGS'
50056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50061 /* end confdefs.h. */
50062 #include <math.h>
50064 main ()
50066 _ldexpl(0, 0);
50068 return 0;
50070 _ACEOF
50071 if ac_fn_cxx_try_compile "$LINENO"; then :
50072 glibcxx_cv_func__ldexpl_use=yes
50073 else
50074 glibcxx_cv_func__ldexpl_use=no
50076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50077 ac_ext=c
50078 ac_cpp='$CPP $CPPFLAGS'
50079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50088 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50090 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50091 for ac_func in _ldexpl
50092 do :
50093 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50094 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50095 cat >>confdefs.h <<_ACEOF
50096 #define HAVE__LDEXPL 1
50097 _ACEOF
50100 done
50109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50110 $as_echo_n "checking for logl declaration... " >&6; }
50111 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50112 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50113 $as_echo_n "(cached) " >&6
50114 else
50117 ac_ext=cpp
50118 ac_cpp='$CXXCPP $CPPFLAGS'
50119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50124 /* end confdefs.h. */
50125 #include <math.h>
50126 #ifdef HAVE_IEEEFP_H
50127 #include <ieeefp.h>
50128 #endif
50131 main ()
50133 logl(0);
50135 return 0;
50137 _ACEOF
50138 if ac_fn_cxx_try_compile "$LINENO"; then :
50139 glibcxx_cv_func_logl_use=yes
50140 else
50141 glibcxx_cv_func_logl_use=no
50143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50144 ac_ext=c
50145 ac_cpp='$CPP $CPPFLAGS'
50146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50155 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50157 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50158 for ac_func in logl
50159 do :
50160 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50161 if test "x$ac_cv_func_logl" = x""yes; then :
50162 cat >>confdefs.h <<_ACEOF
50163 #define HAVE_LOGL 1
50164 _ACEOF
50167 done
50169 else
50171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50172 $as_echo_n "checking for _logl declaration... " >&6; }
50173 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50174 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50175 $as_echo_n "(cached) " >&6
50176 else
50179 ac_ext=cpp
50180 ac_cpp='$CXXCPP $CPPFLAGS'
50181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50186 /* end confdefs.h. */
50187 #include <math.h>
50188 #ifdef HAVE_IEEEFP_H
50189 #include <ieeefp.h>
50190 #endif
50193 main ()
50195 _logl(0);
50197 return 0;
50199 _ACEOF
50200 if ac_fn_cxx_try_compile "$LINENO"; then :
50201 glibcxx_cv_func__logl_use=yes
50202 else
50203 glibcxx_cv_func__logl_use=no
50205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50206 ac_ext=c
50207 ac_cpp='$CPP $CPPFLAGS'
50208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50217 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50219 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50220 for ac_func in _logl
50221 do :
50222 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50223 if test "x$ac_cv_func__logl" = x""yes; then :
50224 cat >>confdefs.h <<_ACEOF
50225 #define HAVE__LOGL 1
50226 _ACEOF
50229 done
50238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50239 $as_echo_n "checking for log10l declaration... " >&6; }
50240 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50241 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50242 $as_echo_n "(cached) " >&6
50243 else
50246 ac_ext=cpp
50247 ac_cpp='$CXXCPP $CPPFLAGS'
50248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50253 /* end confdefs.h. */
50254 #include <math.h>
50255 #ifdef HAVE_IEEEFP_H
50256 #include <ieeefp.h>
50257 #endif
50260 main ()
50262 log10l(0);
50264 return 0;
50266 _ACEOF
50267 if ac_fn_cxx_try_compile "$LINENO"; then :
50268 glibcxx_cv_func_log10l_use=yes
50269 else
50270 glibcxx_cv_func_log10l_use=no
50272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50273 ac_ext=c
50274 ac_cpp='$CPP $CPPFLAGS'
50275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50284 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50286 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50287 for ac_func in log10l
50288 do :
50289 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50290 if test "x$ac_cv_func_log10l" = x""yes; then :
50291 cat >>confdefs.h <<_ACEOF
50292 #define HAVE_LOG10L 1
50293 _ACEOF
50296 done
50298 else
50300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50301 $as_echo_n "checking for _log10l declaration... " >&6; }
50302 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50303 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50304 $as_echo_n "(cached) " >&6
50305 else
50308 ac_ext=cpp
50309 ac_cpp='$CXXCPP $CPPFLAGS'
50310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50315 /* end confdefs.h. */
50316 #include <math.h>
50317 #ifdef HAVE_IEEEFP_H
50318 #include <ieeefp.h>
50319 #endif
50322 main ()
50324 _log10l(0);
50326 return 0;
50328 _ACEOF
50329 if ac_fn_cxx_try_compile "$LINENO"; then :
50330 glibcxx_cv_func__log10l_use=yes
50331 else
50332 glibcxx_cv_func__log10l_use=no
50334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50335 ac_ext=c
50336 ac_cpp='$CPP $CPPFLAGS'
50337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50346 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50348 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50349 for ac_func in _log10l
50350 do :
50351 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50352 if test "x$ac_cv_func__log10l" = x""yes; then :
50353 cat >>confdefs.h <<_ACEOF
50354 #define HAVE__LOG10L 1
50355 _ACEOF
50358 done
50367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50368 $as_echo_n "checking for modfl declaration... " >&6; }
50369 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50370 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50371 $as_echo_n "(cached) " >&6
50372 else
50375 ac_ext=cpp
50376 ac_cpp='$CXXCPP $CPPFLAGS'
50377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50382 /* end confdefs.h. */
50383 #include <math.h>
50385 main ()
50387 modfl(0, 0);
50389 return 0;
50391 _ACEOF
50392 if ac_fn_cxx_try_compile "$LINENO"; then :
50393 glibcxx_cv_func_modfl_use=yes
50394 else
50395 glibcxx_cv_func_modfl_use=no
50397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50398 ac_ext=c
50399 ac_cpp='$CPP $CPPFLAGS'
50400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50409 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50411 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50412 for ac_func in modfl
50413 do :
50414 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50415 if test "x$ac_cv_func_modfl" = x""yes; then :
50416 cat >>confdefs.h <<_ACEOF
50417 #define HAVE_MODFL 1
50418 _ACEOF
50421 done
50423 else
50425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50426 $as_echo_n "checking for _modfl declaration... " >&6; }
50427 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50428 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50429 $as_echo_n "(cached) " >&6
50430 else
50433 ac_ext=cpp
50434 ac_cpp='$CXXCPP $CPPFLAGS'
50435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50440 /* end confdefs.h. */
50441 #include <math.h>
50443 main ()
50445 _modfl(0, 0);
50447 return 0;
50449 _ACEOF
50450 if ac_fn_cxx_try_compile "$LINENO"; then :
50451 glibcxx_cv_func__modfl_use=yes
50452 else
50453 glibcxx_cv_func__modfl_use=no
50455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50456 ac_ext=c
50457 ac_cpp='$CPP $CPPFLAGS'
50458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50467 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50469 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50470 for ac_func in _modfl
50471 do :
50472 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50473 if test "x$ac_cv_func__modfl" = x""yes; then :
50474 cat >>confdefs.h <<_ACEOF
50475 #define HAVE__MODFL 1
50476 _ACEOF
50479 done
50488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50489 $as_echo_n "checking for powl declaration... " >&6; }
50490 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50491 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50492 $as_echo_n "(cached) " >&6
50493 else
50496 ac_ext=cpp
50497 ac_cpp='$CXXCPP $CPPFLAGS'
50498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50503 /* end confdefs.h. */
50504 #include <math.h>
50506 main ()
50508 powl(0, 0);
50510 return 0;
50512 _ACEOF
50513 if ac_fn_cxx_try_compile "$LINENO"; then :
50514 glibcxx_cv_func_powl_use=yes
50515 else
50516 glibcxx_cv_func_powl_use=no
50518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50519 ac_ext=c
50520 ac_cpp='$CPP $CPPFLAGS'
50521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50530 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50532 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50533 for ac_func in powl
50534 do :
50535 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50536 if test "x$ac_cv_func_powl" = x""yes; then :
50537 cat >>confdefs.h <<_ACEOF
50538 #define HAVE_POWL 1
50539 _ACEOF
50542 done
50544 else
50546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50547 $as_echo_n "checking for _powl declaration... " >&6; }
50548 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50549 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50550 $as_echo_n "(cached) " >&6
50551 else
50554 ac_ext=cpp
50555 ac_cpp='$CXXCPP $CPPFLAGS'
50556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50561 /* end confdefs.h. */
50562 #include <math.h>
50564 main ()
50566 _powl(0, 0);
50568 return 0;
50570 _ACEOF
50571 if ac_fn_cxx_try_compile "$LINENO"; then :
50572 glibcxx_cv_func__powl_use=yes
50573 else
50574 glibcxx_cv_func__powl_use=no
50576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50577 ac_ext=c
50578 ac_cpp='$CPP $CPPFLAGS'
50579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50588 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50590 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50591 for ac_func in _powl
50592 do :
50593 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50594 if test "x$ac_cv_func__powl" = x""yes; then :
50595 cat >>confdefs.h <<_ACEOF
50596 #define HAVE__POWL 1
50597 _ACEOF
50600 done
50609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50610 $as_echo_n "checking for sqrtl declaration... " >&6; }
50611 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50612 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50613 $as_echo_n "(cached) " >&6
50614 else
50617 ac_ext=cpp
50618 ac_cpp='$CXXCPP $CPPFLAGS'
50619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50624 /* end confdefs.h. */
50625 #include <math.h>
50626 #ifdef HAVE_IEEEFP_H
50627 #include <ieeefp.h>
50628 #endif
50631 main ()
50633 sqrtl(0);
50635 return 0;
50637 _ACEOF
50638 if ac_fn_cxx_try_compile "$LINENO"; then :
50639 glibcxx_cv_func_sqrtl_use=yes
50640 else
50641 glibcxx_cv_func_sqrtl_use=no
50643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50644 ac_ext=c
50645 ac_cpp='$CPP $CPPFLAGS'
50646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50655 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50657 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50658 for ac_func in sqrtl
50659 do :
50660 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50661 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50662 cat >>confdefs.h <<_ACEOF
50663 #define HAVE_SQRTL 1
50664 _ACEOF
50667 done
50669 else
50671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50672 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50673 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50674 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50675 $as_echo_n "(cached) " >&6
50676 else
50679 ac_ext=cpp
50680 ac_cpp='$CXXCPP $CPPFLAGS'
50681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50686 /* end confdefs.h. */
50687 #include <math.h>
50688 #ifdef HAVE_IEEEFP_H
50689 #include <ieeefp.h>
50690 #endif
50693 main ()
50695 _sqrtl(0);
50697 return 0;
50699 _ACEOF
50700 if ac_fn_cxx_try_compile "$LINENO"; then :
50701 glibcxx_cv_func__sqrtl_use=yes
50702 else
50703 glibcxx_cv_func__sqrtl_use=no
50705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50706 ac_ext=c
50707 ac_cpp='$CPP $CPPFLAGS'
50708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50717 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50719 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50720 for ac_func in _sqrtl
50721 do :
50722 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50723 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50724 cat >>confdefs.h <<_ACEOF
50725 #define HAVE__SQRTL 1
50726 _ACEOF
50729 done
50738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50739 $as_echo_n "checking for sincosl declaration... " >&6; }
50740 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50741 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50742 $as_echo_n "(cached) " >&6
50743 else
50746 ac_ext=cpp
50747 ac_cpp='$CXXCPP $CPPFLAGS'
50748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50753 /* end confdefs.h. */
50754 #include <math.h>
50756 main ()
50758 sincosl(0, 0, 0);
50760 return 0;
50762 _ACEOF
50763 if ac_fn_cxx_try_compile "$LINENO"; then :
50764 glibcxx_cv_func_sincosl_use=yes
50765 else
50766 glibcxx_cv_func_sincosl_use=no
50768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50769 ac_ext=c
50770 ac_cpp='$CPP $CPPFLAGS'
50771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50780 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50782 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50783 for ac_func in sincosl
50784 do :
50785 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50786 if test "x$ac_cv_func_sincosl" = x""yes; then :
50787 cat >>confdefs.h <<_ACEOF
50788 #define HAVE_SINCOSL 1
50789 _ACEOF
50792 done
50794 else
50796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50797 $as_echo_n "checking for _sincosl declaration... " >&6; }
50798 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50799 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50800 $as_echo_n "(cached) " >&6
50801 else
50804 ac_ext=cpp
50805 ac_cpp='$CXXCPP $CPPFLAGS'
50806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50811 /* end confdefs.h. */
50812 #include <math.h>
50814 main ()
50816 _sincosl(0, 0, 0);
50818 return 0;
50820 _ACEOF
50821 if ac_fn_cxx_try_compile "$LINENO"; then :
50822 glibcxx_cv_func__sincosl_use=yes
50823 else
50824 glibcxx_cv_func__sincosl_use=no
50826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50827 ac_ext=c
50828 ac_cpp='$CPP $CPPFLAGS'
50829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50838 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50840 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50841 for ac_func in _sincosl
50842 do :
50843 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50844 if test "x$ac_cv_func__sincosl" = x""yes; then :
50845 cat >>confdefs.h <<_ACEOF
50846 #define HAVE__SINCOSL 1
50847 _ACEOF
50850 done
50859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50860 $as_echo_n "checking for finitel declaration... " >&6; }
50861 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50862 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50863 $as_echo_n "(cached) " >&6
50864 else
50867 ac_ext=cpp
50868 ac_cpp='$CXXCPP $CPPFLAGS'
50869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50874 /* end confdefs.h. */
50875 #include <math.h>
50876 #ifdef HAVE_IEEEFP_H
50877 #include <ieeefp.h>
50878 #endif
50881 main ()
50883 finitel(0);
50885 return 0;
50887 _ACEOF
50888 if ac_fn_cxx_try_compile "$LINENO"; then :
50889 glibcxx_cv_func_finitel_use=yes
50890 else
50891 glibcxx_cv_func_finitel_use=no
50893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50894 ac_ext=c
50895 ac_cpp='$CPP $CPPFLAGS'
50896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50905 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50907 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50908 for ac_func in finitel
50909 do :
50910 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50911 if test "x$ac_cv_func_finitel" = x""yes; then :
50912 cat >>confdefs.h <<_ACEOF
50913 #define HAVE_FINITEL 1
50914 _ACEOF
50917 done
50919 else
50921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50922 $as_echo_n "checking for _finitel declaration... " >&6; }
50923 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50924 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50925 $as_echo_n "(cached) " >&6
50926 else
50929 ac_ext=cpp
50930 ac_cpp='$CXXCPP $CPPFLAGS'
50931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50936 /* end confdefs.h. */
50937 #include <math.h>
50938 #ifdef HAVE_IEEEFP_H
50939 #include <ieeefp.h>
50940 #endif
50943 main ()
50945 _finitel(0);
50947 return 0;
50949 _ACEOF
50950 if ac_fn_cxx_try_compile "$LINENO"; then :
50951 glibcxx_cv_func__finitel_use=yes
50952 else
50953 glibcxx_cv_func__finitel_use=no
50955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50956 ac_ext=c
50957 ac_cpp='$CPP $CPPFLAGS'
50958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50967 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50969 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50970 for ac_func in _finitel
50971 do :
50972 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50973 if test "x$ac_cv_func__finitel" = x""yes; then :
50974 cat >>confdefs.h <<_ACEOF
50975 #define HAVE__FINITEL 1
50976 _ACEOF
50979 done
50987 LIBS="$ac_save_LIBS"
50988 CXXFLAGS="$ac_save_CXXFLAGS"
50991 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50992 ac_save_CXXFLAGS="$CXXFLAGS"
50993 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50997 $as_echo_n "checking for strtold declaration... " >&6; }
50998 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50999 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51000 $as_echo_n "(cached) " >&6
51001 else
51004 ac_ext=cpp
51005 ac_cpp='$CXXCPP $CPPFLAGS'
51006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51011 /* end confdefs.h. */
51012 #include <stdlib.h>
51014 main ()
51016 strtold(0, 0);
51018 return 0;
51020 _ACEOF
51021 if ac_fn_cxx_try_compile "$LINENO"; then :
51022 glibcxx_cv_func_strtold_use=yes
51023 else
51024 glibcxx_cv_func_strtold_use=no
51026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51027 ac_ext=c
51028 ac_cpp='$CPP $CPPFLAGS'
51029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51038 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51039 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51040 for ac_func in strtold
51041 do :
51042 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51043 if test "x$ac_cv_func_strtold" = x""yes; then :
51044 cat >>confdefs.h <<_ACEOF
51045 #define HAVE_STRTOLD 1
51046 _ACEOF
51049 done
51056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51057 $as_echo_n "checking for strtof declaration... " >&6; }
51058 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51059 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51060 $as_echo_n "(cached) " >&6
51061 else
51064 ac_ext=cpp
51065 ac_cpp='$CXXCPP $CPPFLAGS'
51066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51071 /* end confdefs.h. */
51072 #include <stdlib.h>
51074 main ()
51076 strtof(0, 0);
51078 return 0;
51080 _ACEOF
51081 if ac_fn_cxx_try_compile "$LINENO"; then :
51082 glibcxx_cv_func_strtof_use=yes
51083 else
51084 glibcxx_cv_func_strtof_use=no
51086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51087 ac_ext=c
51088 ac_cpp='$CPP $CPPFLAGS'
51089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51098 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51099 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51100 for ac_func in strtof
51101 do :
51102 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51103 if test "x$ac_cv_func_strtof" = x""yes; then :
51104 cat >>confdefs.h <<_ACEOF
51105 #define HAVE_STRTOF 1
51106 _ACEOF
51109 done
51116 CXXFLAGS="$ac_save_CXXFLAGS"
51118 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51122 # Check whether --enable-tls was given.
51123 if test "${enable_tls+set}" = set; then :
51124 enableval=$enable_tls;
51125 case "$enableval" in
51126 yes|no) ;;
51127 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51128 esac
51130 else
51131 enable_tls=yes
51135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51136 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51137 if test "${gcc_cv_have_tls+set}" = set; then :
51138 $as_echo_n "(cached) " >&6
51139 else
51141 if test "$cross_compiling" = yes; then :
51142 if test x$gcc_no_link = xyes; then
51143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51146 /* end confdefs.h. */
51147 __thread int a; int b; int main() { return a = b; }
51148 _ACEOF
51149 if ac_fn_c_try_link "$LINENO"; then :
51150 chktls_save_LDFLAGS="$LDFLAGS"
51151 case $host in
51152 *-*-linux*)
51153 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51155 esac
51156 chktls_save_CFLAGS="$CFLAGS"
51157 CFLAGS="-fPIC $CFLAGS"
51158 if test x$gcc_no_link = xyes; then
51159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51162 /* end confdefs.h. */
51163 int f() { return 0; }
51164 _ACEOF
51165 if ac_fn_c_try_link "$LINENO"; then :
51166 if test x$gcc_no_link = xyes; then
51167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51170 /* end confdefs.h. */
51171 __thread int a; int b; int f() { return a = b; }
51172 _ACEOF
51173 if ac_fn_c_try_link "$LINENO"; then :
51174 gcc_cv_have_tls=yes
51175 else
51176 gcc_cv_have_tls=no
51178 rm -f core conftest.err conftest.$ac_objext \
51179 conftest$ac_exeext conftest.$ac_ext
51180 else
51181 gcc_cv_have_tls=yes
51183 rm -f core conftest.err conftest.$ac_objext \
51184 conftest$ac_exeext conftest.$ac_ext
51185 CFLAGS="$chktls_save_CFLAGS"
51186 LDFLAGS="$chktls_save_LDFLAGS"
51187 else
51188 gcc_cv_have_tls=no
51190 rm -f core conftest.err conftest.$ac_objext \
51191 conftest$ac_exeext conftest.$ac_ext
51194 else
51195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51196 /* end confdefs.h. */
51197 __thread int a; int b; int main() { return a = b; }
51198 _ACEOF
51199 if ac_fn_c_try_run "$LINENO"; then :
51200 chktls_save_LDFLAGS="$LDFLAGS"
51201 LDFLAGS="-static $LDFLAGS"
51202 if test x$gcc_no_link = xyes; then
51203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51206 /* end confdefs.h. */
51207 int main() { return 0; }
51208 _ACEOF
51209 if ac_fn_c_try_link "$LINENO"; then :
51210 if test "$cross_compiling" = yes; then :
51211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51213 as_fn_error "cannot run test program while cross compiling
51214 See \`config.log' for more details." "$LINENO" 5; }
51215 else
51216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51217 /* end confdefs.h. */
51218 __thread int a; int b; int main() { return a = b; }
51219 _ACEOF
51220 if ac_fn_c_try_run "$LINENO"; then :
51221 gcc_cv_have_tls=yes
51222 else
51223 gcc_cv_have_tls=no
51225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51226 conftest.$ac_objext conftest.beam conftest.$ac_ext
51229 else
51230 gcc_cv_have_tls=yes
51232 rm -f core conftest.err conftest.$ac_objext \
51233 conftest$ac_exeext conftest.$ac_ext
51234 LDFLAGS="$chktls_save_LDFLAGS"
51235 if test $gcc_cv_have_tls = yes; then
51236 chktls_save_CFLAGS="$CFLAGS"
51237 thread_CFLAGS=failed
51238 for flag in '' '-pthread' '-lpthread'; do
51239 CFLAGS="$flag $chktls_save_CFLAGS"
51240 if test x$gcc_no_link = xyes; then
51241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51244 /* end confdefs.h. */
51245 #include <pthread.h>
51246 void *g(void *d) { return NULL; }
51248 main ()
51250 pthread_t t; pthread_create(&t,NULL,g,NULL);
51252 return 0;
51254 _ACEOF
51255 if ac_fn_c_try_link "$LINENO"; then :
51256 thread_CFLAGS="$flag"
51258 rm -f core conftest.err conftest.$ac_objext \
51259 conftest$ac_exeext conftest.$ac_ext
51260 if test "X$thread_CFLAGS" != Xfailed; then
51261 break
51263 done
51264 CFLAGS="$chktls_save_CFLAGS"
51265 if test "X$thread_CFLAGS" != Xfailed; then
51266 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51267 if test "$cross_compiling" = yes; then :
51268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51270 as_fn_error "cannot run test program while cross compiling
51271 See \`config.log' for more details." "$LINENO" 5; }
51272 else
51273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51274 /* end confdefs.h. */
51275 #include <pthread.h>
51276 __thread int a;
51277 static int *volatile a_in_other_thread;
51278 static void *
51279 thread_func (void *arg)
51281 a_in_other_thread = &a;
51282 return (void *)0;
51285 main ()
51287 pthread_t thread;
51288 void *thread_retval;
51289 int *volatile a_in_main_thread;
51290 a_in_main_thread = &a;
51291 if (pthread_create (&thread, (pthread_attr_t *)0,
51292 thread_func, (void *)0))
51293 return 0;
51294 if (pthread_join (thread, &thread_retval))
51295 return 0;
51296 return (a_in_other_thread == a_in_main_thread);
51298 return 0;
51300 _ACEOF
51301 if ac_fn_c_try_run "$LINENO"; then :
51302 gcc_cv_have_tls=yes
51303 else
51304 gcc_cv_have_tls=no
51306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51307 conftest.$ac_objext conftest.beam conftest.$ac_ext
51310 CFLAGS="$chktls_save_CFLAGS"
51313 else
51314 gcc_cv_have_tls=no
51316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51317 conftest.$ac_objext conftest.beam conftest.$ac_ext
51321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51322 $as_echo "$gcc_cv_have_tls" >&6; }
51323 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51325 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51333 am_save_CPPFLAGS="$CPPFLAGS"
51335 for element in $INCICONV; do
51336 haveit=
51337 for x in $CPPFLAGS; do
51339 acl_save_prefix="$prefix"
51340 prefix="$acl_final_prefix"
51341 acl_save_exec_prefix="$exec_prefix"
51342 exec_prefix="$acl_final_exec_prefix"
51343 eval x=\"$x\"
51344 exec_prefix="$acl_save_exec_prefix"
51345 prefix="$acl_save_prefix"
51347 if test "X$x" = "X$element"; then
51348 haveit=yes
51349 break
51351 done
51352 if test -z "$haveit"; then
51353 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51355 done
51358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51359 $as_echo_n "checking for iconv... " >&6; }
51360 if test "${am_cv_func_iconv+set}" = set; then :
51361 $as_echo_n "(cached) " >&6
51362 else
51364 am_cv_func_iconv="no, consider installing GNU libiconv"
51365 am_cv_lib_iconv=no
51366 if test x$gcc_no_link = xyes; then
51367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51370 /* end confdefs.h. */
51371 #include <stdlib.h>
51372 #include <iconv.h>
51374 main ()
51376 iconv_t cd = iconv_open("","");
51377 iconv(cd,NULL,NULL,NULL,NULL);
51378 iconv_close(cd);
51380 return 0;
51382 _ACEOF
51383 if ac_fn_c_try_link "$LINENO"; then :
51384 am_cv_func_iconv=yes
51386 rm -f core conftest.err conftest.$ac_objext \
51387 conftest$ac_exeext conftest.$ac_ext
51388 if test "$am_cv_func_iconv" != yes; then
51389 am_save_LIBS="$LIBS"
51390 LIBS="$LIBS $LIBICONV"
51391 if test x$gcc_no_link = xyes; then
51392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51395 /* end confdefs.h. */
51396 #include <stdlib.h>
51397 #include <iconv.h>
51399 main ()
51401 iconv_t cd = iconv_open("","");
51402 iconv(cd,NULL,NULL,NULL,NULL);
51403 iconv_close(cd);
51405 return 0;
51407 _ACEOF
51408 if ac_fn_c_try_link "$LINENO"; then :
51409 am_cv_lib_iconv=yes
51410 am_cv_func_iconv=yes
51412 rm -f core conftest.err conftest.$ac_objext \
51413 conftest$ac_exeext conftest.$ac_ext
51414 LIBS="$am_save_LIBS"
51418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51419 $as_echo "$am_cv_func_iconv" >&6; }
51420 if test "$am_cv_func_iconv" = yes; then
51422 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51425 if test "$am_cv_lib_iconv" = yes; then
51426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51427 $as_echo_n "checking how to link with libiconv... " >&6; }
51428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51429 $as_echo "$LIBICONV" >&6; }
51430 else
51431 CPPFLAGS="$am_save_CPPFLAGS"
51432 LIBICONV=
51433 LTLIBICONV=
51438 if test "$am_cv_func_iconv" = yes; then
51439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51440 $as_echo_n "checking for iconv declaration... " >&6; }
51441 if test "${am_cv_proto_iconv+set}" = set; then :
51442 $as_echo_n "(cached) " >&6
51443 else
51445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51446 /* end confdefs.h. */
51448 #include <stdlib.h>
51449 #include <iconv.h>
51450 extern
51451 #ifdef __cplusplus
51453 #endif
51454 #if defined(__STDC__) || defined(__cplusplus)
51455 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51456 #else
51457 size_t iconv();
51458 #endif
51461 main ()
51465 return 0;
51467 _ACEOF
51468 if ac_fn_c_try_compile "$LINENO"; then :
51469 am_cv_proto_iconv_arg1=""
51470 else
51471 am_cv_proto_iconv_arg1="const"
51473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51474 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);"
51477 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51479 }$am_cv_proto_iconv" >&5
51480 $as_echo "${ac_t:-
51481 }$am_cv_proto_iconv" >&6; }
51483 cat >>confdefs.h <<_ACEOF
51484 #define ICONV_CONST $am_cv_proto_iconv_arg1
51485 _ACEOF
51490 *-mingw32*)
51492 # If we're not using GNU ld, then there's no point in even trying these
51493 # tests. Check for that first. We should have already tested for gld
51494 # by now (in libtool), but require it now just to be safe...
51495 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51496 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51500 # The name set by libtool depends on the version of libtool. Shame on us
51501 # for depending on an impl detail, but c'est la vie. Older versions used
51502 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51503 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51504 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51505 # set (hence we're using an older libtool), then set it.
51506 if test x${with_gnu_ld+set} != xset; then
51507 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51508 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51509 with_gnu_ld=no
51510 else
51511 with_gnu_ld=$ac_cv_prog_gnu_ld
51515 # Start by getting the version number. I think the libtool test already
51516 # does some of this, but throws away the result.
51517 glibcxx_ld_is_gold=no
51518 if test x"$with_gnu_ld" = x"yes"; then
51519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51520 $as_echo_n "checking for ld version... " >&6; }
51522 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51523 glibcxx_ld_is_gold=yes
51525 ldver=`$LD --version 2>/dev/null |
51526 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'`
51528 glibcxx_gnu_ld_version=`echo $ldver | \
51529 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51531 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51534 # Set --gc-sections.
51535 glibcxx_have_gc_sections=no
51536 if test "$glibcxx_ld_is_gold" = "yes"; then
51537 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51538 glibcxx_have_gc_sections=yes
51540 else
51541 glibcxx_gcsections_min_ld=21602
51542 if test x"$with_gnu_ld" = x"yes" &&
51543 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51544 glibcxx_have_gc_sections=yes
51547 if test "$glibcxx_have_gc_sections" = "yes"; then
51548 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51549 # NB: This flag only works reliably after 2.16.1. Configure tests
51550 # for this are difficult, so hard wire a value that should work.
51552 ac_test_CFLAGS="${CFLAGS+set}"
51553 ac_save_CFLAGS="$CFLAGS"
51554 CFLAGS='-Wl,--gc-sections'
51556 # Check for -Wl,--gc-sections
51557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51558 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51559 if test x$gcc_no_link = xyes; then
51560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51563 /* end confdefs.h. */
51564 int one(void) { return 1; }
51565 int two(void) { return 2; }
51568 main ()
51570 two();
51572 return 0;
51574 _ACEOF
51575 if ac_fn_c_try_link "$LINENO"; then :
51576 ac_gcsections=yes
51577 else
51578 ac_gcsections=no
51580 rm -f core conftest.err conftest.$ac_objext \
51581 conftest$ac_exeext conftest.$ac_ext
51582 if test "$ac_gcsections" = "yes"; then
51583 rm -f conftest.c
51584 touch conftest.c
51585 if $CC -c conftest.c; then
51586 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51587 grep "Warning: gc-sections option ignored" > /dev/null; then
51588 ac_gcsections=no
51591 rm -f conftest.c conftest.o conftest
51593 if test "$ac_gcsections" = "yes"; then
51594 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51597 $as_echo "$ac_gcsections" >&6; }
51599 if test "$ac_test_CFLAGS" = set; then
51600 CFLAGS="$ac_save_CFLAGS"
51601 else
51602 # this is the suspicious part
51603 CFLAGS=''
51607 # Set -z,relro.
51608 # Note this is only for shared objects.
51609 ac_ld_relro=no
51610 if test x"$with_gnu_ld" = x"yes"; then
51611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51612 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51613 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51614 if test -n "$cxx_z_relo"; then
51615 OPT_LDFLAGS="-Wl,-z,relro"
51616 ac_ld_relro=yes
51618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51619 $as_echo "$ac_ld_relro" >&6; }
51622 # Set linker optimization flags.
51623 if test x"$with_gnu_ld" = x"yes"; then
51624 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51631 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51632 ac_save_CXXFLAGS="$CXXFLAGS"
51633 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51636 $as_echo_n "checking for sin in -lm... " >&6; }
51637 if test "${ac_cv_lib_m_sin+set}" = set; then :
51638 $as_echo_n "(cached) " >&6
51639 else
51640 ac_check_lib_save_LIBS=$LIBS
51641 LIBS="-lm $LIBS"
51642 if test x$gcc_no_link = xyes; then
51643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51646 /* end confdefs.h. */
51648 /* Override any GCC internal prototype to avoid an error.
51649 Use char because int might match the return type of a GCC
51650 builtin and then its argument prototype would still apply. */
51651 #ifdef __cplusplus
51652 extern "C"
51653 #endif
51654 char sin ();
51656 main ()
51658 return sin ();
51660 return 0;
51662 _ACEOF
51663 if ac_fn_c_try_link "$LINENO"; then :
51664 ac_cv_lib_m_sin=yes
51665 else
51666 ac_cv_lib_m_sin=no
51668 rm -f core conftest.err conftest.$ac_objext \
51669 conftest$ac_exeext conftest.$ac_ext
51670 LIBS=$ac_check_lib_save_LIBS
51672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51673 $as_echo "$ac_cv_lib_m_sin" >&6; }
51674 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51675 libm="-lm"
51678 ac_save_LIBS="$LIBS"
51679 LIBS="$LIBS $libm"
51683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51684 $as_echo_n "checking for isinf declaration... " >&6; }
51685 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51686 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51687 $as_echo_n "(cached) " >&6
51688 else
51691 ac_ext=cpp
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51698 /* end confdefs.h. */
51699 #include <math.h>
51700 #ifdef HAVE_IEEEFP_H
51701 #include <ieeefp.h>
51702 #endif
51705 main ()
51707 isinf(0);
51709 return 0;
51711 _ACEOF
51712 if ac_fn_cxx_try_compile "$LINENO"; then :
51713 glibcxx_cv_func_isinf_use=yes
51714 else
51715 glibcxx_cv_func_isinf_use=no
51717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51718 ac_ext=c
51719 ac_cpp='$CPP $CPPFLAGS'
51720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51729 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51731 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51732 for ac_func in isinf
51733 do :
51734 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51735 if test "x$ac_cv_func_isinf" = x""yes; then :
51736 cat >>confdefs.h <<_ACEOF
51737 #define HAVE_ISINF 1
51738 _ACEOF
51741 done
51743 else
51745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51746 $as_echo_n "checking for _isinf declaration... " >&6; }
51747 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51748 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51749 $as_echo_n "(cached) " >&6
51750 else
51753 ac_ext=cpp
51754 ac_cpp='$CXXCPP $CPPFLAGS'
51755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51760 /* end confdefs.h. */
51761 #include <math.h>
51762 #ifdef HAVE_IEEEFP_H
51763 #include <ieeefp.h>
51764 #endif
51767 main ()
51769 _isinf(0);
51771 return 0;
51773 _ACEOF
51774 if ac_fn_cxx_try_compile "$LINENO"; then :
51775 glibcxx_cv_func__isinf_use=yes
51776 else
51777 glibcxx_cv_func__isinf_use=no
51779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51780 ac_ext=c
51781 ac_cpp='$CPP $CPPFLAGS'
51782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51791 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51793 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51794 for ac_func in _isinf
51795 do :
51796 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51797 if test "x$ac_cv_func__isinf" = x""yes; then :
51798 cat >>confdefs.h <<_ACEOF
51799 #define HAVE__ISINF 1
51800 _ACEOF
51803 done
51812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51813 $as_echo_n "checking for isnan declaration... " >&6; }
51814 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51815 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51816 $as_echo_n "(cached) " >&6
51817 else
51820 ac_ext=cpp
51821 ac_cpp='$CXXCPP $CPPFLAGS'
51822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51827 /* end confdefs.h. */
51828 #include <math.h>
51829 #ifdef HAVE_IEEEFP_H
51830 #include <ieeefp.h>
51831 #endif
51834 main ()
51836 isnan(0);
51838 return 0;
51840 _ACEOF
51841 if ac_fn_cxx_try_compile "$LINENO"; then :
51842 glibcxx_cv_func_isnan_use=yes
51843 else
51844 glibcxx_cv_func_isnan_use=no
51846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51847 ac_ext=c
51848 ac_cpp='$CPP $CPPFLAGS'
51849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51858 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51860 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51861 for ac_func in isnan
51862 do :
51863 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51864 if test "x$ac_cv_func_isnan" = x""yes; then :
51865 cat >>confdefs.h <<_ACEOF
51866 #define HAVE_ISNAN 1
51867 _ACEOF
51870 done
51872 else
51874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51875 $as_echo_n "checking for _isnan declaration... " >&6; }
51876 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51877 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51878 $as_echo_n "(cached) " >&6
51879 else
51882 ac_ext=cpp
51883 ac_cpp='$CXXCPP $CPPFLAGS'
51884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51889 /* end confdefs.h. */
51890 #include <math.h>
51891 #ifdef HAVE_IEEEFP_H
51892 #include <ieeefp.h>
51893 #endif
51896 main ()
51898 _isnan(0);
51900 return 0;
51902 _ACEOF
51903 if ac_fn_cxx_try_compile "$LINENO"; then :
51904 glibcxx_cv_func__isnan_use=yes
51905 else
51906 glibcxx_cv_func__isnan_use=no
51908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51909 ac_ext=c
51910 ac_cpp='$CPP $CPPFLAGS'
51911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51920 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51922 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51923 for ac_func in _isnan
51924 do :
51925 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51926 if test "x$ac_cv_func__isnan" = x""yes; then :
51927 cat >>confdefs.h <<_ACEOF
51928 #define HAVE__ISNAN 1
51929 _ACEOF
51932 done
51941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51942 $as_echo_n "checking for finite declaration... " >&6; }
51943 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51944 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51945 $as_echo_n "(cached) " >&6
51946 else
51949 ac_ext=cpp
51950 ac_cpp='$CXXCPP $CPPFLAGS'
51951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51956 /* end confdefs.h. */
51957 #include <math.h>
51958 #ifdef HAVE_IEEEFP_H
51959 #include <ieeefp.h>
51960 #endif
51963 main ()
51965 finite(0);
51967 return 0;
51969 _ACEOF
51970 if ac_fn_cxx_try_compile "$LINENO"; then :
51971 glibcxx_cv_func_finite_use=yes
51972 else
51973 glibcxx_cv_func_finite_use=no
51975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51976 ac_ext=c
51977 ac_cpp='$CPP $CPPFLAGS'
51978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51987 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51989 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51990 for ac_func in finite
51991 do :
51992 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51993 if test "x$ac_cv_func_finite" = x""yes; then :
51994 cat >>confdefs.h <<_ACEOF
51995 #define HAVE_FINITE 1
51996 _ACEOF
51999 done
52001 else
52003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52004 $as_echo_n "checking for _finite declaration... " >&6; }
52005 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52006 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52007 $as_echo_n "(cached) " >&6
52008 else
52011 ac_ext=cpp
52012 ac_cpp='$CXXCPP $CPPFLAGS'
52013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52018 /* end confdefs.h. */
52019 #include <math.h>
52020 #ifdef HAVE_IEEEFP_H
52021 #include <ieeefp.h>
52022 #endif
52025 main ()
52027 _finite(0);
52029 return 0;
52031 _ACEOF
52032 if ac_fn_cxx_try_compile "$LINENO"; then :
52033 glibcxx_cv_func__finite_use=yes
52034 else
52035 glibcxx_cv_func__finite_use=no
52037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52038 ac_ext=c
52039 ac_cpp='$CPP $CPPFLAGS'
52040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52049 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52051 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52052 for ac_func in _finite
52053 do :
52054 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52055 if test "x$ac_cv_func__finite" = x""yes; then :
52056 cat >>confdefs.h <<_ACEOF
52057 #define HAVE__FINITE 1
52058 _ACEOF
52061 done
52070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52071 $as_echo_n "checking for sincos declaration... " >&6; }
52072 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52073 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52074 $as_echo_n "(cached) " >&6
52075 else
52078 ac_ext=cpp
52079 ac_cpp='$CXXCPP $CPPFLAGS'
52080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52085 /* end confdefs.h. */
52086 #include <math.h>
52088 main ()
52090 sincos(0, 0, 0);
52092 return 0;
52094 _ACEOF
52095 if ac_fn_cxx_try_compile "$LINENO"; then :
52096 glibcxx_cv_func_sincos_use=yes
52097 else
52098 glibcxx_cv_func_sincos_use=no
52100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52101 ac_ext=c
52102 ac_cpp='$CPP $CPPFLAGS'
52103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52112 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52114 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52115 for ac_func in sincos
52116 do :
52117 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52118 if test "x$ac_cv_func_sincos" = x""yes; then :
52119 cat >>confdefs.h <<_ACEOF
52120 #define HAVE_SINCOS 1
52121 _ACEOF
52124 done
52126 else
52128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52129 $as_echo_n "checking for _sincos declaration... " >&6; }
52130 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52131 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52132 $as_echo_n "(cached) " >&6
52133 else
52136 ac_ext=cpp
52137 ac_cpp='$CXXCPP $CPPFLAGS'
52138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52143 /* end confdefs.h. */
52144 #include <math.h>
52146 main ()
52148 _sincos(0, 0, 0);
52150 return 0;
52152 _ACEOF
52153 if ac_fn_cxx_try_compile "$LINENO"; then :
52154 glibcxx_cv_func__sincos_use=yes
52155 else
52156 glibcxx_cv_func__sincos_use=no
52158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52159 ac_ext=c
52160 ac_cpp='$CPP $CPPFLAGS'
52161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52170 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52172 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52173 for ac_func in _sincos
52174 do :
52175 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52176 if test "x$ac_cv_func__sincos" = x""yes; then :
52177 cat >>confdefs.h <<_ACEOF
52178 #define HAVE__SINCOS 1
52179 _ACEOF
52182 done
52191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52192 $as_echo_n "checking for fpclass declaration... " >&6; }
52193 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52194 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52195 $as_echo_n "(cached) " >&6
52196 else
52199 ac_ext=cpp
52200 ac_cpp='$CXXCPP $CPPFLAGS'
52201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52206 /* end confdefs.h. */
52207 #include <math.h>
52208 #ifdef HAVE_IEEEFP_H
52209 #include <ieeefp.h>
52210 #endif
52213 main ()
52215 fpclass(0);
52217 return 0;
52219 _ACEOF
52220 if ac_fn_cxx_try_compile "$LINENO"; then :
52221 glibcxx_cv_func_fpclass_use=yes
52222 else
52223 glibcxx_cv_func_fpclass_use=no
52225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52226 ac_ext=c
52227 ac_cpp='$CPP $CPPFLAGS'
52228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52237 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52239 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52240 for ac_func in fpclass
52241 do :
52242 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52243 if test "x$ac_cv_func_fpclass" = x""yes; then :
52244 cat >>confdefs.h <<_ACEOF
52245 #define HAVE_FPCLASS 1
52246 _ACEOF
52249 done
52251 else
52253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52254 $as_echo_n "checking for _fpclass declaration... " >&6; }
52255 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52256 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52257 $as_echo_n "(cached) " >&6
52258 else
52261 ac_ext=cpp
52262 ac_cpp='$CXXCPP $CPPFLAGS'
52263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52268 /* end confdefs.h. */
52269 #include <math.h>
52270 #ifdef HAVE_IEEEFP_H
52271 #include <ieeefp.h>
52272 #endif
52275 main ()
52277 _fpclass(0);
52279 return 0;
52281 _ACEOF
52282 if ac_fn_cxx_try_compile "$LINENO"; then :
52283 glibcxx_cv_func__fpclass_use=yes
52284 else
52285 glibcxx_cv_func__fpclass_use=no
52287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52288 ac_ext=c
52289 ac_cpp='$CPP $CPPFLAGS'
52290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52299 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52301 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52302 for ac_func in _fpclass
52303 do :
52304 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52305 if test "x$ac_cv_func__fpclass" = x""yes; then :
52306 cat >>confdefs.h <<_ACEOF
52307 #define HAVE__FPCLASS 1
52308 _ACEOF
52311 done
52320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52321 $as_echo_n "checking for qfpclass declaration... " >&6; }
52322 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52323 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52324 $as_echo_n "(cached) " >&6
52325 else
52328 ac_ext=cpp
52329 ac_cpp='$CXXCPP $CPPFLAGS'
52330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52335 /* end confdefs.h. */
52336 #include <math.h>
52337 #ifdef HAVE_IEEEFP_H
52338 #include <ieeefp.h>
52339 #endif
52342 main ()
52344 qfpclass(0);
52346 return 0;
52348 _ACEOF
52349 if ac_fn_cxx_try_compile "$LINENO"; then :
52350 glibcxx_cv_func_qfpclass_use=yes
52351 else
52352 glibcxx_cv_func_qfpclass_use=no
52354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52355 ac_ext=c
52356 ac_cpp='$CPP $CPPFLAGS'
52357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52366 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52368 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52369 for ac_func in qfpclass
52370 do :
52371 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52372 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52373 cat >>confdefs.h <<_ACEOF
52374 #define HAVE_QFPCLASS 1
52375 _ACEOF
52378 done
52380 else
52382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52383 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52384 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52385 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52386 $as_echo_n "(cached) " >&6
52387 else
52390 ac_ext=cpp
52391 ac_cpp='$CXXCPP $CPPFLAGS'
52392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52397 /* end confdefs.h. */
52398 #include <math.h>
52399 #ifdef HAVE_IEEEFP_H
52400 #include <ieeefp.h>
52401 #endif
52404 main ()
52406 _qfpclass(0);
52408 return 0;
52410 _ACEOF
52411 if ac_fn_cxx_try_compile "$LINENO"; then :
52412 glibcxx_cv_func__qfpclass_use=yes
52413 else
52414 glibcxx_cv_func__qfpclass_use=no
52416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52417 ac_ext=c
52418 ac_cpp='$CPP $CPPFLAGS'
52419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52428 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52430 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52431 for ac_func in _qfpclass
52432 do :
52433 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52434 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52435 cat >>confdefs.h <<_ACEOF
52436 #define HAVE__QFPCLASS 1
52437 _ACEOF
52440 done
52449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52450 $as_echo_n "checking for hypot declaration... " >&6; }
52451 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52452 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52453 $as_echo_n "(cached) " >&6
52454 else
52457 ac_ext=cpp
52458 ac_cpp='$CXXCPP $CPPFLAGS'
52459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52464 /* end confdefs.h. */
52465 #include <math.h>
52467 main ()
52469 hypot(0, 0);
52471 return 0;
52473 _ACEOF
52474 if ac_fn_cxx_try_compile "$LINENO"; then :
52475 glibcxx_cv_func_hypot_use=yes
52476 else
52477 glibcxx_cv_func_hypot_use=no
52479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52480 ac_ext=c
52481 ac_cpp='$CPP $CPPFLAGS'
52482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52491 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52493 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52494 for ac_func in hypot
52495 do :
52496 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52497 if test "x$ac_cv_func_hypot" = x""yes; then :
52498 cat >>confdefs.h <<_ACEOF
52499 #define HAVE_HYPOT 1
52500 _ACEOF
52503 done
52505 else
52507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52508 $as_echo_n "checking for _hypot declaration... " >&6; }
52509 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52510 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52511 $as_echo_n "(cached) " >&6
52512 else
52515 ac_ext=cpp
52516 ac_cpp='$CXXCPP $CPPFLAGS'
52517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52522 /* end confdefs.h. */
52523 #include <math.h>
52525 main ()
52527 _hypot(0, 0);
52529 return 0;
52531 _ACEOF
52532 if ac_fn_cxx_try_compile "$LINENO"; then :
52533 glibcxx_cv_func__hypot_use=yes
52534 else
52535 glibcxx_cv_func__hypot_use=no
52537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52538 ac_ext=c
52539 ac_cpp='$CPP $CPPFLAGS'
52540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52549 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52551 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52552 for ac_func in _hypot
52553 do :
52554 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52555 if test "x$ac_cv_func__hypot" = x""yes; then :
52556 cat >>confdefs.h <<_ACEOF
52557 #define HAVE__HYPOT 1
52558 _ACEOF
52561 done
52570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52571 $as_echo_n "checking for float trig functions... " >&6; }
52572 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52573 $as_echo_n "(cached) " >&6
52574 else
52577 ac_ext=cpp
52578 ac_cpp='$CXXCPP $CPPFLAGS'
52579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52584 /* end confdefs.h. */
52585 #include <math.h>
52587 main ()
52589 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52591 return 0;
52593 _ACEOF
52594 if ac_fn_cxx_try_compile "$LINENO"; then :
52595 glibcxx_cv_func_float_trig_use=yes
52596 else
52597 glibcxx_cv_func_float_trig_use=no
52599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52600 ac_ext=c
52601 ac_cpp='$CPP $CPPFLAGS'
52602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52609 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52610 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52611 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52612 do :
52613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52615 eval as_val=\$$as_ac_var
52616 if test "x$as_val" = x""yes; then :
52617 cat >>confdefs.h <<_ACEOF
52618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52619 _ACEOF
52622 done
52624 else
52625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52626 $as_echo_n "checking for _float trig functions... " >&6; }
52627 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52628 $as_echo_n "(cached) " >&6
52629 else
52632 ac_ext=cpp
52633 ac_cpp='$CXXCPP $CPPFLAGS'
52634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52639 /* end confdefs.h. */
52640 #include <math.h>
52642 main ()
52644 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52646 return 0;
52648 _ACEOF
52649 if ac_fn_cxx_try_compile "$LINENO"; then :
52650 glibcxx_cv_func__float_trig_use=yes
52651 else
52652 glibcxx_cv_func__float_trig_use=no
52654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52655 ac_ext=c
52656 ac_cpp='$CPP $CPPFLAGS'
52657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52664 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52665 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52666 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52667 do :
52668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52670 eval as_val=\$$as_ac_var
52671 if test "x$as_val" = x""yes; then :
52672 cat >>confdefs.h <<_ACEOF
52673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52674 _ACEOF
52677 done
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52687 $as_echo_n "checking for float round functions... " >&6; }
52688 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52689 $as_echo_n "(cached) " >&6
52690 else
52693 ac_ext=cpp
52694 ac_cpp='$CXXCPP $CPPFLAGS'
52695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52700 /* end confdefs.h. */
52701 #include <math.h>
52703 main ()
52705 ceilf (0); floorf (0);
52707 return 0;
52709 _ACEOF
52710 if ac_fn_cxx_try_compile "$LINENO"; then :
52711 glibcxx_cv_func_float_round_use=yes
52712 else
52713 glibcxx_cv_func_float_round_use=no
52715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52716 ac_ext=c
52717 ac_cpp='$CPP $CPPFLAGS'
52718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52725 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52726 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52727 for ac_func in ceilf floorf
52728 do :
52729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52731 eval as_val=\$$as_ac_var
52732 if test "x$as_val" = x""yes; then :
52733 cat >>confdefs.h <<_ACEOF
52734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52735 _ACEOF
52738 done
52740 else
52741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52742 $as_echo_n "checking for _float round functions... " >&6; }
52743 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52744 $as_echo_n "(cached) " >&6
52745 else
52748 ac_ext=cpp
52749 ac_cpp='$CXXCPP $CPPFLAGS'
52750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52755 /* end confdefs.h. */
52756 #include <math.h>
52758 main ()
52760 _ceilf (0); _floorf (0);
52762 return 0;
52764 _ACEOF
52765 if ac_fn_cxx_try_compile "$LINENO"; then :
52766 glibcxx_cv_func__float_round_use=yes
52767 else
52768 glibcxx_cv_func__float_round_use=no
52770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52771 ac_ext=c
52772 ac_cpp='$CPP $CPPFLAGS'
52773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52780 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52781 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52782 for ac_func in _ceilf _floorf
52783 do :
52784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52786 eval as_val=\$$as_ac_var
52787 if test "x$as_val" = x""yes; then :
52788 cat >>confdefs.h <<_ACEOF
52789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52790 _ACEOF
52793 done
52803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52804 $as_echo_n "checking for expf declaration... " >&6; }
52805 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52806 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52807 $as_echo_n "(cached) " >&6
52808 else
52811 ac_ext=cpp
52812 ac_cpp='$CXXCPP $CPPFLAGS'
52813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52818 /* end confdefs.h. */
52819 #include <math.h>
52820 #ifdef HAVE_IEEEFP_H
52821 #include <ieeefp.h>
52822 #endif
52825 main ()
52827 expf(0);
52829 return 0;
52831 _ACEOF
52832 if ac_fn_cxx_try_compile "$LINENO"; then :
52833 glibcxx_cv_func_expf_use=yes
52834 else
52835 glibcxx_cv_func_expf_use=no
52837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52838 ac_ext=c
52839 ac_cpp='$CPP $CPPFLAGS'
52840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52849 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52851 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52852 for ac_func in expf
52853 do :
52854 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52855 if test "x$ac_cv_func_expf" = x""yes; then :
52856 cat >>confdefs.h <<_ACEOF
52857 #define HAVE_EXPF 1
52858 _ACEOF
52861 done
52863 else
52865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52866 $as_echo_n "checking for _expf declaration... " >&6; }
52867 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52868 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52869 $as_echo_n "(cached) " >&6
52870 else
52873 ac_ext=cpp
52874 ac_cpp='$CXXCPP $CPPFLAGS'
52875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52880 /* end confdefs.h. */
52881 #include <math.h>
52882 #ifdef HAVE_IEEEFP_H
52883 #include <ieeefp.h>
52884 #endif
52887 main ()
52889 _expf(0);
52891 return 0;
52893 _ACEOF
52894 if ac_fn_cxx_try_compile "$LINENO"; then :
52895 glibcxx_cv_func__expf_use=yes
52896 else
52897 glibcxx_cv_func__expf_use=no
52899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52900 ac_ext=c
52901 ac_cpp='$CPP $CPPFLAGS'
52902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52911 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52913 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52914 for ac_func in _expf
52915 do :
52916 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52917 if test "x$ac_cv_func__expf" = x""yes; then :
52918 cat >>confdefs.h <<_ACEOF
52919 #define HAVE__EXPF 1
52920 _ACEOF
52923 done
52932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52933 $as_echo_n "checking for isnanf declaration... " >&6; }
52934 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52935 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52936 $as_echo_n "(cached) " >&6
52937 else
52940 ac_ext=cpp
52941 ac_cpp='$CXXCPP $CPPFLAGS'
52942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52947 /* end confdefs.h. */
52948 #include <math.h>
52949 #ifdef HAVE_IEEEFP_H
52950 #include <ieeefp.h>
52951 #endif
52954 main ()
52956 isnanf(0);
52958 return 0;
52960 _ACEOF
52961 if ac_fn_cxx_try_compile "$LINENO"; then :
52962 glibcxx_cv_func_isnanf_use=yes
52963 else
52964 glibcxx_cv_func_isnanf_use=no
52966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52967 ac_ext=c
52968 ac_cpp='$CPP $CPPFLAGS'
52969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52978 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52980 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52981 for ac_func in isnanf
52982 do :
52983 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52984 if test "x$ac_cv_func_isnanf" = x""yes; then :
52985 cat >>confdefs.h <<_ACEOF
52986 #define HAVE_ISNANF 1
52987 _ACEOF
52990 done
52992 else
52994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52995 $as_echo_n "checking for _isnanf declaration... " >&6; }
52996 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52997 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52998 $as_echo_n "(cached) " >&6
52999 else
53002 ac_ext=cpp
53003 ac_cpp='$CXXCPP $CPPFLAGS'
53004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53009 /* end confdefs.h. */
53010 #include <math.h>
53011 #ifdef HAVE_IEEEFP_H
53012 #include <ieeefp.h>
53013 #endif
53016 main ()
53018 _isnanf(0);
53020 return 0;
53022 _ACEOF
53023 if ac_fn_cxx_try_compile "$LINENO"; then :
53024 glibcxx_cv_func__isnanf_use=yes
53025 else
53026 glibcxx_cv_func__isnanf_use=no
53028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53029 ac_ext=c
53030 ac_cpp='$CPP $CPPFLAGS'
53031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53040 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53042 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53043 for ac_func in _isnanf
53044 do :
53045 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53046 if test "x$ac_cv_func__isnanf" = x""yes; then :
53047 cat >>confdefs.h <<_ACEOF
53048 #define HAVE__ISNANF 1
53049 _ACEOF
53052 done
53061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53062 $as_echo_n "checking for isinff declaration... " >&6; }
53063 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53064 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53065 $as_echo_n "(cached) " >&6
53066 else
53069 ac_ext=cpp
53070 ac_cpp='$CXXCPP $CPPFLAGS'
53071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53076 /* end confdefs.h. */
53077 #include <math.h>
53078 #ifdef HAVE_IEEEFP_H
53079 #include <ieeefp.h>
53080 #endif
53083 main ()
53085 isinff(0);
53087 return 0;
53089 _ACEOF
53090 if ac_fn_cxx_try_compile "$LINENO"; then :
53091 glibcxx_cv_func_isinff_use=yes
53092 else
53093 glibcxx_cv_func_isinff_use=no
53095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53096 ac_ext=c
53097 ac_cpp='$CPP $CPPFLAGS'
53098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53107 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53109 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53110 for ac_func in isinff
53111 do :
53112 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53113 if test "x$ac_cv_func_isinff" = x""yes; then :
53114 cat >>confdefs.h <<_ACEOF
53115 #define HAVE_ISINFF 1
53116 _ACEOF
53119 done
53121 else
53123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53124 $as_echo_n "checking for _isinff declaration... " >&6; }
53125 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53126 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53127 $as_echo_n "(cached) " >&6
53128 else
53131 ac_ext=cpp
53132 ac_cpp='$CXXCPP $CPPFLAGS'
53133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53138 /* end confdefs.h. */
53139 #include <math.h>
53140 #ifdef HAVE_IEEEFP_H
53141 #include <ieeefp.h>
53142 #endif
53145 main ()
53147 _isinff(0);
53149 return 0;
53151 _ACEOF
53152 if ac_fn_cxx_try_compile "$LINENO"; then :
53153 glibcxx_cv_func__isinff_use=yes
53154 else
53155 glibcxx_cv_func__isinff_use=no
53157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53158 ac_ext=c
53159 ac_cpp='$CPP $CPPFLAGS'
53160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53169 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53171 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53172 for ac_func in _isinff
53173 do :
53174 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53175 if test "x$ac_cv_func__isinff" = x""yes; then :
53176 cat >>confdefs.h <<_ACEOF
53177 #define HAVE__ISINFF 1
53178 _ACEOF
53181 done
53190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53191 $as_echo_n "checking for atan2f declaration... " >&6; }
53192 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53193 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53194 $as_echo_n "(cached) " >&6
53195 else
53198 ac_ext=cpp
53199 ac_cpp='$CXXCPP $CPPFLAGS'
53200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53205 /* end confdefs.h. */
53206 #include <math.h>
53208 main ()
53210 atan2f(0, 0);
53212 return 0;
53214 _ACEOF
53215 if ac_fn_cxx_try_compile "$LINENO"; then :
53216 glibcxx_cv_func_atan2f_use=yes
53217 else
53218 glibcxx_cv_func_atan2f_use=no
53220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53221 ac_ext=c
53222 ac_cpp='$CPP $CPPFLAGS'
53223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53232 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53234 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53235 for ac_func in atan2f
53236 do :
53237 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53238 if test "x$ac_cv_func_atan2f" = x""yes; then :
53239 cat >>confdefs.h <<_ACEOF
53240 #define HAVE_ATAN2F 1
53241 _ACEOF
53244 done
53246 else
53248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53249 $as_echo_n "checking for _atan2f declaration... " >&6; }
53250 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53251 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53252 $as_echo_n "(cached) " >&6
53253 else
53256 ac_ext=cpp
53257 ac_cpp='$CXXCPP $CPPFLAGS'
53258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53263 /* end confdefs.h. */
53264 #include <math.h>
53266 main ()
53268 _atan2f(0, 0);
53270 return 0;
53272 _ACEOF
53273 if ac_fn_cxx_try_compile "$LINENO"; then :
53274 glibcxx_cv_func__atan2f_use=yes
53275 else
53276 glibcxx_cv_func__atan2f_use=no
53278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53279 ac_ext=c
53280 ac_cpp='$CPP $CPPFLAGS'
53281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53290 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53292 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53293 for ac_func in _atan2f
53294 do :
53295 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53296 if test "x$ac_cv_func__atan2f" = x""yes; then :
53297 cat >>confdefs.h <<_ACEOF
53298 #define HAVE__ATAN2F 1
53299 _ACEOF
53302 done
53311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53312 $as_echo_n "checking for fabsf declaration... " >&6; }
53313 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53314 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53315 $as_echo_n "(cached) " >&6
53316 else
53319 ac_ext=cpp
53320 ac_cpp='$CXXCPP $CPPFLAGS'
53321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53326 /* end confdefs.h. */
53327 #include <math.h>
53328 #ifdef HAVE_IEEEFP_H
53329 #include <ieeefp.h>
53330 #endif
53333 main ()
53335 fabsf(0);
53337 return 0;
53339 _ACEOF
53340 if ac_fn_cxx_try_compile "$LINENO"; then :
53341 glibcxx_cv_func_fabsf_use=yes
53342 else
53343 glibcxx_cv_func_fabsf_use=no
53345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53346 ac_ext=c
53347 ac_cpp='$CPP $CPPFLAGS'
53348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53357 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53359 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53360 for ac_func in fabsf
53361 do :
53362 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53363 if test "x$ac_cv_func_fabsf" = x""yes; then :
53364 cat >>confdefs.h <<_ACEOF
53365 #define HAVE_FABSF 1
53366 _ACEOF
53369 done
53371 else
53373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53374 $as_echo_n "checking for _fabsf declaration... " >&6; }
53375 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53376 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53377 $as_echo_n "(cached) " >&6
53378 else
53381 ac_ext=cpp
53382 ac_cpp='$CXXCPP $CPPFLAGS'
53383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53388 /* end confdefs.h. */
53389 #include <math.h>
53390 #ifdef HAVE_IEEEFP_H
53391 #include <ieeefp.h>
53392 #endif
53395 main ()
53397 _fabsf(0);
53399 return 0;
53401 _ACEOF
53402 if ac_fn_cxx_try_compile "$LINENO"; then :
53403 glibcxx_cv_func__fabsf_use=yes
53404 else
53405 glibcxx_cv_func__fabsf_use=no
53407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53408 ac_ext=c
53409 ac_cpp='$CPP $CPPFLAGS'
53410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53419 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53421 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53422 for ac_func in _fabsf
53423 do :
53424 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53425 if test "x$ac_cv_func__fabsf" = x""yes; then :
53426 cat >>confdefs.h <<_ACEOF
53427 #define HAVE__FABSF 1
53428 _ACEOF
53431 done
53440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53441 $as_echo_n "checking for fmodf declaration... " >&6; }
53442 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53443 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53444 $as_echo_n "(cached) " >&6
53445 else
53448 ac_ext=cpp
53449 ac_cpp='$CXXCPP $CPPFLAGS'
53450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53455 /* end confdefs.h. */
53456 #include <math.h>
53458 main ()
53460 fmodf(0, 0);
53462 return 0;
53464 _ACEOF
53465 if ac_fn_cxx_try_compile "$LINENO"; then :
53466 glibcxx_cv_func_fmodf_use=yes
53467 else
53468 glibcxx_cv_func_fmodf_use=no
53470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53471 ac_ext=c
53472 ac_cpp='$CPP $CPPFLAGS'
53473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53482 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53484 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53485 for ac_func in fmodf
53486 do :
53487 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53488 if test "x$ac_cv_func_fmodf" = x""yes; then :
53489 cat >>confdefs.h <<_ACEOF
53490 #define HAVE_FMODF 1
53491 _ACEOF
53494 done
53496 else
53498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53499 $as_echo_n "checking for _fmodf declaration... " >&6; }
53500 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53501 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53502 $as_echo_n "(cached) " >&6
53503 else
53506 ac_ext=cpp
53507 ac_cpp='$CXXCPP $CPPFLAGS'
53508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53513 /* end confdefs.h. */
53514 #include <math.h>
53516 main ()
53518 _fmodf(0, 0);
53520 return 0;
53522 _ACEOF
53523 if ac_fn_cxx_try_compile "$LINENO"; then :
53524 glibcxx_cv_func__fmodf_use=yes
53525 else
53526 glibcxx_cv_func__fmodf_use=no
53528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53529 ac_ext=c
53530 ac_cpp='$CPP $CPPFLAGS'
53531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53540 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53542 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53543 for ac_func in _fmodf
53544 do :
53545 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53546 if test "x$ac_cv_func__fmodf" = x""yes; then :
53547 cat >>confdefs.h <<_ACEOF
53548 #define HAVE__FMODF 1
53549 _ACEOF
53552 done
53561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53562 $as_echo_n "checking for frexpf declaration... " >&6; }
53563 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53564 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53565 $as_echo_n "(cached) " >&6
53566 else
53569 ac_ext=cpp
53570 ac_cpp='$CXXCPP $CPPFLAGS'
53571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53576 /* end confdefs.h. */
53577 #include <math.h>
53579 main ()
53581 frexpf(0, 0);
53583 return 0;
53585 _ACEOF
53586 if ac_fn_cxx_try_compile "$LINENO"; then :
53587 glibcxx_cv_func_frexpf_use=yes
53588 else
53589 glibcxx_cv_func_frexpf_use=no
53591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53592 ac_ext=c
53593 ac_cpp='$CPP $CPPFLAGS'
53594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53603 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53605 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53606 for ac_func in frexpf
53607 do :
53608 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53609 if test "x$ac_cv_func_frexpf" = x""yes; then :
53610 cat >>confdefs.h <<_ACEOF
53611 #define HAVE_FREXPF 1
53612 _ACEOF
53615 done
53617 else
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53620 $as_echo_n "checking for _frexpf declaration... " >&6; }
53621 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53622 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53623 $as_echo_n "(cached) " >&6
53624 else
53627 ac_ext=cpp
53628 ac_cpp='$CXXCPP $CPPFLAGS'
53629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53634 /* end confdefs.h. */
53635 #include <math.h>
53637 main ()
53639 _frexpf(0, 0);
53641 return 0;
53643 _ACEOF
53644 if ac_fn_cxx_try_compile "$LINENO"; then :
53645 glibcxx_cv_func__frexpf_use=yes
53646 else
53647 glibcxx_cv_func__frexpf_use=no
53649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53650 ac_ext=c
53651 ac_cpp='$CPP $CPPFLAGS'
53652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53661 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53663 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53664 for ac_func in _frexpf
53665 do :
53666 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53667 if test "x$ac_cv_func__frexpf" = x""yes; then :
53668 cat >>confdefs.h <<_ACEOF
53669 #define HAVE__FREXPF 1
53670 _ACEOF
53673 done
53682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53683 $as_echo_n "checking for hypotf declaration... " >&6; }
53684 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53685 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53686 $as_echo_n "(cached) " >&6
53687 else
53690 ac_ext=cpp
53691 ac_cpp='$CXXCPP $CPPFLAGS'
53692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53697 /* end confdefs.h. */
53698 #include <math.h>
53700 main ()
53702 hypotf(0, 0);
53704 return 0;
53706 _ACEOF
53707 if ac_fn_cxx_try_compile "$LINENO"; then :
53708 glibcxx_cv_func_hypotf_use=yes
53709 else
53710 glibcxx_cv_func_hypotf_use=no
53712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53713 ac_ext=c
53714 ac_cpp='$CPP $CPPFLAGS'
53715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53724 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53726 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53727 for ac_func in hypotf
53728 do :
53729 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53730 if test "x$ac_cv_func_hypotf" = x""yes; then :
53731 cat >>confdefs.h <<_ACEOF
53732 #define HAVE_HYPOTF 1
53733 _ACEOF
53736 done
53738 else
53740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53741 $as_echo_n "checking for _hypotf declaration... " >&6; }
53742 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53743 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53744 $as_echo_n "(cached) " >&6
53745 else
53748 ac_ext=cpp
53749 ac_cpp='$CXXCPP $CPPFLAGS'
53750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53755 /* end confdefs.h. */
53756 #include <math.h>
53758 main ()
53760 _hypotf(0, 0);
53762 return 0;
53764 _ACEOF
53765 if ac_fn_cxx_try_compile "$LINENO"; then :
53766 glibcxx_cv_func__hypotf_use=yes
53767 else
53768 glibcxx_cv_func__hypotf_use=no
53770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53771 ac_ext=c
53772 ac_cpp='$CPP $CPPFLAGS'
53773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53782 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53784 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53785 for ac_func in _hypotf
53786 do :
53787 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53788 if test "x$ac_cv_func__hypotf" = x""yes; then :
53789 cat >>confdefs.h <<_ACEOF
53790 #define HAVE__HYPOTF 1
53791 _ACEOF
53794 done
53803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53804 $as_echo_n "checking for ldexpf declaration... " >&6; }
53805 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53806 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53807 $as_echo_n "(cached) " >&6
53808 else
53811 ac_ext=cpp
53812 ac_cpp='$CXXCPP $CPPFLAGS'
53813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53818 /* end confdefs.h. */
53819 #include <math.h>
53821 main ()
53823 ldexpf(0, 0);
53825 return 0;
53827 _ACEOF
53828 if ac_fn_cxx_try_compile "$LINENO"; then :
53829 glibcxx_cv_func_ldexpf_use=yes
53830 else
53831 glibcxx_cv_func_ldexpf_use=no
53833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53834 ac_ext=c
53835 ac_cpp='$CPP $CPPFLAGS'
53836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53845 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53847 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53848 for ac_func in ldexpf
53849 do :
53850 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53851 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53852 cat >>confdefs.h <<_ACEOF
53853 #define HAVE_LDEXPF 1
53854 _ACEOF
53857 done
53859 else
53861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53862 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53863 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53864 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53865 $as_echo_n "(cached) " >&6
53866 else
53869 ac_ext=cpp
53870 ac_cpp='$CXXCPP $CPPFLAGS'
53871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53876 /* end confdefs.h. */
53877 #include <math.h>
53879 main ()
53881 _ldexpf(0, 0);
53883 return 0;
53885 _ACEOF
53886 if ac_fn_cxx_try_compile "$LINENO"; then :
53887 glibcxx_cv_func__ldexpf_use=yes
53888 else
53889 glibcxx_cv_func__ldexpf_use=no
53891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53892 ac_ext=c
53893 ac_cpp='$CPP $CPPFLAGS'
53894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53903 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53905 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53906 for ac_func in _ldexpf
53907 do :
53908 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53909 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53910 cat >>confdefs.h <<_ACEOF
53911 #define HAVE__LDEXPF 1
53912 _ACEOF
53915 done
53924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53925 $as_echo_n "checking for logf declaration... " >&6; }
53926 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53927 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53928 $as_echo_n "(cached) " >&6
53929 else
53932 ac_ext=cpp
53933 ac_cpp='$CXXCPP $CPPFLAGS'
53934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53939 /* end confdefs.h. */
53940 #include <math.h>
53941 #ifdef HAVE_IEEEFP_H
53942 #include <ieeefp.h>
53943 #endif
53946 main ()
53948 logf(0);
53950 return 0;
53952 _ACEOF
53953 if ac_fn_cxx_try_compile "$LINENO"; then :
53954 glibcxx_cv_func_logf_use=yes
53955 else
53956 glibcxx_cv_func_logf_use=no
53958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53959 ac_ext=c
53960 ac_cpp='$CPP $CPPFLAGS'
53961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53970 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53972 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53973 for ac_func in logf
53974 do :
53975 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53976 if test "x$ac_cv_func_logf" = x""yes; then :
53977 cat >>confdefs.h <<_ACEOF
53978 #define HAVE_LOGF 1
53979 _ACEOF
53982 done
53984 else
53986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53987 $as_echo_n "checking for _logf declaration... " >&6; }
53988 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53989 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53990 $as_echo_n "(cached) " >&6
53991 else
53994 ac_ext=cpp
53995 ac_cpp='$CXXCPP $CPPFLAGS'
53996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54001 /* end confdefs.h. */
54002 #include <math.h>
54003 #ifdef HAVE_IEEEFP_H
54004 #include <ieeefp.h>
54005 #endif
54008 main ()
54010 _logf(0);
54012 return 0;
54014 _ACEOF
54015 if ac_fn_cxx_try_compile "$LINENO"; then :
54016 glibcxx_cv_func__logf_use=yes
54017 else
54018 glibcxx_cv_func__logf_use=no
54020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54021 ac_ext=c
54022 ac_cpp='$CPP $CPPFLAGS'
54023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54032 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54034 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54035 for ac_func in _logf
54036 do :
54037 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54038 if test "x$ac_cv_func__logf" = x""yes; then :
54039 cat >>confdefs.h <<_ACEOF
54040 #define HAVE__LOGF 1
54041 _ACEOF
54044 done
54053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54054 $as_echo_n "checking for log10f declaration... " >&6; }
54055 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54056 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54057 $as_echo_n "(cached) " >&6
54058 else
54061 ac_ext=cpp
54062 ac_cpp='$CXXCPP $CPPFLAGS'
54063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54068 /* end confdefs.h. */
54069 #include <math.h>
54070 #ifdef HAVE_IEEEFP_H
54071 #include <ieeefp.h>
54072 #endif
54075 main ()
54077 log10f(0);
54079 return 0;
54081 _ACEOF
54082 if ac_fn_cxx_try_compile "$LINENO"; then :
54083 glibcxx_cv_func_log10f_use=yes
54084 else
54085 glibcxx_cv_func_log10f_use=no
54087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54088 ac_ext=c
54089 ac_cpp='$CPP $CPPFLAGS'
54090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54099 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54101 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54102 for ac_func in log10f
54103 do :
54104 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54105 if test "x$ac_cv_func_log10f" = x""yes; then :
54106 cat >>confdefs.h <<_ACEOF
54107 #define HAVE_LOG10F 1
54108 _ACEOF
54111 done
54113 else
54115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54116 $as_echo_n "checking for _log10f declaration... " >&6; }
54117 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54118 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54119 $as_echo_n "(cached) " >&6
54120 else
54123 ac_ext=cpp
54124 ac_cpp='$CXXCPP $CPPFLAGS'
54125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54130 /* end confdefs.h. */
54131 #include <math.h>
54132 #ifdef HAVE_IEEEFP_H
54133 #include <ieeefp.h>
54134 #endif
54137 main ()
54139 _log10f(0);
54141 return 0;
54143 _ACEOF
54144 if ac_fn_cxx_try_compile "$LINENO"; then :
54145 glibcxx_cv_func__log10f_use=yes
54146 else
54147 glibcxx_cv_func__log10f_use=no
54149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54150 ac_ext=c
54151 ac_cpp='$CPP $CPPFLAGS'
54152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54161 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54163 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54164 for ac_func in _log10f
54165 do :
54166 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54167 if test "x$ac_cv_func__log10f" = x""yes; then :
54168 cat >>confdefs.h <<_ACEOF
54169 #define HAVE__LOG10F 1
54170 _ACEOF
54173 done
54182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54183 $as_echo_n "checking for modff declaration... " >&6; }
54184 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54185 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54186 $as_echo_n "(cached) " >&6
54187 else
54190 ac_ext=cpp
54191 ac_cpp='$CXXCPP $CPPFLAGS'
54192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54197 /* end confdefs.h. */
54198 #include <math.h>
54200 main ()
54202 modff(0, 0);
54204 return 0;
54206 _ACEOF
54207 if ac_fn_cxx_try_compile "$LINENO"; then :
54208 glibcxx_cv_func_modff_use=yes
54209 else
54210 glibcxx_cv_func_modff_use=no
54212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54213 ac_ext=c
54214 ac_cpp='$CPP $CPPFLAGS'
54215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54224 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54226 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54227 for ac_func in modff
54228 do :
54229 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54230 if test "x$ac_cv_func_modff" = x""yes; then :
54231 cat >>confdefs.h <<_ACEOF
54232 #define HAVE_MODFF 1
54233 _ACEOF
54236 done
54238 else
54240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54241 $as_echo_n "checking for _modff declaration... " >&6; }
54242 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54243 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54244 $as_echo_n "(cached) " >&6
54245 else
54248 ac_ext=cpp
54249 ac_cpp='$CXXCPP $CPPFLAGS'
54250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54255 /* end confdefs.h. */
54256 #include <math.h>
54258 main ()
54260 _modff(0, 0);
54262 return 0;
54264 _ACEOF
54265 if ac_fn_cxx_try_compile "$LINENO"; then :
54266 glibcxx_cv_func__modff_use=yes
54267 else
54268 glibcxx_cv_func__modff_use=no
54270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54271 ac_ext=c
54272 ac_cpp='$CPP $CPPFLAGS'
54273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54282 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54284 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54285 for ac_func in _modff
54286 do :
54287 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54288 if test "x$ac_cv_func__modff" = x""yes; then :
54289 cat >>confdefs.h <<_ACEOF
54290 #define HAVE__MODFF 1
54291 _ACEOF
54294 done
54303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54304 $as_echo_n "checking for modf declaration... " >&6; }
54305 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54306 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54307 $as_echo_n "(cached) " >&6
54308 else
54311 ac_ext=cpp
54312 ac_cpp='$CXXCPP $CPPFLAGS'
54313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54318 /* end confdefs.h. */
54319 #include <math.h>
54321 main ()
54323 modf(0, 0);
54325 return 0;
54327 _ACEOF
54328 if ac_fn_cxx_try_compile "$LINENO"; then :
54329 glibcxx_cv_func_modf_use=yes
54330 else
54331 glibcxx_cv_func_modf_use=no
54333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54334 ac_ext=c
54335 ac_cpp='$CPP $CPPFLAGS'
54336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54345 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54347 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54348 for ac_func in modf
54349 do :
54350 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54351 if test "x$ac_cv_func_modf" = x""yes; then :
54352 cat >>confdefs.h <<_ACEOF
54353 #define HAVE_MODF 1
54354 _ACEOF
54357 done
54359 else
54361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54362 $as_echo_n "checking for _modf declaration... " >&6; }
54363 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54364 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54365 $as_echo_n "(cached) " >&6
54366 else
54369 ac_ext=cpp
54370 ac_cpp='$CXXCPP $CPPFLAGS'
54371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54376 /* end confdefs.h. */
54377 #include <math.h>
54379 main ()
54381 _modf(0, 0);
54383 return 0;
54385 _ACEOF
54386 if ac_fn_cxx_try_compile "$LINENO"; then :
54387 glibcxx_cv_func__modf_use=yes
54388 else
54389 glibcxx_cv_func__modf_use=no
54391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54403 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54405 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54406 for ac_func in _modf
54407 do :
54408 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54409 if test "x$ac_cv_func__modf" = x""yes; then :
54410 cat >>confdefs.h <<_ACEOF
54411 #define HAVE__MODF 1
54412 _ACEOF
54415 done
54424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54425 $as_echo_n "checking for powf declaration... " >&6; }
54426 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54427 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54428 $as_echo_n "(cached) " >&6
54429 else
54432 ac_ext=cpp
54433 ac_cpp='$CXXCPP $CPPFLAGS'
54434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54439 /* end confdefs.h. */
54440 #include <math.h>
54442 main ()
54444 powf(0, 0);
54446 return 0;
54448 _ACEOF
54449 if ac_fn_cxx_try_compile "$LINENO"; then :
54450 glibcxx_cv_func_powf_use=yes
54451 else
54452 glibcxx_cv_func_powf_use=no
54454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54455 ac_ext=c
54456 ac_cpp='$CPP $CPPFLAGS'
54457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54466 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54468 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54469 for ac_func in powf
54470 do :
54471 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54472 if test "x$ac_cv_func_powf" = x""yes; then :
54473 cat >>confdefs.h <<_ACEOF
54474 #define HAVE_POWF 1
54475 _ACEOF
54478 done
54480 else
54482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54483 $as_echo_n "checking for _powf declaration... " >&6; }
54484 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54485 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54486 $as_echo_n "(cached) " >&6
54487 else
54490 ac_ext=cpp
54491 ac_cpp='$CXXCPP $CPPFLAGS'
54492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54497 /* end confdefs.h. */
54498 #include <math.h>
54500 main ()
54502 _powf(0, 0);
54504 return 0;
54506 _ACEOF
54507 if ac_fn_cxx_try_compile "$LINENO"; then :
54508 glibcxx_cv_func__powf_use=yes
54509 else
54510 glibcxx_cv_func__powf_use=no
54512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54513 ac_ext=c
54514 ac_cpp='$CPP $CPPFLAGS'
54515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54524 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54526 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54527 for ac_func in _powf
54528 do :
54529 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54530 if test "x$ac_cv_func__powf" = x""yes; then :
54531 cat >>confdefs.h <<_ACEOF
54532 #define HAVE__POWF 1
54533 _ACEOF
54536 done
54545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54546 $as_echo_n "checking for sqrtf declaration... " >&6; }
54547 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54548 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54549 $as_echo_n "(cached) " >&6
54550 else
54553 ac_ext=cpp
54554 ac_cpp='$CXXCPP $CPPFLAGS'
54555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54560 /* end confdefs.h. */
54561 #include <math.h>
54562 #ifdef HAVE_IEEEFP_H
54563 #include <ieeefp.h>
54564 #endif
54567 main ()
54569 sqrtf(0);
54571 return 0;
54573 _ACEOF
54574 if ac_fn_cxx_try_compile "$LINENO"; then :
54575 glibcxx_cv_func_sqrtf_use=yes
54576 else
54577 glibcxx_cv_func_sqrtf_use=no
54579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54580 ac_ext=c
54581 ac_cpp='$CPP $CPPFLAGS'
54582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54591 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54593 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54594 for ac_func in sqrtf
54595 do :
54596 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54597 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54598 cat >>confdefs.h <<_ACEOF
54599 #define HAVE_SQRTF 1
54600 _ACEOF
54603 done
54605 else
54607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54608 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54609 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54610 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54611 $as_echo_n "(cached) " >&6
54612 else
54615 ac_ext=cpp
54616 ac_cpp='$CXXCPP $CPPFLAGS'
54617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54622 /* end confdefs.h. */
54623 #include <math.h>
54624 #ifdef HAVE_IEEEFP_H
54625 #include <ieeefp.h>
54626 #endif
54629 main ()
54631 _sqrtf(0);
54633 return 0;
54635 _ACEOF
54636 if ac_fn_cxx_try_compile "$LINENO"; then :
54637 glibcxx_cv_func__sqrtf_use=yes
54638 else
54639 glibcxx_cv_func__sqrtf_use=no
54641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54642 ac_ext=c
54643 ac_cpp='$CPP $CPPFLAGS'
54644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54653 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54655 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54656 for ac_func in _sqrtf
54657 do :
54658 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54659 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54660 cat >>confdefs.h <<_ACEOF
54661 #define HAVE__SQRTF 1
54662 _ACEOF
54665 done
54674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54675 $as_echo_n "checking for sincosf declaration... " >&6; }
54676 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54677 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54678 $as_echo_n "(cached) " >&6
54679 else
54682 ac_ext=cpp
54683 ac_cpp='$CXXCPP $CPPFLAGS'
54684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54689 /* end confdefs.h. */
54690 #include <math.h>
54692 main ()
54694 sincosf(0, 0, 0);
54696 return 0;
54698 _ACEOF
54699 if ac_fn_cxx_try_compile "$LINENO"; then :
54700 glibcxx_cv_func_sincosf_use=yes
54701 else
54702 glibcxx_cv_func_sincosf_use=no
54704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54705 ac_ext=c
54706 ac_cpp='$CPP $CPPFLAGS'
54707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54716 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54718 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54719 for ac_func in sincosf
54720 do :
54721 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54722 if test "x$ac_cv_func_sincosf" = x""yes; then :
54723 cat >>confdefs.h <<_ACEOF
54724 #define HAVE_SINCOSF 1
54725 _ACEOF
54728 done
54730 else
54732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54733 $as_echo_n "checking for _sincosf declaration... " >&6; }
54734 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54735 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54736 $as_echo_n "(cached) " >&6
54737 else
54740 ac_ext=cpp
54741 ac_cpp='$CXXCPP $CPPFLAGS'
54742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54747 /* end confdefs.h. */
54748 #include <math.h>
54750 main ()
54752 _sincosf(0, 0, 0);
54754 return 0;
54756 _ACEOF
54757 if ac_fn_cxx_try_compile "$LINENO"; then :
54758 glibcxx_cv_func__sincosf_use=yes
54759 else
54760 glibcxx_cv_func__sincosf_use=no
54762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54763 ac_ext=c
54764 ac_cpp='$CPP $CPPFLAGS'
54765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54774 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54776 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54777 for ac_func in _sincosf
54778 do :
54779 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54780 if test "x$ac_cv_func__sincosf" = x""yes; then :
54781 cat >>confdefs.h <<_ACEOF
54782 #define HAVE__SINCOSF 1
54783 _ACEOF
54786 done
54795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54796 $as_echo_n "checking for finitef declaration... " >&6; }
54797 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54798 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54799 $as_echo_n "(cached) " >&6
54800 else
54803 ac_ext=cpp
54804 ac_cpp='$CXXCPP $CPPFLAGS'
54805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54810 /* end confdefs.h. */
54811 #include <math.h>
54812 #ifdef HAVE_IEEEFP_H
54813 #include <ieeefp.h>
54814 #endif
54817 main ()
54819 finitef(0);
54821 return 0;
54823 _ACEOF
54824 if ac_fn_cxx_try_compile "$LINENO"; then :
54825 glibcxx_cv_func_finitef_use=yes
54826 else
54827 glibcxx_cv_func_finitef_use=no
54829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54830 ac_ext=c
54831 ac_cpp='$CPP $CPPFLAGS'
54832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54841 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54843 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54844 for ac_func in finitef
54845 do :
54846 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54847 if test "x$ac_cv_func_finitef" = x""yes; then :
54848 cat >>confdefs.h <<_ACEOF
54849 #define HAVE_FINITEF 1
54850 _ACEOF
54853 done
54855 else
54857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54858 $as_echo_n "checking for _finitef declaration... " >&6; }
54859 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54860 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54861 $as_echo_n "(cached) " >&6
54862 else
54865 ac_ext=cpp
54866 ac_cpp='$CXXCPP $CPPFLAGS'
54867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54872 /* end confdefs.h. */
54873 #include <math.h>
54874 #ifdef HAVE_IEEEFP_H
54875 #include <ieeefp.h>
54876 #endif
54879 main ()
54881 _finitef(0);
54883 return 0;
54885 _ACEOF
54886 if ac_fn_cxx_try_compile "$LINENO"; then :
54887 glibcxx_cv_func__finitef_use=yes
54888 else
54889 glibcxx_cv_func__finitef_use=no
54891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54892 ac_ext=c
54893 ac_cpp='$CPP $CPPFLAGS'
54894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54903 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54905 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54906 for ac_func in _finitef
54907 do :
54908 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54909 if test "x$ac_cv_func__finitef" = x""yes; then :
54910 cat >>confdefs.h <<_ACEOF
54911 #define HAVE__FINITEF 1
54912 _ACEOF
54915 done
54924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54925 $as_echo_n "checking for long double trig functions... " >&6; }
54926 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54927 $as_echo_n "(cached) " >&6
54928 else
54931 ac_ext=cpp
54932 ac_cpp='$CXXCPP $CPPFLAGS'
54933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54938 /* end confdefs.h. */
54939 #include <math.h>
54941 main ()
54943 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54945 return 0;
54947 _ACEOF
54948 if ac_fn_cxx_try_compile "$LINENO"; then :
54949 glibcxx_cv_func_long_double_trig_use=yes
54950 else
54951 glibcxx_cv_func_long_double_trig_use=no
54953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54954 ac_ext=c
54955 ac_cpp='$CPP $CPPFLAGS'
54956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54963 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54964 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54965 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54966 do :
54967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54969 eval as_val=\$$as_ac_var
54970 if test "x$as_val" = x""yes; then :
54971 cat >>confdefs.h <<_ACEOF
54972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54973 _ACEOF
54976 done
54978 else
54979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54980 $as_echo_n "checking for _long double trig functions... " >&6; }
54981 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54982 $as_echo_n "(cached) " >&6
54983 else
54986 ac_ext=cpp
54987 ac_cpp='$CXXCPP $CPPFLAGS'
54988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54993 /* end confdefs.h. */
54994 #include <math.h>
54996 main ()
54998 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55000 return 0;
55002 _ACEOF
55003 if ac_fn_cxx_try_compile "$LINENO"; then :
55004 glibcxx_cv_func__long_double_trig_use=yes
55005 else
55006 glibcxx_cv_func__long_double_trig_use=no
55008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55009 ac_ext=c
55010 ac_cpp='$CPP $CPPFLAGS'
55011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55018 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55019 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55020 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55021 do :
55022 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55023 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55024 eval as_val=\$$as_ac_var
55025 if test "x$as_val" = x""yes; then :
55026 cat >>confdefs.h <<_ACEOF
55027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55028 _ACEOF
55031 done
55040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55041 $as_echo_n "checking for long double round functions... " >&6; }
55042 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55043 $as_echo_n "(cached) " >&6
55044 else
55047 ac_ext=cpp
55048 ac_cpp='$CXXCPP $CPPFLAGS'
55049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55054 /* end confdefs.h. */
55055 #include <math.h>
55057 main ()
55059 ceill (0); floorl (0);
55061 return 0;
55063 _ACEOF
55064 if ac_fn_cxx_try_compile "$LINENO"; then :
55065 glibcxx_cv_func_long_double_round_use=yes
55066 else
55067 glibcxx_cv_func_long_double_round_use=no
55069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55070 ac_ext=c
55071 ac_cpp='$CPP $CPPFLAGS'
55072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55079 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55080 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55081 for ac_func in ceill floorl
55082 do :
55083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55085 eval as_val=\$$as_ac_var
55086 if test "x$as_val" = x""yes; then :
55087 cat >>confdefs.h <<_ACEOF
55088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55089 _ACEOF
55092 done
55094 else
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55096 $as_echo_n "checking for _long double round functions... " >&6; }
55097 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55098 $as_echo_n "(cached) " >&6
55099 else
55102 ac_ext=cpp
55103 ac_cpp='$CXXCPP $CPPFLAGS'
55104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55109 /* end confdefs.h. */
55110 #include <math.h>
55112 main ()
55114 _ceill (0); _floorl (0);
55116 return 0;
55118 _ACEOF
55119 if ac_fn_cxx_try_compile "$LINENO"; then :
55120 glibcxx_cv_func__long_double_round_use=yes
55121 else
55122 glibcxx_cv_func__long_double_round_use=no
55124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55125 ac_ext=c
55126 ac_cpp='$CPP $CPPFLAGS'
55127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55134 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55135 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55136 for ac_func in _ceill _floorl
55137 do :
55138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55140 eval as_val=\$$as_ac_var
55141 if test "x$as_val" = x""yes; then :
55142 cat >>confdefs.h <<_ACEOF
55143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55144 _ACEOF
55147 done
55157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55158 $as_echo_n "checking for isnanl declaration... " >&6; }
55159 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55160 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55161 $as_echo_n "(cached) " >&6
55162 else
55165 ac_ext=cpp
55166 ac_cpp='$CXXCPP $CPPFLAGS'
55167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55172 /* end confdefs.h. */
55173 #include <math.h>
55174 #ifdef HAVE_IEEEFP_H
55175 #include <ieeefp.h>
55176 #endif
55179 main ()
55181 isnanl(0);
55183 return 0;
55185 _ACEOF
55186 if ac_fn_cxx_try_compile "$LINENO"; then :
55187 glibcxx_cv_func_isnanl_use=yes
55188 else
55189 glibcxx_cv_func_isnanl_use=no
55191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55192 ac_ext=c
55193 ac_cpp='$CPP $CPPFLAGS'
55194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55203 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55205 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55206 for ac_func in isnanl
55207 do :
55208 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55209 if test "x$ac_cv_func_isnanl" = x""yes; then :
55210 cat >>confdefs.h <<_ACEOF
55211 #define HAVE_ISNANL 1
55212 _ACEOF
55215 done
55217 else
55219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55220 $as_echo_n "checking for _isnanl declaration... " >&6; }
55221 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55222 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55223 $as_echo_n "(cached) " >&6
55224 else
55227 ac_ext=cpp
55228 ac_cpp='$CXXCPP $CPPFLAGS'
55229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55234 /* end confdefs.h. */
55235 #include <math.h>
55236 #ifdef HAVE_IEEEFP_H
55237 #include <ieeefp.h>
55238 #endif
55241 main ()
55243 _isnanl(0);
55245 return 0;
55247 _ACEOF
55248 if ac_fn_cxx_try_compile "$LINENO"; then :
55249 glibcxx_cv_func__isnanl_use=yes
55250 else
55251 glibcxx_cv_func__isnanl_use=no
55253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55254 ac_ext=c
55255 ac_cpp='$CPP $CPPFLAGS'
55256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55265 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55267 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55268 for ac_func in _isnanl
55269 do :
55270 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55271 if test "x$ac_cv_func__isnanl" = x""yes; then :
55272 cat >>confdefs.h <<_ACEOF
55273 #define HAVE__ISNANL 1
55274 _ACEOF
55277 done
55286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55287 $as_echo_n "checking for isinfl declaration... " >&6; }
55288 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55289 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55290 $as_echo_n "(cached) " >&6
55291 else
55294 ac_ext=cpp
55295 ac_cpp='$CXXCPP $CPPFLAGS'
55296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55301 /* end confdefs.h. */
55302 #include <math.h>
55303 #ifdef HAVE_IEEEFP_H
55304 #include <ieeefp.h>
55305 #endif
55308 main ()
55310 isinfl(0);
55312 return 0;
55314 _ACEOF
55315 if ac_fn_cxx_try_compile "$LINENO"; then :
55316 glibcxx_cv_func_isinfl_use=yes
55317 else
55318 glibcxx_cv_func_isinfl_use=no
55320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55321 ac_ext=c
55322 ac_cpp='$CPP $CPPFLAGS'
55323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55332 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55334 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55335 for ac_func in isinfl
55336 do :
55337 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55338 if test "x$ac_cv_func_isinfl" = x""yes; then :
55339 cat >>confdefs.h <<_ACEOF
55340 #define HAVE_ISINFL 1
55341 _ACEOF
55344 done
55346 else
55348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55349 $as_echo_n "checking for _isinfl declaration... " >&6; }
55350 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55351 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55352 $as_echo_n "(cached) " >&6
55353 else
55356 ac_ext=cpp
55357 ac_cpp='$CXXCPP $CPPFLAGS'
55358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55363 /* end confdefs.h. */
55364 #include <math.h>
55365 #ifdef HAVE_IEEEFP_H
55366 #include <ieeefp.h>
55367 #endif
55370 main ()
55372 _isinfl(0);
55374 return 0;
55376 _ACEOF
55377 if ac_fn_cxx_try_compile "$LINENO"; then :
55378 glibcxx_cv_func__isinfl_use=yes
55379 else
55380 glibcxx_cv_func__isinfl_use=no
55382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55383 ac_ext=c
55384 ac_cpp='$CPP $CPPFLAGS'
55385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55394 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55396 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55397 for ac_func in _isinfl
55398 do :
55399 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55400 if test "x$ac_cv_func__isinfl" = x""yes; then :
55401 cat >>confdefs.h <<_ACEOF
55402 #define HAVE__ISINFL 1
55403 _ACEOF
55406 done
55415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55416 $as_echo_n "checking for atan2l declaration... " >&6; }
55417 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55418 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55419 $as_echo_n "(cached) " >&6
55420 else
55423 ac_ext=cpp
55424 ac_cpp='$CXXCPP $CPPFLAGS'
55425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55430 /* end confdefs.h. */
55431 #include <math.h>
55433 main ()
55435 atan2l(0, 0);
55437 return 0;
55439 _ACEOF
55440 if ac_fn_cxx_try_compile "$LINENO"; then :
55441 glibcxx_cv_func_atan2l_use=yes
55442 else
55443 glibcxx_cv_func_atan2l_use=no
55445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55446 ac_ext=c
55447 ac_cpp='$CPP $CPPFLAGS'
55448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55457 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55459 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55460 for ac_func in atan2l
55461 do :
55462 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55463 if test "x$ac_cv_func_atan2l" = x""yes; then :
55464 cat >>confdefs.h <<_ACEOF
55465 #define HAVE_ATAN2L 1
55466 _ACEOF
55469 done
55471 else
55473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55474 $as_echo_n "checking for _atan2l declaration... " >&6; }
55475 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55476 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55477 $as_echo_n "(cached) " >&6
55478 else
55481 ac_ext=cpp
55482 ac_cpp='$CXXCPP $CPPFLAGS'
55483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55488 /* end confdefs.h. */
55489 #include <math.h>
55491 main ()
55493 _atan2l(0, 0);
55495 return 0;
55497 _ACEOF
55498 if ac_fn_cxx_try_compile "$LINENO"; then :
55499 glibcxx_cv_func__atan2l_use=yes
55500 else
55501 glibcxx_cv_func__atan2l_use=no
55503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55504 ac_ext=c
55505 ac_cpp='$CPP $CPPFLAGS'
55506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55515 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55517 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55518 for ac_func in _atan2l
55519 do :
55520 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55521 if test "x$ac_cv_func__atan2l" = x""yes; then :
55522 cat >>confdefs.h <<_ACEOF
55523 #define HAVE__ATAN2L 1
55524 _ACEOF
55527 done
55536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55537 $as_echo_n "checking for expl declaration... " >&6; }
55538 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55539 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55540 $as_echo_n "(cached) " >&6
55541 else
55544 ac_ext=cpp
55545 ac_cpp='$CXXCPP $CPPFLAGS'
55546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55551 /* end confdefs.h. */
55552 #include <math.h>
55553 #ifdef HAVE_IEEEFP_H
55554 #include <ieeefp.h>
55555 #endif
55558 main ()
55560 expl(0);
55562 return 0;
55564 _ACEOF
55565 if ac_fn_cxx_try_compile "$LINENO"; then :
55566 glibcxx_cv_func_expl_use=yes
55567 else
55568 glibcxx_cv_func_expl_use=no
55570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55571 ac_ext=c
55572 ac_cpp='$CPP $CPPFLAGS'
55573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55582 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55584 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55585 for ac_func in expl
55586 do :
55587 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55588 if test "x$ac_cv_func_expl" = x""yes; then :
55589 cat >>confdefs.h <<_ACEOF
55590 #define HAVE_EXPL 1
55591 _ACEOF
55594 done
55596 else
55598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55599 $as_echo_n "checking for _expl declaration... " >&6; }
55600 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55601 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55602 $as_echo_n "(cached) " >&6
55603 else
55606 ac_ext=cpp
55607 ac_cpp='$CXXCPP $CPPFLAGS'
55608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55613 /* end confdefs.h. */
55614 #include <math.h>
55615 #ifdef HAVE_IEEEFP_H
55616 #include <ieeefp.h>
55617 #endif
55620 main ()
55622 _expl(0);
55624 return 0;
55626 _ACEOF
55627 if ac_fn_cxx_try_compile "$LINENO"; then :
55628 glibcxx_cv_func__expl_use=yes
55629 else
55630 glibcxx_cv_func__expl_use=no
55632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55633 ac_ext=c
55634 ac_cpp='$CPP $CPPFLAGS'
55635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55644 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55646 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55647 for ac_func in _expl
55648 do :
55649 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55650 if test "x$ac_cv_func__expl" = x""yes; then :
55651 cat >>confdefs.h <<_ACEOF
55652 #define HAVE__EXPL 1
55653 _ACEOF
55656 done
55665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55666 $as_echo_n "checking for fabsl declaration... " >&6; }
55667 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55668 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55669 $as_echo_n "(cached) " >&6
55670 else
55673 ac_ext=cpp
55674 ac_cpp='$CXXCPP $CPPFLAGS'
55675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55680 /* end confdefs.h. */
55681 #include <math.h>
55682 #ifdef HAVE_IEEEFP_H
55683 #include <ieeefp.h>
55684 #endif
55687 main ()
55689 fabsl(0);
55691 return 0;
55693 _ACEOF
55694 if ac_fn_cxx_try_compile "$LINENO"; then :
55695 glibcxx_cv_func_fabsl_use=yes
55696 else
55697 glibcxx_cv_func_fabsl_use=no
55699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55700 ac_ext=c
55701 ac_cpp='$CPP $CPPFLAGS'
55702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55711 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55713 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55714 for ac_func in fabsl
55715 do :
55716 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55717 if test "x$ac_cv_func_fabsl" = x""yes; then :
55718 cat >>confdefs.h <<_ACEOF
55719 #define HAVE_FABSL 1
55720 _ACEOF
55723 done
55725 else
55727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55728 $as_echo_n "checking for _fabsl declaration... " >&6; }
55729 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55730 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55731 $as_echo_n "(cached) " >&6
55732 else
55735 ac_ext=cpp
55736 ac_cpp='$CXXCPP $CPPFLAGS'
55737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55742 /* end confdefs.h. */
55743 #include <math.h>
55744 #ifdef HAVE_IEEEFP_H
55745 #include <ieeefp.h>
55746 #endif
55749 main ()
55751 _fabsl(0);
55753 return 0;
55755 _ACEOF
55756 if ac_fn_cxx_try_compile "$LINENO"; then :
55757 glibcxx_cv_func__fabsl_use=yes
55758 else
55759 glibcxx_cv_func__fabsl_use=no
55761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55762 ac_ext=c
55763 ac_cpp='$CPP $CPPFLAGS'
55764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55773 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55775 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55776 for ac_func in _fabsl
55777 do :
55778 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55779 if test "x$ac_cv_func__fabsl" = x""yes; then :
55780 cat >>confdefs.h <<_ACEOF
55781 #define HAVE__FABSL 1
55782 _ACEOF
55785 done
55794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55795 $as_echo_n "checking for fmodl declaration... " >&6; }
55796 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55797 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55798 $as_echo_n "(cached) " >&6
55799 else
55802 ac_ext=cpp
55803 ac_cpp='$CXXCPP $CPPFLAGS'
55804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55809 /* end confdefs.h. */
55810 #include <math.h>
55812 main ()
55814 fmodl(0, 0);
55816 return 0;
55818 _ACEOF
55819 if ac_fn_cxx_try_compile "$LINENO"; then :
55820 glibcxx_cv_func_fmodl_use=yes
55821 else
55822 glibcxx_cv_func_fmodl_use=no
55824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55825 ac_ext=c
55826 ac_cpp='$CPP $CPPFLAGS'
55827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55836 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55838 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55839 for ac_func in fmodl
55840 do :
55841 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55842 if test "x$ac_cv_func_fmodl" = x""yes; then :
55843 cat >>confdefs.h <<_ACEOF
55844 #define HAVE_FMODL 1
55845 _ACEOF
55848 done
55850 else
55852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55853 $as_echo_n "checking for _fmodl declaration... " >&6; }
55854 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55855 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55856 $as_echo_n "(cached) " >&6
55857 else
55860 ac_ext=cpp
55861 ac_cpp='$CXXCPP $CPPFLAGS'
55862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55867 /* end confdefs.h. */
55868 #include <math.h>
55870 main ()
55872 _fmodl(0, 0);
55874 return 0;
55876 _ACEOF
55877 if ac_fn_cxx_try_compile "$LINENO"; then :
55878 glibcxx_cv_func__fmodl_use=yes
55879 else
55880 glibcxx_cv_func__fmodl_use=no
55882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55883 ac_ext=c
55884 ac_cpp='$CPP $CPPFLAGS'
55885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55894 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55896 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55897 for ac_func in _fmodl
55898 do :
55899 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55900 if test "x$ac_cv_func__fmodl" = x""yes; then :
55901 cat >>confdefs.h <<_ACEOF
55902 #define HAVE__FMODL 1
55903 _ACEOF
55906 done
55915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55916 $as_echo_n "checking for frexpl declaration... " >&6; }
55917 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55918 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55919 $as_echo_n "(cached) " >&6
55920 else
55923 ac_ext=cpp
55924 ac_cpp='$CXXCPP $CPPFLAGS'
55925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55930 /* end confdefs.h. */
55931 #include <math.h>
55933 main ()
55935 frexpl(0, 0);
55937 return 0;
55939 _ACEOF
55940 if ac_fn_cxx_try_compile "$LINENO"; then :
55941 glibcxx_cv_func_frexpl_use=yes
55942 else
55943 glibcxx_cv_func_frexpl_use=no
55945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55946 ac_ext=c
55947 ac_cpp='$CPP $CPPFLAGS'
55948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55957 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55959 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55960 for ac_func in frexpl
55961 do :
55962 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55963 if test "x$ac_cv_func_frexpl" = x""yes; then :
55964 cat >>confdefs.h <<_ACEOF
55965 #define HAVE_FREXPL 1
55966 _ACEOF
55969 done
55971 else
55973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55974 $as_echo_n "checking for _frexpl declaration... " >&6; }
55975 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55976 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55977 $as_echo_n "(cached) " >&6
55978 else
55981 ac_ext=cpp
55982 ac_cpp='$CXXCPP $CPPFLAGS'
55983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55988 /* end confdefs.h. */
55989 #include <math.h>
55991 main ()
55993 _frexpl(0, 0);
55995 return 0;
55997 _ACEOF
55998 if ac_fn_cxx_try_compile "$LINENO"; then :
55999 glibcxx_cv_func__frexpl_use=yes
56000 else
56001 glibcxx_cv_func__frexpl_use=no
56003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56004 ac_ext=c
56005 ac_cpp='$CPP $CPPFLAGS'
56006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56015 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56017 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56018 for ac_func in _frexpl
56019 do :
56020 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56021 if test "x$ac_cv_func__frexpl" = x""yes; then :
56022 cat >>confdefs.h <<_ACEOF
56023 #define HAVE__FREXPL 1
56024 _ACEOF
56027 done
56036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56037 $as_echo_n "checking for hypotl declaration... " >&6; }
56038 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56039 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56040 $as_echo_n "(cached) " >&6
56041 else
56044 ac_ext=cpp
56045 ac_cpp='$CXXCPP $CPPFLAGS'
56046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56051 /* end confdefs.h. */
56052 #include <math.h>
56054 main ()
56056 hypotl(0, 0);
56058 return 0;
56060 _ACEOF
56061 if ac_fn_cxx_try_compile "$LINENO"; then :
56062 glibcxx_cv_func_hypotl_use=yes
56063 else
56064 glibcxx_cv_func_hypotl_use=no
56066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56067 ac_ext=c
56068 ac_cpp='$CPP $CPPFLAGS'
56069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56078 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56080 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56081 for ac_func in hypotl
56082 do :
56083 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56084 if test "x$ac_cv_func_hypotl" = x""yes; then :
56085 cat >>confdefs.h <<_ACEOF
56086 #define HAVE_HYPOTL 1
56087 _ACEOF
56090 done
56092 else
56094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56095 $as_echo_n "checking for _hypotl declaration... " >&6; }
56096 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56097 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56098 $as_echo_n "(cached) " >&6
56099 else
56102 ac_ext=cpp
56103 ac_cpp='$CXXCPP $CPPFLAGS'
56104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56109 /* end confdefs.h. */
56110 #include <math.h>
56112 main ()
56114 _hypotl(0, 0);
56116 return 0;
56118 _ACEOF
56119 if ac_fn_cxx_try_compile "$LINENO"; then :
56120 glibcxx_cv_func__hypotl_use=yes
56121 else
56122 glibcxx_cv_func__hypotl_use=no
56124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56125 ac_ext=c
56126 ac_cpp='$CPP $CPPFLAGS'
56127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56136 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56138 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56139 for ac_func in _hypotl
56140 do :
56141 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56142 if test "x$ac_cv_func__hypotl" = x""yes; then :
56143 cat >>confdefs.h <<_ACEOF
56144 #define HAVE__HYPOTL 1
56145 _ACEOF
56148 done
56157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56158 $as_echo_n "checking for ldexpl declaration... " >&6; }
56159 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56160 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56161 $as_echo_n "(cached) " >&6
56162 else
56165 ac_ext=cpp
56166 ac_cpp='$CXXCPP $CPPFLAGS'
56167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56172 /* end confdefs.h. */
56173 #include <math.h>
56175 main ()
56177 ldexpl(0, 0);
56179 return 0;
56181 _ACEOF
56182 if ac_fn_cxx_try_compile "$LINENO"; then :
56183 glibcxx_cv_func_ldexpl_use=yes
56184 else
56185 glibcxx_cv_func_ldexpl_use=no
56187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56188 ac_ext=c
56189 ac_cpp='$CPP $CPPFLAGS'
56190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56199 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56201 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56202 for ac_func in ldexpl
56203 do :
56204 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56205 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56206 cat >>confdefs.h <<_ACEOF
56207 #define HAVE_LDEXPL 1
56208 _ACEOF
56211 done
56213 else
56215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56216 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56217 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56218 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56219 $as_echo_n "(cached) " >&6
56220 else
56223 ac_ext=cpp
56224 ac_cpp='$CXXCPP $CPPFLAGS'
56225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56230 /* end confdefs.h. */
56231 #include <math.h>
56233 main ()
56235 _ldexpl(0, 0);
56237 return 0;
56239 _ACEOF
56240 if ac_fn_cxx_try_compile "$LINENO"; then :
56241 glibcxx_cv_func__ldexpl_use=yes
56242 else
56243 glibcxx_cv_func__ldexpl_use=no
56245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56246 ac_ext=c
56247 ac_cpp='$CPP $CPPFLAGS'
56248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56257 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56259 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56260 for ac_func in _ldexpl
56261 do :
56262 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56263 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56264 cat >>confdefs.h <<_ACEOF
56265 #define HAVE__LDEXPL 1
56266 _ACEOF
56269 done
56278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56279 $as_echo_n "checking for logl declaration... " >&6; }
56280 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56281 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56282 $as_echo_n "(cached) " >&6
56283 else
56286 ac_ext=cpp
56287 ac_cpp='$CXXCPP $CPPFLAGS'
56288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56293 /* end confdefs.h. */
56294 #include <math.h>
56295 #ifdef HAVE_IEEEFP_H
56296 #include <ieeefp.h>
56297 #endif
56300 main ()
56302 logl(0);
56304 return 0;
56306 _ACEOF
56307 if ac_fn_cxx_try_compile "$LINENO"; then :
56308 glibcxx_cv_func_logl_use=yes
56309 else
56310 glibcxx_cv_func_logl_use=no
56312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56313 ac_ext=c
56314 ac_cpp='$CPP $CPPFLAGS'
56315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56324 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56326 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56327 for ac_func in logl
56328 do :
56329 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56330 if test "x$ac_cv_func_logl" = x""yes; then :
56331 cat >>confdefs.h <<_ACEOF
56332 #define HAVE_LOGL 1
56333 _ACEOF
56336 done
56338 else
56340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56341 $as_echo_n "checking for _logl declaration... " >&6; }
56342 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56343 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56344 $as_echo_n "(cached) " >&6
56345 else
56348 ac_ext=cpp
56349 ac_cpp='$CXXCPP $CPPFLAGS'
56350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56355 /* end confdefs.h. */
56356 #include <math.h>
56357 #ifdef HAVE_IEEEFP_H
56358 #include <ieeefp.h>
56359 #endif
56362 main ()
56364 _logl(0);
56366 return 0;
56368 _ACEOF
56369 if ac_fn_cxx_try_compile "$LINENO"; then :
56370 glibcxx_cv_func__logl_use=yes
56371 else
56372 glibcxx_cv_func__logl_use=no
56374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56375 ac_ext=c
56376 ac_cpp='$CPP $CPPFLAGS'
56377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56386 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56388 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56389 for ac_func in _logl
56390 do :
56391 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56392 if test "x$ac_cv_func__logl" = x""yes; then :
56393 cat >>confdefs.h <<_ACEOF
56394 #define HAVE__LOGL 1
56395 _ACEOF
56398 done
56407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56408 $as_echo_n "checking for log10l declaration... " >&6; }
56409 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56410 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56411 $as_echo_n "(cached) " >&6
56412 else
56415 ac_ext=cpp
56416 ac_cpp='$CXXCPP $CPPFLAGS'
56417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56422 /* end confdefs.h. */
56423 #include <math.h>
56424 #ifdef HAVE_IEEEFP_H
56425 #include <ieeefp.h>
56426 #endif
56429 main ()
56431 log10l(0);
56433 return 0;
56435 _ACEOF
56436 if ac_fn_cxx_try_compile "$LINENO"; then :
56437 glibcxx_cv_func_log10l_use=yes
56438 else
56439 glibcxx_cv_func_log10l_use=no
56441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56442 ac_ext=c
56443 ac_cpp='$CPP $CPPFLAGS'
56444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56453 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56455 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56456 for ac_func in log10l
56457 do :
56458 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56459 if test "x$ac_cv_func_log10l" = x""yes; then :
56460 cat >>confdefs.h <<_ACEOF
56461 #define HAVE_LOG10L 1
56462 _ACEOF
56465 done
56467 else
56469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56470 $as_echo_n "checking for _log10l declaration... " >&6; }
56471 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56472 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56473 $as_echo_n "(cached) " >&6
56474 else
56477 ac_ext=cpp
56478 ac_cpp='$CXXCPP $CPPFLAGS'
56479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56484 /* end confdefs.h. */
56485 #include <math.h>
56486 #ifdef HAVE_IEEEFP_H
56487 #include <ieeefp.h>
56488 #endif
56491 main ()
56493 _log10l(0);
56495 return 0;
56497 _ACEOF
56498 if ac_fn_cxx_try_compile "$LINENO"; then :
56499 glibcxx_cv_func__log10l_use=yes
56500 else
56501 glibcxx_cv_func__log10l_use=no
56503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56504 ac_ext=c
56505 ac_cpp='$CPP $CPPFLAGS'
56506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56515 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56517 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56518 for ac_func in _log10l
56519 do :
56520 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56521 if test "x$ac_cv_func__log10l" = x""yes; then :
56522 cat >>confdefs.h <<_ACEOF
56523 #define HAVE__LOG10L 1
56524 _ACEOF
56527 done
56536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56537 $as_echo_n "checking for modfl declaration... " >&6; }
56538 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56539 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56540 $as_echo_n "(cached) " >&6
56541 else
56544 ac_ext=cpp
56545 ac_cpp='$CXXCPP $CPPFLAGS'
56546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56551 /* end confdefs.h. */
56552 #include <math.h>
56554 main ()
56556 modfl(0, 0);
56558 return 0;
56560 _ACEOF
56561 if ac_fn_cxx_try_compile "$LINENO"; then :
56562 glibcxx_cv_func_modfl_use=yes
56563 else
56564 glibcxx_cv_func_modfl_use=no
56566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56567 ac_ext=c
56568 ac_cpp='$CPP $CPPFLAGS'
56569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56578 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56580 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56581 for ac_func in modfl
56582 do :
56583 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56584 if test "x$ac_cv_func_modfl" = x""yes; then :
56585 cat >>confdefs.h <<_ACEOF
56586 #define HAVE_MODFL 1
56587 _ACEOF
56590 done
56592 else
56594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56595 $as_echo_n "checking for _modfl declaration... " >&6; }
56596 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56597 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56598 $as_echo_n "(cached) " >&6
56599 else
56602 ac_ext=cpp
56603 ac_cpp='$CXXCPP $CPPFLAGS'
56604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56609 /* end confdefs.h. */
56610 #include <math.h>
56612 main ()
56614 _modfl(0, 0);
56616 return 0;
56618 _ACEOF
56619 if ac_fn_cxx_try_compile "$LINENO"; then :
56620 glibcxx_cv_func__modfl_use=yes
56621 else
56622 glibcxx_cv_func__modfl_use=no
56624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56625 ac_ext=c
56626 ac_cpp='$CPP $CPPFLAGS'
56627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56636 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56638 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56639 for ac_func in _modfl
56640 do :
56641 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56642 if test "x$ac_cv_func__modfl" = x""yes; then :
56643 cat >>confdefs.h <<_ACEOF
56644 #define HAVE__MODFL 1
56645 _ACEOF
56648 done
56657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56658 $as_echo_n "checking for powl declaration... " >&6; }
56659 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56660 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56661 $as_echo_n "(cached) " >&6
56662 else
56665 ac_ext=cpp
56666 ac_cpp='$CXXCPP $CPPFLAGS'
56667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56672 /* end confdefs.h. */
56673 #include <math.h>
56675 main ()
56677 powl(0, 0);
56679 return 0;
56681 _ACEOF
56682 if ac_fn_cxx_try_compile "$LINENO"; then :
56683 glibcxx_cv_func_powl_use=yes
56684 else
56685 glibcxx_cv_func_powl_use=no
56687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56688 ac_ext=c
56689 ac_cpp='$CPP $CPPFLAGS'
56690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56699 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56701 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56702 for ac_func in powl
56703 do :
56704 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56705 if test "x$ac_cv_func_powl" = x""yes; then :
56706 cat >>confdefs.h <<_ACEOF
56707 #define HAVE_POWL 1
56708 _ACEOF
56711 done
56713 else
56715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56716 $as_echo_n "checking for _powl declaration... " >&6; }
56717 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56718 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56719 $as_echo_n "(cached) " >&6
56720 else
56723 ac_ext=cpp
56724 ac_cpp='$CXXCPP $CPPFLAGS'
56725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56730 /* end confdefs.h. */
56731 #include <math.h>
56733 main ()
56735 _powl(0, 0);
56737 return 0;
56739 _ACEOF
56740 if ac_fn_cxx_try_compile "$LINENO"; then :
56741 glibcxx_cv_func__powl_use=yes
56742 else
56743 glibcxx_cv_func__powl_use=no
56745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56746 ac_ext=c
56747 ac_cpp='$CPP $CPPFLAGS'
56748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56757 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56759 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56760 for ac_func in _powl
56761 do :
56762 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56763 if test "x$ac_cv_func__powl" = x""yes; then :
56764 cat >>confdefs.h <<_ACEOF
56765 #define HAVE__POWL 1
56766 _ACEOF
56769 done
56778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56779 $as_echo_n "checking for sqrtl declaration... " >&6; }
56780 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56781 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56782 $as_echo_n "(cached) " >&6
56783 else
56786 ac_ext=cpp
56787 ac_cpp='$CXXCPP $CPPFLAGS'
56788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56793 /* end confdefs.h. */
56794 #include <math.h>
56795 #ifdef HAVE_IEEEFP_H
56796 #include <ieeefp.h>
56797 #endif
56800 main ()
56802 sqrtl(0);
56804 return 0;
56806 _ACEOF
56807 if ac_fn_cxx_try_compile "$LINENO"; then :
56808 glibcxx_cv_func_sqrtl_use=yes
56809 else
56810 glibcxx_cv_func_sqrtl_use=no
56812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56813 ac_ext=c
56814 ac_cpp='$CPP $CPPFLAGS'
56815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56824 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56826 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56827 for ac_func in sqrtl
56828 do :
56829 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56830 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56831 cat >>confdefs.h <<_ACEOF
56832 #define HAVE_SQRTL 1
56833 _ACEOF
56836 done
56838 else
56840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56841 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56842 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56843 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56844 $as_echo_n "(cached) " >&6
56845 else
56848 ac_ext=cpp
56849 ac_cpp='$CXXCPP $CPPFLAGS'
56850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56855 /* end confdefs.h. */
56856 #include <math.h>
56857 #ifdef HAVE_IEEEFP_H
56858 #include <ieeefp.h>
56859 #endif
56862 main ()
56864 _sqrtl(0);
56866 return 0;
56868 _ACEOF
56869 if ac_fn_cxx_try_compile "$LINENO"; then :
56870 glibcxx_cv_func__sqrtl_use=yes
56871 else
56872 glibcxx_cv_func__sqrtl_use=no
56874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56875 ac_ext=c
56876 ac_cpp='$CPP $CPPFLAGS'
56877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56886 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56888 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56889 for ac_func in _sqrtl
56890 do :
56891 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56892 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56893 cat >>confdefs.h <<_ACEOF
56894 #define HAVE__SQRTL 1
56895 _ACEOF
56898 done
56907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56908 $as_echo_n "checking for sincosl declaration... " >&6; }
56909 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56910 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56911 $as_echo_n "(cached) " >&6
56912 else
56915 ac_ext=cpp
56916 ac_cpp='$CXXCPP $CPPFLAGS'
56917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56922 /* end confdefs.h. */
56923 #include <math.h>
56925 main ()
56927 sincosl(0, 0, 0);
56929 return 0;
56931 _ACEOF
56932 if ac_fn_cxx_try_compile "$LINENO"; then :
56933 glibcxx_cv_func_sincosl_use=yes
56934 else
56935 glibcxx_cv_func_sincosl_use=no
56937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56938 ac_ext=c
56939 ac_cpp='$CPP $CPPFLAGS'
56940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56949 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56951 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56952 for ac_func in sincosl
56953 do :
56954 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56955 if test "x$ac_cv_func_sincosl" = x""yes; then :
56956 cat >>confdefs.h <<_ACEOF
56957 #define HAVE_SINCOSL 1
56958 _ACEOF
56961 done
56963 else
56965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56966 $as_echo_n "checking for _sincosl declaration... " >&6; }
56967 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56968 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56969 $as_echo_n "(cached) " >&6
56970 else
56973 ac_ext=cpp
56974 ac_cpp='$CXXCPP $CPPFLAGS'
56975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56980 /* end confdefs.h. */
56981 #include <math.h>
56983 main ()
56985 _sincosl(0, 0, 0);
56987 return 0;
56989 _ACEOF
56990 if ac_fn_cxx_try_compile "$LINENO"; then :
56991 glibcxx_cv_func__sincosl_use=yes
56992 else
56993 glibcxx_cv_func__sincosl_use=no
56995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56996 ac_ext=c
56997 ac_cpp='$CPP $CPPFLAGS'
56998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57007 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57009 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57010 for ac_func in _sincosl
57011 do :
57012 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57013 if test "x$ac_cv_func__sincosl" = x""yes; then :
57014 cat >>confdefs.h <<_ACEOF
57015 #define HAVE__SINCOSL 1
57016 _ACEOF
57019 done
57028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57029 $as_echo_n "checking for finitel declaration... " >&6; }
57030 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57031 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57032 $as_echo_n "(cached) " >&6
57033 else
57036 ac_ext=cpp
57037 ac_cpp='$CXXCPP $CPPFLAGS'
57038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57043 /* end confdefs.h. */
57044 #include <math.h>
57045 #ifdef HAVE_IEEEFP_H
57046 #include <ieeefp.h>
57047 #endif
57050 main ()
57052 finitel(0);
57054 return 0;
57056 _ACEOF
57057 if ac_fn_cxx_try_compile "$LINENO"; then :
57058 glibcxx_cv_func_finitel_use=yes
57059 else
57060 glibcxx_cv_func_finitel_use=no
57062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57063 ac_ext=c
57064 ac_cpp='$CPP $CPPFLAGS'
57065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57074 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57076 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57077 for ac_func in finitel
57078 do :
57079 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57080 if test "x$ac_cv_func_finitel" = x""yes; then :
57081 cat >>confdefs.h <<_ACEOF
57082 #define HAVE_FINITEL 1
57083 _ACEOF
57086 done
57088 else
57090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57091 $as_echo_n "checking for _finitel declaration... " >&6; }
57092 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57093 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57094 $as_echo_n "(cached) " >&6
57095 else
57098 ac_ext=cpp
57099 ac_cpp='$CXXCPP $CPPFLAGS'
57100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57105 /* end confdefs.h. */
57106 #include <math.h>
57107 #ifdef HAVE_IEEEFP_H
57108 #include <ieeefp.h>
57109 #endif
57112 main ()
57114 _finitel(0);
57116 return 0;
57118 _ACEOF
57119 if ac_fn_cxx_try_compile "$LINENO"; then :
57120 glibcxx_cv_func__finitel_use=yes
57121 else
57122 glibcxx_cv_func__finitel_use=no
57124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57125 ac_ext=c
57126 ac_cpp='$CPP $CPPFLAGS'
57127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57136 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57138 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57139 for ac_func in _finitel
57140 do :
57141 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57142 if test "x$ac_cv_func__finitel" = x""yes; then :
57143 cat >>confdefs.h <<_ACEOF
57144 #define HAVE__FINITEL 1
57145 _ACEOF
57148 done
57156 LIBS="$ac_save_LIBS"
57157 CXXFLAGS="$ac_save_CXXFLAGS"
57160 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57161 ac_save_CXXFLAGS="$CXXFLAGS"
57162 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57166 $as_echo_n "checking for strtold declaration... " >&6; }
57167 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57168 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57169 $as_echo_n "(cached) " >&6
57170 else
57173 ac_ext=cpp
57174 ac_cpp='$CXXCPP $CPPFLAGS'
57175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57180 /* end confdefs.h. */
57181 #include <stdlib.h>
57183 main ()
57185 strtold(0, 0);
57187 return 0;
57189 _ACEOF
57190 if ac_fn_cxx_try_compile "$LINENO"; then :
57191 glibcxx_cv_func_strtold_use=yes
57192 else
57193 glibcxx_cv_func_strtold_use=no
57195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57196 ac_ext=c
57197 ac_cpp='$CPP $CPPFLAGS'
57198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57207 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57208 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57209 for ac_func in strtold
57210 do :
57211 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57212 if test "x$ac_cv_func_strtold" = x""yes; then :
57213 cat >>confdefs.h <<_ACEOF
57214 #define HAVE_STRTOLD 1
57215 _ACEOF
57218 done
57225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57226 $as_echo_n "checking for strtof declaration... " >&6; }
57227 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57228 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57229 $as_echo_n "(cached) " >&6
57230 else
57233 ac_ext=cpp
57234 ac_cpp='$CXXCPP $CPPFLAGS'
57235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57240 /* end confdefs.h. */
57241 #include <stdlib.h>
57243 main ()
57245 strtof(0, 0);
57247 return 0;
57249 _ACEOF
57250 if ac_fn_cxx_try_compile "$LINENO"; then :
57251 glibcxx_cv_func_strtof_use=yes
57252 else
57253 glibcxx_cv_func_strtof_use=no
57255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57256 ac_ext=c
57257 ac_cpp='$CPP $CPPFLAGS'
57258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57267 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57268 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57269 for ac_func in strtof
57270 do :
57271 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57272 if test "x$ac_cv_func_strtof" = x""yes; then :
57273 cat >>confdefs.h <<_ACEOF
57274 #define HAVE_STRTOF 1
57275 _ACEOF
57278 done
57285 CXXFLAGS="$ac_save_CXXFLAGS"
57288 *-netbsd*)
57289 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57292 # If we're not using GNU ld, then there's no point in even trying these
57293 # tests. Check for that first. We should have already tested for gld
57294 # by now (in libtool), but require it now just to be safe...
57295 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57296 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57300 # The name set by libtool depends on the version of libtool. Shame on us
57301 # for depending on an impl detail, but c'est la vie. Older versions used
57302 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57303 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57304 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57305 # set (hence we're using an older libtool), then set it.
57306 if test x${with_gnu_ld+set} != xset; then
57307 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57308 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57309 with_gnu_ld=no
57310 else
57311 with_gnu_ld=$ac_cv_prog_gnu_ld
57315 # Start by getting the version number. I think the libtool test already
57316 # does some of this, but throws away the result.
57317 glibcxx_ld_is_gold=no
57318 if test x"$with_gnu_ld" = x"yes"; then
57319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57320 $as_echo_n "checking for ld version... " >&6; }
57322 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57323 glibcxx_ld_is_gold=yes
57325 ldver=`$LD --version 2>/dev/null |
57326 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'`
57328 glibcxx_gnu_ld_version=`echo $ldver | \
57329 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57331 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57334 # Set --gc-sections.
57335 glibcxx_have_gc_sections=no
57336 if test "$glibcxx_ld_is_gold" = "yes"; then
57337 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57338 glibcxx_have_gc_sections=yes
57340 else
57341 glibcxx_gcsections_min_ld=21602
57342 if test x"$with_gnu_ld" = x"yes" &&
57343 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57344 glibcxx_have_gc_sections=yes
57347 if test "$glibcxx_have_gc_sections" = "yes"; then
57348 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57349 # NB: This flag only works reliably after 2.16.1. Configure tests
57350 # for this are difficult, so hard wire a value that should work.
57352 ac_test_CFLAGS="${CFLAGS+set}"
57353 ac_save_CFLAGS="$CFLAGS"
57354 CFLAGS='-Wl,--gc-sections'
57356 # Check for -Wl,--gc-sections
57357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57358 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57359 if test x$gcc_no_link = xyes; then
57360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57363 /* end confdefs.h. */
57364 int one(void) { return 1; }
57365 int two(void) { return 2; }
57368 main ()
57370 two();
57372 return 0;
57374 _ACEOF
57375 if ac_fn_c_try_link "$LINENO"; then :
57376 ac_gcsections=yes
57377 else
57378 ac_gcsections=no
57380 rm -f core conftest.err conftest.$ac_objext \
57381 conftest$ac_exeext conftest.$ac_ext
57382 if test "$ac_gcsections" = "yes"; then
57383 rm -f conftest.c
57384 touch conftest.c
57385 if $CC -c conftest.c; then
57386 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57387 grep "Warning: gc-sections option ignored" > /dev/null; then
57388 ac_gcsections=no
57391 rm -f conftest.c conftest.o conftest
57393 if test "$ac_gcsections" = "yes"; then
57394 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57397 $as_echo "$ac_gcsections" >&6; }
57399 if test "$ac_test_CFLAGS" = set; then
57400 CFLAGS="$ac_save_CFLAGS"
57401 else
57402 # this is the suspicious part
57403 CFLAGS=''
57407 # Set -z,relro.
57408 # Note this is only for shared objects.
57409 ac_ld_relro=no
57410 if test x"$with_gnu_ld" = x"yes"; then
57411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57412 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57413 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57414 if test -n "$cxx_z_relo"; then
57415 OPT_LDFLAGS="-Wl,-z,relro"
57416 ac_ld_relro=yes
57418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57419 $as_echo "$ac_ld_relro" >&6; }
57422 # Set linker optimization flags.
57423 if test x"$with_gnu_ld" = x"yes"; then
57424 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57430 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57432 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57434 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57436 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57438 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57440 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57442 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57444 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57446 if test x"long_double_math_on_this_cpu" = x"yes"; then
57447 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57449 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57451 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57455 *-qnx6.1* | *-qnx6.2*)
57456 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57459 # If we're not using GNU ld, then there's no point in even trying these
57460 # tests. Check for that first. We should have already tested for gld
57461 # by now (in libtool), but require it now just to be safe...
57462 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57463 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57467 # The name set by libtool depends on the version of libtool. Shame on us
57468 # for depending on an impl detail, but c'est la vie. Older versions used
57469 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57470 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57471 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57472 # set (hence we're using an older libtool), then set it.
57473 if test x${with_gnu_ld+set} != xset; then
57474 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57475 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57476 with_gnu_ld=no
57477 else
57478 with_gnu_ld=$ac_cv_prog_gnu_ld
57482 # Start by getting the version number. I think the libtool test already
57483 # does some of this, but throws away the result.
57484 glibcxx_ld_is_gold=no
57485 if test x"$with_gnu_ld" = x"yes"; then
57486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57487 $as_echo_n "checking for ld version... " >&6; }
57489 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57490 glibcxx_ld_is_gold=yes
57492 ldver=`$LD --version 2>/dev/null |
57493 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'`
57495 glibcxx_gnu_ld_version=`echo $ldver | \
57496 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57498 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57501 # Set --gc-sections.
57502 glibcxx_have_gc_sections=no
57503 if test "$glibcxx_ld_is_gold" = "yes"; then
57504 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57505 glibcxx_have_gc_sections=yes
57507 else
57508 glibcxx_gcsections_min_ld=21602
57509 if test x"$with_gnu_ld" = x"yes" &&
57510 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57511 glibcxx_have_gc_sections=yes
57514 if test "$glibcxx_have_gc_sections" = "yes"; then
57515 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57516 # NB: This flag only works reliably after 2.16.1. Configure tests
57517 # for this are difficult, so hard wire a value that should work.
57519 ac_test_CFLAGS="${CFLAGS+set}"
57520 ac_save_CFLAGS="$CFLAGS"
57521 CFLAGS='-Wl,--gc-sections'
57523 # Check for -Wl,--gc-sections
57524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57525 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57526 if test x$gcc_no_link = xyes; then
57527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57530 /* end confdefs.h. */
57531 int one(void) { return 1; }
57532 int two(void) { return 2; }
57535 main ()
57537 two();
57539 return 0;
57541 _ACEOF
57542 if ac_fn_c_try_link "$LINENO"; then :
57543 ac_gcsections=yes
57544 else
57545 ac_gcsections=no
57547 rm -f core conftest.err conftest.$ac_objext \
57548 conftest$ac_exeext conftest.$ac_ext
57549 if test "$ac_gcsections" = "yes"; then
57550 rm -f conftest.c
57551 touch conftest.c
57552 if $CC -c conftest.c; then
57553 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57554 grep "Warning: gc-sections option ignored" > /dev/null; then
57555 ac_gcsections=no
57558 rm -f conftest.c conftest.o conftest
57560 if test "$ac_gcsections" = "yes"; then
57561 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57564 $as_echo "$ac_gcsections" >&6; }
57566 if test "$ac_test_CFLAGS" = set; then
57567 CFLAGS="$ac_save_CFLAGS"
57568 else
57569 # this is the suspicious part
57570 CFLAGS=''
57574 # Set -z,relro.
57575 # Note this is only for shared objects.
57576 ac_ld_relro=no
57577 if test x"$with_gnu_ld" = x"yes"; then
57578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57579 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57580 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57581 if test -n "$cxx_z_relo"; then
57582 OPT_LDFLAGS="-Wl,-z,relro"
57583 ac_ld_relro=yes
57585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57586 $as_echo "$ac_ld_relro" >&6; }
57589 # Set linker optimization flags.
57590 if test x"$with_gnu_ld" = x"yes"; then
57591 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57597 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57599 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57601 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57603 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57605 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57607 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57609 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57611 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57613 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57615 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57617 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57619 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57622 *-rtems*)
57624 # All these tests are for C++; save the language and the compiler flags.
57625 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57626 # found in GLIBCXX_CONFIGURE.
57628 ac_ext=cpp
57629 ac_cpp='$CXXCPP $CPPFLAGS'
57630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57634 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57635 ac_save_CXXFLAGS="$CXXFLAGS"
57637 # Check for maintainer-mode bits.
57638 if test x"$USE_MAINTAINER_MODE" = xno; then
57639 WERROR=''
57640 else
57641 WERROR='-Werror'
57644 # Check for -ffunction-sections -fdata-sections
57645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57646 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57647 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57649 /* end confdefs.h. */
57650 int foo; void bar() { };
57652 main ()
57656 return 0;
57658 _ACEOF
57659 if ac_fn_cxx_try_compile "$LINENO"; then :
57660 ac_fdsections=yes
57661 else
57662 ac_fdsections=no
57664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57665 if test "$ac_test_CXXFLAGS" = set; then
57666 CXXFLAGS="$ac_save_CXXFLAGS"
57667 else
57668 # this is the suspicious part
57669 CXXFLAGS=''
57671 if test x"$ac_fdsections" = x"yes"; then
57672 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57675 $as_echo "$ac_fdsections" >&6; }
57677 ac_ext=c
57678 ac_cpp='$CPP $CPPFLAGS'
57679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57687 # If we're not using GNU ld, then there's no point in even trying these
57688 # tests. Check for that first. We should have already tested for gld
57689 # by now (in libtool), but require it now just to be safe...
57690 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57691 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57695 # The name set by libtool depends on the version of libtool. Shame on us
57696 # for depending on an impl detail, but c'est la vie. Older versions used
57697 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57698 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57699 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57700 # set (hence we're using an older libtool), then set it.
57701 if test x${with_gnu_ld+set} != xset; then
57702 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57703 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57704 with_gnu_ld=no
57705 else
57706 with_gnu_ld=$ac_cv_prog_gnu_ld
57710 # Start by getting the version number. I think the libtool test already
57711 # does some of this, but throws away the result.
57712 glibcxx_ld_is_gold=no
57713 if test x"$with_gnu_ld" = x"yes"; then
57714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57715 $as_echo_n "checking for ld version... " >&6; }
57717 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57718 glibcxx_ld_is_gold=yes
57720 ldver=`$LD --version 2>/dev/null |
57721 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'`
57723 glibcxx_gnu_ld_version=`echo $ldver | \
57724 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57726 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57729 # Set --gc-sections.
57730 glibcxx_have_gc_sections=no
57731 if test "$glibcxx_ld_is_gold" = "yes"; then
57732 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57733 glibcxx_have_gc_sections=yes
57735 else
57736 glibcxx_gcsections_min_ld=21602
57737 if test x"$with_gnu_ld" = x"yes" &&
57738 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57739 glibcxx_have_gc_sections=yes
57742 if test "$glibcxx_have_gc_sections" = "yes"; then
57743 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57744 # NB: This flag only works reliably after 2.16.1. Configure tests
57745 # for this are difficult, so hard wire a value that should work.
57747 ac_test_CFLAGS="${CFLAGS+set}"
57748 ac_save_CFLAGS="$CFLAGS"
57749 CFLAGS='-Wl,--gc-sections'
57751 # Check for -Wl,--gc-sections
57752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57753 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57754 if test x$gcc_no_link = xyes; then
57755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57758 /* end confdefs.h. */
57759 int one(void) { return 1; }
57760 int two(void) { return 2; }
57763 main ()
57765 two();
57767 return 0;
57769 _ACEOF
57770 if ac_fn_c_try_link "$LINENO"; then :
57771 ac_gcsections=yes
57772 else
57773 ac_gcsections=no
57775 rm -f core conftest.err conftest.$ac_objext \
57776 conftest$ac_exeext conftest.$ac_ext
57777 if test "$ac_gcsections" = "yes"; then
57778 rm -f conftest.c
57779 touch conftest.c
57780 if $CC -c conftest.c; then
57781 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57782 grep "Warning: gc-sections option ignored" > /dev/null; then
57783 ac_gcsections=no
57786 rm -f conftest.c conftest.o conftest
57788 if test "$ac_gcsections" = "yes"; then
57789 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57792 $as_echo "$ac_gcsections" >&6; }
57794 if test "$ac_test_CFLAGS" = set; then
57795 CFLAGS="$ac_save_CFLAGS"
57796 else
57797 # this is the suspicious part
57798 CFLAGS=''
57802 # Set -z,relro.
57803 # Note this is only for shared objects.
57804 ac_ld_relro=no
57805 if test x"$with_gnu_ld" = x"yes"; then
57806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57807 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57808 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57809 if test -n "$cxx_z_relo"; then
57810 OPT_LDFLAGS="-Wl,-z,relro"
57811 ac_ld_relro=yes
57813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57814 $as_echo "$ac_ld_relro" >&6; }
57817 # Set linker optimization flags.
57818 if test x"$with_gnu_ld" = x"yes"; then
57819 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57826 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57827 ac_save_CXXFLAGS="$CXXFLAGS"
57828 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57831 $as_echo_n "checking for sin in -lm... " >&6; }
57832 if test "${ac_cv_lib_m_sin+set}" = set; then :
57833 $as_echo_n "(cached) " >&6
57834 else
57835 ac_check_lib_save_LIBS=$LIBS
57836 LIBS="-lm $LIBS"
57837 if test x$gcc_no_link = xyes; then
57838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57841 /* end confdefs.h. */
57843 /* Override any GCC internal prototype to avoid an error.
57844 Use char because int might match the return type of a GCC
57845 builtin and then its argument prototype would still apply. */
57846 #ifdef __cplusplus
57847 extern "C"
57848 #endif
57849 char sin ();
57851 main ()
57853 return sin ();
57855 return 0;
57857 _ACEOF
57858 if ac_fn_c_try_link "$LINENO"; then :
57859 ac_cv_lib_m_sin=yes
57860 else
57861 ac_cv_lib_m_sin=no
57863 rm -f core conftest.err conftest.$ac_objext \
57864 conftest$ac_exeext conftest.$ac_ext
57865 LIBS=$ac_check_lib_save_LIBS
57867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57868 $as_echo "$ac_cv_lib_m_sin" >&6; }
57869 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57870 libm="-lm"
57873 ac_save_LIBS="$LIBS"
57874 LIBS="$LIBS $libm"
57878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57879 $as_echo_n "checking for isinf declaration... " >&6; }
57880 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57881 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57882 $as_echo_n "(cached) " >&6
57883 else
57886 ac_ext=cpp
57887 ac_cpp='$CXXCPP $CPPFLAGS'
57888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57893 /* end confdefs.h. */
57894 #include <math.h>
57895 #ifdef HAVE_IEEEFP_H
57896 #include <ieeefp.h>
57897 #endif
57900 main ()
57902 isinf(0);
57904 return 0;
57906 _ACEOF
57907 if ac_fn_cxx_try_compile "$LINENO"; then :
57908 glibcxx_cv_func_isinf_use=yes
57909 else
57910 glibcxx_cv_func_isinf_use=no
57912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57913 ac_ext=c
57914 ac_cpp='$CPP $CPPFLAGS'
57915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57924 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57926 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57927 for ac_func in isinf
57928 do :
57929 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57930 if test "x$ac_cv_func_isinf" = x""yes; then :
57931 cat >>confdefs.h <<_ACEOF
57932 #define HAVE_ISINF 1
57933 _ACEOF
57936 done
57938 else
57940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57941 $as_echo_n "checking for _isinf declaration... " >&6; }
57942 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57943 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57944 $as_echo_n "(cached) " >&6
57945 else
57948 ac_ext=cpp
57949 ac_cpp='$CXXCPP $CPPFLAGS'
57950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57955 /* end confdefs.h. */
57956 #include <math.h>
57957 #ifdef HAVE_IEEEFP_H
57958 #include <ieeefp.h>
57959 #endif
57962 main ()
57964 _isinf(0);
57966 return 0;
57968 _ACEOF
57969 if ac_fn_cxx_try_compile "$LINENO"; then :
57970 glibcxx_cv_func__isinf_use=yes
57971 else
57972 glibcxx_cv_func__isinf_use=no
57974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57975 ac_ext=c
57976 ac_cpp='$CPP $CPPFLAGS'
57977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57986 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57988 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57989 for ac_func in _isinf
57990 do :
57991 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57992 if test "x$ac_cv_func__isinf" = x""yes; then :
57993 cat >>confdefs.h <<_ACEOF
57994 #define HAVE__ISINF 1
57995 _ACEOF
57998 done
58007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58008 $as_echo_n "checking for isnan declaration... " >&6; }
58009 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58010 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58011 $as_echo_n "(cached) " >&6
58012 else
58015 ac_ext=cpp
58016 ac_cpp='$CXXCPP $CPPFLAGS'
58017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58022 /* end confdefs.h. */
58023 #include <math.h>
58024 #ifdef HAVE_IEEEFP_H
58025 #include <ieeefp.h>
58026 #endif
58029 main ()
58031 isnan(0);
58033 return 0;
58035 _ACEOF
58036 if ac_fn_cxx_try_compile "$LINENO"; then :
58037 glibcxx_cv_func_isnan_use=yes
58038 else
58039 glibcxx_cv_func_isnan_use=no
58041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58042 ac_ext=c
58043 ac_cpp='$CPP $CPPFLAGS'
58044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58053 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58055 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58056 for ac_func in isnan
58057 do :
58058 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58059 if test "x$ac_cv_func_isnan" = x""yes; then :
58060 cat >>confdefs.h <<_ACEOF
58061 #define HAVE_ISNAN 1
58062 _ACEOF
58065 done
58067 else
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58070 $as_echo_n "checking for _isnan declaration... " >&6; }
58071 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58072 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58073 $as_echo_n "(cached) " >&6
58074 else
58077 ac_ext=cpp
58078 ac_cpp='$CXXCPP $CPPFLAGS'
58079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58084 /* end confdefs.h. */
58085 #include <math.h>
58086 #ifdef HAVE_IEEEFP_H
58087 #include <ieeefp.h>
58088 #endif
58091 main ()
58093 _isnan(0);
58095 return 0;
58097 _ACEOF
58098 if ac_fn_cxx_try_compile "$LINENO"; then :
58099 glibcxx_cv_func__isnan_use=yes
58100 else
58101 glibcxx_cv_func__isnan_use=no
58103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58104 ac_ext=c
58105 ac_cpp='$CPP $CPPFLAGS'
58106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58115 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58117 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58118 for ac_func in _isnan
58119 do :
58120 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58121 if test "x$ac_cv_func__isnan" = x""yes; then :
58122 cat >>confdefs.h <<_ACEOF
58123 #define HAVE__ISNAN 1
58124 _ACEOF
58127 done
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58137 $as_echo_n "checking for finite declaration... " >&6; }
58138 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58139 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58140 $as_echo_n "(cached) " >&6
58141 else
58144 ac_ext=cpp
58145 ac_cpp='$CXXCPP $CPPFLAGS'
58146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58151 /* end confdefs.h. */
58152 #include <math.h>
58153 #ifdef HAVE_IEEEFP_H
58154 #include <ieeefp.h>
58155 #endif
58158 main ()
58160 finite(0);
58162 return 0;
58164 _ACEOF
58165 if ac_fn_cxx_try_compile "$LINENO"; then :
58166 glibcxx_cv_func_finite_use=yes
58167 else
58168 glibcxx_cv_func_finite_use=no
58170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58171 ac_ext=c
58172 ac_cpp='$CPP $CPPFLAGS'
58173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58182 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58184 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58185 for ac_func in finite
58186 do :
58187 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58188 if test "x$ac_cv_func_finite" = x""yes; then :
58189 cat >>confdefs.h <<_ACEOF
58190 #define HAVE_FINITE 1
58191 _ACEOF
58194 done
58196 else
58198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58199 $as_echo_n "checking for _finite declaration... " >&6; }
58200 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58201 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58202 $as_echo_n "(cached) " >&6
58203 else
58206 ac_ext=cpp
58207 ac_cpp='$CXXCPP $CPPFLAGS'
58208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58213 /* end confdefs.h. */
58214 #include <math.h>
58215 #ifdef HAVE_IEEEFP_H
58216 #include <ieeefp.h>
58217 #endif
58220 main ()
58222 _finite(0);
58224 return 0;
58226 _ACEOF
58227 if ac_fn_cxx_try_compile "$LINENO"; then :
58228 glibcxx_cv_func__finite_use=yes
58229 else
58230 glibcxx_cv_func__finite_use=no
58232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58233 ac_ext=c
58234 ac_cpp='$CPP $CPPFLAGS'
58235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58244 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58246 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58247 for ac_func in _finite
58248 do :
58249 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58250 if test "x$ac_cv_func__finite" = x""yes; then :
58251 cat >>confdefs.h <<_ACEOF
58252 #define HAVE__FINITE 1
58253 _ACEOF
58256 done
58265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58266 $as_echo_n "checking for sincos declaration... " >&6; }
58267 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58268 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58269 $as_echo_n "(cached) " >&6
58270 else
58273 ac_ext=cpp
58274 ac_cpp='$CXXCPP $CPPFLAGS'
58275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58280 /* end confdefs.h. */
58281 #include <math.h>
58283 main ()
58285 sincos(0, 0, 0);
58287 return 0;
58289 _ACEOF
58290 if ac_fn_cxx_try_compile "$LINENO"; then :
58291 glibcxx_cv_func_sincos_use=yes
58292 else
58293 glibcxx_cv_func_sincos_use=no
58295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58296 ac_ext=c
58297 ac_cpp='$CPP $CPPFLAGS'
58298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58307 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58309 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58310 for ac_func in sincos
58311 do :
58312 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58313 if test "x$ac_cv_func_sincos" = x""yes; then :
58314 cat >>confdefs.h <<_ACEOF
58315 #define HAVE_SINCOS 1
58316 _ACEOF
58319 done
58321 else
58323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58324 $as_echo_n "checking for _sincos declaration... " >&6; }
58325 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58326 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58327 $as_echo_n "(cached) " >&6
58328 else
58331 ac_ext=cpp
58332 ac_cpp='$CXXCPP $CPPFLAGS'
58333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58338 /* end confdefs.h. */
58339 #include <math.h>
58341 main ()
58343 _sincos(0, 0, 0);
58345 return 0;
58347 _ACEOF
58348 if ac_fn_cxx_try_compile "$LINENO"; then :
58349 glibcxx_cv_func__sincos_use=yes
58350 else
58351 glibcxx_cv_func__sincos_use=no
58353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58354 ac_ext=c
58355 ac_cpp='$CPP $CPPFLAGS'
58356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58365 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58367 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58368 for ac_func in _sincos
58369 do :
58370 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58371 if test "x$ac_cv_func__sincos" = x""yes; then :
58372 cat >>confdefs.h <<_ACEOF
58373 #define HAVE__SINCOS 1
58374 _ACEOF
58377 done
58386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58387 $as_echo_n "checking for fpclass declaration... " >&6; }
58388 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58389 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58390 $as_echo_n "(cached) " >&6
58391 else
58394 ac_ext=cpp
58395 ac_cpp='$CXXCPP $CPPFLAGS'
58396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58401 /* end confdefs.h. */
58402 #include <math.h>
58403 #ifdef HAVE_IEEEFP_H
58404 #include <ieeefp.h>
58405 #endif
58408 main ()
58410 fpclass(0);
58412 return 0;
58414 _ACEOF
58415 if ac_fn_cxx_try_compile "$LINENO"; then :
58416 glibcxx_cv_func_fpclass_use=yes
58417 else
58418 glibcxx_cv_func_fpclass_use=no
58420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58421 ac_ext=c
58422 ac_cpp='$CPP $CPPFLAGS'
58423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58432 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58434 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58435 for ac_func in fpclass
58436 do :
58437 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58438 if test "x$ac_cv_func_fpclass" = x""yes; then :
58439 cat >>confdefs.h <<_ACEOF
58440 #define HAVE_FPCLASS 1
58441 _ACEOF
58444 done
58446 else
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58449 $as_echo_n "checking for _fpclass declaration... " >&6; }
58450 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58451 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58452 $as_echo_n "(cached) " >&6
58453 else
58456 ac_ext=cpp
58457 ac_cpp='$CXXCPP $CPPFLAGS'
58458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58463 /* end confdefs.h. */
58464 #include <math.h>
58465 #ifdef HAVE_IEEEFP_H
58466 #include <ieeefp.h>
58467 #endif
58470 main ()
58472 _fpclass(0);
58474 return 0;
58476 _ACEOF
58477 if ac_fn_cxx_try_compile "$LINENO"; then :
58478 glibcxx_cv_func__fpclass_use=yes
58479 else
58480 glibcxx_cv_func__fpclass_use=no
58482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58483 ac_ext=c
58484 ac_cpp='$CPP $CPPFLAGS'
58485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58494 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58496 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58497 for ac_func in _fpclass
58498 do :
58499 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58500 if test "x$ac_cv_func__fpclass" = x""yes; then :
58501 cat >>confdefs.h <<_ACEOF
58502 #define HAVE__FPCLASS 1
58503 _ACEOF
58506 done
58515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58516 $as_echo_n "checking for qfpclass declaration... " >&6; }
58517 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58518 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58519 $as_echo_n "(cached) " >&6
58520 else
58523 ac_ext=cpp
58524 ac_cpp='$CXXCPP $CPPFLAGS'
58525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58530 /* end confdefs.h. */
58531 #include <math.h>
58532 #ifdef HAVE_IEEEFP_H
58533 #include <ieeefp.h>
58534 #endif
58537 main ()
58539 qfpclass(0);
58541 return 0;
58543 _ACEOF
58544 if ac_fn_cxx_try_compile "$LINENO"; then :
58545 glibcxx_cv_func_qfpclass_use=yes
58546 else
58547 glibcxx_cv_func_qfpclass_use=no
58549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58550 ac_ext=c
58551 ac_cpp='$CPP $CPPFLAGS'
58552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58561 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58563 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58564 for ac_func in qfpclass
58565 do :
58566 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58567 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58568 cat >>confdefs.h <<_ACEOF
58569 #define HAVE_QFPCLASS 1
58570 _ACEOF
58573 done
58575 else
58577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58578 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58579 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58580 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58581 $as_echo_n "(cached) " >&6
58582 else
58585 ac_ext=cpp
58586 ac_cpp='$CXXCPP $CPPFLAGS'
58587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58592 /* end confdefs.h. */
58593 #include <math.h>
58594 #ifdef HAVE_IEEEFP_H
58595 #include <ieeefp.h>
58596 #endif
58599 main ()
58601 _qfpclass(0);
58603 return 0;
58605 _ACEOF
58606 if ac_fn_cxx_try_compile "$LINENO"; then :
58607 glibcxx_cv_func__qfpclass_use=yes
58608 else
58609 glibcxx_cv_func__qfpclass_use=no
58611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58612 ac_ext=c
58613 ac_cpp='$CPP $CPPFLAGS'
58614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58623 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58625 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58626 for ac_func in _qfpclass
58627 do :
58628 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58629 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58630 cat >>confdefs.h <<_ACEOF
58631 #define HAVE__QFPCLASS 1
58632 _ACEOF
58635 done
58644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58645 $as_echo_n "checking for hypot declaration... " >&6; }
58646 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58647 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58648 $as_echo_n "(cached) " >&6
58649 else
58652 ac_ext=cpp
58653 ac_cpp='$CXXCPP $CPPFLAGS'
58654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58659 /* end confdefs.h. */
58660 #include <math.h>
58662 main ()
58664 hypot(0, 0);
58666 return 0;
58668 _ACEOF
58669 if ac_fn_cxx_try_compile "$LINENO"; then :
58670 glibcxx_cv_func_hypot_use=yes
58671 else
58672 glibcxx_cv_func_hypot_use=no
58674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58675 ac_ext=c
58676 ac_cpp='$CPP $CPPFLAGS'
58677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58686 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58688 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58689 for ac_func in hypot
58690 do :
58691 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58692 if test "x$ac_cv_func_hypot" = x""yes; then :
58693 cat >>confdefs.h <<_ACEOF
58694 #define HAVE_HYPOT 1
58695 _ACEOF
58698 done
58700 else
58702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58703 $as_echo_n "checking for _hypot declaration... " >&6; }
58704 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58705 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58706 $as_echo_n "(cached) " >&6
58707 else
58710 ac_ext=cpp
58711 ac_cpp='$CXXCPP $CPPFLAGS'
58712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58717 /* end confdefs.h. */
58718 #include <math.h>
58720 main ()
58722 _hypot(0, 0);
58724 return 0;
58726 _ACEOF
58727 if ac_fn_cxx_try_compile "$LINENO"; then :
58728 glibcxx_cv_func__hypot_use=yes
58729 else
58730 glibcxx_cv_func__hypot_use=no
58732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58733 ac_ext=c
58734 ac_cpp='$CPP $CPPFLAGS'
58735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58744 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58746 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58747 for ac_func in _hypot
58748 do :
58749 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58750 if test "x$ac_cv_func__hypot" = x""yes; then :
58751 cat >>confdefs.h <<_ACEOF
58752 #define HAVE__HYPOT 1
58753 _ACEOF
58756 done
58765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58766 $as_echo_n "checking for float trig functions... " >&6; }
58767 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58768 $as_echo_n "(cached) " >&6
58769 else
58772 ac_ext=cpp
58773 ac_cpp='$CXXCPP $CPPFLAGS'
58774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58779 /* end confdefs.h. */
58780 #include <math.h>
58782 main ()
58784 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58786 return 0;
58788 _ACEOF
58789 if ac_fn_cxx_try_compile "$LINENO"; then :
58790 glibcxx_cv_func_float_trig_use=yes
58791 else
58792 glibcxx_cv_func_float_trig_use=no
58794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58795 ac_ext=c
58796 ac_cpp='$CPP $CPPFLAGS'
58797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58804 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58805 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58806 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58807 do :
58808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58810 eval as_val=\$$as_ac_var
58811 if test "x$as_val" = x""yes; then :
58812 cat >>confdefs.h <<_ACEOF
58813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58814 _ACEOF
58817 done
58819 else
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58821 $as_echo_n "checking for _float trig functions... " >&6; }
58822 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58823 $as_echo_n "(cached) " >&6
58824 else
58827 ac_ext=cpp
58828 ac_cpp='$CXXCPP $CPPFLAGS'
58829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58834 /* end confdefs.h. */
58835 #include <math.h>
58837 main ()
58839 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58841 return 0;
58843 _ACEOF
58844 if ac_fn_cxx_try_compile "$LINENO"; then :
58845 glibcxx_cv_func__float_trig_use=yes
58846 else
58847 glibcxx_cv_func__float_trig_use=no
58849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58850 ac_ext=c
58851 ac_cpp='$CPP $CPPFLAGS'
58852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58859 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58860 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58861 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58862 do :
58863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58864 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58865 eval as_val=\$$as_ac_var
58866 if test "x$as_val" = x""yes; then :
58867 cat >>confdefs.h <<_ACEOF
58868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58869 _ACEOF
58872 done
58881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58882 $as_echo_n "checking for float round functions... " >&6; }
58883 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58884 $as_echo_n "(cached) " >&6
58885 else
58888 ac_ext=cpp
58889 ac_cpp='$CXXCPP $CPPFLAGS'
58890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58895 /* end confdefs.h. */
58896 #include <math.h>
58898 main ()
58900 ceilf (0); floorf (0);
58902 return 0;
58904 _ACEOF
58905 if ac_fn_cxx_try_compile "$LINENO"; then :
58906 glibcxx_cv_func_float_round_use=yes
58907 else
58908 glibcxx_cv_func_float_round_use=no
58910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58911 ac_ext=c
58912 ac_cpp='$CPP $CPPFLAGS'
58913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58920 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58921 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58922 for ac_func in ceilf floorf
58923 do :
58924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58926 eval as_val=\$$as_ac_var
58927 if test "x$as_val" = x""yes; then :
58928 cat >>confdefs.h <<_ACEOF
58929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58930 _ACEOF
58933 done
58935 else
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58937 $as_echo_n "checking for _float round functions... " >&6; }
58938 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58939 $as_echo_n "(cached) " >&6
58940 else
58943 ac_ext=cpp
58944 ac_cpp='$CXXCPP $CPPFLAGS'
58945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58950 /* end confdefs.h. */
58951 #include <math.h>
58953 main ()
58955 _ceilf (0); _floorf (0);
58957 return 0;
58959 _ACEOF
58960 if ac_fn_cxx_try_compile "$LINENO"; then :
58961 glibcxx_cv_func__float_round_use=yes
58962 else
58963 glibcxx_cv_func__float_round_use=no
58965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58966 ac_ext=c
58967 ac_cpp='$CPP $CPPFLAGS'
58968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58975 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58976 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58977 for ac_func in _ceilf _floorf
58978 do :
58979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58981 eval as_val=\$$as_ac_var
58982 if test "x$as_val" = x""yes; then :
58983 cat >>confdefs.h <<_ACEOF
58984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58985 _ACEOF
58988 done
58998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58999 $as_echo_n "checking for expf declaration... " >&6; }
59000 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59001 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59002 $as_echo_n "(cached) " >&6
59003 else
59006 ac_ext=cpp
59007 ac_cpp='$CXXCPP $CPPFLAGS'
59008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59013 /* end confdefs.h. */
59014 #include <math.h>
59015 #ifdef HAVE_IEEEFP_H
59016 #include <ieeefp.h>
59017 #endif
59020 main ()
59022 expf(0);
59024 return 0;
59026 _ACEOF
59027 if ac_fn_cxx_try_compile "$LINENO"; then :
59028 glibcxx_cv_func_expf_use=yes
59029 else
59030 glibcxx_cv_func_expf_use=no
59032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59033 ac_ext=c
59034 ac_cpp='$CPP $CPPFLAGS'
59035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59044 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59046 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59047 for ac_func in expf
59048 do :
59049 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59050 if test "x$ac_cv_func_expf" = x""yes; then :
59051 cat >>confdefs.h <<_ACEOF
59052 #define HAVE_EXPF 1
59053 _ACEOF
59056 done
59058 else
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59061 $as_echo_n "checking for _expf declaration... " >&6; }
59062 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59063 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59064 $as_echo_n "(cached) " >&6
59065 else
59068 ac_ext=cpp
59069 ac_cpp='$CXXCPP $CPPFLAGS'
59070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59075 /* end confdefs.h. */
59076 #include <math.h>
59077 #ifdef HAVE_IEEEFP_H
59078 #include <ieeefp.h>
59079 #endif
59082 main ()
59084 _expf(0);
59086 return 0;
59088 _ACEOF
59089 if ac_fn_cxx_try_compile "$LINENO"; then :
59090 glibcxx_cv_func__expf_use=yes
59091 else
59092 glibcxx_cv_func__expf_use=no
59094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59095 ac_ext=c
59096 ac_cpp='$CPP $CPPFLAGS'
59097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59106 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59108 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59109 for ac_func in _expf
59110 do :
59111 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59112 if test "x$ac_cv_func__expf" = x""yes; then :
59113 cat >>confdefs.h <<_ACEOF
59114 #define HAVE__EXPF 1
59115 _ACEOF
59118 done
59127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59128 $as_echo_n "checking for isnanf declaration... " >&6; }
59129 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59130 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59131 $as_echo_n "(cached) " >&6
59132 else
59135 ac_ext=cpp
59136 ac_cpp='$CXXCPP $CPPFLAGS'
59137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59142 /* end confdefs.h. */
59143 #include <math.h>
59144 #ifdef HAVE_IEEEFP_H
59145 #include <ieeefp.h>
59146 #endif
59149 main ()
59151 isnanf(0);
59153 return 0;
59155 _ACEOF
59156 if ac_fn_cxx_try_compile "$LINENO"; then :
59157 glibcxx_cv_func_isnanf_use=yes
59158 else
59159 glibcxx_cv_func_isnanf_use=no
59161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59162 ac_ext=c
59163 ac_cpp='$CPP $CPPFLAGS'
59164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59173 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59175 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59176 for ac_func in isnanf
59177 do :
59178 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59179 if test "x$ac_cv_func_isnanf" = x""yes; then :
59180 cat >>confdefs.h <<_ACEOF
59181 #define HAVE_ISNANF 1
59182 _ACEOF
59185 done
59187 else
59189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59190 $as_echo_n "checking for _isnanf declaration... " >&6; }
59191 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59192 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59193 $as_echo_n "(cached) " >&6
59194 else
59197 ac_ext=cpp
59198 ac_cpp='$CXXCPP $CPPFLAGS'
59199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59204 /* end confdefs.h. */
59205 #include <math.h>
59206 #ifdef HAVE_IEEEFP_H
59207 #include <ieeefp.h>
59208 #endif
59211 main ()
59213 _isnanf(0);
59215 return 0;
59217 _ACEOF
59218 if ac_fn_cxx_try_compile "$LINENO"; then :
59219 glibcxx_cv_func__isnanf_use=yes
59220 else
59221 glibcxx_cv_func__isnanf_use=no
59223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59224 ac_ext=c
59225 ac_cpp='$CPP $CPPFLAGS'
59226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59235 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59237 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59238 for ac_func in _isnanf
59239 do :
59240 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59241 if test "x$ac_cv_func__isnanf" = x""yes; then :
59242 cat >>confdefs.h <<_ACEOF
59243 #define HAVE__ISNANF 1
59244 _ACEOF
59247 done
59256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59257 $as_echo_n "checking for isinff declaration... " >&6; }
59258 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59259 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59260 $as_echo_n "(cached) " >&6
59261 else
59264 ac_ext=cpp
59265 ac_cpp='$CXXCPP $CPPFLAGS'
59266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59271 /* end confdefs.h. */
59272 #include <math.h>
59273 #ifdef HAVE_IEEEFP_H
59274 #include <ieeefp.h>
59275 #endif
59278 main ()
59280 isinff(0);
59282 return 0;
59284 _ACEOF
59285 if ac_fn_cxx_try_compile "$LINENO"; then :
59286 glibcxx_cv_func_isinff_use=yes
59287 else
59288 glibcxx_cv_func_isinff_use=no
59290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59291 ac_ext=c
59292 ac_cpp='$CPP $CPPFLAGS'
59293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59302 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59304 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59305 for ac_func in isinff
59306 do :
59307 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59308 if test "x$ac_cv_func_isinff" = x""yes; then :
59309 cat >>confdefs.h <<_ACEOF
59310 #define HAVE_ISINFF 1
59311 _ACEOF
59314 done
59316 else
59318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59319 $as_echo_n "checking for _isinff declaration... " >&6; }
59320 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59321 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59322 $as_echo_n "(cached) " >&6
59323 else
59326 ac_ext=cpp
59327 ac_cpp='$CXXCPP $CPPFLAGS'
59328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59333 /* end confdefs.h. */
59334 #include <math.h>
59335 #ifdef HAVE_IEEEFP_H
59336 #include <ieeefp.h>
59337 #endif
59340 main ()
59342 _isinff(0);
59344 return 0;
59346 _ACEOF
59347 if ac_fn_cxx_try_compile "$LINENO"; then :
59348 glibcxx_cv_func__isinff_use=yes
59349 else
59350 glibcxx_cv_func__isinff_use=no
59352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59353 ac_ext=c
59354 ac_cpp='$CPP $CPPFLAGS'
59355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59364 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59366 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59367 for ac_func in _isinff
59368 do :
59369 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59370 if test "x$ac_cv_func__isinff" = x""yes; then :
59371 cat >>confdefs.h <<_ACEOF
59372 #define HAVE__ISINFF 1
59373 _ACEOF
59376 done
59385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59386 $as_echo_n "checking for atan2f declaration... " >&6; }
59387 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59388 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59389 $as_echo_n "(cached) " >&6
59390 else
59393 ac_ext=cpp
59394 ac_cpp='$CXXCPP $CPPFLAGS'
59395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59400 /* end confdefs.h. */
59401 #include <math.h>
59403 main ()
59405 atan2f(0, 0);
59407 return 0;
59409 _ACEOF
59410 if ac_fn_cxx_try_compile "$LINENO"; then :
59411 glibcxx_cv_func_atan2f_use=yes
59412 else
59413 glibcxx_cv_func_atan2f_use=no
59415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59416 ac_ext=c
59417 ac_cpp='$CPP $CPPFLAGS'
59418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59427 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59429 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59430 for ac_func in atan2f
59431 do :
59432 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59433 if test "x$ac_cv_func_atan2f" = x""yes; then :
59434 cat >>confdefs.h <<_ACEOF
59435 #define HAVE_ATAN2F 1
59436 _ACEOF
59439 done
59441 else
59443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59444 $as_echo_n "checking for _atan2f declaration... " >&6; }
59445 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59446 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59447 $as_echo_n "(cached) " >&6
59448 else
59451 ac_ext=cpp
59452 ac_cpp='$CXXCPP $CPPFLAGS'
59453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59458 /* end confdefs.h. */
59459 #include <math.h>
59461 main ()
59463 _atan2f(0, 0);
59465 return 0;
59467 _ACEOF
59468 if ac_fn_cxx_try_compile "$LINENO"; then :
59469 glibcxx_cv_func__atan2f_use=yes
59470 else
59471 glibcxx_cv_func__atan2f_use=no
59473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59474 ac_ext=c
59475 ac_cpp='$CPP $CPPFLAGS'
59476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59485 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59487 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59488 for ac_func in _atan2f
59489 do :
59490 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59491 if test "x$ac_cv_func__atan2f" = x""yes; then :
59492 cat >>confdefs.h <<_ACEOF
59493 #define HAVE__ATAN2F 1
59494 _ACEOF
59497 done
59506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59507 $as_echo_n "checking for fabsf declaration... " >&6; }
59508 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59509 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59510 $as_echo_n "(cached) " >&6
59511 else
59514 ac_ext=cpp
59515 ac_cpp='$CXXCPP $CPPFLAGS'
59516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59521 /* end confdefs.h. */
59522 #include <math.h>
59523 #ifdef HAVE_IEEEFP_H
59524 #include <ieeefp.h>
59525 #endif
59528 main ()
59530 fabsf(0);
59532 return 0;
59534 _ACEOF
59535 if ac_fn_cxx_try_compile "$LINENO"; then :
59536 glibcxx_cv_func_fabsf_use=yes
59537 else
59538 glibcxx_cv_func_fabsf_use=no
59540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59541 ac_ext=c
59542 ac_cpp='$CPP $CPPFLAGS'
59543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59552 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59554 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59555 for ac_func in fabsf
59556 do :
59557 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59558 if test "x$ac_cv_func_fabsf" = x""yes; then :
59559 cat >>confdefs.h <<_ACEOF
59560 #define HAVE_FABSF 1
59561 _ACEOF
59564 done
59566 else
59568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59569 $as_echo_n "checking for _fabsf declaration... " >&6; }
59570 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59571 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59572 $as_echo_n "(cached) " >&6
59573 else
59576 ac_ext=cpp
59577 ac_cpp='$CXXCPP $CPPFLAGS'
59578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59583 /* end confdefs.h. */
59584 #include <math.h>
59585 #ifdef HAVE_IEEEFP_H
59586 #include <ieeefp.h>
59587 #endif
59590 main ()
59592 _fabsf(0);
59594 return 0;
59596 _ACEOF
59597 if ac_fn_cxx_try_compile "$LINENO"; then :
59598 glibcxx_cv_func__fabsf_use=yes
59599 else
59600 glibcxx_cv_func__fabsf_use=no
59602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59603 ac_ext=c
59604 ac_cpp='$CPP $CPPFLAGS'
59605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59614 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59616 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59617 for ac_func in _fabsf
59618 do :
59619 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59620 if test "x$ac_cv_func__fabsf" = x""yes; then :
59621 cat >>confdefs.h <<_ACEOF
59622 #define HAVE__FABSF 1
59623 _ACEOF
59626 done
59635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59636 $as_echo_n "checking for fmodf declaration... " >&6; }
59637 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59638 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59639 $as_echo_n "(cached) " >&6
59640 else
59643 ac_ext=cpp
59644 ac_cpp='$CXXCPP $CPPFLAGS'
59645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59650 /* end confdefs.h. */
59651 #include <math.h>
59653 main ()
59655 fmodf(0, 0);
59657 return 0;
59659 _ACEOF
59660 if ac_fn_cxx_try_compile "$LINENO"; then :
59661 glibcxx_cv_func_fmodf_use=yes
59662 else
59663 glibcxx_cv_func_fmodf_use=no
59665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59666 ac_ext=c
59667 ac_cpp='$CPP $CPPFLAGS'
59668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59677 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59679 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59680 for ac_func in fmodf
59681 do :
59682 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59683 if test "x$ac_cv_func_fmodf" = x""yes; then :
59684 cat >>confdefs.h <<_ACEOF
59685 #define HAVE_FMODF 1
59686 _ACEOF
59689 done
59691 else
59693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59694 $as_echo_n "checking for _fmodf declaration... " >&6; }
59695 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59696 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59697 $as_echo_n "(cached) " >&6
59698 else
59701 ac_ext=cpp
59702 ac_cpp='$CXXCPP $CPPFLAGS'
59703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59708 /* end confdefs.h. */
59709 #include <math.h>
59711 main ()
59713 _fmodf(0, 0);
59715 return 0;
59717 _ACEOF
59718 if ac_fn_cxx_try_compile "$LINENO"; then :
59719 glibcxx_cv_func__fmodf_use=yes
59720 else
59721 glibcxx_cv_func__fmodf_use=no
59723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59724 ac_ext=c
59725 ac_cpp='$CPP $CPPFLAGS'
59726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59735 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59737 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59738 for ac_func in _fmodf
59739 do :
59740 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59741 if test "x$ac_cv_func__fmodf" = x""yes; then :
59742 cat >>confdefs.h <<_ACEOF
59743 #define HAVE__FMODF 1
59744 _ACEOF
59747 done
59756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59757 $as_echo_n "checking for frexpf declaration... " >&6; }
59758 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59759 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59760 $as_echo_n "(cached) " >&6
59761 else
59764 ac_ext=cpp
59765 ac_cpp='$CXXCPP $CPPFLAGS'
59766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59771 /* end confdefs.h. */
59772 #include <math.h>
59774 main ()
59776 frexpf(0, 0);
59778 return 0;
59780 _ACEOF
59781 if ac_fn_cxx_try_compile "$LINENO"; then :
59782 glibcxx_cv_func_frexpf_use=yes
59783 else
59784 glibcxx_cv_func_frexpf_use=no
59786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59787 ac_ext=c
59788 ac_cpp='$CPP $CPPFLAGS'
59789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59798 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59800 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59801 for ac_func in frexpf
59802 do :
59803 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59804 if test "x$ac_cv_func_frexpf" = x""yes; then :
59805 cat >>confdefs.h <<_ACEOF
59806 #define HAVE_FREXPF 1
59807 _ACEOF
59810 done
59812 else
59814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59815 $as_echo_n "checking for _frexpf declaration... " >&6; }
59816 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59817 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59818 $as_echo_n "(cached) " >&6
59819 else
59822 ac_ext=cpp
59823 ac_cpp='$CXXCPP $CPPFLAGS'
59824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59829 /* end confdefs.h. */
59830 #include <math.h>
59832 main ()
59834 _frexpf(0, 0);
59836 return 0;
59838 _ACEOF
59839 if ac_fn_cxx_try_compile "$LINENO"; then :
59840 glibcxx_cv_func__frexpf_use=yes
59841 else
59842 glibcxx_cv_func__frexpf_use=no
59844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59845 ac_ext=c
59846 ac_cpp='$CPP $CPPFLAGS'
59847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59856 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59858 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59859 for ac_func in _frexpf
59860 do :
59861 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59862 if test "x$ac_cv_func__frexpf" = x""yes; then :
59863 cat >>confdefs.h <<_ACEOF
59864 #define HAVE__FREXPF 1
59865 _ACEOF
59868 done
59877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59878 $as_echo_n "checking for hypotf declaration... " >&6; }
59879 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59880 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59881 $as_echo_n "(cached) " >&6
59882 else
59885 ac_ext=cpp
59886 ac_cpp='$CXXCPP $CPPFLAGS'
59887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59892 /* end confdefs.h. */
59893 #include <math.h>
59895 main ()
59897 hypotf(0, 0);
59899 return 0;
59901 _ACEOF
59902 if ac_fn_cxx_try_compile "$LINENO"; then :
59903 glibcxx_cv_func_hypotf_use=yes
59904 else
59905 glibcxx_cv_func_hypotf_use=no
59907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59908 ac_ext=c
59909 ac_cpp='$CPP $CPPFLAGS'
59910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59919 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59921 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59922 for ac_func in hypotf
59923 do :
59924 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59925 if test "x$ac_cv_func_hypotf" = x""yes; then :
59926 cat >>confdefs.h <<_ACEOF
59927 #define HAVE_HYPOTF 1
59928 _ACEOF
59931 done
59933 else
59935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59936 $as_echo_n "checking for _hypotf declaration... " >&6; }
59937 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59938 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59939 $as_echo_n "(cached) " >&6
59940 else
59943 ac_ext=cpp
59944 ac_cpp='$CXXCPP $CPPFLAGS'
59945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59950 /* end confdefs.h. */
59951 #include <math.h>
59953 main ()
59955 _hypotf(0, 0);
59957 return 0;
59959 _ACEOF
59960 if ac_fn_cxx_try_compile "$LINENO"; then :
59961 glibcxx_cv_func__hypotf_use=yes
59962 else
59963 glibcxx_cv_func__hypotf_use=no
59965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59966 ac_ext=c
59967 ac_cpp='$CPP $CPPFLAGS'
59968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59977 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59979 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59980 for ac_func in _hypotf
59981 do :
59982 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59983 if test "x$ac_cv_func__hypotf" = x""yes; then :
59984 cat >>confdefs.h <<_ACEOF
59985 #define HAVE__HYPOTF 1
59986 _ACEOF
59989 done
59998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59999 $as_echo_n "checking for ldexpf declaration... " >&6; }
60000 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60001 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60002 $as_echo_n "(cached) " >&6
60003 else
60006 ac_ext=cpp
60007 ac_cpp='$CXXCPP $CPPFLAGS'
60008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60013 /* end confdefs.h. */
60014 #include <math.h>
60016 main ()
60018 ldexpf(0, 0);
60020 return 0;
60022 _ACEOF
60023 if ac_fn_cxx_try_compile "$LINENO"; then :
60024 glibcxx_cv_func_ldexpf_use=yes
60025 else
60026 glibcxx_cv_func_ldexpf_use=no
60028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60029 ac_ext=c
60030 ac_cpp='$CPP $CPPFLAGS'
60031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60040 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60042 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60043 for ac_func in ldexpf
60044 do :
60045 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60046 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60047 cat >>confdefs.h <<_ACEOF
60048 #define HAVE_LDEXPF 1
60049 _ACEOF
60052 done
60054 else
60056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60057 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60058 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60059 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60060 $as_echo_n "(cached) " >&6
60061 else
60064 ac_ext=cpp
60065 ac_cpp='$CXXCPP $CPPFLAGS'
60066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60071 /* end confdefs.h. */
60072 #include <math.h>
60074 main ()
60076 _ldexpf(0, 0);
60078 return 0;
60080 _ACEOF
60081 if ac_fn_cxx_try_compile "$LINENO"; then :
60082 glibcxx_cv_func__ldexpf_use=yes
60083 else
60084 glibcxx_cv_func__ldexpf_use=no
60086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60087 ac_ext=c
60088 ac_cpp='$CPP $CPPFLAGS'
60089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60098 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60100 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60101 for ac_func in _ldexpf
60102 do :
60103 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60104 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60105 cat >>confdefs.h <<_ACEOF
60106 #define HAVE__LDEXPF 1
60107 _ACEOF
60110 done
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60120 $as_echo_n "checking for logf declaration... " >&6; }
60121 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60122 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60123 $as_echo_n "(cached) " >&6
60124 else
60127 ac_ext=cpp
60128 ac_cpp='$CXXCPP $CPPFLAGS'
60129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60134 /* end confdefs.h. */
60135 #include <math.h>
60136 #ifdef HAVE_IEEEFP_H
60137 #include <ieeefp.h>
60138 #endif
60141 main ()
60143 logf(0);
60145 return 0;
60147 _ACEOF
60148 if ac_fn_cxx_try_compile "$LINENO"; then :
60149 glibcxx_cv_func_logf_use=yes
60150 else
60151 glibcxx_cv_func_logf_use=no
60153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60154 ac_ext=c
60155 ac_cpp='$CPP $CPPFLAGS'
60156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60165 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60167 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60168 for ac_func in logf
60169 do :
60170 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60171 if test "x$ac_cv_func_logf" = x""yes; then :
60172 cat >>confdefs.h <<_ACEOF
60173 #define HAVE_LOGF 1
60174 _ACEOF
60177 done
60179 else
60181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60182 $as_echo_n "checking for _logf declaration... " >&6; }
60183 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60184 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60185 $as_echo_n "(cached) " >&6
60186 else
60189 ac_ext=cpp
60190 ac_cpp='$CXXCPP $CPPFLAGS'
60191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60196 /* end confdefs.h. */
60197 #include <math.h>
60198 #ifdef HAVE_IEEEFP_H
60199 #include <ieeefp.h>
60200 #endif
60203 main ()
60205 _logf(0);
60207 return 0;
60209 _ACEOF
60210 if ac_fn_cxx_try_compile "$LINENO"; then :
60211 glibcxx_cv_func__logf_use=yes
60212 else
60213 glibcxx_cv_func__logf_use=no
60215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60216 ac_ext=c
60217 ac_cpp='$CPP $CPPFLAGS'
60218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60227 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60229 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60230 for ac_func in _logf
60231 do :
60232 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60233 if test "x$ac_cv_func__logf" = x""yes; then :
60234 cat >>confdefs.h <<_ACEOF
60235 #define HAVE__LOGF 1
60236 _ACEOF
60239 done
60248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60249 $as_echo_n "checking for log10f declaration... " >&6; }
60250 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60251 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60252 $as_echo_n "(cached) " >&6
60253 else
60256 ac_ext=cpp
60257 ac_cpp='$CXXCPP $CPPFLAGS'
60258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60263 /* end confdefs.h. */
60264 #include <math.h>
60265 #ifdef HAVE_IEEEFP_H
60266 #include <ieeefp.h>
60267 #endif
60270 main ()
60272 log10f(0);
60274 return 0;
60276 _ACEOF
60277 if ac_fn_cxx_try_compile "$LINENO"; then :
60278 glibcxx_cv_func_log10f_use=yes
60279 else
60280 glibcxx_cv_func_log10f_use=no
60282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60283 ac_ext=c
60284 ac_cpp='$CPP $CPPFLAGS'
60285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60294 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60296 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60297 for ac_func in log10f
60298 do :
60299 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60300 if test "x$ac_cv_func_log10f" = x""yes; then :
60301 cat >>confdefs.h <<_ACEOF
60302 #define HAVE_LOG10F 1
60303 _ACEOF
60306 done
60308 else
60310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60311 $as_echo_n "checking for _log10f declaration... " >&6; }
60312 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60313 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60314 $as_echo_n "(cached) " >&6
60315 else
60318 ac_ext=cpp
60319 ac_cpp='$CXXCPP $CPPFLAGS'
60320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60325 /* end confdefs.h. */
60326 #include <math.h>
60327 #ifdef HAVE_IEEEFP_H
60328 #include <ieeefp.h>
60329 #endif
60332 main ()
60334 _log10f(0);
60336 return 0;
60338 _ACEOF
60339 if ac_fn_cxx_try_compile "$LINENO"; then :
60340 glibcxx_cv_func__log10f_use=yes
60341 else
60342 glibcxx_cv_func__log10f_use=no
60344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60345 ac_ext=c
60346 ac_cpp='$CPP $CPPFLAGS'
60347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60356 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60358 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60359 for ac_func in _log10f
60360 do :
60361 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60362 if test "x$ac_cv_func__log10f" = x""yes; then :
60363 cat >>confdefs.h <<_ACEOF
60364 #define HAVE__LOG10F 1
60365 _ACEOF
60368 done
60377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60378 $as_echo_n "checking for modff declaration... " >&6; }
60379 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60380 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60381 $as_echo_n "(cached) " >&6
60382 else
60385 ac_ext=cpp
60386 ac_cpp='$CXXCPP $CPPFLAGS'
60387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60392 /* end confdefs.h. */
60393 #include <math.h>
60395 main ()
60397 modff(0, 0);
60399 return 0;
60401 _ACEOF
60402 if ac_fn_cxx_try_compile "$LINENO"; then :
60403 glibcxx_cv_func_modff_use=yes
60404 else
60405 glibcxx_cv_func_modff_use=no
60407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60408 ac_ext=c
60409 ac_cpp='$CPP $CPPFLAGS'
60410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60419 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60421 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60422 for ac_func in modff
60423 do :
60424 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60425 if test "x$ac_cv_func_modff" = x""yes; then :
60426 cat >>confdefs.h <<_ACEOF
60427 #define HAVE_MODFF 1
60428 _ACEOF
60431 done
60433 else
60435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60436 $as_echo_n "checking for _modff declaration... " >&6; }
60437 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60438 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60439 $as_echo_n "(cached) " >&6
60440 else
60443 ac_ext=cpp
60444 ac_cpp='$CXXCPP $CPPFLAGS'
60445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60450 /* end confdefs.h. */
60451 #include <math.h>
60453 main ()
60455 _modff(0, 0);
60457 return 0;
60459 _ACEOF
60460 if ac_fn_cxx_try_compile "$LINENO"; then :
60461 glibcxx_cv_func__modff_use=yes
60462 else
60463 glibcxx_cv_func__modff_use=no
60465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60466 ac_ext=c
60467 ac_cpp='$CPP $CPPFLAGS'
60468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60477 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60479 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60480 for ac_func in _modff
60481 do :
60482 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60483 if test "x$ac_cv_func__modff" = x""yes; then :
60484 cat >>confdefs.h <<_ACEOF
60485 #define HAVE__MODFF 1
60486 _ACEOF
60489 done
60498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60499 $as_echo_n "checking for modf declaration... " >&6; }
60500 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60501 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60502 $as_echo_n "(cached) " >&6
60503 else
60506 ac_ext=cpp
60507 ac_cpp='$CXXCPP $CPPFLAGS'
60508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60513 /* end confdefs.h. */
60514 #include <math.h>
60516 main ()
60518 modf(0, 0);
60520 return 0;
60522 _ACEOF
60523 if ac_fn_cxx_try_compile "$LINENO"; then :
60524 glibcxx_cv_func_modf_use=yes
60525 else
60526 glibcxx_cv_func_modf_use=no
60528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60529 ac_ext=c
60530 ac_cpp='$CPP $CPPFLAGS'
60531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60540 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60542 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60543 for ac_func in modf
60544 do :
60545 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60546 if test "x$ac_cv_func_modf" = x""yes; then :
60547 cat >>confdefs.h <<_ACEOF
60548 #define HAVE_MODF 1
60549 _ACEOF
60552 done
60554 else
60556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60557 $as_echo_n "checking for _modf declaration... " >&6; }
60558 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60559 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60560 $as_echo_n "(cached) " >&6
60561 else
60564 ac_ext=cpp
60565 ac_cpp='$CXXCPP $CPPFLAGS'
60566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60571 /* end confdefs.h. */
60572 #include <math.h>
60574 main ()
60576 _modf(0, 0);
60578 return 0;
60580 _ACEOF
60581 if ac_fn_cxx_try_compile "$LINENO"; then :
60582 glibcxx_cv_func__modf_use=yes
60583 else
60584 glibcxx_cv_func__modf_use=no
60586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60587 ac_ext=c
60588 ac_cpp='$CPP $CPPFLAGS'
60589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60598 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60600 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60601 for ac_func in _modf
60602 do :
60603 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60604 if test "x$ac_cv_func__modf" = x""yes; then :
60605 cat >>confdefs.h <<_ACEOF
60606 #define HAVE__MODF 1
60607 _ACEOF
60610 done
60619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60620 $as_echo_n "checking for powf declaration... " >&6; }
60621 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60622 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60623 $as_echo_n "(cached) " >&6
60624 else
60627 ac_ext=cpp
60628 ac_cpp='$CXXCPP $CPPFLAGS'
60629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60634 /* end confdefs.h. */
60635 #include <math.h>
60637 main ()
60639 powf(0, 0);
60641 return 0;
60643 _ACEOF
60644 if ac_fn_cxx_try_compile "$LINENO"; then :
60645 glibcxx_cv_func_powf_use=yes
60646 else
60647 glibcxx_cv_func_powf_use=no
60649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60650 ac_ext=c
60651 ac_cpp='$CPP $CPPFLAGS'
60652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60661 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60663 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60664 for ac_func in powf
60665 do :
60666 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60667 if test "x$ac_cv_func_powf" = x""yes; then :
60668 cat >>confdefs.h <<_ACEOF
60669 #define HAVE_POWF 1
60670 _ACEOF
60673 done
60675 else
60677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60678 $as_echo_n "checking for _powf declaration... " >&6; }
60679 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60680 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60681 $as_echo_n "(cached) " >&6
60682 else
60685 ac_ext=cpp
60686 ac_cpp='$CXXCPP $CPPFLAGS'
60687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60692 /* end confdefs.h. */
60693 #include <math.h>
60695 main ()
60697 _powf(0, 0);
60699 return 0;
60701 _ACEOF
60702 if ac_fn_cxx_try_compile "$LINENO"; then :
60703 glibcxx_cv_func__powf_use=yes
60704 else
60705 glibcxx_cv_func__powf_use=no
60707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60708 ac_ext=c
60709 ac_cpp='$CPP $CPPFLAGS'
60710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60719 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60721 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60722 for ac_func in _powf
60723 do :
60724 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60725 if test "x$ac_cv_func__powf" = x""yes; then :
60726 cat >>confdefs.h <<_ACEOF
60727 #define HAVE__POWF 1
60728 _ACEOF
60731 done
60740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60741 $as_echo_n "checking for sqrtf declaration... " >&6; }
60742 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60743 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60744 $as_echo_n "(cached) " >&6
60745 else
60748 ac_ext=cpp
60749 ac_cpp='$CXXCPP $CPPFLAGS'
60750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60755 /* end confdefs.h. */
60756 #include <math.h>
60757 #ifdef HAVE_IEEEFP_H
60758 #include <ieeefp.h>
60759 #endif
60762 main ()
60764 sqrtf(0);
60766 return 0;
60768 _ACEOF
60769 if ac_fn_cxx_try_compile "$LINENO"; then :
60770 glibcxx_cv_func_sqrtf_use=yes
60771 else
60772 glibcxx_cv_func_sqrtf_use=no
60774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60775 ac_ext=c
60776 ac_cpp='$CPP $CPPFLAGS'
60777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60786 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60788 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60789 for ac_func in sqrtf
60790 do :
60791 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60792 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60793 cat >>confdefs.h <<_ACEOF
60794 #define HAVE_SQRTF 1
60795 _ACEOF
60798 done
60800 else
60802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60803 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60804 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60805 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60806 $as_echo_n "(cached) " >&6
60807 else
60810 ac_ext=cpp
60811 ac_cpp='$CXXCPP $CPPFLAGS'
60812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60817 /* end confdefs.h. */
60818 #include <math.h>
60819 #ifdef HAVE_IEEEFP_H
60820 #include <ieeefp.h>
60821 #endif
60824 main ()
60826 _sqrtf(0);
60828 return 0;
60830 _ACEOF
60831 if ac_fn_cxx_try_compile "$LINENO"; then :
60832 glibcxx_cv_func__sqrtf_use=yes
60833 else
60834 glibcxx_cv_func__sqrtf_use=no
60836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60837 ac_ext=c
60838 ac_cpp='$CPP $CPPFLAGS'
60839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60848 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60850 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60851 for ac_func in _sqrtf
60852 do :
60853 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60854 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60855 cat >>confdefs.h <<_ACEOF
60856 #define HAVE__SQRTF 1
60857 _ACEOF
60860 done
60869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60870 $as_echo_n "checking for sincosf declaration... " >&6; }
60871 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60872 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60873 $as_echo_n "(cached) " >&6
60874 else
60877 ac_ext=cpp
60878 ac_cpp='$CXXCPP $CPPFLAGS'
60879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60884 /* end confdefs.h. */
60885 #include <math.h>
60887 main ()
60889 sincosf(0, 0, 0);
60891 return 0;
60893 _ACEOF
60894 if ac_fn_cxx_try_compile "$LINENO"; then :
60895 glibcxx_cv_func_sincosf_use=yes
60896 else
60897 glibcxx_cv_func_sincosf_use=no
60899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60900 ac_ext=c
60901 ac_cpp='$CPP $CPPFLAGS'
60902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60911 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60913 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60914 for ac_func in sincosf
60915 do :
60916 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60917 if test "x$ac_cv_func_sincosf" = x""yes; then :
60918 cat >>confdefs.h <<_ACEOF
60919 #define HAVE_SINCOSF 1
60920 _ACEOF
60923 done
60925 else
60927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60928 $as_echo_n "checking for _sincosf declaration... " >&6; }
60929 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60930 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60931 $as_echo_n "(cached) " >&6
60932 else
60935 ac_ext=cpp
60936 ac_cpp='$CXXCPP $CPPFLAGS'
60937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60942 /* end confdefs.h. */
60943 #include <math.h>
60945 main ()
60947 _sincosf(0, 0, 0);
60949 return 0;
60951 _ACEOF
60952 if ac_fn_cxx_try_compile "$LINENO"; then :
60953 glibcxx_cv_func__sincosf_use=yes
60954 else
60955 glibcxx_cv_func__sincosf_use=no
60957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60958 ac_ext=c
60959 ac_cpp='$CPP $CPPFLAGS'
60960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60969 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60971 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60972 for ac_func in _sincosf
60973 do :
60974 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60975 if test "x$ac_cv_func__sincosf" = x""yes; then :
60976 cat >>confdefs.h <<_ACEOF
60977 #define HAVE__SINCOSF 1
60978 _ACEOF
60981 done
60990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60991 $as_echo_n "checking for finitef declaration... " >&6; }
60992 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60993 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60994 $as_echo_n "(cached) " >&6
60995 else
60998 ac_ext=cpp
60999 ac_cpp='$CXXCPP $CPPFLAGS'
61000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61005 /* end confdefs.h. */
61006 #include <math.h>
61007 #ifdef HAVE_IEEEFP_H
61008 #include <ieeefp.h>
61009 #endif
61012 main ()
61014 finitef(0);
61016 return 0;
61018 _ACEOF
61019 if ac_fn_cxx_try_compile "$LINENO"; then :
61020 glibcxx_cv_func_finitef_use=yes
61021 else
61022 glibcxx_cv_func_finitef_use=no
61024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61025 ac_ext=c
61026 ac_cpp='$CPP $CPPFLAGS'
61027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61036 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61038 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61039 for ac_func in finitef
61040 do :
61041 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61042 if test "x$ac_cv_func_finitef" = x""yes; then :
61043 cat >>confdefs.h <<_ACEOF
61044 #define HAVE_FINITEF 1
61045 _ACEOF
61048 done
61050 else
61052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61053 $as_echo_n "checking for _finitef declaration... " >&6; }
61054 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61055 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61056 $as_echo_n "(cached) " >&6
61057 else
61060 ac_ext=cpp
61061 ac_cpp='$CXXCPP $CPPFLAGS'
61062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61067 /* end confdefs.h. */
61068 #include <math.h>
61069 #ifdef HAVE_IEEEFP_H
61070 #include <ieeefp.h>
61071 #endif
61074 main ()
61076 _finitef(0);
61078 return 0;
61080 _ACEOF
61081 if ac_fn_cxx_try_compile "$LINENO"; then :
61082 glibcxx_cv_func__finitef_use=yes
61083 else
61084 glibcxx_cv_func__finitef_use=no
61086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61087 ac_ext=c
61088 ac_cpp='$CPP $CPPFLAGS'
61089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61098 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61100 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61101 for ac_func in _finitef
61102 do :
61103 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61104 if test "x$ac_cv_func__finitef" = x""yes; then :
61105 cat >>confdefs.h <<_ACEOF
61106 #define HAVE__FINITEF 1
61107 _ACEOF
61110 done
61119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61120 $as_echo_n "checking for long double trig functions... " >&6; }
61121 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61122 $as_echo_n "(cached) " >&6
61123 else
61126 ac_ext=cpp
61127 ac_cpp='$CXXCPP $CPPFLAGS'
61128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61133 /* end confdefs.h. */
61134 #include <math.h>
61136 main ()
61138 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61140 return 0;
61142 _ACEOF
61143 if ac_fn_cxx_try_compile "$LINENO"; then :
61144 glibcxx_cv_func_long_double_trig_use=yes
61145 else
61146 glibcxx_cv_func_long_double_trig_use=no
61148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61149 ac_ext=c
61150 ac_cpp='$CPP $CPPFLAGS'
61151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61158 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61159 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61160 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61161 do :
61162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61164 eval as_val=\$$as_ac_var
61165 if test "x$as_val" = x""yes; then :
61166 cat >>confdefs.h <<_ACEOF
61167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61168 _ACEOF
61171 done
61173 else
61174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61175 $as_echo_n "checking for _long double trig functions... " >&6; }
61176 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61177 $as_echo_n "(cached) " >&6
61178 else
61181 ac_ext=cpp
61182 ac_cpp='$CXXCPP $CPPFLAGS'
61183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61188 /* end confdefs.h. */
61189 #include <math.h>
61191 main ()
61193 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61195 return 0;
61197 _ACEOF
61198 if ac_fn_cxx_try_compile "$LINENO"; then :
61199 glibcxx_cv_func__long_double_trig_use=yes
61200 else
61201 glibcxx_cv_func__long_double_trig_use=no
61203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61204 ac_ext=c
61205 ac_cpp='$CPP $CPPFLAGS'
61206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61213 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61214 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61215 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61216 do :
61217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61219 eval as_val=\$$as_ac_var
61220 if test "x$as_val" = x""yes; then :
61221 cat >>confdefs.h <<_ACEOF
61222 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61223 _ACEOF
61226 done
61235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61236 $as_echo_n "checking for long double round functions... " >&6; }
61237 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61238 $as_echo_n "(cached) " >&6
61239 else
61242 ac_ext=cpp
61243 ac_cpp='$CXXCPP $CPPFLAGS'
61244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61249 /* end confdefs.h. */
61250 #include <math.h>
61252 main ()
61254 ceill (0); floorl (0);
61256 return 0;
61258 _ACEOF
61259 if ac_fn_cxx_try_compile "$LINENO"; then :
61260 glibcxx_cv_func_long_double_round_use=yes
61261 else
61262 glibcxx_cv_func_long_double_round_use=no
61264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61265 ac_ext=c
61266 ac_cpp='$CPP $CPPFLAGS'
61267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61274 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61275 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61276 for ac_func in ceill floorl
61277 do :
61278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61280 eval as_val=\$$as_ac_var
61281 if test "x$as_val" = x""yes; then :
61282 cat >>confdefs.h <<_ACEOF
61283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61284 _ACEOF
61287 done
61289 else
61290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61291 $as_echo_n "checking for _long double round functions... " >&6; }
61292 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61293 $as_echo_n "(cached) " >&6
61294 else
61297 ac_ext=cpp
61298 ac_cpp='$CXXCPP $CPPFLAGS'
61299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61304 /* end confdefs.h. */
61305 #include <math.h>
61307 main ()
61309 _ceill (0); _floorl (0);
61311 return 0;
61313 _ACEOF
61314 if ac_fn_cxx_try_compile "$LINENO"; then :
61315 glibcxx_cv_func__long_double_round_use=yes
61316 else
61317 glibcxx_cv_func__long_double_round_use=no
61319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61320 ac_ext=c
61321 ac_cpp='$CPP $CPPFLAGS'
61322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61329 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61330 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61331 for ac_func in _ceill _floorl
61332 do :
61333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61335 eval as_val=\$$as_ac_var
61336 if test "x$as_val" = x""yes; then :
61337 cat >>confdefs.h <<_ACEOF
61338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61339 _ACEOF
61342 done
61352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61353 $as_echo_n "checking for isnanl declaration... " >&6; }
61354 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61355 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61356 $as_echo_n "(cached) " >&6
61357 else
61360 ac_ext=cpp
61361 ac_cpp='$CXXCPP $CPPFLAGS'
61362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61367 /* end confdefs.h. */
61368 #include <math.h>
61369 #ifdef HAVE_IEEEFP_H
61370 #include <ieeefp.h>
61371 #endif
61374 main ()
61376 isnanl(0);
61378 return 0;
61380 _ACEOF
61381 if ac_fn_cxx_try_compile "$LINENO"; then :
61382 glibcxx_cv_func_isnanl_use=yes
61383 else
61384 glibcxx_cv_func_isnanl_use=no
61386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61387 ac_ext=c
61388 ac_cpp='$CPP $CPPFLAGS'
61389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61398 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61400 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61401 for ac_func in isnanl
61402 do :
61403 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61404 if test "x$ac_cv_func_isnanl" = x""yes; then :
61405 cat >>confdefs.h <<_ACEOF
61406 #define HAVE_ISNANL 1
61407 _ACEOF
61410 done
61412 else
61414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61415 $as_echo_n "checking for _isnanl declaration... " >&6; }
61416 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61417 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61418 $as_echo_n "(cached) " >&6
61419 else
61422 ac_ext=cpp
61423 ac_cpp='$CXXCPP $CPPFLAGS'
61424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61429 /* end confdefs.h. */
61430 #include <math.h>
61431 #ifdef HAVE_IEEEFP_H
61432 #include <ieeefp.h>
61433 #endif
61436 main ()
61438 _isnanl(0);
61440 return 0;
61442 _ACEOF
61443 if ac_fn_cxx_try_compile "$LINENO"; then :
61444 glibcxx_cv_func__isnanl_use=yes
61445 else
61446 glibcxx_cv_func__isnanl_use=no
61448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61449 ac_ext=c
61450 ac_cpp='$CPP $CPPFLAGS'
61451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61460 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61462 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61463 for ac_func in _isnanl
61464 do :
61465 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61466 if test "x$ac_cv_func__isnanl" = x""yes; then :
61467 cat >>confdefs.h <<_ACEOF
61468 #define HAVE__ISNANL 1
61469 _ACEOF
61472 done
61481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61482 $as_echo_n "checking for isinfl declaration... " >&6; }
61483 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61484 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61485 $as_echo_n "(cached) " >&6
61486 else
61489 ac_ext=cpp
61490 ac_cpp='$CXXCPP $CPPFLAGS'
61491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61496 /* end confdefs.h. */
61497 #include <math.h>
61498 #ifdef HAVE_IEEEFP_H
61499 #include <ieeefp.h>
61500 #endif
61503 main ()
61505 isinfl(0);
61507 return 0;
61509 _ACEOF
61510 if ac_fn_cxx_try_compile "$LINENO"; then :
61511 glibcxx_cv_func_isinfl_use=yes
61512 else
61513 glibcxx_cv_func_isinfl_use=no
61515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61516 ac_ext=c
61517 ac_cpp='$CPP $CPPFLAGS'
61518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61527 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61529 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61530 for ac_func in isinfl
61531 do :
61532 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61533 if test "x$ac_cv_func_isinfl" = x""yes; then :
61534 cat >>confdefs.h <<_ACEOF
61535 #define HAVE_ISINFL 1
61536 _ACEOF
61539 done
61541 else
61543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61544 $as_echo_n "checking for _isinfl declaration... " >&6; }
61545 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61546 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61547 $as_echo_n "(cached) " >&6
61548 else
61551 ac_ext=cpp
61552 ac_cpp='$CXXCPP $CPPFLAGS'
61553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61558 /* end confdefs.h. */
61559 #include <math.h>
61560 #ifdef HAVE_IEEEFP_H
61561 #include <ieeefp.h>
61562 #endif
61565 main ()
61567 _isinfl(0);
61569 return 0;
61571 _ACEOF
61572 if ac_fn_cxx_try_compile "$LINENO"; then :
61573 glibcxx_cv_func__isinfl_use=yes
61574 else
61575 glibcxx_cv_func__isinfl_use=no
61577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61578 ac_ext=c
61579 ac_cpp='$CPP $CPPFLAGS'
61580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61589 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61591 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61592 for ac_func in _isinfl
61593 do :
61594 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61595 if test "x$ac_cv_func__isinfl" = x""yes; then :
61596 cat >>confdefs.h <<_ACEOF
61597 #define HAVE__ISINFL 1
61598 _ACEOF
61601 done
61610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61611 $as_echo_n "checking for atan2l declaration... " >&6; }
61612 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61613 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61614 $as_echo_n "(cached) " >&6
61615 else
61618 ac_ext=cpp
61619 ac_cpp='$CXXCPP $CPPFLAGS'
61620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61625 /* end confdefs.h. */
61626 #include <math.h>
61628 main ()
61630 atan2l(0, 0);
61632 return 0;
61634 _ACEOF
61635 if ac_fn_cxx_try_compile "$LINENO"; then :
61636 glibcxx_cv_func_atan2l_use=yes
61637 else
61638 glibcxx_cv_func_atan2l_use=no
61640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61641 ac_ext=c
61642 ac_cpp='$CPP $CPPFLAGS'
61643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61652 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61654 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61655 for ac_func in atan2l
61656 do :
61657 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61658 if test "x$ac_cv_func_atan2l" = x""yes; then :
61659 cat >>confdefs.h <<_ACEOF
61660 #define HAVE_ATAN2L 1
61661 _ACEOF
61664 done
61666 else
61668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61669 $as_echo_n "checking for _atan2l declaration... " >&6; }
61670 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61671 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61672 $as_echo_n "(cached) " >&6
61673 else
61676 ac_ext=cpp
61677 ac_cpp='$CXXCPP $CPPFLAGS'
61678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61683 /* end confdefs.h. */
61684 #include <math.h>
61686 main ()
61688 _atan2l(0, 0);
61690 return 0;
61692 _ACEOF
61693 if ac_fn_cxx_try_compile "$LINENO"; then :
61694 glibcxx_cv_func__atan2l_use=yes
61695 else
61696 glibcxx_cv_func__atan2l_use=no
61698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61699 ac_ext=c
61700 ac_cpp='$CPP $CPPFLAGS'
61701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61710 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61712 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61713 for ac_func in _atan2l
61714 do :
61715 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61716 if test "x$ac_cv_func__atan2l" = x""yes; then :
61717 cat >>confdefs.h <<_ACEOF
61718 #define HAVE__ATAN2L 1
61719 _ACEOF
61722 done
61731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61732 $as_echo_n "checking for expl declaration... " >&6; }
61733 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61734 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61735 $as_echo_n "(cached) " >&6
61736 else
61739 ac_ext=cpp
61740 ac_cpp='$CXXCPP $CPPFLAGS'
61741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61746 /* end confdefs.h. */
61747 #include <math.h>
61748 #ifdef HAVE_IEEEFP_H
61749 #include <ieeefp.h>
61750 #endif
61753 main ()
61755 expl(0);
61757 return 0;
61759 _ACEOF
61760 if ac_fn_cxx_try_compile "$LINENO"; then :
61761 glibcxx_cv_func_expl_use=yes
61762 else
61763 glibcxx_cv_func_expl_use=no
61765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61766 ac_ext=c
61767 ac_cpp='$CPP $CPPFLAGS'
61768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61777 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61779 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61780 for ac_func in expl
61781 do :
61782 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61783 if test "x$ac_cv_func_expl" = x""yes; then :
61784 cat >>confdefs.h <<_ACEOF
61785 #define HAVE_EXPL 1
61786 _ACEOF
61789 done
61791 else
61793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61794 $as_echo_n "checking for _expl declaration... " >&6; }
61795 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61796 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61797 $as_echo_n "(cached) " >&6
61798 else
61801 ac_ext=cpp
61802 ac_cpp='$CXXCPP $CPPFLAGS'
61803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61808 /* end confdefs.h. */
61809 #include <math.h>
61810 #ifdef HAVE_IEEEFP_H
61811 #include <ieeefp.h>
61812 #endif
61815 main ()
61817 _expl(0);
61819 return 0;
61821 _ACEOF
61822 if ac_fn_cxx_try_compile "$LINENO"; then :
61823 glibcxx_cv_func__expl_use=yes
61824 else
61825 glibcxx_cv_func__expl_use=no
61827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61828 ac_ext=c
61829 ac_cpp='$CPP $CPPFLAGS'
61830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61839 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61841 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61842 for ac_func in _expl
61843 do :
61844 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61845 if test "x$ac_cv_func__expl" = x""yes; then :
61846 cat >>confdefs.h <<_ACEOF
61847 #define HAVE__EXPL 1
61848 _ACEOF
61851 done
61860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61861 $as_echo_n "checking for fabsl declaration... " >&6; }
61862 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61863 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61864 $as_echo_n "(cached) " >&6
61865 else
61868 ac_ext=cpp
61869 ac_cpp='$CXXCPP $CPPFLAGS'
61870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61875 /* end confdefs.h. */
61876 #include <math.h>
61877 #ifdef HAVE_IEEEFP_H
61878 #include <ieeefp.h>
61879 #endif
61882 main ()
61884 fabsl(0);
61886 return 0;
61888 _ACEOF
61889 if ac_fn_cxx_try_compile "$LINENO"; then :
61890 glibcxx_cv_func_fabsl_use=yes
61891 else
61892 glibcxx_cv_func_fabsl_use=no
61894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61895 ac_ext=c
61896 ac_cpp='$CPP $CPPFLAGS'
61897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61906 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61908 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61909 for ac_func in fabsl
61910 do :
61911 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61912 if test "x$ac_cv_func_fabsl" = x""yes; then :
61913 cat >>confdefs.h <<_ACEOF
61914 #define HAVE_FABSL 1
61915 _ACEOF
61918 done
61920 else
61922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61923 $as_echo_n "checking for _fabsl declaration... " >&6; }
61924 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61925 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61926 $as_echo_n "(cached) " >&6
61927 else
61930 ac_ext=cpp
61931 ac_cpp='$CXXCPP $CPPFLAGS'
61932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61937 /* end confdefs.h. */
61938 #include <math.h>
61939 #ifdef HAVE_IEEEFP_H
61940 #include <ieeefp.h>
61941 #endif
61944 main ()
61946 _fabsl(0);
61948 return 0;
61950 _ACEOF
61951 if ac_fn_cxx_try_compile "$LINENO"; then :
61952 glibcxx_cv_func__fabsl_use=yes
61953 else
61954 glibcxx_cv_func__fabsl_use=no
61956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61957 ac_ext=c
61958 ac_cpp='$CPP $CPPFLAGS'
61959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61968 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61970 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61971 for ac_func in _fabsl
61972 do :
61973 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61974 if test "x$ac_cv_func__fabsl" = x""yes; then :
61975 cat >>confdefs.h <<_ACEOF
61976 #define HAVE__FABSL 1
61977 _ACEOF
61980 done
61989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61990 $as_echo_n "checking for fmodl declaration... " >&6; }
61991 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61992 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61993 $as_echo_n "(cached) " >&6
61994 else
61997 ac_ext=cpp
61998 ac_cpp='$CXXCPP $CPPFLAGS'
61999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62004 /* end confdefs.h. */
62005 #include <math.h>
62007 main ()
62009 fmodl(0, 0);
62011 return 0;
62013 _ACEOF
62014 if ac_fn_cxx_try_compile "$LINENO"; then :
62015 glibcxx_cv_func_fmodl_use=yes
62016 else
62017 glibcxx_cv_func_fmodl_use=no
62019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62020 ac_ext=c
62021 ac_cpp='$CPP $CPPFLAGS'
62022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62031 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62033 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62034 for ac_func in fmodl
62035 do :
62036 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62037 if test "x$ac_cv_func_fmodl" = x""yes; then :
62038 cat >>confdefs.h <<_ACEOF
62039 #define HAVE_FMODL 1
62040 _ACEOF
62043 done
62045 else
62047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62048 $as_echo_n "checking for _fmodl declaration... " >&6; }
62049 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62050 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62051 $as_echo_n "(cached) " >&6
62052 else
62055 ac_ext=cpp
62056 ac_cpp='$CXXCPP $CPPFLAGS'
62057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62062 /* end confdefs.h. */
62063 #include <math.h>
62065 main ()
62067 _fmodl(0, 0);
62069 return 0;
62071 _ACEOF
62072 if ac_fn_cxx_try_compile "$LINENO"; then :
62073 glibcxx_cv_func__fmodl_use=yes
62074 else
62075 glibcxx_cv_func__fmodl_use=no
62077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62078 ac_ext=c
62079 ac_cpp='$CPP $CPPFLAGS'
62080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62089 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62091 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62092 for ac_func in _fmodl
62093 do :
62094 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62095 if test "x$ac_cv_func__fmodl" = x""yes; then :
62096 cat >>confdefs.h <<_ACEOF
62097 #define HAVE__FMODL 1
62098 _ACEOF
62101 done
62110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62111 $as_echo_n "checking for frexpl declaration... " >&6; }
62112 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62113 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62114 $as_echo_n "(cached) " >&6
62115 else
62118 ac_ext=cpp
62119 ac_cpp='$CXXCPP $CPPFLAGS'
62120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62125 /* end confdefs.h. */
62126 #include <math.h>
62128 main ()
62130 frexpl(0, 0);
62132 return 0;
62134 _ACEOF
62135 if ac_fn_cxx_try_compile "$LINENO"; then :
62136 glibcxx_cv_func_frexpl_use=yes
62137 else
62138 glibcxx_cv_func_frexpl_use=no
62140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62141 ac_ext=c
62142 ac_cpp='$CPP $CPPFLAGS'
62143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62152 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62154 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62155 for ac_func in frexpl
62156 do :
62157 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62158 if test "x$ac_cv_func_frexpl" = x""yes; then :
62159 cat >>confdefs.h <<_ACEOF
62160 #define HAVE_FREXPL 1
62161 _ACEOF
62164 done
62166 else
62168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62169 $as_echo_n "checking for _frexpl declaration... " >&6; }
62170 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62171 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62172 $as_echo_n "(cached) " >&6
62173 else
62176 ac_ext=cpp
62177 ac_cpp='$CXXCPP $CPPFLAGS'
62178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62183 /* end confdefs.h. */
62184 #include <math.h>
62186 main ()
62188 _frexpl(0, 0);
62190 return 0;
62192 _ACEOF
62193 if ac_fn_cxx_try_compile "$LINENO"; then :
62194 glibcxx_cv_func__frexpl_use=yes
62195 else
62196 glibcxx_cv_func__frexpl_use=no
62198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62199 ac_ext=c
62200 ac_cpp='$CPP $CPPFLAGS'
62201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62210 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62212 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62213 for ac_func in _frexpl
62214 do :
62215 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62216 if test "x$ac_cv_func__frexpl" = x""yes; then :
62217 cat >>confdefs.h <<_ACEOF
62218 #define HAVE__FREXPL 1
62219 _ACEOF
62222 done
62231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62232 $as_echo_n "checking for hypotl declaration... " >&6; }
62233 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62234 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62235 $as_echo_n "(cached) " >&6
62236 else
62239 ac_ext=cpp
62240 ac_cpp='$CXXCPP $CPPFLAGS'
62241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62246 /* end confdefs.h. */
62247 #include <math.h>
62249 main ()
62251 hypotl(0, 0);
62253 return 0;
62255 _ACEOF
62256 if ac_fn_cxx_try_compile "$LINENO"; then :
62257 glibcxx_cv_func_hypotl_use=yes
62258 else
62259 glibcxx_cv_func_hypotl_use=no
62261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62262 ac_ext=c
62263 ac_cpp='$CPP $CPPFLAGS'
62264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62273 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62275 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62276 for ac_func in hypotl
62277 do :
62278 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62279 if test "x$ac_cv_func_hypotl" = x""yes; then :
62280 cat >>confdefs.h <<_ACEOF
62281 #define HAVE_HYPOTL 1
62282 _ACEOF
62285 done
62287 else
62289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62290 $as_echo_n "checking for _hypotl declaration... " >&6; }
62291 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62292 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62293 $as_echo_n "(cached) " >&6
62294 else
62297 ac_ext=cpp
62298 ac_cpp='$CXXCPP $CPPFLAGS'
62299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62304 /* end confdefs.h. */
62305 #include <math.h>
62307 main ()
62309 _hypotl(0, 0);
62311 return 0;
62313 _ACEOF
62314 if ac_fn_cxx_try_compile "$LINENO"; then :
62315 glibcxx_cv_func__hypotl_use=yes
62316 else
62317 glibcxx_cv_func__hypotl_use=no
62319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62320 ac_ext=c
62321 ac_cpp='$CPP $CPPFLAGS'
62322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62331 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62333 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62334 for ac_func in _hypotl
62335 do :
62336 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62337 if test "x$ac_cv_func__hypotl" = x""yes; then :
62338 cat >>confdefs.h <<_ACEOF
62339 #define HAVE__HYPOTL 1
62340 _ACEOF
62343 done
62352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62353 $as_echo_n "checking for ldexpl declaration... " >&6; }
62354 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62355 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62356 $as_echo_n "(cached) " >&6
62357 else
62360 ac_ext=cpp
62361 ac_cpp='$CXXCPP $CPPFLAGS'
62362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62367 /* end confdefs.h. */
62368 #include <math.h>
62370 main ()
62372 ldexpl(0, 0);
62374 return 0;
62376 _ACEOF
62377 if ac_fn_cxx_try_compile "$LINENO"; then :
62378 glibcxx_cv_func_ldexpl_use=yes
62379 else
62380 glibcxx_cv_func_ldexpl_use=no
62382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62383 ac_ext=c
62384 ac_cpp='$CPP $CPPFLAGS'
62385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62394 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62396 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62397 for ac_func in ldexpl
62398 do :
62399 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62400 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62401 cat >>confdefs.h <<_ACEOF
62402 #define HAVE_LDEXPL 1
62403 _ACEOF
62406 done
62408 else
62410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62411 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62412 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62413 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62414 $as_echo_n "(cached) " >&6
62415 else
62418 ac_ext=cpp
62419 ac_cpp='$CXXCPP $CPPFLAGS'
62420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62425 /* end confdefs.h. */
62426 #include <math.h>
62428 main ()
62430 _ldexpl(0, 0);
62432 return 0;
62434 _ACEOF
62435 if ac_fn_cxx_try_compile "$LINENO"; then :
62436 glibcxx_cv_func__ldexpl_use=yes
62437 else
62438 glibcxx_cv_func__ldexpl_use=no
62440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62441 ac_ext=c
62442 ac_cpp='$CPP $CPPFLAGS'
62443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62452 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62454 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62455 for ac_func in _ldexpl
62456 do :
62457 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62458 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62459 cat >>confdefs.h <<_ACEOF
62460 #define HAVE__LDEXPL 1
62461 _ACEOF
62464 done
62473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62474 $as_echo_n "checking for logl declaration... " >&6; }
62475 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62476 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62477 $as_echo_n "(cached) " >&6
62478 else
62481 ac_ext=cpp
62482 ac_cpp='$CXXCPP $CPPFLAGS'
62483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62488 /* end confdefs.h. */
62489 #include <math.h>
62490 #ifdef HAVE_IEEEFP_H
62491 #include <ieeefp.h>
62492 #endif
62495 main ()
62497 logl(0);
62499 return 0;
62501 _ACEOF
62502 if ac_fn_cxx_try_compile "$LINENO"; then :
62503 glibcxx_cv_func_logl_use=yes
62504 else
62505 glibcxx_cv_func_logl_use=no
62507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62508 ac_ext=c
62509 ac_cpp='$CPP $CPPFLAGS'
62510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62519 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62521 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62522 for ac_func in logl
62523 do :
62524 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62525 if test "x$ac_cv_func_logl" = x""yes; then :
62526 cat >>confdefs.h <<_ACEOF
62527 #define HAVE_LOGL 1
62528 _ACEOF
62531 done
62533 else
62535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62536 $as_echo_n "checking for _logl declaration... " >&6; }
62537 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62538 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62539 $as_echo_n "(cached) " >&6
62540 else
62543 ac_ext=cpp
62544 ac_cpp='$CXXCPP $CPPFLAGS'
62545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62550 /* end confdefs.h. */
62551 #include <math.h>
62552 #ifdef HAVE_IEEEFP_H
62553 #include <ieeefp.h>
62554 #endif
62557 main ()
62559 _logl(0);
62561 return 0;
62563 _ACEOF
62564 if ac_fn_cxx_try_compile "$LINENO"; then :
62565 glibcxx_cv_func__logl_use=yes
62566 else
62567 glibcxx_cv_func__logl_use=no
62569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62570 ac_ext=c
62571 ac_cpp='$CPP $CPPFLAGS'
62572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62581 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62583 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62584 for ac_func in _logl
62585 do :
62586 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62587 if test "x$ac_cv_func__logl" = x""yes; then :
62588 cat >>confdefs.h <<_ACEOF
62589 #define HAVE__LOGL 1
62590 _ACEOF
62593 done
62602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62603 $as_echo_n "checking for log10l declaration... " >&6; }
62604 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62605 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62606 $as_echo_n "(cached) " >&6
62607 else
62610 ac_ext=cpp
62611 ac_cpp='$CXXCPP $CPPFLAGS'
62612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62617 /* end confdefs.h. */
62618 #include <math.h>
62619 #ifdef HAVE_IEEEFP_H
62620 #include <ieeefp.h>
62621 #endif
62624 main ()
62626 log10l(0);
62628 return 0;
62630 _ACEOF
62631 if ac_fn_cxx_try_compile "$LINENO"; then :
62632 glibcxx_cv_func_log10l_use=yes
62633 else
62634 glibcxx_cv_func_log10l_use=no
62636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62637 ac_ext=c
62638 ac_cpp='$CPP $CPPFLAGS'
62639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62648 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62650 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62651 for ac_func in log10l
62652 do :
62653 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62654 if test "x$ac_cv_func_log10l" = x""yes; then :
62655 cat >>confdefs.h <<_ACEOF
62656 #define HAVE_LOG10L 1
62657 _ACEOF
62660 done
62662 else
62664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62665 $as_echo_n "checking for _log10l declaration... " >&6; }
62666 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62667 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62668 $as_echo_n "(cached) " >&6
62669 else
62672 ac_ext=cpp
62673 ac_cpp='$CXXCPP $CPPFLAGS'
62674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62679 /* end confdefs.h. */
62680 #include <math.h>
62681 #ifdef HAVE_IEEEFP_H
62682 #include <ieeefp.h>
62683 #endif
62686 main ()
62688 _log10l(0);
62690 return 0;
62692 _ACEOF
62693 if ac_fn_cxx_try_compile "$LINENO"; then :
62694 glibcxx_cv_func__log10l_use=yes
62695 else
62696 glibcxx_cv_func__log10l_use=no
62698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62699 ac_ext=c
62700 ac_cpp='$CPP $CPPFLAGS'
62701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62710 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62712 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62713 for ac_func in _log10l
62714 do :
62715 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62716 if test "x$ac_cv_func__log10l" = x""yes; then :
62717 cat >>confdefs.h <<_ACEOF
62718 #define HAVE__LOG10L 1
62719 _ACEOF
62722 done
62731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62732 $as_echo_n "checking for modfl declaration... " >&6; }
62733 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62734 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62735 $as_echo_n "(cached) " >&6
62736 else
62739 ac_ext=cpp
62740 ac_cpp='$CXXCPP $CPPFLAGS'
62741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62746 /* end confdefs.h. */
62747 #include <math.h>
62749 main ()
62751 modfl(0, 0);
62753 return 0;
62755 _ACEOF
62756 if ac_fn_cxx_try_compile "$LINENO"; then :
62757 glibcxx_cv_func_modfl_use=yes
62758 else
62759 glibcxx_cv_func_modfl_use=no
62761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62762 ac_ext=c
62763 ac_cpp='$CPP $CPPFLAGS'
62764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62773 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62775 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62776 for ac_func in modfl
62777 do :
62778 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62779 if test "x$ac_cv_func_modfl" = x""yes; then :
62780 cat >>confdefs.h <<_ACEOF
62781 #define HAVE_MODFL 1
62782 _ACEOF
62785 done
62787 else
62789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62790 $as_echo_n "checking for _modfl declaration... " >&6; }
62791 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62792 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62793 $as_echo_n "(cached) " >&6
62794 else
62797 ac_ext=cpp
62798 ac_cpp='$CXXCPP $CPPFLAGS'
62799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62804 /* end confdefs.h. */
62805 #include <math.h>
62807 main ()
62809 _modfl(0, 0);
62811 return 0;
62813 _ACEOF
62814 if ac_fn_cxx_try_compile "$LINENO"; then :
62815 glibcxx_cv_func__modfl_use=yes
62816 else
62817 glibcxx_cv_func__modfl_use=no
62819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62820 ac_ext=c
62821 ac_cpp='$CPP $CPPFLAGS'
62822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62831 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62833 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62834 for ac_func in _modfl
62835 do :
62836 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62837 if test "x$ac_cv_func__modfl" = x""yes; then :
62838 cat >>confdefs.h <<_ACEOF
62839 #define HAVE__MODFL 1
62840 _ACEOF
62843 done
62852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62853 $as_echo_n "checking for powl declaration... " >&6; }
62854 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62855 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62856 $as_echo_n "(cached) " >&6
62857 else
62860 ac_ext=cpp
62861 ac_cpp='$CXXCPP $CPPFLAGS'
62862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62867 /* end confdefs.h. */
62868 #include <math.h>
62870 main ()
62872 powl(0, 0);
62874 return 0;
62876 _ACEOF
62877 if ac_fn_cxx_try_compile "$LINENO"; then :
62878 glibcxx_cv_func_powl_use=yes
62879 else
62880 glibcxx_cv_func_powl_use=no
62882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62883 ac_ext=c
62884 ac_cpp='$CPP $CPPFLAGS'
62885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62894 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62896 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62897 for ac_func in powl
62898 do :
62899 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62900 if test "x$ac_cv_func_powl" = x""yes; then :
62901 cat >>confdefs.h <<_ACEOF
62902 #define HAVE_POWL 1
62903 _ACEOF
62906 done
62908 else
62910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62911 $as_echo_n "checking for _powl declaration... " >&6; }
62912 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62913 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62914 $as_echo_n "(cached) " >&6
62915 else
62918 ac_ext=cpp
62919 ac_cpp='$CXXCPP $CPPFLAGS'
62920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62925 /* end confdefs.h. */
62926 #include <math.h>
62928 main ()
62930 _powl(0, 0);
62932 return 0;
62934 _ACEOF
62935 if ac_fn_cxx_try_compile "$LINENO"; then :
62936 glibcxx_cv_func__powl_use=yes
62937 else
62938 glibcxx_cv_func__powl_use=no
62940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62941 ac_ext=c
62942 ac_cpp='$CPP $CPPFLAGS'
62943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62952 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62954 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62955 for ac_func in _powl
62956 do :
62957 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62958 if test "x$ac_cv_func__powl" = x""yes; then :
62959 cat >>confdefs.h <<_ACEOF
62960 #define HAVE__POWL 1
62961 _ACEOF
62964 done
62973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62974 $as_echo_n "checking for sqrtl declaration... " >&6; }
62975 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62976 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62977 $as_echo_n "(cached) " >&6
62978 else
62981 ac_ext=cpp
62982 ac_cpp='$CXXCPP $CPPFLAGS'
62983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62988 /* end confdefs.h. */
62989 #include <math.h>
62990 #ifdef HAVE_IEEEFP_H
62991 #include <ieeefp.h>
62992 #endif
62995 main ()
62997 sqrtl(0);
62999 return 0;
63001 _ACEOF
63002 if ac_fn_cxx_try_compile "$LINENO"; then :
63003 glibcxx_cv_func_sqrtl_use=yes
63004 else
63005 glibcxx_cv_func_sqrtl_use=no
63007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63008 ac_ext=c
63009 ac_cpp='$CPP $CPPFLAGS'
63010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63019 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63021 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63022 for ac_func in sqrtl
63023 do :
63024 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63025 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63026 cat >>confdefs.h <<_ACEOF
63027 #define HAVE_SQRTL 1
63028 _ACEOF
63031 done
63033 else
63035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63036 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63037 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63038 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63039 $as_echo_n "(cached) " >&6
63040 else
63043 ac_ext=cpp
63044 ac_cpp='$CXXCPP $CPPFLAGS'
63045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63050 /* end confdefs.h. */
63051 #include <math.h>
63052 #ifdef HAVE_IEEEFP_H
63053 #include <ieeefp.h>
63054 #endif
63057 main ()
63059 _sqrtl(0);
63061 return 0;
63063 _ACEOF
63064 if ac_fn_cxx_try_compile "$LINENO"; then :
63065 glibcxx_cv_func__sqrtl_use=yes
63066 else
63067 glibcxx_cv_func__sqrtl_use=no
63069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63070 ac_ext=c
63071 ac_cpp='$CPP $CPPFLAGS'
63072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63081 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63083 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63084 for ac_func in _sqrtl
63085 do :
63086 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63087 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63088 cat >>confdefs.h <<_ACEOF
63089 #define HAVE__SQRTL 1
63090 _ACEOF
63093 done
63102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63103 $as_echo_n "checking for sincosl declaration... " >&6; }
63104 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63105 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63106 $as_echo_n "(cached) " >&6
63107 else
63110 ac_ext=cpp
63111 ac_cpp='$CXXCPP $CPPFLAGS'
63112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63117 /* end confdefs.h. */
63118 #include <math.h>
63120 main ()
63122 sincosl(0, 0, 0);
63124 return 0;
63126 _ACEOF
63127 if ac_fn_cxx_try_compile "$LINENO"; then :
63128 glibcxx_cv_func_sincosl_use=yes
63129 else
63130 glibcxx_cv_func_sincosl_use=no
63132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63133 ac_ext=c
63134 ac_cpp='$CPP $CPPFLAGS'
63135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63144 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63146 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63147 for ac_func in sincosl
63148 do :
63149 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63150 if test "x$ac_cv_func_sincosl" = x""yes; then :
63151 cat >>confdefs.h <<_ACEOF
63152 #define HAVE_SINCOSL 1
63153 _ACEOF
63156 done
63158 else
63160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63161 $as_echo_n "checking for _sincosl declaration... " >&6; }
63162 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63163 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63164 $as_echo_n "(cached) " >&6
63165 else
63168 ac_ext=cpp
63169 ac_cpp='$CXXCPP $CPPFLAGS'
63170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63175 /* end confdefs.h. */
63176 #include <math.h>
63178 main ()
63180 _sincosl(0, 0, 0);
63182 return 0;
63184 _ACEOF
63185 if ac_fn_cxx_try_compile "$LINENO"; then :
63186 glibcxx_cv_func__sincosl_use=yes
63187 else
63188 glibcxx_cv_func__sincosl_use=no
63190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63191 ac_ext=c
63192 ac_cpp='$CPP $CPPFLAGS'
63193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63202 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63204 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63205 for ac_func in _sincosl
63206 do :
63207 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63208 if test "x$ac_cv_func__sincosl" = x""yes; then :
63209 cat >>confdefs.h <<_ACEOF
63210 #define HAVE__SINCOSL 1
63211 _ACEOF
63214 done
63223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63224 $as_echo_n "checking for finitel declaration... " >&6; }
63225 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63226 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63227 $as_echo_n "(cached) " >&6
63228 else
63231 ac_ext=cpp
63232 ac_cpp='$CXXCPP $CPPFLAGS'
63233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63238 /* end confdefs.h. */
63239 #include <math.h>
63240 #ifdef HAVE_IEEEFP_H
63241 #include <ieeefp.h>
63242 #endif
63245 main ()
63247 finitel(0);
63249 return 0;
63251 _ACEOF
63252 if ac_fn_cxx_try_compile "$LINENO"; then :
63253 glibcxx_cv_func_finitel_use=yes
63254 else
63255 glibcxx_cv_func_finitel_use=no
63257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63258 ac_ext=c
63259 ac_cpp='$CPP $CPPFLAGS'
63260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63269 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63271 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63272 for ac_func in finitel
63273 do :
63274 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63275 if test "x$ac_cv_func_finitel" = x""yes; then :
63276 cat >>confdefs.h <<_ACEOF
63277 #define HAVE_FINITEL 1
63278 _ACEOF
63281 done
63283 else
63285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63286 $as_echo_n "checking for _finitel declaration... " >&6; }
63287 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63288 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63289 $as_echo_n "(cached) " >&6
63290 else
63293 ac_ext=cpp
63294 ac_cpp='$CXXCPP $CPPFLAGS'
63295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63300 /* end confdefs.h. */
63301 #include <math.h>
63302 #ifdef HAVE_IEEEFP_H
63303 #include <ieeefp.h>
63304 #endif
63307 main ()
63309 _finitel(0);
63311 return 0;
63313 _ACEOF
63314 if ac_fn_cxx_try_compile "$LINENO"; then :
63315 glibcxx_cv_func__finitel_use=yes
63316 else
63317 glibcxx_cv_func__finitel_use=no
63319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63320 ac_ext=c
63321 ac_cpp='$CPP $CPPFLAGS'
63322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63331 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63333 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63334 for ac_func in _finitel
63335 do :
63336 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63337 if test "x$ac_cv_func__finitel" = x""yes; then :
63338 cat >>confdefs.h <<_ACEOF
63339 #define HAVE__FINITEL 1
63340 _ACEOF
63343 done
63351 LIBS="$ac_save_LIBS"
63352 CXXFLAGS="$ac_save_CXXFLAGS"
63355 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63356 ac_save_CXXFLAGS="$CXXFLAGS"
63357 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63361 $as_echo_n "checking for strtold declaration... " >&6; }
63362 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63363 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63364 $as_echo_n "(cached) " >&6
63365 else
63368 ac_ext=cpp
63369 ac_cpp='$CXXCPP $CPPFLAGS'
63370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63375 /* end confdefs.h. */
63376 #include <stdlib.h>
63378 main ()
63380 strtold(0, 0);
63382 return 0;
63384 _ACEOF
63385 if ac_fn_cxx_try_compile "$LINENO"; then :
63386 glibcxx_cv_func_strtold_use=yes
63387 else
63388 glibcxx_cv_func_strtold_use=no
63390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63391 ac_ext=c
63392 ac_cpp='$CPP $CPPFLAGS'
63393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63402 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63403 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63404 for ac_func in strtold
63405 do :
63406 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63407 if test "x$ac_cv_func_strtold" = x""yes; then :
63408 cat >>confdefs.h <<_ACEOF
63409 #define HAVE_STRTOLD 1
63410 _ACEOF
63413 done
63420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63421 $as_echo_n "checking for strtof declaration... " >&6; }
63422 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63423 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63424 $as_echo_n "(cached) " >&6
63425 else
63428 ac_ext=cpp
63429 ac_cpp='$CXXCPP $CPPFLAGS'
63430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63435 /* end confdefs.h. */
63436 #include <stdlib.h>
63438 main ()
63440 strtof(0, 0);
63442 return 0;
63444 _ACEOF
63445 if ac_fn_cxx_try_compile "$LINENO"; then :
63446 glibcxx_cv_func_strtof_use=yes
63447 else
63448 glibcxx_cv_func_strtof_use=no
63450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63451 ac_ext=c
63452 ac_cpp='$CPP $CPPFLAGS'
63453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63462 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63463 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63464 for ac_func in strtof
63465 do :
63466 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63467 if test "x$ac_cv_func_strtof" = x""yes; then :
63468 cat >>confdefs.h <<_ACEOF
63469 #define HAVE_STRTOF 1
63470 _ACEOF
63473 done
63480 CXXFLAGS="$ac_save_CXXFLAGS"
63483 *-solaris*)
63484 case "$target" in
63485 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63487 # If we're not using GNU ld, then there's no point in even trying these
63488 # tests. Check for that first. We should have already tested for gld
63489 # by now (in libtool), but require it now just to be safe...
63490 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63491 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63495 # The name set by libtool depends on the version of libtool. Shame on us
63496 # for depending on an impl detail, but c'est la vie. Older versions used
63497 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63498 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63499 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63500 # set (hence we're using an older libtool), then set it.
63501 if test x${with_gnu_ld+set} != xset; then
63502 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63503 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63504 with_gnu_ld=no
63505 else
63506 with_gnu_ld=$ac_cv_prog_gnu_ld
63510 # Start by getting the version number. I think the libtool test already
63511 # does some of this, but throws away the result.
63512 glibcxx_ld_is_gold=no
63513 if test x"$with_gnu_ld" = x"yes"; then
63514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63515 $as_echo_n "checking for ld version... " >&6; }
63517 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63518 glibcxx_ld_is_gold=yes
63520 ldver=`$LD --version 2>/dev/null |
63521 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'`
63523 glibcxx_gnu_ld_version=`echo $ldver | \
63524 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63526 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63529 # Set --gc-sections.
63530 glibcxx_have_gc_sections=no
63531 if test "$glibcxx_ld_is_gold" = "yes"; then
63532 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63533 glibcxx_have_gc_sections=yes
63535 else
63536 glibcxx_gcsections_min_ld=21602
63537 if test x"$with_gnu_ld" = x"yes" &&
63538 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63539 glibcxx_have_gc_sections=yes
63542 if test "$glibcxx_have_gc_sections" = "yes"; then
63543 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63544 # NB: This flag only works reliably after 2.16.1. Configure tests
63545 # for this are difficult, so hard wire a value that should work.
63547 ac_test_CFLAGS="${CFLAGS+set}"
63548 ac_save_CFLAGS="$CFLAGS"
63549 CFLAGS='-Wl,--gc-sections'
63551 # Check for -Wl,--gc-sections
63552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63553 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63554 if test x$gcc_no_link = xyes; then
63555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63558 /* end confdefs.h. */
63559 int one(void) { return 1; }
63560 int two(void) { return 2; }
63563 main ()
63565 two();
63567 return 0;
63569 _ACEOF
63570 if ac_fn_c_try_link "$LINENO"; then :
63571 ac_gcsections=yes
63572 else
63573 ac_gcsections=no
63575 rm -f core conftest.err conftest.$ac_objext \
63576 conftest$ac_exeext conftest.$ac_ext
63577 if test "$ac_gcsections" = "yes"; then
63578 rm -f conftest.c
63579 touch conftest.c
63580 if $CC -c conftest.c; then
63581 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63582 grep "Warning: gc-sections option ignored" > /dev/null; then
63583 ac_gcsections=no
63586 rm -f conftest.c conftest.o conftest
63588 if test "$ac_gcsections" = "yes"; then
63589 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63592 $as_echo "$ac_gcsections" >&6; }
63594 if test "$ac_test_CFLAGS" = set; then
63595 CFLAGS="$ac_save_CFLAGS"
63596 else
63597 # this is the suspicious part
63598 CFLAGS=''
63602 # Set -z,relro.
63603 # Note this is only for shared objects.
63604 ac_ld_relro=no
63605 if test x"$with_gnu_ld" = x"yes"; then
63606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63607 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63608 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63609 if test -n "$cxx_z_relo"; then
63610 OPT_LDFLAGS="-Wl,-z,relro"
63611 ac_ld_relro=yes
63613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63614 $as_echo "$ac_ld_relro" >&6; }
63617 # Set linker optimization flags.
63618 if test x"$with_gnu_ld" = x"yes"; then
63619 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63625 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63627 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63629 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63631 # All of the dependencies for wide character support are here, so
63632 # turn it on.
63633 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63636 esac
63637 case "$target" in
63638 *-*-solaris2.10)
63639 # These two C99 functions are present only in Solaris >= 10
63640 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63642 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63645 esac
63646 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63648 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63650 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63652 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63655 *-tpf)
63656 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63659 # If we're not using GNU ld, then there's no point in even trying these
63660 # tests. Check for that first. We should have already tested for gld
63661 # by now (in libtool), but require it now just to be safe...
63662 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63663 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63667 # The name set by libtool depends on the version of libtool. Shame on us
63668 # for depending on an impl detail, but c'est la vie. Older versions used
63669 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63670 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63671 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63672 # set (hence we're using an older libtool), then set it.
63673 if test x${with_gnu_ld+set} != xset; then
63674 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63675 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63676 with_gnu_ld=no
63677 else
63678 with_gnu_ld=$ac_cv_prog_gnu_ld
63682 # Start by getting the version number. I think the libtool test already
63683 # does some of this, but throws away the result.
63684 glibcxx_ld_is_gold=no
63685 if test x"$with_gnu_ld" = x"yes"; then
63686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63687 $as_echo_n "checking for ld version... " >&6; }
63689 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63690 glibcxx_ld_is_gold=yes
63692 ldver=`$LD --version 2>/dev/null |
63693 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'`
63695 glibcxx_gnu_ld_version=`echo $ldver | \
63696 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63698 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63701 # Set --gc-sections.
63702 glibcxx_have_gc_sections=no
63703 if test "$glibcxx_ld_is_gold" = "yes"; then
63704 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63705 glibcxx_have_gc_sections=yes
63707 else
63708 glibcxx_gcsections_min_ld=21602
63709 if test x"$with_gnu_ld" = x"yes" &&
63710 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63711 glibcxx_have_gc_sections=yes
63714 if test "$glibcxx_have_gc_sections" = "yes"; then
63715 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63716 # NB: This flag only works reliably after 2.16.1. Configure tests
63717 # for this are difficult, so hard wire a value that should work.
63719 ac_test_CFLAGS="${CFLAGS+set}"
63720 ac_save_CFLAGS="$CFLAGS"
63721 CFLAGS='-Wl,--gc-sections'
63723 # Check for -Wl,--gc-sections
63724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63725 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63726 if test x$gcc_no_link = xyes; then
63727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63730 /* end confdefs.h. */
63731 int one(void) { return 1; }
63732 int two(void) { return 2; }
63735 main ()
63737 two();
63739 return 0;
63741 _ACEOF
63742 if ac_fn_c_try_link "$LINENO"; then :
63743 ac_gcsections=yes
63744 else
63745 ac_gcsections=no
63747 rm -f core conftest.err conftest.$ac_objext \
63748 conftest$ac_exeext conftest.$ac_ext
63749 if test "$ac_gcsections" = "yes"; then
63750 rm -f conftest.c
63751 touch conftest.c
63752 if $CC -c conftest.c; then
63753 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63754 grep "Warning: gc-sections option ignored" > /dev/null; then
63755 ac_gcsections=no
63758 rm -f conftest.c conftest.o conftest
63760 if test "$ac_gcsections" = "yes"; then
63761 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63764 $as_echo "$ac_gcsections" >&6; }
63766 if test "$ac_test_CFLAGS" = set; then
63767 CFLAGS="$ac_save_CFLAGS"
63768 else
63769 # this is the suspicious part
63770 CFLAGS=''
63774 # Set -z,relro.
63775 # Note this is only for shared objects.
63776 ac_ld_relro=no
63777 if test x"$with_gnu_ld" = x"yes"; then
63778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63779 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63780 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63781 if test -n "$cxx_z_relo"; then
63782 OPT_LDFLAGS="-Wl,-z,relro"
63783 ac_ld_relro=yes
63785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63786 $as_echo "$ac_ld_relro" >&6; }
63789 # Set linker optimization flags.
63790 if test x"$with_gnu_ld" = x"yes"; then
63791 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63797 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63799 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63801 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63803 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63805 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63807 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63809 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63811 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63813 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63815 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63817 if test x"long_double_math_on_this_cpu" = x"yes"; then
63818 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63820 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63822 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63824 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63828 *-vxworks)
63829 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63831 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63833 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63835 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63837 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63839 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63841 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63843 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63845 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63847 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63849 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63851 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63853 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63855 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63857 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63859 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63861 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63863 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63865 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63867 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63871 as_fn_error "No support for this host/target combination." "$LINENO" 5
63873 esac
63877 # At some point, we should differentiate between architectures
63878 # like x86, which have long double versions, and alpha/powerpc/etc.,
63879 # which don't. For the time being, punt.
63880 if test x"long_double_math_on_this_cpu" = x"yes"; then
63881 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63883 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63885 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63887 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63889 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63891 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63893 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63895 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63897 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63899 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63901 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63903 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63905 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63907 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63909 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63911 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63913 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63915 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63917 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63919 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63921 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63923 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63925 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63930 # Check for _Unwind_GetIPInfo.
63933 # Check whether --with-system-libunwind was given.
63934 if test "${with_system_libunwind+set}" = set; then :
63935 withval=$with_system_libunwind;
63938 # If system-libunwind was not specifically set, pick a default setting.
63939 if test x$with_system_libunwind = x; then
63940 case ${target} in
63941 ia64-*-hpux*) with_system_libunwind=yes ;;
63942 *) with_system_libunwind=no ;;
63943 esac
63945 # Based on system-libunwind and target, do we have ipinfo?
63946 if test x$with_system_libunwind = xyes; then
63947 case ${target} in
63948 ia64-*-*) have_unwind_getipinfo=no ;;
63949 *) have_unwind_getipinfo=yes ;;
63950 esac
63951 else
63952 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63954 case ${target} in
63955 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63956 *) have_unwind_getipinfo=yes ;;
63957 esac
63961 if test x$have_unwind_getipinfo = xyes; then
63963 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63968 # Check whether --enable-linux-futex was given.
63969 if test "${enable_linux_futex+set}" = set; then :
63970 enableval=$enable_linux_futex;
63971 case "$enableval" in
63972 yes|no|default) ;;
63973 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63974 esac
63976 else
63977 enable_linux_futex=default
63981 case "$target" in
63982 *-linux*)
63983 case "$enable_linux_futex" in
63984 default)
63985 # If headers don't have gettid/futex syscalls definition, then
63986 # default to no, otherwise there will be compile time failures.
63987 # Otherwise, default to yes. If we don't detect we are
63988 # compiled/linked against NPTL and not cross-compiling, check
63989 # if programs are run by default against NPTL and if not, issue
63990 # a warning.
63991 enable_linux_futex=no
63992 if test x$gcc_no_link = xyes; then
63993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63996 /* end confdefs.h. */
63997 #include <sys/syscall.h>
63998 int lk;
64000 main ()
64002 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64004 return 0;
64006 _ACEOF
64007 if ac_fn_c_try_link "$LINENO"; then :
64008 save_LIBS="$LIBS"
64009 LIBS="-lpthread $LIBS"
64010 if test x$gcc_no_link = xyes; then
64011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64014 /* end confdefs.h. */
64015 #ifndef _GNU_SOURCE
64016 #define _GNU_SOURCE 1
64017 #endif
64018 #include <pthread.h>
64019 pthread_t th; void *status;
64021 main ()
64023 pthread_tryjoin_np (th, &status);
64025 return 0;
64027 _ACEOF
64028 if ac_fn_c_try_link "$LINENO"; then :
64029 enable_linux_futex=yes
64030 else
64031 if test x$cross_compiling = xno; then
64032 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64033 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64035 If so, please configure with --disable-linux-futex" >&5
64036 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64037 If so, please configure with --disable-linux-futex" >&2;}
64040 enable_linux_futex=yes
64042 rm -f core conftest.err conftest.$ac_objext \
64043 conftest$ac_exeext conftest.$ac_ext
64044 LIBS="$save_LIBS"
64046 rm -f core conftest.err conftest.$ac_objext \
64047 conftest$ac_exeext conftest.$ac_ext
64049 yes)
64050 if test x$gcc_no_link = xyes; then
64051 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64054 /* end confdefs.h. */
64055 #include <sys/syscall.h>
64056 int lk;
64058 main ()
64060 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64062 return 0;
64064 _ACEOF
64065 if ac_fn_c_try_link "$LINENO"; then :
64067 else
64068 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64070 rm -f core conftest.err conftest.$ac_objext \
64071 conftest$ac_exeext conftest.$ac_ext
64073 esac
64076 enable_linux_futex=no
64078 esac
64079 if test x$enable_linux_futex = xyes; then
64081 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64088 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
64090 acx_cv_header_stdint=stddef.h
64091 acx_cv_header_stdint_kind="(already complete)"
64092 for i in stdint.h $inttype_headers; do
64093 unset ac_cv_type_uintptr_t
64094 unset ac_cv_type_uintmax_t
64095 unset ac_cv_type_int_least32_t
64096 unset ac_cv_type_int_fast32_t
64097 unset ac_cv_type_uint64_t
64098 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64099 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64100 #include <$i>
64102 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64103 acx_cv_header_stdint=$i
64104 else
64105 continue
64108 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64109 #include <$i>
64111 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64113 else
64114 acx_cv_header_stdint_kind="(mostly complete)"
64117 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64118 #include <$i>
64120 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64122 else
64123 acx_cv_header_stdint_kind="(mostly complete)"
64126 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64127 #include <$i>
64129 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64131 else
64132 acx_cv_header_stdint_kind="(mostly complete)"
64135 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64136 #include <$i>
64138 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64140 else
64141 acx_cv_header_stdint_kind="(lacks uint64_t)"
64144 break
64145 done
64146 if test "$acx_cv_header_stdint" = stddef.h; then
64147 acx_cv_header_stdint_kind="(lacks uintmax_t)"
64148 for i in stdint.h $inttype_headers; do
64149 unset ac_cv_type_uintptr_t
64150 unset ac_cv_type_uint32_t
64151 unset ac_cv_type_uint64_t
64152 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64153 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64154 #include <$i>
64156 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64157 acx_cv_header_stdint=$i
64158 else
64159 continue
64162 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64163 #include <$i>
64165 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64169 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64170 #include <$i>
64172 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64176 break
64177 done
64179 if test "$acx_cv_header_stdint" = stddef.h; then
64180 acx_cv_header_stdint_kind="(u_intXX_t style)"
64181 for i in sys/types.h $inttype_headers; do
64182 unset ac_cv_type_u_int32_t
64183 unset ac_cv_type_u_int64_t
64184 $as_echo_n "looking for u_intXX_t types in $i, " >&6
64185 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64186 #include <$i>
64188 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64189 acx_cv_header_stdint=$i
64190 else
64191 continue
64194 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64195 #include <$i>
64197 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64201 break
64202 done
64204 if test "$acx_cv_header_stdint" = stddef.h; then
64205 acx_cv_header_stdint_kind="(using manual detection)"
64208 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64209 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64210 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64211 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64212 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64214 # ----------------- Summarize what we found so far
64216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64217 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64219 case `$as_basename -- include/gstdint.h ||
64220 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64221 Xinclude/gstdint.h : 'X\(//\)$' \| \
64222 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64223 $as_echo X/include/gstdint.h |
64224 sed '/^.*\/\([^/][^/]*\)\/*$/{
64225 s//\1/
64228 /^X\/\(\/\/\)$/{
64229 s//\1/
64232 /^X\/\(\/\).*/{
64233 s//\1/
64236 s/.*/./; q'` in
64237 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64238 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64239 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64240 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64241 *) ;;
64242 esac
64244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64245 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64247 # ----------------- done included file, check C basic types --------
64249 # Lacking an uintptr_t? Test size of void *
64250 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64251 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64254 # This bug is HP SR number 8606223364.
64255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64256 $as_echo_n "checking size of void *... " >&6; }
64257 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64258 $as_echo_n "(cached) " >&6
64259 else
64260 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
64262 else
64263 if test "$ac_cv_type_void_p" = yes; then
64264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64266 { as_fn_set_status 77
64267 as_fn_error "cannot compute sizeof (void *)
64268 See \`config.log' for more details." "$LINENO" 5; }; }
64269 else
64270 ac_cv_sizeof_void_p=0
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64276 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64280 cat >>confdefs.h <<_ACEOF
64281 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64282 _ACEOF
64285 esac
64287 # Lacking an uint64_t? Test size of long
64288 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64289 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64292 # This bug is HP SR number 8606223364.
64293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64294 $as_echo_n "checking size of long... " >&6; }
64295 if test "${ac_cv_sizeof_long+set}" = set; then :
64296 $as_echo_n "(cached) " >&6
64297 else
64298 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64300 else
64301 if test "$ac_cv_type_long" = yes; then
64302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64304 { as_fn_set_status 77
64305 as_fn_error "cannot compute sizeof (long)
64306 See \`config.log' for more details." "$LINENO" 5; }; }
64307 else
64308 ac_cv_sizeof_long=0
64313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64314 $as_echo "$ac_cv_sizeof_long" >&6; }
64318 cat >>confdefs.h <<_ACEOF
64319 #define SIZEOF_LONG $ac_cv_sizeof_long
64320 _ACEOF
64323 esac
64325 if test $acx_cv_header_stdint = stddef.h; then
64326 # Lacking a good header? Test size of everything and deduce all types.
64327 # The cast to long int works around a bug in the HP C Compiler
64328 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64329 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64330 # This bug is HP SR number 8606223364.
64331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64332 $as_echo_n "checking size of int... " >&6; }
64333 if test "${ac_cv_sizeof_int+set}" = set; then :
64334 $as_echo_n "(cached) " >&6
64335 else
64336 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64338 else
64339 if test "$ac_cv_type_int" = yes; then
64340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64342 { as_fn_set_status 77
64343 as_fn_error "cannot compute sizeof (int)
64344 See \`config.log' for more details." "$LINENO" 5; }; }
64345 else
64346 ac_cv_sizeof_int=0
64351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64352 $as_echo "$ac_cv_sizeof_int" >&6; }
64356 cat >>confdefs.h <<_ACEOF
64357 #define SIZEOF_INT $ac_cv_sizeof_int
64358 _ACEOF
64361 # The cast to long int works around a bug in the HP C Compiler
64362 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64363 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64364 # This bug is HP SR number 8606223364.
64365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64366 $as_echo_n "checking size of short... " >&6; }
64367 if test "${ac_cv_sizeof_short+set}" = set; then :
64368 $as_echo_n "(cached) " >&6
64369 else
64370 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64372 else
64373 if test "$ac_cv_type_short" = yes; then
64374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64376 { as_fn_set_status 77
64377 as_fn_error "cannot compute sizeof (short)
64378 See \`config.log' for more details." "$LINENO" 5; }; }
64379 else
64380 ac_cv_sizeof_short=0
64385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64386 $as_echo "$ac_cv_sizeof_short" >&6; }
64390 cat >>confdefs.h <<_ACEOF
64391 #define SIZEOF_SHORT $ac_cv_sizeof_short
64392 _ACEOF
64395 # The cast to long int works around a bug in the HP C Compiler
64396 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64397 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64398 # This bug is HP SR number 8606223364.
64399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64400 $as_echo_n "checking size of char... " >&6; }
64401 if test "${ac_cv_sizeof_char+set}" = set; then :
64402 $as_echo_n "(cached) " >&6
64403 else
64404 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64406 else
64407 if test "$ac_cv_type_char" = yes; then
64408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64410 { as_fn_set_status 77
64411 as_fn_error "cannot compute sizeof (char)
64412 See \`config.log' for more details." "$LINENO" 5; }; }
64413 else
64414 ac_cv_sizeof_char=0
64419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64420 $as_echo "$ac_cv_sizeof_char" >&6; }
64424 cat >>confdefs.h <<_ACEOF
64425 #define SIZEOF_CHAR $ac_cv_sizeof_char
64426 _ACEOF
64430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64431 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64432 case "$ac_cv_sizeof_char" in
64433 1) acx_cv_type_int8_t=char ;;
64434 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64435 esac
64436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64437 $as_echo "$acx_cv_type_int8_t" >&6; }
64439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64440 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64441 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64442 2:*) acx_cv_type_int16_t=int ;;
64443 *:2) acx_cv_type_int16_t=short ;;
64444 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64445 esac
64446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64447 $as_echo "$acx_cv_type_int16_t" >&6; }
64449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64450 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64451 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64452 4:*) acx_cv_type_int32_t=int ;;
64453 *:4) acx_cv_type_int32_t=long ;;
64454 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64455 esac
64456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64457 $as_echo "$acx_cv_type_int32_t" >&6; }
64460 # These tests are here to make the output prettier
64462 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64463 case "$ac_cv_sizeof_long" in
64464 8) acx_cv_type_int64_t=long ;;
64465 esac
64466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64467 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64469 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64472 # Now we can use the above types
64474 if test "$ac_cv_type_uintptr_t" != yes; then
64475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64476 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64477 case $ac_cv_sizeof_void_p in
64478 2) acx_cv_type_intptr_t=int16_t ;;
64479 4) acx_cv_type_intptr_t=int32_t ;;
64480 8) acx_cv_type_intptr_t=int64_t ;;
64481 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64482 esac
64483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64484 $as_echo "$acx_cv_type_intptr_t" >&6; }
64487 # ----------------- done all checks, emit header -------------
64488 ac_config_commands="$ac_config_commands include/gstdint.h"
64494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64495 $as_echo_n "checking for GNU c++filt... " >&6; }
64496 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64497 $as_echo_n "(cached) " >&6
64498 else
64499 if test -z "$CXXFILT"; then
64500 ac_path_CXXFILT_found=false
64501 # Loop through the user's path and test for each of PROGNAME-LIST
64502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64503 for as_dir in $PATH
64505 IFS=$as_save_IFS
64506 test -z "$as_dir" && as_dir=.
64507 for ac_prog in c++filt gc++filt; do
64508 for ac_exec_ext in '' $ac_executable_extensions; do
64509 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64510 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64511 # Check for GNU $ac_path_CXXFILT
64512 case `"$ac_path_CXXFILT" --version 2>&1` in
64513 *GNU*)
64514 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64515 esac
64517 $ac_path_CXXFILT_found && break 3
64518 done
64519 done
64520 done
64521 IFS=$as_save_IFS
64522 if test -z "$ac_cv_path_CXXFILT"; then
64525 else
64526 ac_cv_path_CXXFILT=$CXXFILT
64530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64531 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64532 CXXFILT=$ac_cv_path_CXXFILT
64536 # Check whether --enable-symvers was given.
64537 if test "${enable_symvers+set}" = set; then :
64538 enableval=$enable_symvers;
64539 case "$enableval" in
64540 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64541 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64542 esac
64544 else
64545 enable_symvers=yes
64550 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64551 # don't know enough about $LD to do tricks...
64553 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64554 # with extern "C++" in version scripts.
64557 # Turn a 'yes' into a suitable default.
64558 if test x$enable_symvers = xyes ; then
64559 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64560 enable_symvers=no
64561 else
64562 if test $with_gnu_ld = yes ; then
64563 case ${target_os} in
64564 hpux*)
64565 enable_symvers=no ;;
64567 enable_symvers=gnu ;;
64568 esac
64569 else
64570 case ${target_os} in
64571 darwin*)
64572 enable_symvers=darwin ;;
64573 # Sun symbol versioning exists since Solaris 2.5.
64574 solaris2.[5-9]* | solaris2.1[0-9]*)
64575 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64576 # version scripts, so disable symbol versioning if none can be
64577 # found.
64578 if test -z "$ac_cv_path_CXXFILT"; then
64579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64580 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64582 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64584 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64585 enable_symvers=no
64586 else
64587 enable_symvers=sun
64591 enable_symvers=no ;;
64592 esac
64597 # Check to see if 'darwin' or 'darwin-export' can win.
64598 if test x$enable_symvers = xdarwin-export ; then
64599 enable_symvers=darwin
64602 # Check if 'sun' was requested on non-Solaris 2 platforms.
64603 if test x$enable_symvers = xsun ; then
64604 case ${target_os} in
64605 solaris2*)
64606 # All fine.
64609 # Unlikely to work.
64610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64611 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64613 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64615 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64616 enable_symvers=no
64618 esac
64621 # Check to see if 'gnu' can win.
64622 if test $enable_symvers = gnu ||
64623 test $enable_symvers = gnu-versioned-namespace ||
64624 test $enable_symvers = sun; then
64625 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64627 $as_echo_n "checking for shared libgcc... " >&6; }
64628 ac_save_CFLAGS="$CFLAGS"
64629 CFLAGS=' -lgcc_s'
64630 if test x$gcc_no_link = xyes; then
64631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64634 /* end confdefs.h. */
64637 main ()
64639 return 0;
64641 return 0;
64643 _ACEOF
64644 if ac_fn_c_try_link "$LINENO"; then :
64645 glibcxx_shared_libgcc=yes
64646 else
64647 glibcxx_shared_libgcc=no
64649 rm -f core conftest.err conftest.$ac_objext \
64650 conftest$ac_exeext conftest.$ac_ext
64651 CFLAGS="$ac_save_CFLAGS"
64652 if test $glibcxx_shared_libgcc = no; then
64653 cat > conftest.c <<EOF
64654 int main (void) { return 0; }
64656 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64657 -shared -shared-libgcc -o conftest.so \
64658 conftest.c -v 2>&1 >/dev/null \
64659 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64660 rm -f conftest.c conftest.so
64661 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64662 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64663 if test x$gcc_no_link = xyes; then
64664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64667 /* end confdefs.h. */
64670 main ()
64672 return 0;
64674 return 0;
64676 _ACEOF
64677 if ac_fn_c_try_link "$LINENO"; then :
64678 glibcxx_shared_libgcc=yes
64680 rm -f core conftest.err conftest.$ac_objext \
64681 conftest$ac_exeext conftest.$ac_ext
64682 CFLAGS="$ac_save_CFLAGS"
64685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64686 $as_echo "$glibcxx_shared_libgcc" >&6; }
64688 # For GNU ld, we need at least this version. The format is described in
64689 # GLIBCXX_CHECK_LINKER_FEATURES above.
64690 glibcxx_min_gnu_ld_version=21400
64692 # If no shared libgcc, can't win.
64693 if test $glibcxx_shared_libgcc != yes; then
64694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64695 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64697 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64699 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64700 enable_symvers=no
64701 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64702 : All interesting versions of Sun ld support sun style symbol versioning.
64703 elif test $with_gnu_ld != yes ; then
64704 # just fail for now
64705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64706 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64708 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64710 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64711 enable_symvers=no
64712 elif test $glibcxx_ld_is_gold = yes ; then
64713 : All versions of gold support symbol versioning.
64714 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64715 # The right tools, the right setup, but too old. Fallbacks?
64716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64717 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64719 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64721 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64723 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64725 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64726 enable_symvers=no
64730 # For libtool versioning info, format is CURRENT:REVISION:AGE
64731 libtool_VERSION=6:17:0
64733 # Everything parsed; figure out what files and settings to use.
64734 case $enable_symvers in
64736 SYMVER_FILE=config/abi/pre/none.ver
64738 gnu)
64739 SYMVER_FILE=config/abi/pre/gnu.ver
64741 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64744 gnu-versioned-namespace)
64745 libtool_VERSION=7:0:0
64746 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64748 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64751 darwin)
64752 SYMVER_FILE=config/abi/pre/gnu.ver
64754 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64757 sun)
64758 SYMVER_FILE=config/abi/pre/gnu.ver
64760 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64763 esac
64765 if test x$enable_symvers != xno ; then
64767 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64772 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64773 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64774 $as_echo_n "(cached) " >&6
64775 else
64777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64778 /* end confdefs.h. */
64779 void foo (void); __asm (".symver foo, bar@SYMVER");
64781 main ()
64785 return 0;
64787 _ACEOF
64788 if ac_fn_c_try_compile "$LINENO"; then :
64789 glibcxx_cv_have_as_symver_directive=yes
64790 else
64791 glibcxx_cv_have_as_symver_directive=no
64793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64796 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64797 if test $glibcxx_cv_have_as_symver_directive = yes; then
64799 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64810 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64811 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64813 if test $enable_symvers != no ; then
64814 case ${target_os} in
64815 # The Solaris 2 runtime linker doesn't support the GNU extension of
64816 # binding the same symbol to different versions
64817 solaris2*)
64818 symvers_renaming=no ;;
64819 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64822 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64824 symvers_renaming=yes ;;
64825 esac
64826 else
64827 symvers_renaming=no
64831 # Now, set up compatibility support, if any.
64832 # In addition, need this to deal with std::size_t mangling in
64833 # src/compatibility.cc. In a perfect world, could use
64834 # typeid(std::size_t).name()[0] to do direct substitution.
64835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64836 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64837 ac_save_CFLAGS="$CFLAGS"
64838 CFLAGS="-Werror"
64839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64840 /* end confdefs.h. */
64843 main ()
64845 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64847 return 0;
64849 _ACEOF
64850 if ac_fn_c_try_compile "$LINENO"; then :
64851 glibcxx_size_t_is_i=yes
64852 else
64853 glibcxx_size_t_is_i=no
64855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64856 CFLAGS=$ac_save_CFLAGS
64857 if test "$glibcxx_size_t_is_i" = yes; then
64859 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64863 $as_echo "$glibcxx_size_t_is_i" >&6; }
64865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64866 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64867 ac_save_CFLAGS="$CFLAGS"
64868 CFLAGS="-Werror"
64869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64870 /* end confdefs.h. */
64873 main ()
64875 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64877 return 0;
64879 _ACEOF
64880 if ac_fn_c_try_compile "$LINENO"; then :
64881 glibcxx_ptrdiff_t_is_i=yes
64882 else
64883 glibcxx_ptrdiff_t_is_i=no
64885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64886 CFLAGS=$ac_save_CFLAGS
64887 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64889 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64893 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64898 # Check whether --enable-visibility was given.
64899 if test "${enable_visibility+set}" = set; then :
64900 enableval=$enable_visibility;
64901 case "$enableval" in
64902 yes|no) ;;
64903 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64904 esac
64906 else
64907 enable_visibility=yes
64912 if test x$enable_visibility = xyes ; then
64913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64914 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64915 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64916 $as_echo_n "(cached) " >&6
64917 else
64919 save_CFLAGS="$CFLAGS"
64920 CFLAGS="$CFLAGS -Werror"
64921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64922 /* end confdefs.h. */
64923 void __attribute__((visibility("hidden"))) foo(void) { }
64925 main ()
64929 return 0;
64931 _ACEOF
64932 if ac_fn_c_try_compile "$LINENO"; then :
64933 glibcxx_cv_have_attribute_visibility=yes
64934 else
64935 glibcxx_cv_have_attribute_visibility=no
64937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64938 CFLAGS="$save_CFLAGS"
64940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64941 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64942 if test $glibcxx_cv_have_attribute_visibility = no; then
64943 enable_visibility=no
64948 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64949 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64952 ac_ldbl_compat=no
64953 case "$target" in
64954 powerpc*-*-linux* | \
64955 sparc*-*-linux* | \
64956 s390*-*-linux* | \
64957 alpha*-*-linux*)
64958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64959 /* end confdefs.h. */
64962 main ()
64965 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64966 #error no need for long double compatibility
64967 #endif
64970 return 0;
64972 _ACEOF
64973 if ac_fn_c_try_compile "$LINENO"; then :
64974 ac_ldbl_compat=yes
64975 else
64976 ac_ldbl_compat=no
64978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64979 if test "$ac_ldbl_compat" = yes; then
64981 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64983 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64985 esac
64988 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64990 if $GLIBCXX_IS_NATIVE ; then
64991 # Do checks for resource limit functions.
64993 setrlimit_have_headers=yes
64994 for ac_header in unistd.h sys/time.h sys/resource.h
64995 do :
64996 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64997 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64998 eval as_val=\$$as_ac_Header
64999 if test "x$as_val" = x""yes; then :
65000 cat >>confdefs.h <<_ACEOF
65001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65002 _ACEOF
65004 else
65005 setrlimit_have_headers=no
65008 done
65010 # If don't have the headers, then we can't run the tests now, and we
65011 # won't be seeing any of these during testsuite compilation.
65012 if test $setrlimit_have_headers = yes; then
65013 # Can't do these in a loop, else the resulting syntax is wrong.
65015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65016 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65018 /* end confdefs.h. */
65019 #include <unistd.h>
65020 #include <sys/time.h>
65021 #include <sys/resource.h>
65024 main ()
65026 int f = RLIMIT_DATA ;
65028 return 0;
65030 _ACEOF
65031 if ac_fn_c_try_compile "$LINENO"; then :
65032 glibcxx_mresult=1
65033 else
65034 glibcxx_mresult=0
65036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65038 cat >>confdefs.h <<_ACEOF
65039 #define HAVE_LIMIT_DATA $glibcxx_mresult
65040 _ACEOF
65042 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65044 $as_echo "$res" >&6; }
65047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65048 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65050 /* end confdefs.h. */
65051 #include <unistd.h>
65052 #include <sys/time.h>
65053 #include <sys/resource.h>
65056 main ()
65058 int f = RLIMIT_RSS ;
65060 return 0;
65062 _ACEOF
65063 if ac_fn_c_try_compile "$LINENO"; then :
65064 glibcxx_mresult=1
65065 else
65066 glibcxx_mresult=0
65068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65070 cat >>confdefs.h <<_ACEOF
65071 #define HAVE_LIMIT_RSS $glibcxx_mresult
65072 _ACEOF
65074 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65076 $as_echo "$res" >&6; }
65079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65080 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65082 /* end confdefs.h. */
65083 #include <unistd.h>
65084 #include <sys/time.h>
65085 #include <sys/resource.h>
65088 main ()
65090 int f = RLIMIT_VMEM ;
65092 return 0;
65094 _ACEOF
65095 if ac_fn_c_try_compile "$LINENO"; then :
65096 glibcxx_mresult=1
65097 else
65098 glibcxx_mresult=0
65100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65102 cat >>confdefs.h <<_ACEOF
65103 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65104 _ACEOF
65106 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65108 $as_echo "$res" >&6; }
65111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65112 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65114 /* end confdefs.h. */
65115 #include <unistd.h>
65116 #include <sys/time.h>
65117 #include <sys/resource.h>
65120 main ()
65122 int f = RLIMIT_AS ;
65124 return 0;
65126 _ACEOF
65127 if ac_fn_c_try_compile "$LINENO"; then :
65128 glibcxx_mresult=1
65129 else
65130 glibcxx_mresult=0
65132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65134 cat >>confdefs.h <<_ACEOF
65135 #define HAVE_LIMIT_AS $glibcxx_mresult
65136 _ACEOF
65138 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65140 $as_echo "$res" >&6; }
65143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65144 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65146 /* end confdefs.h. */
65147 #include <unistd.h>
65148 #include <sys/time.h>
65149 #include <sys/resource.h>
65152 main ()
65154 int f = RLIMIT_FSIZE ;
65156 return 0;
65158 _ACEOF
65159 if ac_fn_c_try_compile "$LINENO"; then :
65160 glibcxx_mresult=1
65161 else
65162 glibcxx_mresult=0
65164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65166 cat >>confdefs.h <<_ACEOF
65167 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65168 _ACEOF
65170 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65172 $as_echo "$res" >&6; }
65175 # Check for rlimit, setrlimit.
65176 if test "${glibcxx_cv_setrlimit+set}" = set; then :
65177 $as_echo_n "(cached) " >&6
65178 else
65180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65181 /* end confdefs.h. */
65182 #include <unistd.h>
65183 #include <sys/time.h>
65184 #include <sys/resource.h>
65187 main ()
65189 struct rlimit r;
65190 setrlimit(0, &r);
65192 return 0;
65194 _ACEOF
65195 if ac_fn_c_try_compile "$LINENO"; then :
65196 glibcxx_cv_setrlimit=yes
65197 else
65198 glibcxx_cv_setrlimit=no
65200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65207 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65208 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65209 ac_res_limits=yes
65211 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65213 else
65214 ac_res_limits=no
65216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65217 $as_echo "$ac_res_limits" >&6; }
65220 # Look for setenv, so that extended locale tests can be performed.
65222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65223 $as_echo_n "checking for setenv declaration... " >&6; }
65224 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65225 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65226 $as_echo_n "(cached) " >&6
65227 else
65230 ac_ext=cpp
65231 ac_cpp='$CXXCPP $CPPFLAGS'
65232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65237 /* end confdefs.h. */
65238 #include <stdlib.h>
65240 main ()
65242 setenv(0, 0, 0);
65244 return 0;
65246 _ACEOF
65247 if ac_fn_cxx_try_compile "$LINENO"; then :
65248 glibcxx_cv_func_setenv_use=yes
65249 else
65250 glibcxx_cv_func_setenv_use=no
65252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65253 ac_ext=c
65254 ac_cpp='$CPP $CPPFLAGS'
65255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65264 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65265 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65266 for ac_func in setenv
65267 do :
65268 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65269 if test "x$ac_cv_func_setenv" = x""yes; then :
65270 cat >>confdefs.h <<_ACEOF
65271 #define HAVE_SETENV 1
65272 _ACEOF
65275 done
65281 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65282 test $enable_symvers != no; then
65283 case "$host" in
65284 *-*-cygwin*)
65285 enable_abi_check=no ;;
65287 enable_abi_check=yes ;;
65288 esac
65289 else
65290 # Only build this as native, since automake does not understand
65291 # CXX_FOR_BUILD.
65292 enable_abi_check=no
65295 # Export file names for ABI checking.
65296 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65298 baseline_subdir_switch="$abi_baseline_subdir_switch"
65302 # Define documentation rules conditionally.
65304 # See if makeinfo has been installed and is modern enough
65305 # that we can use it.
65307 # Extract the first word of "makeinfo", so it can be a program name with args.
65308 set dummy makeinfo; ac_word=$2
65309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65310 $as_echo_n "checking for $ac_word... " >&6; }
65311 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65312 $as_echo_n "(cached) " >&6
65313 else
65314 if test -n "$MAKEINFO"; then
65315 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65316 else
65317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65318 for as_dir in $PATH
65320 IFS=$as_save_IFS
65321 test -z "$as_dir" && as_dir=.
65322 for ac_exec_ext in '' $ac_executable_extensions; do
65323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65324 ac_cv_prog_MAKEINFO="makeinfo"
65325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65326 break 2
65328 done
65329 done
65330 IFS=$as_save_IFS
65334 MAKEINFO=$ac_cv_prog_MAKEINFO
65335 if test -n "$MAKEINFO"; then
65336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65337 $as_echo "$MAKEINFO" >&6; }
65338 else
65339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65340 $as_echo "no" >&6; }
65344 if test -n "$MAKEINFO"; then
65345 # Found it, now check the version.
65346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65347 $as_echo_n "checking for modern makeinfo... " >&6; }
65348 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65349 $as_echo_n "(cached) " >&6
65350 else
65351 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65352 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65354 case $ac_prog_version in
65355 '') gcc_cv_prog_makeinfo_modern=no;;
65356 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65357 *) gcc_cv_prog_makeinfo_modern=no;;
65358 esac
65361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65362 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65363 else
65364 gcc_cv_prog_makeinfo_modern=no
65366 if test $gcc_cv_prog_makeinfo_modern = no; then
65367 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65370 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65371 BUILD_INFO_TRUE=
65372 BUILD_INFO_FALSE='#'
65373 else
65374 BUILD_INFO_TRUE='#'
65375 BUILD_INFO_FALSE=
65379 # Check for doxygen
65380 # Extract the first word of "doxygen", so it can be a program name with args.
65381 set dummy doxygen; ac_word=$2
65382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65383 $as_echo_n "checking for $ac_word... " >&6; }
65384 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65385 $as_echo_n "(cached) " >&6
65386 else
65387 if test -n "$DOXYGEN"; then
65388 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65389 else
65390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65391 for as_dir in $PATH
65393 IFS=$as_save_IFS
65394 test -z "$as_dir" && as_dir=.
65395 for ac_exec_ext in '' $ac_executable_extensions; do
65396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65397 ac_cv_prog_DOXYGEN="yes"
65398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65399 break 2
65401 done
65402 done
65403 IFS=$as_save_IFS
65405 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65408 DOXYGEN=$ac_cv_prog_DOXYGEN
65409 if test -n "$DOXYGEN"; then
65410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65411 $as_echo "$DOXYGEN" >&6; }
65412 else
65413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65414 $as_echo "no" >&6; }
65418 # Extract the first word of "dot", so it can be a program name with args.
65419 set dummy dot; ac_word=$2
65420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65421 $as_echo_n "checking for $ac_word... " >&6; }
65422 if test "${ac_cv_prog_DOT+set}" = set; then :
65423 $as_echo_n "(cached) " >&6
65424 else
65425 if test -n "$DOT"; then
65426 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65427 else
65428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65429 for as_dir in $PATH
65431 IFS=$as_save_IFS
65432 test -z "$as_dir" && as_dir=.
65433 for ac_exec_ext in '' $ac_executable_extensions; do
65434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65435 ac_cv_prog_DOT="yes"
65436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65437 break 2
65439 done
65440 done
65441 IFS=$as_save_IFS
65443 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65446 DOT=$ac_cv_prog_DOT
65447 if test -n "$DOT"; then
65448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65449 $as_echo "$DOT" >&6; }
65450 else
65451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65452 $as_echo "no" >&6; }
65457 # Check for docbook
65458 # Extract the first word of "xsltproc", so it can be a program name with args.
65459 set dummy xsltproc; ac_word=$2
65460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65461 $as_echo_n "checking for $ac_word... " >&6; }
65462 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65463 $as_echo_n "(cached) " >&6
65464 else
65465 if test -n "$XSLTPROC"; then
65466 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65467 else
65468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65469 for as_dir in $PATH
65471 IFS=$as_save_IFS
65472 test -z "$as_dir" && as_dir=.
65473 for ac_exec_ext in '' $ac_executable_extensions; do
65474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65475 ac_cv_prog_XSLTPROC="yes"
65476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65477 break 2
65479 done
65480 done
65481 IFS=$as_save_IFS
65483 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65486 XSLTPROC=$ac_cv_prog_XSLTPROC
65487 if test -n "$XSLTPROC"; then
65488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65489 $as_echo "$XSLTPROC" >&6; }
65490 else
65491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65492 $as_echo "no" >&6; }
65496 # Extract the first word of "xmllint", so it can be a program name with args.
65497 set dummy xmllint; ac_word=$2
65498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65499 $as_echo_n "checking for $ac_word... " >&6; }
65500 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65501 $as_echo_n "(cached) " >&6
65502 else
65503 if test -n "$XMLLINT"; then
65504 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65505 else
65506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65507 for as_dir in $PATH
65509 IFS=$as_save_IFS
65510 test -z "$as_dir" && as_dir=.
65511 for ac_exec_ext in '' $ac_executable_extensions; do
65512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65513 ac_cv_prog_XMLLINT="yes"
65514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65515 break 2
65517 done
65518 done
65519 IFS=$as_save_IFS
65521 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65524 XMLLINT=$ac_cv_prog_XMLLINT
65525 if test -n "$XMLLINT"; then
65526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65527 $as_echo "$XMLLINT" >&6; }
65528 else
65529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65530 $as_echo "no" >&6; }
65536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65537 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65538 glibcxx_stylesheets=no
65539 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
65540 glibcxx_stylesheets=yes
65542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65543 $as_echo "$glibcxx_stylesheets" >&6; }
65545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65546 $as_echo_n "checking for local stylesheet directory... " >&6; }
65547 glibcxx_local_stylesheets=no
65548 if test x"$glibcxx_stylesheets" = x"yes"; then
65549 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65550 glibcxx_local_stylesheets=yes
65551 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65553 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65554 glibcxx_local_stylesheets=yes
65555 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65559 $as_echo "$glibcxx_local_stylesheets" >&6; }
65561 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65563 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65564 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65565 else
65566 glibcxx_stylesheets=no
65570 # Check for xml/html dependencies.
65571 if test $ac_cv_prog_DOXYGEN = "yes" &&
65572 test $ac_cv_prog_DOT = "yes" &&
65573 test $ac_cv_prog_XSLTPROC = "yes" &&
65574 test $ac_cv_prog_XMLLINT = "yes" &&
65575 test $glibcxx_stylesheets = "yes"; then
65576 BUILD_XML_TRUE=
65577 BUILD_XML_FALSE='#'
65578 else
65579 BUILD_XML_TRUE='#'
65580 BUILD_XML_FALSE=
65584 if test $ac_cv_prog_DOXYGEN = "yes" &&
65585 test $ac_cv_prog_DOT = "yes" &&
65586 test $ac_cv_prog_XSLTPROC = "yes" &&
65587 test $ac_cv_prog_XMLLINT = "yes" &&
65588 test $glibcxx_stylesheets = "yes"; then
65589 BUILD_HTML_TRUE=
65590 BUILD_HTML_FALSE='#'
65591 else
65592 BUILD_HTML_TRUE='#'
65593 BUILD_HTML_FALSE=
65597 # Check for man dependencies.
65598 if test $ac_cv_prog_DOXYGEN = "yes" &&
65599 test $ac_cv_prog_DOT = "yes"; then
65600 BUILD_MAN_TRUE=
65601 BUILD_MAN_FALSE='#'
65602 else
65603 BUILD_MAN_TRUE='#'
65604 BUILD_MAN_FALSE=
65608 # Check for pdf/epub dependencies.
65609 # Extract the first word of "dblatex", so it can be a program name with args.
65610 set dummy dblatex; ac_word=$2
65611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65612 $as_echo_n "checking for $ac_word... " >&6; }
65613 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65614 $as_echo_n "(cached) " >&6
65615 else
65616 if test -n "$DBLATEX"; then
65617 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65618 else
65619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65620 for as_dir in $PATH
65622 IFS=$as_save_IFS
65623 test -z "$as_dir" && as_dir=.
65624 for ac_exec_ext in '' $ac_executable_extensions; do
65625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65626 ac_cv_prog_DBLATEX="yes"
65627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65628 break 2
65630 done
65631 done
65632 IFS=$as_save_IFS
65634 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65637 DBLATEX=$ac_cv_prog_DBLATEX
65638 if test -n "$DBLATEX"; then
65639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65640 $as_echo "$DBLATEX" >&6; }
65641 else
65642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65643 $as_echo "no" >&6; }
65647 # Extract the first word of "pdflatex", so it can be a program name with args.
65648 set dummy pdflatex; ac_word=$2
65649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65650 $as_echo_n "checking for $ac_word... " >&6; }
65651 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65652 $as_echo_n "(cached) " >&6
65653 else
65654 if test -n "$PDFLATEX"; then
65655 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65656 else
65657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65658 for as_dir in $PATH
65660 IFS=$as_save_IFS
65661 test -z "$as_dir" && as_dir=.
65662 for ac_exec_ext in '' $ac_executable_extensions; do
65663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65664 ac_cv_prog_PDFLATEX="yes"
65665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65666 break 2
65668 done
65669 done
65670 IFS=$as_save_IFS
65672 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65675 PDFLATEX=$ac_cv_prog_PDFLATEX
65676 if test -n "$PDFLATEX"; then
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65678 $as_echo "$PDFLATEX" >&6; }
65679 else
65680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65681 $as_echo "no" >&6; }
65685 if test $ac_cv_prog_DBLATEX = "yes" &&
65686 test $ac_cv_prog_PDFLATEX = "yes"; then
65687 BUILD_PDF_TRUE=
65688 BUILD_PDF_FALSE='#'
65689 else
65690 BUILD_PDF_TRUE='#'
65691 BUILD_PDF_FALSE=
65695 # Extract the first word of "ruby", so it can be a program name with args.
65696 set dummy ruby; ac_word=$2
65697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65698 $as_echo_n "checking for $ac_word... " >&6; }
65699 if test "${ac_cv_prog_RUBY+set}" = set; then :
65700 $as_echo_n "(cached) " >&6
65701 else
65702 if test -n "$RUBY"; then
65703 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65704 else
65705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65706 for as_dir in $PATH
65708 IFS=$as_save_IFS
65709 test -z "$as_dir" && as_dir=.
65710 for ac_exec_ext in '' $ac_executable_extensions; do
65711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65712 ac_cv_prog_RUBY="yes"
65713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65714 break 2
65716 done
65717 done
65718 IFS=$as_save_IFS
65720 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65723 RUBY=$ac_cv_prog_RUBY
65724 if test -n "$RUBY"; then
65725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65726 $as_echo "$RUBY" >&6; }
65727 else
65728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65729 $as_echo "no" >&6; }
65733 # Extract the first word of "dbtoepub", so it can be a program name with args.
65734 set dummy dbtoepub; ac_word=$2
65735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65736 $as_echo_n "checking for $ac_word... " >&6; }
65737 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65738 $as_echo_n "(cached) " >&6
65739 else
65740 if test -n "$DBTOEPUB"; then
65741 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65742 else
65743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65744 for as_dir in $PATH
65746 IFS=$as_save_IFS
65747 test -z "$as_dir" && as_dir=.
65748 for ac_exec_ext in '' $ac_executable_extensions; do
65749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65750 ac_cv_prog_DBTOEPUB="yes"
65751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65752 break 2
65754 done
65755 done
65756 IFS=$as_save_IFS
65758 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65761 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65762 if test -n "$DBTOEPUB"; then
65763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65764 $as_echo "$DBTOEPUB" >&6; }
65765 else
65766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65767 $as_echo "no" >&6; }
65771 if test $ac_cv_prog_RUBY = "yes" &&
65772 test $ac_cv_prog_DBTOEPUB = "yes"; then
65773 BUILD_EPUB_TRUE=
65774 BUILD_EPUB_FALSE='#'
65775 else
65776 BUILD_EPUB_TRUE='#'
65777 BUILD_EPUB_FALSE=
65782 # Propagate the target-specific source directories through the build chain.
65783 ATOMICITY_SRCDIR=config/${atomicity_dir}
65784 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65785 ATOMIC_FLAGS=${atomic_flags}
65786 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65787 OS_INC_SRCDIR=config/${os_include_dir}
65788 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65789 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65799 # Determine cross-compile flags and AM_CONDITIONALs.
65800 #AC_SUBST(GLIBCXX_IS_NATIVE)
65801 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65802 if test $is_hosted = yes; then
65803 GLIBCXX_HOSTED_TRUE=
65804 GLIBCXX_HOSTED_FALSE='#'
65805 else
65806 GLIBCXX_HOSTED_TRUE='#'
65807 GLIBCXX_HOSTED_FALSE=
65811 if test $enable_libstdcxx_pch = yes; then
65812 GLIBCXX_BUILD_PCH_TRUE=
65813 GLIBCXX_BUILD_PCH_FALSE='#'
65814 else
65815 GLIBCXX_BUILD_PCH_TRUE='#'
65816 GLIBCXX_BUILD_PCH_FALSE=
65820 if test $enable_cheaders = c; then
65821 GLIBCXX_C_HEADERS_C_TRUE=
65822 GLIBCXX_C_HEADERS_C_FALSE='#'
65823 else
65824 GLIBCXX_C_HEADERS_C_TRUE='#'
65825 GLIBCXX_C_HEADERS_C_FALSE=
65829 if test $enable_cheaders = c_std; then
65830 GLIBCXX_C_HEADERS_C_STD_TRUE=
65831 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65832 else
65833 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65834 GLIBCXX_C_HEADERS_C_STD_FALSE=
65838 if test $enable_cheaders = c_global; then
65839 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65840 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65841 else
65842 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65843 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65847 if test $c_compatibility = yes; then
65848 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65849 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65850 else
65851 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65852 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65856 if test $enable_libstdcxx_debug = yes; then
65857 GLIBCXX_BUILD_DEBUG_TRUE=
65858 GLIBCXX_BUILD_DEBUG_FALSE='#'
65859 else
65860 GLIBCXX_BUILD_DEBUG_TRUE='#'
65861 GLIBCXX_BUILD_DEBUG_FALSE=
65865 if test $enable_parallel = yes; then
65866 ENABLE_PARALLEL_TRUE=
65867 ENABLE_PARALLEL_FALSE='#'
65868 else
65869 ENABLE_PARALLEL_TRUE='#'
65870 ENABLE_PARALLEL_FALSE=
65874 if test $enable_extern_template = yes; then
65875 ENABLE_EXTERN_TEMPLATE_TRUE=
65876 ENABLE_EXTERN_TEMPLATE_FALSE='#'
65877 else
65878 ENABLE_EXTERN_TEMPLATE_TRUE='#'
65879 ENABLE_EXTERN_TEMPLATE_FALSE=
65883 if test $enable_symvers != no; then
65884 ENABLE_SYMVERS_TRUE=
65885 ENABLE_SYMVERS_FALSE='#'
65886 else
65887 ENABLE_SYMVERS_TRUE='#'
65888 ENABLE_SYMVERS_FALSE=
65892 if test $enable_symvers = gnu; then
65893 ENABLE_SYMVERS_GNU_TRUE=
65894 ENABLE_SYMVERS_GNU_FALSE='#'
65895 else
65896 ENABLE_SYMVERS_GNU_TRUE='#'
65897 ENABLE_SYMVERS_GNU_FALSE=
65901 if test $enable_symvers = gnu-versioned-namespace; then
65902 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65903 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65904 else
65905 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65906 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65910 if test $enable_symvers = darwin; then
65911 ENABLE_SYMVERS_DARWIN_TRUE=
65912 ENABLE_SYMVERS_DARWIN_FALSE='#'
65913 else
65914 ENABLE_SYMVERS_DARWIN_TRUE='#'
65915 ENABLE_SYMVERS_DARWIN_FALSE=
65919 if test $enable_symvers = sun; then
65920 ENABLE_SYMVERS_SUN_TRUE=
65921 ENABLE_SYMVERS_SUN_FALSE='#'
65922 else
65923 ENABLE_SYMVERS_SUN_TRUE='#'
65924 ENABLE_SYMVERS_SUN_FALSE=
65928 if test $symvers_renaming = no; then
65929 ENABLE_SYMVERS_SOL2_TRUE=
65930 ENABLE_SYMVERS_SOL2_FALSE='#'
65931 else
65932 ENABLE_SYMVERS_SOL2_TRUE='#'
65933 ENABLE_SYMVERS_SOL2_FALSE=
65937 if test $enable_visibility = yes; then
65938 ENABLE_VISIBILITY_TRUE=
65939 ENABLE_VISIBILITY_FALSE='#'
65940 else
65941 ENABLE_VISIBILITY_TRUE='#'
65942 ENABLE_VISIBILITY_FALSE=
65946 if test $ac_ldbl_compat = yes; then
65947 GLIBCXX_LDBL_COMPAT_TRUE=
65948 GLIBCXX_LDBL_COMPAT_FALSE='#'
65949 else
65950 GLIBCXX_LDBL_COMPAT_TRUE='#'
65951 GLIBCXX_LDBL_COMPAT_FALSE=
65957 cat >confcache <<\_ACEOF
65958 # This file is a shell script that caches the results of configure
65959 # tests run on this system so they can be shared between configure
65960 # scripts and configure runs, see configure's option --config-cache.
65961 # It is not useful on other systems. If it contains results you don't
65962 # want to keep, you may remove or edit it.
65964 # config.status only pays attention to the cache file if you give it
65965 # the --recheck option to rerun configure.
65967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65969 # following values.
65971 _ACEOF
65973 # The following way of writing the cache mishandles newlines in values,
65974 # but we know of no workaround that is simple, portable, and efficient.
65975 # So, we kill variables containing newlines.
65976 # Ultrix sh set writes to stderr and can't be redirected directly,
65977 # and sets the high bit in the cache file unless we assign to the vars.
65979 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65980 eval ac_val=\$$ac_var
65981 case $ac_val in #(
65982 *${as_nl}*)
65983 case $ac_var in #(
65984 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65985 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65986 esac
65987 case $ac_var in #(
65988 _ | IFS | as_nl) ;; #(
65989 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65990 *) { eval $ac_var=; unset $ac_var;} ;;
65991 esac ;;
65992 esac
65993 done
65995 (set) 2>&1 |
65996 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65997 *${as_nl}ac_space=\ *)
65998 # `set' does not quote correctly, so add quotes: double-quote
65999 # substitution turns \\\\ into \\, and sed turns \\ into \.
66000 sed -n \
66001 "s/'/'\\\\''/g;
66002 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66003 ;; #(
66005 # `set' quotes correctly as required by POSIX, so do not add quotes.
66006 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66008 esac |
66009 sort
66011 sed '
66012 /^ac_cv_env_/b end
66013 t clear
66014 :clear
66015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66016 t end
66017 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66018 :end' >>confcache
66019 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66020 if test -w "$cache_file"; then
66021 test "x$cache_file" != "x/dev/null" &&
66022 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66023 $as_echo "$as_me: updating cache $cache_file" >&6;}
66024 cat confcache >$cache_file
66025 else
66026 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66027 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66030 rm -f confcache
66032 if test ${multilib} = yes; then
66033 multilib_arg="--enable-multilib"
66034 else
66035 multilib_arg=
66038 # Export all the install information.
66040 glibcxx_toolexecdir=no
66041 glibcxx_toolexeclibdir=no
66042 glibcxx_prefixdir=$prefix
66044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66045 $as_echo_n "checking for gxx-include-dir... " >&6; }
66047 # Check whether --with-gxx-include-dir was given.
66048 if test "${with_gxx_include_dir+set}" = set; then :
66049 withval=$with_gxx_include_dir; case "$withval" in
66050 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66051 no) gxx_include_dir=no ;;
66052 *) gxx_include_dir=$withval ;;
66053 esac
66054 else
66055 gxx_include_dir=no
66058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66059 $as_echo "$gxx_include_dir" >&6; }
66061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66062 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66063 # Check whether --enable-version-specific-runtime-libs was given.
66064 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66065 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66066 yes) version_specific_libs=yes ;;
66067 no) version_specific_libs=no ;;
66068 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66069 esac
66070 else
66071 version_specific_libs=no
66074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66075 $as_echo "$version_specific_libs" >&6; }
66077 # Default case for install directory for include files.
66078 if test $version_specific_libs = no && test $gxx_include_dir = no; then
66079 gxx_include_dir='include/c++/${gcc_version}'
66080 if test -n "$with_cross_host" &&
66081 test x"$with_cross_host" != x"no"; then
66082 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66083 else
66084 gxx_include_dir='${prefix}/'"$gxx_include_dir"
66088 # Version-specific runtime libs processing.
66089 if test $version_specific_libs = yes; then
66090 # Need the gcc compiler version to know where to install libraries
66091 # and header files if --enable-version-specific-runtime-libs option
66092 # is selected. FIXME: these variables are misnamed, there are
66093 # no executables installed in _toolexecdir or _toolexeclibdir.
66094 if test x"$gxx_include_dir" = x"no"; then
66095 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66097 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66098 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66101 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66102 # Install a library built with a cross compiler in tooldir, not libdir.
66103 if test x"$glibcxx_toolexecdir" = x"no"; then
66104 if test -n "$with_cross_host" &&
66105 test x"$with_cross_host" != x"no"; then
66106 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66107 glibcxx_toolexeclibdir='${toolexecdir}/lib'
66108 else
66109 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66110 glibcxx_toolexeclibdir='${libdir}'
66112 multi_os_directory=`$CXX -print-multi-os-directory`
66113 case $multi_os_directory in
66114 .) ;; # Avoid trailing /.
66115 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66116 esac
66119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66120 $as_echo_n "checking for install location... " >&6; }
66121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66122 $as_echo "$gxx_include_dir" >&6; }
66130 # Export all the include and flag information to Makefiles.
66132 # Used for every C++ compile we perform.
66133 GLIBCXX_INCLUDES="\
66134 -I$glibcxx_builddir/include/$host_alias \
66135 -I$glibcxx_builddir/include \
66136 -I$glibcxx_srcdir/libsupc++"
66138 # For Canadian crosses, pick this up too.
66139 if test $CANADIAN = yes; then
66140 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66143 # Stuff in the actual top level. Currently only used by libsupc++ to
66144 # get unwind* headers from the libgcc dir.
66145 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66146 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66148 # Now, export this to all the little Makefiles....
66153 # Optimization flags that are probably a good idea for thrill-seekers. Just
66154 # uncomment the lines below and make, everything else is ready to go...
66155 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66156 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66159 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66163 if test "$enable_shared" = yes; then
66164 LIBSUPCXX_PICFLAGS="-prefer-pic"
66165 else
66166 LIBSUPCXX_PICFLAGS=
66170 ac_config_files="$ac_config_files Makefile"
66172 ac_config_files="$ac_config_files scripts/testsuite_flags"
66174 ac_config_files="$ac_config_files scripts/extract_symvers"
66177 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66178 # that multilib installs will end up installed in the correct place.
66179 # The testsuite needs it for multilib-aware ABI baseline files.
66180 # To work around this not being passed down from config-ml.in ->
66181 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66182 # append it here. Only modify Makefiles that have just been created.
66184 # Also, get rid of this simulated-VPATH thing that automake does.
66185 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66188 ac_config_commands="$ac_config_commands generate-headers"
66191 cat >confcache <<\_ACEOF
66192 # This file is a shell script that caches the results of configure
66193 # tests run on this system so they can be shared between configure
66194 # scripts and configure runs, see configure's option --config-cache.
66195 # It is not useful on other systems. If it contains results you don't
66196 # want to keep, you may remove or edit it.
66198 # config.status only pays attention to the cache file if you give it
66199 # the --recheck option to rerun configure.
66201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66203 # following values.
66205 _ACEOF
66207 # The following way of writing the cache mishandles newlines in values,
66208 # but we know of no workaround that is simple, portable, and efficient.
66209 # So, we kill variables containing newlines.
66210 # Ultrix sh set writes to stderr and can't be redirected directly,
66211 # and sets the high bit in the cache file unless we assign to the vars.
66213 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66214 eval ac_val=\$$ac_var
66215 case $ac_val in #(
66216 *${as_nl}*)
66217 case $ac_var in #(
66218 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66219 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66220 esac
66221 case $ac_var in #(
66222 _ | IFS | as_nl) ;; #(
66223 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66224 *) { eval $ac_var=; unset $ac_var;} ;;
66225 esac ;;
66226 esac
66227 done
66229 (set) 2>&1 |
66230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66231 *${as_nl}ac_space=\ *)
66232 # `set' does not quote correctly, so add quotes: double-quote
66233 # substitution turns \\\\ into \\, and sed turns \\ into \.
66234 sed -n \
66235 "s/'/'\\\\''/g;
66236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66237 ;; #(
66239 # `set' quotes correctly as required by POSIX, so do not add quotes.
66240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66242 esac |
66243 sort
66245 sed '
66246 /^ac_cv_env_/b end
66247 t clear
66248 :clear
66249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66250 t end
66251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66252 :end' >>confcache
66253 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66254 if test -w "$cache_file"; then
66255 test "x$cache_file" != "x/dev/null" &&
66256 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66257 $as_echo "$as_me: updating cache $cache_file" >&6;}
66258 cat confcache >$cache_file
66259 else
66260 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66261 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66264 rm -f confcache
66266 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66267 # Let make expand exec_prefix.
66268 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66270 DEFS=-DHAVE_CONFIG_H
66272 ac_libobjs=
66273 ac_ltlibobjs=
66274 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66275 # 1. Remove the extension, and $U if already installed.
66276 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66277 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66278 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66279 # will be set to the directory where LIBOBJS objects are built.
66280 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66281 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66282 done
66283 LIBOBJS=$ac_libobjs
66285 LTLIBOBJS=$ac_ltlibobjs
66288 if test -n "$EXEEXT"; then
66289 am__EXEEXT_TRUE=
66290 am__EXEEXT_FALSE='#'
66291 else
66292 am__EXEEXT_TRUE='#'
66293 am__EXEEXT_FALSE=
66296 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66297 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66300 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66301 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66304 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66305 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66308 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66309 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66312 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66313 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66316 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66317 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66320 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66321 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66324 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66325 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66328 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66329 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66332 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66333 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66336 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66337 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66340 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66341 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66344 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66345 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66348 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66349 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66352 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66353 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66356 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66357 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66360 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66361 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66364 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66365 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66368 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66369 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66372 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66373 as_fn_error "conditional \"BUILD_XML\" was never defined.
66374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66376 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66377 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66380 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66381 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66384 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66385 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66388 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66389 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66393 : ${CONFIG_STATUS=./config.status}
66394 ac_write_fail=0
66395 ac_clean_files_save=$ac_clean_files
66396 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66397 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66398 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66399 as_write_fail=0
66400 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66401 #! $SHELL
66402 # Generated by $as_me.
66403 # Run this file to recreate the current configuration.
66404 # Compiler output produced by configure, useful for debugging
66405 # configure, is in config.log if it exists.
66407 debug=false
66408 ac_cs_recheck=false
66409 ac_cs_silent=false
66411 SHELL=\${CONFIG_SHELL-$SHELL}
66412 export SHELL
66413 _ASEOF
66414 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66415 ## -------------------- ##
66416 ## M4sh Initialization. ##
66417 ## -------------------- ##
66419 # Be more Bourne compatible
66420 DUALCASE=1; export DUALCASE # for MKS sh
66421 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66422 emulate sh
66423 NULLCMD=:
66424 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66425 # is contrary to our usage. Disable this feature.
66426 alias -g '${1+"$@"}'='"$@"'
66427 setopt NO_GLOB_SUBST
66428 else
66429 case `(set -o) 2>/dev/null` in #(
66430 *posix*) :
66431 set -o posix ;; #(
66432 *) :
66434 esac
66438 as_nl='
66440 export as_nl
66441 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66442 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66443 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66444 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66445 # Prefer a ksh shell builtin over an external printf program on Solaris,
66446 # but without wasting forks for bash or zsh.
66447 if test -z "$BASH_VERSION$ZSH_VERSION" \
66448 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66449 as_echo='print -r --'
66450 as_echo_n='print -rn --'
66451 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66452 as_echo='printf %s\n'
66453 as_echo_n='printf %s'
66454 else
66455 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66456 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66457 as_echo_n='/usr/ucb/echo -n'
66458 else
66459 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66460 as_echo_n_body='eval
66461 arg=$1;
66462 case $arg in #(
66463 *"$as_nl"*)
66464 expr "X$arg" : "X\\(.*\\)$as_nl";
66465 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66466 esac;
66467 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66469 export as_echo_n_body
66470 as_echo_n='sh -c $as_echo_n_body as_echo'
66472 export as_echo_body
66473 as_echo='sh -c $as_echo_body as_echo'
66476 # The user is always right.
66477 if test "${PATH_SEPARATOR+set}" != set; then
66478 PATH_SEPARATOR=:
66479 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66480 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66481 PATH_SEPARATOR=';'
66486 # IFS
66487 # We need space, tab and new line, in precisely that order. Quoting is
66488 # there to prevent editors from complaining about space-tab.
66489 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66490 # splitting by setting IFS to empty value.)
66491 IFS=" "" $as_nl"
66493 # Find who we are. Look in the path if we contain no directory separator.
66494 case $0 in #((
66495 *[\\/]* ) as_myself=$0 ;;
66496 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66497 for as_dir in $PATH
66499 IFS=$as_save_IFS
66500 test -z "$as_dir" && as_dir=.
66501 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66502 done
66503 IFS=$as_save_IFS
66506 esac
66507 # We did not find ourselves, most probably we were run as `sh COMMAND'
66508 # in which case we are not to be found in the path.
66509 if test "x$as_myself" = x; then
66510 as_myself=$0
66512 if test ! -f "$as_myself"; then
66513 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66514 exit 1
66517 # Unset variables that we do not need and which cause bugs (e.g. in
66518 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66519 # suppresses any "Segmentation fault" message there. '((' could
66520 # trigger a bug in pdksh 5.2.14.
66521 for as_var in BASH_ENV ENV MAIL MAILPATH
66522 do eval test x\${$as_var+set} = xset \
66523 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66524 done
66525 PS1='$ '
66526 PS2='> '
66527 PS4='+ '
66529 # NLS nuisances.
66530 LC_ALL=C
66531 export LC_ALL
66532 LANGUAGE=C
66533 export LANGUAGE
66535 # CDPATH.
66536 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66539 # as_fn_error ERROR [LINENO LOG_FD]
66540 # ---------------------------------
66541 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66542 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66543 # script with status $?, using 1 if that was 0.
66544 as_fn_error ()
66546 as_status=$?; test $as_status -eq 0 && as_status=1
66547 if test "$3"; then
66548 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66549 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66551 $as_echo "$as_me: error: $1" >&2
66552 as_fn_exit $as_status
66553 } # as_fn_error
66556 # as_fn_set_status STATUS
66557 # -----------------------
66558 # Set $? to STATUS, without forking.
66559 as_fn_set_status ()
66561 return $1
66562 } # as_fn_set_status
66564 # as_fn_exit STATUS
66565 # -----------------
66566 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66567 as_fn_exit ()
66569 set +e
66570 as_fn_set_status $1
66571 exit $1
66572 } # as_fn_exit
66574 # as_fn_unset VAR
66575 # ---------------
66576 # Portably unset VAR.
66577 as_fn_unset ()
66579 { eval $1=; unset $1;}
66581 as_unset=as_fn_unset
66582 # as_fn_append VAR VALUE
66583 # ----------------------
66584 # Append the text in VALUE to the end of the definition contained in VAR. Take
66585 # advantage of any shell optimizations that allow amortized linear growth over
66586 # repeated appends, instead of the typical quadratic growth present in naive
66587 # implementations.
66588 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66589 eval 'as_fn_append ()
66591 eval $1+=\$2
66593 else
66594 as_fn_append ()
66596 eval $1=\$$1\$2
66598 fi # as_fn_append
66600 # as_fn_arith ARG...
66601 # ------------------
66602 # Perform arithmetic evaluation on the ARGs, and store the result in the
66603 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66604 # must be portable across $(()) and expr.
66605 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66606 eval 'as_fn_arith ()
66608 as_val=$(( $* ))
66610 else
66611 as_fn_arith ()
66613 as_val=`expr "$@" || test $? -eq 1`
66615 fi # as_fn_arith
66618 if expr a : '\(a\)' >/dev/null 2>&1 &&
66619 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66620 as_expr=expr
66621 else
66622 as_expr=false
66625 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66626 as_basename=basename
66627 else
66628 as_basename=false
66631 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66632 as_dirname=dirname
66633 else
66634 as_dirname=false
66637 as_me=`$as_basename -- "$0" ||
66638 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66639 X"$0" : 'X\(//\)$' \| \
66640 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66641 $as_echo X/"$0" |
66642 sed '/^.*\/\([^/][^/]*\)\/*$/{
66643 s//\1/
66646 /^X\/\(\/\/\)$/{
66647 s//\1/
66650 /^X\/\(\/\).*/{
66651 s//\1/
66654 s/.*/./; q'`
66656 # Avoid depending upon Character Ranges.
66657 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66658 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66659 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66660 as_cr_digits='0123456789'
66661 as_cr_alnum=$as_cr_Letters$as_cr_digits
66663 ECHO_C= ECHO_N= ECHO_T=
66664 case `echo -n x` in #(((((
66665 -n*)
66666 case `echo 'xy\c'` in
66667 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66668 xy) ECHO_C='\c';;
66669 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66670 ECHO_T=' ';;
66671 esac;;
66673 ECHO_N='-n';;
66674 esac
66676 rm -f conf$$ conf$$.exe conf$$.file
66677 if test -d conf$$.dir; then
66678 rm -f conf$$.dir/conf$$.file
66679 else
66680 rm -f conf$$.dir
66681 mkdir conf$$.dir 2>/dev/null
66683 if (echo >conf$$.file) 2>/dev/null; then
66684 if ln -s conf$$.file conf$$ 2>/dev/null; then
66685 as_ln_s='ln -s'
66686 # ... but there are two gotchas:
66687 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66688 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66689 # In both cases, we have to default to `cp -p'.
66690 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66691 as_ln_s='cp -p'
66692 elif ln conf$$.file conf$$ 2>/dev/null; then
66693 as_ln_s=ln
66694 else
66695 as_ln_s='cp -p'
66697 else
66698 as_ln_s='cp -p'
66700 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66701 rmdir conf$$.dir 2>/dev/null
66704 # as_fn_mkdir_p
66705 # -------------
66706 # Create "$as_dir" as a directory, including parents if necessary.
66707 as_fn_mkdir_p ()
66710 case $as_dir in #(
66711 -*) as_dir=./$as_dir;;
66712 esac
66713 test -d "$as_dir" || eval $as_mkdir_p || {
66714 as_dirs=
66715 while :; do
66716 case $as_dir in #(
66717 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66718 *) as_qdir=$as_dir;;
66719 esac
66720 as_dirs="'$as_qdir' $as_dirs"
66721 as_dir=`$as_dirname -- "$as_dir" ||
66722 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66723 X"$as_dir" : 'X\(//\)[^/]' \| \
66724 X"$as_dir" : 'X\(//\)$' \| \
66725 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66726 $as_echo X"$as_dir" |
66727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66728 s//\1/
66731 /^X\(\/\/\)[^/].*/{
66732 s//\1/
66735 /^X\(\/\/\)$/{
66736 s//\1/
66739 /^X\(\/\).*/{
66740 s//\1/
66743 s/.*/./; q'`
66744 test -d "$as_dir" && break
66745 done
66746 test -z "$as_dirs" || eval "mkdir $as_dirs"
66747 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66750 } # as_fn_mkdir_p
66751 if mkdir -p . 2>/dev/null; then
66752 as_mkdir_p='mkdir -p "$as_dir"'
66753 else
66754 test -d ./-p && rmdir ./-p
66755 as_mkdir_p=false
66758 if test -x / >/dev/null 2>&1; then
66759 as_test_x='test -x'
66760 else
66761 if ls -dL / >/dev/null 2>&1; then
66762 as_ls_L_option=L
66763 else
66764 as_ls_L_option=
66766 as_test_x='
66767 eval sh -c '\''
66768 if test -d "$1"; then
66769 test -d "$1/.";
66770 else
66771 case $1 in #(
66772 -*)set "./$1";;
66773 esac;
66774 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66775 ???[sx]*):;;*)false;;esac;fi
66776 '\'' sh
66779 as_executable_p=$as_test_x
66781 # Sed expression to map a string onto a valid CPP name.
66782 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66784 # Sed expression to map a string onto a valid variable name.
66785 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66788 exec 6>&1
66789 ## ----------------------------------- ##
66790 ## Main body of $CONFIG_STATUS script. ##
66791 ## ----------------------------------- ##
66792 _ASEOF
66793 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66796 # Save the log message, to keep $0 and so on meaningful, and to
66797 # report actual input values of CONFIG_FILES etc. instead of their
66798 # values after options handling.
66799 ac_log="
66800 This file was extended by package-unused $as_me version-unused, which was
66801 generated by GNU Autoconf 2.64. Invocation command line was
66803 CONFIG_FILES = $CONFIG_FILES
66804 CONFIG_HEADERS = $CONFIG_HEADERS
66805 CONFIG_LINKS = $CONFIG_LINKS
66806 CONFIG_COMMANDS = $CONFIG_COMMANDS
66807 $ $0 $@
66809 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66812 _ACEOF
66814 case $ac_config_files in *"
66815 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66816 esac
66818 case $ac_config_headers in *"
66819 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66820 esac
66823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66824 # Files that config.status was made for.
66825 config_files="$ac_config_files"
66826 config_headers="$ac_config_headers"
66827 config_commands="$ac_config_commands"
66829 _ACEOF
66831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66832 ac_cs_usage="\
66833 \`$as_me' instantiates files and other configuration actions
66834 from templates according to the current configuration. Unless the files
66835 and actions are specified as TAGs, all are instantiated by default.
66837 Usage: $0 [OPTION]... [TAG]...
66839 -h, --help print this help, then exit
66840 -V, --version print version number and configuration settings, then exit
66841 -q, --quiet, --silent
66842 do not print progress messages
66843 -d, --debug don't remove temporary files
66844 --recheck update $as_me by reconfiguring in the same conditions
66845 --file=FILE[:TEMPLATE]
66846 instantiate the configuration file FILE
66847 --header=FILE[:TEMPLATE]
66848 instantiate the configuration header FILE
66850 Configuration files:
66851 $config_files
66853 Configuration headers:
66854 $config_headers
66856 Configuration commands:
66857 $config_commands
66859 Report bugs to the package provider."
66861 _ACEOF
66862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66863 ac_cs_version="\\
66864 package-unused config.status version-unused
66865 configured by $0, generated by GNU Autoconf 2.64,
66866 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66868 Copyright (C) 2009 Free Software Foundation, Inc.
66869 This config.status script is free software; the Free Software Foundation
66870 gives unlimited permission to copy, distribute and modify it."
66872 ac_pwd='$ac_pwd'
66873 srcdir='$srcdir'
66874 INSTALL='$INSTALL'
66875 MKDIR_P='$MKDIR_P'
66876 AWK='$AWK'
66877 test -n "\$AWK" || AWK=awk
66878 _ACEOF
66880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66881 # The default lists apply if the user does not specify any file.
66882 ac_need_defaults=:
66883 while test $# != 0
66885 case $1 in
66886 --*=*)
66887 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66888 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66889 ac_shift=:
66892 ac_option=$1
66893 ac_optarg=$2
66894 ac_shift=shift
66896 esac
66898 case $ac_option in
66899 # Handling of the options.
66900 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66901 ac_cs_recheck=: ;;
66902 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66903 $as_echo "$ac_cs_version"; exit ;;
66904 --debug | --debu | --deb | --de | --d | -d )
66905 debug=: ;;
66906 --file | --fil | --fi | --f )
66907 $ac_shift
66908 case $ac_optarg in
66909 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66910 esac
66911 as_fn_append CONFIG_FILES " '$ac_optarg'"
66912 ac_need_defaults=false;;
66913 --header | --heade | --head | --hea )
66914 $ac_shift
66915 case $ac_optarg in
66916 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66917 esac
66918 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66919 ac_need_defaults=false;;
66920 --he | --h)
66921 # Conflict between --help and --header
66922 as_fn_error "ambiguous option: \`$1'
66923 Try \`$0 --help' for more information.";;
66924 --help | --hel | -h )
66925 $as_echo "$ac_cs_usage"; exit ;;
66926 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66927 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66928 ac_cs_silent=: ;;
66930 # This is an error.
66931 -*) as_fn_error "unrecognized option: \`$1'
66932 Try \`$0 --help' for more information." ;;
66934 *) as_fn_append ac_config_targets " $1"
66935 ac_need_defaults=false ;;
66937 esac
66938 shift
66939 done
66941 ac_configure_extra_args=
66943 if $ac_cs_silent; then
66944 exec 6>/dev/null
66945 ac_configure_extra_args="$ac_configure_extra_args --silent"
66948 _ACEOF
66949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66950 if \$ac_cs_recheck; then
66951 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66952 shift
66953 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66954 CONFIG_SHELL='$SHELL'
66955 export CONFIG_SHELL
66956 exec "\$@"
66959 _ACEOF
66960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66961 exec 5>>config.log
66963 echo
66964 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66965 ## Running $as_me. ##
66966 _ASBOX
66967 $as_echo "$ac_log"
66968 } >&5
66970 _ACEOF
66971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66973 # INIT-COMMANDS
66976 srcdir="$srcdir"
66977 host="$host"
66978 target="$target"
66979 with_multisubdir="$with_multisubdir"
66980 with_multisrctop="$with_multisrctop"
66981 with_target_subdir="$with_target_subdir"
66982 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66983 multi_basedir="$multi_basedir"
66984 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66985 CC="$CC"
66986 CXX="$CXX"
66987 GFORTRAN="$GFORTRAN"
66988 GCJ="$GCJ"
66991 # The HP-UX ksh and POSIX shell print the target directory to stdout
66992 # if CDPATH is set.
66993 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66995 sed_quote_subst='$sed_quote_subst'
66996 double_quote_subst='$double_quote_subst'
66997 delay_variable_subst='$delay_variable_subst'
66998 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66999 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67000 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67001 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67002 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67003 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67004 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67005 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67006 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67007 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67008 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67009 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67010 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67011 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67012 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67013 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67014 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67015 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67016 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67017 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67018 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67019 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67020 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67021 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67022 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67023 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67024 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67025 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67026 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67027 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67028 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67029 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67030 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67031 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67032 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67033 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67034 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67035 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67036 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67037 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67038 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67039 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67040 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67041 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67042 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67043 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67044 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67045 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67046 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"`'
67047 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67048 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67049 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67050 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67051 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67052 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67053 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67054 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67055 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67056 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67057 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67058 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67059 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67060 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67061 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67062 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67063 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67064 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67065 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67066 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67067 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67068 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67069 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67070 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67071 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67072 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67073 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67074 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67075 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67076 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67077 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67078 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67079 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67080 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67081 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67082 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67083 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67084 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67085 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67086 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67087 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67088 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67089 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67090 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67091 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67092 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67093 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67094 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67095 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67096 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67097 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67098 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67099 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67100 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67101 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67102 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67103 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67104 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67105 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67106 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67107 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67108 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67109 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67110 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67111 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67112 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67113 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67114 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67115 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67116 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67117 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67118 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67119 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67120 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67121 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67122 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67123 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67124 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67125 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67126 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67127 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67128 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67129 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67130 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67131 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67132 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67133 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67134 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67135 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67136 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67137 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67138 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67139 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67140 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67141 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67142 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67143 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67144 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67145 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67146 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67147 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67148 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67149 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67150 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67151 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67152 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67153 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67154 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67155 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67156 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67157 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67158 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67159 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67160 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67161 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67162 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67163 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67164 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67165 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67166 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67167 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67168 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67169 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67170 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67171 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67172 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67174 LTCC='$LTCC'
67175 LTCFLAGS='$LTCFLAGS'
67176 compiler='$compiler_DEFAULT'
67178 # A function that is used when there is no print builtin or printf.
67179 func_fallback_echo ()
67181 eval 'cat <<_LTECHO_EOF
67183 _LTECHO_EOF'
67186 # Quote evaled strings.
67187 for var in SHELL \
67188 ECHO \
67189 SED \
67190 GREP \
67191 EGREP \
67192 FGREP \
67193 LD \
67194 NM \
67195 LN_S \
67196 lt_SP2NL \
67197 lt_NL2SP \
67198 reload_flag \
67199 OBJDUMP \
67200 deplibs_check_method \
67201 file_magic_cmd \
67202 AR \
67203 AR_FLAGS \
67204 STRIP \
67205 RANLIB \
67206 CC \
67207 CFLAGS \
67208 compiler \
67209 lt_cv_sys_global_symbol_pipe \
67210 lt_cv_sys_global_symbol_to_cdecl \
67211 lt_cv_sys_global_symbol_to_c_name_address \
67212 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67213 lt_prog_compiler_no_builtin_flag \
67214 lt_prog_compiler_wl \
67215 lt_prog_compiler_pic \
67216 lt_prog_compiler_static \
67217 lt_cv_prog_compiler_c_o \
67218 need_locks \
67219 DSYMUTIL \
67220 NMEDIT \
67221 LIPO \
67222 OTOOL \
67223 OTOOL64 \
67224 shrext_cmds \
67225 export_dynamic_flag_spec \
67226 whole_archive_flag_spec \
67227 compiler_needs_object \
67228 with_gnu_ld \
67229 allow_undefined_flag \
67230 no_undefined_flag \
67231 hardcode_libdir_flag_spec \
67232 hardcode_libdir_flag_spec_ld \
67233 hardcode_libdir_separator \
67234 fix_srcfile_path \
67235 exclude_expsyms \
67236 include_expsyms \
67237 file_list_spec \
67238 variables_saved_for_relink \
67239 libname_spec \
67240 library_names_spec \
67241 soname_spec \
67242 install_override_mode \
67243 finish_eval \
67244 old_striplib \
67245 striplib \
67246 compiler_lib_search_dirs \
67247 predep_objects \
67248 postdep_objects \
67249 predeps \
67250 postdeps \
67251 compiler_lib_search_path \
67252 LD_CXX \
67253 reload_flag_CXX \
67254 compiler_CXX \
67255 lt_prog_compiler_no_builtin_flag_CXX \
67256 lt_prog_compiler_wl_CXX \
67257 lt_prog_compiler_pic_CXX \
67258 lt_prog_compiler_static_CXX \
67259 lt_cv_prog_compiler_c_o_CXX \
67260 export_dynamic_flag_spec_CXX \
67261 whole_archive_flag_spec_CXX \
67262 compiler_needs_object_CXX \
67263 with_gnu_ld_CXX \
67264 allow_undefined_flag_CXX \
67265 no_undefined_flag_CXX \
67266 hardcode_libdir_flag_spec_CXX \
67267 hardcode_libdir_flag_spec_ld_CXX \
67268 hardcode_libdir_separator_CXX \
67269 fix_srcfile_path_CXX \
67270 exclude_expsyms_CXX \
67271 include_expsyms_CXX \
67272 file_list_spec_CXX \
67273 compiler_lib_search_dirs_CXX \
67274 predep_objects_CXX \
67275 postdep_objects_CXX \
67276 predeps_CXX \
67277 postdeps_CXX \
67278 compiler_lib_search_path_CXX; do
67279 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67280 *[\\\\\\\`\\"\\\$]*)
67281 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67284 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67286 esac
67287 done
67289 # Double-quote double-evaled strings.
67290 for var in reload_cmds \
67291 old_postinstall_cmds \
67292 old_postuninstall_cmds \
67293 old_archive_cmds \
67294 extract_expsyms_cmds \
67295 old_archive_from_new_cmds \
67296 old_archive_from_expsyms_cmds \
67297 archive_cmds \
67298 archive_expsym_cmds \
67299 module_cmds \
67300 module_expsym_cmds \
67301 export_symbols_cmds \
67302 prelink_cmds \
67303 postinstall_cmds \
67304 postuninstall_cmds \
67305 finish_cmds \
67306 sys_lib_search_path_spec \
67307 sys_lib_dlsearch_path_spec \
67308 reload_cmds_CXX \
67309 old_archive_cmds_CXX \
67310 old_archive_from_new_cmds_CXX \
67311 old_archive_from_expsyms_cmds_CXX \
67312 archive_cmds_CXX \
67313 archive_expsym_cmds_CXX \
67314 module_cmds_CXX \
67315 module_expsym_cmds_CXX \
67316 export_symbols_cmds_CXX \
67317 prelink_cmds_CXX; do
67318 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67319 *[\\\\\\\`\\"\\\$]*)
67320 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67323 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67325 esac
67326 done
67328 ac_aux_dir='$ac_aux_dir'
67329 xsi_shell='$xsi_shell'
67330 lt_shell_append='$lt_shell_append'
67332 # See if we are running on zsh, and set the options which allow our
67333 # commands through without removal of \ escapes INIT.
67334 if test -n "\${ZSH_VERSION+set}" ; then
67335 setopt NO_GLOB_SUBST
67339 PACKAGE='$PACKAGE'
67340 VERSION='$VERSION'
67341 TIMESTAMP='$TIMESTAMP'
67342 RM='$RM'
67343 ofile='$ofile'
67350 GCC="$GCC"
67351 CC="$CC"
67352 acx_cv_header_stdint="$acx_cv_header_stdint"
67353 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67354 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67355 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67356 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67357 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67358 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67359 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67360 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67361 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67362 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67363 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67364 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67365 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67368 _ACEOF
67370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67372 # Handling of arguments.
67373 for ac_config_target in $ac_config_targets
67375 case $ac_config_target in
67376 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67377 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67378 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67379 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67380 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67381 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67382 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67383 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67384 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67385 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67386 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67387 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67388 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67389 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67390 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67392 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67393 esac
67394 done
67397 # If the user did not use the arguments to specify the items to instantiate,
67398 # then the envvar interface is used. Set only those that are not.
67399 # We use the long form for the default assignment because of an extremely
67400 # bizarre bug on SunOS 4.1.3.
67401 if $ac_need_defaults; then
67402 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67403 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67404 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67407 # Have a temporary directory for convenience. Make it in the build tree
67408 # simply because there is no reason against having it here, and in addition,
67409 # creating and moving files from /tmp can sometimes cause problems.
67410 # Hook for its removal unless debugging.
67411 # Note that there is a small window in which the directory will not be cleaned:
67412 # after its creation but before its name has been assigned to `$tmp'.
67413 $debug ||
67415 tmp=
67416 trap 'exit_status=$?
67417 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67419 trap 'as_fn_exit 1' 1 2 13 15
67421 # Create a (secure) tmp directory for tmp files.
67424 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67425 test -n "$tmp" && test -d "$tmp"
67426 } ||
67428 tmp=./conf$$-$RANDOM
67429 (umask 077 && mkdir "$tmp")
67430 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67432 # Set up the scripts for CONFIG_FILES section.
67433 # No need to generate them if there are no CONFIG_FILES.
67434 # This happens for instance with `./config.status config.h'.
67435 if test -n "$CONFIG_FILES"; then
67438 ac_cr=`echo X | tr X '\015'`
67439 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67440 # But we know of no other shell where ac_cr would be empty at this
67441 # point, so we can use a bashism as a fallback.
67442 if test "x$ac_cr" = x; then
67443 eval ac_cr=\$\'\\r\'
67445 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67446 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67447 ac_cs_awk_cr='\r'
67448 else
67449 ac_cs_awk_cr=$ac_cr
67452 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67453 _ACEOF
67457 echo "cat >conf$$subs.awk <<_ACEOF" &&
67458 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67459 echo "_ACEOF"
67460 } >conf$$subs.sh ||
67461 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67462 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67463 ac_delim='%!_!# '
67464 for ac_last_try in false false false false false :; do
67465 . ./conf$$subs.sh ||
67466 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67468 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67469 if test $ac_delim_n = $ac_delim_num; then
67470 break
67471 elif $ac_last_try; then
67472 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67473 else
67474 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67476 done
67477 rm -f conf$$subs.sh
67479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67480 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67481 _ACEOF
67482 sed -n '
67484 s/^/S["/; s/!.*/"]=/
67487 s/^[^!]*!//
67488 :repl
67489 t repl
67490 s/'"$ac_delim"'$//
67491 t delim
67494 s/\(.\{148\}\).*/\1/
67495 t more1
67496 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67499 b repl
67500 :more1
67501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67504 s/.\{148\}//
67505 t nl
67506 :delim
67508 s/\(.\{148\}\).*/\1/
67509 t more2
67510 s/["\\]/\\&/g; s/^/"/; s/$/"/
67513 :more2
67514 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67517 s/.\{148\}//
67518 t delim
67519 ' <conf$$subs.awk | sed '
67520 /^[^""]/{
67522 s/\n//
67524 ' >>$CONFIG_STATUS || ac_write_fail=1
67525 rm -f conf$$subs.awk
67526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67527 _ACAWK
67528 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67529 for (key in S) S_is_set[key] = 1
67530 FS = "\a"
67534 line = $ 0
67535 nfields = split(line, field, "@")
67536 substed = 0
67537 len = length(field[1])
67538 for (i = 2; i < nfields; i++) {
67539 key = field[i]
67540 keylen = length(key)
67541 if (S_is_set[key]) {
67542 value = S[key]
67543 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67544 len += length(value) + length(field[++i])
67545 substed = 1
67546 } else
67547 len += 1 + keylen
67550 print line
67553 _ACAWK
67554 _ACEOF
67555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67556 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67557 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67558 else
67560 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67561 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67562 _ACEOF
67564 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67565 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67566 # trailing colons and then remove the whole line if VPATH becomes empty
67567 # (actually we leave an empty line to preserve line numbers).
67568 if test "x$srcdir" = x.; then
67569 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67570 s/:*\$(srcdir):*/:/
67571 s/:*\${srcdir}:*/:/
67572 s/:*@srcdir@:*/:/
67573 s/^\([^=]*=[ ]*\):*/\1/
67574 s/:*$//
67575 s/^[^=]*=[ ]*$//
67579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67580 fi # test -n "$CONFIG_FILES"
67582 # Set up the scripts for CONFIG_HEADERS section.
67583 # No need to generate them if there are no CONFIG_HEADERS.
67584 # This happens for instance with `./config.status Makefile'.
67585 if test -n "$CONFIG_HEADERS"; then
67586 cat >"$tmp/defines.awk" <<\_ACAWK ||
67587 BEGIN {
67588 _ACEOF
67590 # Transform confdefs.h into an awk script `defines.awk', embedded as
67591 # here-document in config.status, that substitutes the proper values into
67592 # config.h.in to produce config.h.
67594 # Create a delimiter string that does not exist in confdefs.h, to ease
67595 # handling of long lines.
67596 ac_delim='%!_!# '
67597 for ac_last_try in false false :; do
67598 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67599 if test -z "$ac_t"; then
67600 break
67601 elif $ac_last_try; then
67602 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67603 else
67604 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67606 done
67608 # For the awk script, D is an array of macro values keyed by name,
67609 # likewise P contains macro parameters if any. Preserve backslash
67610 # newline sequences.
67612 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67613 sed -n '
67614 s/.\{148\}/&'"$ac_delim"'/g
67615 t rset
67616 :rset
67617 s/^[ ]*#[ ]*define[ ][ ]*/ /
67618 t def
67620 :def
67621 s/\\$//
67622 t bsnl
67623 s/["\\]/\\&/g
67624 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67625 D["\1"]=" \3"/p
67626 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67628 :bsnl
67629 s/["\\]/\\&/g
67630 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67631 D["\1"]=" \3\\\\\\n"\\/p
67632 t cont
67633 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67634 t cont
67636 :cont
67638 s/.\{148\}/&'"$ac_delim"'/g
67639 t clear
67640 :clear
67641 s/\\$//
67642 t bsnlc
67643 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67645 :bsnlc
67646 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67647 b cont
67648 ' <confdefs.h | sed '
67649 s/'"$ac_delim"'/"\\\
67650 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67653 for (key in D) D_is_set[key] = 1
67654 FS = "\a"
67656 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67657 line = \$ 0
67658 split(line, arg, " ")
67659 if (arg[1] == "#") {
67660 defundef = arg[2]
67661 mac1 = arg[3]
67662 } else {
67663 defundef = substr(arg[1], 2)
67664 mac1 = arg[2]
67666 split(mac1, mac2, "(") #)
67667 macro = mac2[1]
67668 prefix = substr(line, 1, index(line, defundef) - 1)
67669 if (D_is_set[macro]) {
67670 # Preserve the white space surrounding the "#".
67671 print prefix "define", macro P[macro] D[macro]
67672 next
67673 } else {
67674 # Replace #undef with comments. This is necessary, for example,
67675 # in the case of _POSIX_SOURCE, which is predefined and required
67676 # on some systems where configure will not decide to define it.
67677 if (defundef == "undef") {
67678 print "/*", prefix defundef, macro, "*/"
67679 next
67683 { print }
67684 _ACAWK
67685 _ACEOF
67686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67687 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67688 fi # test -n "$CONFIG_HEADERS"
67691 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67692 shift
67693 for ac_tag
67695 case $ac_tag in
67696 :[FHLC]) ac_mode=$ac_tag; continue;;
67697 esac
67698 case $ac_mode$ac_tag in
67699 :[FHL]*:*);;
67700 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67701 :[FH]-) ac_tag=-:-;;
67702 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67703 esac
67704 ac_save_IFS=$IFS
67705 IFS=:
67706 set x $ac_tag
67707 IFS=$ac_save_IFS
67708 shift
67709 ac_file=$1
67710 shift
67712 case $ac_mode in
67713 :L) ac_source=$1;;
67714 :[FH])
67715 ac_file_inputs=
67716 for ac_f
67718 case $ac_f in
67719 -) ac_f="$tmp/stdin";;
67720 *) # Look for the file first in the build tree, then in the source tree
67721 # (if the path is not absolute). The absolute path cannot be DOS-style,
67722 # because $ac_f cannot contain `:'.
67723 test -f "$ac_f" ||
67724 case $ac_f in
67725 [\\/$]*) false;;
67726 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67727 esac ||
67728 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67729 esac
67730 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67731 as_fn_append ac_file_inputs " '$ac_f'"
67732 done
67734 # Let's still pretend it is `configure' which instantiates (i.e., don't
67735 # use $as_me), people would be surprised to read:
67736 # /* config.h. Generated by config.status. */
67737 configure_input='Generated from '`
67738 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67739 `' by configure.'
67740 if test x"$ac_file" != x-; then
67741 configure_input="$ac_file. $configure_input"
67742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67743 $as_echo "$as_me: creating $ac_file" >&6;}
67745 # Neutralize special characters interpreted by sed in replacement strings.
67746 case $configure_input in #(
67747 *\&* | *\|* | *\\* )
67748 ac_sed_conf_input=`$as_echo "$configure_input" |
67749 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67750 *) ac_sed_conf_input=$configure_input;;
67751 esac
67753 case $ac_tag in
67754 *:-:* | *:-) cat >"$tmp/stdin" \
67755 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67756 esac
67758 esac
67760 ac_dir=`$as_dirname -- "$ac_file" ||
67761 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67762 X"$ac_file" : 'X\(//\)[^/]' \| \
67763 X"$ac_file" : 'X\(//\)$' \| \
67764 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67765 $as_echo X"$ac_file" |
67766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67767 s//\1/
67770 /^X\(\/\/\)[^/].*/{
67771 s//\1/
67774 /^X\(\/\/\)$/{
67775 s//\1/
67778 /^X\(\/\).*/{
67779 s//\1/
67782 s/.*/./; q'`
67783 as_dir="$ac_dir"; as_fn_mkdir_p
67784 ac_builddir=.
67786 case "$ac_dir" in
67787 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67789 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67790 # A ".." for each directory in $ac_dir_suffix.
67791 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67792 case $ac_top_builddir_sub in
67793 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67794 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67795 esac ;;
67796 esac
67797 ac_abs_top_builddir=$ac_pwd
67798 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67799 # for backward compatibility:
67800 ac_top_builddir=$ac_top_build_prefix
67802 case $srcdir in
67803 .) # We are building in place.
67804 ac_srcdir=.
67805 ac_top_srcdir=$ac_top_builddir_sub
67806 ac_abs_top_srcdir=$ac_pwd ;;
67807 [\\/]* | ?:[\\/]* ) # Absolute name.
67808 ac_srcdir=$srcdir$ac_dir_suffix;
67809 ac_top_srcdir=$srcdir
67810 ac_abs_top_srcdir=$srcdir ;;
67811 *) # Relative name.
67812 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67813 ac_top_srcdir=$ac_top_build_prefix$srcdir
67814 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67815 esac
67816 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67819 case $ac_mode in
67822 # CONFIG_FILE
67825 case $INSTALL in
67826 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67827 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67828 esac
67829 ac_MKDIR_P=$MKDIR_P
67830 case $MKDIR_P in
67831 [\\/$]* | ?:[\\/]* ) ;;
67832 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67833 esac
67834 _ACEOF
67836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67837 # If the template does not know about datarootdir, expand it.
67838 # FIXME: This hack should be removed a few years after 2.60.
67839 ac_datarootdir_hack=; ac_datarootdir_seen=
67840 ac_sed_dataroot='
67841 /datarootdir/ {
67845 /@datadir@/p
67846 /@docdir@/p
67847 /@infodir@/p
67848 /@localedir@/p
67849 /@mandir@/p'
67850 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67851 *datarootdir*) ac_datarootdir_seen=yes;;
67852 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67854 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67855 _ACEOF
67856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67857 ac_datarootdir_hack='
67858 s&@datadir@&$datadir&g
67859 s&@docdir@&$docdir&g
67860 s&@infodir@&$infodir&g
67861 s&@localedir@&$localedir&g
67862 s&@mandir@&$mandir&g
67863 s&\\\${datarootdir}&$datarootdir&g' ;;
67864 esac
67865 _ACEOF
67867 # Neutralize VPATH when `$srcdir' = `.'.
67868 # Shell code in configure.ac might set extrasub.
67869 # FIXME: do we really want to maintain this feature?
67870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67871 ac_sed_extra="$ac_vpsub
67872 $extrasub
67873 _ACEOF
67874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67876 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67877 s|@configure_input@|$ac_sed_conf_input|;t t
67878 s&@top_builddir@&$ac_top_builddir_sub&;t t
67879 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67880 s&@srcdir@&$ac_srcdir&;t t
67881 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67882 s&@top_srcdir@&$ac_top_srcdir&;t t
67883 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67884 s&@builddir@&$ac_builddir&;t t
67885 s&@abs_builddir@&$ac_abs_builddir&;t t
67886 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67887 s&@INSTALL@&$ac_INSTALL&;t t
67888 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67889 $ac_datarootdir_hack
67891 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67892 || as_fn_error "could not create $ac_file" "$LINENO" 5
67894 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67895 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67896 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67898 which seems to be undefined. Please make sure it is defined." >&5
67899 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67900 which seems to be undefined. Please make sure it is defined." >&2;}
67902 rm -f "$tmp/stdin"
67903 case $ac_file in
67904 -) cat "$tmp/out" && rm -f "$tmp/out";;
67905 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67906 esac \
67907 || as_fn_error "could not create $ac_file" "$LINENO" 5
67911 # CONFIG_HEADER
67913 if test x"$ac_file" != x-; then
67915 $as_echo "/* $configure_input */" \
67916 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67917 } >"$tmp/config.h" \
67918 || as_fn_error "could not create $ac_file" "$LINENO" 5
67919 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67920 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67921 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67922 else
67923 rm -f "$ac_file"
67924 mv "$tmp/config.h" "$ac_file" \
67925 || as_fn_error "could not create $ac_file" "$LINENO" 5
67927 else
67928 $as_echo "/* $configure_input */" \
67929 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67930 || as_fn_error "could not create -" "$LINENO" 5
67932 # Compute "$ac_file"'s index in $config_headers.
67933 _am_arg="$ac_file"
67934 _am_stamp_count=1
67935 for _am_header in $config_headers :; do
67936 case $_am_header in
67937 $_am_arg | $_am_arg:* )
67938 break ;;
67940 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67941 esac
67942 done
67943 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67944 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67945 X"$_am_arg" : 'X\(//\)[^/]' \| \
67946 X"$_am_arg" : 'X\(//\)$' \| \
67947 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67948 $as_echo X"$_am_arg" |
67949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67950 s//\1/
67953 /^X\(\/\/\)[^/].*/{
67954 s//\1/
67957 /^X\(\/\/\)$/{
67958 s//\1/
67961 /^X\(\/\).*/{
67962 s//\1/
67965 s/.*/./; q'`/stamp-h$_am_stamp_count
67968 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67969 $as_echo "$as_me: executing $ac_file commands" >&6;}
67971 esac
67974 case $ac_file$ac_mode in
67975 "default-1":C)
67976 # Only add multilib support code if we just rebuilt the top-level
67977 # Makefile.
67978 case " $CONFIG_FILES " in
67979 *" Makefile "*)
67980 ac_file=Makefile . ${multi_basedir}/config-ml.in
67982 esac ;;
67983 "libtool":C)
67985 # See if we are running on zsh, and set the options which allow our
67986 # commands through without removal of \ escapes.
67987 if test -n "${ZSH_VERSION+set}" ; then
67988 setopt NO_GLOB_SUBST
67991 cfgfile="${ofile}T"
67992 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67993 $RM "$cfgfile"
67995 cat <<_LT_EOF >> "$cfgfile"
67996 #! $SHELL
67998 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67999 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68000 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68001 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68003 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68004 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68005 # Written by Gordon Matzigkeit, 1996
68007 # This file is part of GNU Libtool.
68009 # GNU Libtool is free software; you can redistribute it and/or
68010 # modify it under the terms of the GNU General Public License as
68011 # published by the Free Software Foundation; either version 2 of
68012 # the License, or (at your option) any later version.
68014 # As a special exception to the GNU General Public License,
68015 # if you distribute this file as part of a program or library that
68016 # is built using GNU Libtool, you may include this file under the
68017 # same distribution terms that you use for the rest of that program.
68019 # GNU Libtool is distributed in the hope that it will be useful,
68020 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68021 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68022 # GNU General Public License for more details.
68024 # You should have received a copy of the GNU General Public License
68025 # along with GNU Libtool; see the file COPYING. If not, a copy
68026 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68027 # obtained by writing to the Free Software Foundation, Inc.,
68028 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68031 # The names of the tagged configurations supported by this script.
68032 available_tags="CXX "
68034 # ### BEGIN LIBTOOL CONFIG
68036 # Which release of libtool.m4 was used?
68037 macro_version=$macro_version
68038 macro_revision=$macro_revision
68040 # Whether or not to build shared libraries.
68041 build_libtool_libs=$enable_shared
68043 # Whether or not to build static libraries.
68044 build_old_libs=$enable_static
68046 # What type of objects to build.
68047 pic_mode=$pic_mode
68049 # Whether or not to optimize for fast installation.
68050 fast_install=$enable_fast_install
68052 # Shell to use when invoking shell scripts.
68053 SHELL=$lt_SHELL
68055 # An echo program that protects backslashes.
68056 ECHO=$lt_ECHO
68058 # The host system.
68059 host_alias=$host_alias
68060 host=$host
68061 host_os=$host_os
68063 # The build system.
68064 build_alias=$build_alias
68065 build=$build
68066 build_os=$build_os
68068 # A sed program that does not truncate output.
68069 SED=$lt_SED
68071 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68072 Xsed="\$SED -e 1s/^X//"
68074 # A grep program that handles long lines.
68075 GREP=$lt_GREP
68077 # An ERE matcher.
68078 EGREP=$lt_EGREP
68080 # A literal string matcher.
68081 FGREP=$lt_FGREP
68083 # A BSD- or MS-compatible name lister.
68084 NM=$lt_NM
68086 # Whether we need soft or hard links.
68087 LN_S=$lt_LN_S
68089 # What is the maximum length of a command?
68090 max_cmd_len=$max_cmd_len
68092 # Object file suffix (normally "o").
68093 objext=$ac_objext
68095 # Executable file suffix (normally "").
68096 exeext=$exeext
68098 # whether the shell understands "unset".
68099 lt_unset=$lt_unset
68101 # turn spaces into newlines.
68102 SP2NL=$lt_lt_SP2NL
68104 # turn newlines into spaces.
68105 NL2SP=$lt_lt_NL2SP
68107 # An object symbol dumper.
68108 OBJDUMP=$lt_OBJDUMP
68110 # Method to check whether dependent libraries are shared objects.
68111 deplibs_check_method=$lt_deplibs_check_method
68113 # Command to use when deplibs_check_method == "file_magic".
68114 file_magic_cmd=$lt_file_magic_cmd
68116 # The archiver.
68117 AR=$lt_AR
68118 AR_FLAGS=$lt_AR_FLAGS
68120 # A symbol stripping program.
68121 STRIP=$lt_STRIP
68123 # Commands used to install an old-style archive.
68124 RANLIB=$lt_RANLIB
68125 old_postinstall_cmds=$lt_old_postinstall_cmds
68126 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68128 # Whether to use a lock for old archive extraction.
68129 lock_old_archive_extraction=$lock_old_archive_extraction
68131 # A C compiler.
68132 LTCC=$lt_CC
68134 # LTCC compiler flags.
68135 LTCFLAGS=$lt_CFLAGS
68137 # Take the output of nm and produce a listing of raw symbols and C names.
68138 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68140 # Transform the output of nm in a proper C declaration.
68141 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68143 # Transform the output of nm in a C name address pair.
68144 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68146 # Transform the output of nm in a C name address pair when lib prefix is needed.
68147 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68149 # The name of the directory that contains temporary libtool files.
68150 objdir=$objdir
68152 # Used to examine libraries when file_magic_cmd begins with "file".
68153 MAGIC_CMD=$MAGIC_CMD
68155 # Must we lock files when doing compilation?
68156 need_locks=$lt_need_locks
68158 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68159 DSYMUTIL=$lt_DSYMUTIL
68161 # Tool to change global to local symbols on Mac OS X.
68162 NMEDIT=$lt_NMEDIT
68164 # Tool to manipulate fat objects and archives on Mac OS X.
68165 LIPO=$lt_LIPO
68167 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68168 OTOOL=$lt_OTOOL
68170 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68171 OTOOL64=$lt_OTOOL64
68173 # Old archive suffix (normally "a").
68174 libext=$libext
68176 # Shared library suffix (normally ".so").
68177 shrext_cmds=$lt_shrext_cmds
68179 # The commands to extract the exported symbol list from a shared archive.
68180 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68182 # Variables whose values should be saved in libtool wrapper scripts and
68183 # restored at link time.
68184 variables_saved_for_relink=$lt_variables_saved_for_relink
68186 # Do we need the "lib" prefix for modules?
68187 need_lib_prefix=$need_lib_prefix
68189 # Do we need a version for libraries?
68190 need_version=$need_version
68192 # Library versioning type.
68193 version_type=$version_type
68195 # Shared library runtime path variable.
68196 runpath_var=$runpath_var
68198 # Shared library path variable.
68199 shlibpath_var=$shlibpath_var
68201 # Is shlibpath searched before the hard-coded library search path?
68202 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68204 # Format of library name prefix.
68205 libname_spec=$lt_libname_spec
68207 # List of archive names. First name is the real one, the rest are links.
68208 # The last name is the one that the linker finds with -lNAME
68209 library_names_spec=$lt_library_names_spec
68211 # The coded name of the library, if different from the real name.
68212 soname_spec=$lt_soname_spec
68214 # Permission mode override for installation of shared libraries.
68215 install_override_mode=$lt_install_override_mode
68217 # Command to use after installation of a shared archive.
68218 postinstall_cmds=$lt_postinstall_cmds
68220 # Command to use after uninstallation of a shared archive.
68221 postuninstall_cmds=$lt_postuninstall_cmds
68223 # Commands used to finish a libtool library installation in a directory.
68224 finish_cmds=$lt_finish_cmds
68226 # As "finish_cmds", except a single script fragment to be evaled but
68227 # not shown.
68228 finish_eval=$lt_finish_eval
68230 # Whether we should hardcode library paths into libraries.
68231 hardcode_into_libs=$hardcode_into_libs
68233 # Compile-time system search path for libraries.
68234 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68236 # Run-time system search path for libraries.
68237 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68239 # Whether dlopen is supported.
68240 dlopen_support=$enable_dlopen
68242 # Whether dlopen of programs is supported.
68243 dlopen_self=$enable_dlopen_self
68245 # Whether dlopen of statically linked programs is supported.
68246 dlopen_self_static=$enable_dlopen_self_static
68248 # Commands to strip libraries.
68249 old_striplib=$lt_old_striplib
68250 striplib=$lt_striplib
68253 # The linker used to build libraries.
68254 LD=$lt_LD
68256 # How to create reloadable object files.
68257 reload_flag=$lt_reload_flag
68258 reload_cmds=$lt_reload_cmds
68260 # Commands used to build an old-style archive.
68261 old_archive_cmds=$lt_old_archive_cmds
68263 # A language specific compiler.
68264 CC=$lt_compiler
68266 # Is the compiler the GNU compiler?
68267 with_gcc=$GCC
68269 # Compiler flag to turn off builtin functions.
68270 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68272 # How to pass a linker flag through the compiler.
68273 wl=$lt_lt_prog_compiler_wl
68275 # Additional compiler flags for building library objects.
68276 pic_flag=$lt_lt_prog_compiler_pic
68278 # Compiler flag to prevent dynamic linking.
68279 link_static_flag=$lt_lt_prog_compiler_static
68281 # Does compiler simultaneously support -c and -o options?
68282 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68284 # Whether or not to add -lc for building shared libraries.
68285 build_libtool_need_lc=$archive_cmds_need_lc
68287 # Whether or not to disallow shared libs when runtime libs are static.
68288 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68290 # Compiler flag to allow reflexive dlopens.
68291 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68293 # Compiler flag to generate shared objects directly from archives.
68294 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68296 # Whether the compiler copes with passing no objects directly.
68297 compiler_needs_object=$lt_compiler_needs_object
68299 # Create an old-style archive from a shared archive.
68300 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68302 # Create a temporary old-style archive to link instead of a shared archive.
68303 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68305 # Commands used to build a shared archive.
68306 archive_cmds=$lt_archive_cmds
68307 archive_expsym_cmds=$lt_archive_expsym_cmds
68309 # Commands used to build a loadable module if different from building
68310 # a shared archive.
68311 module_cmds=$lt_module_cmds
68312 module_expsym_cmds=$lt_module_expsym_cmds
68314 # Whether we are building with GNU ld or not.
68315 with_gnu_ld=$lt_with_gnu_ld
68317 # Flag that allows shared libraries with undefined symbols to be built.
68318 allow_undefined_flag=$lt_allow_undefined_flag
68320 # Flag that enforces no undefined symbols.
68321 no_undefined_flag=$lt_no_undefined_flag
68323 # Flag to hardcode \$libdir into a binary during linking.
68324 # This must work even if \$libdir does not exist
68325 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68327 # If ld is used when linking, flag to hardcode \$libdir into a binary
68328 # during linking. This must work even if \$libdir does not exist.
68329 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68331 # Whether we need a single "-rpath" flag with a separated argument.
68332 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68334 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68335 # DIR into the resulting binary.
68336 hardcode_direct=$hardcode_direct
68338 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68339 # DIR into the resulting binary and the resulting library dependency is
68340 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68341 # library is relocated.
68342 hardcode_direct_absolute=$hardcode_direct_absolute
68344 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68345 # into the resulting binary.
68346 hardcode_minus_L=$hardcode_minus_L
68348 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68349 # into the resulting binary.
68350 hardcode_shlibpath_var=$hardcode_shlibpath_var
68352 # Set to "yes" if building a shared library automatically hardcodes DIR
68353 # into the library and all subsequent libraries and executables linked
68354 # against it.
68355 hardcode_automatic=$hardcode_automatic
68357 # Set to yes if linker adds runtime paths of dependent libraries
68358 # to runtime path list.
68359 inherit_rpath=$inherit_rpath
68361 # Whether libtool must link a program against all its dependency libraries.
68362 link_all_deplibs=$link_all_deplibs
68364 # Fix the shell variable \$srcfile for the compiler.
68365 fix_srcfile_path=$lt_fix_srcfile_path
68367 # Set to "yes" if exported symbols are required.
68368 always_export_symbols=$always_export_symbols
68370 # The commands to list exported symbols.
68371 export_symbols_cmds=$lt_export_symbols_cmds
68373 # Symbols that should not be listed in the preloaded symbols.
68374 exclude_expsyms=$lt_exclude_expsyms
68376 # Symbols that must always be exported.
68377 include_expsyms=$lt_include_expsyms
68379 # Commands necessary for linking programs (against libraries) with templates.
68380 prelink_cmds=$lt_prelink_cmds
68382 # Specify filename containing input files.
68383 file_list_spec=$lt_file_list_spec
68385 # How to hardcode a shared library path into an executable.
68386 hardcode_action=$hardcode_action
68388 # The directories searched by this compiler when creating a shared library.
68389 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68391 # Dependencies to place before and after the objects being linked to
68392 # create a shared library.
68393 predep_objects=$lt_predep_objects
68394 postdep_objects=$lt_postdep_objects
68395 predeps=$lt_predeps
68396 postdeps=$lt_postdeps
68398 # The library search path used internally by the compiler when linking
68399 # a shared library.
68400 compiler_lib_search_path=$lt_compiler_lib_search_path
68402 # ### END LIBTOOL CONFIG
68404 _LT_EOF
68406 case $host_os in
68407 aix3*)
68408 cat <<\_LT_EOF >> "$cfgfile"
68409 # AIX sometimes has problems with the GCC collect2 program. For some
68410 # reason, if we set the COLLECT_NAMES environment variable, the problems
68411 # vanish in a puff of smoke.
68412 if test "X${COLLECT_NAMES+set}" != Xset; then
68413 COLLECT_NAMES=
68414 export COLLECT_NAMES
68416 _LT_EOF
68418 esac
68421 ltmain="$ac_aux_dir/ltmain.sh"
68424 # We use sed instead of cat because bash on DJGPP gets confused if
68425 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68426 # text mode, it properly converts lines to CR/LF. This bash problem
68427 # is reportedly fixed, but why not run on old versions too?
68428 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68429 || (rm -f "$cfgfile"; exit 1)
68431 case $xsi_shell in
68432 yes)
68433 cat << \_LT_EOF >> "$cfgfile"
68435 # func_dirname file append nondir_replacement
68436 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68437 # otherwise set result to NONDIR_REPLACEMENT.
68438 func_dirname ()
68440 case ${1} in
68441 */*) func_dirname_result="${1%/*}${2}" ;;
68442 * ) func_dirname_result="${3}" ;;
68443 esac
68446 # func_basename file
68447 func_basename ()
68449 func_basename_result="${1##*/}"
68452 # func_dirname_and_basename file append nondir_replacement
68453 # perform func_basename and func_dirname in a single function
68454 # call:
68455 # dirname: Compute the dirname of FILE. If nonempty,
68456 # add APPEND to the result, otherwise set result
68457 # to NONDIR_REPLACEMENT.
68458 # value returned in "$func_dirname_result"
68459 # basename: Compute filename of FILE.
68460 # value retuned in "$func_basename_result"
68461 # Implementation must be kept synchronized with func_dirname
68462 # and func_basename. For efficiency, we do not delegate to
68463 # those functions but instead duplicate the functionality here.
68464 func_dirname_and_basename ()
68466 case ${1} in
68467 */*) func_dirname_result="${1%/*}${2}" ;;
68468 * ) func_dirname_result="${3}" ;;
68469 esac
68470 func_basename_result="${1##*/}"
68473 # func_stripname prefix suffix name
68474 # strip PREFIX and SUFFIX off of NAME.
68475 # PREFIX and SUFFIX must not contain globbing or regex special
68476 # characters, hashes, percent signs, but SUFFIX may contain a leading
68477 # dot (in which case that matches only a dot).
68478 func_stripname ()
68480 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68481 # positional parameters, so assign one to ordinary parameter first.
68482 func_stripname_result=${3}
68483 func_stripname_result=${func_stripname_result#"${1}"}
68484 func_stripname_result=${func_stripname_result%"${2}"}
68487 # func_opt_split
68488 func_opt_split ()
68490 func_opt_split_opt=${1%%=*}
68491 func_opt_split_arg=${1#*=}
68494 # func_lo2o object
68495 func_lo2o ()
68497 case ${1} in
68498 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68499 *) func_lo2o_result=${1} ;;
68500 esac
68503 # func_xform libobj-or-source
68504 func_xform ()
68506 func_xform_result=${1%.*}.lo
68509 # func_arith arithmetic-term...
68510 func_arith ()
68512 func_arith_result=$(( $* ))
68515 # func_len string
68516 # STRING may not start with a hyphen.
68517 func_len ()
68519 func_len_result=${#1}
68522 _LT_EOF
68524 *) # Bourne compatible functions.
68525 cat << \_LT_EOF >> "$cfgfile"
68527 # func_dirname file append nondir_replacement
68528 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68529 # otherwise set result to NONDIR_REPLACEMENT.
68530 func_dirname ()
68532 # Extract subdirectory from the argument.
68533 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68534 if test "X$func_dirname_result" = "X${1}"; then
68535 func_dirname_result="${3}"
68536 else
68537 func_dirname_result="$func_dirname_result${2}"
68541 # func_basename file
68542 func_basename ()
68544 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68548 # func_stripname prefix suffix name
68549 # strip PREFIX and SUFFIX off of NAME.
68550 # PREFIX and SUFFIX must not contain globbing or regex special
68551 # characters, hashes, percent signs, but SUFFIX may contain a leading
68552 # dot (in which case that matches only a dot).
68553 # func_strip_suffix prefix name
68554 func_stripname ()
68556 case ${2} in
68557 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68558 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68559 esac
68562 # sed scripts:
68563 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68564 my_sed_long_arg='1s/^-[^=]*=//'
68566 # func_opt_split
68567 func_opt_split ()
68569 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68570 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68573 # func_lo2o object
68574 func_lo2o ()
68576 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68579 # func_xform libobj-or-source
68580 func_xform ()
68582 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68585 # func_arith arithmetic-term...
68586 func_arith ()
68588 func_arith_result=`expr "$@"`
68591 # func_len string
68592 # STRING may not start with a hyphen.
68593 func_len ()
68595 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68598 _LT_EOF
68599 esac
68601 case $lt_shell_append in
68602 yes)
68603 cat << \_LT_EOF >> "$cfgfile"
68605 # func_append var value
68606 # Append VALUE to the end of shell variable VAR.
68607 func_append ()
68609 eval "$1+=\$2"
68611 _LT_EOF
68614 cat << \_LT_EOF >> "$cfgfile"
68616 # func_append var value
68617 # Append VALUE to the end of shell variable VAR.
68618 func_append ()
68620 eval "$1=\$$1\$2"
68623 _LT_EOF
68625 esac
68628 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68629 || (rm -f "$cfgfile"; exit 1)
68631 mv -f "$cfgfile" "$ofile" ||
68632 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68633 chmod +x "$ofile"
68636 cat <<_LT_EOF >> "$ofile"
68638 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68640 # The linker used to build libraries.
68641 LD=$lt_LD_CXX
68643 # How to create reloadable object files.
68644 reload_flag=$lt_reload_flag_CXX
68645 reload_cmds=$lt_reload_cmds_CXX
68647 # Commands used to build an old-style archive.
68648 old_archive_cmds=$lt_old_archive_cmds_CXX
68650 # A language specific compiler.
68651 CC=$lt_compiler_CXX
68653 # Is the compiler the GNU compiler?
68654 with_gcc=$GCC_CXX
68656 # Compiler flag to turn off builtin functions.
68657 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68659 # How to pass a linker flag through the compiler.
68660 wl=$lt_lt_prog_compiler_wl_CXX
68662 # Additional compiler flags for building library objects.
68663 pic_flag=$lt_lt_prog_compiler_pic_CXX
68665 # Compiler flag to prevent dynamic linking.
68666 link_static_flag=$lt_lt_prog_compiler_static_CXX
68668 # Does compiler simultaneously support -c and -o options?
68669 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68671 # Whether or not to add -lc for building shared libraries.
68672 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68674 # Whether or not to disallow shared libs when runtime libs are static.
68675 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68677 # Compiler flag to allow reflexive dlopens.
68678 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68680 # Compiler flag to generate shared objects directly from archives.
68681 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68683 # Whether the compiler copes with passing no objects directly.
68684 compiler_needs_object=$lt_compiler_needs_object_CXX
68686 # Create an old-style archive from a shared archive.
68687 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68689 # Create a temporary old-style archive to link instead of a shared archive.
68690 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68692 # Commands used to build a shared archive.
68693 archive_cmds=$lt_archive_cmds_CXX
68694 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68696 # Commands used to build a loadable module if different from building
68697 # a shared archive.
68698 module_cmds=$lt_module_cmds_CXX
68699 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68701 # Whether we are building with GNU ld or not.
68702 with_gnu_ld=$lt_with_gnu_ld_CXX
68704 # Flag that allows shared libraries with undefined symbols to be built.
68705 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68707 # Flag that enforces no undefined symbols.
68708 no_undefined_flag=$lt_no_undefined_flag_CXX
68710 # Flag to hardcode \$libdir into a binary during linking.
68711 # This must work even if \$libdir does not exist
68712 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68714 # If ld is used when linking, flag to hardcode \$libdir into a binary
68715 # during linking. This must work even if \$libdir does not exist.
68716 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68718 # Whether we need a single "-rpath" flag with a separated argument.
68719 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68721 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68722 # DIR into the resulting binary.
68723 hardcode_direct=$hardcode_direct_CXX
68725 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68726 # DIR into the resulting binary and the resulting library dependency is
68727 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68728 # library is relocated.
68729 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68731 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68732 # into the resulting binary.
68733 hardcode_minus_L=$hardcode_minus_L_CXX
68735 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68736 # into the resulting binary.
68737 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68739 # Set to "yes" if building a shared library automatically hardcodes DIR
68740 # into the library and all subsequent libraries and executables linked
68741 # against it.
68742 hardcode_automatic=$hardcode_automatic_CXX
68744 # Set to yes if linker adds runtime paths of dependent libraries
68745 # to runtime path list.
68746 inherit_rpath=$inherit_rpath_CXX
68748 # Whether libtool must link a program against all its dependency libraries.
68749 link_all_deplibs=$link_all_deplibs_CXX
68751 # Fix the shell variable \$srcfile for the compiler.
68752 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68754 # Set to "yes" if exported symbols are required.
68755 always_export_symbols=$always_export_symbols_CXX
68757 # The commands to list exported symbols.
68758 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68760 # Symbols that should not be listed in the preloaded symbols.
68761 exclude_expsyms=$lt_exclude_expsyms_CXX
68763 # Symbols that must always be exported.
68764 include_expsyms=$lt_include_expsyms_CXX
68766 # Commands necessary for linking programs (against libraries) with templates.
68767 prelink_cmds=$lt_prelink_cmds_CXX
68769 # Specify filename containing input files.
68770 file_list_spec=$lt_file_list_spec_CXX
68772 # How to hardcode a shared library path into an executable.
68773 hardcode_action=$hardcode_action_CXX
68775 # The directories searched by this compiler when creating a shared library.
68776 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68778 # Dependencies to place before and after the objects being linked to
68779 # create a shared library.
68780 predep_objects=$lt_predep_objects_CXX
68781 postdep_objects=$lt_postdep_objects_CXX
68782 predeps=$lt_predeps_CXX
68783 postdeps=$lt_postdeps_CXX
68785 # The library search path used internally by the compiler when linking
68786 # a shared library.
68787 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68789 # ### END LIBTOOL TAG CONFIG: CXX
68790 _LT_EOF
68793 "include/gstdint.h":C)
68794 if test "$GCC" = yes; then
68795 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68796 else
68797 echo "/* generated for $CC */" > tmp-stdint.h
68800 sed 's/^ *//' >> tmp-stdint.h <<EOF
68802 #ifndef GCC_GENERATED_STDINT_H
68803 #define GCC_GENERATED_STDINT_H 1
68805 #include <sys/types.h>
68808 if test "$acx_cv_header_stdint" != stdint.h; then
68809 echo "#include <stddef.h>" >> tmp-stdint.h
68811 if test "$acx_cv_header_stdint" != stddef.h; then
68812 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68815 sed 's/^ *//' >> tmp-stdint.h <<EOF
68816 /* glibc uses these symbols as guards to prevent redefinitions. */
68817 #ifdef __int8_t_defined
68818 #define _INT8_T
68819 #define _INT16_T
68820 #define _INT32_T
68821 #endif
68822 #ifdef __uint32_t_defined
68823 #define _UINT32_T
68824 #endif
68828 # ----------------- done header, emit basic int types -------------
68829 if test "$acx_cv_header_stdint" = stddef.h; then
68830 sed 's/^ *//' >> tmp-stdint.h <<EOF
68832 #ifndef _UINT8_T
68833 #define _UINT8_T
68834 #ifndef __uint8_t_defined
68835 #define __uint8_t_defined
68836 #ifndef uint8_t
68837 typedef unsigned $acx_cv_type_int8_t uint8_t;
68838 #endif
68839 #endif
68840 #endif
68842 #ifndef _UINT16_T
68843 #define _UINT16_T
68844 #ifndef __uint16_t_defined
68845 #define __uint16_t_defined
68846 #ifndef uint16_t
68847 typedef unsigned $acx_cv_type_int16_t uint16_t;
68848 #endif
68849 #endif
68850 #endif
68852 #ifndef _UINT32_T
68853 #define _UINT32_T
68854 #ifndef __uint32_t_defined
68855 #define __uint32_t_defined
68856 #ifndef uint32_t
68857 typedef unsigned $acx_cv_type_int32_t uint32_t;
68858 #endif
68859 #endif
68860 #endif
68862 #ifndef _INT8_T
68863 #define _INT8_T
68864 #ifndef __int8_t_defined
68865 #define __int8_t_defined
68866 #ifndef int8_t
68867 typedef $acx_cv_type_int8_t int8_t;
68868 #endif
68869 #endif
68870 #endif
68872 #ifndef _INT16_T
68873 #define _INT16_T
68874 #ifndef __int16_t_defined
68875 #define __int16_t_defined
68876 #ifndef int16_t
68877 typedef $acx_cv_type_int16_t int16_t;
68878 #endif
68879 #endif
68880 #endif
68882 #ifndef _INT32_T
68883 #define _INT32_T
68884 #ifndef __int32_t_defined
68885 #define __int32_t_defined
68886 #ifndef int32_t
68887 typedef $acx_cv_type_int32_t int32_t;
68888 #endif
68889 #endif
68890 #endif
68892 elif test "$ac_cv_type_u_int32_t" = yes; then
68893 sed 's/^ *//' >> tmp-stdint.h <<EOF
68895 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68896 #ifndef _INT8_T
68897 #define _INT8_T
68898 #endif
68899 #ifndef _INT16_T
68900 #define _INT16_T
68901 #endif
68902 #ifndef _INT32_T
68903 #define _INT32_T
68904 #endif
68906 #ifndef _UINT8_T
68907 #define _UINT8_T
68908 #ifndef __uint8_t_defined
68909 #define __uint8_t_defined
68910 #ifndef uint8_t
68911 typedef u_int8_t uint8_t;
68912 #endif
68913 #endif
68914 #endif
68916 #ifndef _UINT16_T
68917 #define _UINT16_T
68918 #ifndef __uint16_t_defined
68919 #define __uint16_t_defined
68920 #ifndef uint16_t
68921 typedef u_int16_t uint16_t;
68922 #endif
68923 #endif
68924 #endif
68926 #ifndef _UINT32_T
68927 #define _UINT32_T
68928 #ifndef __uint32_t_defined
68929 #define __uint32_t_defined
68930 #ifndef uint32_t
68931 typedef u_int32_t uint32_t;
68932 #endif
68933 #endif
68934 #endif
68936 else
68937 sed 's/^ *//' >> tmp-stdint.h <<EOF
68939 /* Some systems have guard macros to prevent redefinitions, define them. */
68940 #ifndef _INT8_T
68941 #define _INT8_T
68942 #endif
68943 #ifndef _INT16_T
68944 #define _INT16_T
68945 #endif
68946 #ifndef _INT32_T
68947 #define _INT32_T
68948 #endif
68949 #ifndef _UINT8_T
68950 #define _UINT8_T
68951 #endif
68952 #ifndef _UINT16_T
68953 #define _UINT16_T
68954 #endif
68955 #ifndef _UINT32_T
68956 #define _UINT32_T
68957 #endif
68961 # ------------- done basic int types, emit int64_t types ------------
68962 if test "$ac_cv_type_uint64_t" = yes; then
68963 sed 's/^ *//' >> tmp-stdint.h <<EOF
68965 /* system headers have good uint64_t and int64_t */
68966 #ifndef _INT64_T
68967 #define _INT64_T
68968 #endif
68969 #ifndef _UINT64_T
68970 #define _UINT64_T
68971 #endif
68973 elif test "$ac_cv_type_u_int64_t" = yes; then
68974 sed 's/^ *//' >> tmp-stdint.h <<EOF
68976 /* system headers have an u_int64_t (and int64_t) */
68977 #ifndef _INT64_T
68978 #define _INT64_T
68979 #endif
68980 #ifndef _UINT64_T
68981 #define _UINT64_T
68982 #ifndef __uint64_t_defined
68983 #define __uint64_t_defined
68984 #ifndef uint64_t
68985 typedef u_int64_t uint64_t;
68986 #endif
68987 #endif
68988 #endif
68990 elif test -n "$acx_cv_type_int64_t"; then
68991 sed 's/^ *//' >> tmp-stdint.h <<EOF
68993 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68994 #ifndef _INT64_T
68995 #define _INT64_T
68996 #ifndef int64_t
68997 typedef $acx_cv_type_int64_t int64_t;
68998 #endif
68999 #endif
69000 #ifndef _UINT64_T
69001 #define _UINT64_T
69002 #ifndef __uint64_t_defined
69003 #define __uint64_t_defined
69004 #ifndef uint64_t
69005 typedef unsigned $acx_cv_type_int64_t uint64_t;
69006 #endif
69007 #endif
69008 #endif
69010 else
69011 sed 's/^ *//' >> tmp-stdint.h <<EOF
69013 /* some common heuristics for int64_t, using compiler-specific tests */
69014 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69015 #ifndef _INT64_T
69016 #define _INT64_T
69017 #ifndef __int64_t_defined
69018 #ifndef int64_t
69019 typedef long long int64_t;
69020 #endif
69021 #endif
69022 #endif
69023 #ifndef _UINT64_T
69024 #define _UINT64_T
69025 #ifndef uint64_t
69026 typedef unsigned long long uint64_t;
69027 #endif
69028 #endif
69030 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69031 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69032 does not implement __extension__. But that compiler doesn't define
69033 __GNUC_MINOR__. */
69034 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69035 # define __extension__
69036 # endif
69038 # ifndef _INT64_T
69039 # define _INT64_T
69040 # ifndef int64_t
69041 __extension__ typedef long long int64_t;
69042 # endif
69043 # endif
69044 # ifndef _UINT64_T
69045 # define _UINT64_T
69046 # ifndef uint64_t
69047 __extension__ typedef unsigned long long uint64_t;
69048 # endif
69049 # endif
69051 #elif !defined __STRICT_ANSI__
69052 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69054 # ifndef _INT64_T
69055 # define _INT64_T
69056 # ifndef int64_t
69057 typedef __int64 int64_t;
69058 # endif
69059 # endif
69060 # ifndef _UINT64_T
69061 # define _UINT64_T
69062 # ifndef uint64_t
69063 typedef unsigned __int64 uint64_t;
69064 # endif
69065 # endif
69066 # endif /* compiler */
69068 #endif /* ANSI version */
69072 # ------------- done int64_t types, emit intptr types ------------
69073 if test "$ac_cv_type_uintptr_t" != yes; then
69074 sed 's/^ *//' >> tmp-stdint.h <<EOF
69076 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69077 #ifndef __uintptr_t_defined
69078 #ifndef uintptr_t
69079 typedef u$acx_cv_type_intptr_t uintptr_t;
69080 #endif
69081 #endif
69082 #ifndef __intptr_t_defined
69083 #ifndef intptr_t
69084 typedef $acx_cv_type_intptr_t intptr_t;
69085 #endif
69086 #endif
69090 # ------------- done intptr types, emit int_least types ------------
69091 if test "$ac_cv_type_int_least32_t" != yes; then
69092 sed 's/^ *//' >> tmp-stdint.h <<EOF
69094 /* Define int_least types */
69095 typedef int8_t int_least8_t;
69096 typedef int16_t int_least16_t;
69097 typedef int32_t int_least32_t;
69098 #ifdef _INT64_T
69099 typedef int64_t int_least64_t;
69100 #endif
69102 typedef uint8_t uint_least8_t;
69103 typedef uint16_t uint_least16_t;
69104 typedef uint32_t uint_least32_t;
69105 #ifdef _UINT64_T
69106 typedef uint64_t uint_least64_t;
69107 #endif
69111 # ------------- done intptr types, emit int_fast types ------------
69112 if test "$ac_cv_type_int_fast32_t" != yes; then
69113 sed 's/^ *//' >> tmp-stdint.h <<EOF
69115 /* Define int_fast types. short is often slow */
69116 typedef int8_t int_fast8_t;
69117 typedef int int_fast16_t;
69118 typedef int32_t int_fast32_t;
69119 #ifdef _INT64_T
69120 typedef int64_t int_fast64_t;
69121 #endif
69123 typedef uint8_t uint_fast8_t;
69124 typedef unsigned int uint_fast16_t;
69125 typedef uint32_t uint_fast32_t;
69126 #ifdef _UINT64_T
69127 typedef uint64_t uint_fast64_t;
69128 #endif
69132 if test "$ac_cv_type_uintmax_t" != yes; then
69133 sed 's/^ *//' >> tmp-stdint.h <<EOF
69135 /* Define intmax based on what we found */
69136 #ifndef intmax_t
69137 #ifdef _INT64_T
69138 typedef int64_t intmax_t;
69139 #else
69140 typedef long intmax_t;
69141 #endif
69142 #endif
69143 #ifndef uintmax_t
69144 #ifdef _UINT64_T
69145 typedef uint64_t uintmax_t;
69146 #else
69147 typedef unsigned long uintmax_t;
69148 #endif
69149 #endif
69153 sed 's/^ *//' >> tmp-stdint.h <<EOF
69155 #endif /* GCC_GENERATED_STDINT_H */
69158 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69159 rm -f tmp-stdint.h
69160 else
69161 mv -f tmp-stdint.h include/gstdint.h
69165 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69166 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69167 "include/Makefile":F) cat > vpsed$$ << \_EOF
69168 s!`test -f '$<' || echo '$(srcdir)/'`!!
69169 _EOF
69170 sed -f vpsed$$ $ac_file > tmp$$
69171 mv tmp$$ $ac_file
69172 rm vpsed$$
69173 echo 'MULTISUBDIR =' >> $ac_file
69174 ml_norecursion=yes
69175 . ${multi_basedir}/config-ml.in
69176 { ml_norecursion=; unset ml_norecursion;}
69178 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69179 s!`test -f '$<' || echo '$(srcdir)/'`!!
69180 _EOF
69181 sed -f vpsed$$ $ac_file > tmp$$
69182 mv tmp$$ $ac_file
69183 rm vpsed$$
69184 echo 'MULTISUBDIR =' >> $ac_file
69185 ml_norecursion=yes
69186 . ${multi_basedir}/config-ml.in
69187 { ml_norecursion=; unset ml_norecursion;}
69189 "python/Makefile":F) cat > vpsed$$ << \_EOF
69190 s!`test -f '$<' || echo '$(srcdir)/'`!!
69191 _EOF
69192 sed -f vpsed$$ $ac_file > tmp$$
69193 mv tmp$$ $ac_file
69194 rm vpsed$$
69195 echo 'MULTISUBDIR =' >> $ac_file
69196 ml_norecursion=yes
69197 . ${multi_basedir}/config-ml.in
69198 { ml_norecursion=; unset ml_norecursion;}
69200 "src/Makefile":F) cat > vpsed$$ << \_EOF
69201 s!`test -f '$<' || echo '$(srcdir)/'`!!
69202 _EOF
69203 sed -f vpsed$$ $ac_file > tmp$$
69204 mv tmp$$ $ac_file
69205 rm vpsed$$
69206 echo 'MULTISUBDIR =' >> $ac_file
69207 ml_norecursion=yes
69208 . ${multi_basedir}/config-ml.in
69209 { ml_norecursion=; unset ml_norecursion;}
69211 "doc/Makefile":F) cat > vpsed$$ << \_EOF
69212 s!`test -f '$<' || echo '$(srcdir)/'`!!
69213 _EOF
69214 sed -f vpsed$$ $ac_file > tmp$$
69215 mv tmp$$ $ac_file
69216 rm vpsed$$
69217 echo 'MULTISUBDIR =' >> $ac_file
69218 ml_norecursion=yes
69219 . ${multi_basedir}/config-ml.in
69220 { ml_norecursion=; unset ml_norecursion;}
69222 "po/Makefile":F) cat > vpsed$$ << \_EOF
69223 s!`test -f '$<' || echo '$(srcdir)/'`!!
69224 _EOF
69225 sed -f vpsed$$ $ac_file > tmp$$
69226 mv tmp$$ $ac_file
69227 rm vpsed$$
69228 echo 'MULTISUBDIR =' >> $ac_file
69229 ml_norecursion=yes
69230 . ${multi_basedir}/config-ml.in
69231 { ml_norecursion=; unset ml_norecursion;}
69233 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69234 s!`test -f '$<' || echo '$(srcdir)/'`!!
69235 _EOF
69236 sed -f vpsed$$ $ac_file > tmp$$
69237 mv tmp$$ $ac_file
69238 rm vpsed$$
69239 echo 'MULTISUBDIR =' >> $ac_file
69240 ml_norecursion=yes
69241 . ${multi_basedir}/config-ml.in
69242 { ml_norecursion=; unset ml_norecursion;}
69244 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69246 esac
69247 done # for ac_tag
69250 as_fn_exit 0
69251 _ACEOF
69252 ac_clean_files=$ac_clean_files_save
69254 test $ac_write_fail = 0 ||
69255 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69258 # configure is writing to config.log, and then calls config.status.
69259 # config.status does its own redirection, appending to config.log.
69260 # Unfortunately, on DOS this fails, as config.log is still kept open
69261 # by configure, so config.status won't be able to write to it; its
69262 # output is simply discarded. So we exec the FD to /dev/null,
69263 # effectively closing config.log, so it can be properly (re)opened and
69264 # appended to by config.status. When coming back to configure, we
69265 # need to make the FD available again.
69266 if test "$no_create" != yes; then
69267 ac_cs_success=:
69268 ac_config_status_args=
69269 test "$silent" = yes &&
69270 ac_config_status_args="$ac_config_status_args --quiet"
69271 exec 5>/dev/null
69272 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69273 exec 5>>config.log
69274 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69275 # would make configure fail if this is the last instruction.
69276 $ac_cs_success || as_fn_exit $?
69278 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69280 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}