Enable cltd for modern CPUs
[official-gcc.git] / libstdc++-v3 / configure
blob1e7c2937524d58ca763ca8226c1956651487e957
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 thread_header
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
731 ac_ct_DUMPBIN
732 DUMPBIN
734 FGREP
736 LIBTOOL
737 EGREP
738 GREP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
881 ac_precious_vars='build_alias
882 host_alias
883 target_alias
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
890 CXXFLAGS
893 CXXCPP
894 CXXFILT'
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
945 ac_prev=
946 ac_dashdash=
947 for ac_option
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\$ac_option
952 ac_prev=
953 continue
956 case $ac_option in
957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 *) ac_optarg=yes ;;
959 esac
961 # Accept the important Cygnus configure options, so we can diagnose typos.
963 case $ac_dashdash$ac_option in
965 ac_dashdash=yes ;;
967 -bindir | --bindir | --bindi | --bind | --bin | --bi)
968 ac_prev=bindir ;;
969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 bindir=$ac_optarg ;;
972 -build | --build | --buil | --bui | --bu)
973 ac_prev=build_alias ;;
974 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975 build_alias=$ac_optarg ;;
977 -cache-file | --cache-file | --cache-fil | --cache-fi \
978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979 ac_prev=cache_file ;;
980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982 cache_file=$ac_optarg ;;
984 --config-cache | -C)
985 cache_file=config.cache ;;
987 -datadir | --datadir | --datadi | --datad)
988 ac_prev=datadir ;;
989 -datadir=* | --datadir=* | --datadi=* | --datad=*)
990 datadir=$ac_optarg ;;
992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993 | --dataroo | --dataro | --datar)
994 ac_prev=datarootdir ;;
995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997 datarootdir=$ac_optarg ;;
999 -disable-* | --disable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1008 "enable_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval enable_$ac_useropt=no ;;
1015 -docdir | --docdir | --docdi | --doc | --do)
1016 ac_prev=docdir ;;
1017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018 docdir=$ac_optarg ;;
1020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021 ac_prev=dvidir ;;
1022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023 dvidir=$ac_optarg ;;
1025 -enable-* | --enable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=\$ac_optarg ;;
1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043 | --exec | --exe | --ex)
1044 ac_prev=exec_prefix ;;
1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047 | --exec=* | --exe=* | --ex=*)
1048 exec_prefix=$ac_optarg ;;
1050 -gas | --gas | --ga | --g)
1051 # Obsolete; use --with-gas.
1052 with_gas=yes ;;
1054 -help | --help | --hel | --he | -h)
1055 ac_init_help=long ;;
1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057 ac_init_help=recursive ;;
1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059 ac_init_help=short ;;
1061 -host | --host | --hos | --ho)
1062 ac_prev=host_alias ;;
1063 -host=* | --host=* | --hos=* | --ho=*)
1064 host_alias=$ac_optarg ;;
1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067 ac_prev=htmldir ;;
1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069 | --ht=*)
1070 htmldir=$ac_optarg ;;
1072 -includedir | --includedir | --includedi | --included | --include \
1073 | --includ | --inclu | --incl | --inc)
1074 ac_prev=includedir ;;
1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076 | --includ=* | --inclu=* | --incl=* | --inc=*)
1077 includedir=$ac_optarg ;;
1079 -infodir | --infodir | --infodi | --infod | --info | --inf)
1080 ac_prev=infodir ;;
1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082 infodir=$ac_optarg ;;
1084 -libdir | --libdir | --libdi | --libd)
1085 ac_prev=libdir ;;
1086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087 libdir=$ac_optarg ;;
1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090 | --libexe | --libex | --libe)
1091 ac_prev=libexecdir ;;
1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093 | --libexe=* | --libex=* | --libe=*)
1094 libexecdir=$ac_optarg ;;
1096 -localedir | --localedir | --localedi | --localed | --locale)
1097 ac_prev=localedir ;;
1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099 localedir=$ac_optarg ;;
1101 -localstatedir | --localstatedir | --localstatedi | --localstated \
1102 | --localstate | --localstat | --localsta | --localst | --locals)
1103 ac_prev=localstatedir ;;
1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106 localstatedir=$ac_optarg ;;
1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109 ac_prev=mandir ;;
1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111 mandir=$ac_optarg ;;
1113 -nfp | --nfp | --nf)
1114 # Obsolete; use --without-fp.
1115 with_fp=no ;;
1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118 | --no-cr | --no-c | -n)
1119 no_create=yes ;;
1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 no_recursion=yes ;;
1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127 | --oldin | --oldi | --old | --ol | --o)
1128 ac_prev=oldincludedir ;;
1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132 oldincludedir=$ac_optarg ;;
1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135 ac_prev=prefix ;;
1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137 prefix=$ac_optarg ;;
1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140 | --program-pre | --program-pr | --program-p)
1141 ac_prev=program_prefix ;;
1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144 program_prefix=$ac_optarg ;;
1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147 | --program-suf | --program-su | --program-s)
1148 ac_prev=program_suffix ;;
1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151 program_suffix=$ac_optarg ;;
1153 -program-transform-name | --program-transform-name \
1154 | --program-transform-nam | --program-transform-na \
1155 | --program-transform-n | --program-transform- \
1156 | --program-transform | --program-transfor \
1157 | --program-transfo | --program-transf \
1158 | --program-trans | --program-tran \
1159 | --progr-tra | --program-tr | --program-t)
1160 ac_prev=program_transform_name ;;
1161 -program-transform-name=* | --program-transform-name=* \
1162 | --program-transform-nam=* | --program-transform-na=* \
1163 | --program-transform-n=* | --program-transform-=* \
1164 | --program-transform=* | --program-transfor=* \
1165 | --program-transfo=* | --program-transf=* \
1166 | --program-trans=* | --program-tran=* \
1167 | --progr-tra=* | --program-tr=* | --program-t=*)
1168 program_transform_name=$ac_optarg ;;
1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171 ac_prev=pdfdir ;;
1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173 pdfdir=$ac_optarg ;;
1175 -psdir | --psdir | --psdi | --psd | --ps)
1176 ac_prev=psdir ;;
1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 psdir=$ac_optarg ;;
1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181 | -silent | --silent | --silen | --sile | --sil)
1182 silent=yes ;;
1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 ac_prev=sbindir ;;
1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187 | --sbi=* | --sb=*)
1188 sbindir=$ac_optarg ;;
1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192 | --sharedst | --shareds | --shared | --share | --shar \
1193 | --sha | --sh)
1194 ac_prev=sharedstatedir ;;
1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198 | --sha=* | --sh=*)
1199 sharedstatedir=$ac_optarg ;;
1201 -site | --site | --sit)
1202 ac_prev=site ;;
1203 -site=* | --site=* | --sit=*)
1204 site=$ac_optarg ;;
1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207 ac_prev=srcdir ;;
1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 srcdir=$ac_optarg ;;
1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212 | --syscon | --sysco | --sysc | --sys | --sy)
1213 ac_prev=sysconfdir ;;
1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 sysconfdir=$ac_optarg ;;
1218 -target | --target | --targe | --targ | --tar | --ta | --t)
1219 ac_prev=target_alias ;;
1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 target_alias=$ac_optarg ;;
1223 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 verbose=yes ;;
1226 -version | --version | --versio | --versi | --vers | -V)
1227 ac_init_version=: ;;
1229 -with-* | --with-*)
1230 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 as_fn_error "invalid package name: $ac_useropt"
1234 ac_useropt_orig=$ac_useropt
1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1238 "with_$ac_useropt"
1239 "*) ;;
1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241 ac_unrecognized_sep=', ';;
1242 esac
1243 eval with_$ac_useropt=\$ac_optarg ;;
1245 -without-* | --without-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1254 "with_$ac_useropt"
1255 "*) ;;
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1258 esac
1259 eval with_$ac_useropt=no ;;
1261 --x)
1262 # Obsolete; use --with-x.
1263 with_x=yes ;;
1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266 | --x-incl | --x-inc | --x-in | --x-i)
1267 ac_prev=x_includes ;;
1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270 x_includes=$ac_optarg ;;
1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274 ac_prev=x_libraries ;;
1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277 x_libraries=$ac_optarg ;;
1279 -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1283 *=*)
1284 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 case $ac_envvar in #(
1287 '' | [0-9]* | *[!_$as_cr_alnum]* )
1288 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289 esac
1290 eval $ac_envvar=\$ac_optarg
1291 export $ac_envvar ;;
1294 # FIXME: should be removed in autoconf 3.0.
1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1301 esac
1302 done
1304 if test -n "$ac_prev"; then
1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306 as_fn_error "missing argument to $ac_option"
1309 if test -n "$ac_unrecognized_opts"; then
1310 case $enable_option_checking in
1311 no) ;;
1312 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 esac
1317 # Check all directory arguments for consistency.
1318 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1323 eval ac_val=\$$ac_var
1324 # Remove trailing slashes.
1325 case $ac_val in
1326 */ )
1327 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\$ac_val;;
1329 esac
1330 # Be sure to have absolute directory names.
1331 case $ac_val in
1332 [\\/$]* | ?:[\\/]* ) continue;;
1333 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334 esac
1335 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347 if test "x$build_alias" = x; then
1348 cross_compiling=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1352 cross_compiling=yes
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1359 test "$silent" = yes && exec 6>/dev/null
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365 as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 as_fn_error "pwd does not report name of working directory"
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 s//\1/
1384 /^X\(\/\/\)[^/].*/{
1385 s//\1/
1388 /^X\(\/\/\)$/{
1389 s//\1/
1392 /^X\(\/\).*/{
1393 s//\1/
1396 s/.*/./; q'`
1397 srcdir=$ac_confdir
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 srcdir=..
1401 else
1402 ac_srcdir_defaulted=no
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411 pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 srcdir=.
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1430 # Report the --help message.
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1435 cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1443 Defaults for the options are specified in brackets.
1445 Configuration:
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 [PREFIX]
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1467 For better control, use the options below.
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1489 _ACEOF
1491 cat <<\_ACEOF
1493 Program names:
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1498 System types:
1499 --build=BUILD configure for building on BUILD [guessed]
1500 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1501 --target=TARGET configure for building compilers for TARGET [HOST]
1502 _ACEOF
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive ) echo "Configuration of package-unused version-unused:";;
1508 esac
1509 cat <<\_ACEOF
1511 Optional Features:
1512 --disable-option-checking ignore unrecognized --enable/--with options
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-multilib build many library versions (default)
1516 --enable-maintainer-mode enable make rules and dependencies not useful
1517 (and sometimes confusing) to the casual installer
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-hosted-libstdcxx
1524 only build freestanding C++ runtime support
1525 --disable-libstdcxx-verbose
1526 disable termination messages to standard error
1527 --enable-sjlj-exceptions
1528 force use of builtin_setjmp for exceptions
1529 [default=auto]
1530 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1531 [default=$is_hosted]
1532 --enable-cstdio[=PACKAGE]
1533 use target-specific I/O package [default=stdio]
1534 --enable-clocale[=MODEL]
1535 use MODEL for target locale package [default=auto]
1536 --enable-nls use Native Language Support (default)
1537 --enable-libstdcxx-allocator[=KIND]
1538 use KIND for target std::allocator base
1539 [default=auto]
1540 --enable-cheaders[=KIND]
1541 construct "C" headers for g++ [default=$c_model]
1542 --enable-long-long enable template specializations for 'long long'
1543 [default=yes]
1544 --enable-wchar_t enable template specializations for 'wchar_t'
1545 [default=yes]
1546 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1547 --enable-concept-checks use Boost-derived template checks [default=no]
1548 --enable-libstdcxx-debug-flags=FLAGS
1549 pass compiler FLAGS when building debug library
1550 [default="-gdwarf-4 -g3 -O0"]
1551 --enable-libstdcxx-debug
1552 build extra debug library [default=no]
1553 --enable-cxx-flags=FLAGS
1554 pass compiler FLAGS when building library [default=]
1555 --enable-fully-dynamic-string
1556 do not put empty strings in per-process static
1557 memory [default=no]
1558 --enable-extern-template
1559 enable extern template [default=yes]
1560 --enable-werror turns on -Werror [default=yes]
1561 --enable-libstdcxx-time[=KIND]
1562 use KIND for check type [default=no]
1563 --enable-tls Use thread-local storage [default=yes]
1564 --disable-rpath do not hardcode runtime library paths
1565 --enable-linux-futex use the Linux futex system call [default=default]
1566 --enable-symvers[=STYLE]
1567 enables symbol versioning of the shared library
1568 [default=yes]
1569 --enable-libstdcxx-visibility
1570 enables visibility safe usage [default=yes]
1571 --enable-libstdcxx-threads
1572 enable C++11 threads support [default=auto]
1573 --enable-version-specific-runtime-libs
1574 Specify that runtime libraries should be installed
1575 in a compiler-specific directory
1577 Optional Packages:
1578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580 --with-target-subdir=SUBDIR
1581 configuring in a subdirectory
1582 --with-cross-host=HOST configuring with a cross compiler
1583 --with-newlib assume newlib as a system C library
1584 --with-pic try to use only PIC/non-PIC objects [default=use
1585 both]
1586 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1587 --with-python-dir the location to install Python modules. This path is
1588 relative starting from the prefix.
1589 --with-gnu-ld assume the C compiler uses GNU ld default=no
1590 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1591 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1592 --with-system-libunwind use installed libunwind
1593 --with-gxx-include-dir=DIR
1594 installation directory for include files
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1604 CXX C++ compiler command
1605 CXXFLAGS C++ compiler flags
1606 CPP C preprocessor
1607 CXXCPP C++ preprocessor
1608 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1609 `c++filt', `gc++filt' on PATH.
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 continue
1625 ac_builddir=.
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1643 case $srcdir in
1644 .) # We are building in place.
1645 ac_srcdir=.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1652 *) # Relative name.
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1662 echo &&
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1665 echo &&
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1667 else
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 fi || ac_status=$?
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1671 done
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676 cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684 exit
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1706 ac_status=$?
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1717 ac_retval=0
1718 else
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1722 ac_retval=1
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 return $ac_retval
1727 } # ac_fn_c_try_compile
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext
1736 if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1760 ac_retval=1
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 return $ac_retval
1765 } # ac_fn_cxx_try_compile
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 ac_status=$?
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } >/dev/null && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1797 ac_retval=1
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 return $ac_retval
1802 } # ac_fn_c_try_cpp
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rm -f conftest.$ac_objext conftest$ac_exeext
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1819 ac_status=$?
1820 if test -s conftest.err; then
1821 grep -v '^ *+' conftest.err >conftest.er1
1822 cat conftest.er1 >&5
1823 mv -f conftest.er1 conftest.err
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest$ac_exeext && {
1830 test "$cross_compiling" = yes ||
1831 $as_test_x conftest$ac_exeext
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1838 ac_retval=1
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 return $ac_retval
1848 } # ac_fn_c_try_link
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860 $as_echo_n "(cached) " >&6
1861 else
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 eval "$3=yes"
1869 else
1870 eval "$3=no"
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874 eval ac_res=\$$3
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879 } # ac_fn_c_check_header_compile
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1906 ac_status=$?
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1915 ac_retval=$ac_status
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 return $ac_retval
1921 } # ac_fn_c_try_run
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 if test x$gcc_no_link = xyes; then
1935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1941 #define $2 innocuous_$2
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char $2 (); below.
1945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946 <limits.h> exists even on freestanding compilers. */
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1954 #undef $2
1956 /* Override any GCC internal prototype to avoid an error.
1957 Use char because int might match the return type of a GCC
1958 builtin and then its argument prototype would still apply. */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1971 main ()
1973 return $2 ();
1975 return 0;
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979 eval "$3=yes"
1980 else
1981 eval "$3=no"
1983 rm -f core conftest.err conftest.$ac_objext \
1984 conftest$ac_exeext conftest.$ac_ext
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991 } # ac_fn_c_check_func
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 ac_status=$?
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } >/dev/null && {
2015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 }; then :
2018 ac_retval=0
2019 else
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2023 ac_retval=1
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 return $ac_retval
2028 } # ac_fn_cxx_try_cpp
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 rm -f conftest.$ac_objext conftest$ac_exeext
2037 if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040 *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>conftest.err
2045 ac_status=$?
2046 if test -s conftest.err; then
2047 grep -v '^ *+' conftest.err >conftest.er1
2048 cat conftest.er1 >&5
2049 mv -f conftest.er1 conftest.err
2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052 test $ac_status = 0; } && {
2053 test -z "$ac_cxx_werror_flag" ||
2054 test ! -s conftest.err
2055 } && test -s conftest$ac_exeext && {
2056 test "$cross_compiling" = yes ||
2057 $as_test_x conftest$ac_exeext
2058 }; then :
2059 ac_retval=0
2060 else
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2064 ac_retval=1
2066 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068 # interfere with the next link command; also delete a directory that is
2069 # left behind by Apple's compiler. We do this before executing the actions.
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072 return $ac_retval
2074 } # ac_fn_cxx_try_link
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2090 eval ac_res=\$$3
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094 # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_header_compiler=yes
2104 else
2105 ac_header_compiler=no
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119 ac_header_preproc=yes
2120 else
2121 ac_header_preproc=no
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2127 # So? What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129 yes:no: )
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2135 no:yes:* )
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 esac
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=\$ac_header_compiler"
2155 eval ac_res=\$$3
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2161 } # ac_fn_c_check_header_mongrel
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2177 eval ac_res=\$$3
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2191 else
2192 ac_header_compiler=no
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2207 else
2208 ac_header_preproc=no
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216 yes:no: )
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2222 no:yes:* )
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2234 esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 eval "$3=\$ac_header_compiler"
2242 eval ac_res=\$$3
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248 } # ac_fn_cxx_check_header_mongrel
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2264 main ()
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2270 return 0;
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2280 main ()
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2286 return 0;
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2306 main ()
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2312 return 0;
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2322 main ()
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2328 return 0;
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2356 main ()
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2362 return 0;
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2385 main ()
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2398 else
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2410 return 0;
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2426 } # ac_fn_c_compute_int
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 eval "$3=no"
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2445 main ()
2447 if (sizeof ($2))
2448 return 0;
2450 return 0;
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2458 main ()
2460 if (sizeof (($2)))
2461 return 0;
2463 return 0;
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2468 else
2469 eval "$3=yes"
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 eval ac_res=\$$3
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64. Invocation command line was
2488 $ $0 $@
2490 _ACEOF
2491 exec 5>>config.log
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2507 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2508 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2511 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2512 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2513 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2515 _ASUNAME
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 $as_echo "PATH: $as_dir"
2523 done
2524 IFS=$as_save_IFS
2526 } >&5
2528 cat >&5 <<_ACEOF
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2535 _ACEOF
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2549 for ac_arg
2551 case $ac_arg in
2552 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554 | -silent | --silent | --silen | --sile | --sil)
2555 continue ;;
2556 *\'*)
2557 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558 esac
2559 case $ac_pass in
2560 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2562 as_fn_append ac_configure_args1 " '$ac_arg'"
2563 if test $ac_must_keep_next = true; then
2564 ac_must_keep_next=false # Got value, back to normal.
2565 else
2566 case $ac_arg in
2567 *=* | --config-cache | -C | -disable-* | --disable-* \
2568 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570 | -with-* | --with-* | -without-* | --without-* | --x)
2571 case "$ac_configure_args0 " in
2572 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573 esac
2575 -* ) ac_must_keep_next=true ;;
2576 esac
2578 as_fn_append ac_configure_args " '$ac_arg'"
2580 esac
2581 done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log. We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592 # Save into config.log some information that might help in debugging.
2594 echo
2596 cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601 echo
2602 # The following way of writing the cache mishandles newlines in values,
2604 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605 eval ac_val=\$$ac_var
2606 case $ac_val in #(
2607 *${as_nl}*)
2608 case $ac_var in #(
2609 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611 esac
2612 case $ac_var in #(
2613 _ | IFS | as_nl) ;; #(
2614 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615 *) { eval $ac_var=; unset $ac_var;} ;;
2616 esac ;;
2617 esac
2618 done
2619 (set) 2>&1 |
2620 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621 *${as_nl}ac_space=\ *)
2622 sed -n \
2623 "s/'\''/'\''\\\\'\'''\''/g;
2624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625 ;; #(
2627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2629 esac |
2630 sort
2632 echo
2634 cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_vars
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2650 if test -n "$ac_subst_files"; then
2651 cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656 echo
2657 for ac_var in $ac_subst_files
2659 eval ac_val=\$$ac_var
2660 case $ac_val in
2661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662 esac
2663 $as_echo "$ac_var='\''$ac_val'\''"
2664 done | sort
2665 echo
2668 if test -s confdefs.h; then
2669 cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674 echo
2675 cat confdefs.h
2676 echo
2678 test "$ac_signal" != 0 &&
2679 $as_echo "$as_me: caught signal $ac_signal"
2680 $as_echo "$as_me: exit $exit_status"
2681 } >&5
2682 rm -f core *.core core.conftest.* &&
2683 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684 exit $exit_status
2686 for ac_signal in 1 2 13 15; do
2687 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2694 $as_echo "/* confdefs.h */" > confdefs.h
2696 # Predefined preprocessor variables.
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728 ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730 ac_site_file1=$prefix/share/config.site
2731 ac_site_file2=$prefix/etc/config.site
2732 else
2733 ac_site_file1=$ac_default_prefix/share/config.site
2734 ac_site_file2=$ac_default_prefix/etc/config.site
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2738 test "x$ac_site_file" = xNONE && continue
2739 if test -r "$ac_site_file"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742 sed 's/^/| /' "$ac_site_file" >&5
2743 . "$ac_site_file"
2745 done
2747 if test -r "$cache_file"; then
2748 # Some versions of bash will fail to source /dev/null (special
2749 # files actually), so we avoid doing that.
2750 if test -f "$cache_file"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753 case $cache_file in
2754 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755 *) . "./$cache_file";;
2756 esac
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761 >$cache_file
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769 eval ac_new_set=\$ac_env_${ac_var}_set
2770 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771 eval ac_new_val=\$ac_env_${ac_var}_value
2772 case $ac_old_set,$ac_new_set in
2773 set,)
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776 ac_cache_corrupted=: ;;
2777 ,set)
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780 ac_cache_corrupted=: ;;
2781 ,);;
2783 if test "x$ac_old_val" != "x$ac_new_val"; then
2784 # differences in whitespace do not lead to failure.
2785 ac_old_val_w=`echo x $ac_old_val`
2786 ac_new_val_w=`echo x $ac_new_val`
2787 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790 ac_cache_corrupted=:
2791 else
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794 eval $ac_var=\$ac_old_val
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2797 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2800 fi;;
2801 esac
2802 # Pass precious variables to config.status.
2803 if test "$ac_new_set" = set; then
2804 case $ac_new_val in
2805 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806 *) ac_arg=$ac_var=$ac_new_val ;;
2807 esac
2808 case " $ac_configure_args " in
2809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2810 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811 esac
2813 done
2814 if $ac_cache_corrupted; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 ac_config_headers="$ac_config_headers config.h"
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported. Only used at the end of this file.
2843 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849 enableval=$enable_multilib; case "$enableval" in
2850 yes) multilib=yes ;;
2851 no) multilib=no ;;
2852 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853 esac
2854 else
2855 multilib=yes
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2863 if test "$srcdir" = "."; then
2864 if test "$with_target_subdir" != "."; then
2865 multi_basedir="$srcdir/$with_multisrctop../.."
2866 else
2867 multi_basedir="$srcdir/$with_multisrctop.."
2869 else
2870 multi_basedir="$srcdir/.."
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877 && test "x${with_multisubdir}" != x ; then
2878 cross_compiling=maybe
2881 ac_config_commands="$ac_config_commands default-1"
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2886 # You will slowly go insane if you do not grok the following fact: when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/. configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf. Therefore, 'target' and
2890 # 'host' will always be the same. This makes sense both for native and
2891 # cross compilers, just think about it for a little while. :-)
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2896 # Do not delete or change the following two lines. For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900 for ac_t in install-sh install.sh shtool; do
2901 if test -f "$ac_dir/$ac_t"; then
2902 ac_aux_dir=$ac_dir
2903 ac_install_sh="$ac_aux_dir/$ac_t -c"
2904 break 2
2906 done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 if test "x$host_alias" = x; then
2965 ac_cv_host=$ac_cv_build
2966 else
2967 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 if test "x$target_alias" = x; then
2998 ac_cv_target=$ac_cv_host
2999 else
3000 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028 test "$program_prefix$program_suffix$program_transform_name" = \
3029 NONENONEs,x,x, &&
3030 program_prefix=${target_alias}-
3032 target_alias=${target_alias-$host_alias}
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3037 if test "$build" != "$host"; then
3038 # We are being configured with some form of cross compiler.
3039 GLIBCXX_IS_NATIVE=false
3040 case "$host","$target" in
3041 # Darwin crosses can use the host system's libraries and headers,
3042 # because of the fat library support. Of course, it must be the
3043 # same version of Darwin on both sides. Allow the user to
3044 # just say --target=foo-darwin without a version number to mean
3045 # "the version on this system".
3046 *-*-darwin*,*-*-darwin*)
3047 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049 if test $hostos = $targetos -o $targetos = darwin ; then
3050 GLIBCXX_IS_NATIVE=true
3057 esac
3058 else
3059 GLIBCXX_IS_NATIVE=true
3062 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 # 1.x: minimum required version
3065 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 # of other PACKAGE_* variables will, however, and there's nothing
3067 # we can do about that; they come from AC_INIT).
3068 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3069 # file in the top srcdir, etc, etc), so stop complaining.
3070 # no-dependencies: turns off auto dependency generation (just for now)
3071 # no-dist: we don't want 'dist' and related rules.
3072 # -Wall: turns on all automake warnings...
3073 # -Wno-portability: ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3076 # Find a good install program. We prefer a C program (faster),
3077 # so one script is as good as another. But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103 ./ | .// | /[cC]/* | \
3104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106 /usr/ucb/* ) ;;
3108 # OSF1 and SCO ODT 3.0 have their own names for install.
3109 # Don't use installbsd from OSF since it installs stuff as root
3110 # by default.
3111 for ac_prog in ginstall scoinst install; do
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114 if test $ac_prog = install &&
3115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116 # AIX install. It has an incompatible calling convention.
3118 elif test $ac_prog = install &&
3119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120 # program-specific install script used by HP pwplus--don't use.
3122 else
3123 rm -rf conftest.one conftest.two conftest.dir
3124 echo one > conftest.one
3125 echo two > conftest.two
3126 mkdir conftest.dir
3127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128 test -s conftest.one && test -s conftest.two &&
3129 test -s conftest.dir/conftest.one &&
3130 test -s conftest.dir/conftest.two
3131 then
3132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133 break 3
3137 done
3138 done
3140 esac
3142 done
3143 IFS=$as_save_IFS
3145 rm -rf conftest.one conftest.two conftest.dir
3148 if test "${ac_cv_path_install+set}" = set; then
3149 INSTALL=$ac_cv_path_install
3150 else
3151 # As a last resort, use the slow shell script. Don't cache a
3152 # value for INSTALL within a source directory, because that will
3153 # break other packages using the cache if that directory is
3154 # removed, or if the value is a relative name.
3155 INSTALL=$ac_install_sh
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name. Accept space and tab only in the latter.
3176 am_lf='
3178 case `pwd` in
3179 *[\\\"\#\$\&\'\`$am_lf]*)
3180 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3184 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments. Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194 if test "$*" = "X"; then
3195 # -L didn't work.
3196 set X `ls -t "$srcdir/configure" conftest.file`
3198 rm -f conftest.file
3199 if test "$*" != "X $srcdir/configure conftest.file" \
3200 && test "$*" != "X conftest.file $srcdir/configure"; then
3202 # If neither matched, then we have a broken ls. This can happen
3203 # if, for instance, CONFIG_SHELL is bash and it inherits a
3204 # broken ls alias from the environment. This has actually
3205 # happened. Such a system could not be considered "sane".
3206 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3210 test "$2" = conftest.file
3212 then
3213 # Ok.
3215 else
3216 as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3234 if test x"${MISSING+set}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3239 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240 esac
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244 am_missing_run="$MISSING --run "
3245 else
3246 am_missing_run=
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3251 if test x"${install_sh}" != xset; then
3252 case $am_aux_dir in
3253 *\ * | *\ *)
3254 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3256 install_sh="\${SHELL} $am_aux_dir/install-sh"
3257 esac
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'. However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$STRIP"; then
3274 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3287 done
3288 done
3289 IFS=$as_save_IFS
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3304 if test -z "$ac_cv_prog_STRIP"; then
3305 ac_ct_STRIP=$STRIP
3306 # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_STRIP"; then
3314 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_ac_ct_STRIP="strip"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3327 done
3328 done
3329 IFS=$as_save_IFS
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3342 if test "x$ac_ct_STRIP" = x; then
3343 STRIP=":"
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 STRIP=$ac_ct_STRIP
3353 else
3354 STRIP="$ac_cv_prog_STRIP"
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363 if test "${ac_cv_path_mkdir+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_prog in mkdir gmkdir; do
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375 'mkdir (GNU coreutils) '* | \
3376 'mkdir (coreutils) '* | \
3377 'mkdir (fileutils) '4.1*)
3378 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379 break 3;;
3380 esac
3381 done
3382 done
3383 done
3384 IFS=$as_save_IFS
3388 if test "${ac_cv_path_mkdir+set}" = set; then
3389 MKDIR_P="$ac_cv_path_mkdir -p"
3390 else
3391 # As a last resort, use the slow shell script. Don't cache a
3392 # value for MKDIR_P within a source directory, because that will
3393 # break other packages using the cache if that directory is
3394 # removed, or if the value is a relative name.
3395 test -d ./--version && rmdir ./--version
3396 MKDIR_P="$ac_install_sh -d"
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404 [\\/$]* | ?:[\\/]*) ;;
3405 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3408 for ac_prog in gawk mawk nawk awk
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 if test -n "$AWK"; then
3418 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_AWK="$ac_prog"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3431 done
3432 done
3433 IFS=$as_save_IFS
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3447 test -n "$AWK" && break
3448 done
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3457 cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460 @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464 *@@@%%%=?*=@@@%%%*)
3465 eval ac_cv_prog_make_${ac_make}_set=yes;;
3467 eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474 SET_MAKE=
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 SET_MAKE="MAKE=${MAKE-make}"
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484 am__leading_dot=.
3485 else
3486 am__leading_dot=_
3488 rmdir .tst 2>/dev/null
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492 # is not polluted with repeated "-I."
3493 am__isrc=' -I$(srcdir)'
3494 # test to see if srcdir already configured
3495 if test -f $srcdir/config.status; then
3496 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502 if (cygpath --version) >/dev/null 2>/dev/null; then
3503 CYGPATH_W='cygpath -w'
3504 else
3505 CYGPATH_W=echo
3510 # Define the identity of the package.
3511 PACKAGE='libstdc++'
3512 VERSION='version-unused'
3515 # Some tools Automake needs.
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3531 # We need awk for the "check" target. The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3595 if test -z "$ac_cv_prog_CC"; then
3596 ac_ct_CC=$CC
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CC="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3644 else
3645 CC="$ac_cv_prog_CC"
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_CC="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3671 done
3672 done
3673 IFS=$as_save_IFS
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected=yes
3710 continue
3712 ac_cv_prog_CC="cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3716 done
3717 done
3718 IFS=$as_save_IFS
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy $ac_cv_prog_CC
3723 shift
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3728 shift
3729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog in cl.exe
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3770 done
3771 done
3772 IFS=$as_save_IFS
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$CC" && break
3787 done
3789 if test -z "$CC"; then
3790 ac_ct_CC=$CC
3791 for ac_prog in cl.exe
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_ac_ct_CC="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3814 done
3815 done
3816 IFS=$as_save_IFS
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$ac_ct_CC" && break
3831 done
3833 if test "x$ac_ct_CC" = x; then
3834 CC=""
3835 else
3836 case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842 CC=$ac_ct_CC
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859 { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 ac_status=$?
3868 if test -s conftest.err; then
3869 sed '10a\
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 done
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3883 main ()
3887 return 0;
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892 (eval $ac_link) 2>&5
3893 ac_status=$?
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; then :
3896 gcc_no_link=no
3897 else
3898 gcc_no_link=yes
3900 if test x$gcc_no_link = xyes; then
3901 # Setting cross_compile will disable run tests; it will
3902 # also disable AC_CHECK_FILE but that's generally
3903 # correct if we can't link.
3904 cross_compiling=yes
3905 EXEEXT=
3906 else
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3911 main ()
3915 return 0;
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3933 case $ac_file in
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936 esac
3937 done
3938 rm -f $ac_rmfiles
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link_default") 2>&5
3948 ac_status=$?
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3958 test -f "$ac_file" || continue
3959 case $ac_file in
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3962 [ab].out )
3963 # We found the default executable, but exeext='' is most
3964 # certainly right.
3965 break;;
3966 *.* )
3967 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968 then :; else
3969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3971 # We set ac_cv_exeext here because the later test for it is not
3972 # safe: cross compilers may not add the suffix if given an `-o'
3973 # argument, so we may need to know it at that point already.
3974 # Even if this section looks crufty: it has the advantage of
3975 # actually working.
3976 break;;
3978 break;;
3979 esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3983 else
3984 ac_file=''
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989 $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3998 ac_exeext=$ac_cv_exeext
4000 # Check that the compiler produces executables we can run. If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006 if { ac_try='./$ac_file'
4007 { { case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_try") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; }; then
4017 cross_compiling=no
4018 else
4019 if test "$cross_compiling" = maybe; then
4020 cross_compiling=yes
4021 else
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060 test -f "$ac_file" || continue
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 break;;
4065 * ) break;;
4066 esac
4067 done
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 main ()
4095 return 0;
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4142 main ()
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4149 return 0;
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4183 main ()
4187 return 0;
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4214 main ()
4218 return 0;
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265 char **p;
4266 int i;
4268 return p[i];
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4272 char *s;
4273 va_list v;
4274 va_start (v,p);
4275 s = g (p, va_arg (v,int));
4276 va_end (v);
4277 return s;
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4301 main ()
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4305 return 0;
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327 xno)
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4352 CXX=$CCC
4353 else
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4378 done
4379 done
4380 IFS=$as_save_IFS
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4394 test -n "$CXX" && break
4395 done
4397 if test -z "$CXX"; then
4398 ac_ct_CXX=$CXX
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4422 done
4423 done
4424 IFS=$as_save_IFS
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$ac_ct_CXX" && break
4439 done
4441 if test "x$ac_ct_CXX" = x; then
4442 CXX="g++"
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CXX=$ac_ct_CXX
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 sed '10a\
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err >conftest.er1
4474 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 done
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4492 #ifndef __GNUC__
4493 choke me
4494 #endif
4497 return 0;
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_compiler_gnu=yes
4502 else
4503 ac_compiler_gnu=no
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512 GXX=yes
4513 else
4514 GXX=
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag=yes
4525 ac_cv_prog_cxx_g=no
4526 CXXFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_cv_prog_cxx_g=yes
4540 else
4541 CXXFLAGS=""
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4546 main ()
4550 return 0;
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4555 else
4556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-g -O2"
4586 else
4587 CXXFLAGS="-g"
4589 else
4590 if test "$GXX" = yes; then
4591 CXXFLAGS="-O2"
4592 else
4593 CXXFLAGS=
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 CXXFLAGS="$save_CXXFLAGS"
4604 # Runs configure.host, and assorted other critical bits. Sets
4605 # up critical shell variables.
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616 CPP=
4618 if test -z "$CPP"; then
4619 if test "${ac_cv_prog_CPP+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 # Double quotes because CPP needs to be expanded
4623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4625 ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4628 # Use a header file that comes with gcc, so configuring glibc
4629 # with a fresh cross-compiler works.
4630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 # <limits.h> exists even on freestanding compilers.
4632 # On the NeXT, cc -E runs the code through the compiler's parser,
4633 # not just through cpp. "Syntax error" is here to catch this case.
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641 Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4645 else
4646 # Broken: fails on valid input.
4647 continue
4649 rm -f conftest.err conftest.$ac_ext
4651 # OK, works on sane cases. Now check whether nonexistent headers
4652 # can be detected and how.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658 # Broken: success on invalid input.
4659 continue
4660 else
4661 # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4665 rm -f conftest.err conftest.$ac_ext
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671 break
4674 done
4675 ac_cv_prog_CPP=$CPP
4678 CPP=$ac_cv_prog_CPP
4679 else
4680 ac_cv_prog_CPP=$CPP
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4687 # Use a header file that comes with gcc, so configuring glibc
4688 # with a fresh cross-compiler works.
4689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690 # <limits.h> exists even on freestanding compilers.
4691 # On the NeXT, cc -E runs the code through the compiler's parser,
4692 # not just through cpp. "Syntax error" is here to catch this case.
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700 Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4704 else
4705 # Broken: fails on valid input.
4706 continue
4708 rm -f conftest.err conftest.$ac_ext
4710 # OK, works on sane cases. Now check whether nonexistent headers
4711 # can be detected and how.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717 # Broken: success on invalid input.
4718 continue
4719 else
4720 # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4724 rm -f conftest.err conftest.$ac_ext
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4731 else
4732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in grep ggrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP="$ac_path_GREP"
4782 ac_path_GREP_max=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4790 $ac_path_GREP_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4798 else
4799 ac_cv_path_GREP=$GREP
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814 then ac_cv_path_EGREP="$GREP -E"
4815 else
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_prog in egrep; do
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4834 ac_count=0
4835 $as_echo_n 0123456789 >"conftest.in"
4836 while :
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844 as_fn_arith $ac_count + 1 && ac_count=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP="$ac_path_EGREP"
4848 ac_path_EGREP_max=$ac_count
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4852 done
4853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4856 $ac_path_EGREP_found && break 3
4857 done
4858 done
4859 done
4860 IFS=$as_save_IFS
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4864 else
4865 ac_cv_path_EGREP=$EGREP
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4876 # Keep these sync'd with the list in Makefile.am. The first provides an
4877 # expandable list at autoconf time; the second provides an expandable list
4878 # (i.e., shell variable) at configure time.
4880 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4882 # These need to be absolute paths, yet at the same time need to
4883 # canonicalize only relative paths, because then amd will not unmount
4884 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885 glibcxx_builddir=`${PWDCMD-pwd}`
4886 case $srcdir in
4887 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889 esac
4890 toplevel_builddir=${glibcxx_builddir}/..
4891 toplevel_srcdir=${glibcxx_srcdir}/..
4897 # We use these options to decide which functions to include. They are
4898 # set from the top level.
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902 withval=$with_target_subdir;
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909 withval=$with_cross_host;
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916 withval=$with_newlib;
4920 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921 # available). Uncomment the next line to force a particular method.
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4933 #LN_S='cp -p'
4935 if test -n "$ac_tool_prefix"; then
4936 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$AS"; then
4944 ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_AS="${ac_tool_prefix}as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4957 done
4958 done
4959 IFS=$as_save_IFS
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4974 if test -z "$ac_cv_prog_AS"; then
4975 ac_ct_AS=$AS
4976 # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AS"; then
4984 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_ac_ct_AS="as"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5012 if test "x$ac_ct_AS" = x; then
5013 AS=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 AS=$ac_ct_AS
5023 else
5024 AS="$ac_cv_prog_AS"
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$AR"; then
5036 ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_AR="${ac_tool_prefix}ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5066 if test -z "$ac_cv_prog_AR"; then
5067 ac_ct_AR=$AR
5068 # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_AR"; then
5076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_ac_ct_AR="ar"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5104 if test "x$ac_ct_AR" = x; then
5105 AR=""
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 AR=$ac_ct_AR
5115 else
5116 AR="$ac_cv_prog_AR"
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159 ac_ct_RANLIB=$RANLIB
5160 # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$ac_ct_RANLIB"; then
5168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_RANLIB="ranlib"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5181 done
5182 done
5183 IFS=$as_save_IFS
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5196 if test "x$ac_ct_RANLIB" = x; then
5197 RANLIB="ranlib-not-found-in-path-error"
5198 else
5199 case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205 RANLIB=$ac_ct_RANLIB
5207 else
5208 RANLIB="$ac_cv_prog_RANLIB"
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215 # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219 USE_MAINTAINER_MODE=no
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224 if test $USE_MAINTAINER_MODE = yes; then
5225 MAINTAINER_MODE_TRUE=
5226 MAINTAINER_MODE_FALSE='#'
5227 else
5228 MAINTAINER_MODE_TRUE='#'
5229 MAINTAINER_MODE_FALSE=
5232 MAINT=$MAINTAINER_MODE_TRUE
5236 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237 # which are themselves conditionally expanded.
5238 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239 ## other macros from doing the same. This should be automated.) -pme
5241 # Check for C library flavor since GNU/Linux platforms use different
5242 # configuration directories depending on the C library in use.
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5246 #include <stdio.h>
5247 #if __UCLIBC__
5248 _using_uclibc
5249 #endif
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254 uclibc=yes
5255 else
5256 uclibc=no
5258 rm -f conftest*
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5264 #include <stdio.h>
5265 #if __BIONIC__
5266 _using_bionic
5267 #endif
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272 bionic=yes
5273 else
5274 bionic=no
5276 rm -f conftest*
5279 # Find platform-specific directories containing configuration info.
5280 # Also possibly modify flags used elsewhere, as needed by the platform.
5282 . $glibcxx_srcdir/configure.host
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292 enable_dlopen=yes
5297 case `pwd` in
5298 *\ * | *\ *)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5320 ltmain="$ac_aux_dir/ltmain.sh"
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348 ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350 ECHO='printf %s\n'
5351 else
5352 # Use this function as a fallback that always works.
5353 func_fallback_echo ()
5355 eval 'cat <<_LTECHO_EOF
5357 _LTECHO_EOF'
5359 ECHO='func_fallback_echo'
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5366 $ECHO ""
5369 case "$ECHO" in
5370 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397 for ac_i in 1 2 3 4 5 6 7; do
5398 ac_script="$ac_script$as_nl$ac_script"
5399 done
5400 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401 { ac_script=; unset ac_script;}
5402 if test -z "$SED"; then
5403 ac_path_SED_found=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_prog in sed gsed; do
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415 # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5420 ac_count=0
5421 $as_echo_n 0123456789 >"conftest.in"
5422 while :
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo '' >> "conftest.nl"
5428 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430 as_fn_arith $ac_count + 1 && ac_count=$as_val
5431 if test $ac_count -gt ${ac_path_SED_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_SED="$ac_path_SED"
5434 ac_path_SED_max=$ac_count
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5438 done
5439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5442 $ac_path_SED_found && break 3
5443 done
5444 done
5445 done
5446 IFS=$as_save_IFS
5447 if test -z "$ac_cv_path_SED"; then
5448 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5450 else
5451 ac_cv_path_SED=$SED
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457 SED="$ac_cv_path_SED"
5458 rm -f conftest.sed
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5480 else
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_prog in fgrep; do
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494 # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5499 ac_count=0
5500 $as_echo_n 0123456789 >"conftest.in"
5501 while :
5503 cat "conftest.in" "conftest.in" >"conftest.tmp"
5504 mv "conftest.tmp" "conftest.in"
5505 cp "conftest.in" "conftest.nl"
5506 $as_echo 'FGREP' >> "conftest.nl"
5507 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509 as_fn_arith $ac_count + 1 && ac_count=$as_val
5510 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511 # Best one so far, save it but keep looking for a better one
5512 ac_cv_path_FGREP="$ac_path_FGREP"
5513 ac_path_FGREP_max=$ac_count
5515 # 10*(2^10) chars as input seems more than enough
5516 test $ac_count -gt 10 && break
5517 done
5518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5521 $ac_path_FGREP_found && break 3
5522 done
5523 done
5524 done
5525 IFS=$as_save_IFS
5526 if test -z "$ac_cv_path_FGREP"; then
5527 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5529 else
5530 ac_cv_path_FGREP=$FGREP
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5540 test -z "$GREP" && GREP=grep
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564 with_gnu_ld=no
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569 # Check if gcc -print-prog-name=ld gives a path.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572 case $host in
5573 *-*-mingw*)
5574 # gcc leaves a trailing carriage return which upsets mingw
5575 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5577 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578 esac
5579 case $ac_prog in
5580 # Accept absolute paths.
5581 [\\/]* | ?:[\\/]*)
5582 re_direlt='/[^/][^/]*/\.\./'
5583 # Canonicalize the pathname of ld
5584 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587 done
5588 test -z "$LD" && LD="$ac_prog"
5591 # If it fails, then pretend we aren't using GCC.
5592 ac_prog=ld
5595 # If it is relative, then search for the first ld in PATH.
5596 with_gnu_ld=unknown
5598 esac
5599 elif test "$with_gnu_ld" = yes; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -z "$LD"; then
5610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611 for ac_dir in $PATH; do
5612 IFS="$lt_save_ifs"
5613 test -z "$ac_dir" && ac_dir=.
5614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615 lt_cv_path_LD="$ac_dir/$ac_prog"
5616 # Check to see if the program is GNU ld. I'd rather use --version,
5617 # but apparently some variants of GNU ld only accept -v.
5618 # Break only if it was the GNU/non-GNU ld that we prefer.
5619 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620 *GNU* | *'with BFD'*)
5621 test "$with_gnu_ld" != no && break
5624 test "$with_gnu_ld" != yes && break
5626 esac
5628 done
5629 IFS="$lt_save_ifs"
5630 else
5631 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652 lt_cv_prog_gnu_ld=yes
5655 lt_cv_prog_gnu_ld=no
5657 esac
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$NM"; then
5677 # Let the user override the test.
5678 lt_cv_path_NM="$NM"
5679 else
5680 lt_nm_to_check="${ac_tool_prefix}nm"
5681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682 lt_nm_to_check="$lt_nm_to_check nm"
5684 for lt_tmp_nm in $lt_nm_to_check; do
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 tmp_nm="$ac_dir/$lt_tmp_nm"
5690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691 # Check to see if the nm accepts a BSD-compat flag.
5692 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693 # nm: unknown option "B" ignored
5694 # Tru64's nm complains that /dev/null is an invalid object file
5695 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696 */dev/null* | *'Invalid file or object type'*)
5697 lt_cv_path_NM="$tmp_nm -B"
5698 break
5701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702 */dev/null*)
5703 lt_cv_path_NM="$tmp_nm -p"
5704 break
5707 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708 continue # so that we can try to find one that supports BSD flags
5710 esac
5712 esac
5714 done
5715 IFS="$lt_save_ifs"
5716 done
5717 : ${lt_cv_path_NM=no}
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723 NM="$lt_cv_path_NM"
5724 else
5725 # Didn't find any BSD compatible name lister, look for dumpbin.
5726 if test -n "$DUMPBIN"; then :
5727 # Let the user override the test.
5728 else
5729 if test -n "$ac_tool_prefix"; then
5730 for ac_prog in dumpbin "link -dump"
5732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$DUMPBIN"; then
5740 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5753 done
5754 done
5755 IFS=$as_save_IFS
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5769 test -n "$DUMPBIN" && break
5770 done
5772 if test -z "$DUMPBIN"; then
5773 ac_ct_DUMPBIN=$DUMPBIN
5774 for ac_prog in dumpbin "link -dump"
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$ac_ct_DUMPBIN"; then
5784 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$ac_ct_DUMPBIN" && break
5814 done
5816 if test "x$ac_ct_DUMPBIN" = x; then
5817 DUMPBIN=":"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 DUMPBIN=$ac_ct_DUMPBIN
5829 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830 *COFF*)
5831 DUMPBIN="$DUMPBIN -symbols"
5834 DUMPBIN=:
5836 esac
5839 if test "$DUMPBIN" != ":"; then
5840 NM="$DUMPBIN"
5843 test -z "$NM" && NM=nm
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 lt_cv_nm_interface="BSD nm"
5856 echo "int some_variable = 0;" > conftest.$ac_ext
5857 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858 (eval "$ac_compile" 2>conftest.err)
5859 cat conftest.err >&5
5860 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862 cat conftest.err >&5
5863 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864 cat conftest.out >&5
5865 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866 lt_cv_nm_interface="MS dumpbin"
5868 rm -f conftest*
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5880 teststring="ABCD"
5882 case $build_os in
5883 msdosdjgpp*)
5884 # On DJGPP, this test can blow up pretty badly due to problems in libc
5885 # (any single argument exceeding 2000 bytes causes a buffer overrun
5886 # during glob expansion). Even if it were fixed, the result of this
5887 # check would be larger than it should be.
5888 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5891 gnu*)
5892 # Under GNU Hurd, this test is not required because there is
5893 # no limit to the length of command line arguments.
5894 # Libtool will interpret -1 as no limit whatsoever
5895 lt_cv_sys_max_cmd_len=-1;
5898 cygwin* | mingw* | cegcc*)
5899 # On Win9x/ME, this test blows up -- it succeeds, but takes
5900 # about 5 minutes as the teststring grows exponentially.
5901 # Worse, since 9x/ME are not pre-emptively multitasking,
5902 # you end up with a "frozen" computer, even though with patience
5903 # the test eventually succeeds (with a max line length of 256k).
5904 # Instead, let's just punt: use the minimum linelength reported by
5905 # all of the supported platforms: 8192 (on NT/2K/XP).
5906 lt_cv_sys_max_cmd_len=8192;
5909 mint*)
5910 # On MiNT this can take a long time and run out of memory.
5911 lt_cv_sys_max_cmd_len=8192;
5914 amigaos*)
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926 else
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5934 interix*)
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5939 osf*)
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949 esac
5952 sco3.2v5*)
5953 lt_cv_sys_max_cmd_len=102400
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5959 else
5960 lt_cv_sys_max_cmd_len=32768
5964 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965 if test -n "$lt_cv_sys_max_cmd_len"; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968 else
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5973 done
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5977 # we can't tell.
5978 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5982 i=`expr $i + 1`
5983 teststring=$teststring$teststring
5984 done
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987 teststring=
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5994 esac
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, \
6023 && eval 'test $(( 1 + 1 )) -eq 2 \
6024 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025 && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034 >/dev/null 2>&1 \
6035 && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041 lt_unset=unset
6042 else
6043 lt_unset=false
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052 A) # ASCII based system
6053 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054 lt_SP2NL='tr \040 \012'
6055 lt_NL2SP='tr \015\012 \040\040'
6057 *) # EBCDIC based system
6058 lt_SP2NL='tr \100 \n'
6059 lt_NL2SP='tr \r\n \100\100'
6061 esac
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 lt_cv_ld_reload_flag='-r'
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087 darwin*)
6088 if test "$GCC" = yes; then
6089 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090 else
6091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6094 esac
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$OBJDUMP"; then
6113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144 ac_ct_OBJDUMP=$OBJDUMP
6145 # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$ac_ct_OBJDUMP"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6181 if test "x$ac_ct_OBJDUMP" = x; then
6182 OBJDUMP="false"
6183 else
6184 case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190 OBJDUMP=$ac_ct_OBJDUMP
6192 else
6193 OBJDUMP="$ac_cv_prog_OBJDUMP"
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6225 case $host_os in
6226 aix[4-9]*)
6227 lt_cv_deplibs_check_method=pass_all
6230 beos*)
6231 lt_cv_deplibs_check_method=pass_all
6234 bsdi[45]*)
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236 lt_cv_file_magic_cmd='/usr/bin/file -L'
6237 lt_cv_file_magic_test_file=/shlib/libc.so
6240 cygwin*)
6241 # func_win32_libid is a shell function defined in ltmain.sh
6242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243 lt_cv_file_magic_cmd='func_win32_libid'
6246 mingw* | pw32*)
6247 # Base MSYS/MinGW do not provide the 'file' command needed by
6248 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249 # unless we find 'file', for example because we are cross-compiling.
6250 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253 lt_cv_file_magic_cmd='func_win32_libid'
6254 else
6255 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256 lt_cv_file_magic_cmd='$OBJDUMP -f'
6260 cegcc*)
6261 # use the weaker test based on 'objdump'. See mingw*.
6262 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6266 darwin* | rhapsody*)
6267 lt_cv_deplibs_check_method=pass_all
6270 freebsd* | dragonfly*)
6271 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 case $host_cpu in
6273 i*86 )
6274 # Not sure whether the presence of OpenBSD here was a mistake.
6275 # Let's accept both of them until this is cleared up.
6276 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6280 esac
6281 else
6282 lt_cv_deplibs_check_method=pass_all
6286 gnu*)
6287 lt_cv_deplibs_check_method=pass_all
6290 haiku*)
6291 lt_cv_deplibs_check_method=pass_all
6294 hpux10.20* | hpux11*)
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 case $host_cpu in
6297 ia64*)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6301 hppa*64*)
6302 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6303 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6309 esac
6312 interix[3-9]*)
6313 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6317 irix5* | irix6* | nonstopux*)
6318 case $LD in
6319 *-32|*"-32 ") libmagic=32-bit;;
6320 *-n32|*"-n32 ") libmagic=N32;;
6321 *-64|*"-64 ") libmagic=64-bit;;
6322 *) libmagic=never-match;;
6323 esac
6324 lt_cv_deplibs_check_method=pass_all
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329 lt_cv_deplibs_check_method=pass_all
6332 netbsd*)
6333 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 else
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6340 newos6*)
6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342 lt_cv_file_magic_cmd=/usr/bin/file
6343 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6346 *nto* | *qnx*)
6347 lt_cv_deplibs_check_method=pass_all
6350 openbsd*)
6351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6358 osf3* | osf4* | osf5*)
6359 lt_cv_deplibs_check_method=pass_all
6362 rdos*)
6363 lt_cv_deplibs_check_method=pass_all
6366 solaris*)
6367 lt_cv_deplibs_check_method=pass_all
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371 lt_cv_deplibs_check_method=pass_all
6374 sysv4 | sysv4.3*)
6375 case $host_vendor in
6376 motorola)
6377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6378 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6380 ncr)
6381 lt_cv_deplibs_check_method=pass_all
6383 sequent)
6384 lt_cv_file_magic_cmd='/bin/file'
6385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6387 sni)
6388 lt_cv_file_magic_cmd='/bin/file'
6389 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390 lt_cv_file_magic_test_file=/lib/libc.so
6392 siemens)
6393 lt_cv_deplibs_check_method=pass_all
6396 lt_cv_deplibs_check_method=pass_all
6398 esac
6401 tpf*)
6402 lt_cv_deplibs_check_method=pass_all
6404 esac
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$AR"; then
6433 ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_AR="${ac_tool_prefix}ar"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6463 if test -z "$ac_cv_prog_AR"; then
6464 ac_ct_AR=$AR
6465 # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$ac_ct_AR"; then
6473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_AR="ar"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6486 done
6487 done
6488 IFS=$as_save_IFS
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6501 if test "x$ac_ct_AR" = x; then
6502 AR="false"
6503 else
6504 case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510 AR=$ac_ct_AR
6512 else
6513 AR="$ac_cv_prog_AR"
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$STRIP"; then
6538 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6551 done
6552 done
6553 IFS=$as_save_IFS
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6568 if test -z "$ac_cv_prog_STRIP"; then
6569 ac_ct_STRIP=$STRIP
6570 # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$ac_ct_STRIP"; then
6578 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_STRIP="strip"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6591 done
6592 done
6593 IFS=$as_save_IFS
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6606 if test "x$ac_ct_STRIP" = x; then
6607 STRIP=":"
6608 else
6609 case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615 STRIP=$ac_ct_STRIP
6617 else
6618 STRIP="$ac_cv_prog_STRIP"
6621 test -z "$STRIP" && STRIP=:
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$RANLIB"; then
6637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6650 done
6651 done
6652 IFS=$as_save_IFS
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668 ac_ct_RANLIB=$RANLIB
6669 # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$ac_ct_RANLIB"; then
6677 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_RANLIB="ranlib"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6690 done
6691 done
6692 IFS=$as_save_IFS
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6705 if test "x$ac_ct_RANLIB" = x; then
6706 RANLIB=":"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 RANLIB=$ac_ct_RANLIB
6716 else
6717 RANLIB="$ac_cv_prog_RANLIB"
6720 test -z "$RANLIB" && RANLIB=:
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6732 if test -n "$RANLIB"; then
6733 case $host_os in
6734 openbsd*)
6735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6738 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6740 esac
6741 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6744 case $host_os in
6745 darwin*)
6746 lock_old_archive_extraction=yes ;;
6748 lock_old_archive_extraction=no ;;
6749 esac
6789 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818 symcode='[BCDT]'
6820 cygwin* | mingw* | pw32* | cegcc*)
6821 symcode='[ABCDGISTW]'
6823 hpux*)
6824 if test "$host_cpu" = ia64; then
6825 symcode='[ABCDEGRST]'
6828 irix* | nonstopux*)
6829 symcode='[BCDEGRST]'
6831 osf*)
6832 symcode='[BCDEGQRST]'
6834 solaris*)
6835 symcode='[BDRT]'
6837 sco3.2v5*)
6838 symcode='[DT]'
6840 sysv4.2uw2*)
6841 symcode='[DT]'
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844 symcode='[ABDT]'
6846 sysv4)
6847 symcode='[DFNSTU]'
6849 esac
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854 symcode='[ABCDGIRSTW]' ;;
6855 esac
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6864 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6872 esac
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6877 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878 symxfrm="\\1 $ac_symprfx\\2 \\2"
6880 # Write the raw and C identifiers.
6881 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882 # Fake it for dumpbin and say T for any non-static function
6883 # and D for any global variable.
6884 # Also find C++ and __fastcall symbols from MSVC++,
6885 # which start with @ or ?.
6886 lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 " {last_section=section; section=\$ 3};"\
6888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 " \$ 0!~/External *\|/{next};"\
6890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 " {if(hide[section]) next};"\
6892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 " ' prfx=^$ac_symprfx"
6897 else
6898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6901 # Check to see that the pipe works correctly.
6902 pipe_works=no
6904 rm -f conftest*
6905 cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6920 ac_status=$?
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 # Now try to grab the symbols.
6924 nlist=conftest.nm
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; } && test -s "$nlist"; then
6930 # Try sorting and uniquifying the output.
6931 if sort "$nlist" | uniq > "$nlist"T; then
6932 mv -f "$nlist"T "$nlist"
6933 else
6934 rm -f "$nlist"T
6937 # Make sure that we snagged all the symbols we need.
6938 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940 cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6945 _LT_EOF
6946 # Now generate the symbol file.
6947 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6949 cat <<_LT_EOF >> conftest.$ac_ext
6951 /* The mapping between symbol names and symbols. */
6952 const struct {
6953 const char *name;
6954 void *address;
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6958 { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961 cat <<\_LT_EOF >> conftest.$ac_ext
6962 {0, (void *) 0}
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968 return lt__PROGRAM__LTX_preloaded_symbols;
6970 #endif
6972 #ifdef __cplusplus
6974 #endif
6975 _LT_EOF
6976 # Now try linking the two files.
6977 mv conftest.$ac_objext conftstm.$ac_objext
6978 lt_save_LIBS="$LIBS"
6979 lt_save_CFLAGS="$CFLAGS"
6980 LIBS="conftstm.$ac_objext"
6981 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983 (eval $ac_link) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987 pipe_works=yes
6989 LIBS="$lt_save_LIBS"
6990 CFLAGS="$lt_save_CFLAGS"
6991 else
6992 echo "cannot find nm_test_func in $nlist" >&5
6994 else
6995 echo "cannot find nm_test_var in $nlist" >&5
6997 else
6998 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7000 else
7001 echo "$progname: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7004 rm -rf conftest* conftst*
7006 # Do not use the global_symbol_pipe unless it works.
7007 if test "$pipe_works" = yes; then
7008 break
7009 else
7010 lt_cv_sys_global_symbol_pipe=
7012 done
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017 lt_cv_sys_global_symbol_to_cdecl=
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050 enableval=$enable_libtool_lock;
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059 # Find out which ABI we are using.
7060 echo 'int i;' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *ELF-32*)
7068 HPUX_IA64_MODE="32"
7070 *ELF-64*)
7071 HPUX_IA64_MODE="64"
7073 esac
7075 rm -rf conftest*
7077 *-*-irix6*)
7078 # Find out which ABI we are using.
7079 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081 (eval $ac_compile) 2>&5
7082 ac_status=$?
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084 test $ac_status = 0; }; then
7085 if test "$lt_cv_prog_gnu_ld" = yes; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *32-bit*)
7088 LD="${LD-ld} -melf32bsmip"
7090 *N32*)
7091 LD="${LD-ld} -melf32bmipn32"
7093 *64-bit*)
7094 LD="${LD-ld} -melf64bmip"
7096 esac
7097 else
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -32"
7102 *N32*)
7103 LD="${LD-ld} -n32"
7105 *64-bit*)
7106 LD="${LD-ld} -64"
7108 esac
7111 rm -rf conftest*
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116 # Find out which ABI we are using.
7117 echo 'int i;' > conftest.$ac_ext
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119 (eval $ac_compile) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; }; then
7123 case `/usr/bin/file conftest.o` in
7124 *32-bit*)
7125 case $host in
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_i386_fbsd"
7129 x86_64-*linux*)
7130 case `/usr/bin/file conftest.o` in
7131 *x86-64*)
7132 LD="${LD-ld} -m elf32_x86_64"
7135 LD="${LD-ld} -m elf_i386"
7137 esac
7139 ppc64-*linux*|powerpc64-*linux*)
7140 LD="${LD-ld} -m elf32ppclinux"
7142 s390x-*linux*)
7143 LD="${LD-ld} -m elf_s390"
7145 sparc64-*linux*)
7146 LD="${LD-ld} -m elf32_sparc"
7148 esac
7150 *64-bit*)
7151 case $host in
7152 x86_64-*kfreebsd*-gnu)
7153 LD="${LD-ld} -m elf_x86_64_fbsd"
7155 x86_64-*linux*)
7156 LD="${LD-ld} -m elf_x86_64"
7158 ppc*-*linux*|powerpc*-*linux*)
7159 LD="${LD-ld} -m elf64ppc"
7161 s390*-*linux*|s390*-*tpf*)
7162 LD="${LD-ld} -m elf64_s390"
7164 sparc*-*linux*)
7165 LD="${LD-ld} -m elf64_sparc"
7167 esac
7169 esac
7171 rm -rf conftest*
7174 *-*-sco3.2v5*)
7175 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176 SAVE_CFLAGS="$CFLAGS"
7177 CFLAGS="$CFLAGS -belf"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7182 else
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7189 if test x$gcc_no_link = xyes; then
7190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7196 main ()
7200 return 0;
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204 lt_cv_cc_needs_belf=yes
7205 else
7206 lt_cv_cc_needs_belf=no
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221 CFLAGS="$SAVE_CFLAGS"
7224 sparc*-*solaris*)
7225 # Find out which ABI we are using.
7226 echo 'int i;' > conftest.$ac_ext
7227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228 (eval $ac_compile) 2>&5
7229 ac_status=$?
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231 test $ac_status = 0; }; then
7232 case `/usr/bin/file conftest.o` in
7233 *64-bit*)
7234 case $lt_cv_prog_gnu_ld in
7235 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7237 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238 LD="${LD-ld} -64"
7241 esac
7243 esac
7245 rm -rf conftest*
7247 esac
7249 need_locks="$enable_libtool_lock"
7252 case $host_os in
7253 rhapsody* | darwin*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7276 done
7277 done
7278 IFS=$as_save_IFS
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7316 done
7317 done
7318 IFS=$as_save_IFS
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7331 if test "x$ac_ct_DSYMUTIL" = x; then
7332 DSYMUTIL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 DSYMUTIL=$ac_ct_DSYMUTIL
7342 else
7343 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_NMEDIT" = x; then
7424 NMEDIT=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 NMEDIT=$ac_ct_NMEDIT
7434 else
7435 NMEDIT="$ac_cv_prog_NMEDIT"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_LIPO"; then
7478 ac_ct_LIPO=$LIPO
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_LIPO="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_LIPO" = x; then
7516 LIPO=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 LIPO=$ac_ct_LIPO
7526 else
7527 LIPO="$ac_cv_prog_LIPO"
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7552 done
7553 done
7554 IFS=$as_save_IFS
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570 ac_ct_OTOOL=$OTOOL
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_OTOOL="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_OTOOL" = x; then
7608 OTOOL=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 OTOOL=$ac_ct_OTOOL
7618 else
7619 OTOOL="$ac_cv_prog_OTOOL"
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL64="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7684 done
7685 done
7686 IFS=$as_save_IFS
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7699 if test "x$ac_ct_OTOOL64" = x; then
7700 OTOOL64=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL64=$ac_ct_OTOOL64
7710 else
7711 OTOOL64="$ac_cv_prog_OTOOL64"
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 lt_cv_apple_cc_single_mod=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7750 # link flags.
7751 rm -rf libconftest.dylib*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757 _lt_result=$?
7758 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759 lt_cv_apple_cc_single_mod=yes
7760 else
7761 cat conftest.err >&5
7763 rm -rf libconftest.dylib*
7764 rm -f conftest.*
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 lt_cv_ld_exported_symbols_list=no
7775 save_LDFLAGS=$LDFLAGS
7776 echo "_main" > conftest.sym
7777 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778 if test x$gcc_no_link = xyes; then
7779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7785 main ()
7789 return 0;
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_ld_exported_symbols_list=yes
7794 else
7795 lt_cv_ld_exported_symbols_list=no
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7799 LDFLAGS="$save_LDFLAGS"
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 lt_cv_ld_force_load=no
7810 cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815 echo "$AR cru libconftest.a conftest.o" >&5
7816 $AR cru libconftest.a conftest.o 2>&5
7817 cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822 _lt_result=$?
7823 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7867 esac
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872 $as_echo_n "(cached) " >&6
7873 else
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7882 main ()
7886 return 0;
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890 ac_cv_header_stdc=yes
7891 else
7892 ac_cv_header_stdc=no
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7896 if test $ac_cv_header_stdc = yes; then
7897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <string.h>
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904 $EGREP "memchr" >/dev/null 2>&1; then :
7906 else
7907 ac_cv_header_stdc=no
7909 rm -f conftest*
7913 if test $ac_cv_header_stdc = yes; then
7914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 #include <stdlib.h>
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921 $EGREP "free" >/dev/null 2>&1; then :
7923 else
7924 ac_cv_header_stdc=no
7926 rm -f conftest*
7930 if test $ac_cv_header_stdc = yes; then
7931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932 if test "$cross_compiling" = yes; then :
7934 else
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944 (('a' <= (c) && (c) <= 'i') \
7945 || ('j' <= (c) && (c) <= 'r') \
7946 || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7952 main ()
7954 int i;
7955 for (i = 0; i < 256; i++)
7956 if (XOR (islower (i), ISLOWER (i))
7957 || toupper (i) != TOUPPER (i))
7958 return 2;
7959 return 0;
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7964 else
7965 ac_cv_header_stdc=no
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968 conftest.$ac_objext conftest.beam conftest.$ac_ext
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983 inttypes.h stdint.h unistd.h
7984 do :
7985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7988 eval as_val=\$$as_ac_Header
7989 if test "x$as_val" = x""yes; then :
7990 cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7996 done
7999 for ac_header in dlfcn.h
8000 do :
8001 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8010 done
8017 # Set options
8022 enable_win32_dll=no
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval=$enable_shared; p=${PACKAGE-default}
8028 case $enableval in
8029 yes) enable_shared=yes ;;
8030 no) enable_shared=no ;;
8032 enable_shared=no
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035 for pkg in $enableval; do
8036 IFS="$lt_save_ifs"
8037 if test "X$pkg" = "X$p"; then
8038 enable_shared=yes
8040 done
8041 IFS="$lt_save_ifs"
8043 esac
8044 else
8045 enable_shared=yes
8056 # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058 enableval=$enable_static; p=${PACKAGE-default}
8059 case $enableval in
8060 yes) enable_static=yes ;;
8061 no) enable_static=no ;;
8063 enable_static=no
8064 # Look at the argument we got. We use all the common list separators.
8065 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066 for pkg in $enableval; do
8067 IFS="$lt_save_ifs"
8068 if test "X$pkg" = "X$p"; then
8069 enable_static=yes
8071 done
8072 IFS="$lt_save_ifs"
8074 esac
8075 else
8076 enable_static=yes
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090 withval=$with_pic; pic_mode="$withval"
8091 else
8092 pic_mode=default
8096 test -z "$pic_mode" && pic_mode=default
8104 # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106 enableval=$enable_fast_install; p=${PACKAGE-default}
8107 case $enableval in
8108 yes) enable_fast_install=yes ;;
8109 no) enable_fast_install=no ;;
8111 enable_fast_install=no
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8115 IFS="$lt_save_ifs"
8116 if test "X$pkg" = "X$p"; then
8117 enable_fast_install=yes
8119 done
8120 IFS="$lt_save_ifs"
8122 esac
8123 else
8124 enable_fast_install=yes
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8168 test -z "$LN_S" && LN_S="ln -s"
8183 if test -n "${ZSH_VERSION+set}" ; then
8184 setopt NO_GLOB_SUBST
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195 lt_cv_objdir=.libs
8196 else
8197 # MS-DOS does not allow filenames that begin with a dot.
8198 lt_cv_objdir=_libs
8200 rmdir .libs 2>/dev/null
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8217 case $host_os in
8218 aix3*)
8219 # AIX sometimes has problems with the GCC collect2 program. For some
8220 # reason, if we set the COLLECT_NAMES environment variable, the problems
8221 # vanish in a puff of smoke.
8222 if test "X${COLLECT_NAMES+set}" != Xset; then
8223 COLLECT_NAMES=
8224 export COLLECT_NAMES
8227 esac
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8249 for cc_temp in $compiler""; do
8250 case $cc_temp in
8251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253 \-*) ;;
8254 *) break;;
8255 esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/${ac_tool_prefix}file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8291 else
8292 cat <<_LT_EOF 1>&2
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8303 _LT_EOF
8304 fi ;;
8305 esac
8307 break
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8313 esac
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330 if test -n "$ac_tool_prefix"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 case $MAGIC_CMD in
8337 [\\/*] | ?:[\\/]*)
8338 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8341 lt_save_MAGIC_CMD="$MAGIC_CMD"
8342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344 for ac_dir in $ac_dummy; do
8345 IFS="$lt_save_ifs"
8346 test -z "$ac_dir" && ac_dir=.
8347 if test -f $ac_dir/file; then
8348 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349 if test -n "$file_magic_test_file"; then
8350 case $deplibs_check_method in
8351 "file_magic "*)
8352 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355 $EGREP "$file_magic_regex" > /dev/null; then
8357 else
8358 cat <<_LT_EOF 1>&2
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such. This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem. Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8369 _LT_EOF
8370 fi ;;
8371 esac
8373 break
8375 done
8376 IFS="$lt_save_ifs"
8377 MAGIC_CMD="$lt_save_MAGIC_CMD"
8379 esac
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8392 else
8393 MAGIC_CMD=:
8399 esac
8401 # Use C for the default configuration in the libtool script
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8411 # Source file extension for C test sources.
8412 ac_ext=c
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8463 lt_prog_compiler_no_builtin_flag=
8465 if test "$GCC" = yes; then
8466 case $cc_basename in
8467 nvcc*)
8468 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8470 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471 esac
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 lt_cv_prog_compiler_rtti_exceptions=no
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481 lt_compiler_flag="-fno-rtti -fno-exceptions"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err)
8493 ac_status=$?
8494 cat conftest.err >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502 lt_cv_prog_compiler_rtti_exceptions=yes
8505 $RM conftest*
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8524 lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8531 if test "$GCC" = yes; then
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_static='-static'
8535 case $host_os in
8536 aix*)
8537 # All AIX code is PIC.
8538 if test "$host_cpu" = ia64; then
8539 # AIX 5 now supports IA64 processor
8540 lt_prog_compiler_static='-Bstatic'
8542 lt_prog_compiler_pic='-fPIC'
8545 amigaos*)
8546 case $host_cpu in
8547 powerpc)
8548 # see comment about AmigaOS4 .so support
8549 lt_prog_compiler_pic='-fPIC'
8551 m68k)
8552 # FIXME: we need at least 68020 code to build shared libraries, but
8553 # adding the `-m68020' flag to GCC prevents building anything better,
8554 # like `-m68040'.
8555 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8557 esac
8560 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561 # PIC is the default for these OSes.
8564 mingw* | cygwin* | pw32* | os2* | cegcc*)
8565 # This hack is so that the source file can tell whether it is being
8566 # built for inclusion in a dll (and should export symbols for example).
8567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568 # (--disable-auto-import) libraries
8569 lt_prog_compiler_pic='-DDLL_EXPORT'
8572 darwin* | rhapsody*)
8573 # PIC is the default on this platform
8574 # Common symbols not allowed in MH_DYLIB files
8575 lt_prog_compiler_pic='-fno-common'
8578 haiku*)
8579 # PIC is the default for Haiku.
8580 # The "-static" flag exists, but is broken.
8581 lt_prog_compiler_static=
8584 hpux*)
8585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8587 # sets the default TLS model and affects inlining.
8588 case $host_cpu in
8589 hppa*64*)
8590 # +Z the default
8593 lt_prog_compiler_pic='-fPIC'
8595 esac
8598 interix[3-9]*)
8599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600 # Instead, we relocate shared libraries at runtime.
8603 msdosdjgpp*)
8604 # Just because we use GCC doesn't mean we suddenly get shared libraries
8605 # on systems that don't support them.
8606 lt_prog_compiler_can_build_shared=no
8607 enable_shared=no
8610 *nto* | *qnx*)
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8612 # it will coredump.
8613 lt_prog_compiler_pic='-fPIC -shared'
8616 sysv4*MP*)
8617 if test -d /usr/nec; then
8618 lt_prog_compiler_pic=-Kconform_pic
8623 lt_prog_compiler_pic='-fPIC'
8625 esac
8627 case $cc_basename in
8628 nvcc*) # Cuda Compiler Driver 2.2
8629 lt_prog_compiler_wl='-Xlinker '
8630 lt_prog_compiler_pic='-Xcompiler -fPIC'
8632 esac
8633 else
8634 # PORTME Check for flag to pass linker flags through the system compiler.
8635 case $host_os in
8636 aix*)
8637 lt_prog_compiler_wl='-Wl,'
8638 if test "$host_cpu" = ia64; then
8639 # AIX 5 now supports IA64 processor
8640 lt_prog_compiler_static='-Bstatic'
8641 else
8642 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8646 mingw* | cygwin* | pw32* | os2* | cegcc*)
8647 # This hack is so that the source file can tell whether it is being
8648 # built for inclusion in a dll (and should export symbols for example).
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8652 hpux9* | hpux10* | hpux11*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655 # not for PA HP-UX.
8656 case $host_cpu in
8657 hppa*64*|ia64*)
8658 # +Z the default
8661 lt_prog_compiler_pic='+Z'
8663 esac
8664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665 lt_prog_compiler_static='${wl}-a ${wl}archive'
8668 irix5* | irix6* | nonstopux*)
8669 lt_prog_compiler_wl='-Wl,'
8670 # PIC (with -KPIC) is the default.
8671 lt_prog_compiler_static='-non_shared'
8674 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675 case $cc_basename in
8676 # old Intel for x86_64 which still supported -KPIC.
8677 ecc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-KPIC'
8680 lt_prog_compiler_static='-static'
8682 # icc used to be incompatible with GCC.
8683 # ICC 10 doesn't accept -KPIC any more.
8684 icc* | ifort*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-fPIC'
8687 lt_prog_compiler_static='-static'
8689 # Lahey Fortran 8.1.
8690 lf95*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='--shared'
8693 lt_prog_compiler_static='--static'
8695 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696 # Portland Group compilers (*not* the Pentium gcc compiler,
8697 # which looks to be a dead project)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fpic'
8700 lt_prog_compiler_static='-Bstatic'
8702 ccc*)
8703 lt_prog_compiler_wl='-Wl,'
8704 # All Alpha code is PIC.
8705 lt_prog_compiler_static='-non_shared'
8707 xl* | bgxl* | bgf* | mpixl*)
8708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-qpic'
8711 lt_prog_compiler_static='-qstaticlink'
8714 case `$CC -V 2>&1 | sed 5q` in
8715 *Sun\ F* | *Sun*Fortran*)
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl=''
8721 *Sun\ C*)
8722 # Sun C 5.9
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8727 esac
8729 esac
8732 newsos6)
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8737 *nto* | *qnx*)
8738 # QNX uses GNU C++, but need to define -shared option too, otherwise
8739 # it will coredump.
8740 lt_prog_compiler_pic='-fPIC -shared'
8743 osf3* | osf4* | osf5*)
8744 lt_prog_compiler_wl='-Wl,'
8745 # All OSF/1 code is PIC.
8746 lt_prog_compiler_static='-non_shared'
8749 rdos*)
8750 lt_prog_compiler_static='-non_shared'
8753 solaris*)
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 case $cc_basename in
8757 f77* | f90* | f95*)
8758 lt_prog_compiler_wl='-Qoption ld ';;
8760 lt_prog_compiler_wl='-Wl,';;
8761 esac
8764 sunos4*)
8765 lt_prog_compiler_wl='-Qoption ld '
8766 lt_prog_compiler_pic='-PIC'
8767 lt_prog_compiler_static='-Bstatic'
8770 sysv4 | sysv4.2uw2* | sysv4.3*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8776 sysv4*MP*)
8777 if test -d /usr/nec ;then
8778 lt_prog_compiler_pic='-Kconform_pic'
8779 lt_prog_compiler_static='-Bstatic'
8783 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 unicos*)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_can_build_shared=no
8794 uts4*)
8795 lt_prog_compiler_pic='-pic'
8796 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_can_build_shared=no
8802 esac
8805 case $host_os in
8806 # For platforms which do not support PIC, -DPIC is meaningless:
8807 *djgpp*)
8808 lt_prog_compiler_pic=
8811 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8823 # Check to make sure the PIC flag actually works.
8825 if test -n "$lt_prog_compiler_pic"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 lt_cv_prog_compiler_pic_works=no
8832 ac_outfile=conftest.$ac_objext
8833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 # The option is referenced via a variable to avoid confusing sed.
8840 lt_compile=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>conftest.err)
8846 ac_status=$?
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s "$ac_outfile"; then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings other than the usual output.
8852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_pic_works=yes
8858 $RM conftest*
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865 case $lt_prog_compiler_pic in
8866 "" | " "*) ;;
8867 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868 esac
8869 else
8870 lt_prog_compiler_pic=
8871 lt_prog_compiler_can_build_shared=no
8882 # Check to make sure the static flag actually works.
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 lt_cv_prog_compiler_static_works=no
8891 save_LDFLAGS="$LDFLAGS"
8892 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err; then
8898 # Append any errors to the config.log.
8899 cat conftest.err 1>&5
8900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902 if diff conftest.exp conftest.er2 >/dev/null; then
8903 lt_cv_prog_compiler_static_works=yes
8905 else
8906 lt_cv_prog_compiler_static_works=yes
8909 $RM -r conftest*
8910 LDFLAGS="$save_LDFLAGS"
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8918 else
8919 lt_prog_compiler_static=
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 lt_cv_prog_compiler_c_o=no
8934 $RM -r conftest 2>/dev/null
8935 mkdir conftest
8936 cd conftest
8937 mkdir out
8938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8940 lt_compiler_flag="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out/conftest.err)
8951 ac_status=$?
8952 cat out/conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 then
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961 lt_cv_prog_compiler_c_o=yes
8964 chmod u+w . 2>&5
8965 $RM conftest*
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969 $RM out/* && rmdir out
8970 cd ..
8971 $RM -r conftest
8972 $RM conftest*
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 lt_cv_prog_compiler_c_o=no
8989 $RM -r conftest 2>/dev/null
8990 mkdir conftest
8991 cd conftest
8992 mkdir out
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995 lt_compiler_flag="-o out/conftest2.$ac_objext"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 lt_compile=`echo "$ac_compile" | $SED \
9001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003 -e 's:$: $lt_compiler_flag:'`
9004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005 (eval "$lt_compile" 2>out/conftest.err)
9006 ac_status=$?
9007 cat out/conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010 then
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings
9013 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016 lt_cv_prog_compiler_c_o=yes
9019 chmod u+w . 2>&5
9020 $RM conftest*
9021 # SGI C++ compiler will create directory out/ii_files/ for
9022 # template instantiation
9023 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024 $RM out/* && rmdir out
9025 cd ..
9026 $RM -r conftest
9027 $RM conftest*
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038 # do not overwrite the value of need_locks provided by the user
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041 hard_links=yes
9042 $RM conftest*
9043 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044 touch conftest.a
9045 ln conftest.a conftest.b 2>&5 || hard_links=no
9046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049 if test "$hard_links" = no; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052 need_locks=warn
9054 else
9055 need_locks=no
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9066 runpath_var=
9067 allow_undefined_flag=
9068 always_export_symbols=no
9069 archive_cmds=
9070 archive_expsym_cmds=
9071 compiler_needs_object=no
9072 enable_shared_with_static_runtimes=no
9073 export_dynamic_flag_spec=
9074 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075 hardcode_automatic=no
9076 hardcode_direct=no
9077 hardcode_direct_absolute=no
9078 hardcode_libdir_flag_spec=
9079 hardcode_libdir_flag_spec_ld=
9080 hardcode_libdir_separator=
9081 hardcode_minus_L=no
9082 hardcode_shlibpath_var=unsupported
9083 inherit_rpath=no
9084 link_all_deplibs=unknown
9085 module_cmds=
9086 module_expsym_cmds=
9087 old_archive_from_new_cmds=
9088 old_archive_from_expsyms_cmds=
9089 thread_safe_flag_spec=
9090 whole_archive_flag_spec=
9091 # include_expsyms should be a list of space-separated symbols to be *always*
9092 # included in the symbol list
9093 include_expsyms=
9094 # exclude_expsyms can be an extended regexp of symbols to exclude
9095 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097 # as well as any symbol that contains `d'.
9098 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100 # platforms (ab)use it in PIC code, but their linkers get confused if
9101 # the symbol is explicitly referenced. Since portable code cannot
9102 # rely on this symbol name, it's probably fine to never include it in
9103 # preloaded symbol tables.
9104 # Exclude shared library initialization/finalization symbols.
9105 extract_expsyms_cmds=
9107 case $host_os in
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 if test "$GCC" != yes; then
9113 with_gnu_ld=no
9116 interix*)
9117 # we just hope/assume this is gcc and not c89 (= MSVC++)
9118 with_gnu_ld=yes
9120 openbsd*)
9121 with_gnu_ld=no
9123 esac
9125 ld_shlibs=yes
9127 # On some targets, GNU ld is compatible enough with the native linker
9128 # that we're better off using the native interface for both.
9129 lt_use_gnu_ld_interface=no
9130 if test "$with_gnu_ld" = yes; then
9131 case $host_os in
9132 aix*)
9133 # The AIX port of GNU ld has always aspired to compatibility
9134 # with the native linker. However, as the warning in the GNU ld
9135 # block says, versions before 2.19.5* couldn't really create working
9136 # shared libraries, regardless of the interface used.
9137 case `$LD -v 2>&1` in
9138 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9142 lt_use_gnu_ld_interface=yes
9144 esac
9147 lt_use_gnu_ld_interface=yes
9149 esac
9152 if test "$lt_use_gnu_ld_interface" = yes; then
9153 # If archive_cmds runs LD, not CC, wlarc should be empty
9154 wlarc='${wl}'
9156 # Set some defaults for GNU ld with shared library support. These
9157 # are reset later if shared libraries are not supported. Putting them
9158 # here allows them to be overridden if necessary.
9159 runpath_var=LD_RUN_PATH
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 export_dynamic_flag_spec='${wl}--export-dynamic'
9162 # ancient GNU ld didn't support --whole-archive et. al.
9163 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165 else
9166 whole_archive_flag_spec=
9168 supports_anon_versioning=no
9169 case `$LD -v 2>&1` in
9170 *GNU\ gold*) supports_anon_versioning=yes ;;
9171 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174 *\ 2.11.*) ;; # other 2.11 versions
9175 *) supports_anon_versioning=yes ;;
9176 esac
9178 # See if GNU ld supports shared libraries.
9179 case $host_os in
9180 aix[3-9]*)
9181 # On AIX/PPC, the GNU linker is very broken
9182 if test "$host_cpu" != ia64; then
9183 ld_shlibs=no
9184 cat <<_LT_EOF 1>&2
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support. If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9193 _LT_EOF
9197 amigaos*)
9198 case $host_cpu in
9199 powerpc)
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds=''
9204 m68k)
9205 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_minus_L=yes
9209 esac
9212 beos*)
9213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214 allow_undefined_flag=unsupported
9215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216 # support --undefined. This deserves some investigation. FIXME
9217 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218 else
9219 ld_shlibs=no
9223 cygwin* | mingw* | pw32* | cegcc*)
9224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225 # as there is no search path for DLLs.
9226 hardcode_libdir_flag_spec='-L$libdir'
9227 export_dynamic_flag_spec='${wl}--export-all-symbols'
9228 allow_undefined_flag=unsupported
9229 always_export_symbols=no
9230 enable_shared_with_static_runtimes=yes
9231 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9233 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 # If the export-symbols file already is a .def file (1st line
9236 # is EXPORTS), use it as is; otherwise, prepend...
9237 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238 cp $export_symbols $output_objdir/$soname.def;
9239 else
9240 echo EXPORTS > $output_objdir/$soname.def;
9241 cat $export_symbols >> $output_objdir/$soname.def;
9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 else
9245 ld_shlibs=no
9249 haiku*)
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 link_all_deplibs=yes
9254 interix[3-9]*)
9255 hardcode_direct=no
9256 hardcode_shlibpath_var=no
9257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258 export_dynamic_flag_spec='${wl}-E'
9259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260 # Instead, shared libraries are loaded at an image base (0x10000000 by
9261 # default) and relocated if they conflict, which is a slow very memory
9262 # consuming and fragmenting process. To avoid this, we pick a random,
9263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9265 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9269 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270 tmp_diet=no
9271 if test "$host_os" = linux-dietlibc; then
9272 case $cc_basename in
9273 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9274 esac
9276 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277 && test "$tmp_diet" = no
9278 then
9279 tmp_addflag=
9280 tmp_sharedflag='-shared'
9281 case $cc_basename,$host_cpu in
9282 pgcc*) # Portland Group C compiler
9283 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9284 tmp_addflag=' $pic_flag'
9286 pgf77* | pgf90* | pgf95* | pgfortran*)
9287 # Portland Group f77 and f90 compilers
9288 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9289 tmp_addflag=' $pic_flag -Mnomain' ;;
9290 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9291 tmp_addflag=' -i_dynamic' ;;
9292 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9293 tmp_addflag=' -i_dynamic -nofor_main' ;;
9294 ifc* | ifort*) # Intel Fortran compiler
9295 tmp_addflag=' -nofor_main' ;;
9296 lf95*) # Lahey Fortran 8.1
9297 whole_archive_flag_spec=
9298 tmp_sharedflag='--shared' ;;
9299 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300 tmp_sharedflag='-qmkshrobj'
9301 tmp_addflag= ;;
9302 nvcc*) # Cuda Compiler Driver 2.2
9303 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9304 compiler_needs_object=yes
9306 esac
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ C*) # Sun C 5.9
9309 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9310 compiler_needs_object=yes
9311 tmp_sharedflag='-G' ;;
9312 *Sun\ F*) # Sun Fortran 8.3
9313 tmp_sharedflag='-G' ;;
9314 esac
9315 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9317 if test "x$supports_anon_versioning" = xyes; then
9318 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320 echo "local: *; };" >> $output_objdir/$libname.ver~
9321 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9324 case $cc_basename in
9325 xlf* | bgf* | bgxlf* | mpixlf*)
9326 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328 hardcode_libdir_flag_spec=
9329 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes; then
9332 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9338 esac
9339 else
9340 ld_shlibs=no
9344 netbsd*)
9345 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347 wlarc=
9348 else
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 solaris*)
9355 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356 ld_shlibs=no
9357 cat <<_LT_EOF 1>&2
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9366 _LT_EOF
9367 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 else
9371 ld_shlibs=no
9375 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376 case `$LD -v 2>&1` in
9377 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378 ld_shlibs=no
9379 cat <<_LT_EOF 1>&2
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems. Therefore, libtool
9383 *** is disabling shared libraries support. We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9388 _LT_EOF
9391 # For security reasons, it is highly recommended that you always
9392 # use absolute paths for naming shared libraries, and exclude the
9393 # DT_RUNPATH tag from executables and libraries. But doing so
9394 # requires that you compile everything twice, which is a pain.
9395 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 else
9400 ld_shlibs=no
9403 esac
9406 sunos4*)
9407 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408 wlarc=
9409 hardcode_direct=yes
9410 hardcode_shlibpath_var=no
9414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9421 esac
9423 if test "$ld_shlibs" = no; then
9424 runpath_var=
9425 hardcode_libdir_flag_spec=
9426 export_dynamic_flag_spec=
9427 whole_archive_flag_spec=
9429 else
9430 # PORTME fill in a description of your system's linker (not GNU ld)
9431 case $host_os in
9432 aix3*)
9433 allow_undefined_flag=unsupported
9434 always_export_symbols=yes
9435 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9436 # Note: this linker hardcodes the directories in LIBPATH if there
9437 # are no directories specified by -L.
9438 hardcode_minus_L=yes
9439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440 # Neither direct hardcoding nor static linking is supported with a
9441 # broken collect2.
9442 hardcode_direct=unsupported
9446 aix[4-9]*)
9447 if test "$host_cpu" = ia64; then
9448 # On IA64, the linker does run time linking by default, so we don't
9449 # have to do anything special.
9450 aix_use_runtimelinking=no
9451 exp_sym_flag='-Bexport'
9452 no_entry_flag=""
9453 else
9454 # If we're using GNU nm, then we don't want the "-C" option.
9455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456 # Also, AIX nm treats weak defined symbols like other global
9457 # defined symbols, whereas GNU nm marks them as "W".
9458 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9460 else
9461 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9463 aix_use_runtimelinking=no
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469 for ld_flag in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking=yes
9472 break
9474 done
9476 esac
9478 exp_sym_flag='-bexport'
9479 no_entry_flag='-bnoentry'
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9488 archive_cmds=''
9489 hardcode_direct=yes
9490 hardcode_direct_absolute=yes
9491 hardcode_libdir_separator=':'
9492 link_all_deplibs=yes
9493 file_list_spec='${wl}-f,'
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.[012]|aix4.[012].*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502 then
9503 # We have reworked collect2
9505 else
9506 # We have old collect2
9507 hardcode_direct=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L=yes
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_libdir_separator=
9516 esac
9517 shared_flag='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag="$shared_flag "'${wl}-G'
9521 else
9522 # not using gcc
9523 if test "$host_cpu" = ia64; then
9524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525 # chokes on -Wl,-G. The following line is correct:
9526 shared_flag='-G'
9527 else
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag='${wl}-G'
9530 else
9531 shared_flag='${wl}-bM:SRE'
9536 export_dynamic_flag_spec='${wl}-bexpall'
9537 # It seems that -bexpall does not export symbols beginning with
9538 # underscore (_), so it is better to generate a list of symbols to export.
9539 always_export_symbols=yes
9540 if test "$aix_use_runtimelinking" = yes; then
9541 # Warning - without using the other runtime loading flags (-brtl),
9542 # -berok will link without error, but may produce a broken library.
9543 allow_undefined_flag='-berok'
9544 # Determine the default libpath from the value encoded in an
9545 # empty executable.
9546 if test x$gcc_no_link = xyes; then
9547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9553 main ()
9557 return 0;
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9562 lt_aix_libpath_sed='
9563 /Import File Strings/,/^$/ {
9564 /^0/ {
9565 s/^0 *\(.*\)$/\1/
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9581 else
9582 if test "$host_cpu" = ia64; then
9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584 allow_undefined_flag="-z nodefs"
9585 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9586 else
9587 # Determine the default libpath from the value encoded in an
9588 # empty executable.
9589 if test x$gcc_no_link = xyes; then
9590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9596 main ()
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9605 lt_aix_libpath_sed='
9606 /Import File Strings/,/^$/ {
9607 /^0/ {
9608 s/^0 *\(.*\)$/\1/
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9622 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623 # Warning - without using the other run time loading flags,
9624 # -berok will link without error, but may produce a broken library.
9625 no_undefined_flag=' ${wl}-bernotok'
9626 allow_undefined_flag=' ${wl}-berok'
9627 if test "$with_gnu_ld" = yes; then
9628 # We only use this code for GNU lds that support --whole-archive.
9629 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 else
9631 # Exported symbols can be pulled into shared objects from archives
9632 whole_archive_flag_spec='$convenience'
9634 archive_cmds_need_lc=yes
9635 # This is similar to how AIX traditionally builds its shared libraries.
9636 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9641 amigaos*)
9642 case $host_cpu in
9643 powerpc)
9644 # see comment about AmigaOS4 .so support
9645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646 archive_expsym_cmds=''
9648 m68k)
9649 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9650 hardcode_libdir_flag_spec='-L$libdir'
9651 hardcode_minus_L=yes
9653 esac
9656 bsdi[45]*)
9657 export_dynamic_flag_spec=-rdynamic
9660 cygwin* | mingw* | pw32* | cegcc*)
9661 # When not using gcc, we currently assume that we are using
9662 # Microsoft Visual C++.
9663 # hardcode_libdir_flag_spec is actually meaningless, as there is
9664 # no search path for DLLs.
9665 hardcode_libdir_flag_spec=' '
9666 allow_undefined_flag=unsupported
9667 # Tell ltmain to make .lib files, not .a files.
9668 libext=lib
9669 # Tell ltmain to make .dll files, not .so files.
9670 shrext_cmds=".dll"
9671 # FIXME: Setting linknames here is a bad hack.
9672 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673 # The linker will automatically build a .lib file if we build a DLL.
9674 old_archive_from_new_cmds='true'
9675 # FIXME: Should let the user specify the lib program.
9676 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 enable_shared_with_static_runtimes=yes
9681 darwin* | rhapsody*)
9684 archive_cmds_need_lc=no
9685 hardcode_direct=no
9686 hardcode_automatic=yes
9687 hardcode_shlibpath_var=unsupported
9688 if test "$lt_cv_ld_force_load" = "yes"; then
9689 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9690 else
9691 whole_archive_flag_spec=''
9693 link_all_deplibs=yes
9694 allow_undefined_flag="$_lt_dar_allow_undefined"
9695 case $cc_basename in
9696 ifort*) _lt_dar_can_shared=yes ;;
9697 *) _lt_dar_can_shared=$GCC ;;
9698 esac
9699 if test "$_lt_dar_can_shared" = "yes"; then
9700 output_verbose_link_cmd=func_echo_all
9701 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9704 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9706 else
9707 ld_shlibs=no
9712 dgux*)
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_shlibpath_var=no
9718 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719 # support. Future versions do this automatically, but an explicit c++rt0.o
9720 # does not break anything, and helps significantly (at the cost of a little
9721 # extra space).
9722 freebsd2.2*)
9723 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9729 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730 freebsd2.*)
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_direct=yes
9733 hardcode_minus_L=yes
9734 hardcode_shlibpath_var=no
9737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738 freebsd* | dragonfly*)
9739 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec='-R$libdir'
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9745 hpux9*)
9746 if test "$GCC" = yes; then
9747 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9748 else
9749 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9751 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752 hardcode_libdir_separator=:
9753 hardcode_direct=yes
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L=yes
9758 export_dynamic_flag_spec='${wl}-E'
9761 hpux10*)
9762 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 else
9765 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9767 if test "$with_gnu_ld" = no; then
9768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769 hardcode_libdir_flag_spec_ld='+b $libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772 hardcode_direct_absolute=yes
9773 export_dynamic_flag_spec='${wl}-E'
9774 # hardcode_minus_L: Not really in the search PATH,
9775 # but as the default location of the library.
9776 hardcode_minus_L=yes
9780 hpux11*)
9781 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782 case $host_cpu in
9783 hppa*64*)
9784 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9786 ia64*)
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9792 esac
9793 else
9794 case $host_cpu in
9795 hppa*64*)
9796 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9798 ia64*)
9799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 # Older versions of the 11.00 compiler do not understand -b yet
9804 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 lt_cv_prog_compiler__b=no
9811 save_LDFLAGS="$LDFLAGS"
9812 LDFLAGS="$LDFLAGS -b"
9813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815 # The linker can only warn and ignore the option if not recognized
9816 # So say no if there are warnings
9817 if test -s conftest.err; then
9818 # Append any errors to the config.log.
9819 cat conftest.err 1>&5
9820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822 if diff conftest.exp conftest.er2 >/dev/null; then
9823 lt_cv_prog_compiler__b=yes
9825 else
9826 lt_cv_prog_compiler__b=yes
9829 $RM -r conftest*
9830 LDFLAGS="$save_LDFLAGS"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9843 esac
9845 if test "$with_gnu_ld" = no; then
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9849 case $host_cpu in
9850 hppa*64*|ia64*)
9851 hardcode_direct=no
9852 hardcode_shlibpath_var=no
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L=yes
9863 esac
9867 irix5* | irix6* | nonstopux*)
9868 if test "$GCC" = yes; then
9869 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9870 # Try to use the -exported_symbol ld option, if it does not
9871 # work, assume that -exports_file does not work either and
9872 # implicitly export all symbols.
9873 save_LDFLAGS="$LDFLAGS"
9874 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875 if test x$gcc_no_link = xyes; then
9876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LDFLAGS="$save_LDFLAGS"
9889 else
9890 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9891 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9893 archive_cmds_need_lc='no'
9894 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895 hardcode_libdir_separator=:
9896 inherit_rpath=yes
9897 link_all_deplibs=yes
9900 netbsd*)
9901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9903 else
9904 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9906 hardcode_libdir_flag_spec='-R$libdir'
9907 hardcode_direct=yes
9908 hardcode_shlibpath_var=no
9911 newsos6)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_direct=yes
9914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator=:
9916 hardcode_shlibpath_var=no
9919 *nto* | *qnx*)
9922 openbsd*)
9923 if test -f /usr/libexec/ld.so; then
9924 hardcode_direct=yes
9925 hardcode_shlibpath_var=no
9926 hardcode_direct_absolute=yes
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931 export_dynamic_flag_spec='${wl}-E'
9932 else
9933 case $host_os in
9934 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec='-R$libdir'
9939 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9942 esac
9944 else
9945 ld_shlibs=no
9949 os2*)
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_minus_L=yes
9952 allow_undefined_flag=unsupported
9953 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9954 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9957 osf3*)
9958 if test "$GCC" = yes; then
9959 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9961 else
9962 allow_undefined_flag=' -expect_unresolved \*'
9963 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9965 archive_cmds_need_lc='no'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9970 osf4* | osf5*) # as osf3* with the addition of -msym flag
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975 else
9976 allow_undefined_flag=' -expect_unresolved \*'
9977 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9978 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9979 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9981 # Both c and cxx compiler support -rpath directly
9982 hardcode_libdir_flag_spec='-rpath $libdir'
9984 archive_cmds_need_lc='no'
9985 hardcode_libdir_separator=:
9988 solaris*)
9989 no_undefined_flag=' -z defs'
9990 if test "$GCC" = yes; then
9991 wlarc='${wl}'
9992 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995 else
9996 case `$CC -V 2>&1` in
9997 *"Compilers 5.0"*)
9998 wlarc=''
9999 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10004 wlarc='${wl}'
10005 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10009 esac
10011 hardcode_libdir_flag_spec='-R$libdir'
10012 hardcode_shlibpath_var=no
10013 case $host_os in
10014 solaris2.[0-5] | solaris2.[0-5].*) ;;
10016 # The compiler driver will combine and reorder linker options,
10017 # but understands `-z linker_flag'. GCC discards it without `$wl',
10018 # but is careful enough not to reorder.
10019 # Supported since Solaris 2.6 (maybe 2.5.1?)
10020 if test "$GCC" = yes; then
10021 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022 else
10023 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10026 esac
10027 link_all_deplibs=yes
10030 sunos4*)
10031 if test "x$host_vendor" = xsequent; then
10032 # Use $CC to link under sequent, because it throws in some extra .o
10033 # files that make .init and .fini sections work.
10034 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035 else
10036 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_direct=yes
10040 hardcode_minus_L=yes
10041 hardcode_shlibpath_var=no
10044 sysv4)
10045 case $host_vendor in
10046 sni)
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct=yes # is this really true???
10050 siemens)
10051 ## LD is ld it makes a PLAMLIB
10052 ## CC just makes a GrossModule.
10053 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054 reload_cmds='$CC -r -o $output$reload_objs'
10055 hardcode_direct=no
10057 motorola)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10061 esac
10062 runpath_var='LD_RUN_PATH'
10063 hardcode_shlibpath_var=no
10066 sysv4.3*)
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_shlibpath_var=no
10069 export_dynamic_flag_spec='-Bexport'
10072 sysv4*MP*)
10073 if test -d /usr/nec; then
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 runpath_var=LD_RUN_PATH
10077 hardcode_runpath_var=yes
10078 ld_shlibs=yes
10082 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083 no_undefined_flag='${wl}-z,text'
10084 archive_cmds_need_lc=no
10085 hardcode_shlibpath_var=no
10086 runpath_var='LD_RUN_PATH'
10088 if test "$GCC" = yes; then
10089 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 sysv5* | sco3.2v5* | sco5v6*)
10098 # Note: We can NOT use -z defs as we might desire, because we do not
10099 # link with -lc, and that would cause any symbols used from libc to
10100 # always be unresolved, which means just about no library would
10101 # ever link correctly. If we're not using GNU ld we use -z text
10102 # though, which does catch some bad symbols but isn't as heavy-handed
10103 # as -z defs.
10104 no_undefined_flag='${wl}-z,text'
10105 allow_undefined_flag='${wl}-z,nodefs'
10106 archive_cmds_need_lc=no
10107 hardcode_shlibpath_var=no
10108 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109 hardcode_libdir_separator=':'
10110 link_all_deplibs=yes
10111 export_dynamic_flag_spec='${wl}-Bexport'
10112 runpath_var='LD_RUN_PATH'
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 uts4*)
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_libdir_flag_spec='-L$libdir'
10126 hardcode_shlibpath_var=no
10130 ld_shlibs=no
10132 esac
10134 if test x$host_vendor = xsni; then
10135 case $host in
10136 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137 export_dynamic_flag_spec='${wl}-Blargedynsym'
10139 esac
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10147 with_gnu_ld=$with_gnu_ld
10164 # Do we need to explicitly link libc?
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168 # Assume -lc should be added
10169 archive_cmds_need_lc=yes
10171 if test "$enable_shared" = yes && test "$GCC" = yes; then
10172 case $archive_cmds in
10173 *'~'*)
10174 # FIXME: we may have to deal with multi-command sequences.
10176 '$CC '*)
10177 # Test whether the compiler implicitly links with -lc since on some
10178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179 # to ld, don't add -lc before -lgcc.
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 $RM conftest*
10186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189 (eval $ac_compile) 2>&5
10190 ac_status=$?
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; } 2>conftest.err; then
10193 soname=conftest
10194 lib=conftest
10195 libobjs=conftest.$ac_objext
10196 deplibs=
10197 wl=$lt_prog_compiler_wl
10198 pic_flag=$lt_prog_compiler_pic
10199 compiler_flags=-v
10200 linker_flags=-v
10201 verstring=
10202 output_objdir=.
10203 libname=conftest
10204 lt_save_allow_undefined_flag=$allow_undefined_flag
10205 allow_undefined_flag=
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; }
10211 then
10212 lt_cv_archive_cmds_need_lc=no
10213 else
10214 lt_cv_archive_cmds_need_lc=yes
10216 allow_undefined_flag=$lt_save_allow_undefined_flag
10217 else
10218 cat conftest.err 1>&5
10220 $RM conftest*
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10227 esac
10230 esac
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10391 if test "$GCC" = yes; then
10392 case $host_os in
10393 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394 *) lt_awk_arg="/^libraries:/" ;;
10395 esac
10396 case $host_os in
10397 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398 *) lt_sed_strip_eq="s,=/,/,g" ;;
10399 esac
10400 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401 case $lt_search_path_spec in
10402 *\;*)
10403 # if the path contains ";" then we assume it to be the separator
10404 # otherwise default to the standard path separator (i.e. ":") - it is
10405 # assumed that no part of a normal pathname contains ";" but that should
10406 # okay in the real world where ";" in dirpaths is itself problematic.
10407 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10410 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10412 esac
10413 # Ok, now we have the path, separated by spaces, we can step through it
10414 # and add multilib dir if necessary.
10415 lt_tmp_lt_search_path_spec=
10416 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417 for lt_sys_path in $lt_search_path_spec; do
10418 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420 else
10421 test -d "$lt_sys_path" && \
10422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10424 done
10425 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427 lt_foo="";
10428 lt_count=0;
10429 for (lt_i = NF; lt_i > 0; lt_i--) {
10430 if ($lt_i != "" && $lt_i != ".") {
10431 if ($lt_i == "..") {
10432 lt_count++;
10433 } else {
10434 if (lt_count == 0) {
10435 lt_foo="/" $lt_i lt_foo;
10436 } else {
10437 lt_count--;
10442 if (lt_foo != "") { lt_freq[lt_foo]++; }
10443 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10445 # AWK program above erroneously prepends '/' to C:/dos/paths
10446 # for these hosts.
10447 case $host_os in
10448 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450 esac
10451 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10475 case $host_os in
10476 aix3*)
10477 version_type=linux
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479 shlibpath_var=LIBPATH
10481 # AIX 3 has no versioning support, so we append a major version to the name.
10482 soname_spec='${libname}${release}${shared_ext}$major'
10485 aix[4-9]*)
10486 version_type=linux
10487 need_lib_prefix=no
10488 need_version=no
10489 hardcode_into_libs=yes
10490 if test "$host_cpu" = ia64; then
10491 # AIX 5 supports IA64
10492 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 else
10495 # With GCC up to 2.95.x, collect2 would create an import file
10496 # for dependence libraries. The import file would start with
10497 # the line `#! .'. This would cause the generated library to
10498 # depend on `.', always an invalid library. This was fixed in
10499 # development snapshots of GCC prior to 3.0.
10500 case $host_os in
10501 aix4 | aix4.[01] | aix4.[01].*)
10502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503 echo ' yes '
10504 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10506 else
10507 can_build_shared=no
10510 esac
10511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512 # soname into executable. Probably we can add versioning support to
10513 # collect2, so additional links can be useful in future.
10514 if test "$aix_use_runtimelinking" = yes; then
10515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516 # instead of lib<name>.a to let people know that these are not
10517 # typical AIX shared libraries.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 else
10520 # We preserve .a as extension for shared libraries through AIX4.2
10521 # and later when we are not doing run time linking.
10522 library_names_spec='${libname}${release}.a $libname.a'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10525 shlibpath_var=LIBPATH
10529 amigaos*)
10530 case $host_cpu in
10531 powerpc)
10532 # Since July 2007 AmigaOS4 officially supports .so libraries.
10533 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 m68k)
10537 library_names_spec='$libname.ixlibrary $libname.a'
10538 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10541 esac
10544 beos*)
10545 library_names_spec='${libname}${shared_ext}'
10546 dynamic_linker="$host_os ld.so"
10547 shlibpath_var=LIBRARY_PATH
10550 bsdi[45]*)
10551 version_type=linux
10552 need_version=no
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559 # the default ld.so.conf also contains /usr/contrib/lib and
10560 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561 # libtool to hard-code these into programs
10564 cygwin* | mingw* | pw32* | cegcc*)
10565 version_type=windows
10566 shrext_cmds=".dll"
10567 need_version=no
10568 need_lib_prefix=no
10570 case $GCC,$host_os in
10571 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572 library_names_spec='$libname.dll.a'
10573 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574 postinstall_cmds='base_file=`basename \${file}`~
10575 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576 dldir=$destdir/`dirname \$dlpath`~
10577 test -d \$dldir || mkdir -p \$dldir~
10578 $install_prog $dir/$dlname \$dldir/$dlname~
10579 chmod a+x \$dldir/$dlname~
10580 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10583 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584 dlpath=$dir/\$dldll~
10585 $RM \$dlpath'
10586 shlibpath_overrides_runpath=yes
10588 case $host_os in
10589 cygwin*)
10590 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10593 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10595 mingw* | cegcc*)
10596 # MinGW DLLs use traditional 'lib' prefix
10597 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10599 pw32*)
10600 # pw32 DLLs use 'pw' prefix rather than 'lib'
10601 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10603 esac
10607 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10609 esac
10610 dynamic_linker='Win32 ld.exe'
10611 # FIXME: first we should search . and the directory the executable is in
10612 shlibpath_var=PATH
10615 darwin* | rhapsody*)
10616 dynamic_linker="$host_os dyld"
10617 version_type=darwin
10618 need_lib_prefix=no
10619 need_version=no
10620 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621 soname_spec='${libname}${release}${major}$shared_ext'
10622 shlibpath_overrides_runpath=yes
10623 shlibpath_var=DYLD_LIBRARY_PATH
10624 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10626 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10630 dgux*)
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10639 freebsd* | dragonfly*)
10640 # DragonFly does not have aout. When/if they implement a new
10641 # versioning mechanism, adjust this.
10642 if test -x /usr/bin/objformat; then
10643 objformat=`/usr/bin/objformat`
10644 else
10645 case $host_os in
10646 freebsd[23].*) objformat=aout ;;
10647 *) objformat=elf ;;
10648 esac
10650 version_type=freebsd-$objformat
10651 case $version_type in
10652 freebsd-elf*)
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654 need_version=no
10655 need_lib_prefix=no
10657 freebsd-*)
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659 need_version=yes
10661 esac
10662 shlibpath_var=LD_LIBRARY_PATH
10663 case $host_os in
10664 freebsd2.*)
10665 shlibpath_overrides_runpath=yes
10667 freebsd3.[01]* | freebsdelf3.[01]*)
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10671 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673 shlibpath_overrides_runpath=no
10674 hardcode_into_libs=yes
10676 *) # from 4.6 on, and DragonFly
10677 shlibpath_overrides_runpath=yes
10678 hardcode_into_libs=yes
10680 esac
10683 gnu*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 hardcode_into_libs=yes
10693 haiku*)
10694 version_type=linux
10695 need_lib_prefix=no
10696 need_version=no
10697 dynamic_linker="$host_os runtime_loader"
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10702 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703 hardcode_into_libs=yes
10706 hpux9* | hpux10* | hpux11*)
10707 # Give a soname corresponding to the major version so that dld.sl refuses to
10708 # link against other versions.
10709 version_type=sunos
10710 need_lib_prefix=no
10711 need_version=no
10712 case $host_cpu in
10713 ia64*)
10714 shrext_cmds='.so'
10715 hardcode_into_libs=yes
10716 dynamic_linker="$host_os dld.so"
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 if test "X$HPUX_IA64_MODE" = X32; then
10722 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723 else
10724 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10726 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10728 hppa*64*)
10729 shrext_cmds='.sl'
10730 hardcode_into_libs=yes
10731 dynamic_linker="$host_os dld.sl"
10732 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10740 shrext_cmds='.sl'
10741 dynamic_linker="$host_os dld.sl"
10742 shlibpath_var=SHLIB_PATH
10743 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10747 esac
10748 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749 postinstall_cmds='chmod 555 $lib'
10750 # or fails outright, so override atomically:
10751 install_override_mode=555
10754 interix[3-9]*)
10755 version_type=linux
10756 need_lib_prefix=no
10757 need_version=no
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath=no
10763 hardcode_into_libs=yes
10766 irix5* | irix6* | nonstopux*)
10767 case $host_os in
10768 nonstopux*) version_type=nonstopux ;;
10770 if test "$lt_cv_prog_gnu_ld" = yes; then
10771 version_type=linux
10772 else
10773 version_type=irix
10774 fi ;;
10775 esac
10776 need_lib_prefix=no
10777 need_version=no
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780 case $host_os in
10781 irix5* | nonstopux*)
10782 libsuff= shlibsuff=
10785 case $LD in # libtool.m4 will add one of these switches to LD
10786 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787 libsuff= shlibsuff= libmagic=32-bit;;
10788 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789 libsuff=32 shlibsuff=N32 libmagic=N32;;
10790 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792 *) libsuff= shlibsuff= libmagic=never-match;;
10793 esac
10795 esac
10796 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797 shlibpath_overrides_runpath=no
10798 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800 hardcode_into_libs=yes
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805 dynamic_linker=no
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810 version_type=linux
10811 need_lib_prefix=no
10812 need_version=no
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=no
10819 # Some binutils ld are patched to set DT_RUNPATH
10820 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 lt_cv_shlibpath_overrides_runpath=no
10824 save_LDFLAGS=$LDFLAGS
10825 save_libdir=$libdir
10826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828 if test x$gcc_no_link = xyes; then
10829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10835 main ()
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844 lt_cv_shlibpath_overrides_runpath=yes
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LDFLAGS=$save_LDFLAGS
10850 libdir=$save_libdir
10854 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10856 # This implies no fast_install, which is unacceptable.
10857 # Some rework will be needed to allow for fast_install
10858 # before this can be enabled.
10859 hardcode_into_libs=yes
10861 # Append ld.so.conf contents to the search path
10862 if test -f /etc/ld.so.conf; then
10863 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10864 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10867 # We used to test for /lib/ld.so.1 and disable shared libraries on
10868 # powerpc, because MkLinux only supported shared libraries with the
10869 # GNU dynamic linker. Since this was broken with cross compilers,
10870 # most powerpc-linux boxes support dynamic linking these days and
10871 # people can always --disable-shared, the test was removed, and we
10872 # assume the GNU/Linux dynamic linker is in use.
10873 dynamic_linker='GNU/Linux ld.so'
10876 netbsd*)
10877 version_type=sunos
10878 need_lib_prefix=no
10879 need_version=no
10880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883 dynamic_linker='NetBSD (a.out) ld.so'
10884 else
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 dynamic_linker='NetBSD ld.elf_so'
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10894 newsos6)
10895 version_type=linux
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10901 *nto* | *qnx*)
10902 version_type=qnx
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10910 dynamic_linker='ldqnx.so'
10913 openbsd*)
10914 version_type=sunos
10915 sys_lib_dlsearch_path_spec="/usr/lib"
10916 need_lib_prefix=no
10917 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918 case $host_os in
10919 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10920 *) need_version=no ;;
10921 esac
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926 case $host_os in
10927 openbsd2.[89] | openbsd2.[89].*)
10928 shlibpath_overrides_runpath=no
10931 shlibpath_overrides_runpath=yes
10933 esac
10934 else
10935 shlibpath_overrides_runpath=yes
10939 os2*)
10940 libname_spec='$name'
10941 shrext_cmds=".dll"
10942 need_lib_prefix=no
10943 library_names_spec='$libname${shared_ext} $libname.a'
10944 dynamic_linker='OS/2 ld.exe'
10945 shlibpath_var=LIBPATH
10948 osf3* | osf4* | osf5*)
10949 version_type=osf
10950 need_lib_prefix=no
10951 need_version=no
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10959 rdos*)
10960 dynamic_linker=no
10963 solaris*)
10964 version_type=linux
10965 need_lib_prefix=no
10966 need_version=no
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10972 # ldd complains unless libraries are executable
10973 postinstall_cmds='chmod +x $lib'
10976 sunos4*)
10977 version_type=sunos
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 if test "$with_gnu_ld" = yes; then
10983 need_lib_prefix=no
10985 need_version=yes
10988 sysv4 | sysv4.3*)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 case $host_vendor in
10994 sni)
10995 shlibpath_overrides_runpath=no
10996 need_lib_prefix=no
10997 runpath_var=LD_RUN_PATH
10999 siemens)
11000 need_lib_prefix=no
11002 motorola)
11003 need_lib_prefix=no
11004 need_version=no
11005 shlibpath_overrides_runpath=no
11006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11008 esac
11011 sysv4*MP*)
11012 if test -d /usr/nec ;then
11013 version_type=linux
11014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015 soname_spec='$libname${shared_ext}.$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021 version_type=freebsd-elf
11022 need_lib_prefix=no
11023 need_version=no
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 hardcode_into_libs=yes
11029 if test "$with_gnu_ld" = yes; then
11030 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031 else
11032 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033 case $host_os in
11034 sco3.2v5*)
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11037 esac
11039 sys_lib_dlsearch_path_spec='/usr/lib'
11042 tpf*)
11043 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 version_type=linux
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11053 uts4*)
11054 version_type=linux
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11061 dynamic_linker=no
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175 test -n "$runpath_var" ||
11176 test "X$hardcode_automatic" = "Xyes" ; then
11178 # We can hardcode non-existent directories.
11179 if test "$hardcode_direct" != no &&
11180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181 # have to relink, otherwise we might link with an installed library
11182 # when we should be linking with a yet-to-be-installed one
11183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184 test "$hardcode_minus_L" != no; then
11185 # Linking always hardcodes the temporary library directory.
11186 hardcode_action=relink
11187 else
11188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189 hardcode_action=immediate
11191 else
11192 # We cannot hardcode anything, or else we can only hardcode existing
11193 # directories.
11194 hardcode_action=unsupported
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11199 if test "$hardcode_action" = relink ||
11200 test "$inherit_rpath" = yes; then
11201 # Fast installation is not supported
11202 enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204 test "$enable_shared" = no; then
11205 # Fast installation is not necessary
11206 enable_fast_install=needless
11214 if test "x$enable_dlopen" != xyes; then
11215 enable_dlopen=unknown
11216 enable_dlopen_self=unknown
11217 enable_dlopen_self_static=unknown
11218 else
11219 lt_cv_dlopen=no
11220 lt_cv_dlopen_libs=
11222 case $host_os in
11223 beos*)
11224 lt_cv_dlopen="load_add_on"
11225 lt_cv_dlopen_libs=
11226 lt_cv_dlopen_self=yes
11229 mingw* | pw32* | cegcc*)
11230 lt_cv_dlopen="LoadLibrary"
11231 lt_cv_dlopen_libs=
11234 cygwin*)
11235 lt_cv_dlopen="dlopen"
11236 lt_cv_dlopen_libs=
11239 darwin*)
11240 # if libdl is installed we need to link against it
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11262 main ()
11264 return dlopen ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_dl_dlopen=yes
11271 else
11272 ac_cv_lib_dl_dlopen=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11284 lt_cv_dlopen="dyld"
11285 lt_cv_dlopen_libs=
11286 lt_cv_dlopen_self=yes
11293 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295 lt_cv_dlopen="shl_load"
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11318 main ()
11320 return shl_load ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_dld_shl_load=yes
11327 else
11328 ac_cv_lib_dld_shl_load=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341 lt_cv_dlopen="dlopen"
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11364 main ()
11366 return dlopen ();
11368 return 0;
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_dl_dlopen=yes
11373 else
11374 ac_cv_lib_dl_dlopen=no
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11406 main ()
11408 return dlopen ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_svld_dlopen=yes
11415 else
11416 ac_cv_lib_svld_dlopen=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11448 main ()
11450 return dld_link ();
11452 return 0;
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dld_dld_link=yes
11457 else
11458 ac_cv_lib_dld_dld_link=no
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11486 esac
11488 if test "x$lt_cv_dlopen" != xno; then
11489 enable_dlopen=yes
11490 else
11491 enable_dlopen=no
11494 case $lt_cv_dlopen in
11495 dlopen)
11496 save_CPPFLAGS="$CPPFLAGS"
11497 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11499 save_LDFLAGS="$LDFLAGS"
11500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11502 save_LIBS="$LIBS"
11503 LIBS="$lt_cv_dlopen_libs $LIBS"
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 if test "$cross_compiling" = yes; then :
11511 lt_cv_dlopen_self=cross
11512 else
11513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514 lt_status=$lt_dlunknown
11515 cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11523 #include <stdio.h>
11525 #ifdef RTLD_GLOBAL
11526 # define LT_DLGLOBAL RTLD_GLOBAL
11527 #else
11528 # ifdef DL_GLOBAL
11529 # define LT_DLGLOBAL DL_GLOBAL
11530 # else
11531 # define LT_DLGLOBAL 0
11532 # endif
11533 #endif
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536 find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 # ifdef RTLD_LAZY
11539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # else
11541 # ifdef DL_LAZY
11542 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # else
11544 # ifdef RTLD_NOW
11545 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # else
11547 # ifdef DL_NOW
11548 # define LT_DLLAZY_OR_NOW DL_NOW
11549 # else
11550 # define LT_DLLAZY_OR_NOW 0
11551 # endif
11552 # endif
11553 # endif
11554 # endif
11555 #endif
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558 correspondingly for the symbols needed. */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11563 void fnord () { int i=42; }
11564 int main ()
11566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567 int status = $lt_dlunknown;
11569 if (self)
11571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 else
11574 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11575 else puts (dlerror ());
11577 /* dlclose (self); */
11579 else
11580 puts (dlerror ());
11582 return status;
11584 _LT_EOF
11585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586 (eval $ac_link) 2>&5
11587 ac_status=$?
11588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590 (./conftest; exit; ) >&5 2>/dev/null
11591 lt_status=$?
11592 case x$lt_status in
11593 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596 esac
11597 else :
11598 # compilation failed
11599 lt_cv_dlopen_self=no
11602 rm -fr conftest*
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11609 if test "x$lt_cv_dlopen_self" = xyes; then
11610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 if test "$cross_compiling" = yes; then :
11617 lt_cv_dlopen_self_static=cross
11618 else
11619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620 lt_status=$lt_dlunknown
11621 cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11629 #include <stdio.h>
11631 #ifdef RTLD_GLOBAL
11632 # define LT_DLGLOBAL RTLD_GLOBAL
11633 #else
11634 # ifdef DL_GLOBAL
11635 # define LT_DLGLOBAL DL_GLOBAL
11636 # else
11637 # define LT_DLGLOBAL 0
11638 # endif
11639 #endif
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642 find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 # ifdef RTLD_LAZY
11645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11646 # else
11647 # ifdef DL_LAZY
11648 # define LT_DLLAZY_OR_NOW DL_LAZY
11649 # else
11650 # ifdef RTLD_NOW
11651 # define LT_DLLAZY_OR_NOW RTLD_NOW
11652 # else
11653 # ifdef DL_NOW
11654 # define LT_DLLAZY_OR_NOW DL_NOW
11655 # else
11656 # define LT_DLLAZY_OR_NOW 0
11657 # endif
11658 # endif
11659 # endif
11660 # endif
11661 #endif
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664 correspondingly for the symbols needed. */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11669 void fnord () { int i=42; }
11670 int main ()
11672 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673 int status = $lt_dlunknown;
11675 if (self)
11677 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11678 else
11680 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11681 else puts (dlerror ());
11683 /* dlclose (self); */
11685 else
11686 puts (dlerror ());
11688 return status;
11690 _LT_EOF
11691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692 (eval $ac_link) 2>&5
11693 ac_status=$?
11694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696 (./conftest; exit; ) >&5 2>/dev/null
11697 lt_status=$?
11698 case x$lt_status in
11699 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702 esac
11703 else :
11704 # compilation failed
11705 lt_cv_dlopen_self_static=no
11708 rm -fr conftest*
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11716 CPPFLAGS="$save_CPPFLAGS"
11717 LDFLAGS="$save_LDFLAGS"
11718 LIBS="$save_LIBS"
11720 esac
11722 case $lt_cv_dlopen_self in
11723 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724 *) enable_dlopen_self=unknown ;;
11725 esac
11727 case $lt_cv_dlopen_self_static in
11728 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729 *) enable_dlopen_self_static=unknown ;;
11730 esac
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760 case $host_os in
11761 darwin*)
11762 if test -n "$STRIP" ; then
11763 striplib="$STRIP -x"
11764 old_striplib="$STRIP -S"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11776 esac
11790 # Report which library types will actually be built
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798 test "$can_build_shared" = "no" && enable_shared=no
11800 # On AIX, shared libraries and static libraries use the same namespace, and
11801 # are all built from PIC.
11802 case $host_os in
11803 aix3*)
11804 test "$enable_shared" = yes && enable_static=no
11805 if test -n "$RANLIB"; then
11806 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807 postinstall_cmds='$RANLIB $lib'
11811 aix[4-9]*)
11812 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813 test "$enable_shared" = yes && enable_static=no
11816 esac
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822 # Make sure either enable_shared or enable_static is yes.
11823 test "$enable_shared" = yes || enable_static=yes
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11837 CC="$lt_save_CC"
11839 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841 (test "X$CXX" != "Xg++"))) ; then
11842 ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 # Double quotes because CXXCPP needs to be expanded
11854 for CXXCPP in "$CXX -E" "/lib/cpp"
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11876 else
11877 # Broken: fails on valid input.
11878 continue
11880 rm -f conftest.err conftest.$ac_ext
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11896 rm -f conftest.err conftest.$ac_ext
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902 break
11905 done
11906 ac_cv_prog_CXXCPP=$CXXCPP
11909 CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911 ac_cv_prog_CXXCPP=$CXXCPP
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11918 # Use a header file that comes with gcc, so configuring glibc
11919 # with a fresh cross-compiler works.
11920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 # <limits.h> exists even on freestanding compilers.
11922 # On the NeXT, cc -E runs the code through the compiler's parser,
11923 # not just through cpp. "Syntax error" is here to catch this case.
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931 Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11935 else
11936 # Broken: fails on valid input.
11937 continue
11939 rm -f conftest.err conftest.$ac_ext
11941 # OK, works on sane cases. Now check whether nonexistent headers
11942 # can be detected and how.
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 # Broken: success on invalid input.
11949 continue
11950 else
11951 # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11955 rm -f conftest.err conftest.$ac_ext
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11962 else
11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11975 else
11976 _lt_caught_CXX_error=yes
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working. Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022 # Code to be used in simple compile tests
12023 lt_simple_compile_test_code="int some_variable = 0;"
12025 # Code to be used in simple link tests
12026 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12045 # save warnings/boilerplate of simple test code
12046 ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12052 ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12059 # Allow CC to be a program name with arguments.
12060 lt_save_CC=$CC
12061 lt_save_LD=$LD
12062 lt_save_GCC=$GCC
12063 GCC=$GXX
12064 lt_save_with_gnu_ld=$with_gnu_ld
12065 lt_save_path_LD=$lt_cv_path_LD
12066 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068 else
12069 $as_unset lt_cv_prog_gnu_ld
12071 if test -n "${lt_cv_path_LDCXX+set}"; then
12072 lt_cv_path_LD=$lt_cv_path_LDCXX
12073 else
12074 $as_unset lt_cv_path_LD
12076 test -z "${LDCXX+set}" || LD=$LDCXX
12077 CC=${CXX-"c++"}
12078 compiler=$CC
12079 compiler_CXX=$CC
12080 for cc_temp in $compiler""; do
12081 case $cc_temp in
12082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084 \-*) ;;
12085 *) break;;
12086 esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12091 if test -n "$compiler"; then
12092 # We don't want -fno-exception when compiling C++ code, so set the
12093 # no_builtin_flag separately
12094 if test "$GXX" = yes; then
12095 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096 else
12097 lt_prog_compiler_no_builtin_flag_CXX=
12100 if test "$GXX" = yes; then
12101 # Set up default GNU C++ configuration
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109 with_gnu_ld=no
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114 # Check if gcc -print-prog-name=ld gives a path.
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117 case $host in
12118 *-*-mingw*)
12119 # gcc leaves a trailing carriage return which upsets mingw
12120 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12122 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123 esac
12124 case $ac_prog in
12125 # Accept absolute paths.
12126 [\\/]* | ?:[\\/]*)
12127 re_direlt='/[^/][^/]*/\.\./'
12128 # Canonicalize the pathname of ld
12129 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132 done
12133 test -z "$LD" && LD="$ac_prog"
12136 # If it fails, then pretend we aren't using GCC.
12137 ac_prog=ld
12140 # If it is relative, then search for the first ld in PATH.
12141 with_gnu_ld=unknown
12143 esac
12144 elif test "$with_gnu_ld" = yes; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 if test -z "$LD"; then
12155 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156 for ac_dir in $PATH; do
12157 IFS="$lt_save_ifs"
12158 test -z "$ac_dir" && ac_dir=.
12159 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160 lt_cv_path_LD="$ac_dir/$ac_prog"
12161 # Check to see if the program is GNU ld. I'd rather use --version,
12162 # but apparently some variants of GNU ld only accept -v.
12163 # Break only if it was the GNU/non-GNU ld that we prefer.
12164 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165 *GNU* | *'with BFD'*)
12166 test "$with_gnu_ld" != no && break
12169 test "$with_gnu_ld" != yes && break
12171 esac
12173 done
12174 IFS="$lt_save_ifs"
12175 else
12176 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197 lt_cv_prog_gnu_ld=yes
12200 lt_cv_prog_gnu_ld=no
12202 esac
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12214 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215 # archiving commands below assume that GNU ld is being used.
12216 if test "$with_gnu_ld" = yes; then
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12223 # If archive_cmds runs LD, not CC, wlarc should be empty
12224 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225 # investigate it a little bit more. (MM)
12226 wlarc='${wl}'
12228 # ancient GNU ld didn't support --whole-archive et. al.
12229 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230 $GREP 'no-whole-archive' > /dev/null; then
12231 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232 else
12233 whole_archive_flag_spec_CXX=
12235 else
12236 with_gnu_ld=no
12237 wlarc=
12239 # A generic and very simple default shared library creation
12240 # command for GNU C++ for the case where it uses the native
12241 # linker, instead of GNU ld. If possible, this setting should
12242 # overridden to take advantage of the native linker features on
12243 # the platform it is being used on.
12244 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12247 # Commands to make compiler produce verbose output that lists
12248 # what "hidden" libraries, object files and flags are used when
12249 # linking a shared library.
12250 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12252 else
12253 GXX=no
12254 with_gnu_ld=no
12255 wlarc=
12258 # PORTME: fill in a description of your system's C++ link characteristics
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261 ld_shlibs_CXX=yes
12262 case $host_os in
12263 aix3*)
12264 # FIXME: insert proper C++ library support
12265 ld_shlibs_CXX=no
12267 aix[4-9]*)
12268 if test "$host_cpu" = ia64; then
12269 # On IA64, the linker does run time linking by default, so we don't
12270 # have to do anything special.
12271 aix_use_runtimelinking=no
12272 exp_sym_flag='-Bexport'
12273 no_entry_flag=""
12274 else
12275 aix_use_runtimelinking=no
12277 # Test if we are trying to use run time linking or normal
12278 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279 # need to do runtime linking.
12280 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281 for ld_flag in $LDFLAGS; do
12282 case $ld_flag in
12283 *-brtl*)
12284 aix_use_runtimelinking=yes
12285 break
12287 esac
12288 done
12290 esac
12292 exp_sym_flag='-bexport'
12293 no_entry_flag='-bnoentry'
12296 # When large executables or shared objects are built, AIX ld can
12297 # have problems creating the table of contents. If linking a library
12298 # or program results in "error TOC overflow" add -mminimal-toc to
12299 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12300 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12302 archive_cmds_CXX=''
12303 hardcode_direct_CXX=yes
12304 hardcode_direct_absolute_CXX=yes
12305 hardcode_libdir_separator_CXX=':'
12306 link_all_deplibs_CXX=yes
12307 file_list_spec_CXX='${wl}-f,'
12309 if test "$GXX" = yes; then
12310 case $host_os in aix4.[012]|aix4.[012].*)
12311 # We only want to do this on AIX 4.2 and lower, the check
12312 # below for broken collect2 doesn't work under 4.3+
12313 collect2name=`${CC} -print-prog-name=collect2`
12314 if test -f "$collect2name" &&
12315 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316 then
12317 # We have reworked collect2
12319 else
12320 # We have old collect2
12321 hardcode_direct_CXX=unsupported
12322 # It fails to find uninstalled libraries when the uninstalled
12323 # path is not listed in the libpath. Setting hardcode_minus_L
12324 # to unsupported forces relinking
12325 hardcode_minus_L_CXX=yes
12326 hardcode_libdir_flag_spec_CXX='-L$libdir'
12327 hardcode_libdir_separator_CXX=
12329 esac
12330 shared_flag='-shared'
12331 if test "$aix_use_runtimelinking" = yes; then
12332 shared_flag="$shared_flag "'${wl}-G'
12334 else
12335 # not using gcc
12336 if test "$host_cpu" = ia64; then
12337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338 # chokes on -Wl,-G. The following line is correct:
12339 shared_flag='-G'
12340 else
12341 if test "$aix_use_runtimelinking" = yes; then
12342 shared_flag='${wl}-G'
12343 else
12344 shared_flag='${wl}-bM:SRE'
12349 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350 # It seems that -bexpall does not export symbols beginning with
12351 # underscore (_), so it is better to generate a list of symbols to
12352 # export.
12353 always_export_symbols_CXX=yes
12354 if test "$aix_use_runtimelinking" = yes; then
12355 # Warning - without using the other runtime loading flags (-brtl),
12356 # -berok will link without error, but may produce a broken library.
12357 allow_undefined_flag_CXX='-berok'
12358 # Determine the default libpath from the value encoded in an empty
12359 # executable.
12360 if test x$gcc_no_link = xyes; then
12361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12367 main ()
12371 return 0;
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12376 lt_aix_libpath_sed='
12377 /Import File Strings/,/^$/ {
12378 /^0/ {
12379 s/^0 *\(.*\)$/\1/
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12393 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12395 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12396 else
12397 if test "$host_cpu" = ia64; then
12398 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399 allow_undefined_flag_CXX="-z nodefs"
12400 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12401 else
12402 # Determine the default libpath from the value encoded in an
12403 # empty executable.
12404 if test x$gcc_no_link = xyes; then
12405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12411 main ()
12415 return 0;
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12420 lt_aix_libpath_sed='
12421 /Import File Strings/,/^$/ {
12422 /^0/ {
12423 s/^0 *\(.*\)$/\1/
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12437 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438 # Warning - without using the other run time loading flags,
12439 # -berok will link without error, but may produce a broken library.
12440 no_undefined_flag_CXX=' ${wl}-bernotok'
12441 allow_undefined_flag_CXX=' ${wl}-berok'
12442 if test "$with_gnu_ld" = yes; then
12443 # We only use this code for GNU lds that support --whole-archive.
12444 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445 else
12446 # Exported symbols can be pulled into shared objects from archives
12447 whole_archive_flag_spec_CXX='$convenience'
12449 archive_cmds_need_lc_CXX=yes
12450 # This is similar to how AIX traditionally builds its shared
12451 # libraries.
12452 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12457 beos*)
12458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459 allow_undefined_flag_CXX=unsupported
12460 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461 # support --undefined. This deserves some investigation. FIXME
12462 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463 else
12464 ld_shlibs_CXX=no
12468 chorus*)
12469 case $cc_basename in
12471 # FIXME: insert proper C++ library support
12472 ld_shlibs_CXX=no
12474 esac
12477 cygwin* | mingw* | pw32* | cegcc*)
12478 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479 # as there is no search path for DLLs.
12480 hardcode_libdir_flag_spec_CXX='-L$libdir'
12481 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482 allow_undefined_flag_CXX=unsupported
12483 always_export_symbols_CXX=no
12484 enable_shared_with_static_runtimes_CXX=yes
12486 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12488 # If the export-symbols file already is a .def file (1st line
12489 # is EXPORTS), use it as is; otherwise, prepend...
12490 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491 cp $export_symbols $output_objdir/$soname.def;
12492 else
12493 echo EXPORTS > $output_objdir/$soname.def;
12494 cat $export_symbols >> $output_objdir/$soname.def;
12496 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12497 else
12498 ld_shlibs_CXX=no
12501 darwin* | rhapsody*)
12504 archive_cmds_need_lc_CXX=no
12505 hardcode_direct_CXX=no
12506 hardcode_automatic_CXX=yes
12507 hardcode_shlibpath_var_CXX=unsupported
12508 if test "$lt_cv_ld_force_load" = "yes"; then
12509 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12510 else
12511 whole_archive_flag_spec_CXX=''
12513 link_all_deplibs_CXX=yes
12514 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515 case $cc_basename in
12516 ifort*) _lt_dar_can_shared=yes ;;
12517 *) _lt_dar_can_shared=$GCC ;;
12518 esac
12519 if test "$_lt_dar_can_shared" = "yes"; then
12520 output_verbose_link_cmd=func_echo_all
12521 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12522 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12524 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12525 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12527 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12530 else
12531 ld_shlibs_CXX=no
12536 dgux*)
12537 case $cc_basename in
12538 ec++*)
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12542 ghcx*)
12543 # Green Hills C++ Compiler
12544 # FIXME: insert proper C++ library support
12545 ld_shlibs_CXX=no
12548 # FIXME: insert proper C++ library support
12549 ld_shlibs_CXX=no
12551 esac
12554 freebsd2.*)
12555 # C++ shared libraries reported to be fairly broken before
12556 # switch to ELF
12557 ld_shlibs_CXX=no
12560 freebsd-elf*)
12561 archive_cmds_need_lc_CXX=no
12564 freebsd* | dragonfly*)
12565 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566 # conventions
12567 ld_shlibs_CXX=yes
12570 gnu*)
12573 haiku*)
12574 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575 link_all_deplibs_CXX=yes
12578 hpux9*)
12579 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580 hardcode_libdir_separator_CXX=:
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12582 hardcode_direct_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12587 case $cc_basename in
12588 CC*)
12589 # FIXME: insert proper C++ library support
12590 ld_shlibs_CXX=no
12592 aCC*)
12593 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12594 # Commands to make compiler produce verbose output that lists
12595 # what "hidden" libraries, object files and flags are used when
12596 # linking a shared library.
12598 # There doesn't appear to be a way to prevent this compiler from
12599 # explicitly linking system object files so we need to strip them
12600 # from the output so that they don't get included in the library
12601 # dependencies.
12602 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12605 if test "$GXX" = yes; then
12606 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12607 else
12608 # FIXME: insert proper C++ library support
12609 ld_shlibs_CXX=no
12612 esac
12615 hpux10*|hpux11*)
12616 if test $with_gnu_ld = no; then
12617 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618 hardcode_libdir_separator_CXX=:
12620 case $host_cpu in
12621 hppa*64*|ia64*)
12624 export_dynamic_flag_spec_CXX='${wl}-E'
12626 esac
12628 case $host_cpu in
12629 hppa*64*|ia64*)
12630 hardcode_direct_CXX=no
12631 hardcode_shlibpath_var_CXX=no
12634 hardcode_direct_CXX=yes
12635 hardcode_direct_absolute_CXX=yes
12636 hardcode_minus_L_CXX=yes # Not in the search PATH,
12637 # but as the default
12638 # location of the library.
12640 esac
12642 case $cc_basename in
12643 CC*)
12644 # FIXME: insert proper C++ library support
12645 ld_shlibs_CXX=no
12647 aCC*)
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652 ia64*)
12653 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12658 esac
12659 # Commands to make compiler produce verbose output that lists
12660 # what "hidden" libraries, object files and flags are used when
12661 # linking a shared library.
12663 # There doesn't appear to be a way to prevent this compiler from
12664 # explicitly linking system object files so we need to strip them
12665 # from the output so that they don't get included in the library
12666 # dependencies.
12667 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12670 if test "$GXX" = yes; then
12671 if test $with_gnu_ld = no; then
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12676 ia64*)
12677 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12680 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12682 esac
12684 else
12685 # FIXME: insert proper C++ library support
12686 ld_shlibs_CXX=no
12689 esac
12692 interix[3-9]*)
12693 hardcode_direct_CXX=no
12694 hardcode_shlibpath_var_CXX=no
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}-E'
12697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698 # Instead, shared libraries are loaded at an image base (0x10000000 by
12699 # default) and relocated if they conflict, which is a slow very memory
12700 # consuming and fragmenting process. To avoid this, we pick a random,
12701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12703 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12704 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12706 irix5* | irix6*)
12707 case $cc_basename in
12708 CC*)
12709 # SGI C++
12710 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12712 # Archives containing C++ object files must be created using
12713 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12714 # necessary to make sure instantiated templates are included
12715 # in the archive.
12716 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12719 if test "$GXX" = yes; then
12720 if test "$with_gnu_ld" = no; then
12721 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12722 else
12723 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12726 link_all_deplibs_CXX=yes
12728 esac
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730 hardcode_libdir_separator_CXX=:
12731 inherit_rpath_CXX=yes
12734 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735 case $cc_basename in
12736 KCC*)
12737 # Kuck and Associates, Inc. (KAI) C++ Compiler
12739 # KCC will only create a shared library if the output file
12740 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741 # to its proper name (with version) after linking.
12742 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12743 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12744 # Commands to make compiler produce verbose output that lists
12745 # what "hidden" libraries, object files and flags are used when
12746 # linking a shared library.
12748 # There doesn't appear to be a way to prevent this compiler from
12749 # explicitly linking system object files so we need to strip them
12750 # from the output so that they don't get included in the library
12751 # dependencies.
12752 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 # Archives containing C++ object files must be created using
12758 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12761 icpc* | ecpc* )
12762 # Intel C++
12763 with_gnu_ld=yes
12764 # version 8.0 and above of icpc choke on multiply defined symbols
12765 # if we add $predep_objects and $postdep_objects, however 7.1 and
12766 # earlier do not add the objects themselves.
12767 case `$CC -V 2>&1` in
12768 *"Version 7."*)
12769 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12772 *) # Version 8.0 or newer
12773 tmp_idyn=
12774 case $host_cpu in
12775 ia64*) tmp_idyn=' -i_dynamic';;
12776 esac
12777 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12780 esac
12781 archive_cmds_need_lc_CXX=no
12782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12786 pgCC* | pgcpp*)
12787 # Portland Group C++ compiler
12788 case `$CC -V` in
12789 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790 prelink_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794 old_archive_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798 $RANLIB $oldlib'
12799 archive_cmds_CXX='tpldir=Template.dir~
12800 rm -rf $tpldir~
12801 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803 archive_expsym_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12808 *) # Version 6 and above use weak symbols
12809 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12812 esac
12814 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12818 cxx*)
12819 # Compaq C++
12820 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12823 runpath_var=LD_RUN_PATH
12824 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825 hardcode_libdir_separator_CXX=:
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12837 xl* | mpixl* | bgxl*)
12838 # IBM XL 8.0 on PPC, with GNU ld
12839 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 if test "x$supports_anon_versioning" = xyes; then
12843 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845 echo "local: *; };" >> $output_objdir/$libname.ver~
12846 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12850 case `$CC -V 2>&1 | sed 5q` in
12851 *Sun\ C*)
12852 # Sun C++ 5.9
12853 no_undefined_flag_CXX=' -zdefs'
12854 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12856 hardcode_libdir_flag_spec_CXX='-R$libdir'
12857 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12858 compiler_needs_object_CXX=yes
12860 # Not sure whether something based on
12861 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862 # would be better.
12863 output_verbose_link_cmd='func_echo_all'
12865 # Archives containing C++ object files must be created using
12866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12867 # necessary to make sure instantiated templates are included
12868 # in the archive.
12869 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12871 esac
12873 esac
12876 lynxos*)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12881 m88k*)
12882 # FIXME: insert proper C++ library support
12883 ld_shlibs_CXX=no
12886 mvs*)
12887 case $cc_basename in
12888 cxx*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12893 # FIXME: insert proper C++ library support
12894 ld_shlibs_CXX=no
12896 esac
12899 netbsd*)
12900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902 wlarc=
12903 hardcode_libdir_flag_spec_CXX='-R$libdir'
12904 hardcode_direct_CXX=yes
12905 hardcode_shlibpath_var_CXX=no
12907 # Workaround some broken pre-1.5 toolchains
12908 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12911 *nto* | *qnx*)
12912 ld_shlibs_CXX=yes
12915 openbsd2*)
12916 # C++ shared libraries are fairly broken
12917 ld_shlibs_CXX=no
12920 openbsd*)
12921 if test -f /usr/libexec/ld.so; then
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 hardcode_direct_absolute_CXX=yes
12925 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929 export_dynamic_flag_spec_CXX='${wl}-E'
12930 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12932 output_verbose_link_cmd=func_echo_all
12933 else
12934 ld_shlibs_CXX=no
12938 osf3* | osf4* | osf5*)
12939 case $cc_basename in
12940 KCC*)
12941 # Kuck and Associates, Inc. (KAI) C++ Compiler
12943 # KCC will only create a shared library if the output file
12944 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945 # to its proper name (with version) after linking.
12946 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12948 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949 hardcode_libdir_separator_CXX=:
12951 # Archives containing C++ object files must be created using
12952 # the KAI C++ compiler.
12953 case $host in
12954 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956 esac
12958 RCC*)
12959 # Rational C++ 2.4.1
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12963 cxx*)
12964 case $host in
12965 osf3*)
12966 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12968 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12971 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12973 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974 echo "-hidden">> $lib.exp~
12975 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12976 $RM $lib.exp'
12977 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12979 esac
12981 hardcode_libdir_separator_CXX=:
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12987 # There doesn't appear to be a way to prevent this compiler from
12988 # explicitly linking system object files so we need to strip them
12989 # from the output so that they don't get included in the library
12990 # dependencies.
12991 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12994 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996 case $host in
12997 osf3*)
12998 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13001 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13003 esac
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006 hardcode_libdir_separator_CXX=:
13008 # Commands to make compiler produce verbose output that lists
13009 # what "hidden" libraries, object files and flags are used when
13010 # linking a shared library.
13011 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13013 else
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13018 esac
13021 psos*)
13022 # FIXME: insert proper C++ library support
13023 ld_shlibs_CXX=no
13026 sunos4*)
13027 case $cc_basename in
13028 CC*)
13029 # Sun C++ 4.x
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13033 lcc*)
13034 # Lucid
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 # FIXME: insert proper C++ library support
13040 ld_shlibs_CXX=no
13042 esac
13045 solaris*)
13046 case $cc_basename in
13047 CC*)
13048 # Sun C++ 4.2, 5.x and Centerline C++
13049 archive_cmds_need_lc_CXX=yes
13050 no_undefined_flag_CXX=' -zdefs'
13051 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13055 hardcode_libdir_flag_spec_CXX='-R$libdir'
13056 hardcode_shlibpath_var_CXX=no
13057 case $host_os in
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13060 # The compiler driver will combine and reorder linker options,
13061 # but understands `-z linker_flag'.
13062 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13065 esac
13066 link_all_deplibs_CXX=yes
13068 output_verbose_link_cmd='func_echo_all'
13070 # Archives containing C++ object files must be created using
13071 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13072 # necessary to make sure instantiated templates are included
13073 # in the archive.
13074 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13076 gcx*)
13077 # Green Hills C++ Compiler
13078 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13080 # The C++ compiler must be used to create the archive.
13081 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13084 # GNU C++ compiler with Solaris linker
13085 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098 # platform.
13099 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110 case $host_os in
13111 solaris2.[0-5] | solaris2.[0-5].*) ;;
13113 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13115 esac
13118 esac
13121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 runpath_var='LD_RUN_PATH'
13127 case $cc_basename in
13128 CC*)
13129 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 esac
13139 sysv5* | sco3.2v5* | sco5v6*)
13140 # Note: We can NOT use -z defs as we might desire, because we do not
13141 # link with -lc, and that would cause any symbols used from libc to
13142 # always be unresolved, which means just about no library would
13143 # ever link correctly. If we're not using GNU ld we use -z text
13144 # though, which does catch some bad symbols but isn't as heavy-handed
13145 # as -z defs.
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 allow_undefined_flag_CXX='${wl}-z,nodefs'
13148 archive_cmds_need_lc_CXX=no
13149 hardcode_shlibpath_var_CXX=no
13150 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151 hardcode_libdir_separator_CXX=':'
13152 link_all_deplibs_CXX=yes
13153 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154 runpath_var='LD_RUN_PATH'
13156 case $cc_basename in
13157 CC*)
13158 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161 '"$old_archive_cmds_CXX"
13162 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163 '"$reload_cmds_CXX"
13166 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13169 esac
13172 tandem*)
13173 case $cc_basename in
13174 NCC*)
13175 # NonStop-UX NCC 3.20
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13180 # FIXME: insert proper C++ library support
13181 ld_shlibs_CXX=no
13183 esac
13186 vxworks*)
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13192 # FIXME: insert proper C++ library support
13193 ld_shlibs_CXX=no
13195 esac
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199 test "$ld_shlibs_CXX" = no && can_build_shared=no
13201 GCC_CXX="$GXX"
13202 LD_CXX="$LD"
13204 ## CAVEAT EMPTOR:
13205 ## There is no encapsulation within the following macros, do not change
13206 ## the running order or otherwise move them around unless you know exactly
13207 ## what you are doing...
13208 # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13218 public:
13219 Foo (void) { a = 0; }
13220 private:
13221 int a;
13223 _LT_EOF
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226 (eval $ac_compile) 2>&5
13227 ac_status=$?
13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229 test $ac_status = 0; }; then
13230 # Parse the compiler output and extract the necessary
13231 # objects, libraries and library flags.
13233 # Sentinel used to keep track of whether or not we are before
13234 # the conftest object file.
13235 pre_test_object_deps_done=no
13237 for p in `eval "$output_verbose_link_cmd"`; do
13238 case $p in
13240 -L* | -R* | -l*)
13241 # Some compilers place space between "-{L,R}" and the path.
13242 # Remove the space.
13243 if test $p = "-L" ||
13244 test $p = "-R"; then
13245 prev=$p
13246 continue
13247 else
13248 prev=
13251 if test "$pre_test_object_deps_done" = no; then
13252 case $p in
13253 -L* | -R*)
13254 # Internal compiler library paths should come after those
13255 # provided the user. The postdeps already come after the
13256 # user supplied libs so there is no need to process them.
13257 if test -z "$compiler_lib_search_path_CXX"; then
13258 compiler_lib_search_path_CXX="${prev}${p}"
13259 else
13260 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13263 # The "-l" case would never come before the object being
13264 # linked, so don't bother handling this case.
13265 esac
13266 else
13267 if test -z "$postdeps_CXX"; then
13268 postdeps_CXX="${prev}${p}"
13269 else
13270 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13275 *.$objext)
13276 # This assumes that the test object file only shows up
13277 # once in the compiler output.
13278 if test "$p" = "conftest.$objext"; then
13279 pre_test_object_deps_done=yes
13280 continue
13283 if test "$pre_test_object_deps_done" = no; then
13284 if test -z "$predep_objects_CXX"; then
13285 predep_objects_CXX="$p"
13286 else
13287 predep_objects_CXX="$predep_objects_CXX $p"
13289 else
13290 if test -z "$postdep_objects_CXX"; then
13291 postdep_objects_CXX="$p"
13292 else
13293 postdep_objects_CXX="$postdep_objects_CXX $p"
13298 *) ;; # Ignore the rest.
13300 esac
13301 done
13303 # Clean up.
13304 rm -f a.out a.exe
13305 else
13306 echo "libtool.m4: error: problem compiling CXX test program"
13309 $RM -f confest.$objext
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315 # hack all around it, let's just trust "g++" to DTRT.
13316 predep_objects_CXX=
13317 postdep_objects_CXX=
13318 postdeps_CXX=
13321 linux*)
13322 case `$CC -V 2>&1 | sed 5q` in
13323 *Sun\ C*)
13324 # Sun C++ 5.9
13326 # The more standards-conforming stlport4 library is
13327 # incompatible with the Cstd library. Avoid specifying
13328 # it if it's in CXXFLAGS. Ignore libCrun as
13329 # -library=stlport4 depends on it.
13330 case " $CXX $CXXFLAGS " in
13331 *" -library=stlport4 "*)
13332 solaris_use_stlport4=yes
13334 esac
13336 if test "$solaris_use_stlport4" != yes; then
13337 postdeps_CXX='-library=Cstd -library=Crun'
13340 esac
13343 solaris*)
13344 case $cc_basename in
13345 CC*)
13346 # The more standards-conforming stlport4 library is
13347 # incompatible with the Cstd library. Avoid specifying
13348 # it if it's in CXXFLAGS. Ignore libCrun as
13349 # -library=stlport4 depends on it.
13350 case " $CXX $CXXFLAGS " in
13351 *" -library=stlport4 "*)
13352 solaris_use_stlport4=yes
13354 esac
13356 # Adding this requires a known-good setup of shared libraries for
13357 # Sun compiler versions before 5.6, else PIC objects from an old
13358 # archive will be linked into the output, leading to subtle bugs.
13359 if test "$solaris_use_stlport4" != yes; then
13360 postdeps_CXX='-library=Cstd -library=Crun'
13363 esac
13365 esac
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371 compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13406 lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13413 # C++ specific cases for pic, static, wl, etc.
13414 if test "$GXX" = yes; then
13415 lt_prog_compiler_wl_CXX='-Wl,'
13416 lt_prog_compiler_static_CXX='-static'
13418 case $host_os in
13419 aix*)
13420 # All AIX code is PIC.
13421 if test "$host_cpu" = ia64; then
13422 # AIX 5 now supports IA64 processor
13423 lt_prog_compiler_static_CXX='-Bstatic'
13425 lt_prog_compiler_pic_CXX='-fPIC'
13428 amigaos*)
13429 case $host_cpu in
13430 powerpc)
13431 # see comment about AmigaOS4 .so support
13432 lt_prog_compiler_pic_CXX='-fPIC'
13434 m68k)
13435 # FIXME: we need at least 68020 code to build shared libraries, but
13436 # adding the `-m68020' flag to GCC prevents building anything better,
13437 # like `-m68040'.
13438 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13440 esac
13443 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444 # PIC is the default for these OSes.
13446 mingw* | cygwin* | os2* | pw32* | cegcc*)
13447 # This hack is so that the source file can tell whether it is being
13448 # built for inclusion in a dll (and should export symbols for example).
13449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450 # (--disable-auto-import) libraries
13451 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13453 darwin* | rhapsody*)
13454 # PIC is the default on this platform
13455 # Common symbols not allowed in MH_DYLIB files
13456 lt_prog_compiler_pic_CXX='-fno-common'
13458 *djgpp*)
13459 # DJGPP does not support shared libraries at all
13460 lt_prog_compiler_pic_CXX=
13462 haiku*)
13463 # PIC is the default for Haiku.
13464 # The "-static" flag exists, but is broken.
13465 lt_prog_compiler_static_CXX=
13467 interix[3-9]*)
13468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469 # Instead, we relocate shared libraries at runtime.
13471 sysv4*MP*)
13472 if test -d /usr/nec; then
13473 lt_prog_compiler_pic_CXX=-Kconform_pic
13476 hpux*)
13477 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13479 # sets the default TLS model and affects inlining.
13480 case $host_cpu in
13481 hppa*64*)
13484 lt_prog_compiler_pic_CXX='-fPIC'
13486 esac
13488 *qnx* | *nto*)
13489 # QNX uses GNU C++, but need to define -shared option too, otherwise
13490 # it will coredump.
13491 lt_prog_compiler_pic_CXX='-fPIC -shared'
13494 lt_prog_compiler_pic_CXX='-fPIC'
13496 esac
13497 else
13498 case $host_os in
13499 aix[4-9]*)
13500 # All AIX code is PIC.
13501 if test "$host_cpu" = ia64; then
13502 # AIX 5 now supports IA64 processor
13503 lt_prog_compiler_static_CXX='-Bstatic'
13504 else
13505 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13508 chorus*)
13509 case $cc_basename in
13510 cxch68*)
13511 # Green Hills C++ Compiler
13512 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13514 esac
13516 dgux*)
13517 case $cc_basename in
13518 ec++*)
13519 lt_prog_compiler_pic_CXX='-KPIC'
13521 ghcx*)
13522 # Green Hills C++ Compiler
13523 lt_prog_compiler_pic_CXX='-pic'
13527 esac
13529 freebsd* | dragonfly*)
13530 # FreeBSD uses GNU C++
13532 hpux9* | hpux10* | hpux11*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537 if test "$host_cpu" != ia64; then
13538 lt_prog_compiler_pic_CXX='+Z'
13541 aCC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 case $host_cpu in
13545 hppa*64*|ia64*)
13546 # +Z the default
13549 lt_prog_compiler_pic_CXX='+Z'
13551 esac
13555 esac
13557 interix*)
13558 # This is c89, which is MS Visual C++ (no shared libs)
13559 # Anyone wants to do a port?
13561 irix5* | irix6* | nonstopux*)
13562 case $cc_basename in
13563 CC*)
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='-non_shared'
13566 # CC pic flag -KPIC is the default.
13570 esac
13572 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573 case $cc_basename in
13574 KCC*)
13575 # KAI C++ Compiler
13576 lt_prog_compiler_wl_CXX='--backend -Wl,'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 ecpc* )
13580 # old Intel C++ for x86_64 which still supported -KPIC.
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-KPIC'
13583 lt_prog_compiler_static_CXX='-static'
13585 icpc* )
13586 # Intel C++, used to be incompatible with GCC.
13587 # ICC 10 doesn't accept -KPIC any more.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13590 lt_prog_compiler_static_CXX='-static'
13592 pgCC* | pgcpp*)
13593 # Portland Group C++ compiler
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-fpic'
13596 lt_prog_compiler_static_CXX='-Bstatic'
13598 cxx*)
13599 # Compaq C++
13600 # Make sure the PIC flag is empty. It appears that all Alpha
13601 # Linux and Compaq Tru64 Unix objects are PIC.
13602 lt_prog_compiler_pic_CXX=
13603 lt_prog_compiler_static_CXX='-non_shared'
13605 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606 # IBM XL 8.0, 9.0 on PPC and BlueGene
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-qpic'
13609 lt_prog_compiler_static_CXX='-qstaticlink'
13612 case `$CC -V 2>&1 | sed 5q` in
13613 *Sun\ C*)
13614 # Sun C++ 5.9
13615 lt_prog_compiler_pic_CXX='-KPIC'
13616 lt_prog_compiler_static_CXX='-Bstatic'
13617 lt_prog_compiler_wl_CXX='-Qoption ld '
13619 esac
13621 esac
13623 lynxos*)
13625 m88k*)
13627 mvs*)
13628 case $cc_basename in
13629 cxx*)
13630 lt_prog_compiler_pic_CXX='-W c,exportall'
13634 esac
13636 netbsd*)
13638 *qnx* | *nto*)
13639 # QNX uses GNU C++, but need to define -shared option too, otherwise
13640 # it will coredump.
13641 lt_prog_compiler_pic_CXX='-fPIC -shared'
13643 osf3* | osf4* | osf5*)
13644 case $cc_basename in
13645 KCC*)
13646 lt_prog_compiler_wl_CXX='--backend -Wl,'
13648 RCC*)
13649 # Rational C++ 2.4.1
13650 lt_prog_compiler_pic_CXX='-pic'
13652 cxx*)
13653 # Digital/Compaq C++
13654 lt_prog_compiler_wl_CXX='-Wl,'
13655 # Make sure the PIC flag is empty. It appears that all Alpha
13656 # Linux and Compaq Tru64 Unix objects are PIC.
13657 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_static_CXX='-non_shared'
13662 esac
13664 psos*)
13666 solaris*)
13667 case $cc_basename in
13668 CC*)
13669 # Sun C++ 4.2, 5.x and Centerline C++
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-Bstatic'
13672 lt_prog_compiler_wl_CXX='-Qoption ld '
13674 gcx*)
13675 # Green Hills C++ Compiler
13676 lt_prog_compiler_pic_CXX='-PIC'
13680 esac
13682 sunos4*)
13683 case $cc_basename in
13684 CC*)
13685 # Sun C++ 4.x
13686 lt_prog_compiler_pic_CXX='-pic'
13687 lt_prog_compiler_static_CXX='-Bstatic'
13689 lcc*)
13690 # Lucid
13691 lt_prog_compiler_pic_CXX='-pic'
13695 esac
13697 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698 case $cc_basename in
13699 CC*)
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-KPIC'
13702 lt_prog_compiler_static_CXX='-Bstatic'
13704 esac
13706 tandem*)
13707 case $cc_basename in
13708 NCC*)
13709 # NonStop-UX NCC 3.20
13710 lt_prog_compiler_pic_CXX='-KPIC'
13714 esac
13716 vxworks*)
13719 lt_prog_compiler_can_build_shared_CXX=no
13721 esac
13724 case $host_os in
13725 # For platforms which do not support PIC, -DPIC is meaningless:
13726 *djgpp*)
13727 lt_prog_compiler_pic_CXX=
13730 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13739 # Check to make sure the PIC flag actually works.
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 lt_cv_prog_compiler_pic_works_CXX=no
13748 ac_outfile=conftest.$ac_objext
13749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751 # Insert the option either (1) after the last *FLAGS variable, or
13752 # (2) before a word containing "conftest.", or (3) at the end.
13753 # Note that $ac_compile itself does not contain backslashes and begins
13754 # with a dollar sign (not a hyphen), so the echo should work correctly.
13755 # The option is referenced via a variable to avoid confusing sed.
13756 lt_compile=`echo "$ac_compile" | $SED \
13757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759 -e 's:$: $lt_compiler_flag:'`
13760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761 (eval "$lt_compile" 2>conftest.err)
13762 ac_status=$?
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 if (exit $ac_status) && test -s "$ac_outfile"; then
13766 # The compiler can only warn and ignore the option if not recognized
13767 # So say no if there are warnings other than the usual output.
13768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771 lt_cv_prog_compiler_pic_works_CXX=yes
13774 $RM conftest*
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781 case $lt_prog_compiler_pic_CXX in
13782 "" | " "*) ;;
13783 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784 esac
13785 else
13786 lt_prog_compiler_pic_CXX=
13787 lt_prog_compiler_can_build_shared_CXX=no
13795 # Check to make sure the static flag actually works.
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 lt_cv_prog_compiler_static_works_CXX=no
13804 save_LDFLAGS="$LDFLAGS"
13805 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808 # The linker can only warn and ignore the option if not recognized
13809 # So say no if there are warnings
13810 if test -s conftest.err; then
13811 # Append any errors to the config.log.
13812 cat conftest.err 1>&5
13813 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815 if diff conftest.exp conftest.er2 >/dev/null; then
13816 lt_cv_prog_compiler_static_works_CXX=yes
13818 else
13819 lt_cv_prog_compiler_static_works_CXX=yes
13822 $RM -r conftest*
13823 LDFLAGS="$save_LDFLAGS"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13831 else
13832 lt_prog_compiler_static_CXX=
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 lt_cv_prog_compiler_c_o_CXX=no
13844 $RM -r conftest 2>/dev/null
13845 mkdir conftest
13846 cd conftest
13847 mkdir out
13848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13850 lt_compiler_flag="-o out/conftest2.$ac_objext"
13851 # Insert the option either (1) after the last *FLAGS variable, or
13852 # (2) before a word containing "conftest.", or (3) at the end.
13853 # Note that $ac_compile itself does not contain backslashes and begins
13854 # with a dollar sign (not a hyphen), so the echo should work correctly.
13855 lt_compile=`echo "$ac_compile" | $SED \
13856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858 -e 's:$: $lt_compiler_flag:'`
13859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860 (eval "$lt_compile" 2>out/conftest.err)
13861 ac_status=$?
13862 cat out/conftest.err >&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865 then
13866 # The compiler can only warn and ignore the option if not recognized
13867 # So say no if there are warnings
13868 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871 lt_cv_prog_compiler_c_o_CXX=yes
13874 chmod u+w . 2>&5
13875 $RM conftest*
13876 # SGI C++ compiler will create directory out/ii_files/ for
13877 # template instantiation
13878 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879 $RM out/* && rmdir out
13880 cd ..
13881 $RM -r conftest
13882 $RM conftest*
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_c_o_CXX=no
13896 $RM -r conftest 2>/dev/null
13897 mkdir conftest
13898 cd conftest
13899 mkdir out
13900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13902 lt_compiler_flag="-o out/conftest2.$ac_objext"
13903 # Insert the option either (1) after the last *FLAGS variable, or
13904 # (2) before a word containing "conftest.", or (3) at the end.
13905 # Note that $ac_compile itself does not contain backslashes and begins
13906 # with a dollar sign (not a hyphen), so the echo should work correctly.
13907 lt_compile=`echo "$ac_compile" | $SED \
13908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910 -e 's:$: $lt_compiler_flag:'`
13911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912 (eval "$lt_compile" 2>out/conftest.err)
13913 ac_status=$?
13914 cat out/conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917 then
13918 # The compiler can only warn and ignore the option if not recognized
13919 # So say no if there are warnings
13920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923 lt_cv_prog_compiler_c_o_CXX=yes
13926 chmod u+w . 2>&5
13927 $RM conftest*
13928 # SGI C++ compiler will create directory out/ii_files/ for
13929 # template instantiation
13930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931 $RM out/* && rmdir out
13932 cd ..
13933 $RM -r conftest
13934 $RM conftest*
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945 # do not overwrite the value of need_locks provided by the user
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948 hard_links=yes
13949 $RM conftest*
13950 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951 touch conftest.a
13952 ln conftest.a conftest.b 2>&5 || hard_links=no
13953 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956 if test "$hard_links" = no; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959 need_locks=warn
13961 else
13962 need_locks=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13970 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971 case $host_os in
13972 aix[4-9]*)
13973 # If we're using GNU nm, then we don't want the "-C" option.
13974 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975 # Also, AIX nm treats weak defined symbols like other global defined
13976 # symbols, whereas GNU nm marks them as "W".
13977 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13979 else
13980 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13983 pw32*)
13984 export_symbols_cmds_CXX="$ltdll_cmds"
13986 cygwin* | mingw* | cegcc*)
13987 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13990 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13992 esac
13993 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13999 with_gnu_ld_CXX=$with_gnu_ld
14007 # Do we need to explicitly link libc?
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011 # Assume -lc should be added
14012 archive_cmds_need_lc_CXX=yes
14014 if test "$enable_shared" = yes && test "$GCC" = yes; then
14015 case $archive_cmds_CXX in
14016 *'~'*)
14017 # FIXME: we may have to deal with multi-command sequences.
14019 '$CC '*)
14020 # Test whether the compiler implicitly links with -lc since on some
14021 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022 # to ld, don't add -lc before -lgcc.
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 $RM conftest*
14029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032 (eval $ac_compile) 2>&5
14033 ac_status=$?
14034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035 test $ac_status = 0; } 2>conftest.err; then
14036 soname=conftest
14037 lib=conftest
14038 libobjs=conftest.$ac_objext
14039 deplibs=
14040 wl=$lt_prog_compiler_wl_CXX
14041 pic_flag=$lt_prog_compiler_pic_CXX
14042 compiler_flags=-v
14043 linker_flags=-v
14044 verstring=
14045 output_objdir=.
14046 libname=conftest
14047 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048 allow_undefined_flag_CXX=
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; }
14054 then
14055 lt_cv_archive_cmds_need_lc_CXX=no
14056 else
14057 lt_cv_archive_cmds_need_lc_CXX=yes
14059 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060 else
14061 cat conftest.err 1>&5
14063 $RM conftest*
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14070 esac
14073 esac
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14161 case $host_os in
14162 aix3*)
14163 version_type=linux
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165 shlibpath_var=LIBPATH
14167 # AIX 3 has no versioning support, so we append a major version to the name.
14168 soname_spec='${libname}${release}${shared_ext}$major'
14171 aix[4-9]*)
14172 version_type=linux
14173 need_lib_prefix=no
14174 need_version=no
14175 hardcode_into_libs=yes
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 supports IA64
14178 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179 shlibpath_var=LD_LIBRARY_PATH
14180 else
14181 # With GCC up to 2.95.x, collect2 would create an import file
14182 # for dependence libraries. The import file would start with
14183 # the line `#! .'. This would cause the generated library to
14184 # depend on `.', always an invalid library. This was fixed in
14185 # development snapshots of GCC prior to 3.0.
14186 case $host_os in
14187 aix4 | aix4.[01] | aix4.[01].*)
14188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189 echo ' yes '
14190 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14192 else
14193 can_build_shared=no
14196 esac
14197 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198 # soname into executable. Probably we can add versioning support to
14199 # collect2, so additional links can be useful in future.
14200 if test "$aix_use_runtimelinking" = yes; then
14201 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202 # instead of lib<name>.a to let people know that these are not
14203 # typical AIX shared libraries.
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 else
14206 # We preserve .a as extension for shared libraries through AIX4.2
14207 # and later when we are not doing run time linking.
14208 library_names_spec='${libname}${release}.a $libname.a'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14211 shlibpath_var=LIBPATH
14215 amigaos*)
14216 case $host_cpu in
14217 powerpc)
14218 # Since July 2007 AmigaOS4 officially supports .so libraries.
14219 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14222 m68k)
14223 library_names_spec='$libname.ixlibrary $libname.a'
14224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14227 esac
14230 beos*)
14231 library_names_spec='${libname}${shared_ext}'
14232 dynamic_linker="$host_os ld.so"
14233 shlibpath_var=LIBRARY_PATH
14236 bsdi[45]*)
14237 version_type=linux
14238 need_version=no
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 soname_spec='${libname}${release}${shared_ext}$major'
14241 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242 shlibpath_var=LD_LIBRARY_PATH
14243 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245 # the default ld.so.conf also contains /usr/contrib/lib and
14246 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247 # libtool to hard-code these into programs
14250 cygwin* | mingw* | pw32* | cegcc*)
14251 version_type=windows
14252 shrext_cmds=".dll"
14253 need_version=no
14254 need_lib_prefix=no
14256 case $GCC,$host_os in
14257 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258 library_names_spec='$libname.dll.a'
14259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260 postinstall_cmds='base_file=`basename \${file}`~
14261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262 dldir=$destdir/`dirname \$dlpath`~
14263 test -d \$dldir || mkdir -p \$dldir~
14264 $install_prog $dir/$dlname \$dldir/$dlname~
14265 chmod a+x \$dldir/$dlname~
14266 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14269 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270 dlpath=$dir/\$dldll~
14271 $RM \$dlpath'
14272 shlibpath_overrides_runpath=yes
14274 case $host_os in
14275 cygwin*)
14276 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14280 mingw* | cegcc*)
14281 # MinGW DLLs use traditional 'lib' prefix
14282 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14284 pw32*)
14285 # pw32 DLLs use 'pw' prefix rather than 'lib'
14286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14288 esac
14292 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14294 esac
14295 dynamic_linker='Win32 ld.exe'
14296 # FIXME: first we should search . and the directory the executable is in
14297 shlibpath_var=PATH
14300 darwin* | rhapsody*)
14301 dynamic_linker="$host_os dyld"
14302 version_type=darwin
14303 need_lib_prefix=no
14304 need_version=no
14305 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306 soname_spec='${libname}${release}${major}$shared_ext'
14307 shlibpath_overrides_runpath=yes
14308 shlibpath_var=DYLD_LIBRARY_PATH
14309 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14311 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14314 dgux*)
14315 version_type=linux
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14320 shlibpath_var=LD_LIBRARY_PATH
14323 freebsd* | dragonfly*)
14324 # DragonFly does not have aout. When/if they implement a new
14325 # versioning mechanism, adjust this.
14326 if test -x /usr/bin/objformat; then
14327 objformat=`/usr/bin/objformat`
14328 else
14329 case $host_os in
14330 freebsd[23].*) objformat=aout ;;
14331 *) objformat=elf ;;
14332 esac
14334 version_type=freebsd-$objformat
14335 case $version_type in
14336 freebsd-elf*)
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338 need_version=no
14339 need_lib_prefix=no
14341 freebsd-*)
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343 need_version=yes
14345 esac
14346 shlibpath_var=LD_LIBRARY_PATH
14347 case $host_os in
14348 freebsd2.*)
14349 shlibpath_overrides_runpath=yes
14351 freebsd3.[01]* | freebsdelf3.[01]*)
14352 shlibpath_overrides_runpath=yes
14353 hardcode_into_libs=yes
14355 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357 shlibpath_overrides_runpath=no
14358 hardcode_into_libs=yes
14360 *) # from 4.6 on, and DragonFly
14361 shlibpath_overrides_runpath=yes
14362 hardcode_into_libs=yes
14364 esac
14367 gnu*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 shlibpath_var=LD_LIBRARY_PATH
14374 hardcode_into_libs=yes
14377 haiku*)
14378 version_type=linux
14379 need_lib_prefix=no
14380 need_version=no
14381 dynamic_linker="$host_os runtime_loader"
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 shlibpath_var=LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes
14386 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387 hardcode_into_libs=yes
14390 hpux9* | hpux10* | hpux11*)
14391 # Give a soname corresponding to the major version so that dld.sl refuses to
14392 # link against other versions.
14393 version_type=sunos
14394 need_lib_prefix=no
14395 need_version=no
14396 case $host_cpu in
14397 ia64*)
14398 shrext_cmds='.so'
14399 hardcode_into_libs=yes
14400 dynamic_linker="$host_os dld.so"
14401 shlibpath_var=LD_LIBRARY_PATH
14402 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14405 if test "X$HPUX_IA64_MODE" = X32; then
14406 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407 else
14408 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14412 hppa*64*)
14413 shrext_cmds='.sl'
14414 hardcode_into_libs=yes
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14424 shrext_cmds='.sl'
14425 dynamic_linker="$host_os dld.sl"
14426 shlibpath_var=SHLIB_PATH
14427 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 soname_spec='${libname}${release}${shared_ext}$major'
14431 esac
14432 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433 postinstall_cmds='chmod 555 $lib'
14434 # or fails outright, so override atomically:
14435 install_override_mode=555
14438 interix[3-9]*)
14439 version_type=linux
14440 need_lib_prefix=no
14441 need_version=no
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=no
14447 hardcode_into_libs=yes
14450 irix5* | irix6* | nonstopux*)
14451 case $host_os in
14452 nonstopux*) version_type=nonstopux ;;
14454 if test "$lt_cv_prog_gnu_ld" = yes; then
14455 version_type=linux
14456 else
14457 version_type=irix
14458 fi ;;
14459 esac
14460 need_lib_prefix=no
14461 need_version=no
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464 case $host_os in
14465 irix5* | nonstopux*)
14466 libsuff= shlibsuff=
14469 case $LD in # libtool.m4 will add one of these switches to LD
14470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471 libsuff= shlibsuff= libmagic=32-bit;;
14472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473 libsuff=32 shlibsuff=N32 libmagic=N32;;
14474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476 *) libsuff= shlibsuff= libmagic=never-match;;
14477 esac
14479 esac
14480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481 shlibpath_overrides_runpath=no
14482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484 hardcode_into_libs=yes
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489 dynamic_linker=no
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494 version_type=linux
14495 need_lib_prefix=no
14496 need_version=no
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=no
14503 # Some binutils ld are patched to set DT_RUNPATH
14504 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 lt_cv_shlibpath_overrides_runpath=no
14508 save_LDFLAGS=$LDFLAGS
14509 save_libdir=$libdir
14510 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512 if test x$gcc_no_link = xyes; then
14513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14519 main ()
14523 return 0;
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528 lt_cv_shlibpath_overrides_runpath=yes
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LDFLAGS=$save_LDFLAGS
14534 libdir=$save_libdir
14538 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14540 # This implies no fast_install, which is unacceptable.
14541 # Some rework will be needed to allow for fast_install
14542 # before this can be enabled.
14543 hardcode_into_libs=yes
14545 # Append ld.so.conf contents to the search path
14546 if test -f /etc/ld.so.conf; then
14547 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14548 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14551 # We used to test for /lib/ld.so.1 and disable shared libraries on
14552 # powerpc, because MkLinux only supported shared libraries with the
14553 # GNU dynamic linker. Since this was broken with cross compilers,
14554 # most powerpc-linux boxes support dynamic linking these days and
14555 # people can always --disable-shared, the test was removed, and we
14556 # assume the GNU/Linux dynamic linker is in use.
14557 dynamic_linker='GNU/Linux ld.so'
14560 netbsd*)
14561 version_type=sunos
14562 need_lib_prefix=no
14563 need_version=no
14564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567 dynamic_linker='NetBSD (a.out) ld.so'
14568 else
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 dynamic_linker='NetBSD ld.elf_so'
14573 shlibpath_var=LD_LIBRARY_PATH
14574 shlibpath_overrides_runpath=yes
14575 hardcode_into_libs=yes
14578 newsos6)
14579 version_type=linux
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=yes
14585 *nto* | *qnx*)
14586 version_type=qnx
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=no
14593 hardcode_into_libs=yes
14594 dynamic_linker='ldqnx.so'
14597 openbsd*)
14598 version_type=sunos
14599 sys_lib_dlsearch_path_spec="/usr/lib"
14600 need_lib_prefix=no
14601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602 case $host_os in
14603 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14604 *) need_version=no ;;
14605 esac
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610 case $host_os in
14611 openbsd2.[89] | openbsd2.[89].*)
14612 shlibpath_overrides_runpath=no
14615 shlibpath_overrides_runpath=yes
14617 esac
14618 else
14619 shlibpath_overrides_runpath=yes
14623 os2*)
14624 libname_spec='$name'
14625 shrext_cmds=".dll"
14626 need_lib_prefix=no
14627 library_names_spec='$libname${shared_ext} $libname.a'
14628 dynamic_linker='OS/2 ld.exe'
14629 shlibpath_var=LIBPATH
14632 osf3* | osf4* | osf5*)
14633 version_type=osf
14634 need_lib_prefix=no
14635 need_version=no
14636 soname_spec='${libname}${release}${shared_ext}$major'
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14643 rdos*)
14644 dynamic_linker=no
14647 solaris*)
14648 version_type=linux
14649 need_lib_prefix=no
14650 need_version=no
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec='${libname}${release}${shared_ext}$major'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 hardcode_into_libs=yes
14656 # ldd complains unless libraries are executable
14657 postinstall_cmds='chmod +x $lib'
14660 sunos4*)
14661 version_type=sunos
14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14666 if test "$with_gnu_ld" = yes; then
14667 need_lib_prefix=no
14669 need_version=yes
14672 sysv4 | sysv4.3*)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 soname_spec='${libname}${release}${shared_ext}$major'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 case $host_vendor in
14678 sni)
14679 shlibpath_overrides_runpath=no
14680 need_lib_prefix=no
14681 runpath_var=LD_RUN_PATH
14683 siemens)
14684 need_lib_prefix=no
14686 motorola)
14687 need_lib_prefix=no
14688 need_version=no
14689 shlibpath_overrides_runpath=no
14690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14692 esac
14695 sysv4*MP*)
14696 if test -d /usr/nec ;then
14697 version_type=linux
14698 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699 soname_spec='$libname${shared_ext}.$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705 version_type=freebsd-elf
14706 need_lib_prefix=no
14707 need_version=no
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709 soname_spec='${libname}${release}${shared_ext}$major'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=yes
14712 hardcode_into_libs=yes
14713 if test "$with_gnu_ld" = yes; then
14714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715 else
14716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717 case $host_os in
14718 sco3.2v5*)
14719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14721 esac
14723 sys_lib_dlsearch_path_spec='/usr/lib'
14726 tpf*)
14727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14728 version_type=linux
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=no
14734 hardcode_into_libs=yes
14737 uts4*)
14738 version_type=linux
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14745 dynamic_linker=no
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805 test -n "$runpath_var_CXX" ||
14806 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14808 # We can hardcode non-existent directories.
14809 if test "$hardcode_direct_CXX" != no &&
14810 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811 # have to relink, otherwise we might link with an installed library
14812 # when we should be linking with a yet-to-be-installed one
14813 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814 test "$hardcode_minus_L_CXX" != no; then
14815 # Linking always hardcodes the temporary library directory.
14816 hardcode_action_CXX=relink
14817 else
14818 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819 hardcode_action_CXX=immediate
14821 else
14822 # We cannot hardcode anything, or else we can only hardcode existing
14823 # directories.
14824 hardcode_action_CXX=unsupported
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14829 if test "$hardcode_action_CXX" = relink ||
14830 test "$inherit_rpath_CXX" = yes; then
14831 # Fast installation is not supported
14832 enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834 test "$enable_shared" = no; then
14835 # Fast installation is not necessary
14836 enable_fast_install=needless
14845 fi # test -n "$compiler"
14847 CC=$lt_save_CC
14848 LDCXX=$LD
14849 LD=$lt_save_LD
14850 GCC=$lt_save_GCC
14851 with_gnu_ld=$lt_save_with_gnu_ld
14852 lt_cv_path_LDCXX=$lt_cv_path_LD
14853 lt_cv_path_LD=$lt_save_path_LD
14854 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14876 ac_config_commands="$ac_config_commands libtool"
14881 # Only expand once:
14887 case $host in
14888 *-cygwin* | *-mingw*)
14889 # 'host' will be top-level target in the case of a target lib,
14890 # we must compare to with_cross_host to decide if this is a native
14891 # or cross-compiler and select where to install dlls appropriately.
14892 if test -n "$with_cross_host" &&
14893 test x"$with_cross_host" != x"no"; then
14894 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895 else
14896 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14900 lt_host_flags=
14902 esac
14909 # libtool variables for C++ shared and position-independent compiles.
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922 glibcxx_lt_pic_flag="-prefer-pic"
14923 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14926 else
14927 glibcxx_lt_pic_flag=
14928 glibcxx_compiler_pic_flag=
14929 glibcxx_compiler_shared_flag=
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results. Faster /and/ more correct, win win.
14948 # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950 enableval=$enable_hosted_libstdcxx;
14951 else
14952 case "$host" in
14953 arm*-*-symbianelf*)
14954 enable_hosted_libstdcxx=no
14957 enable_hosted_libstdcxx=yes
14959 esac
14962 if test "$enable_hosted_libstdcxx" = no; then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965 is_hosted=no
14966 hosted_define=0
14967 enable_abi_check=no
14968 enable_libstdcxx_pch=no
14969 else
14970 is_hosted=yes
14971 hosted_define=1
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14981 # Enable descriptive messages to standard output on termination.
14983 # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985 enableval=$enable_libstdcxx_verbose;
14986 else
14987 enable_libstdcxx_verbose=yes
14990 if test x"$enable_libstdcxx_verbose" = xyes; then
14991 verbose_define=1
14992 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995 verbose_define=0
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15004 # Enable compiler support that doesn't require linking.
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15009 ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15015 # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017 enableval=$enable_sjlj_exceptions;
15018 case "$enableval" in
15019 yes|no|auto) ;;
15020 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021 esac
15023 else
15024 enable_sjlj_exceptions=auto
15029 if test $enable_sjlj_exceptions = auto; then
15030 # Botheration. Now we've got to detect the exception model. Link tests
15031 # against libgcc.a are problematic since we've not been given proper -L
15032 # bits for single-tree newlib and libgloss.
15034 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15035 cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15041 S s;
15042 bar();
15045 old_CXXFLAGS="$CXXFLAGS"
15046 CXXFLAGS=-S
15047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048 (eval $ac_compile) 2>&5
15049 ac_status=$?
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; then
15052 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053 enable_sjlj_exceptions=yes
15054 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055 enable_sjlj_exceptions=no
15056 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057 enable_sjlj_exceptions=no
15060 CXXFLAGS="$old_CXXFLAGS"
15061 rm -f conftest*
15064 # This is a tad weird, for hysterical raisins. We have to map
15065 # enable/disable to two different models.
15066 case $enable_sjlj_exceptions in
15067 yes)
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15071 ac_exception_model_name=sjlj
15074 ac_exception_model_name="call frame"
15077 as_fn_error "unable to detect exception model" "$LINENO" 5
15079 esac
15080 ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15090 # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092 enableval=$enable_libstdcxx_pch;
15093 case "$enableval" in
15094 yes|no) ;;
15095 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096 esac
15098 else
15099 enable_libstdcxx_pch=$is_hosted
15103 if test $enable_libstdcxx_pch = yes; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_save_CXXFLAGS="$CXXFLAGS"
15110 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15112 ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15118 echo '#include <math.h>' > conftest.h
15119 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120 -o conftest.h.gch 1>&5 2>&1 &&
15121 echo '#error "pch failed"' > conftest.h &&
15122 echo '#include "conftest.h"' > conftest.cc &&
15123 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124 then
15125 glibcxx_cv_prog_CXX_pch=yes
15126 else
15127 glibcxx_cv_prog_CXX_pch=no
15129 rm -f conftest*
15130 CXXFLAGS=$ac_save_CXXFLAGS
15131 ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15150 if test $enable_libstdcxx_pch = yes; then
15151 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152 else
15153 glibcxx_PCHFLAGS=""
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15164 case $target_thread_file in
15165 aix) thread_header=config/rs6000/gthr-aix.h ;;
15166 dce) thread_header=config/pa/gthr-dce.h ;;
15167 lynx) thread_header=config/gthr-lynx.h ;;
15168 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15169 posix) thread_header=gthr-posix.h ;;
15170 rtems) thread_header=config/gthr-rtems.h ;;
15171 single) thread_header=gthr-single.h ;;
15172 tpf) thread_header=config/s390/gthr-tpf.h ;;
15173 vxworks) thread_header=config/gthr-vxworks.h ;;
15174 win32) thread_header=config/i386/gthr-win32.h ;;
15175 esac
15181 ac_ext=cpp
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15187 old_CXXFLAGS="$CXXFLAGS"
15189 # Do link tests if possible, instead asm tests, limited to some platforms
15190 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15191 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15192 atomic_builtins_link_tests=no
15193 if test x$gcc_no_link != xyes; then
15194 # Can do link tests. Limit to some tested platforms
15195 case "$host" in
15196 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15197 atomic_builtins_link_tests=yes
15199 esac
15202 if test x$atomic_builtins_link_tests = xyes; then
15204 # Do link tests.
15206 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15209 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15210 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15214 if test x$gcc_no_link = xyes; then
15215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15221 main ()
15223 typedef bool atomic_type;
15224 atomic_type c1;
15225 atomic_type c2;
15226 atomic_type c3(0);
15227 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15228 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15229 __ATOMIC_RELAXED);
15230 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15231 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15234 return 0;
15236 _ACEOF
15237 if ac_fn_cxx_try_link "$LINENO"; then :
15238 glibcxx_cv_atomic_bool=yes
15239 else
15240 glibcxx_cv_atomic_bool=no
15242 rm -f core conftest.err conftest.$ac_objext \
15243 conftest$ac_exeext conftest.$ac_ext
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15248 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15251 $as_echo_n "checking for atomic builtins for short... " >&6; }
15252 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15256 if test x$gcc_no_link = xyes; then
15257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15263 main ()
15265 typedef short atomic_type;
15266 atomic_type c1;
15267 atomic_type c2;
15268 atomic_type c3(0);
15269 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15270 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15271 __ATOMIC_RELAXED);
15272 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15273 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15276 return 0;
15278 _ACEOF
15279 if ac_fn_cxx_try_link "$LINENO"; then :
15280 glibcxx_cv_atomic_short=yes
15281 else
15282 glibcxx_cv_atomic_short=no
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15290 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15293 $as_echo_n "checking for atomic builtins for int... " >&6; }
15294 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15298 if test x$gcc_no_link = xyes; then
15299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15305 main ()
15307 typedef int atomic_type;
15308 atomic_type c1;
15309 atomic_type c2;
15310 atomic_type c3(0);
15311 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15312 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15313 __ATOMIC_RELAXED);
15314 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15315 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15318 return 0;
15320 _ACEOF
15321 if ac_fn_cxx_try_link "$LINENO"; then :
15322 glibcxx_cv_atomic_int=yes
15323 else
15324 glibcxx_cv_atomic_int=no
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15332 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15335 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15336 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15340 if test x$gcc_no_link = xyes; then
15341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15347 main ()
15349 typedef long long atomic_type;
15350 atomic_type c1;
15351 atomic_type c2;
15352 atomic_type c3(0);
15353 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15354 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15355 __ATOMIC_RELAXED);
15356 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15357 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15360 return 0;
15362 _ACEOF
15363 if ac_fn_cxx_try_link "$LINENO"; then :
15364 glibcxx_cv_atomic_long_long=yes
15365 else
15366 glibcxx_cv_atomic_long_long=no
15368 rm -f core conftest.err conftest.$ac_objext \
15369 conftest$ac_exeext conftest.$ac_ext
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15374 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15376 else
15378 # Do asm tests.
15380 # Compile unoptimized.
15381 CXXFLAGS='-O0 -S'
15383 # Fake what AC_TRY_COMPILE does.
15385 cat > conftest.$ac_ext << EOF
15386 #line 15386 "configure"
15387 int main()
15389 typedef bool atomic_type;
15390 atomic_type c1;
15391 atomic_type c2;
15392 atomic_type c3(0);
15393 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15394 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15395 __ATOMIC_RELAXED);
15396 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15397 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15399 return 0;
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15404 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406 (eval $ac_compile) 2>&5
15407 ac_status=$?
15408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409 test $ac_status = 0; }; then
15410 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15411 glibcxx_cv_atomic_bool=no
15412 else
15413 glibcxx_cv_atomic_bool=yes
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15417 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15418 rm -f conftest*
15420 cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15424 typedef short atomic_type;
15425 atomic_type c1;
15426 atomic_type c2;
15427 atomic_type c3(0);
15428 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15429 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15430 __ATOMIC_RELAXED);
15431 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15432 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15434 return 0;
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15439 $as_echo_n "checking for atomic builtins for short... " >&6; }
15440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15441 (eval $ac_compile) 2>&5
15442 ac_status=$?
15443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444 test $ac_status = 0; }; then
15445 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15446 glibcxx_cv_atomic_short=no
15447 else
15448 glibcxx_cv_atomic_short=yes
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15452 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15453 rm -f conftest*
15455 cat > conftest.$ac_ext << EOF
15456 #line 15456 "configure"
15457 int main()
15459 // NB: _Atomic_word not necessarily int.
15460 typedef int atomic_type;
15461 atomic_type c1;
15462 atomic_type c2;
15463 atomic_type c3(0);
15464 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15465 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15466 __ATOMIC_RELAXED);
15467 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15468 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15470 return 0;
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15475 $as_echo_n "checking for atomic builtins for int... " >&6; }
15476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15477 (eval $ac_compile) 2>&5
15478 ac_status=$?
15479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480 test $ac_status = 0; }; then
15481 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15482 glibcxx_cv_atomic_int=no
15483 else
15484 glibcxx_cv_atomic_int=yes
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15488 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15489 rm -f conftest*
15491 cat > conftest.$ac_ext << EOF
15492 #line 15492 "configure"
15493 int main()
15495 typedef long long atomic_type;
15496 atomic_type c1;
15497 atomic_type c2;
15498 atomic_type c3(0);
15499 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15500 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15501 __ATOMIC_RELAXED);
15502 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15503 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15505 return 0;
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15510 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512 (eval $ac_compile) 2>&5
15513 ac_status=$?
15514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515 test $ac_status = 0; }; then
15516 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15517 glibcxx_cv_atomic_long_long=no
15518 else
15519 glibcxx_cv_atomic_long_long=yes
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15523 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15524 rm -f conftest*
15528 CXXFLAGS="$old_CXXFLAGS"
15529 ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536 # Set atomicity_dir to builtins if all but the long long test above passes.
15537 if test $glibcxx_cv_atomic_bool = yes \
15538 && test $glibcxx_cv_atomic_short = yes \
15539 && test $glibcxx_cv_atomic_int = yes; then
15541 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15543 atomicity_dir=cpu/generic/atomicity_builtins
15546 # If still generic, set to mutex.
15547 if test $atomicity_dir = "cpu/generic" ; then
15548 atomicity_dir=cpu/generic/atomicity_mutex
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15550 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15551 if test "x$target_thread_file" = xsingle; then
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15553 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15555 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15558 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15560 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15567 # Fake what AC_TRY_COMPILE does, without linking as this is
15568 # unnecessary for this test.
15570 cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15574 _Decimal32 d1;
15575 _Decimal64 d2;
15576 _Decimal128 d3;
15577 return 0;
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15582 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15584 (eval $ac_compile) 2>&5
15585 ac_status=$?
15586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15587 test $ac_status = 0; }; then
15589 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15591 enable_dfp=yes
15592 else
15593 enable_dfp=no
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15596 $as_echo "$enable_dfp" >&6; }
15597 rm -f conftest*
15602 ac_ext=cpp
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15609 # Fake what AC_TRY_COMPILE does, without linking as this is
15610 # unnecessary for this test.
15612 cat > conftest.$ac_ext << EOF
15613 #line 15613 "configure"
15614 template<typename T1, typename T2>
15615 struct same
15616 { typedef T2 type; };
15618 template<typename T>
15619 struct same<T, T>;
15621 int main()
15623 typename same<long, __int128>::type i1;
15624 typename same<long long, __int128>::type i2;
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15629 $as_echo_n "checking for __int128... " >&6; }
15630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15631 (eval $ac_compile) 2>&5
15632 ac_status=$?
15633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634 test $ac_status = 0; }; then
15636 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15638 enable_int128=yes
15639 else
15640 enable_int128=no
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15643 $as_echo "$enable_int128" >&6; }
15644 rm -f conftest*
15646 cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649 struct same
15650 { typedef T2 type; };
15652 template<typename T>
15653 struct same<T, T>;
15655 int main()
15657 typename same<double, __float128>::type f1;
15658 typename same<long double, __float128>::type f2;
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15663 $as_echo_n "checking for __float128... " >&6; }
15664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; }; then
15670 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15672 enable_float128=yes
15673 else
15674 enable_float128=no
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15677 $as_echo "$enable_float128" >&6; }
15678 rm -f conftest*
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15688 # Checks for compiler support that doesn't require linking.
15690 # All these tests are for C++; save the language and the compiler flags.
15691 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15692 # found in GLIBCXX_CONFIGURE.
15694 ac_ext=cpp
15695 ac_cpp='$CXXCPP $CPPFLAGS'
15696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15700 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15701 ac_save_CXXFLAGS="$CXXFLAGS"
15703 # Check for maintainer-mode bits.
15704 if test x"$USE_MAINTAINER_MODE" = xno; then
15705 WERROR=''
15706 else
15707 WERROR='-Werror'
15710 # Check for -ffunction-sections -fdata-sections
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15712 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15713 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 int foo; void bar() { };
15718 main ()
15722 return 0;
15724 _ACEOF
15725 if ac_fn_cxx_try_compile "$LINENO"; then :
15726 ac_fdsections=yes
15727 else
15728 ac_fdsections=no
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731 if test "$ac_test_CXXFLAGS" = set; then
15732 CXXFLAGS="$ac_save_CXXFLAGS"
15733 else
15734 # this is the suspicious part
15735 CXXFLAGS=''
15737 if test x"$ac_fdsections" = x"yes"; then
15738 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15741 $as_echo "$ac_fdsections" >&6; }
15743 ac_ext=c
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15753 # Enable all the variable C++ runtime options that don't require linking.
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15756 $as_echo_n "checking for underlying I/O to use... " >&6; }
15757 # Check whether --enable-cstdio was given.
15758 if test "${enable_cstdio+set}" = set; then :
15759 enableval=$enable_cstdio;
15760 case "$enableval" in
15761 stdio) ;;
15762 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15763 esac
15765 else
15766 enable_cstdio=stdio
15771 # Now that libio has been removed, you can have any color you want as long
15772 # as it's black. This is one big no-op until other packages are added, but
15773 # showing the framework never hurts.
15774 case ${enable_cstdio} in
15775 stdio)
15776 CSTDIO_H=config/io/c_io_stdio.h
15777 BASIC_FILE_H=config/io/basic_file_stdio.h
15778 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15780 $as_echo "stdio" >&6; }
15782 esac
15789 # Check whether --enable-clocale was given.
15790 if test "${enable_clocale+set}" = set; then :
15791 enableval=$enable_clocale;
15792 case "$enableval" in
15793 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15794 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15795 esac
15797 else
15798 enable_clocale=auto
15803 # Deal with gettext issues. Default to not using it (=no) until we detect
15804 # support for it later. Let the user turn it off via --e/d, but let that
15805 # default to on for easier handling.
15806 USE_NLS=no
15807 # Check whether --enable-nls was given.
15808 if test "${enable_nls+set}" = set; then :
15809 enableval=$enable_nls;
15810 else
15811 enable_nls=yes
15815 # Either a known package, or "auto"
15816 if test $enable_clocale = no || test $enable_clocale = yes; then
15817 enable_clocale=auto
15819 enable_clocale_flag=$enable_clocale
15821 # Probe for locale model to use if none specified.
15822 # Default to "generic".
15823 if test $enable_clocale_flag = auto; then
15824 case ${target_os} in
15825 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15826 enable_clocale_flag=gnu
15828 darwin* | freebsd*)
15829 enable_clocale_flag=darwin
15831 openbsd*)
15832 enable_clocale_flag=newlib
15835 if test x"$with_newlib" = x"yes"; then
15836 enable_clocale_flag=newlib
15837 else
15838 enable_clocale_flag=generic
15841 esac
15844 # Sanity check model, and test for special functionality.
15845 if test $enable_clocale_flag = gnu; then
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15849 #include <features.h>
15850 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15851 _GLIBCXX_ok
15852 #endif
15854 _ACEOF
15855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15857 enable_clocale_flag=gnu
15858 else
15859 enable_clocale_flag=generic
15861 rm -f conftest*
15864 # Set it to scream when it hurts.
15865 ac_save_CFLAGS="$CFLAGS"
15866 CFLAGS="-Wimplicit-function-declaration -Werror"
15868 # Use strxfrm_l if available.
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE 1
15872 #include <string.h>
15873 #include <locale.h>
15875 main ()
15877 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15879 return 0;
15881 _ACEOF
15882 if ac_fn_c_try_compile "$LINENO"; then :
15884 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15889 # Use strerror_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15896 main ()
15898 __locale_t loc; strerror_l(5, loc);
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15905 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 CFLAGS="$ac_save_CFLAGS"
15913 # Perhaps use strerror_r if available, and strerror_l isn't.
15914 ac_save_CFLAGS="$CFLAGS"
15915 CFLAGS="-Wimplicit-function-declaration -Werror"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 #define _GNU_SOURCE 1
15919 #include <string.h>
15920 #include <locale.h>
15922 main ()
15924 char s[128]; strerror_r(5, s, 128);
15926 return 0;
15928 _ACEOF
15929 if ac_fn_c_try_compile "$LINENO"; then :
15931 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 CFLAGS="$ac_save_CFLAGS"
15937 # Set configure bits for specified locale package
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15939 $as_echo_n "checking for C locale to use... " >&6; }
15940 case ${enable_clocale_flag} in
15941 generic)
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15943 $as_echo "generic" >&6; }
15945 CLOCALE_H=config/locale/generic/c_locale.h
15946 CLOCALE_CC=config/locale/generic/c_locale.cc
15947 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15948 CCOLLATE_CC=config/locale/generic/collate_members.cc
15949 CCTYPE_CC=config/locale/generic/ctype_members.cc
15950 CMESSAGES_H=config/locale/generic/messages_members.h
15951 CMESSAGES_CC=config/locale/generic/messages_members.cc
15952 CMONEY_CC=config/locale/generic/monetary_members.cc
15953 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15954 CTIME_H=config/locale/generic/time_members.h
15955 CTIME_CC=config/locale/generic/time_members.cc
15956 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15958 darwin)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15960 $as_echo "darwin or freebsd" >&6; }
15962 CLOCALE_H=config/locale/generic/c_locale.h
15963 CLOCALE_CC=config/locale/generic/c_locale.cc
15964 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965 CCOLLATE_CC=config/locale/generic/collate_members.cc
15966 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15967 CMESSAGES_H=config/locale/generic/messages_members.h
15968 CMESSAGES_CC=config/locale/generic/messages_members.cc
15969 CMONEY_CC=config/locale/generic/monetary_members.cc
15970 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971 CTIME_H=config/locale/generic/time_members.h
15972 CTIME_CC=config/locale/generic/time_members.cc
15973 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15976 gnu)
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15978 $as_echo "gnu" >&6; }
15980 # Declare intention to use gettext, and add support for specific
15981 # languages.
15982 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15983 ALL_LINGUAS="de fr"
15985 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15986 # Extract the first word of "msgfmt", so it can be a program name with args.
15987 set dummy msgfmt; ac_word=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 if test -n "$check_msgfmt"; then
15994 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15995 else
15996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15997 for as_dir in $PATH
15999 IFS=$as_save_IFS
16000 test -z "$as_dir" && as_dir=.
16001 for ac_exec_ext in '' $ac_executable_extensions; do
16002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16003 ac_cv_prog_check_msgfmt="yes"
16004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005 break 2
16007 done
16008 done
16009 IFS=$as_save_IFS
16011 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16014 check_msgfmt=$ac_cv_prog_check_msgfmt
16015 if test -n "$check_msgfmt"; then
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16017 $as_echo "$check_msgfmt" >&6; }
16018 else
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16024 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16025 USE_NLS=yes
16027 # Export the build objects.
16028 for ling in $ALL_LINGUAS; do \
16029 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16030 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16031 done
16035 CLOCALE_H=config/locale/gnu/c_locale.h
16036 CLOCALE_CC=config/locale/gnu/c_locale.cc
16037 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16038 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16039 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16040 CMESSAGES_H=config/locale/gnu/messages_members.h
16041 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16042 CMONEY_CC=config/locale/gnu/monetary_members.cc
16043 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16044 CTIME_H=config/locale/gnu/time_members.h
16045 CTIME_CC=config/locale/gnu/time_members.cc
16046 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16048 ieee_1003.1-2001)
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16050 $as_echo "IEEE 1003.1" >&6; }
16052 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16053 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16054 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16055 CCOLLATE_CC=config/locale/generic/collate_members.cc
16056 CCTYPE_CC=config/locale/generic/ctype_members.cc
16057 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16058 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16059 CMONEY_CC=config/locale/generic/monetary_members.cc
16060 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16061 CTIME_H=config/locale/generic/time_members.h
16062 CTIME_CC=config/locale/generic/time_members.cc
16063 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16065 newlib)
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16067 $as_echo "newlib" >&6; }
16069 CLOCALE_H=config/locale/generic/c_locale.h
16070 CLOCALE_CC=config/locale/generic/c_locale.cc
16071 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16072 CCOLLATE_CC=config/locale/generic/collate_members.cc
16073 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16074 CMESSAGES_H=config/locale/generic/messages_members.h
16075 CMESSAGES_CC=config/locale/generic/messages_members.cc
16076 CMONEY_CC=config/locale/generic/monetary_members.cc
16077 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16078 CTIME_H=config/locale/generic/time_members.h
16079 CTIME_CC=config/locale/generic/time_members.cc
16080 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16082 esac
16084 # This is where the testsuite looks for locale catalogs, using the
16085 # -DLOCALEDIR define during testsuite compilation.
16086 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16089 # A standalone libintl (e.g., GNU libintl) may be in use.
16090 if test $USE_NLS = yes; then
16091 for ac_header in libintl.h
16092 do :
16093 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_LIBINTL_H 1
16097 _ACEOF
16099 else
16100 USE_NLS=no
16103 done
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16106 $as_echo_n "checking for library containing gettext... " >&6; }
16107 if test "${ac_cv_search_gettext+set}" = set; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char gettext ();
16122 main ()
16124 return gettext ();
16126 return 0;
16128 _ACEOF
16129 for ac_lib in '' intl; do
16130 if test -z "$ac_lib"; then
16131 ac_res="none required"
16132 else
16133 ac_res=-l$ac_lib
16134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16136 if test x$gcc_no_link = xyes; then
16137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16139 if ac_fn_c_try_link "$LINENO"; then :
16140 ac_cv_search_gettext=$ac_res
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext
16144 if test "${ac_cv_search_gettext+set}" = set; then :
16145 break
16147 done
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16150 else
16151 ac_cv_search_gettext=no
16153 rm conftest.$ac_ext
16154 LIBS=$ac_func_search_save_LIBS
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16157 $as_echo "$ac_cv_search_gettext" >&6; }
16158 ac_res=$ac_cv_search_gettext
16159 if test "$ac_res" != no; then :
16160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16162 else
16163 USE_NLS=no
16167 if test $USE_NLS = yes; then
16169 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16189 $as_echo_n "checking for std::allocator base class... " >&6; }
16190 # Check whether --enable-libstdcxx-allocator was given.
16191 if test "${enable_libstdcxx_allocator+set}" = set; then :
16192 enableval=$enable_libstdcxx_allocator;
16193 case "$enableval" in
16194 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16195 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16196 esac
16198 else
16199 enable_libstdcxx_allocator=auto
16204 # If they didn't use this option switch, or if they specified --enable
16205 # with no specific model, we'll have to look for one. If they
16206 # specified --disable (???), do likewise.
16207 if test $enable_libstdcxx_allocator = no ||
16208 test $enable_libstdcxx_allocator = yes;
16209 then
16210 enable_libstdcxx_allocator=auto
16213 # Either a known package, or "auto". Auto implies the default choice
16214 # for a particular platform.
16215 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16217 # Probe for host-specific support if no specific model is specified.
16218 # Default to "new".
16219 if test $enable_libstdcxx_allocator_flag = auto; then
16220 case ${target_os} in
16221 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16222 enable_libstdcxx_allocator_flag=new
16225 enable_libstdcxx_allocator_flag=new
16227 esac
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16230 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16233 # Set configure bits for specified locale package
16234 case ${enable_libstdcxx_allocator_flag} in
16235 bitmap)
16236 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16237 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16239 malloc)
16240 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16241 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16244 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16245 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16247 new)
16248 ALLOCATOR_H=config/allocator/new_allocator_base.h
16249 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16251 pool)
16252 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16253 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16255 esac
16261 # Check whether --enable-cheaders was given.
16262 if test "${enable_cheaders+set}" = set; then :
16263 enableval=$enable_cheaders;
16264 case "$enableval" in
16265 c|c_std|c_global) ;;
16266 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16267 esac
16269 else
16270 enable_cheaders=$c_model
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16275 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16277 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16279 # Allow overrides to configure.host here.
16280 if test $enable_cheaders = c_global; then
16281 c_compatibility=yes
16290 # Check whether --enable-long-long was given.
16291 if test "${enable_long_long+set}" = set; then :
16292 enableval=$enable_long_long;
16293 case "$enableval" in
16294 yes|no) ;;
16295 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16296 esac
16298 else
16299 enable_long_long=yes
16303 if test $enable_long_long = yes; then
16305 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16309 $as_echo_n "checking for enabled long long specializations... " >&6; }
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16311 $as_echo "$enable_long_long" >&6; }
16314 # Check whether --enable-wchar_t was given.
16315 if test "${enable_wchar_t+set}" = set; then :
16316 enableval=$enable_wchar_t;
16317 case "$enableval" in
16318 yes|no) ;;
16319 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16320 esac
16322 else
16323 enable_wchar_t=yes
16328 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16329 for ac_header in wchar.h
16330 do :
16331 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16332 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_WCHAR_H 1
16335 _ACEOF
16336 ac_has_wchar_h=yes
16337 else
16338 ac_has_wchar_h=no
16341 done
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16344 $as_echo_n "checking for mbstate_t... " >&6; }
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #include <wchar.h>
16349 main ()
16351 mbstate_t teststate;
16353 return 0;
16355 _ACEOF
16356 if ac_fn_c_try_compile "$LINENO"; then :
16357 have_mbstate_t=yes
16358 else
16359 have_mbstate_t=no
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16363 $as_echo "$have_mbstate_t" >&6; }
16364 if test x"$have_mbstate_t" = xyes; then
16366 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16370 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16371 # ac_has_wchar_h.
16372 for ac_header in wctype.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCTYPE_H 1
16378 _ACEOF
16379 ac_has_wctype_h=yes
16380 else
16381 ac_has_wctype_h=no
16384 done
16387 if test x"$enable_wchar_t" = x"yes"; then
16390 ac_ext=cpp
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16397 if test x"$ac_has_wchar_h" = xyes &&
16398 test x"$ac_has_wctype_h" = xyes; then
16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16401 #include <wchar.h>
16402 #include <stddef.h>
16403 wint_t i;
16404 long l = WEOF;
16405 long j = WCHAR_MIN;
16406 long k = WCHAR_MAX;
16407 namespace test
16409 using ::btowc;
16410 using ::fgetwc;
16411 using ::fgetws;
16412 using ::fputwc;
16413 using ::fputws;
16414 using ::fwide;
16415 using ::fwprintf;
16416 using ::fwscanf;
16417 using ::getwc;
16418 using ::getwchar;
16419 using ::mbrlen;
16420 using ::mbrtowc;
16421 using ::mbsinit;
16422 using ::mbsrtowcs;
16423 using ::putwc;
16424 using ::putwchar;
16425 using ::swprintf;
16426 using ::swscanf;
16427 using ::ungetwc;
16428 using ::vfwprintf;
16429 using ::vswprintf;
16430 using ::vwprintf;
16431 using ::wcrtomb;
16432 using ::wcscat;
16433 using ::wcschr;
16434 using ::wcscmp;
16435 using ::wcscoll;
16436 using ::wcscpy;
16437 using ::wcscspn;
16438 using ::wcsftime;
16439 using ::wcslen;
16440 using ::wcsncat;
16441 using ::wcsncmp;
16442 using ::wcsncpy;
16443 using ::wcspbrk;
16444 using ::wcsrchr;
16445 using ::wcsrtombs;
16446 using ::wcsspn;
16447 using ::wcsstr;
16448 using ::wcstod;
16449 using ::wcstok;
16450 using ::wcstol;
16451 using ::wcstoul;
16452 using ::wcsxfrm;
16453 using ::wctob;
16454 using ::wmemchr;
16455 using ::wmemcmp;
16456 using ::wmemcpy;
16457 using ::wmemmove;
16458 using ::wmemset;
16459 using ::wprintf;
16460 using ::wscanf;
16464 main ()
16468 return 0;
16470 _ACEOF
16471 if ac_fn_cxx_try_compile "$LINENO"; then :
16473 else
16474 enable_wchar_t=no
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477 else
16478 enable_wchar_t=no
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16489 if test x"$enable_wchar_t" = x"yes"; then
16491 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16496 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16498 $as_echo "$enable_wchar_t" >&6; }
16502 # Check whether --enable-c99 was given.
16503 if test "${enable_c99+set}" = set; then :
16504 enableval=$enable_c99;
16505 case "$enableval" in
16506 yes|no) ;;
16507 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16508 esac
16510 else
16511 enable_c99=yes
16516 if test x"$enable_c99" = x"yes"; then
16519 ac_ext=cpp
16520 ac_cpp='$CXXCPP $CPPFLAGS'
16521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16526 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16527 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16528 # spuriously enabled.
16529 # Long term, -std=c++0x could be even better, could manage to explicitely
16530 # request C99 facilities to the underlying C headers.
16531 ac_save_CXXFLAGS="$CXXFLAGS"
16532 CXXFLAGS="$CXXFLAGS -std=c++98"
16533 ac_save_LIBS="$LIBS"
16534 ac_save_gcc_no_link="$gcc_no_link"
16536 if test x$gcc_no_link != xyes; then
16537 # Use -fno-exceptions to that the C driver can link these tests without
16538 # hitting undefined references to personality routines.
16539 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16541 $as_echo_n "checking for sin in -lm... " >&6; }
16542 if test "${ac_cv_lib_m_sin+set}" = set; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lm $LIBS"
16547 if test x$gcc_no_link = xyes; then
16548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char sin ();
16561 main ()
16563 return sin ();
16565 return 0;
16567 _ACEOF
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569 ac_cv_lib_m_sin=yes
16570 else
16571 ac_cv_lib_m_sin=no
16573 rm -f core conftest.err conftest.$ac_objext \
16574 conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16578 $as_echo "$ac_cv_lib_m_sin" >&6; }
16579 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16581 LIBS="$LIBS -lm"
16583 else
16585 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16586 gcc_no_link=yes
16592 # Check for the existence of <math.h> functions used if C99 is enabled.
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16594 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16595 if test "${glibcxx_cv_c99_math+set}" = set; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16599 if test x$gcc_no_link = xyes; then
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #include <math.h>
16603 volatile double d1, d2;
16604 volatile int i;
16606 main ()
16608 i = fpclassify(d1);
16609 i = isfinite(d1);
16610 i = isinf(d1);
16611 i = isnan(d1);
16612 i = isnormal(d1);
16613 i = signbit(d1);
16614 i = isgreater(d1, d2);
16615 i = isgreaterequal(d1, d2);
16616 i = isless(d1, d2);
16617 i = islessequal(d1, d2);
16618 i = islessgreater(d1, d2);
16619 i = islessgreater(d1, d2);
16620 i = isunordered(d1, d2);
16623 return 0;
16625 _ACEOF
16626 if ac_fn_cxx_try_compile "$LINENO"; then :
16627 glibcxx_cv_c99_math=yes
16628 else
16629 glibcxx_cv_c99_math=no
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632 else
16633 if test x$gcc_no_link = xyes; then
16634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #include <math.h>
16639 volatile double d1, d2;
16640 volatile int i;
16642 main ()
16644 i = fpclassify(d1);
16645 i = isfinite(d1);
16646 i = isinf(d1);
16647 i = isnan(d1);
16648 i = isnormal(d1);
16649 i = signbit(d1);
16650 i = isgreater(d1, d2);
16651 i = isgreaterequal(d1, d2);
16652 i = isless(d1, d2);
16653 i = islessequal(d1, d2);
16654 i = islessgreater(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = isunordered(d1, d2);
16659 return 0;
16661 _ACEOF
16662 if ac_fn_cxx_try_link "$LINENO"; then :
16663 glibcxx_cv_c99_math=yes
16664 else
16665 glibcxx_cv_c99_math=no
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16674 $as_echo "$glibcxx_cv_c99_math" >&6; }
16675 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16677 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16681 # Check for the existence of <complex.h> complex math functions.
16682 # This is necessary even though libstdc++ uses the builtin versions
16683 # of these functions, because if the builtin cannot be used, a reference
16684 # to the library function is emitted.
16685 for ac_header in tgmath.h
16686 do :
16687 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16688 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_TGMATH_H 1
16691 _ACEOF
16692 ac_has_tgmath_h=yes
16693 else
16694 ac_has_tgmath_h=no
16697 done
16699 for ac_header in complex.h
16700 do :
16701 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16702 if test "x$ac_cv_header_complex_h" = x""yes; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define HAVE_COMPLEX_H 1
16705 _ACEOF
16706 ac_has_complex_h=yes
16707 else
16708 ac_has_complex_h=no
16711 done
16713 glibcxx_cv_c99_complex=no;
16714 if test x"$ac_has_complex_h" = x"yes"; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16716 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16717 if test x$gcc_no_link = xyes; then
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16720 #include <complex.h>
16721 typedef __complex__ float float_type;
16722 typedef __complex__ double double_type;
16723 typedef __complex__ long double ld_type;
16724 volatile float_type tmpf;
16725 volatile double_type tmpd;
16726 volatile ld_type tmpld;
16727 volatile float f;
16728 volatile double d;
16729 volatile long double ld;
16731 main ()
16733 f = cabsf(tmpf);
16734 f = cargf(tmpf);
16735 tmpf = ccosf(tmpf);
16736 tmpf = ccoshf(tmpf);
16737 tmpf = cexpf(tmpf);
16738 tmpf = clogf(tmpf);
16739 tmpf = csinf(tmpf);
16740 tmpf = csinhf(tmpf);
16741 tmpf = csqrtf(tmpf);
16742 tmpf = ctanf(tmpf);
16743 tmpf = ctanhf(tmpf);
16744 tmpf = cpowf(tmpf, tmpf);
16745 tmpf = cprojf(tmpf);
16746 d = cabs(tmpd);
16747 d = carg(tmpd);
16748 tmpd = ccos(tmpd);
16749 tmpd = ccosh(tmpd);
16750 tmpd = cexp(tmpd);
16751 tmpd = clog(tmpd);
16752 tmpd = csin(tmpd);
16753 tmpd = csinh(tmpd);
16754 tmpd = csqrt(tmpd);
16755 tmpd = ctan(tmpd);
16756 tmpd = ctanh(tmpd);
16757 tmpd = cpow(tmpd, tmpd);
16758 tmpd = cproj(tmpd);
16759 ld = cabsl(tmpld);
16760 ld = cargl(tmpld);
16761 tmpld = ccosl(tmpld);
16762 tmpld = ccoshl(tmpld);
16763 tmpld = cexpl(tmpld);
16764 tmpld = clogl(tmpld);
16765 tmpld = csinl(tmpld);
16766 tmpld = csinhl(tmpld);
16767 tmpld = csqrtl(tmpld);
16768 tmpld = ctanl(tmpld);
16769 tmpld = ctanhl(tmpld);
16770 tmpld = cpowl(tmpld, tmpld);
16771 tmpld = cprojl(tmpld);
16774 return 0;
16776 _ACEOF
16777 if ac_fn_cxx_try_compile "$LINENO"; then :
16778 glibcxx_cv_c99_complex=yes
16779 else
16780 glibcxx_cv_c99_complex=no
16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 else
16784 if test x$gcc_no_link = xyes; then
16785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16789 #include <complex.h>
16790 typedef __complex__ float float_type;
16791 typedef __complex__ double double_type;
16792 typedef __complex__ long double ld_type;
16793 volatile float_type tmpf;
16794 volatile double_type tmpd;
16795 volatile ld_type tmpld;
16796 volatile float f;
16797 volatile double d;
16798 volatile long double ld;
16800 main ()
16802 f = cabsf(tmpf);
16803 f = cargf(tmpf);
16804 tmpf = ccosf(tmpf);
16805 tmpf = ccoshf(tmpf);
16806 tmpf = cexpf(tmpf);
16807 tmpf = clogf(tmpf);
16808 tmpf = csinf(tmpf);
16809 tmpf = csinhf(tmpf);
16810 tmpf = csqrtf(tmpf);
16811 tmpf = ctanf(tmpf);
16812 tmpf = ctanhf(tmpf);
16813 tmpf = cpowf(tmpf, tmpf);
16814 tmpf = cprojf(tmpf);
16815 d = cabs(tmpd);
16816 d = carg(tmpd);
16817 tmpd = ccos(tmpd);
16818 tmpd = ccosh(tmpd);
16819 tmpd = cexp(tmpd);
16820 tmpd = clog(tmpd);
16821 tmpd = csin(tmpd);
16822 tmpd = csinh(tmpd);
16823 tmpd = csqrt(tmpd);
16824 tmpd = ctan(tmpd);
16825 tmpd = ctanh(tmpd);
16826 tmpd = cpow(tmpd, tmpd);
16827 tmpd = cproj(tmpd);
16828 ld = cabsl(tmpld);
16829 ld = cargl(tmpld);
16830 tmpld = ccosl(tmpld);
16831 tmpld = ccoshl(tmpld);
16832 tmpld = cexpl(tmpld);
16833 tmpld = clogl(tmpld);
16834 tmpld = csinl(tmpld);
16835 tmpld = csinhl(tmpld);
16836 tmpld = csqrtl(tmpld);
16837 tmpld = ctanl(tmpld);
16838 tmpld = ctanhl(tmpld);
16839 tmpld = cpowl(tmpld, tmpld);
16840 tmpld = cprojl(tmpld);
16843 return 0;
16845 _ACEOF
16846 if ac_fn_cxx_try_link "$LINENO"; then :
16847 glibcxx_cv_c99_complex=yes
16848 else
16849 glibcxx_cv_c99_complex=no
16851 rm -f core conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16856 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16857 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16859 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16863 # Check for the existence in <stdio.h> of vscanf, et. al.
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16865 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16866 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16870 if test x$gcc_no_link = xyes; then
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 #include <stdio.h>
16874 #include <stdarg.h>
16875 void foo(char* fmt, ...)
16877 va_list args; va_start(args, fmt);
16878 vfscanf(stderr, "%i", args);
16879 vscanf("%i", args);
16880 vsnprintf(fmt, 0, "%i", args);
16881 vsscanf(fmt, "%i", args);
16884 main ()
16886 snprintf("12", 0, "%i");
16888 return 0;
16890 _ACEOF
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16892 glibcxx_cv_c99_stdio=yes
16893 else
16894 glibcxx_cv_c99_stdio=no
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 else
16898 if test x$gcc_no_link = xyes; then
16899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <stdio.h>
16904 #include <stdarg.h>
16905 void foo(char* fmt, ...)
16907 va_list args; va_start(args, fmt);
16908 vfscanf(stderr, "%i", args);
16909 vscanf("%i", args);
16910 vsnprintf(fmt, 0, "%i", args);
16911 vsscanf(fmt, "%i", args);
16914 main ()
16916 snprintf("12", 0, "%i");
16918 return 0;
16920 _ACEOF
16921 if ac_fn_cxx_try_link "$LINENO"; then :
16922 glibcxx_cv_c99_stdio=yes
16923 else
16924 glibcxx_cv_c99_stdio=no
16926 rm -f core conftest.err conftest.$ac_objext \
16927 conftest$ac_exeext conftest.$ac_ext
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16933 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16935 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16937 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16938 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16939 $as_echo_n "(cached) " >&6
16940 else
16942 if test x$gcc_no_link = xyes; then
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #include <stdlib.h>
16946 volatile float f;
16947 volatile long double ld;
16948 volatile unsigned long long ll;
16949 lldiv_t mydivt;
16951 main ()
16953 char* tmp;
16954 f = strtof("gnu", &tmp);
16955 ld = strtold("gnu", &tmp);
16956 ll = strtoll("gnu", &tmp, 10);
16957 ll = strtoull("gnu", &tmp, 10);
16958 ll = llabs(10);
16959 mydivt = lldiv(10,1);
16960 ll = mydivt.quot;
16961 ll = mydivt.rem;
16962 ll = atoll("10");
16963 _Exit(0);
16966 return 0;
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970 glibcxx_cv_c99_stdlib=yes
16971 else
16972 glibcxx_cv_c99_stdlib=no
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975 else
16976 if test x$gcc_no_link = xyes; then
16977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #include <stdlib.h>
16982 volatile float f;
16983 volatile long double ld;
16984 volatile unsigned long long ll;
16985 lldiv_t mydivt;
16987 main ()
16989 char* tmp;
16990 f = strtof("gnu", &tmp);
16991 ld = strtold("gnu", &tmp);
16992 ll = strtoll("gnu", &tmp, 10);
16993 ll = strtoull("gnu", &tmp, 10);
16994 ll = llabs(10);
16995 mydivt = lldiv(10,1);
16996 ll = mydivt.quot;
16997 ll = mydivt.rem;
16998 ll = atoll("10");
16999 _Exit(0);
17002 return 0;
17004 _ACEOF
17005 if ac_fn_cxx_try_link "$LINENO"; then :
17006 glibcxx_cv_c99_stdlib=yes
17007 else
17008 glibcxx_cv_c99_stdlib=no
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17017 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17019 # Check for the existence in <wchar.h> of wcstold, etc.
17020 glibcxx_cv_c99_wchar=no;
17021 if test x"$ac_has_wchar_h" = xyes &&
17022 test x"$ac_has_wctype_h" = xyes; then
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17024 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <wchar.h>
17028 namespace test
17030 using ::wcstold;
17031 using ::wcstoll;
17032 using ::wcstoull;
17036 main ()
17040 return 0;
17042 _ACEOF
17043 if ac_fn_cxx_try_compile "$LINENO"; then :
17044 glibcxx_cv_c99_wchar=yes
17045 else
17046 glibcxx_cv_c99_wchar=no
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050 # Checks for wide character functions that may not be present.
17051 # Injection of these is wrapped with guard macros.
17052 # NB: only put functions here, instead of immediately above, if
17053 # absolutely necessary.
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test { using ::vfwscanf; }
17059 main ()
17063 return 0;
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17068 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test { using ::vswscanf; }
17078 main ()
17082 return 0;
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17087 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <wchar.h>
17095 namespace test { using ::vwscanf; }
17097 main ()
17101 return 0;
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17106 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <wchar.h>
17114 namespace test { using ::wcstof; }
17116 main ()
17120 return 0;
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17125 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wctype.h>
17134 main ()
17136 wint_t t; int i = iswblank(t);
17138 return 0;
17140 _ACEOF
17141 if ac_fn_cxx_try_compile "$LINENO"; then :
17143 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17149 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17152 # Option parsed, now set things appropriately.
17153 if test x"$glibcxx_cv_c99_math" = x"no" ||
17154 test x"$glibcxx_cv_c99_complex" = x"no" ||
17155 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17156 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17157 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17158 enable_c99=no;
17159 else
17161 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17165 gcc_no_link="$ac_save_gcc_no_link"
17166 LIBS="$ac_save_LIBS"
17167 CXXFLAGS="$ac_save_CXXFLAGS"
17168 ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17177 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17179 $as_echo "$enable_c99" >&6; }
17182 # Check whether --enable-concept-checks was given.
17183 if test "${enable_concept_checks+set}" = set; then :
17184 enableval=$enable_concept_checks;
17185 case "$enableval" in
17186 yes|no) ;;
17187 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17188 esac
17190 else
17191 enable_concept_checks=no
17195 if test $enable_concept_checks = yes; then
17197 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17202 # Check whether --enable-libstdcxx-debug-flags was given.
17203 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17204 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17205 xno | x) enable_libstdcxx_debug_flags= ;;
17206 x-*) ;;
17207 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17208 esac
17209 else
17210 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17215 # Option parsed, now set things appropriately
17216 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17220 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17224 $as_echo_n "checking for additional debug build... " >&6; }
17225 # Check whether --enable-libstdcxx-debug was given.
17226 if test "${enable_libstdcxx_debug+set}" = set; then :
17227 enableval=$enable_libstdcxx_debug;
17228 case "$enableval" in
17229 yes|no) ;;
17230 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17231 esac
17233 else
17234 enable_libstdcxx_debug=no
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17239 $as_echo "$enable_libstdcxx_debug" >&6; }
17244 enable_parallel=no;
17246 # See if configured libgomp/omp.h exists. (libgomp may be in
17247 # noconfigdirs but not explicitly disabled.)
17248 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17249 enable_parallel=yes;
17250 else
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17252 $as_echo "$as_me: target-libgomp not built" >&6;}
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17256 $as_echo_n "checking for parallel mode support... " >&6; }
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17258 $as_echo "$enable_parallel" >&6; }
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17261 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17262 # Check whether --enable-cxx-flags was given.
17263 if test "${enable_cxx_flags+set}" = set; then :
17264 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17265 xno | x) enable_cxx_flags= ;;
17266 x-*) ;;
17267 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268 esac
17269 else
17270 enable_cxx_flags=
17275 # Run through flags (either default or command-line) and set anything
17276 # extra (e.g., #defines) that must accompany particular g++ options.
17277 if test -n "$enable_cxx_flags"; then
17278 for f in $enable_cxx_flags; do
17279 case "$f" in
17280 -fhonor-std) ;;
17281 -*) ;;
17282 *) # and we're trying to pass /what/ exactly?
17283 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17284 esac
17285 done
17288 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17290 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17294 # Check whether --enable-fully-dynamic-string was given.
17295 if test "${enable_fully_dynamic_string+set}" = set; then :
17296 enableval=$enable_fully_dynamic_string;
17297 case "$enableval" in
17298 yes|no) ;;
17299 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17300 esac
17302 else
17303 enable_fully_dynamic_string=no
17307 if test $enable_fully_dynamic_string = yes; then
17308 enable_fully_dynamic_string_def=1
17309 else
17310 enable_fully_dynamic_string_def=0
17313 cat >>confdefs.h <<_ACEOF
17314 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17315 _ACEOF
17320 # Check whether --enable-extern-template was given.
17321 if test "${enable_extern_template+set}" = set; then :
17322 enableval=$enable_extern_template;
17323 case "$enableval" in
17324 yes|no) ;;
17325 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17326 esac
17328 else
17329 enable_extern_template=yes
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17335 $as_echo_n "checking for extern template support... " >&6; }
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17337 $as_echo "$enable_extern_template" >&6; }
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17344 $as_echo_n "checking for custom python install directory... " >&6; }
17346 # Check whether --with-python-dir was given.
17347 if test "${with_python_dir+set}" = set; then :
17348 withval=$with_python_dir; with_python_dir=$withval
17349 else
17350 with_python_dir="no"
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17354 $as_echo "${with_python_dir}" >&6; }
17356 # Needed for installing Python modules during make install.
17357 python_mod_dir="${with_python_dir}"
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17363 $as_echo_n "checking for -Werror... " >&6; }
17364 # Check whether --enable-werror was given.
17365 if test "${enable_werror+set}" = set; then :
17366 enableval=$enable_werror;
17367 case "$enableval" in
17368 yes|no) ;;
17369 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17370 esac
17372 else
17373 enable_werror=yes
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17378 $as_echo "$enable_werror" >&6; }
17382 # Checks for operating systems support that doesn't require linking.
17386 ac_ext=cpp
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17394 $as_echo_n "checking for gets declaration... " >&6; }
17395 if test "${glibcxx_cv_gets+set}" = set; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #include <stdio.h>
17402 namespace test
17404 using ::gets;
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17409 glibcxx_cv_gets=yes
17410 else
17411 glibcxx_cv_gets=no
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17418 if test $glibcxx_cv_gets = yes; then
17420 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17424 $as_echo "$glibcxx_cv_gets" >&6; }
17426 ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17436 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17437 if test "${glibcxx_cv_system_error1+set}" = set; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 #include <errno.h>
17445 main ()
17447 int i = EOWNERDEAD;
17449 return 0;
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 glibcxx_cv_system_error1=yes
17454 else
17455 glibcxx_cv_system_error1=no
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17462 $as_echo "$glibcxx_cv_system_error1" >&6; }
17463 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17465 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17469 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17470 if test "${glibcxx_cv_system_error2+set}" = set; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <errno.h>
17478 main ()
17480 int i = ENOTRECOVERABLE;
17482 return 0;
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486 glibcxx_cv_system_error2=yes
17487 else
17488 glibcxx_cv_system_error2=no
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17495 $as_echo "$glibcxx_cv_system_error2" >&6; }
17496 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17498 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17502 $as_echo_n "checking for ENOLINK... " >&6; }
17503 if test "${glibcxx_cv_system_error3+set}" = set; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <errno.h>
17511 main ()
17513 int i = ENOLINK;
17515 return 0;
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519 glibcxx_cv_system_error3=yes
17520 else
17521 glibcxx_cv_system_error3=no
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17528 $as_echo "$glibcxx_cv_system_error3" >&6; }
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17531 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17535 $as_echo_n "checking for EPROTO... " >&6; }
17536 if test "${glibcxx_cv_system_error4+set}" = set; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <errno.h>
17544 main ()
17546 int i = EPROTO;
17548 return 0;
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552 glibcxx_cv_system_error4=yes
17553 else
17554 glibcxx_cv_system_error4=no
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17561 $as_echo "$glibcxx_cv_system_error4" >&6; }
17562 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17564 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17568 $as_echo_n "checking for ENODATA... " >&6; }
17569 if test "${glibcxx_cv_system_error5+set}" = set; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <errno.h>
17577 main ()
17579 int i = ENODATA;
17581 return 0;
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585 glibcxx_cv_system_error5=yes
17586 else
17587 glibcxx_cv_system_error5=no
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17594 $as_echo "$glibcxx_cv_system_error5" >&6; }
17595 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17597 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17601 $as_echo_n "checking for ENOSR... " >&6; }
17602 if test "${glibcxx_cv_system_error6+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #include <errno.h>
17610 main ()
17612 int i = ENOSR;
17614 return 0;
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618 glibcxx_cv_system_error6=yes
17619 else
17620 glibcxx_cv_system_error6=no
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17627 $as_echo "$glibcxx_cv_system_error6" >&6; }
17628 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17630 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17634 $as_echo_n "checking for ENOSTR... " >&6; }
17635 if test "${glibcxx_cv_system_error7+set}" = set; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <errno.h>
17643 main ()
17645 int i = ENOSTR;
17647 return 0;
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651 glibcxx_cv_system_error7=yes
17652 else
17653 glibcxx_cv_system_error7=no
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17660 $as_echo "$glibcxx_cv_system_error7" >&6; }
17661 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17663 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17667 $as_echo_n "checking for ETIME... " >&6; }
17668 if test "${glibcxx_cv_system_error8+set}" = set; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 #include <errno.h>
17676 main ()
17678 int i = ETIME;
17680 return 0;
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 glibcxx_cv_system_error8=yes
17685 else
17686 glibcxx_cv_system_error8=no
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17693 $as_echo "$glibcxx_cv_system_error8" >&6; }
17694 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17696 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17700 $as_echo_n "checking for EBADMSG... " >&6; }
17701 if test "${glibcxx_cv_system_error9+set}" = set; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <errno.h>
17709 main ()
17711 int i = EBADMSG;
17713 return 0;
17715 _ACEOF
17716 if ac_fn_c_try_compile "$LINENO"; then :
17717 glibcxx_cv_system_error9=yes
17718 else
17719 glibcxx_cv_system_error9=no
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17726 $as_echo "$glibcxx_cv_system_error9" >&6; }
17727 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17729 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17733 $as_echo_n "checking for ECANCELED... " >&6; }
17734 if test "${glibcxx_cv_system_error10+set}" = set; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <errno.h>
17742 main ()
17744 int i = ECANCELED;
17746 return 0;
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750 glibcxx_cv_system_error10=yes
17751 else
17752 glibcxx_cv_system_error10=no
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17759 $as_echo "$glibcxx_cv_system_error10" >&6; }
17760 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17762 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17766 $as_echo_n "checking for EOVERFLOW... " >&6; }
17767 if test "${glibcxx_cv_system_error11+set}" = set; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #include <errno.h>
17775 main ()
17777 int i = EOVERFLOW;
17779 return 0;
17781 _ACEOF
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783 glibcxx_cv_system_error11=yes
17784 else
17785 glibcxx_cv_system_error11=no
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17792 $as_echo "$glibcxx_cv_system_error11" >&6; }
17793 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17795 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17799 $as_echo_n "checking for ENOTSUP... " >&6; }
17800 if test "${glibcxx_cv_system_error12+set}" = set; then :
17801 $as_echo_n "(cached) " >&6
17802 else
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #include <errno.h>
17808 main ()
17810 int i = ENOTSUP;
17812 return 0;
17814 _ACEOF
17815 if ac_fn_c_try_compile "$LINENO"; then :
17816 glibcxx_cv_system_error12=yes
17817 else
17818 glibcxx_cv_system_error12=no
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17825 $as_echo "$glibcxx_cv_system_error12" >&6; }
17826 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17828 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17832 $as_echo_n "checking for EIDRM... " >&6; }
17833 if test "${glibcxx_cv_system_error13+set}" = set; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17839 #include <errno.h>
17841 main ()
17843 int i = EIDRM;
17845 return 0;
17847 _ACEOF
17848 if ac_fn_c_try_compile "$LINENO"; then :
17849 glibcxx_cv_system_error13=yes
17850 else
17851 glibcxx_cv_system_error13=no
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17858 $as_echo "$glibcxx_cv_system_error13" >&6; }
17859 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17861 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17865 $as_echo_n "checking for ETXTBSY... " >&6; }
17866 if test "${glibcxx_cv_system_error14+set}" = set; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17872 #include <errno.h>
17874 main ()
17876 int i = ETXTBSY;
17878 return 0;
17880 _ACEOF
17881 if ac_fn_c_try_compile "$LINENO"; then :
17882 glibcxx_cv_system_error14=yes
17883 else
17884 glibcxx_cv_system_error14=no
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17891 $as_echo "$glibcxx_cv_system_error14" >&6; }
17892 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17894 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17898 $as_echo_n "checking for ECHILD... " >&6; }
17899 if test "${glibcxx_cv_system_error15+set}" = set; then :
17900 $as_echo_n "(cached) " >&6
17901 else
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h. */
17905 #include <errno.h>
17907 main ()
17909 int i = ECHILD;
17911 return 0;
17913 _ACEOF
17914 if ac_fn_c_try_compile "$LINENO"; then :
17915 glibcxx_cv_system_error15=yes
17916 else
17917 glibcxx_cv_system_error15=no
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17924 $as_echo "$glibcxx_cv_system_error15" >&6; }
17925 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17927 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17931 $as_echo_n "checking for ENOSPC... " >&6; }
17932 if test "${glibcxx_cv_system_error16+set}" = set; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <errno.h>
17940 main ()
17942 int i = ENOSPC;
17944 return 0;
17946 _ACEOF
17947 if ac_fn_c_try_compile "$LINENO"; then :
17948 glibcxx_cv_system_error16=yes
17949 else
17950 glibcxx_cv_system_error16=no
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17957 $as_echo "$glibcxx_cv_system_error16" >&6; }
17958 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17960 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17964 $as_echo_n "checking for EPERM... " >&6; }
17965 if test "${glibcxx_cv_system_error17+set}" = set; then :
17966 $as_echo_n "(cached) " >&6
17967 else
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971 #include <errno.h>
17973 main ()
17975 int i = EPERM;
17977 return 0;
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981 glibcxx_cv_system_error17=yes
17982 else
17983 glibcxx_cv_system_error17=no
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17990 $as_echo "$glibcxx_cv_system_error17" >&6; }
17991 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17993 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17997 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17998 if test "${glibcxx_cv_system_error18+set}" = set; then :
17999 $as_echo_n "(cached) " >&6
18000 else
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <errno.h>
18006 main ()
18008 int i = ETIMEDOUT;
18010 return 0;
18012 _ACEOF
18013 if ac_fn_c_try_compile "$LINENO"; then :
18014 glibcxx_cv_system_error18=yes
18015 else
18016 glibcxx_cv_system_error18=no
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18023 $as_echo "$glibcxx_cv_system_error18" >&6; }
18024 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18026 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18030 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18031 if test "${glibcxx_cv_system_error19+set}" = set; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 #include <errno.h>
18039 main ()
18041 int i = EWOULDBLOCK;
18043 return 0;
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"; then :
18047 glibcxx_cv_system_error19=yes
18048 else
18049 glibcxx_cv_system_error19=no
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18056 $as_echo "$glibcxx_cv_system_error19" >&6; }
18057 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18059 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18065 # For the streamoff typedef.
18069 ac_ext=cpp
18070 ac_cpp='$CXXCPP $CPPFLAGS'
18071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18077 $as_echo_n "checking for int64_t... " >&6; }
18078 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <stdint.h>
18086 main ()
18088 int64_t var;
18090 return 0;
18092 _ACEOF
18093 if ac_fn_cxx_try_compile "$LINENO"; then :
18094 glibcxx_cv_INT64_T=yes
18095 else
18096 glibcxx_cv_INT64_T=no
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18103 if test $glibcxx_cv_INT64_T = yes; then
18105 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18108 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18111 $as_echo_n "checking for int64_t as long... " >&6; }
18112 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18113 $as_echo_n "(cached) " >&6
18114 else
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <stdint.h>
18119 template<typename, typename> struct same { enum { value = -1 }; };
18120 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18121 int array[same<int64_t, long>::value];
18123 main ()
18127 return 0;
18129 _ACEOF
18130 if ac_fn_cxx_try_compile "$LINENO"; then :
18131 glibcxx_cv_int64_t_long=yes
18132 else
18133 glibcxx_cv_int64_t_long=no
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140 if test $glibcxx_cv_int64_t_long = yes; then
18142 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18145 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18149 $as_echo_n "checking for int64_t as long long... " >&6; }
18150 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <stdint.h>
18157 template<typename, typename> struct same { enum { value = -1 }; };
18158 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18159 int array[same<int64_t, long long>::value];
18161 main ()
18165 return 0;
18167 _ACEOF
18168 if ac_fn_cxx_try_compile "$LINENO"; then :
18169 glibcxx_cv_int64_t_long_long=yes
18170 else
18171 glibcxx_cv_int64_t_long_long=no
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18178 if test $glibcxx_cv_int64_t_long_long = yes; then
18180 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18183 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18187 ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18195 # For LFS support.
18198 ac_ext=cpp
18199 ac_cpp='$CXXCPP $CPPFLAGS'
18200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18204 ac_save_CXXFLAGS="$CXXFLAGS"
18205 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18207 $as_echo_n "checking for LFS support... " >&6; }
18208 if test "${glibcxx_cv_LFS+set}" = set; then :
18209 $as_echo_n "(cached) " >&6
18210 else
18212 if test x$gcc_no_link = xyes; then
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18215 #include <unistd.h>
18216 #include <stdio.h>
18217 #include <sys/stat.h>
18220 main ()
18222 FILE* fp;
18223 fopen64("t", "w");
18224 fseeko64(fp, 0, SEEK_CUR);
18225 ftello64(fp);
18226 lseek64(1, 0, SEEK_CUR);
18227 struct stat64 buf;
18228 fstat64(1, &buf);
18230 return 0;
18232 _ACEOF
18233 if ac_fn_cxx_try_compile "$LINENO"; then :
18234 glibcxx_cv_LFS=yes
18235 else
18236 glibcxx_cv_LFS=no
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 else
18240 if test x$gcc_no_link = xyes; then
18241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #include <unistd.h>
18246 #include <stdio.h>
18247 #include <sys/stat.h>
18250 main ()
18252 FILE* fp;
18253 fopen64("t", "w");
18254 fseeko64(fp, 0, SEEK_CUR);
18255 ftello64(fp);
18256 lseek64(1, 0, SEEK_CUR);
18257 struct stat64 buf;
18258 fstat64(1, &buf);
18260 return 0;
18262 _ACEOF
18263 if ac_fn_cxx_try_link "$LINENO"; then :
18264 glibcxx_cv_LFS=yes
18265 else
18266 glibcxx_cv_LFS=no
18268 rm -f core conftest.err conftest.$ac_objext \
18269 conftest$ac_exeext conftest.$ac_ext
18274 if test $glibcxx_cv_LFS = yes; then
18276 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18280 $as_echo "$glibcxx_cv_LFS" >&6; }
18281 CXXFLAGS="$ac_save_CXXFLAGS"
18282 ac_ext=c
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18290 # For showmanyc_helper().
18291 for ac_header in sys/ioctl.h sys/filio.h
18292 do :
18293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18295 eval as_val=\$$as_ac_Header
18296 if test "x$as_val" = x""yes; then :
18297 cat >>confdefs.h <<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299 _ACEOF
18303 done
18308 ac_ext=cpp
18309 ac_cpp='$CXXCPP $CPPFLAGS'
18310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18314 ac_save_CXXFLAGS="$CXXFLAGS"
18315 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18318 $as_echo_n "checking for poll... " >&6; }
18319 if test "${glibcxx_cv_POLL+set}" = set; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18323 if test x$gcc_no_link = xyes; then
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #include <poll.h>
18328 main ()
18330 struct pollfd pfd[1];
18331 pfd[0].events = POLLIN;
18332 poll(pfd, 1, 0);
18334 return 0;
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_POLL=yes
18339 else
18340 glibcxx_cv_POLL=no
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 else
18344 if test x$gcc_no_link = xyes; then
18345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <poll.h>
18351 main ()
18353 struct pollfd pfd[1];
18354 pfd[0].events = POLLIN;
18355 poll(pfd, 1, 0);
18357 return 0;
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361 glibcxx_cv_POLL=yes
18362 else
18363 glibcxx_cv_POLL=no
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18371 if test $glibcxx_cv_POLL = yes; then
18373 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18377 $as_echo "$glibcxx_cv_POLL" >&6; }
18379 CXXFLAGS="$ac_save_CXXFLAGS"
18380 ac_ext=c
18381 ac_cpp='$CPP $CPPFLAGS'
18382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18390 ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18396 ac_save_CXXFLAGS="$CXXFLAGS"
18397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18400 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18401 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18405 if test x$gcc_no_link = xyes; then
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <sys/stat.h>
18410 main ()
18412 struct stat buffer;
18413 fstat(0, &buffer);
18414 S_ISREG(buffer.st_mode);
18416 return 0;
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420 glibcxx_cv_S_ISREG=yes
18421 else
18422 glibcxx_cv_S_ISREG=no
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426 if test x$gcc_no_link = xyes; then
18427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <sys/stat.h>
18433 main ()
18435 struct stat buffer;
18436 fstat(0, &buffer);
18437 S_ISREG(buffer.st_mode);
18439 return 0;
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443 glibcxx_cv_S_ISREG=yes
18444 else
18445 glibcxx_cv_S_ISREG=no
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18453 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18454 $as_echo_n "(cached) " >&6
18455 else
18457 if test x$gcc_no_link = xyes; then
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18460 #include <sys/stat.h>
18462 main ()
18464 struct stat buffer;
18465 fstat(0, &buffer);
18466 S_IFREG & buffer.st_mode;
18468 return 0;
18470 _ACEOF
18471 if ac_fn_cxx_try_compile "$LINENO"; then :
18472 glibcxx_cv_S_IFREG=yes
18473 else
18474 glibcxx_cv_S_IFREG=no
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477 else
18478 if test x$gcc_no_link = xyes; then
18479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18483 #include <sys/stat.h>
18485 main ()
18487 struct stat buffer;
18488 fstat(0, &buffer);
18489 S_IFREG & buffer.st_mode;
18491 return 0;
18493 _ACEOF
18494 if ac_fn_cxx_try_link "$LINENO"; then :
18495 glibcxx_cv_S_IFREG=yes
18496 else
18497 glibcxx_cv_S_IFREG=no
18499 rm -f core conftest.err conftest.$ac_objext \
18500 conftest$ac_exeext conftest.$ac_ext
18505 res=no
18506 if test $glibcxx_cv_S_ISREG = yes; then
18508 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18510 res=S_ISREG
18511 elif test $glibcxx_cv_S_IFREG = yes; then
18513 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18515 res=S_IFREG
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18518 $as_echo "$res" >&6; }
18520 CXXFLAGS="$ac_save_CXXFLAGS"
18521 ac_ext=c
18522 ac_cpp='$CPP $CPPFLAGS'
18523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18529 # For xsputn_2().
18530 for ac_header in sys/uio.h
18531 do :
18532 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18533 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18534 cat >>confdefs.h <<_ACEOF
18535 #define HAVE_SYS_UIO_H 1
18536 _ACEOF
18540 done
18545 ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18551 ac_save_CXXFLAGS="$CXXFLAGS"
18552 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18555 $as_echo_n "checking for writev... " >&6; }
18556 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18557 $as_echo_n "(cached) " >&6
18558 else
18560 if test x$gcc_no_link = xyes; then
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <sys/uio.h>
18565 main ()
18567 struct iovec iov[2];
18568 writev(0, iov, 0);
18570 return 0;
18572 _ACEOF
18573 if ac_fn_cxx_try_compile "$LINENO"; then :
18574 glibcxx_cv_WRITEV=yes
18575 else
18576 glibcxx_cv_WRITEV=no
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 else
18580 if test x$gcc_no_link = xyes; then
18581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 #include <sys/uio.h>
18587 main ()
18589 struct iovec iov[2];
18590 writev(0, iov, 0);
18592 return 0;
18594 _ACEOF
18595 if ac_fn_cxx_try_link "$LINENO"; then :
18596 glibcxx_cv_WRITEV=yes
18597 else
18598 glibcxx_cv_WRITEV=no
18600 rm -f core conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18606 if test $glibcxx_cv_WRITEV = yes; then
18608 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18612 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18614 CXXFLAGS="$ac_save_CXXFLAGS"
18615 ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18623 # For C99 support to TR1.
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18634 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18635 # undefined and fake C99 facilities may be spuriously enabled.
18636 ac_save_CXXFLAGS="$CXXFLAGS"
18637 CXXFLAGS="$CXXFLAGS -std=c++98"
18639 # Check for the existence of <complex.h> complex math functions used
18640 # by tr1/complex.
18641 for ac_header in complex.h
18642 do :
18643 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18644 if test "x$ac_cv_header_complex_h" = x""yes; then :
18645 cat >>confdefs.h <<_ACEOF
18646 #define HAVE_COMPLEX_H 1
18647 _ACEOF
18648 ac_has_complex_h=yes
18649 else
18650 ac_has_complex_h=no
18653 done
18655 ac_c99_complex_tr1=no;
18656 if test x"$ac_has_complex_h" = x"yes"; then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18658 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 #include <complex.h>
18663 main ()
18665 typedef __complex__ float float_type; float_type tmpf;
18666 cacosf(tmpf);
18667 casinf(tmpf);
18668 catanf(tmpf);
18669 cacoshf(tmpf);
18670 casinhf(tmpf);
18671 catanhf(tmpf);
18672 typedef __complex__ double double_type; double_type tmpd;
18673 cacos(tmpd);
18674 casin(tmpd);
18675 catan(tmpd);
18676 cacosh(tmpd);
18677 casinh(tmpd);
18678 catanh(tmpd);
18679 typedef __complex__ long double ld_type; ld_type tmpld;
18680 cacosl(tmpld);
18681 casinl(tmpld);
18682 catanl(tmpld);
18683 cacoshl(tmpld);
18684 casinhl(tmpld);
18685 catanhl(tmpld);
18688 return 0;
18690 _ACEOF
18691 if ac_fn_cxx_try_compile "$LINENO"; then :
18692 ac_c99_complex_tr1=yes
18693 else
18694 ac_c99_complex_tr1=no
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18699 $as_echo "$ac_c99_complex_tr1" >&6; }
18700 if test x"$ac_c99_complex_tr1" = x"yes"; then
18702 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18706 # Check for the existence of <ctype.h> functions.
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18708 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18709 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18710 $as_echo_n "(cached) " >&6
18711 else
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #include <ctype.h>
18717 main ()
18719 int ch;
18720 int ret;
18721 ret = isblank(ch);
18724 return 0;
18726 _ACEOF
18727 if ac_fn_cxx_try_compile "$LINENO"; then :
18728 glibcxx_cv_c99_ctype_tr1=yes
18729 else
18730 glibcxx_cv_c99_ctype_tr1=no
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18737 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18738 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18740 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18744 # Check for the existence of <fenv.h> functions.
18745 for ac_header in fenv.h
18746 do :
18747 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_FENV_H 1
18751 _ACEOF
18752 ac_has_fenv_h=yes
18753 else
18754 ac_has_fenv_h=no
18757 done
18759 ac_c99_fenv_tr1=no;
18760 if test x"$ac_has_fenv_h" = x"yes"; then
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #include <fenv.h>
18767 main ()
18769 int except, mode;
18770 fexcept_t* pflag;
18771 fenv_t* penv;
18772 int ret;
18773 ret = feclearexcept(except);
18774 ret = fegetexceptflag(pflag, except);
18775 ret = feraiseexcept(except);
18776 ret = fesetexceptflag(pflag, except);
18777 ret = fetestexcept(except);
18778 ret = fegetround();
18779 ret = fesetround(mode);
18780 ret = fegetenv(penv);
18781 ret = feholdexcept(penv);
18782 ret = fesetenv(penv);
18783 ret = feupdateenv(penv);
18786 return 0;
18788 _ACEOF
18789 if ac_fn_cxx_try_compile "$LINENO"; then :
18790 ac_c99_fenv_tr1=yes
18791 else
18792 ac_c99_fenv_tr1=no
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18797 $as_echo "$ac_c99_fenv_tr1" >&6; }
18798 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18800 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18804 # Check for the existence of <stdint.h> types.
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18806 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18807 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18808 $as_echo_n "(cached) " >&6
18809 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #define __STDC_LIMIT_MACROS
18814 #define __STDC_CONSTANT_MACROS
18815 #include <stdint.h>
18817 main ()
18819 typedef int8_t my_int8_t;
18820 my_int8_t i8 = INT8_MIN;
18821 i8 = INT8_MAX;
18822 typedef int16_t my_int16_t;
18823 my_int16_t i16 = INT16_MIN;
18824 i16 = INT16_MAX;
18825 typedef int32_t my_int32_t;
18826 my_int32_t i32 = INT32_MIN;
18827 i32 = INT32_MAX;
18828 typedef int64_t my_int64_t;
18829 my_int64_t i64 = INT64_MIN;
18830 i64 = INT64_MAX;
18831 typedef int_fast8_t my_int_fast8_t;
18832 my_int_fast8_t if8 = INT_FAST8_MIN;
18833 if8 = INT_FAST8_MAX;
18834 typedef int_fast16_t my_int_fast16_t;
18835 my_int_fast16_t if16 = INT_FAST16_MIN;
18836 if16 = INT_FAST16_MAX;
18837 typedef int_fast32_t my_int_fast32_t;
18838 my_int_fast32_t if32 = INT_FAST32_MIN;
18839 if32 = INT_FAST32_MAX;
18840 typedef int_fast64_t my_int_fast64_t;
18841 my_int_fast64_t if64 = INT_FAST64_MIN;
18842 if64 = INT_FAST64_MAX;
18843 typedef int_least8_t my_int_least8_t;
18844 my_int_least8_t il8 = INT_LEAST8_MIN;
18845 il8 = INT_LEAST8_MAX;
18846 typedef int_least16_t my_int_least16_t;
18847 my_int_least16_t il16 = INT_LEAST16_MIN;
18848 il16 = INT_LEAST16_MAX;
18849 typedef int_least32_t my_int_least32_t;
18850 my_int_least32_t il32 = INT_LEAST32_MIN;
18851 il32 = INT_LEAST32_MAX;
18852 typedef int_least64_t my_int_least64_t;
18853 my_int_least64_t il64 = INT_LEAST64_MIN;
18854 il64 = INT_LEAST64_MAX;
18855 typedef intmax_t my_intmax_t;
18856 my_intmax_t im = INTMAX_MAX;
18857 im = INTMAX_MIN;
18858 typedef intptr_t my_intptr_t;
18859 my_intptr_t ip = INTPTR_MAX;
18860 ip = INTPTR_MIN;
18861 typedef uint8_t my_uint8_t;
18862 my_uint8_t ui8 = UINT8_MAX;
18863 ui8 = UINT8_MAX;
18864 typedef uint16_t my_uint16_t;
18865 my_uint16_t ui16 = UINT16_MAX;
18866 ui16 = UINT16_MAX;
18867 typedef uint32_t my_uint32_t;
18868 my_uint32_t ui32 = UINT32_MAX;
18869 ui32 = UINT32_MAX;
18870 typedef uint64_t my_uint64_t;
18871 my_uint64_t ui64 = UINT64_MAX;
18872 ui64 = UINT64_MAX;
18873 typedef uint_fast8_t my_uint_fast8_t;
18874 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18875 uif8 = UINT_FAST8_MAX;
18876 typedef uint_fast16_t my_uint_fast16_t;
18877 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18878 uif16 = UINT_FAST16_MAX;
18879 typedef uint_fast32_t my_uint_fast32_t;
18880 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18881 uif32 = UINT_FAST32_MAX;
18882 typedef uint_fast64_t my_uint_fast64_t;
18883 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18884 uif64 = UINT_FAST64_MAX;
18885 typedef uint_least8_t my_uint_least8_t;
18886 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18887 uil8 = UINT_LEAST8_MAX;
18888 typedef uint_least16_t my_uint_least16_t;
18889 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18890 uil16 = UINT_LEAST16_MAX;
18891 typedef uint_least32_t my_uint_least32_t;
18892 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18893 uil32 = UINT_LEAST32_MAX;
18894 typedef uint_least64_t my_uint_least64_t;
18895 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18896 uil64 = UINT_LEAST64_MAX;
18897 typedef uintmax_t my_uintmax_t;
18898 my_uintmax_t uim = UINTMAX_MAX;
18899 uim = UINTMAX_MAX;
18900 typedef uintptr_t my_uintptr_t;
18901 my_uintptr_t uip = UINTPTR_MAX;
18902 uip = UINTPTR_MAX;
18905 return 0;
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909 glibcxx_cv_c99_stdint_tr1=yes
18910 else
18911 glibcxx_cv_c99_stdint_tr1=no
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18918 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18919 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18921 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18925 # Check for the existence of <math.h> functions.
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18927 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18928 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18929 $as_echo_n "(cached) " >&6
18930 else
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 #include <math.h>
18936 main ()
18938 typedef double_t my_double_t;
18939 typedef float_t my_float_t;
18940 acosh(0.0);
18941 acoshf(0.0f);
18942 acoshl(0.0l);
18943 asinh(0.0);
18944 asinhf(0.0f);
18945 asinhl(0.0l);
18946 atanh(0.0);
18947 atanhf(0.0f);
18948 atanhl(0.0l);
18949 cbrt(0.0);
18950 cbrtf(0.0f);
18951 cbrtl(0.0l);
18952 copysign(0.0, 0.0);
18953 copysignf(0.0f, 0.0f);
18954 copysignl(0.0l, 0.0l);
18955 erf(0.0);
18956 erff(0.0f);
18957 erfl(0.0l);
18958 erfc(0.0);
18959 erfcf(0.0f);
18960 erfcl(0.0l);
18961 exp2(0.0);
18962 exp2f(0.0f);
18963 exp2l(0.0l);
18964 expm1(0.0);
18965 expm1f(0.0f);
18966 expm1l(0.0l);
18967 fdim(0.0, 0.0);
18968 fdimf(0.0f, 0.0f);
18969 fdiml(0.0l, 0.0l);
18970 fma(0.0, 0.0, 0.0);
18971 fmaf(0.0f, 0.0f, 0.0f);
18972 fmal(0.0l, 0.0l, 0.0l);
18973 fmax(0.0, 0.0);
18974 fmaxf(0.0f, 0.0f);
18975 fmaxl(0.0l, 0.0l);
18976 fmin(0.0, 0.0);
18977 fminf(0.0f, 0.0f);
18978 fminl(0.0l, 0.0l);
18979 hypot(0.0, 0.0);
18980 hypotf(0.0f, 0.0f);
18981 hypotl(0.0l, 0.0l);
18982 ilogb(0.0);
18983 ilogbf(0.0f);
18984 ilogbl(0.0l);
18985 lgamma(0.0);
18986 lgammaf(0.0f);
18987 lgammal(0.0l);
18988 llrint(0.0);
18989 llrintf(0.0f);
18990 llrintl(0.0l);
18991 llround(0.0);
18992 llroundf(0.0f);
18993 llroundl(0.0l);
18994 log1p(0.0);
18995 log1pf(0.0f);
18996 log1pl(0.0l);
18997 log2(0.0);
18998 log2f(0.0f);
18999 log2l(0.0l);
19000 logb(0.0);
19001 logbf(0.0f);
19002 logbl(0.0l);
19003 lrint(0.0);
19004 lrintf(0.0f);
19005 lrintl(0.0l);
19006 lround(0.0);
19007 lroundf(0.0f);
19008 lroundl(0.0l);
19009 nan(0);
19010 nanf(0);
19011 nanl(0);
19012 nearbyint(0.0);
19013 nearbyintf(0.0f);
19014 nearbyintl(0.0l);
19015 nextafter(0.0, 0.0);
19016 nextafterf(0.0f, 0.0f);
19017 nextafterl(0.0l, 0.0l);
19018 nexttoward(0.0, 0.0);
19019 nexttowardf(0.0f, 0.0f);
19020 nexttowardl(0.0l, 0.0l);
19021 remainder(0.0, 0.0);
19022 remainderf(0.0f, 0.0f);
19023 remainderl(0.0l, 0.0l);
19024 remquo(0.0, 0.0, 0);
19025 remquof(0.0f, 0.0f, 0);
19026 remquol(0.0l, 0.0l, 0);
19027 rint(0.0);
19028 rintf(0.0f);
19029 rintl(0.0l);
19030 round(0.0);
19031 roundf(0.0f);
19032 roundl(0.0l);
19033 scalbln(0.0, 0l);
19034 scalblnf(0.0f, 0l);
19035 scalblnl(0.0l, 0l);
19036 scalbn(0.0, 0);
19037 scalbnf(0.0f, 0);
19038 scalbnl(0.0l, 0);
19039 tgamma(0.0);
19040 tgammaf(0.0f);
19041 tgammal(0.0l);
19042 trunc(0.0);
19043 truncf(0.0f);
19044 truncl(0.0l);
19047 return 0;
19049 _ACEOF
19050 if ac_fn_cxx_try_compile "$LINENO"; then :
19051 glibcxx_cv_c99_math_tr1=yes
19052 else
19053 glibcxx_cv_c99_math_tr1=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19060 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19061 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19063 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19067 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19068 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069 ac_c99_inttypes_tr1=no;
19070 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19072 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 #include <inttypes.h>
19077 main ()
19079 intmax_t i, numer, denom, base;
19080 const char* s;
19081 char** endptr;
19082 intmax_t ret = imaxabs(i);
19083 imaxdiv_t dret = imaxdiv(numer, denom);
19084 ret = strtoimax(s, endptr, base);
19085 uintmax_t uret = strtoumax(s, endptr, base);
19088 return 0;
19090 _ACEOF
19091 if ac_fn_cxx_try_compile "$LINENO"; then :
19092 ac_c99_inttypes_tr1=yes
19093 else
19094 ac_c99_inttypes_tr1=no
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19099 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19100 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19102 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19106 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19107 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19108 ac_c99_inttypes_wchar_t_tr1=no;
19109 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19111 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 #include <inttypes.h>
19116 main ()
19118 intmax_t base;
19119 const wchar_t* s;
19120 wchar_t** endptr;
19121 intmax_t ret = wcstoimax(s, endptr, base);
19122 uintmax_t uret = wcstoumax(s, endptr, base);
19125 return 0;
19127 _ACEOF
19128 if ac_fn_cxx_try_compile "$LINENO"; then :
19129 ac_c99_inttypes_wchar_t_tr1=yes
19130 else
19131 ac_c99_inttypes_wchar_t_tr1=no
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19136 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19137 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19139 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19143 # Check for the existence of the <stdbool.h> header.
19144 for ac_header in stdbool.h
19145 do :
19146 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19147 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STDBOOL_H 1
19150 _ACEOF
19154 done
19157 # Check for the existence of the <stdalign.h> header.
19158 for ac_header in stdalign.h
19159 do :
19160 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19161 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STDALIGN_H 1
19164 _ACEOF
19168 done
19171 CXXFLAGS="$ac_save_CXXFLAGS"
19172 ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19180 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19184 $as_echo_n "checking for the value of EOF... " >&6; }
19185 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19186 $as_echo_n "(cached) " >&6
19187 else
19189 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19191 else
19192 as_fn_error "computing EOF failed" "$LINENO" 5
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19198 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19200 cat >>confdefs.h <<_ACEOF
19201 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19202 _ACEOF
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19206 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19207 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19208 $as_echo_n "(cached) " >&6
19209 else
19211 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19213 else
19214 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19220 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19222 cat >>confdefs.h <<_ACEOF
19223 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19224 _ACEOF
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19228 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19229 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19233 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19235 else
19236 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19242 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19244 cat >>confdefs.h <<_ACEOF
19245 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19246 _ACEOF
19250 # For gettimeofday support.
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19254 $as_echo_n "checking for gettimeofday... " >&6; }
19257 ac_ext=cpp
19258 ac_cpp='$CXXCPP $CPPFLAGS'
19259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19263 ac_save_CXXFLAGS="$CXXFLAGS"
19264 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19266 ac_has_gettimeofday=no;
19267 for ac_header in sys/time.h
19268 do :
19269 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_SYS_TIME_H 1
19273 _ACEOF
19274 ac_has_sys_time_h=yes
19275 else
19276 ac_has_sys_time_h=no
19279 done
19281 if test x"$ac_has_sys_time_h" = x"yes"; then
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19283 $as_echo_n "checking for gettimeofday... " >&6; }
19284 if test x$gcc_no_link = xyes; then
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287 #include <sys/time.h>
19289 main ()
19291 timeval tv; gettimeofday(&tv, 0);
19293 return 0;
19295 _ACEOF
19296 if ac_fn_cxx_try_compile "$LINENO"; then :
19297 ac_has_gettimeofday=yes
19298 else
19299 ac_has_gettimeofday=no
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 else
19303 if test x$gcc_no_link = xyes; then
19304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 #include <sys/time.h>
19310 main ()
19312 timeval tv; gettimeofday(&tv, 0);
19314 return 0;
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318 ac_has_gettimeofday=yes
19319 else
19320 ac_has_gettimeofday=no
19322 rm -f core conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19327 $as_echo "$ac_has_gettimeofday" >&6; }
19330 if test x"$ac_has_gettimeofday" = x"yes"; then
19332 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19336 CXXFLAGS="$ac_save_CXXFLAGS"
19337 ac_ext=c
19338 ac_cpp='$CPP $CPPFLAGS'
19339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19345 # For clock_gettime, nanosleep and sched_yield support.
19346 # NB: The default is [no], because otherwise it requires linking.
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19350 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19351 # Check whether --enable-libstdcxx-time was given.
19352 if test "${enable_libstdcxx_time+set}" = set; then :
19353 enableval=$enable_libstdcxx_time;
19354 case "$enableval" in
19355 yes|no|rt) ;;
19356 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19357 esac
19359 else
19360 enable_libstdcxx_time=no
19366 ac_ext=cpp
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19372 ac_save_CXXFLAGS="$CXXFLAGS"
19373 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19374 ac_save_LIBS="$LIBS"
19376 ac_has_clock_monotonic=no
19377 ac_has_clock_realtime=no
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19379 $as_echo "$enable_libstdcxx_time" >&6; }
19381 if test x"$enable_libstdcxx_time" != x"no"; then
19383 if test x"$enable_libstdcxx_time" = x"rt"; then
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19385 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19386 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19387 $as_echo_n "(cached) " >&6
19388 else
19389 ac_func_search_save_LIBS=$LIBS
19390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391 /* end confdefs.h. */
19393 /* Override any GCC internal prototype to avoid an error.
19394 Use char because int might match the return type of a GCC
19395 builtin and then its argument prototype would still apply. */
19396 #ifdef __cplusplus
19397 extern "C"
19398 #endif
19399 char clock_gettime ();
19401 main ()
19403 return clock_gettime ();
19405 return 0;
19407 _ACEOF
19408 for ac_lib in '' rt posix4; do
19409 if test -z "$ac_lib"; then
19410 ac_res="none required"
19411 else
19412 ac_res=-l$ac_lib
19413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19415 if test x$gcc_no_link = xyes; then
19416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19418 if ac_fn_cxx_try_link "$LINENO"; then :
19419 ac_cv_search_clock_gettime=$ac_res
19421 rm -f core conftest.err conftest.$ac_objext \
19422 conftest$ac_exeext
19423 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19424 break
19426 done
19427 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19429 else
19430 ac_cv_search_clock_gettime=no
19432 rm conftest.$ac_ext
19433 LIBS=$ac_func_search_save_LIBS
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19436 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19437 ac_res=$ac_cv_search_clock_gettime
19438 if test "$ac_res" != no; then :
19439 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19444 $as_echo_n "checking for library containing nanosleep... " >&6; }
19445 if test "${ac_cv_search_nanosleep+set}" = set; then :
19446 $as_echo_n "(cached) " >&6
19447 else
19448 ac_func_search_save_LIBS=$LIBS
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19452 /* Override any GCC internal prototype to avoid an error.
19453 Use char because int might match the return type of a GCC
19454 builtin and then its argument prototype would still apply. */
19455 #ifdef __cplusplus
19456 extern "C"
19457 #endif
19458 char nanosleep ();
19460 main ()
19462 return nanosleep ();
19464 return 0;
19466 _ACEOF
19467 for ac_lib in '' rt posix4; do
19468 if test -z "$ac_lib"; then
19469 ac_res="none required"
19470 else
19471 ac_res=-l$ac_lib
19472 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19474 if test x$gcc_no_link = xyes; then
19475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19477 if ac_fn_cxx_try_link "$LINENO"; then :
19478 ac_cv_search_nanosleep=$ac_res
19480 rm -f core conftest.err conftest.$ac_objext \
19481 conftest$ac_exeext
19482 if test "${ac_cv_search_nanosleep+set}" = set; then :
19483 break
19485 done
19486 if test "${ac_cv_search_nanosleep+set}" = set; then :
19488 else
19489 ac_cv_search_nanosleep=no
19491 rm conftest.$ac_ext
19492 LIBS=$ac_func_search_save_LIBS
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19495 $as_echo "$ac_cv_search_nanosleep" >&6; }
19496 ac_res=$ac_cv_search_nanosleep
19497 if test "$ac_res" != no; then :
19498 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19502 else
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19504 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19505 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 ac_func_search_save_LIBS=$LIBS
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19512 /* Override any GCC internal prototype to avoid an error.
19513 Use char because int might match the return type of a GCC
19514 builtin and then its argument prototype would still apply. */
19515 #ifdef __cplusplus
19516 extern "C"
19517 #endif
19518 char clock_gettime ();
19520 main ()
19522 return clock_gettime ();
19524 return 0;
19526 _ACEOF
19527 for ac_lib in '' posix4; do
19528 if test -z "$ac_lib"; then
19529 ac_res="none required"
19530 else
19531 ac_res=-l$ac_lib
19532 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19534 if test x$gcc_no_link = xyes; then
19535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19537 if ac_fn_cxx_try_link "$LINENO"; then :
19538 ac_cv_search_clock_gettime=$ac_res
19540 rm -f core conftest.err conftest.$ac_objext \
19541 conftest$ac_exeext
19542 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19543 break
19545 done
19546 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19548 else
19549 ac_cv_search_clock_gettime=no
19551 rm conftest.$ac_ext
19552 LIBS=$ac_func_search_save_LIBS
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19555 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19556 ac_res=$ac_cv_search_clock_gettime
19557 if test "$ac_res" != no; then :
19558 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19563 $as_echo_n "checking for library containing nanosleep... " >&6; }
19564 if test "${ac_cv_search_nanosleep+set}" = set; then :
19565 $as_echo_n "(cached) " >&6
19566 else
19567 ac_func_search_save_LIBS=$LIBS
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19571 /* Override any GCC internal prototype to avoid an error.
19572 Use char because int might match the return type of a GCC
19573 builtin and then its argument prototype would still apply. */
19574 #ifdef __cplusplus
19575 extern "C"
19576 #endif
19577 char nanosleep ();
19579 main ()
19581 return nanosleep ();
19583 return 0;
19585 _ACEOF
19586 for ac_lib in '' posix4; do
19587 if test -z "$ac_lib"; then
19588 ac_res="none required"
19589 else
19590 ac_res=-l$ac_lib
19591 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19593 if test x$gcc_no_link = xyes; then
19594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19596 if ac_fn_cxx_try_link "$LINENO"; then :
19597 ac_cv_search_nanosleep=$ac_res
19599 rm -f core conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext
19601 if test "${ac_cv_search_nanosleep+set}" = set; then :
19602 break
19604 done
19605 if test "${ac_cv_search_nanosleep+set}" = set; then :
19607 else
19608 ac_cv_search_nanosleep=no
19610 rm conftest.$ac_ext
19611 LIBS=$ac_func_search_save_LIBS
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19614 $as_echo "$ac_cv_search_nanosleep" >&6; }
19615 ac_res=$ac_cv_search_nanosleep
19616 if test "$ac_res" != no; then :
19617 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19623 case "$ac_cv_search_clock_gettime" in
19624 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19626 esac
19627 case "$ac_cv_search_nanosleep" in
19628 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19630 esac
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19633 $as_echo_n "checking for library containing sched_yield... " >&6; }
19634 if test "${ac_cv_search_sched_yield+set}" = set; then :
19635 $as_echo_n "(cached) " >&6
19636 else
19637 ac_func_search_save_LIBS=$LIBS
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19641 /* Override any GCC internal prototype to avoid an error.
19642 Use char because int might match the return type of a GCC
19643 builtin and then its argument prototype would still apply. */
19644 #ifdef __cplusplus
19645 extern "C"
19646 #endif
19647 char sched_yield ();
19649 main ()
19651 return sched_yield ();
19653 return 0;
19655 _ACEOF
19656 for ac_lib in '' rt posix4; do
19657 if test -z "$ac_lib"; then
19658 ac_res="none required"
19659 else
19660 ac_res=-l$ac_lib
19661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19663 if test x$gcc_no_link = xyes; then
19664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19666 if ac_fn_cxx_try_link "$LINENO"; then :
19667 ac_cv_search_sched_yield=$ac_res
19669 rm -f core conftest.err conftest.$ac_objext \
19670 conftest$ac_exeext
19671 if test "${ac_cv_search_sched_yield+set}" = set; then :
19672 break
19674 done
19675 if test "${ac_cv_search_sched_yield+set}" = set; then :
19677 else
19678 ac_cv_search_sched_yield=no
19680 rm conftest.$ac_ext
19681 LIBS=$ac_func_search_save_LIBS
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19684 $as_echo "$ac_cv_search_sched_yield" >&6; }
19685 ac_res=$ac_cv_search_sched_yield
19686 if test "$ac_res" != no; then :
19687 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19692 case "$ac_cv_search_sched_yield" in
19693 -lposix4*)
19694 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19696 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19699 -lrt*)
19700 if test x"$enable_libstdcxx_time" = x"rt"; then
19701 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19703 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19709 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19712 esac
19714 for ac_header in unistd.h
19715 do :
19716 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19717 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19718 cat >>confdefs.h <<_ACEOF
19719 #define HAVE_UNISTD_H 1
19720 _ACEOF
19721 ac_has_unistd_h=yes
19722 else
19723 ac_has_unistd_h=no
19726 done
19729 if test x"$ac_has_unistd_h" = x"yes"; then
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19731 $as_echo_n "checking for monotonic clock... " >&6; }
19732 if test x$gcc_no_link = xyes; then
19733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19737 #include <unistd.h>
19738 #include <time.h>
19741 main ()
19743 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19744 timespec tp;
19745 #endif
19746 clock_gettime(CLOCK_MONOTONIC, &tp);
19749 return 0;
19751 _ACEOF
19752 if ac_fn_cxx_try_link "$LINENO"; then :
19753 ac_has_clock_monotonic=yes
19754 else
19755 ac_has_clock_monotonic=no
19757 rm -f core conftest.err conftest.$ac_objext \
19758 conftest$ac_exeext conftest.$ac_ext
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19761 $as_echo "$ac_has_clock_monotonic" >&6; }
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19764 $as_echo_n "checking for realtime clock... " >&6; }
19765 if test x$gcc_no_link = xyes; then
19766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19770 #include <unistd.h>
19771 #include <time.h>
19774 main ()
19776 #if _POSIX_TIMERS > 0
19777 timespec tp;
19778 #endif
19779 clock_gettime(CLOCK_REALTIME, &tp);
19782 return 0;
19784 _ACEOF
19785 if ac_fn_cxx_try_link "$LINENO"; then :
19786 ac_has_clock_realtime=yes
19787 else
19788 ac_has_clock_realtime=no
19790 rm -f core conftest.err conftest.$ac_objext \
19791 conftest$ac_exeext conftest.$ac_ext
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19794 $as_echo "$ac_has_clock_realtime" >&6; }
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19797 $as_echo_n "checking for nanosleep... " >&6; }
19798 if test x$gcc_no_link = xyes; then
19799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19803 #include <unistd.h>
19804 #include <time.h>
19807 main ()
19809 #if _POSIX_TIMERS > 0
19810 timespec tp;
19811 #endif
19812 nanosleep(&tp, 0);
19815 return 0;
19817 _ACEOF
19818 if ac_fn_cxx_try_link "$LINENO"; then :
19819 ac_has_nanosleep=yes
19820 else
19821 ac_has_nanosleep=no
19823 rm -f core conftest.err conftest.$ac_objext \
19824 conftest$ac_exeext conftest.$ac_ext
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19827 $as_echo "$ac_has_nanosleep" >&6; }
19831 if test x"$ac_has_clock_monotonic" = x"yes"; then
19833 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19837 if test x"$ac_has_clock_realtime" = x"yes"; then
19839 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19843 if test x"$ac_has_nanosleep" = x"yes"; then
19845 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19847 else
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19849 $as_echo_n "checking for sleep... " >&6; }
19850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19852 #include <unistd.h>
19854 main ()
19856 sleep(1)
19858 return 0;
19860 _ACEOF
19861 if ac_fn_cxx_try_compile "$LINENO"; then :
19862 ac_has_sleep=yes
19863 else
19864 ac_has_sleep=no
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 if test x"$ac_has_sleep" = x"yes"; then
19869 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19873 $as_echo "$ac_has_sleep" >&6; }
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19875 $as_echo_n "checking for usleep... " >&6; }
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19878 #include <unistd.h>
19880 main ()
19882 sleep(1);
19883 usleep(100);
19885 return 0;
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889 ac_has_usleep=yes
19890 else
19891 ac_has_usleep=no
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 if test x"$ac_has_usleep" = x"yes"; then
19896 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19900 $as_echo "$ac_has_usleep" >&6; }
19905 CXXFLAGS="$ac_save_CXXFLAGS"
19906 LIBS="$ac_save_LIBS"
19907 ac_ext=c
19908 ac_cpp='$CPP $CPPFLAGS'
19909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19916 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19917 if test "x$ac_cv_header_locale_h" = x""yes; then :
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19920 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19921 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19922 $as_echo_n "(cached) " >&6
19923 else
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #include <locale.h>
19928 main ()
19930 return LC_MESSAGES
19932 return 0;
19934 _ACEOF
19935 if ac_fn_c_try_compile "$LINENO"; then :
19936 ac_cv_val_LC_MESSAGES=yes
19937 else
19938 ac_cv_val_LC_MESSAGES=no
19940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19943 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19944 if test $ac_cv_val_LC_MESSAGES = yes; then
19946 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19955 # For hardware_concurrency
19956 for ac_header in sys/sysinfo.h
19957 do :
19958 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19959 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19960 cat >>confdefs.h <<_ACEOF
19961 #define HAVE_SYS_SYSINFO_H 1
19962 _ACEOF
19966 done
19971 ac_ext=cpp
19972 ac_cpp='$CXXCPP $CPPFLAGS'
19973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19977 ac_save_CXXFLAGS="$CXXFLAGS"
19978 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19981 $as_echo_n "checking for get_nprocs... " >&6; }
19982 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19983 $as_echo_n "(cached) " >&6
19984 else
19986 if test x$gcc_no_link = xyes; then
19987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19988 /* end confdefs.h. */
19989 #include <sys/sysinfo.h>
19991 main ()
19993 int n = get_nprocs();
19995 return 0;
19997 _ACEOF
19998 if ac_fn_cxx_try_compile "$LINENO"; then :
19999 glibcxx_cv_GET_NPROCS=yes
20000 else
20001 glibcxx_cv_GET_NPROCS=no
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20004 else
20005 if test x$gcc_no_link = xyes; then
20006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h. */
20010 #include <sys/sysinfo.h>
20012 main ()
20014 int n = get_nprocs();
20016 return 0;
20018 _ACEOF
20019 if ac_fn_cxx_try_link "$LINENO"; then :
20020 glibcxx_cv_GET_NPROCS=yes
20021 else
20022 glibcxx_cv_GET_NPROCS=no
20024 rm -f core conftest.err conftest.$ac_objext \
20025 conftest$ac_exeext conftest.$ac_ext
20030 if test $glibcxx_cv_GET_NPROCS = yes; then
20032 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20036 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20038 CXXFLAGS="$ac_save_CXXFLAGS"
20039 ac_ext=c
20040 ac_cpp='$CPP $CPPFLAGS'
20041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20046 for ac_header in unistd.h
20047 do :
20048 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20049 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20050 cat >>confdefs.h <<_ACEOF
20051 #define HAVE_UNISTD_H 1
20052 _ACEOF
20056 done
20061 ac_ext=cpp
20062 ac_cpp='$CXXCPP $CPPFLAGS'
20063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20067 ac_save_CXXFLAGS="$CXXFLAGS"
20068 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20071 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20072 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20073 $as_echo_n "(cached) " >&6
20074 else
20076 if test x$gcc_no_link = xyes; then
20077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h. */
20079 #include <unistd.h>
20081 main ()
20083 int n = sysconf(_SC_NPROCESSORS_ONLN);
20085 return 0;
20087 _ACEOF
20088 if ac_fn_cxx_try_compile "$LINENO"; then :
20089 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20090 else
20091 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20094 else
20095 if test x$gcc_no_link = xyes; then
20096 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20099 /* end confdefs.h. */
20100 #include <unistd.h>
20102 main ()
20104 int n = sysconf(_SC_NPROCESSORS_ONLN);
20106 return 0;
20108 _ACEOF
20109 if ac_fn_cxx_try_link "$LINENO"; then :
20110 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20111 else
20112 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20114 rm -f core conftest.err conftest.$ac_objext \
20115 conftest$ac_exeext conftest.$ac_ext
20120 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20122 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20126 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20128 CXXFLAGS="$ac_save_CXXFLAGS"
20129 ac_ext=c
20130 ac_cpp='$CPP $CPPFLAGS'
20131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20139 ac_ext=cpp
20140 ac_cpp='$CXXCPP $CPPFLAGS'
20141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20145 ac_save_CXXFLAGS="$CXXFLAGS"
20146 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20149 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20150 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20151 $as_echo_n "(cached) " >&6
20152 else
20154 if test x$gcc_no_link = xyes; then
20155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20156 /* end confdefs.h. */
20157 #include <unistd.h>
20159 main ()
20161 int n = sysconf(_SC_NPROC_ONLN);
20163 return 0;
20165 _ACEOF
20166 if ac_fn_cxx_try_compile "$LINENO"; then :
20167 glibcxx_cv_SC_NPROC_ONLN=yes
20168 else
20169 glibcxx_cv_SC_NPROC_ONLN=no
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20172 else
20173 if test x$gcc_no_link = xyes; then
20174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20177 /* end confdefs.h. */
20178 #include <unistd.h>
20180 main ()
20182 int n = sysconf(_SC_NPROC_ONLN);
20184 return 0;
20186 _ACEOF
20187 if ac_fn_cxx_try_link "$LINENO"; then :
20188 glibcxx_cv_SC_NPROC_ONLN=yes
20189 else
20190 glibcxx_cv_SC_NPROC_ONLN=no
20192 rm -f core conftest.err conftest.$ac_objext \
20193 conftest$ac_exeext conftest.$ac_ext
20198 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20200 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20204 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20206 CXXFLAGS="$ac_save_CXXFLAGS"
20207 ac_ext=c
20208 ac_cpp='$CPP $CPPFLAGS'
20209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20217 ac_ext=cpp
20218 ac_cpp='$CXXCPP $CPPFLAGS'
20219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20223 ac_save_CXXFLAGS="$CXXFLAGS"
20224 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20227 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20228 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20229 $as_echo_n "(cached) " >&6
20230 else
20232 if test x$gcc_no_link = xyes; then
20233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20234 /* end confdefs.h. */
20235 #include <pthread.h>
20237 main ()
20239 int n = pthread_num_processors_np();
20241 return 0;
20243 _ACEOF
20244 if ac_fn_cxx_try_compile "$LINENO"; then :
20245 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20246 else
20247 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20250 else
20251 if test x$gcc_no_link = xyes; then
20252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20255 /* end confdefs.h. */
20256 #include <pthread.h>
20258 main ()
20260 int n = pthread_num_processors_np();
20262 return 0;
20264 _ACEOF
20265 if ac_fn_cxx_try_link "$LINENO"; then :
20266 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20267 else
20268 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20270 rm -f core conftest.err conftest.$ac_objext \
20271 conftest$ac_exeext conftest.$ac_ext
20276 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20278 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20282 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20284 CXXFLAGS="$ac_save_CXXFLAGS"
20285 ac_ext=c
20286 ac_cpp='$CPP $CPPFLAGS'
20287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20295 ac_ext=cpp
20296 ac_cpp='$CXXCPP $CPPFLAGS'
20297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20301 ac_save_CXXFLAGS="$CXXFLAGS"
20302 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20305 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20306 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20307 $as_echo_n "(cached) " >&6
20308 else
20310 if test x$gcc_no_link = xyes; then
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h. */
20314 #include <stddef.h>
20315 #include <sys/sysctl.h>
20318 main ()
20321 int count;
20322 size_t size = sizeof(count);
20323 int mib[] = { CTL_HW, HW_NCPU };
20324 sysctl(mib, 2, &count, &size, NULL, 0);
20327 return 0;
20329 _ACEOF
20330 if ac_fn_cxx_try_compile "$LINENO"; then :
20331 glibcxx_cv_SYSCTL_HW_NCPU=yes
20332 else
20333 glibcxx_cv_SYSCTL_HW_NCPU=no
20335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20336 else
20337 if test x$gcc_no_link = xyes; then
20338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20341 /* end confdefs.h. */
20343 #include <stddef.h>
20344 #include <sys/sysctl.h>
20347 main ()
20350 int count;
20351 size_t size = sizeof(count);
20352 int mib[] = { CTL_HW, HW_NCPU };
20353 sysctl(mib, 2, &count, &size, NULL, 0);
20356 return 0;
20358 _ACEOF
20359 if ac_fn_cxx_try_link "$LINENO"; then :
20360 glibcxx_cv_SYSCTL_HW_NCPU=yes
20361 else
20362 glibcxx_cv_SYSCTL_HW_NCPU=no
20364 rm -f core conftest.err conftest.$ac_objext \
20365 conftest$ac_exeext conftest.$ac_ext
20370 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20372 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20376 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20378 CXXFLAGS="$ac_save_CXXFLAGS"
20379 ac_ext=c
20380 ac_cpp='$CPP $CPPFLAGS'
20381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20387 # Check for available headers.
20388 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20389 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20390 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20391 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20392 wchar.h wctype.h
20393 do :
20394 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20395 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20396 eval as_val=\$$as_ac_Header
20397 if test "x$as_val" = x""yes; then :
20398 cat >>confdefs.h <<_ACEOF
20399 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20400 _ACEOF
20404 done
20407 # Only do link tests if native. Else, hardcode.
20408 if $GLIBCXX_IS_NATIVE; then
20410 # We can do more elaborate tests that assume a working linker.
20411 CANADIAN=no
20415 # Check whether --with-gnu-ld was given.
20416 if test "${with_gnu_ld+set}" = set; then :
20417 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20418 else
20419 with_gnu_ld=no
20422 ac_prog=ld
20423 if test "$GCC" = yes; then
20424 # Check if gcc -print-prog-name=ld gives a path.
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20426 $as_echo_n "checking for ld used by $CC... " >&6; }
20427 case $host in
20428 *-*-mingw*)
20429 # gcc leaves a trailing carriage return which upsets mingw
20430 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20432 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20433 esac
20434 case $ac_prog in
20435 # Accept absolute paths.
20436 [\\/]* | ?:[\\/]*)
20437 re_direlt='/[^/][^/]*/\.\./'
20438 # Canonicalize the pathname of ld
20439 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20440 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20441 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20442 done
20443 test -z "$LD" && LD="$ac_prog"
20446 # If it fails, then pretend we aren't using GCC.
20447 ac_prog=ld
20450 # If it is relative, then search for the first ld in PATH.
20451 with_gnu_ld=unknown
20453 esac
20454 elif test "$with_gnu_ld" = yes; then
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20456 $as_echo_n "checking for GNU ld... " >&6; }
20457 else
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20459 $as_echo_n "checking for non-GNU ld... " >&6; }
20461 if test "${lt_cv_path_LD+set}" = set; then :
20462 $as_echo_n "(cached) " >&6
20463 else
20464 if test -z "$LD"; then
20465 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20466 for ac_dir in $PATH; do
20467 IFS="$lt_save_ifs"
20468 test -z "$ac_dir" && ac_dir=.
20469 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20470 lt_cv_path_LD="$ac_dir/$ac_prog"
20471 # Check to see if the program is GNU ld. I'd rather use --version,
20472 # but apparently some variants of GNU ld only accept -v.
20473 # Break only if it was the GNU/non-GNU ld that we prefer.
20474 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20475 *GNU* | *'with BFD'*)
20476 test "$with_gnu_ld" != no && break
20479 test "$with_gnu_ld" != yes && break
20481 esac
20483 done
20484 IFS="$lt_save_ifs"
20485 else
20486 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20490 LD="$lt_cv_path_LD"
20491 if test -n "$LD"; then
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20493 $as_echo "$LD" >&6; }
20494 else
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20496 $as_echo "no" >&6; }
20498 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20500 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20501 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20502 $as_echo_n "(cached) " >&6
20503 else
20504 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20505 case `$LD -v 2>&1 </dev/null` in
20506 *GNU* | *'with BFD'*)
20507 lt_cv_prog_gnu_ld=yes
20510 lt_cv_prog_gnu_ld=no
20512 esac
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20515 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20516 with_gnu_ld=$lt_cv_prog_gnu_ld
20524 # If we're not using GNU ld, then there's no point in even trying these
20525 # tests. Check for that first. We should have already tested for gld
20526 # by now (in libtool), but require it now just to be safe...
20527 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20528 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20532 # The name set by libtool depends on the version of libtool. Shame on us
20533 # for depending on an impl detail, but c'est la vie. Older versions used
20534 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20535 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20536 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20537 # set (hence we're using an older libtool), then set it.
20538 if test x${with_gnu_ld+set} != xset; then
20539 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20540 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20541 with_gnu_ld=no
20542 else
20543 with_gnu_ld=$ac_cv_prog_gnu_ld
20547 # Start by getting the version number. I think the libtool test already
20548 # does some of this, but throws away the result.
20549 glibcxx_ld_is_gold=no
20550 if test x"$with_gnu_ld" = x"yes"; then
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20552 $as_echo_n "checking for ld version... " >&6; }
20554 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20555 glibcxx_ld_is_gold=yes
20557 ldver=`$LD --version 2>/dev/null |
20558 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'`
20560 glibcxx_gnu_ld_version=`echo $ldver | \
20561 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20563 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20566 # Set --gc-sections.
20567 glibcxx_have_gc_sections=no
20568 if test "$glibcxx_ld_is_gold" = "yes"; then
20569 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20570 glibcxx_have_gc_sections=yes
20572 else
20573 glibcxx_gcsections_min_ld=21602
20574 if test x"$with_gnu_ld" = x"yes" &&
20575 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20576 glibcxx_have_gc_sections=yes
20579 if test "$glibcxx_have_gc_sections" = "yes"; then
20580 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20581 # NB: This flag only works reliably after 2.16.1. Configure tests
20582 # for this are difficult, so hard wire a value that should work.
20584 ac_test_CFLAGS="${CFLAGS+set}"
20585 ac_save_CFLAGS="$CFLAGS"
20586 CFLAGS='-Wl,--gc-sections'
20588 # Check for -Wl,--gc-sections
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20590 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20591 if test x$gcc_no_link = xyes; then
20592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20596 int one(void) { return 1; }
20597 int two(void) { return 2; }
20600 main ()
20602 two();
20604 return 0;
20606 _ACEOF
20607 if ac_fn_c_try_link "$LINENO"; then :
20608 ac_gcsections=yes
20609 else
20610 ac_gcsections=no
20612 rm -f core conftest.err conftest.$ac_objext \
20613 conftest$ac_exeext conftest.$ac_ext
20614 if test "$ac_gcsections" = "yes"; then
20615 rm -f conftest.c
20616 touch conftest.c
20617 if $CC -c conftest.c; then
20618 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20619 grep "Warning: gc-sections option ignored" > /dev/null; then
20620 ac_gcsections=no
20623 rm -f conftest.c conftest.o conftest
20625 if test "$ac_gcsections" = "yes"; then
20626 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20629 $as_echo "$ac_gcsections" >&6; }
20631 if test "$ac_test_CFLAGS" = set; then
20632 CFLAGS="$ac_save_CFLAGS"
20633 else
20634 # this is the suspicious part
20635 CFLAGS=''
20639 # Set -z,relro.
20640 # Note this is only for shared objects.
20641 ac_ld_relro=no
20642 if test x"$with_gnu_ld" = x"yes"; then
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20644 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20645 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20646 if test -n "$cxx_z_relo"; then
20647 OPT_LDFLAGS="-Wl,-z,relro"
20648 ac_ld_relro=yes
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20651 $as_echo "$ac_ld_relro" >&6; }
20654 # Set linker optimization flags.
20655 if test x"$with_gnu_ld" = x"yes"; then
20656 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20663 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20664 ac_save_CXXFLAGS="$CXXFLAGS"
20665 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20668 $as_echo_n "checking for sin in -lm... " >&6; }
20669 if test "${ac_cv_lib_m_sin+set}" = set; then :
20670 $as_echo_n "(cached) " >&6
20671 else
20672 ac_check_lib_save_LIBS=$LIBS
20673 LIBS="-lm $LIBS"
20674 if test x$gcc_no_link = xyes; then
20675 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20680 /* Override any GCC internal prototype to avoid an error.
20681 Use char because int might match the return type of a GCC
20682 builtin and then its argument prototype would still apply. */
20683 #ifdef __cplusplus
20684 extern "C"
20685 #endif
20686 char sin ();
20688 main ()
20690 return sin ();
20692 return 0;
20694 _ACEOF
20695 if ac_fn_c_try_link "$LINENO"; then :
20696 ac_cv_lib_m_sin=yes
20697 else
20698 ac_cv_lib_m_sin=no
20700 rm -f core conftest.err conftest.$ac_objext \
20701 conftest$ac_exeext conftest.$ac_ext
20702 LIBS=$ac_check_lib_save_LIBS
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20705 $as_echo "$ac_cv_lib_m_sin" >&6; }
20706 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20707 libm="-lm"
20710 ac_save_LIBS="$LIBS"
20711 LIBS="$LIBS $libm"
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20716 $as_echo_n "checking for isinf declaration... " >&6; }
20717 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20718 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20719 $as_echo_n "(cached) " >&6
20720 else
20723 ac_ext=cpp
20724 ac_cpp='$CXXCPP $CPPFLAGS'
20725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20730 /* end confdefs.h. */
20731 #include <math.h>
20732 #ifdef HAVE_IEEEFP_H
20733 #include <ieeefp.h>
20734 #endif
20737 main ()
20739 isinf(0);
20741 return 0;
20743 _ACEOF
20744 if ac_fn_cxx_try_compile "$LINENO"; then :
20745 glibcxx_cv_func_isinf_use=yes
20746 else
20747 glibcxx_cv_func_isinf_use=no
20749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20750 ac_ext=c
20751 ac_cpp='$CPP $CPPFLAGS'
20752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20761 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20763 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20764 for ac_func in isinf
20765 do :
20766 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20767 if test "x$ac_cv_func_isinf" = x""yes; then :
20768 cat >>confdefs.h <<_ACEOF
20769 #define HAVE_ISINF 1
20770 _ACEOF
20773 done
20775 else
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20778 $as_echo_n "checking for _isinf declaration... " >&6; }
20779 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20780 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20781 $as_echo_n "(cached) " >&6
20782 else
20785 ac_ext=cpp
20786 ac_cpp='$CXXCPP $CPPFLAGS'
20787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20792 /* end confdefs.h. */
20793 #include <math.h>
20794 #ifdef HAVE_IEEEFP_H
20795 #include <ieeefp.h>
20796 #endif
20799 main ()
20801 _isinf(0);
20803 return 0;
20805 _ACEOF
20806 if ac_fn_cxx_try_compile "$LINENO"; then :
20807 glibcxx_cv_func__isinf_use=yes
20808 else
20809 glibcxx_cv_func__isinf_use=no
20811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20812 ac_ext=c
20813 ac_cpp='$CPP $CPPFLAGS'
20814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20823 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20825 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20826 for ac_func in _isinf
20827 do :
20828 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20829 if test "x$ac_cv_func__isinf" = x""yes; then :
20830 cat >>confdefs.h <<_ACEOF
20831 #define HAVE__ISINF 1
20832 _ACEOF
20835 done
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20845 $as_echo_n "checking for isnan declaration... " >&6; }
20846 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20847 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20848 $as_echo_n "(cached) " >&6
20849 else
20852 ac_ext=cpp
20853 ac_cpp='$CXXCPP $CPPFLAGS'
20854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h. */
20860 #include <math.h>
20861 #ifdef HAVE_IEEEFP_H
20862 #include <ieeefp.h>
20863 #endif
20866 main ()
20868 isnan(0);
20870 return 0;
20872 _ACEOF
20873 if ac_fn_cxx_try_compile "$LINENO"; then :
20874 glibcxx_cv_func_isnan_use=yes
20875 else
20876 glibcxx_cv_func_isnan_use=no
20878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20879 ac_ext=c
20880 ac_cpp='$CPP $CPPFLAGS'
20881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20890 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20892 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20893 for ac_func in isnan
20894 do :
20895 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20896 if test "x$ac_cv_func_isnan" = x""yes; then :
20897 cat >>confdefs.h <<_ACEOF
20898 #define HAVE_ISNAN 1
20899 _ACEOF
20902 done
20904 else
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20907 $as_echo_n "checking for _isnan declaration... " >&6; }
20908 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20909 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20910 $as_echo_n "(cached) " >&6
20911 else
20914 ac_ext=cpp
20915 ac_cpp='$CXXCPP $CPPFLAGS'
20916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20921 /* end confdefs.h. */
20922 #include <math.h>
20923 #ifdef HAVE_IEEEFP_H
20924 #include <ieeefp.h>
20925 #endif
20928 main ()
20930 _isnan(0);
20932 return 0;
20934 _ACEOF
20935 if ac_fn_cxx_try_compile "$LINENO"; then :
20936 glibcxx_cv_func__isnan_use=yes
20937 else
20938 glibcxx_cv_func__isnan_use=no
20940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20941 ac_ext=c
20942 ac_cpp='$CPP $CPPFLAGS'
20943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20952 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20954 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20955 for ac_func in _isnan
20956 do :
20957 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20958 if test "x$ac_cv_func__isnan" = x""yes; then :
20959 cat >>confdefs.h <<_ACEOF
20960 #define HAVE__ISNAN 1
20961 _ACEOF
20964 done
20973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20974 $as_echo_n "checking for finite declaration... " >&6; }
20975 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20976 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20977 $as_echo_n "(cached) " >&6
20978 else
20981 ac_ext=cpp
20982 ac_cpp='$CXXCPP $CPPFLAGS'
20983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20989 #include <math.h>
20990 #ifdef HAVE_IEEEFP_H
20991 #include <ieeefp.h>
20992 #endif
20995 main ()
20997 finite(0);
20999 return 0;
21001 _ACEOF
21002 if ac_fn_cxx_try_compile "$LINENO"; then :
21003 glibcxx_cv_func_finite_use=yes
21004 else
21005 glibcxx_cv_func_finite_use=no
21007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21008 ac_ext=c
21009 ac_cpp='$CPP $CPPFLAGS'
21010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21019 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21021 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21022 for ac_func in finite
21023 do :
21024 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21025 if test "x$ac_cv_func_finite" = x""yes; then :
21026 cat >>confdefs.h <<_ACEOF
21027 #define HAVE_FINITE 1
21028 _ACEOF
21031 done
21033 else
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21036 $as_echo_n "checking for _finite declaration... " >&6; }
21037 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21038 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21039 $as_echo_n "(cached) " >&6
21040 else
21043 ac_ext=cpp
21044 ac_cpp='$CXXCPP $CPPFLAGS'
21045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21050 /* end confdefs.h. */
21051 #include <math.h>
21052 #ifdef HAVE_IEEEFP_H
21053 #include <ieeefp.h>
21054 #endif
21057 main ()
21059 _finite(0);
21061 return 0;
21063 _ACEOF
21064 if ac_fn_cxx_try_compile "$LINENO"; then :
21065 glibcxx_cv_func__finite_use=yes
21066 else
21067 glibcxx_cv_func__finite_use=no
21069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070 ac_ext=c
21071 ac_cpp='$CPP $CPPFLAGS'
21072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21081 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21083 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21084 for ac_func in _finite
21085 do :
21086 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21087 if test "x$ac_cv_func__finite" = x""yes; then :
21088 cat >>confdefs.h <<_ACEOF
21089 #define HAVE__FINITE 1
21090 _ACEOF
21093 done
21102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21103 $as_echo_n "checking for sincos declaration... " >&6; }
21104 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21105 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21106 $as_echo_n "(cached) " >&6
21107 else
21110 ac_ext=cpp
21111 ac_cpp='$CXXCPP $CPPFLAGS'
21112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21117 /* end confdefs.h. */
21118 #include <math.h>
21120 main ()
21122 sincos(0, 0, 0);
21124 return 0;
21126 _ACEOF
21127 if ac_fn_cxx_try_compile "$LINENO"; then :
21128 glibcxx_cv_func_sincos_use=yes
21129 else
21130 glibcxx_cv_func_sincos_use=no
21132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21133 ac_ext=c
21134 ac_cpp='$CPP $CPPFLAGS'
21135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21144 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21146 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21147 for ac_func in sincos
21148 do :
21149 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21150 if test "x$ac_cv_func_sincos" = x""yes; then :
21151 cat >>confdefs.h <<_ACEOF
21152 #define HAVE_SINCOS 1
21153 _ACEOF
21156 done
21158 else
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21161 $as_echo_n "checking for _sincos declaration... " >&6; }
21162 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21163 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21164 $as_echo_n "(cached) " >&6
21165 else
21168 ac_ext=cpp
21169 ac_cpp='$CXXCPP $CPPFLAGS'
21170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h. */
21176 #include <math.h>
21178 main ()
21180 _sincos(0, 0, 0);
21182 return 0;
21184 _ACEOF
21185 if ac_fn_cxx_try_compile "$LINENO"; then :
21186 glibcxx_cv_func__sincos_use=yes
21187 else
21188 glibcxx_cv_func__sincos_use=no
21190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21191 ac_ext=c
21192 ac_cpp='$CPP $CPPFLAGS'
21193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21202 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21204 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21205 for ac_func in _sincos
21206 do :
21207 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21208 if test "x$ac_cv_func__sincos" = x""yes; then :
21209 cat >>confdefs.h <<_ACEOF
21210 #define HAVE__SINCOS 1
21211 _ACEOF
21214 done
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21224 $as_echo_n "checking for fpclass declaration... " >&6; }
21225 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21226 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21227 $as_echo_n "(cached) " >&6
21228 else
21231 ac_ext=cpp
21232 ac_cpp='$CXXCPP $CPPFLAGS'
21233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21238 /* end confdefs.h. */
21239 #include <math.h>
21240 #ifdef HAVE_IEEEFP_H
21241 #include <ieeefp.h>
21242 #endif
21245 main ()
21247 fpclass(0);
21249 return 0;
21251 _ACEOF
21252 if ac_fn_cxx_try_compile "$LINENO"; then :
21253 glibcxx_cv_func_fpclass_use=yes
21254 else
21255 glibcxx_cv_func_fpclass_use=no
21257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21258 ac_ext=c
21259 ac_cpp='$CPP $CPPFLAGS'
21260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21269 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21271 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21272 for ac_func in fpclass
21273 do :
21274 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21275 if test "x$ac_cv_func_fpclass" = x""yes; then :
21276 cat >>confdefs.h <<_ACEOF
21277 #define HAVE_FPCLASS 1
21278 _ACEOF
21281 done
21283 else
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21286 $as_echo_n "checking for _fpclass declaration... " >&6; }
21287 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21288 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21289 $as_echo_n "(cached) " >&6
21290 else
21293 ac_ext=cpp
21294 ac_cpp='$CXXCPP $CPPFLAGS'
21295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21300 /* end confdefs.h. */
21301 #include <math.h>
21302 #ifdef HAVE_IEEEFP_H
21303 #include <ieeefp.h>
21304 #endif
21307 main ()
21309 _fpclass(0);
21311 return 0;
21313 _ACEOF
21314 if ac_fn_cxx_try_compile "$LINENO"; then :
21315 glibcxx_cv_func__fpclass_use=yes
21316 else
21317 glibcxx_cv_func__fpclass_use=no
21319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21320 ac_ext=c
21321 ac_cpp='$CPP $CPPFLAGS'
21322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21331 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21333 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21334 for ac_func in _fpclass
21335 do :
21336 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21337 if test "x$ac_cv_func__fpclass" = x""yes; then :
21338 cat >>confdefs.h <<_ACEOF
21339 #define HAVE__FPCLASS 1
21340 _ACEOF
21343 done
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21353 $as_echo_n "checking for qfpclass declaration... " >&6; }
21354 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21355 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21356 $as_echo_n "(cached) " >&6
21357 else
21360 ac_ext=cpp
21361 ac_cpp='$CXXCPP $CPPFLAGS'
21362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21367 /* end confdefs.h. */
21368 #include <math.h>
21369 #ifdef HAVE_IEEEFP_H
21370 #include <ieeefp.h>
21371 #endif
21374 main ()
21376 qfpclass(0);
21378 return 0;
21380 _ACEOF
21381 if ac_fn_cxx_try_compile "$LINENO"; then :
21382 glibcxx_cv_func_qfpclass_use=yes
21383 else
21384 glibcxx_cv_func_qfpclass_use=no
21386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21387 ac_ext=c
21388 ac_cpp='$CPP $CPPFLAGS'
21389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21398 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21400 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21401 for ac_func in qfpclass
21402 do :
21403 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21404 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21405 cat >>confdefs.h <<_ACEOF
21406 #define HAVE_QFPCLASS 1
21407 _ACEOF
21410 done
21412 else
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21415 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21416 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21417 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21418 $as_echo_n "(cached) " >&6
21419 else
21422 ac_ext=cpp
21423 ac_cpp='$CXXCPP $CPPFLAGS'
21424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21429 /* end confdefs.h. */
21430 #include <math.h>
21431 #ifdef HAVE_IEEEFP_H
21432 #include <ieeefp.h>
21433 #endif
21436 main ()
21438 _qfpclass(0);
21440 return 0;
21442 _ACEOF
21443 if ac_fn_cxx_try_compile "$LINENO"; then :
21444 glibcxx_cv_func__qfpclass_use=yes
21445 else
21446 glibcxx_cv_func__qfpclass_use=no
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449 ac_ext=c
21450 ac_cpp='$CPP $CPPFLAGS'
21451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21460 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21462 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21463 for ac_func in _qfpclass
21464 do :
21465 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21466 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21467 cat >>confdefs.h <<_ACEOF
21468 #define HAVE__QFPCLASS 1
21469 _ACEOF
21472 done
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21482 $as_echo_n "checking for hypot declaration... " >&6; }
21483 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21484 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21485 $as_echo_n "(cached) " >&6
21486 else
21489 ac_ext=cpp
21490 ac_cpp='$CXXCPP $CPPFLAGS'
21491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21496 /* end confdefs.h. */
21497 #include <math.h>
21499 main ()
21501 hypot(0, 0);
21503 return 0;
21505 _ACEOF
21506 if ac_fn_cxx_try_compile "$LINENO"; then :
21507 glibcxx_cv_func_hypot_use=yes
21508 else
21509 glibcxx_cv_func_hypot_use=no
21511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21512 ac_ext=c
21513 ac_cpp='$CPP $CPPFLAGS'
21514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21523 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21525 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21526 for ac_func in hypot
21527 do :
21528 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21529 if test "x$ac_cv_func_hypot" = x""yes; then :
21530 cat >>confdefs.h <<_ACEOF
21531 #define HAVE_HYPOT 1
21532 _ACEOF
21535 done
21537 else
21539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21540 $as_echo_n "checking for _hypot declaration... " >&6; }
21541 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21542 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21543 $as_echo_n "(cached) " >&6
21544 else
21547 ac_ext=cpp
21548 ac_cpp='$CXXCPP $CPPFLAGS'
21549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h. */
21555 #include <math.h>
21557 main ()
21559 _hypot(0, 0);
21561 return 0;
21563 _ACEOF
21564 if ac_fn_cxx_try_compile "$LINENO"; then :
21565 glibcxx_cv_func__hypot_use=yes
21566 else
21567 glibcxx_cv_func__hypot_use=no
21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21570 ac_ext=c
21571 ac_cpp='$CPP $CPPFLAGS'
21572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21581 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21583 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21584 for ac_func in _hypot
21585 do :
21586 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21587 if test "x$ac_cv_func__hypot" = x""yes; then :
21588 cat >>confdefs.h <<_ACEOF
21589 #define HAVE__HYPOT 1
21590 _ACEOF
21593 done
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21603 $as_echo_n "checking for float trig functions... " >&6; }
21604 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21605 $as_echo_n "(cached) " >&6
21606 else
21609 ac_ext=cpp
21610 ac_cpp='$CXXCPP $CPPFLAGS'
21611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21616 /* end confdefs.h. */
21617 #include <math.h>
21619 main ()
21621 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21623 return 0;
21625 _ACEOF
21626 if ac_fn_cxx_try_compile "$LINENO"; then :
21627 glibcxx_cv_func_float_trig_use=yes
21628 else
21629 glibcxx_cv_func_float_trig_use=no
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632 ac_ext=c
21633 ac_cpp='$CPP $CPPFLAGS'
21634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21641 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21642 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21643 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21644 do :
21645 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21646 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21647 eval as_val=\$$as_ac_var
21648 if test "x$as_val" = x""yes; then :
21649 cat >>confdefs.h <<_ACEOF
21650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21651 _ACEOF
21654 done
21656 else
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21658 $as_echo_n "checking for _float trig functions... " >&6; }
21659 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21660 $as_echo_n "(cached) " >&6
21661 else
21664 ac_ext=cpp
21665 ac_cpp='$CXXCPP $CPPFLAGS'
21666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21671 /* end confdefs.h. */
21672 #include <math.h>
21674 main ()
21676 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21678 return 0;
21680 _ACEOF
21681 if ac_fn_cxx_try_compile "$LINENO"; then :
21682 glibcxx_cv_func__float_trig_use=yes
21683 else
21684 glibcxx_cv_func__float_trig_use=no
21686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687 ac_ext=c
21688 ac_cpp='$CPP $CPPFLAGS'
21689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21696 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21697 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21698 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21699 do :
21700 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21701 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21702 eval as_val=\$$as_ac_var
21703 if test "x$as_val" = x""yes; then :
21704 cat >>confdefs.h <<_ACEOF
21705 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21706 _ACEOF
21709 done
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21719 $as_echo_n "checking for float round functions... " >&6; }
21720 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21721 $as_echo_n "(cached) " >&6
21722 else
21725 ac_ext=cpp
21726 ac_cpp='$CXXCPP $CPPFLAGS'
21727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21732 /* end confdefs.h. */
21733 #include <math.h>
21735 main ()
21737 ceilf (0); floorf (0);
21739 return 0;
21741 _ACEOF
21742 if ac_fn_cxx_try_compile "$LINENO"; then :
21743 glibcxx_cv_func_float_round_use=yes
21744 else
21745 glibcxx_cv_func_float_round_use=no
21747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21748 ac_ext=c
21749 ac_cpp='$CPP $CPPFLAGS'
21750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21757 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21758 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21759 for ac_func in ceilf floorf
21760 do :
21761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21763 eval as_val=\$$as_ac_var
21764 if test "x$as_val" = x""yes; then :
21765 cat >>confdefs.h <<_ACEOF
21766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21767 _ACEOF
21770 done
21772 else
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21774 $as_echo_n "checking for _float round functions... " >&6; }
21775 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21776 $as_echo_n "(cached) " >&6
21777 else
21780 ac_ext=cpp
21781 ac_cpp='$CXXCPP $CPPFLAGS'
21782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21787 /* end confdefs.h. */
21788 #include <math.h>
21790 main ()
21792 _ceilf (0); _floorf (0);
21794 return 0;
21796 _ACEOF
21797 if ac_fn_cxx_try_compile "$LINENO"; then :
21798 glibcxx_cv_func__float_round_use=yes
21799 else
21800 glibcxx_cv_func__float_round_use=no
21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803 ac_ext=c
21804 ac_cpp='$CPP $CPPFLAGS'
21805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21812 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21813 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21814 for ac_func in _ceilf _floorf
21815 do :
21816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21818 eval as_val=\$$as_ac_var
21819 if test "x$as_val" = x""yes; then :
21820 cat >>confdefs.h <<_ACEOF
21821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21822 _ACEOF
21825 done
21835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21836 $as_echo_n "checking for expf declaration... " >&6; }
21837 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21838 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21839 $as_echo_n "(cached) " >&6
21840 else
21843 ac_ext=cpp
21844 ac_cpp='$CXXCPP $CPPFLAGS'
21845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21850 /* end confdefs.h. */
21851 #include <math.h>
21852 #ifdef HAVE_IEEEFP_H
21853 #include <ieeefp.h>
21854 #endif
21857 main ()
21859 expf(0);
21861 return 0;
21863 _ACEOF
21864 if ac_fn_cxx_try_compile "$LINENO"; then :
21865 glibcxx_cv_func_expf_use=yes
21866 else
21867 glibcxx_cv_func_expf_use=no
21869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21870 ac_ext=c
21871 ac_cpp='$CPP $CPPFLAGS'
21872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21881 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21883 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21884 for ac_func in expf
21885 do :
21886 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21887 if test "x$ac_cv_func_expf" = x""yes; then :
21888 cat >>confdefs.h <<_ACEOF
21889 #define HAVE_EXPF 1
21890 _ACEOF
21893 done
21895 else
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21898 $as_echo_n "checking for _expf declaration... " >&6; }
21899 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21900 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21901 $as_echo_n "(cached) " >&6
21902 else
21905 ac_ext=cpp
21906 ac_cpp='$CXXCPP $CPPFLAGS'
21907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21912 /* end confdefs.h. */
21913 #include <math.h>
21914 #ifdef HAVE_IEEEFP_H
21915 #include <ieeefp.h>
21916 #endif
21919 main ()
21921 _expf(0);
21923 return 0;
21925 _ACEOF
21926 if ac_fn_cxx_try_compile "$LINENO"; then :
21927 glibcxx_cv_func__expf_use=yes
21928 else
21929 glibcxx_cv_func__expf_use=no
21931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21932 ac_ext=c
21933 ac_cpp='$CPP $CPPFLAGS'
21934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21943 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21945 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21946 for ac_func in _expf
21947 do :
21948 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21949 if test "x$ac_cv_func__expf" = x""yes; then :
21950 cat >>confdefs.h <<_ACEOF
21951 #define HAVE__EXPF 1
21952 _ACEOF
21955 done
21964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21965 $as_echo_n "checking for isnanf declaration... " >&6; }
21966 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21967 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21968 $as_echo_n "(cached) " >&6
21969 else
21972 ac_ext=cpp
21973 ac_cpp='$CXXCPP $CPPFLAGS'
21974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21979 /* end confdefs.h. */
21980 #include <math.h>
21981 #ifdef HAVE_IEEEFP_H
21982 #include <ieeefp.h>
21983 #endif
21986 main ()
21988 isnanf(0);
21990 return 0;
21992 _ACEOF
21993 if ac_fn_cxx_try_compile "$LINENO"; then :
21994 glibcxx_cv_func_isnanf_use=yes
21995 else
21996 glibcxx_cv_func_isnanf_use=no
21998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21999 ac_ext=c
22000 ac_cpp='$CPP $CPPFLAGS'
22001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22010 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22012 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22013 for ac_func in isnanf
22014 do :
22015 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22016 if test "x$ac_cv_func_isnanf" = x""yes; then :
22017 cat >>confdefs.h <<_ACEOF
22018 #define HAVE_ISNANF 1
22019 _ACEOF
22022 done
22024 else
22026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22027 $as_echo_n "checking for _isnanf declaration... " >&6; }
22028 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22029 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22030 $as_echo_n "(cached) " >&6
22031 else
22034 ac_ext=cpp
22035 ac_cpp='$CXXCPP $CPPFLAGS'
22036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22041 /* end confdefs.h. */
22042 #include <math.h>
22043 #ifdef HAVE_IEEEFP_H
22044 #include <ieeefp.h>
22045 #endif
22048 main ()
22050 _isnanf(0);
22052 return 0;
22054 _ACEOF
22055 if ac_fn_cxx_try_compile "$LINENO"; then :
22056 glibcxx_cv_func__isnanf_use=yes
22057 else
22058 glibcxx_cv_func__isnanf_use=no
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 ac_ext=c
22062 ac_cpp='$CPP $CPPFLAGS'
22063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22072 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22074 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22075 for ac_func in _isnanf
22076 do :
22077 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22078 if test "x$ac_cv_func__isnanf" = x""yes; then :
22079 cat >>confdefs.h <<_ACEOF
22080 #define HAVE__ISNANF 1
22081 _ACEOF
22084 done
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22094 $as_echo_n "checking for isinff declaration... " >&6; }
22095 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22096 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22097 $as_echo_n "(cached) " >&6
22098 else
22101 ac_ext=cpp
22102 ac_cpp='$CXXCPP $CPPFLAGS'
22103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22108 /* end confdefs.h. */
22109 #include <math.h>
22110 #ifdef HAVE_IEEEFP_H
22111 #include <ieeefp.h>
22112 #endif
22115 main ()
22117 isinff(0);
22119 return 0;
22121 _ACEOF
22122 if ac_fn_cxx_try_compile "$LINENO"; then :
22123 glibcxx_cv_func_isinff_use=yes
22124 else
22125 glibcxx_cv_func_isinff_use=no
22127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22128 ac_ext=c
22129 ac_cpp='$CPP $CPPFLAGS'
22130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22139 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22141 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22142 for ac_func in isinff
22143 do :
22144 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22145 if test "x$ac_cv_func_isinff" = x""yes; then :
22146 cat >>confdefs.h <<_ACEOF
22147 #define HAVE_ISINFF 1
22148 _ACEOF
22151 done
22153 else
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22156 $as_echo_n "checking for _isinff declaration... " >&6; }
22157 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22158 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22159 $as_echo_n "(cached) " >&6
22160 else
22163 ac_ext=cpp
22164 ac_cpp='$CXXCPP $CPPFLAGS'
22165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22170 /* end confdefs.h. */
22171 #include <math.h>
22172 #ifdef HAVE_IEEEFP_H
22173 #include <ieeefp.h>
22174 #endif
22177 main ()
22179 _isinff(0);
22181 return 0;
22183 _ACEOF
22184 if ac_fn_cxx_try_compile "$LINENO"; then :
22185 glibcxx_cv_func__isinff_use=yes
22186 else
22187 glibcxx_cv_func__isinff_use=no
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190 ac_ext=c
22191 ac_cpp='$CPP $CPPFLAGS'
22192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22201 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22203 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22204 for ac_func in _isinff
22205 do :
22206 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22207 if test "x$ac_cv_func__isinff" = x""yes; then :
22208 cat >>confdefs.h <<_ACEOF
22209 #define HAVE__ISINFF 1
22210 _ACEOF
22213 done
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22223 $as_echo_n "checking for atan2f declaration... " >&6; }
22224 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22225 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22226 $as_echo_n "(cached) " >&6
22227 else
22230 ac_ext=cpp
22231 ac_cpp='$CXXCPP $CPPFLAGS'
22232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22237 /* end confdefs.h. */
22238 #include <math.h>
22240 main ()
22242 atan2f(0, 0);
22244 return 0;
22246 _ACEOF
22247 if ac_fn_cxx_try_compile "$LINENO"; then :
22248 glibcxx_cv_func_atan2f_use=yes
22249 else
22250 glibcxx_cv_func_atan2f_use=no
22252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22253 ac_ext=c
22254 ac_cpp='$CPP $CPPFLAGS'
22255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22264 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22266 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22267 for ac_func in atan2f
22268 do :
22269 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22270 if test "x$ac_cv_func_atan2f" = x""yes; then :
22271 cat >>confdefs.h <<_ACEOF
22272 #define HAVE_ATAN2F 1
22273 _ACEOF
22276 done
22278 else
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22281 $as_echo_n "checking for _atan2f declaration... " >&6; }
22282 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22283 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22284 $as_echo_n "(cached) " >&6
22285 else
22288 ac_ext=cpp
22289 ac_cpp='$CXXCPP $CPPFLAGS'
22290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22295 /* end confdefs.h. */
22296 #include <math.h>
22298 main ()
22300 _atan2f(0, 0);
22302 return 0;
22304 _ACEOF
22305 if ac_fn_cxx_try_compile "$LINENO"; then :
22306 glibcxx_cv_func__atan2f_use=yes
22307 else
22308 glibcxx_cv_func__atan2f_use=no
22310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22311 ac_ext=c
22312 ac_cpp='$CPP $CPPFLAGS'
22313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22322 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22324 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22325 for ac_func in _atan2f
22326 do :
22327 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22328 if test "x$ac_cv_func__atan2f" = x""yes; then :
22329 cat >>confdefs.h <<_ACEOF
22330 #define HAVE__ATAN2F 1
22331 _ACEOF
22334 done
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22344 $as_echo_n "checking for fabsf declaration... " >&6; }
22345 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22346 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22347 $as_echo_n "(cached) " >&6
22348 else
22351 ac_ext=cpp
22352 ac_cpp='$CXXCPP $CPPFLAGS'
22353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22359 #include <math.h>
22360 #ifdef HAVE_IEEEFP_H
22361 #include <ieeefp.h>
22362 #endif
22365 main ()
22367 fabsf(0);
22369 return 0;
22371 _ACEOF
22372 if ac_fn_cxx_try_compile "$LINENO"; then :
22373 glibcxx_cv_func_fabsf_use=yes
22374 else
22375 glibcxx_cv_func_fabsf_use=no
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378 ac_ext=c
22379 ac_cpp='$CPP $CPPFLAGS'
22380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22389 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22391 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22392 for ac_func in fabsf
22393 do :
22394 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22395 if test "x$ac_cv_func_fabsf" = x""yes; then :
22396 cat >>confdefs.h <<_ACEOF
22397 #define HAVE_FABSF 1
22398 _ACEOF
22401 done
22403 else
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22406 $as_echo_n "checking for _fabsf declaration... " >&6; }
22407 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22408 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22409 $as_echo_n "(cached) " >&6
22410 else
22413 ac_ext=cpp
22414 ac_cpp='$CXXCPP $CPPFLAGS'
22415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420 /* end confdefs.h. */
22421 #include <math.h>
22422 #ifdef HAVE_IEEEFP_H
22423 #include <ieeefp.h>
22424 #endif
22427 main ()
22429 _fabsf(0);
22431 return 0;
22433 _ACEOF
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435 glibcxx_cv_func__fabsf_use=yes
22436 else
22437 glibcxx_cv_func__fabsf_use=no
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440 ac_ext=c
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22451 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22453 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22454 for ac_func in _fabsf
22455 do :
22456 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22457 if test "x$ac_cv_func__fabsf" = x""yes; then :
22458 cat >>confdefs.h <<_ACEOF
22459 #define HAVE__FABSF 1
22460 _ACEOF
22463 done
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22473 $as_echo_n "checking for fmodf declaration... " >&6; }
22474 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22475 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22476 $as_echo_n "(cached) " >&6
22477 else
22480 ac_ext=cpp
22481 ac_cpp='$CXXCPP $CPPFLAGS'
22482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h. */
22488 #include <math.h>
22490 main ()
22492 fmodf(0, 0);
22494 return 0;
22496 _ACEOF
22497 if ac_fn_cxx_try_compile "$LINENO"; then :
22498 glibcxx_cv_func_fmodf_use=yes
22499 else
22500 glibcxx_cv_func_fmodf_use=no
22502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22503 ac_ext=c
22504 ac_cpp='$CPP $CPPFLAGS'
22505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22514 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22516 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22517 for ac_func in fmodf
22518 do :
22519 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22520 if test "x$ac_cv_func_fmodf" = x""yes; then :
22521 cat >>confdefs.h <<_ACEOF
22522 #define HAVE_FMODF 1
22523 _ACEOF
22526 done
22528 else
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22531 $as_echo_n "checking for _fmodf declaration... " >&6; }
22532 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22533 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22534 $as_echo_n "(cached) " >&6
22535 else
22538 ac_ext=cpp
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h. */
22546 #include <math.h>
22548 main ()
22550 _fmodf(0, 0);
22552 return 0;
22554 _ACEOF
22555 if ac_fn_cxx_try_compile "$LINENO"; then :
22556 glibcxx_cv_func__fmodf_use=yes
22557 else
22558 glibcxx_cv_func__fmodf_use=no
22560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22561 ac_ext=c
22562 ac_cpp='$CPP $CPPFLAGS'
22563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22572 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22574 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22575 for ac_func in _fmodf
22576 do :
22577 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22578 if test "x$ac_cv_func__fmodf" = x""yes; then :
22579 cat >>confdefs.h <<_ACEOF
22580 #define HAVE__FMODF 1
22581 _ACEOF
22584 done
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22594 $as_echo_n "checking for frexpf declaration... " >&6; }
22595 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22596 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22597 $as_echo_n "(cached) " >&6
22598 else
22601 ac_ext=cpp
22602 ac_cpp='$CXXCPP $CPPFLAGS'
22603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22608 /* end confdefs.h. */
22609 #include <math.h>
22611 main ()
22613 frexpf(0, 0);
22615 return 0;
22617 _ACEOF
22618 if ac_fn_cxx_try_compile "$LINENO"; then :
22619 glibcxx_cv_func_frexpf_use=yes
22620 else
22621 glibcxx_cv_func_frexpf_use=no
22623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22624 ac_ext=c
22625 ac_cpp='$CPP $CPPFLAGS'
22626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22635 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22637 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22638 for ac_func in frexpf
22639 do :
22640 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22641 if test "x$ac_cv_func_frexpf" = x""yes; then :
22642 cat >>confdefs.h <<_ACEOF
22643 #define HAVE_FREXPF 1
22644 _ACEOF
22647 done
22649 else
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22652 $as_echo_n "checking for _frexpf declaration... " >&6; }
22653 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22654 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22655 $as_echo_n "(cached) " >&6
22656 else
22659 ac_ext=cpp
22660 ac_cpp='$CXXCPP $CPPFLAGS'
22661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22666 /* end confdefs.h. */
22667 #include <math.h>
22669 main ()
22671 _frexpf(0, 0);
22673 return 0;
22675 _ACEOF
22676 if ac_fn_cxx_try_compile "$LINENO"; then :
22677 glibcxx_cv_func__frexpf_use=yes
22678 else
22679 glibcxx_cv_func__frexpf_use=no
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682 ac_ext=c
22683 ac_cpp='$CPP $CPPFLAGS'
22684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22693 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22695 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22696 for ac_func in _frexpf
22697 do :
22698 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22699 if test "x$ac_cv_func__frexpf" = x""yes; then :
22700 cat >>confdefs.h <<_ACEOF
22701 #define HAVE__FREXPF 1
22702 _ACEOF
22705 done
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22715 $as_echo_n "checking for hypotf declaration... " >&6; }
22716 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22717 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22718 $as_echo_n "(cached) " >&6
22719 else
22722 ac_ext=cpp
22723 ac_cpp='$CXXCPP $CPPFLAGS'
22724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22729 /* end confdefs.h. */
22730 #include <math.h>
22732 main ()
22734 hypotf(0, 0);
22736 return 0;
22738 _ACEOF
22739 if ac_fn_cxx_try_compile "$LINENO"; then :
22740 glibcxx_cv_func_hypotf_use=yes
22741 else
22742 glibcxx_cv_func_hypotf_use=no
22744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22745 ac_ext=c
22746 ac_cpp='$CPP $CPPFLAGS'
22747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22756 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22758 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22759 for ac_func in hypotf
22760 do :
22761 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22762 if test "x$ac_cv_func_hypotf" = x""yes; then :
22763 cat >>confdefs.h <<_ACEOF
22764 #define HAVE_HYPOTF 1
22765 _ACEOF
22768 done
22770 else
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22773 $as_echo_n "checking for _hypotf declaration... " >&6; }
22774 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22775 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22776 $as_echo_n "(cached) " >&6
22777 else
22780 ac_ext=cpp
22781 ac_cpp='$CXXCPP $CPPFLAGS'
22782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22787 /* end confdefs.h. */
22788 #include <math.h>
22790 main ()
22792 _hypotf(0, 0);
22794 return 0;
22796 _ACEOF
22797 if ac_fn_cxx_try_compile "$LINENO"; then :
22798 glibcxx_cv_func__hypotf_use=yes
22799 else
22800 glibcxx_cv_func__hypotf_use=no
22802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22803 ac_ext=c
22804 ac_cpp='$CPP $CPPFLAGS'
22805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22814 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22816 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22817 for ac_func in _hypotf
22818 do :
22819 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22820 if test "x$ac_cv_func__hypotf" = x""yes; then :
22821 cat >>confdefs.h <<_ACEOF
22822 #define HAVE__HYPOTF 1
22823 _ACEOF
22826 done
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22836 $as_echo_n "checking for ldexpf declaration... " >&6; }
22837 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22838 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22839 $as_echo_n "(cached) " >&6
22840 else
22843 ac_ext=cpp
22844 ac_cpp='$CXXCPP $CPPFLAGS'
22845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22850 /* end confdefs.h. */
22851 #include <math.h>
22853 main ()
22855 ldexpf(0, 0);
22857 return 0;
22859 _ACEOF
22860 if ac_fn_cxx_try_compile "$LINENO"; then :
22861 glibcxx_cv_func_ldexpf_use=yes
22862 else
22863 glibcxx_cv_func_ldexpf_use=no
22865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22866 ac_ext=c
22867 ac_cpp='$CPP $CPPFLAGS'
22868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22877 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22879 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22880 for ac_func in ldexpf
22881 do :
22882 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22883 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22884 cat >>confdefs.h <<_ACEOF
22885 #define HAVE_LDEXPF 1
22886 _ACEOF
22889 done
22891 else
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22894 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22895 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22896 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22897 $as_echo_n "(cached) " >&6
22898 else
22901 ac_ext=cpp
22902 ac_cpp='$CXXCPP $CPPFLAGS'
22903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22908 /* end confdefs.h. */
22909 #include <math.h>
22911 main ()
22913 _ldexpf(0, 0);
22915 return 0;
22917 _ACEOF
22918 if ac_fn_cxx_try_compile "$LINENO"; then :
22919 glibcxx_cv_func__ldexpf_use=yes
22920 else
22921 glibcxx_cv_func__ldexpf_use=no
22923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22924 ac_ext=c
22925 ac_cpp='$CPP $CPPFLAGS'
22926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22935 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22937 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22938 for ac_func in _ldexpf
22939 do :
22940 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22941 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22942 cat >>confdefs.h <<_ACEOF
22943 #define HAVE__LDEXPF 1
22944 _ACEOF
22947 done
22956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22957 $as_echo_n "checking for logf declaration... " >&6; }
22958 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22959 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22960 $as_echo_n "(cached) " >&6
22961 else
22964 ac_ext=cpp
22965 ac_cpp='$CXXCPP $CPPFLAGS'
22966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22971 /* end confdefs.h. */
22972 #include <math.h>
22973 #ifdef HAVE_IEEEFP_H
22974 #include <ieeefp.h>
22975 #endif
22978 main ()
22980 logf(0);
22982 return 0;
22984 _ACEOF
22985 if ac_fn_cxx_try_compile "$LINENO"; then :
22986 glibcxx_cv_func_logf_use=yes
22987 else
22988 glibcxx_cv_func_logf_use=no
22990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22991 ac_ext=c
22992 ac_cpp='$CPP $CPPFLAGS'
22993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23002 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23004 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23005 for ac_func in logf
23006 do :
23007 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23008 if test "x$ac_cv_func_logf" = x""yes; then :
23009 cat >>confdefs.h <<_ACEOF
23010 #define HAVE_LOGF 1
23011 _ACEOF
23014 done
23016 else
23018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23019 $as_echo_n "checking for _logf declaration... " >&6; }
23020 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23021 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23022 $as_echo_n "(cached) " >&6
23023 else
23026 ac_ext=cpp
23027 ac_cpp='$CXXCPP $CPPFLAGS'
23028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23033 /* end confdefs.h. */
23034 #include <math.h>
23035 #ifdef HAVE_IEEEFP_H
23036 #include <ieeefp.h>
23037 #endif
23040 main ()
23042 _logf(0);
23044 return 0;
23046 _ACEOF
23047 if ac_fn_cxx_try_compile "$LINENO"; then :
23048 glibcxx_cv_func__logf_use=yes
23049 else
23050 glibcxx_cv_func__logf_use=no
23052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23053 ac_ext=c
23054 ac_cpp='$CPP $CPPFLAGS'
23055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23064 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23066 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23067 for ac_func in _logf
23068 do :
23069 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23070 if test "x$ac_cv_func__logf" = x""yes; then :
23071 cat >>confdefs.h <<_ACEOF
23072 #define HAVE__LOGF 1
23073 _ACEOF
23076 done
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23086 $as_echo_n "checking for log10f declaration... " >&6; }
23087 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23088 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23089 $as_echo_n "(cached) " >&6
23090 else
23093 ac_ext=cpp
23094 ac_cpp='$CXXCPP $CPPFLAGS'
23095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23100 /* end confdefs.h. */
23101 #include <math.h>
23102 #ifdef HAVE_IEEEFP_H
23103 #include <ieeefp.h>
23104 #endif
23107 main ()
23109 log10f(0);
23111 return 0;
23113 _ACEOF
23114 if ac_fn_cxx_try_compile "$LINENO"; then :
23115 glibcxx_cv_func_log10f_use=yes
23116 else
23117 glibcxx_cv_func_log10f_use=no
23119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23120 ac_ext=c
23121 ac_cpp='$CPP $CPPFLAGS'
23122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23131 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23133 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23134 for ac_func in log10f
23135 do :
23136 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23137 if test "x$ac_cv_func_log10f" = x""yes; then :
23138 cat >>confdefs.h <<_ACEOF
23139 #define HAVE_LOG10F 1
23140 _ACEOF
23143 done
23145 else
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23148 $as_echo_n "checking for _log10f declaration... " >&6; }
23149 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23150 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23151 $as_echo_n "(cached) " >&6
23152 else
23155 ac_ext=cpp
23156 ac_cpp='$CXXCPP $CPPFLAGS'
23157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23162 /* end confdefs.h. */
23163 #include <math.h>
23164 #ifdef HAVE_IEEEFP_H
23165 #include <ieeefp.h>
23166 #endif
23169 main ()
23171 _log10f(0);
23173 return 0;
23175 _ACEOF
23176 if ac_fn_cxx_try_compile "$LINENO"; then :
23177 glibcxx_cv_func__log10f_use=yes
23178 else
23179 glibcxx_cv_func__log10f_use=no
23181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23182 ac_ext=c
23183 ac_cpp='$CPP $CPPFLAGS'
23184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23193 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23195 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23196 for ac_func in _log10f
23197 do :
23198 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23199 if test "x$ac_cv_func__log10f" = x""yes; then :
23200 cat >>confdefs.h <<_ACEOF
23201 #define HAVE__LOG10F 1
23202 _ACEOF
23205 done
23214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23215 $as_echo_n "checking for modff declaration... " >&6; }
23216 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23217 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23218 $as_echo_n "(cached) " >&6
23219 else
23222 ac_ext=cpp
23223 ac_cpp='$CXXCPP $CPPFLAGS'
23224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23229 /* end confdefs.h. */
23230 #include <math.h>
23232 main ()
23234 modff(0, 0);
23236 return 0;
23238 _ACEOF
23239 if ac_fn_cxx_try_compile "$LINENO"; then :
23240 glibcxx_cv_func_modff_use=yes
23241 else
23242 glibcxx_cv_func_modff_use=no
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245 ac_ext=c
23246 ac_cpp='$CPP $CPPFLAGS'
23247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23256 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23258 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23259 for ac_func in modff
23260 do :
23261 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23262 if test "x$ac_cv_func_modff" = x""yes; then :
23263 cat >>confdefs.h <<_ACEOF
23264 #define HAVE_MODFF 1
23265 _ACEOF
23268 done
23270 else
23272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23273 $as_echo_n "checking for _modff declaration... " >&6; }
23274 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23275 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23276 $as_echo_n "(cached) " >&6
23277 else
23280 ac_ext=cpp
23281 ac_cpp='$CXXCPP $CPPFLAGS'
23282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23287 /* end confdefs.h. */
23288 #include <math.h>
23290 main ()
23292 _modff(0, 0);
23294 return 0;
23296 _ACEOF
23297 if ac_fn_cxx_try_compile "$LINENO"; then :
23298 glibcxx_cv_func__modff_use=yes
23299 else
23300 glibcxx_cv_func__modff_use=no
23302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23303 ac_ext=c
23304 ac_cpp='$CPP $CPPFLAGS'
23305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23314 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23316 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23317 for ac_func in _modff
23318 do :
23319 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23320 if test "x$ac_cv_func__modff" = x""yes; then :
23321 cat >>confdefs.h <<_ACEOF
23322 #define HAVE__MODFF 1
23323 _ACEOF
23326 done
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23336 $as_echo_n "checking for modf declaration... " >&6; }
23337 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23338 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23339 $as_echo_n "(cached) " >&6
23340 else
23343 ac_ext=cpp
23344 ac_cpp='$CXXCPP $CPPFLAGS'
23345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23350 /* end confdefs.h. */
23351 #include <math.h>
23353 main ()
23355 modf(0, 0);
23357 return 0;
23359 _ACEOF
23360 if ac_fn_cxx_try_compile "$LINENO"; then :
23361 glibcxx_cv_func_modf_use=yes
23362 else
23363 glibcxx_cv_func_modf_use=no
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366 ac_ext=c
23367 ac_cpp='$CPP $CPPFLAGS'
23368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23377 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23379 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23380 for ac_func in modf
23381 do :
23382 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23383 if test "x$ac_cv_func_modf" = x""yes; then :
23384 cat >>confdefs.h <<_ACEOF
23385 #define HAVE_MODF 1
23386 _ACEOF
23389 done
23391 else
23393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23394 $as_echo_n "checking for _modf declaration... " >&6; }
23395 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23396 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23397 $as_echo_n "(cached) " >&6
23398 else
23401 ac_ext=cpp
23402 ac_cpp='$CXXCPP $CPPFLAGS'
23403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23408 /* end confdefs.h. */
23409 #include <math.h>
23411 main ()
23413 _modf(0, 0);
23415 return 0;
23417 _ACEOF
23418 if ac_fn_cxx_try_compile "$LINENO"; then :
23419 glibcxx_cv_func__modf_use=yes
23420 else
23421 glibcxx_cv_func__modf_use=no
23423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23424 ac_ext=c
23425 ac_cpp='$CPP $CPPFLAGS'
23426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23435 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23437 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23438 for ac_func in _modf
23439 do :
23440 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23441 if test "x$ac_cv_func__modf" = x""yes; then :
23442 cat >>confdefs.h <<_ACEOF
23443 #define HAVE__MODF 1
23444 _ACEOF
23447 done
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23457 $as_echo_n "checking for powf declaration... " >&6; }
23458 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23459 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23460 $as_echo_n "(cached) " >&6
23461 else
23464 ac_ext=cpp
23465 ac_cpp='$CXXCPP $CPPFLAGS'
23466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23471 /* end confdefs.h. */
23472 #include <math.h>
23474 main ()
23476 powf(0, 0);
23478 return 0;
23480 _ACEOF
23481 if ac_fn_cxx_try_compile "$LINENO"; then :
23482 glibcxx_cv_func_powf_use=yes
23483 else
23484 glibcxx_cv_func_powf_use=no
23486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23487 ac_ext=c
23488 ac_cpp='$CPP $CPPFLAGS'
23489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23498 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23500 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23501 for ac_func in powf
23502 do :
23503 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23504 if test "x$ac_cv_func_powf" = x""yes; then :
23505 cat >>confdefs.h <<_ACEOF
23506 #define HAVE_POWF 1
23507 _ACEOF
23510 done
23512 else
23514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23515 $as_echo_n "checking for _powf declaration... " >&6; }
23516 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23517 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23518 $as_echo_n "(cached) " >&6
23519 else
23522 ac_ext=cpp
23523 ac_cpp='$CXXCPP $CPPFLAGS'
23524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23529 /* end confdefs.h. */
23530 #include <math.h>
23532 main ()
23534 _powf(0, 0);
23536 return 0;
23538 _ACEOF
23539 if ac_fn_cxx_try_compile "$LINENO"; then :
23540 glibcxx_cv_func__powf_use=yes
23541 else
23542 glibcxx_cv_func__powf_use=no
23544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23545 ac_ext=c
23546 ac_cpp='$CPP $CPPFLAGS'
23547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23556 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23558 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23559 for ac_func in _powf
23560 do :
23561 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23562 if test "x$ac_cv_func__powf" = x""yes; then :
23563 cat >>confdefs.h <<_ACEOF
23564 #define HAVE__POWF 1
23565 _ACEOF
23568 done
23577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23578 $as_echo_n "checking for sqrtf declaration... " >&6; }
23579 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23580 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23581 $as_echo_n "(cached) " >&6
23582 else
23585 ac_ext=cpp
23586 ac_cpp='$CXXCPP $CPPFLAGS'
23587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23592 /* end confdefs.h. */
23593 #include <math.h>
23594 #ifdef HAVE_IEEEFP_H
23595 #include <ieeefp.h>
23596 #endif
23599 main ()
23601 sqrtf(0);
23603 return 0;
23605 _ACEOF
23606 if ac_fn_cxx_try_compile "$LINENO"; then :
23607 glibcxx_cv_func_sqrtf_use=yes
23608 else
23609 glibcxx_cv_func_sqrtf_use=no
23611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23612 ac_ext=c
23613 ac_cpp='$CPP $CPPFLAGS'
23614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23623 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23625 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23626 for ac_func in sqrtf
23627 do :
23628 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23629 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23630 cat >>confdefs.h <<_ACEOF
23631 #define HAVE_SQRTF 1
23632 _ACEOF
23635 done
23637 else
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23640 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23641 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23642 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23643 $as_echo_n "(cached) " >&6
23644 else
23647 ac_ext=cpp
23648 ac_cpp='$CXXCPP $CPPFLAGS'
23649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h. */
23655 #include <math.h>
23656 #ifdef HAVE_IEEEFP_H
23657 #include <ieeefp.h>
23658 #endif
23661 main ()
23663 _sqrtf(0);
23665 return 0;
23667 _ACEOF
23668 if ac_fn_cxx_try_compile "$LINENO"; then :
23669 glibcxx_cv_func__sqrtf_use=yes
23670 else
23671 glibcxx_cv_func__sqrtf_use=no
23673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23674 ac_ext=c
23675 ac_cpp='$CPP $CPPFLAGS'
23676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23685 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23687 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23688 for ac_func in _sqrtf
23689 do :
23690 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23691 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23692 cat >>confdefs.h <<_ACEOF
23693 #define HAVE__SQRTF 1
23694 _ACEOF
23697 done
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23707 $as_echo_n "checking for sincosf declaration... " >&6; }
23708 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23709 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23710 $as_echo_n "(cached) " >&6
23711 else
23714 ac_ext=cpp
23715 ac_cpp='$CXXCPP $CPPFLAGS'
23716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23721 /* end confdefs.h. */
23722 #include <math.h>
23724 main ()
23726 sincosf(0, 0, 0);
23728 return 0;
23730 _ACEOF
23731 if ac_fn_cxx_try_compile "$LINENO"; then :
23732 glibcxx_cv_func_sincosf_use=yes
23733 else
23734 glibcxx_cv_func_sincosf_use=no
23736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23737 ac_ext=c
23738 ac_cpp='$CPP $CPPFLAGS'
23739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23748 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23750 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23751 for ac_func in sincosf
23752 do :
23753 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23754 if test "x$ac_cv_func_sincosf" = x""yes; then :
23755 cat >>confdefs.h <<_ACEOF
23756 #define HAVE_SINCOSF 1
23757 _ACEOF
23760 done
23762 else
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23765 $as_echo_n "checking for _sincosf declaration... " >&6; }
23766 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23767 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23768 $as_echo_n "(cached) " >&6
23769 else
23772 ac_ext=cpp
23773 ac_cpp='$CXXCPP $CPPFLAGS'
23774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23779 /* end confdefs.h. */
23780 #include <math.h>
23782 main ()
23784 _sincosf(0, 0, 0);
23786 return 0;
23788 _ACEOF
23789 if ac_fn_cxx_try_compile "$LINENO"; then :
23790 glibcxx_cv_func__sincosf_use=yes
23791 else
23792 glibcxx_cv_func__sincosf_use=no
23794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23795 ac_ext=c
23796 ac_cpp='$CPP $CPPFLAGS'
23797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23806 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23808 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23809 for ac_func in _sincosf
23810 do :
23811 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23812 if test "x$ac_cv_func__sincosf" = x""yes; then :
23813 cat >>confdefs.h <<_ACEOF
23814 #define HAVE__SINCOSF 1
23815 _ACEOF
23818 done
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23828 $as_echo_n "checking for finitef declaration... " >&6; }
23829 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23830 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23831 $as_echo_n "(cached) " >&6
23832 else
23835 ac_ext=cpp
23836 ac_cpp='$CXXCPP $CPPFLAGS'
23837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23842 /* end confdefs.h. */
23843 #include <math.h>
23844 #ifdef HAVE_IEEEFP_H
23845 #include <ieeefp.h>
23846 #endif
23849 main ()
23851 finitef(0);
23853 return 0;
23855 _ACEOF
23856 if ac_fn_cxx_try_compile "$LINENO"; then :
23857 glibcxx_cv_func_finitef_use=yes
23858 else
23859 glibcxx_cv_func_finitef_use=no
23861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23862 ac_ext=c
23863 ac_cpp='$CPP $CPPFLAGS'
23864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23873 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23875 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23876 for ac_func in finitef
23877 do :
23878 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23879 if test "x$ac_cv_func_finitef" = x""yes; then :
23880 cat >>confdefs.h <<_ACEOF
23881 #define HAVE_FINITEF 1
23882 _ACEOF
23885 done
23887 else
23889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23890 $as_echo_n "checking for _finitef declaration... " >&6; }
23891 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23892 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23893 $as_echo_n "(cached) " >&6
23894 else
23897 ac_ext=cpp
23898 ac_cpp='$CXXCPP $CPPFLAGS'
23899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23904 /* end confdefs.h. */
23905 #include <math.h>
23906 #ifdef HAVE_IEEEFP_H
23907 #include <ieeefp.h>
23908 #endif
23911 main ()
23913 _finitef(0);
23915 return 0;
23917 _ACEOF
23918 if ac_fn_cxx_try_compile "$LINENO"; then :
23919 glibcxx_cv_func__finitef_use=yes
23920 else
23921 glibcxx_cv_func__finitef_use=no
23923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23924 ac_ext=c
23925 ac_cpp='$CPP $CPPFLAGS'
23926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23935 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23937 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23938 for ac_func in _finitef
23939 do :
23940 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23941 if test "x$ac_cv_func__finitef" = x""yes; then :
23942 cat >>confdefs.h <<_ACEOF
23943 #define HAVE__FINITEF 1
23944 _ACEOF
23947 done
23956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23957 $as_echo_n "checking for long double trig functions... " >&6; }
23958 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23959 $as_echo_n "(cached) " >&6
23960 else
23963 ac_ext=cpp
23964 ac_cpp='$CXXCPP $CPPFLAGS'
23965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23970 /* end confdefs.h. */
23971 #include <math.h>
23973 main ()
23975 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23977 return 0;
23979 _ACEOF
23980 if ac_fn_cxx_try_compile "$LINENO"; then :
23981 glibcxx_cv_func_long_double_trig_use=yes
23982 else
23983 glibcxx_cv_func_long_double_trig_use=no
23985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986 ac_ext=c
23987 ac_cpp='$CPP $CPPFLAGS'
23988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23995 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23996 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23997 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23998 do :
23999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24001 eval as_val=\$$as_ac_var
24002 if test "x$as_val" = x""yes; then :
24003 cat >>confdefs.h <<_ACEOF
24004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24005 _ACEOF
24008 done
24010 else
24011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24012 $as_echo_n "checking for _long double trig functions... " >&6; }
24013 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24014 $as_echo_n "(cached) " >&6
24015 else
24018 ac_ext=cpp
24019 ac_cpp='$CXXCPP $CPPFLAGS'
24020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24025 /* end confdefs.h. */
24026 #include <math.h>
24028 main ()
24030 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24032 return 0;
24034 _ACEOF
24035 if ac_fn_cxx_try_compile "$LINENO"; then :
24036 glibcxx_cv_func__long_double_trig_use=yes
24037 else
24038 glibcxx_cv_func__long_double_trig_use=no
24040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24041 ac_ext=c
24042 ac_cpp='$CPP $CPPFLAGS'
24043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24050 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24051 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24052 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24053 do :
24054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24056 eval as_val=\$$as_ac_var
24057 if test "x$as_val" = x""yes; then :
24058 cat >>confdefs.h <<_ACEOF
24059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24060 _ACEOF
24063 done
24072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24073 $as_echo_n "checking for long double round functions... " >&6; }
24074 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24075 $as_echo_n "(cached) " >&6
24076 else
24079 ac_ext=cpp
24080 ac_cpp='$CXXCPP $CPPFLAGS'
24081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24086 /* end confdefs.h. */
24087 #include <math.h>
24089 main ()
24091 ceill (0); floorl (0);
24093 return 0;
24095 _ACEOF
24096 if ac_fn_cxx_try_compile "$LINENO"; then :
24097 glibcxx_cv_func_long_double_round_use=yes
24098 else
24099 glibcxx_cv_func_long_double_round_use=no
24101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24102 ac_ext=c
24103 ac_cpp='$CPP $CPPFLAGS'
24104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24111 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24112 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24113 for ac_func in ceill floorl
24114 do :
24115 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24117 eval as_val=\$$as_ac_var
24118 if test "x$as_val" = x""yes; then :
24119 cat >>confdefs.h <<_ACEOF
24120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24121 _ACEOF
24124 done
24126 else
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24128 $as_echo_n "checking for _long double round functions... " >&6; }
24129 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24130 $as_echo_n "(cached) " >&6
24131 else
24134 ac_ext=cpp
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24141 /* end confdefs.h. */
24142 #include <math.h>
24144 main ()
24146 _ceill (0); _floorl (0);
24148 return 0;
24150 _ACEOF
24151 if ac_fn_cxx_try_compile "$LINENO"; then :
24152 glibcxx_cv_func__long_double_round_use=yes
24153 else
24154 glibcxx_cv_func__long_double_round_use=no
24156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157 ac_ext=c
24158 ac_cpp='$CPP $CPPFLAGS'
24159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24166 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24167 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24168 for ac_func in _ceill _floorl
24169 do :
24170 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24172 eval as_val=\$$as_ac_var
24173 if test "x$as_val" = x""yes; then :
24174 cat >>confdefs.h <<_ACEOF
24175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24176 _ACEOF
24179 done
24189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24190 $as_echo_n "checking for isnanl declaration... " >&6; }
24191 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24192 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24193 $as_echo_n "(cached) " >&6
24194 else
24197 ac_ext=cpp
24198 ac_cpp='$CXXCPP $CPPFLAGS'
24199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24204 /* end confdefs.h. */
24205 #include <math.h>
24206 #ifdef HAVE_IEEEFP_H
24207 #include <ieeefp.h>
24208 #endif
24211 main ()
24213 isnanl(0);
24215 return 0;
24217 _ACEOF
24218 if ac_fn_cxx_try_compile "$LINENO"; then :
24219 glibcxx_cv_func_isnanl_use=yes
24220 else
24221 glibcxx_cv_func_isnanl_use=no
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224 ac_ext=c
24225 ac_cpp='$CPP $CPPFLAGS'
24226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24235 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24237 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24238 for ac_func in isnanl
24239 do :
24240 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24241 if test "x$ac_cv_func_isnanl" = x""yes; then :
24242 cat >>confdefs.h <<_ACEOF
24243 #define HAVE_ISNANL 1
24244 _ACEOF
24247 done
24249 else
24251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24252 $as_echo_n "checking for _isnanl declaration... " >&6; }
24253 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24254 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24255 $as_echo_n "(cached) " >&6
24256 else
24259 ac_ext=cpp
24260 ac_cpp='$CXXCPP $CPPFLAGS'
24261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24266 /* end confdefs.h. */
24267 #include <math.h>
24268 #ifdef HAVE_IEEEFP_H
24269 #include <ieeefp.h>
24270 #endif
24273 main ()
24275 _isnanl(0);
24277 return 0;
24279 _ACEOF
24280 if ac_fn_cxx_try_compile "$LINENO"; then :
24281 glibcxx_cv_func__isnanl_use=yes
24282 else
24283 glibcxx_cv_func__isnanl_use=no
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286 ac_ext=c
24287 ac_cpp='$CPP $CPPFLAGS'
24288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24297 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24299 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24300 for ac_func in _isnanl
24301 do :
24302 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24303 if test "x$ac_cv_func__isnanl" = x""yes; then :
24304 cat >>confdefs.h <<_ACEOF
24305 #define HAVE__ISNANL 1
24306 _ACEOF
24309 done
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24319 $as_echo_n "checking for isinfl declaration... " >&6; }
24320 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24321 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24322 $as_echo_n "(cached) " >&6
24323 else
24326 ac_ext=cpp
24327 ac_cpp='$CXXCPP $CPPFLAGS'
24328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24333 /* end confdefs.h. */
24334 #include <math.h>
24335 #ifdef HAVE_IEEEFP_H
24336 #include <ieeefp.h>
24337 #endif
24340 main ()
24342 isinfl(0);
24344 return 0;
24346 _ACEOF
24347 if ac_fn_cxx_try_compile "$LINENO"; then :
24348 glibcxx_cv_func_isinfl_use=yes
24349 else
24350 glibcxx_cv_func_isinfl_use=no
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353 ac_ext=c
24354 ac_cpp='$CPP $CPPFLAGS'
24355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24364 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24366 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24367 for ac_func in isinfl
24368 do :
24369 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24370 if test "x$ac_cv_func_isinfl" = x""yes; then :
24371 cat >>confdefs.h <<_ACEOF
24372 #define HAVE_ISINFL 1
24373 _ACEOF
24376 done
24378 else
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24381 $as_echo_n "checking for _isinfl declaration... " >&6; }
24382 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24383 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24384 $as_echo_n "(cached) " >&6
24385 else
24388 ac_ext=cpp
24389 ac_cpp='$CXXCPP $CPPFLAGS'
24390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24395 /* end confdefs.h. */
24396 #include <math.h>
24397 #ifdef HAVE_IEEEFP_H
24398 #include <ieeefp.h>
24399 #endif
24402 main ()
24404 _isinfl(0);
24406 return 0;
24408 _ACEOF
24409 if ac_fn_cxx_try_compile "$LINENO"; then :
24410 glibcxx_cv_func__isinfl_use=yes
24411 else
24412 glibcxx_cv_func__isinfl_use=no
24414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24415 ac_ext=c
24416 ac_cpp='$CPP $CPPFLAGS'
24417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24426 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24428 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24429 for ac_func in _isinfl
24430 do :
24431 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24432 if test "x$ac_cv_func__isinfl" = x""yes; then :
24433 cat >>confdefs.h <<_ACEOF
24434 #define HAVE__ISINFL 1
24435 _ACEOF
24438 done
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24448 $as_echo_n "checking for atan2l declaration... " >&6; }
24449 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24450 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24451 $as_echo_n "(cached) " >&6
24452 else
24455 ac_ext=cpp
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h. */
24463 #include <math.h>
24465 main ()
24467 atan2l(0, 0);
24469 return 0;
24471 _ACEOF
24472 if ac_fn_cxx_try_compile "$LINENO"; then :
24473 glibcxx_cv_func_atan2l_use=yes
24474 else
24475 glibcxx_cv_func_atan2l_use=no
24477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24478 ac_ext=c
24479 ac_cpp='$CPP $CPPFLAGS'
24480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24489 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24491 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24492 for ac_func in atan2l
24493 do :
24494 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24495 if test "x$ac_cv_func_atan2l" = x""yes; then :
24496 cat >>confdefs.h <<_ACEOF
24497 #define HAVE_ATAN2L 1
24498 _ACEOF
24501 done
24503 else
24505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24506 $as_echo_n "checking for _atan2l declaration... " >&6; }
24507 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24508 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24509 $as_echo_n "(cached) " >&6
24510 else
24513 ac_ext=cpp
24514 ac_cpp='$CXXCPP $CPPFLAGS'
24515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24520 /* end confdefs.h. */
24521 #include <math.h>
24523 main ()
24525 _atan2l(0, 0);
24527 return 0;
24529 _ACEOF
24530 if ac_fn_cxx_try_compile "$LINENO"; then :
24531 glibcxx_cv_func__atan2l_use=yes
24532 else
24533 glibcxx_cv_func__atan2l_use=no
24535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24536 ac_ext=c
24537 ac_cpp='$CPP $CPPFLAGS'
24538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24547 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24549 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24550 for ac_func in _atan2l
24551 do :
24552 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24553 if test "x$ac_cv_func__atan2l" = x""yes; then :
24554 cat >>confdefs.h <<_ACEOF
24555 #define HAVE__ATAN2L 1
24556 _ACEOF
24559 done
24568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24569 $as_echo_n "checking for expl declaration... " >&6; }
24570 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24571 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24572 $as_echo_n "(cached) " >&6
24573 else
24576 ac_ext=cpp
24577 ac_cpp='$CXXCPP $CPPFLAGS'
24578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24583 /* end confdefs.h. */
24584 #include <math.h>
24585 #ifdef HAVE_IEEEFP_H
24586 #include <ieeefp.h>
24587 #endif
24590 main ()
24592 expl(0);
24594 return 0;
24596 _ACEOF
24597 if ac_fn_cxx_try_compile "$LINENO"; then :
24598 glibcxx_cv_func_expl_use=yes
24599 else
24600 glibcxx_cv_func_expl_use=no
24602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24603 ac_ext=c
24604 ac_cpp='$CPP $CPPFLAGS'
24605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24614 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24616 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24617 for ac_func in expl
24618 do :
24619 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24620 if test "x$ac_cv_func_expl" = x""yes; then :
24621 cat >>confdefs.h <<_ACEOF
24622 #define HAVE_EXPL 1
24623 _ACEOF
24626 done
24628 else
24630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24631 $as_echo_n "checking for _expl declaration... " >&6; }
24632 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24633 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24634 $as_echo_n "(cached) " >&6
24635 else
24638 ac_ext=cpp
24639 ac_cpp='$CXXCPP $CPPFLAGS'
24640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24645 /* end confdefs.h. */
24646 #include <math.h>
24647 #ifdef HAVE_IEEEFP_H
24648 #include <ieeefp.h>
24649 #endif
24652 main ()
24654 _expl(0);
24656 return 0;
24658 _ACEOF
24659 if ac_fn_cxx_try_compile "$LINENO"; then :
24660 glibcxx_cv_func__expl_use=yes
24661 else
24662 glibcxx_cv_func__expl_use=no
24664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665 ac_ext=c
24666 ac_cpp='$CPP $CPPFLAGS'
24667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24676 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24678 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24679 for ac_func in _expl
24680 do :
24681 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24682 if test "x$ac_cv_func__expl" = x""yes; then :
24683 cat >>confdefs.h <<_ACEOF
24684 #define HAVE__EXPL 1
24685 _ACEOF
24688 done
24697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24698 $as_echo_n "checking for fabsl declaration... " >&6; }
24699 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24700 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24701 $as_echo_n "(cached) " >&6
24702 else
24705 ac_ext=cpp
24706 ac_cpp='$CXXCPP $CPPFLAGS'
24707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h. */
24713 #include <math.h>
24714 #ifdef HAVE_IEEEFP_H
24715 #include <ieeefp.h>
24716 #endif
24719 main ()
24721 fabsl(0);
24723 return 0;
24725 _ACEOF
24726 if ac_fn_cxx_try_compile "$LINENO"; then :
24727 glibcxx_cv_func_fabsl_use=yes
24728 else
24729 glibcxx_cv_func_fabsl_use=no
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732 ac_ext=c
24733 ac_cpp='$CPP $CPPFLAGS'
24734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24743 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24745 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24746 for ac_func in fabsl
24747 do :
24748 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24749 if test "x$ac_cv_func_fabsl" = x""yes; then :
24750 cat >>confdefs.h <<_ACEOF
24751 #define HAVE_FABSL 1
24752 _ACEOF
24755 done
24757 else
24759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24760 $as_echo_n "checking for _fabsl declaration... " >&6; }
24761 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24762 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24763 $as_echo_n "(cached) " >&6
24764 else
24767 ac_ext=cpp
24768 ac_cpp='$CXXCPP $CPPFLAGS'
24769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24774 /* end confdefs.h. */
24775 #include <math.h>
24776 #ifdef HAVE_IEEEFP_H
24777 #include <ieeefp.h>
24778 #endif
24781 main ()
24783 _fabsl(0);
24785 return 0;
24787 _ACEOF
24788 if ac_fn_cxx_try_compile "$LINENO"; then :
24789 glibcxx_cv_func__fabsl_use=yes
24790 else
24791 glibcxx_cv_func__fabsl_use=no
24793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24794 ac_ext=c
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24805 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24807 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24808 for ac_func in _fabsl
24809 do :
24810 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24811 if test "x$ac_cv_func__fabsl" = x""yes; then :
24812 cat >>confdefs.h <<_ACEOF
24813 #define HAVE__FABSL 1
24814 _ACEOF
24817 done
24826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24827 $as_echo_n "checking for fmodl declaration... " >&6; }
24828 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24829 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24830 $as_echo_n "(cached) " >&6
24831 else
24834 ac_ext=cpp
24835 ac_cpp='$CXXCPP $CPPFLAGS'
24836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24841 /* end confdefs.h. */
24842 #include <math.h>
24844 main ()
24846 fmodl(0, 0);
24848 return 0;
24850 _ACEOF
24851 if ac_fn_cxx_try_compile "$LINENO"; then :
24852 glibcxx_cv_func_fmodl_use=yes
24853 else
24854 glibcxx_cv_func_fmodl_use=no
24856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24857 ac_ext=c
24858 ac_cpp='$CPP $CPPFLAGS'
24859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24868 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24870 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24871 for ac_func in fmodl
24872 do :
24873 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24874 if test "x$ac_cv_func_fmodl" = x""yes; then :
24875 cat >>confdefs.h <<_ACEOF
24876 #define HAVE_FMODL 1
24877 _ACEOF
24880 done
24882 else
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24885 $as_echo_n "checking for _fmodl declaration... " >&6; }
24886 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24887 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24888 $as_echo_n "(cached) " >&6
24889 else
24892 ac_ext=cpp
24893 ac_cpp='$CXXCPP $CPPFLAGS'
24894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24899 /* end confdefs.h. */
24900 #include <math.h>
24902 main ()
24904 _fmodl(0, 0);
24906 return 0;
24908 _ACEOF
24909 if ac_fn_cxx_try_compile "$LINENO"; then :
24910 glibcxx_cv_func__fmodl_use=yes
24911 else
24912 glibcxx_cv_func__fmodl_use=no
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915 ac_ext=c
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24926 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24928 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24929 for ac_func in _fmodl
24930 do :
24931 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24932 if test "x$ac_cv_func__fmodl" = x""yes; then :
24933 cat >>confdefs.h <<_ACEOF
24934 #define HAVE__FMODL 1
24935 _ACEOF
24938 done
24947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24948 $as_echo_n "checking for frexpl declaration... " >&6; }
24949 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24950 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24951 $as_echo_n "(cached) " >&6
24952 else
24955 ac_ext=cpp
24956 ac_cpp='$CXXCPP $CPPFLAGS'
24957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24962 /* end confdefs.h. */
24963 #include <math.h>
24965 main ()
24967 frexpl(0, 0);
24969 return 0;
24971 _ACEOF
24972 if ac_fn_cxx_try_compile "$LINENO"; then :
24973 glibcxx_cv_func_frexpl_use=yes
24974 else
24975 glibcxx_cv_func_frexpl_use=no
24977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24978 ac_ext=c
24979 ac_cpp='$CPP $CPPFLAGS'
24980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24989 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24991 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24992 for ac_func in frexpl
24993 do :
24994 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24995 if test "x$ac_cv_func_frexpl" = x""yes; then :
24996 cat >>confdefs.h <<_ACEOF
24997 #define HAVE_FREXPL 1
24998 _ACEOF
25001 done
25003 else
25005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25006 $as_echo_n "checking for _frexpl declaration... " >&6; }
25007 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25008 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25009 $as_echo_n "(cached) " >&6
25010 else
25013 ac_ext=cpp
25014 ac_cpp='$CXXCPP $CPPFLAGS'
25015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25020 /* end confdefs.h. */
25021 #include <math.h>
25023 main ()
25025 _frexpl(0, 0);
25027 return 0;
25029 _ACEOF
25030 if ac_fn_cxx_try_compile "$LINENO"; then :
25031 glibcxx_cv_func__frexpl_use=yes
25032 else
25033 glibcxx_cv_func__frexpl_use=no
25035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25036 ac_ext=c
25037 ac_cpp='$CPP $CPPFLAGS'
25038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25047 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25049 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25050 for ac_func in _frexpl
25051 do :
25052 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25053 if test "x$ac_cv_func__frexpl" = x""yes; then :
25054 cat >>confdefs.h <<_ACEOF
25055 #define HAVE__FREXPL 1
25056 _ACEOF
25059 done
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25069 $as_echo_n "checking for hypotl declaration... " >&6; }
25070 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25071 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25072 $as_echo_n "(cached) " >&6
25073 else
25076 ac_ext=cpp
25077 ac_cpp='$CXXCPP $CPPFLAGS'
25078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25083 /* end confdefs.h. */
25084 #include <math.h>
25086 main ()
25088 hypotl(0, 0);
25090 return 0;
25092 _ACEOF
25093 if ac_fn_cxx_try_compile "$LINENO"; then :
25094 glibcxx_cv_func_hypotl_use=yes
25095 else
25096 glibcxx_cv_func_hypotl_use=no
25098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25099 ac_ext=c
25100 ac_cpp='$CPP $CPPFLAGS'
25101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25110 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25112 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25113 for ac_func in hypotl
25114 do :
25115 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25116 if test "x$ac_cv_func_hypotl" = x""yes; then :
25117 cat >>confdefs.h <<_ACEOF
25118 #define HAVE_HYPOTL 1
25119 _ACEOF
25122 done
25124 else
25126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25127 $as_echo_n "checking for _hypotl declaration... " >&6; }
25128 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25129 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25130 $as_echo_n "(cached) " >&6
25131 else
25134 ac_ext=cpp
25135 ac_cpp='$CXXCPP $CPPFLAGS'
25136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h. */
25142 #include <math.h>
25144 main ()
25146 _hypotl(0, 0);
25148 return 0;
25150 _ACEOF
25151 if ac_fn_cxx_try_compile "$LINENO"; then :
25152 glibcxx_cv_func__hypotl_use=yes
25153 else
25154 glibcxx_cv_func__hypotl_use=no
25156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25157 ac_ext=c
25158 ac_cpp='$CPP $CPPFLAGS'
25159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25168 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25170 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25171 for ac_func in _hypotl
25172 do :
25173 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25174 if test "x$ac_cv_func__hypotl" = x""yes; then :
25175 cat >>confdefs.h <<_ACEOF
25176 #define HAVE__HYPOTL 1
25177 _ACEOF
25180 done
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25190 $as_echo_n "checking for ldexpl declaration... " >&6; }
25191 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25192 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25193 $as_echo_n "(cached) " >&6
25194 else
25197 ac_ext=cpp
25198 ac_cpp='$CXXCPP $CPPFLAGS'
25199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25204 /* end confdefs.h. */
25205 #include <math.h>
25207 main ()
25209 ldexpl(0, 0);
25211 return 0;
25213 _ACEOF
25214 if ac_fn_cxx_try_compile "$LINENO"; then :
25215 glibcxx_cv_func_ldexpl_use=yes
25216 else
25217 glibcxx_cv_func_ldexpl_use=no
25219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25220 ac_ext=c
25221 ac_cpp='$CPP $CPPFLAGS'
25222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25231 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25233 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25234 for ac_func in ldexpl
25235 do :
25236 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25237 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25238 cat >>confdefs.h <<_ACEOF
25239 #define HAVE_LDEXPL 1
25240 _ACEOF
25243 done
25245 else
25247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25248 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25249 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25250 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25251 $as_echo_n "(cached) " >&6
25252 else
25255 ac_ext=cpp
25256 ac_cpp='$CXXCPP $CPPFLAGS'
25257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25262 /* end confdefs.h. */
25263 #include <math.h>
25265 main ()
25267 _ldexpl(0, 0);
25269 return 0;
25271 _ACEOF
25272 if ac_fn_cxx_try_compile "$LINENO"; then :
25273 glibcxx_cv_func__ldexpl_use=yes
25274 else
25275 glibcxx_cv_func__ldexpl_use=no
25277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25278 ac_ext=c
25279 ac_cpp='$CPP $CPPFLAGS'
25280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25289 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25291 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25292 for ac_func in _ldexpl
25293 do :
25294 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25295 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25296 cat >>confdefs.h <<_ACEOF
25297 #define HAVE__LDEXPL 1
25298 _ACEOF
25301 done
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25311 $as_echo_n "checking for logl declaration... " >&6; }
25312 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25313 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25314 $as_echo_n "(cached) " >&6
25315 else
25318 ac_ext=cpp
25319 ac_cpp='$CXXCPP $CPPFLAGS'
25320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25325 /* end confdefs.h. */
25326 #include <math.h>
25327 #ifdef HAVE_IEEEFP_H
25328 #include <ieeefp.h>
25329 #endif
25332 main ()
25334 logl(0);
25336 return 0;
25338 _ACEOF
25339 if ac_fn_cxx_try_compile "$LINENO"; then :
25340 glibcxx_cv_func_logl_use=yes
25341 else
25342 glibcxx_cv_func_logl_use=no
25344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25345 ac_ext=c
25346 ac_cpp='$CPP $CPPFLAGS'
25347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25356 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25358 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25359 for ac_func in logl
25360 do :
25361 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25362 if test "x$ac_cv_func_logl" = x""yes; then :
25363 cat >>confdefs.h <<_ACEOF
25364 #define HAVE_LOGL 1
25365 _ACEOF
25368 done
25370 else
25372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25373 $as_echo_n "checking for _logl declaration... " >&6; }
25374 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25375 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25376 $as_echo_n "(cached) " >&6
25377 else
25380 ac_ext=cpp
25381 ac_cpp='$CXXCPP $CPPFLAGS'
25382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25387 /* end confdefs.h. */
25388 #include <math.h>
25389 #ifdef HAVE_IEEEFP_H
25390 #include <ieeefp.h>
25391 #endif
25394 main ()
25396 _logl(0);
25398 return 0;
25400 _ACEOF
25401 if ac_fn_cxx_try_compile "$LINENO"; then :
25402 glibcxx_cv_func__logl_use=yes
25403 else
25404 glibcxx_cv_func__logl_use=no
25406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25407 ac_ext=c
25408 ac_cpp='$CPP $CPPFLAGS'
25409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25418 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25420 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25421 for ac_func in _logl
25422 do :
25423 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25424 if test "x$ac_cv_func__logl" = x""yes; then :
25425 cat >>confdefs.h <<_ACEOF
25426 #define HAVE__LOGL 1
25427 _ACEOF
25430 done
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25440 $as_echo_n "checking for log10l declaration... " >&6; }
25441 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25442 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25443 $as_echo_n "(cached) " >&6
25444 else
25447 ac_ext=cpp
25448 ac_cpp='$CXXCPP $CPPFLAGS'
25449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25454 /* end confdefs.h. */
25455 #include <math.h>
25456 #ifdef HAVE_IEEEFP_H
25457 #include <ieeefp.h>
25458 #endif
25461 main ()
25463 log10l(0);
25465 return 0;
25467 _ACEOF
25468 if ac_fn_cxx_try_compile "$LINENO"; then :
25469 glibcxx_cv_func_log10l_use=yes
25470 else
25471 glibcxx_cv_func_log10l_use=no
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474 ac_ext=c
25475 ac_cpp='$CPP $CPPFLAGS'
25476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25485 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25487 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25488 for ac_func in log10l
25489 do :
25490 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25491 if test "x$ac_cv_func_log10l" = x""yes; then :
25492 cat >>confdefs.h <<_ACEOF
25493 #define HAVE_LOG10L 1
25494 _ACEOF
25497 done
25499 else
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25502 $as_echo_n "checking for _log10l declaration... " >&6; }
25503 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25504 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25505 $as_echo_n "(cached) " >&6
25506 else
25509 ac_ext=cpp
25510 ac_cpp='$CXXCPP $CPPFLAGS'
25511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25516 /* end confdefs.h. */
25517 #include <math.h>
25518 #ifdef HAVE_IEEEFP_H
25519 #include <ieeefp.h>
25520 #endif
25523 main ()
25525 _log10l(0);
25527 return 0;
25529 _ACEOF
25530 if ac_fn_cxx_try_compile "$LINENO"; then :
25531 glibcxx_cv_func__log10l_use=yes
25532 else
25533 glibcxx_cv_func__log10l_use=no
25535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25536 ac_ext=c
25537 ac_cpp='$CPP $CPPFLAGS'
25538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25547 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25549 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25550 for ac_func in _log10l
25551 do :
25552 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25553 if test "x$ac_cv_func__log10l" = x""yes; then :
25554 cat >>confdefs.h <<_ACEOF
25555 #define HAVE__LOG10L 1
25556 _ACEOF
25559 done
25568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25569 $as_echo_n "checking for modfl declaration... " >&6; }
25570 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25571 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25572 $as_echo_n "(cached) " >&6
25573 else
25576 ac_ext=cpp
25577 ac_cpp='$CXXCPP $CPPFLAGS'
25578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25583 /* end confdefs.h. */
25584 #include <math.h>
25586 main ()
25588 modfl(0, 0);
25590 return 0;
25592 _ACEOF
25593 if ac_fn_cxx_try_compile "$LINENO"; then :
25594 glibcxx_cv_func_modfl_use=yes
25595 else
25596 glibcxx_cv_func_modfl_use=no
25598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25599 ac_ext=c
25600 ac_cpp='$CPP $CPPFLAGS'
25601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25610 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25612 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25613 for ac_func in modfl
25614 do :
25615 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25616 if test "x$ac_cv_func_modfl" = x""yes; then :
25617 cat >>confdefs.h <<_ACEOF
25618 #define HAVE_MODFL 1
25619 _ACEOF
25622 done
25624 else
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25627 $as_echo_n "checking for _modfl declaration... " >&6; }
25628 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25629 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25630 $as_echo_n "(cached) " >&6
25631 else
25634 ac_ext=cpp
25635 ac_cpp='$CXXCPP $CPPFLAGS'
25636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25641 /* end confdefs.h. */
25642 #include <math.h>
25644 main ()
25646 _modfl(0, 0);
25648 return 0;
25650 _ACEOF
25651 if ac_fn_cxx_try_compile "$LINENO"; then :
25652 glibcxx_cv_func__modfl_use=yes
25653 else
25654 glibcxx_cv_func__modfl_use=no
25656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25657 ac_ext=c
25658 ac_cpp='$CPP $CPPFLAGS'
25659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25668 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25670 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25671 for ac_func in _modfl
25672 do :
25673 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25674 if test "x$ac_cv_func__modfl" = x""yes; then :
25675 cat >>confdefs.h <<_ACEOF
25676 #define HAVE__MODFL 1
25677 _ACEOF
25680 done
25689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25690 $as_echo_n "checking for powl declaration... " >&6; }
25691 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25692 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25693 $as_echo_n "(cached) " >&6
25694 else
25697 ac_ext=cpp
25698 ac_cpp='$CXXCPP $CPPFLAGS'
25699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25704 /* end confdefs.h. */
25705 #include <math.h>
25707 main ()
25709 powl(0, 0);
25711 return 0;
25713 _ACEOF
25714 if ac_fn_cxx_try_compile "$LINENO"; then :
25715 glibcxx_cv_func_powl_use=yes
25716 else
25717 glibcxx_cv_func_powl_use=no
25719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25720 ac_ext=c
25721 ac_cpp='$CPP $CPPFLAGS'
25722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25731 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25733 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25734 for ac_func in powl
25735 do :
25736 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25737 if test "x$ac_cv_func_powl" = x""yes; then :
25738 cat >>confdefs.h <<_ACEOF
25739 #define HAVE_POWL 1
25740 _ACEOF
25743 done
25745 else
25747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25748 $as_echo_n "checking for _powl declaration... " >&6; }
25749 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25750 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25751 $as_echo_n "(cached) " >&6
25752 else
25755 ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h. */
25763 #include <math.h>
25765 main ()
25767 _powl(0, 0);
25769 return 0;
25771 _ACEOF
25772 if ac_fn_cxx_try_compile "$LINENO"; then :
25773 glibcxx_cv_func__powl_use=yes
25774 else
25775 glibcxx_cv_func__powl_use=no
25777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25778 ac_ext=c
25779 ac_cpp='$CPP $CPPFLAGS'
25780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25789 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25791 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25792 for ac_func in _powl
25793 do :
25794 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25795 if test "x$ac_cv_func__powl" = x""yes; then :
25796 cat >>confdefs.h <<_ACEOF
25797 #define HAVE__POWL 1
25798 _ACEOF
25801 done
25810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25811 $as_echo_n "checking for sqrtl declaration... " >&6; }
25812 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25813 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25814 $as_echo_n "(cached) " >&6
25815 else
25818 ac_ext=cpp
25819 ac_cpp='$CXXCPP $CPPFLAGS'
25820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25825 /* end confdefs.h. */
25826 #include <math.h>
25827 #ifdef HAVE_IEEEFP_H
25828 #include <ieeefp.h>
25829 #endif
25832 main ()
25834 sqrtl(0);
25836 return 0;
25838 _ACEOF
25839 if ac_fn_cxx_try_compile "$LINENO"; then :
25840 glibcxx_cv_func_sqrtl_use=yes
25841 else
25842 glibcxx_cv_func_sqrtl_use=no
25844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25845 ac_ext=c
25846 ac_cpp='$CPP $CPPFLAGS'
25847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25856 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25858 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25859 for ac_func in sqrtl
25860 do :
25861 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25862 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25863 cat >>confdefs.h <<_ACEOF
25864 #define HAVE_SQRTL 1
25865 _ACEOF
25868 done
25870 else
25872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25873 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25874 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25875 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25876 $as_echo_n "(cached) " >&6
25877 else
25880 ac_ext=cpp
25881 ac_cpp='$CXXCPP $CPPFLAGS'
25882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25887 /* end confdefs.h. */
25888 #include <math.h>
25889 #ifdef HAVE_IEEEFP_H
25890 #include <ieeefp.h>
25891 #endif
25894 main ()
25896 _sqrtl(0);
25898 return 0;
25900 _ACEOF
25901 if ac_fn_cxx_try_compile "$LINENO"; then :
25902 glibcxx_cv_func__sqrtl_use=yes
25903 else
25904 glibcxx_cv_func__sqrtl_use=no
25906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25907 ac_ext=c
25908 ac_cpp='$CPP $CPPFLAGS'
25909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25918 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25920 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25921 for ac_func in _sqrtl
25922 do :
25923 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25924 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25925 cat >>confdefs.h <<_ACEOF
25926 #define HAVE__SQRTL 1
25927 _ACEOF
25930 done
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25940 $as_echo_n "checking for sincosl declaration... " >&6; }
25941 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25942 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25943 $as_echo_n "(cached) " >&6
25944 else
25947 ac_ext=cpp
25948 ac_cpp='$CXXCPP $CPPFLAGS'
25949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25954 /* end confdefs.h. */
25955 #include <math.h>
25957 main ()
25959 sincosl(0, 0, 0);
25961 return 0;
25963 _ACEOF
25964 if ac_fn_cxx_try_compile "$LINENO"; then :
25965 glibcxx_cv_func_sincosl_use=yes
25966 else
25967 glibcxx_cv_func_sincosl_use=no
25969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25970 ac_ext=c
25971 ac_cpp='$CPP $CPPFLAGS'
25972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25981 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25983 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25984 for ac_func in sincosl
25985 do :
25986 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25987 if test "x$ac_cv_func_sincosl" = x""yes; then :
25988 cat >>confdefs.h <<_ACEOF
25989 #define HAVE_SINCOSL 1
25990 _ACEOF
25993 done
25995 else
25997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25998 $as_echo_n "checking for _sincosl declaration... " >&6; }
25999 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26000 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26001 $as_echo_n "(cached) " >&6
26002 else
26005 ac_ext=cpp
26006 ac_cpp='$CXXCPP $CPPFLAGS'
26007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26012 /* end confdefs.h. */
26013 #include <math.h>
26015 main ()
26017 _sincosl(0, 0, 0);
26019 return 0;
26021 _ACEOF
26022 if ac_fn_cxx_try_compile "$LINENO"; then :
26023 glibcxx_cv_func__sincosl_use=yes
26024 else
26025 glibcxx_cv_func__sincosl_use=no
26027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26028 ac_ext=c
26029 ac_cpp='$CPP $CPPFLAGS'
26030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26039 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26041 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26042 for ac_func in _sincosl
26043 do :
26044 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26045 if test "x$ac_cv_func__sincosl" = x""yes; then :
26046 cat >>confdefs.h <<_ACEOF
26047 #define HAVE__SINCOSL 1
26048 _ACEOF
26051 done
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26061 $as_echo_n "checking for finitel declaration... " >&6; }
26062 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26063 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26064 $as_echo_n "(cached) " >&6
26065 else
26068 ac_ext=cpp
26069 ac_cpp='$CXXCPP $CPPFLAGS'
26070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26075 /* end confdefs.h. */
26076 #include <math.h>
26077 #ifdef HAVE_IEEEFP_H
26078 #include <ieeefp.h>
26079 #endif
26082 main ()
26084 finitel(0);
26086 return 0;
26088 _ACEOF
26089 if ac_fn_cxx_try_compile "$LINENO"; then :
26090 glibcxx_cv_func_finitel_use=yes
26091 else
26092 glibcxx_cv_func_finitel_use=no
26094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26095 ac_ext=c
26096 ac_cpp='$CPP $CPPFLAGS'
26097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26106 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26108 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26109 for ac_func in finitel
26110 do :
26111 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26112 if test "x$ac_cv_func_finitel" = x""yes; then :
26113 cat >>confdefs.h <<_ACEOF
26114 #define HAVE_FINITEL 1
26115 _ACEOF
26118 done
26120 else
26122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26123 $as_echo_n "checking for _finitel declaration... " >&6; }
26124 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26125 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26126 $as_echo_n "(cached) " >&6
26127 else
26130 ac_ext=cpp
26131 ac_cpp='$CXXCPP $CPPFLAGS'
26132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26137 /* end confdefs.h. */
26138 #include <math.h>
26139 #ifdef HAVE_IEEEFP_H
26140 #include <ieeefp.h>
26141 #endif
26144 main ()
26146 _finitel(0);
26148 return 0;
26150 _ACEOF
26151 if ac_fn_cxx_try_compile "$LINENO"; then :
26152 glibcxx_cv_func__finitel_use=yes
26153 else
26154 glibcxx_cv_func__finitel_use=no
26156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26157 ac_ext=c
26158 ac_cpp='$CPP $CPPFLAGS'
26159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26168 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26170 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26171 for ac_func in _finitel
26172 do :
26173 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26174 if test "x$ac_cv_func__finitel" = x""yes; then :
26175 cat >>confdefs.h <<_ACEOF
26176 #define HAVE__FINITEL 1
26177 _ACEOF
26180 done
26188 LIBS="$ac_save_LIBS"
26189 CXXFLAGS="$ac_save_CXXFLAGS"
26192 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26193 ac_save_CXXFLAGS="$CXXFLAGS"
26194 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26198 $as_echo_n "checking for strtold declaration... " >&6; }
26199 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26200 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26201 $as_echo_n "(cached) " >&6
26202 else
26205 ac_ext=cpp
26206 ac_cpp='$CXXCPP $CPPFLAGS'
26207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26212 /* end confdefs.h. */
26213 #include <stdlib.h>
26215 main ()
26217 strtold(0, 0);
26219 return 0;
26221 _ACEOF
26222 if ac_fn_cxx_try_compile "$LINENO"; then :
26223 glibcxx_cv_func_strtold_use=yes
26224 else
26225 glibcxx_cv_func_strtold_use=no
26227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26228 ac_ext=c
26229 ac_cpp='$CPP $CPPFLAGS'
26230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26239 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26240 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26241 for ac_func in strtold
26242 do :
26243 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26244 if test "x$ac_cv_func_strtold" = x""yes; then :
26245 cat >>confdefs.h <<_ACEOF
26246 #define HAVE_STRTOLD 1
26247 _ACEOF
26250 done
26257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26258 $as_echo_n "checking for strtof declaration... " >&6; }
26259 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26260 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26261 $as_echo_n "(cached) " >&6
26262 else
26265 ac_ext=cpp
26266 ac_cpp='$CXXCPP $CPPFLAGS'
26267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26272 /* end confdefs.h. */
26273 #include <stdlib.h>
26275 main ()
26277 strtof(0, 0);
26279 return 0;
26281 _ACEOF
26282 if ac_fn_cxx_try_compile "$LINENO"; then :
26283 glibcxx_cv_func_strtof_use=yes
26284 else
26285 glibcxx_cv_func_strtof_use=no
26287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26288 ac_ext=c
26289 ac_cpp='$CPP $CPPFLAGS'
26290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26299 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26300 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26301 for ac_func in strtof
26302 do :
26303 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26304 if test "x$ac_cv_func_strtof" = x""yes; then :
26305 cat >>confdefs.h <<_ACEOF
26306 #define HAVE_STRTOF 1
26307 _ACEOF
26310 done
26317 CXXFLAGS="$ac_save_CXXFLAGS"
26320 # For /dev/random and /dev/urandom for TR1.
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26324 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26325 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26326 $as_echo_n "(cached) " >&6
26327 else
26329 if test -r /dev/random && test -r /dev/urandom; then
26330 glibcxx_cv_random_tr1=yes;
26331 else
26332 glibcxx_cv_random_tr1=no;
26337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26338 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26340 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26342 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26348 # For TLS support.
26351 # Check whether --enable-tls was given.
26352 if test "${enable_tls+set}" = set; then :
26353 enableval=$enable_tls;
26354 case "$enableval" in
26355 yes|no) ;;
26356 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26357 esac
26359 else
26360 enable_tls=yes
26364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26365 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26366 if test "${gcc_cv_have_tls+set}" = set; then :
26367 $as_echo_n "(cached) " >&6
26368 else
26370 if test "$cross_compiling" = yes; then :
26371 if test x$gcc_no_link = xyes; then
26372 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26375 /* end confdefs.h. */
26376 __thread int a; int b; int main() { return a = b; }
26377 _ACEOF
26378 if ac_fn_c_try_link "$LINENO"; then :
26379 chktls_save_LDFLAGS="$LDFLAGS"
26380 case $host in
26381 *-*-linux*)
26382 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26384 esac
26385 chktls_save_CFLAGS="$CFLAGS"
26386 CFLAGS="-fPIC $CFLAGS"
26387 if test x$gcc_no_link = xyes; then
26388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26391 /* end confdefs.h. */
26392 int f() { return 0; }
26393 _ACEOF
26394 if ac_fn_c_try_link "$LINENO"; then :
26395 if test x$gcc_no_link = xyes; then
26396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26399 /* end confdefs.h. */
26400 __thread int a; int b; int f() { return a = b; }
26401 _ACEOF
26402 if ac_fn_c_try_link "$LINENO"; then :
26403 gcc_cv_have_tls=yes
26404 else
26405 gcc_cv_have_tls=no
26407 rm -f core conftest.err conftest.$ac_objext \
26408 conftest$ac_exeext conftest.$ac_ext
26409 else
26410 gcc_cv_have_tls=yes
26412 rm -f core conftest.err conftest.$ac_objext \
26413 conftest$ac_exeext conftest.$ac_ext
26414 CFLAGS="$chktls_save_CFLAGS"
26415 LDFLAGS="$chktls_save_LDFLAGS"
26416 else
26417 gcc_cv_have_tls=no
26419 rm -f core conftest.err conftest.$ac_objext \
26420 conftest$ac_exeext conftest.$ac_ext
26423 else
26424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26425 /* end confdefs.h. */
26426 __thread int a; int b; int main() { return a = b; }
26427 _ACEOF
26428 if ac_fn_c_try_run "$LINENO"; then :
26429 chktls_save_LDFLAGS="$LDFLAGS"
26430 LDFLAGS="-static $LDFLAGS"
26431 if test x$gcc_no_link = xyes; then
26432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26435 /* end confdefs.h. */
26436 int main() { return 0; }
26437 _ACEOF
26438 if ac_fn_c_try_link "$LINENO"; then :
26439 if test "$cross_compiling" = yes; then :
26440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26442 as_fn_error "cannot run test program while cross compiling
26443 See \`config.log' for more details." "$LINENO" 5; }
26444 else
26445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26446 /* end confdefs.h. */
26447 __thread int a; int b; int main() { return a = b; }
26448 _ACEOF
26449 if ac_fn_c_try_run "$LINENO"; then :
26450 gcc_cv_have_tls=yes
26451 else
26452 gcc_cv_have_tls=no
26454 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26455 conftest.$ac_objext conftest.beam conftest.$ac_ext
26458 else
26459 gcc_cv_have_tls=yes
26461 rm -f core conftest.err conftest.$ac_objext \
26462 conftest$ac_exeext conftest.$ac_ext
26463 LDFLAGS="$chktls_save_LDFLAGS"
26464 if test $gcc_cv_have_tls = yes; then
26465 chktls_save_CFLAGS="$CFLAGS"
26466 thread_CFLAGS=failed
26467 for flag in '' '-pthread' '-lpthread'; do
26468 CFLAGS="$flag $chktls_save_CFLAGS"
26469 if test x$gcc_no_link = xyes; then
26470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26473 /* end confdefs.h. */
26474 #include <pthread.h>
26475 void *g(void *d) { return NULL; }
26477 main ()
26479 pthread_t t; pthread_create(&t,NULL,g,NULL);
26481 return 0;
26483 _ACEOF
26484 if ac_fn_c_try_link "$LINENO"; then :
26485 thread_CFLAGS="$flag"
26487 rm -f core conftest.err conftest.$ac_objext \
26488 conftest$ac_exeext conftest.$ac_ext
26489 if test "X$thread_CFLAGS" != Xfailed; then
26490 break
26492 done
26493 CFLAGS="$chktls_save_CFLAGS"
26494 if test "X$thread_CFLAGS" != Xfailed; then
26495 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26496 if test "$cross_compiling" = yes; then :
26497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26499 as_fn_error "cannot run test program while cross compiling
26500 See \`config.log' for more details." "$LINENO" 5; }
26501 else
26502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26503 /* end confdefs.h. */
26504 #include <pthread.h>
26505 __thread int a;
26506 static int *volatile a_in_other_thread;
26507 static void *
26508 thread_func (void *arg)
26510 a_in_other_thread = &a;
26511 return (void *)0;
26514 main ()
26516 pthread_t thread;
26517 void *thread_retval;
26518 int *volatile a_in_main_thread;
26519 a_in_main_thread = &a;
26520 if (pthread_create (&thread, (pthread_attr_t *)0,
26521 thread_func, (void *)0))
26522 return 0;
26523 if (pthread_join (thread, &thread_retval))
26524 return 0;
26525 return (a_in_other_thread == a_in_main_thread);
26527 return 0;
26529 _ACEOF
26530 if ac_fn_c_try_run "$LINENO"; then :
26531 gcc_cv_have_tls=yes
26532 else
26533 gcc_cv_have_tls=no
26535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26536 conftest.$ac_objext conftest.beam conftest.$ac_ext
26539 CFLAGS="$chktls_save_CFLAGS"
26542 else
26543 gcc_cv_have_tls=no
26545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26546 conftest.$ac_objext conftest.beam conftest.$ac_ext
26550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26551 $as_echo "$gcc_cv_have_tls" >&6; }
26552 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26554 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26558 # For iconv support.
26560 if test "X$prefix" = "XNONE"; then
26561 acl_final_prefix="$ac_default_prefix"
26562 else
26563 acl_final_prefix="$prefix"
26565 if test "X$exec_prefix" = "XNONE"; then
26566 acl_final_exec_prefix='${prefix}'
26567 else
26568 acl_final_exec_prefix="$exec_prefix"
26570 acl_save_prefix="$prefix"
26571 prefix="$acl_final_prefix"
26572 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26573 prefix="$acl_save_prefix"
26576 # Check whether --with-gnu-ld was given.
26577 if test "${with_gnu_ld+set}" = set; then :
26578 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26579 else
26580 with_gnu_ld=no
26583 # Prepare PATH_SEPARATOR.
26584 # The user is always right.
26585 if test "${PATH_SEPARATOR+set}" != set; then
26586 echo "#! /bin/sh" >conf$$.sh
26587 echo "exit 0" >>conf$$.sh
26588 chmod +x conf$$.sh
26589 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26590 PATH_SEPARATOR=';'
26591 else
26592 PATH_SEPARATOR=:
26594 rm -f conf$$.sh
26596 ac_prog=ld
26597 if test "$GCC" = yes; then
26598 # Check if gcc -print-prog-name=ld gives a path.
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26600 $as_echo_n "checking for ld used by GCC... " >&6; }
26601 case $host in
26602 *-*-mingw*)
26603 # gcc leaves a trailing carriage return which upsets mingw
26604 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26606 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26607 esac
26608 case $ac_prog in
26609 # Accept absolute paths.
26610 [\\/]* | [A-Za-z]:[\\/]*)
26611 re_direlt='/[^/][^/]*/\.\./'
26612 # Canonicalize the path of ld
26613 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26614 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26615 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26616 done
26617 test -z "$LD" && LD="$ac_prog"
26620 # If it fails, then pretend we aren't using GCC.
26621 ac_prog=ld
26624 # If it is relative, then search for the first ld in PATH.
26625 with_gnu_ld=unknown
26627 esac
26628 elif test "$with_gnu_ld" = yes; then
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26630 $as_echo_n "checking for GNU ld... " >&6; }
26631 else
26632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26633 $as_echo_n "checking for non-GNU ld... " >&6; }
26635 if test "${acl_cv_path_LD+set}" = set; then :
26636 $as_echo_n "(cached) " >&6
26637 else
26638 if test -z "$LD"; then
26639 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26640 for ac_dir in $PATH; do
26641 test -z "$ac_dir" && ac_dir=.
26642 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26643 acl_cv_path_LD="$ac_dir/$ac_prog"
26644 # Check to see if the program is GNU ld. I'd rather use --version,
26645 # but apparently some GNU ld's only accept -v.
26646 # Break only if it was the GNU/non-GNU ld that we prefer.
26647 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26648 test "$with_gnu_ld" != no && break
26649 else
26650 test "$with_gnu_ld" != yes && break
26653 done
26654 IFS="$ac_save_ifs"
26655 else
26656 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26660 LD="$acl_cv_path_LD"
26661 if test -n "$LD"; then
26662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26663 $as_echo "$LD" >&6; }
26664 else
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26666 $as_echo "no" >&6; }
26668 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26670 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26671 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26672 $as_echo_n "(cached) " >&6
26673 else
26674 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26675 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26676 acl_cv_prog_gnu_ld=yes
26677 else
26678 acl_cv_prog_gnu_ld=no
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26682 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26683 with_gnu_ld=$acl_cv_prog_gnu_ld
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26688 $as_echo_n "checking for shared library run path origin... " >&6; }
26689 if test "${acl_cv_rpath+set}" = set; then :
26690 $as_echo_n "(cached) " >&6
26691 else
26693 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26694 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26695 . ./conftest.sh
26696 rm -f ./conftest.sh
26697 acl_cv_rpath=done
26700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26701 $as_echo "$acl_cv_rpath" >&6; }
26702 wl="$acl_cv_wl"
26703 libext="$acl_cv_libext"
26704 shlibext="$acl_cv_shlibext"
26705 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26706 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26707 hardcode_direct="$acl_cv_hardcode_direct"
26708 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26709 # Check whether --enable-rpath was given.
26710 if test "${enable_rpath+set}" = set; then :
26711 enableval=$enable_rpath; :
26712 else
26713 enable_rpath=yes
26723 use_additional=yes
26725 acl_save_prefix="$prefix"
26726 prefix="$acl_final_prefix"
26727 acl_save_exec_prefix="$exec_prefix"
26728 exec_prefix="$acl_final_exec_prefix"
26730 eval additional_includedir=\"$includedir\"
26731 eval additional_libdir=\"$libdir\"
26733 exec_prefix="$acl_save_exec_prefix"
26734 prefix="$acl_save_prefix"
26737 # Check whether --with-libiconv-prefix was given.
26738 if test "${with_libiconv_prefix+set}" = set; then :
26739 withval=$with_libiconv_prefix;
26740 if test "X$withval" = "Xno"; then
26741 use_additional=no
26742 else
26743 if test "X$withval" = "X"; then
26745 acl_save_prefix="$prefix"
26746 prefix="$acl_final_prefix"
26747 acl_save_exec_prefix="$exec_prefix"
26748 exec_prefix="$acl_final_exec_prefix"
26750 eval additional_includedir=\"$includedir\"
26751 eval additional_libdir=\"$libdir\"
26753 exec_prefix="$acl_save_exec_prefix"
26754 prefix="$acl_save_prefix"
26756 else
26757 additional_includedir="$withval/include"
26758 additional_libdir="$withval/lib"
26764 LIBICONV=
26765 LTLIBICONV=
26766 INCICONV=
26767 rpathdirs=
26768 ltrpathdirs=
26769 names_already_handled=
26770 names_next_round='iconv '
26771 while test -n "$names_next_round"; do
26772 names_this_round="$names_next_round"
26773 names_next_round=
26774 for name in $names_this_round; do
26775 already_handled=
26776 for n in $names_already_handled; do
26777 if test "$n" = "$name"; then
26778 already_handled=yes
26779 break
26781 done
26782 if test -z "$already_handled"; then
26783 names_already_handled="$names_already_handled $name"
26784 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26785 eval value=\"\$HAVE_LIB$uppername\"
26786 if test -n "$value"; then
26787 if test "$value" = yes; then
26788 eval value=\"\$LIB$uppername\"
26789 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26790 eval value=\"\$LTLIB$uppername\"
26791 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26792 else
26795 else
26796 found_dir=
26797 found_la=
26798 found_so=
26799 found_a=
26800 if test $use_additional = yes; then
26801 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26802 found_dir="$additional_libdir"
26803 found_so="$additional_libdir/lib$name.$shlibext"
26804 if test -f "$additional_libdir/lib$name.la"; then
26805 found_la="$additional_libdir/lib$name.la"
26807 else
26808 if test -f "$additional_libdir/lib$name.$libext"; then
26809 found_dir="$additional_libdir"
26810 found_a="$additional_libdir/lib$name.$libext"
26811 if test -f "$additional_libdir/lib$name.la"; then
26812 found_la="$additional_libdir/lib$name.la"
26817 if test "X$found_dir" = "X"; then
26818 for x in $LDFLAGS $LTLIBICONV; do
26820 acl_save_prefix="$prefix"
26821 prefix="$acl_final_prefix"
26822 acl_save_exec_prefix="$exec_prefix"
26823 exec_prefix="$acl_final_exec_prefix"
26824 eval x=\"$x\"
26825 exec_prefix="$acl_save_exec_prefix"
26826 prefix="$acl_save_prefix"
26828 case "$x" in
26829 -L*)
26830 dir=`echo "X$x" | sed -e 's/^X-L//'`
26831 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26832 found_dir="$dir"
26833 found_so="$dir/lib$name.$shlibext"
26834 if test -f "$dir/lib$name.la"; then
26835 found_la="$dir/lib$name.la"
26837 else
26838 if test -f "$dir/lib$name.$libext"; then
26839 found_dir="$dir"
26840 found_a="$dir/lib$name.$libext"
26841 if test -f "$dir/lib$name.la"; then
26842 found_la="$dir/lib$name.la"
26847 esac
26848 if test "X$found_dir" != "X"; then
26849 break
26851 done
26853 if test "X$found_dir" != "X"; then
26854 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26855 if test "X$found_so" != "X"; then
26856 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26857 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26858 else
26859 haveit=
26860 for x in $ltrpathdirs; do
26861 if test "X$x" = "X$found_dir"; then
26862 haveit=yes
26863 break
26865 done
26866 if test -z "$haveit"; then
26867 ltrpathdirs="$ltrpathdirs $found_dir"
26869 if test "$hardcode_direct" = yes; then
26870 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26871 else
26872 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26873 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26874 haveit=
26875 for x in $rpathdirs; do
26876 if test "X$x" = "X$found_dir"; then
26877 haveit=yes
26878 break
26880 done
26881 if test -z "$haveit"; then
26882 rpathdirs="$rpathdirs $found_dir"
26884 else
26885 haveit=
26886 for x in $LDFLAGS $LIBICONV; do
26888 acl_save_prefix="$prefix"
26889 prefix="$acl_final_prefix"
26890 acl_save_exec_prefix="$exec_prefix"
26891 exec_prefix="$acl_final_exec_prefix"
26892 eval x=\"$x\"
26893 exec_prefix="$acl_save_exec_prefix"
26894 prefix="$acl_save_prefix"
26896 if test "X$x" = "X-L$found_dir"; then
26897 haveit=yes
26898 break
26900 done
26901 if test -z "$haveit"; then
26902 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26904 if test "$hardcode_minus_L" != no; then
26905 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26906 else
26907 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26912 else
26913 if test "X$found_a" != "X"; then
26914 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26915 else
26916 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26919 additional_includedir=
26920 case "$found_dir" in
26921 */lib | */lib/)
26922 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26923 additional_includedir="$basedir/include"
26925 esac
26926 if test "X$additional_includedir" != "X"; then
26927 if test "X$additional_includedir" != "X/usr/include"; then
26928 haveit=
26929 if test "X$additional_includedir" = "X/usr/local/include"; then
26930 if test -n "$GCC"; then
26931 case $host_os in
26932 linux*) haveit=yes;;
26933 esac
26936 if test -z "$haveit"; then
26937 for x in $CPPFLAGS $INCICONV; do
26939 acl_save_prefix="$prefix"
26940 prefix="$acl_final_prefix"
26941 acl_save_exec_prefix="$exec_prefix"
26942 exec_prefix="$acl_final_exec_prefix"
26943 eval x=\"$x\"
26944 exec_prefix="$acl_save_exec_prefix"
26945 prefix="$acl_save_prefix"
26947 if test "X$x" = "X-I$additional_includedir"; then
26948 haveit=yes
26949 break
26951 done
26952 if test -z "$haveit"; then
26953 if test -d "$additional_includedir"; then
26954 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26960 if test -n "$found_la"; then
26961 save_libdir="$libdir"
26962 case "$found_la" in
26963 */* | *\\*) . "$found_la" ;;
26964 *) . "./$found_la" ;;
26965 esac
26966 libdir="$save_libdir"
26967 for dep in $dependency_libs; do
26968 case "$dep" in
26969 -L*)
26970 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26971 if test "X$additional_libdir" != "X/usr/lib"; then
26972 haveit=
26973 if test "X$additional_libdir" = "X/usr/local/lib"; then
26974 if test -n "$GCC"; then
26975 case $host_os in
26976 linux*) haveit=yes;;
26977 esac
26980 if test -z "$haveit"; then
26981 haveit=
26982 for x in $LDFLAGS $LIBICONV; do
26984 acl_save_prefix="$prefix"
26985 prefix="$acl_final_prefix"
26986 acl_save_exec_prefix="$exec_prefix"
26987 exec_prefix="$acl_final_exec_prefix"
26988 eval x=\"$x\"
26989 exec_prefix="$acl_save_exec_prefix"
26990 prefix="$acl_save_prefix"
26992 if test "X$x" = "X-L$additional_libdir"; then
26993 haveit=yes
26994 break
26996 done
26997 if test -z "$haveit"; then
26998 if test -d "$additional_libdir"; then
26999 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27002 haveit=
27003 for x in $LDFLAGS $LTLIBICONV; do
27005 acl_save_prefix="$prefix"
27006 prefix="$acl_final_prefix"
27007 acl_save_exec_prefix="$exec_prefix"
27008 exec_prefix="$acl_final_exec_prefix"
27009 eval x=\"$x\"
27010 exec_prefix="$acl_save_exec_prefix"
27011 prefix="$acl_save_prefix"
27013 if test "X$x" = "X-L$additional_libdir"; then
27014 haveit=yes
27015 break
27017 done
27018 if test -z "$haveit"; then
27019 if test -d "$additional_libdir"; then
27020 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27026 -R*)
27027 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27028 if test "$enable_rpath" != no; then
27029 haveit=
27030 for x in $rpathdirs; do
27031 if test "X$x" = "X$dir"; then
27032 haveit=yes
27033 break
27035 done
27036 if test -z "$haveit"; then
27037 rpathdirs="$rpathdirs $dir"
27039 haveit=
27040 for x in $ltrpathdirs; do
27041 if test "X$x" = "X$dir"; then
27042 haveit=yes
27043 break
27045 done
27046 if test -z "$haveit"; then
27047 ltrpathdirs="$ltrpathdirs $dir"
27051 -l*)
27052 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27054 *.la)
27055 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27058 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27059 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27061 esac
27062 done
27064 else
27065 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27066 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27070 done
27071 done
27072 if test "X$rpathdirs" != "X"; then
27073 if test -n "$hardcode_libdir_separator"; then
27074 alldirs=
27075 for found_dir in $rpathdirs; do
27076 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27077 done
27078 acl_save_libdir="$libdir"
27079 libdir="$alldirs"
27080 eval flag=\"$hardcode_libdir_flag_spec\"
27081 libdir="$acl_save_libdir"
27082 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27083 else
27084 for found_dir in $rpathdirs; do
27085 acl_save_libdir="$libdir"
27086 libdir="$found_dir"
27087 eval flag=\"$hardcode_libdir_flag_spec\"
27088 libdir="$acl_save_libdir"
27089 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27090 done
27093 if test "X$ltrpathdirs" != "X"; then
27094 for found_dir in $ltrpathdirs; do
27095 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27096 done
27105 am_save_CPPFLAGS="$CPPFLAGS"
27107 for element in $INCICONV; do
27108 haveit=
27109 for x in $CPPFLAGS; do
27111 acl_save_prefix="$prefix"
27112 prefix="$acl_final_prefix"
27113 acl_save_exec_prefix="$exec_prefix"
27114 exec_prefix="$acl_final_exec_prefix"
27115 eval x=\"$x\"
27116 exec_prefix="$acl_save_exec_prefix"
27117 prefix="$acl_save_prefix"
27119 if test "X$x" = "X$element"; then
27120 haveit=yes
27121 break
27123 done
27124 if test -z "$haveit"; then
27125 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27127 done
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27131 $as_echo_n "checking for iconv... " >&6; }
27132 if test "${am_cv_func_iconv+set}" = set; then :
27133 $as_echo_n "(cached) " >&6
27134 else
27136 am_cv_func_iconv="no, consider installing GNU libiconv"
27137 am_cv_lib_iconv=no
27138 if test x$gcc_no_link = xyes; then
27139 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27142 /* end confdefs.h. */
27143 #include <stdlib.h>
27144 #include <iconv.h>
27146 main ()
27148 iconv_t cd = iconv_open("","");
27149 iconv(cd,NULL,NULL,NULL,NULL);
27150 iconv_close(cd);
27152 return 0;
27154 _ACEOF
27155 if ac_fn_c_try_link "$LINENO"; then :
27156 am_cv_func_iconv=yes
27158 rm -f core conftest.err conftest.$ac_objext \
27159 conftest$ac_exeext conftest.$ac_ext
27160 if test "$am_cv_func_iconv" != yes; then
27161 am_save_LIBS="$LIBS"
27162 LIBS="$LIBS $LIBICONV"
27163 if test x$gcc_no_link = xyes; then
27164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27167 /* end confdefs.h. */
27168 #include <stdlib.h>
27169 #include <iconv.h>
27171 main ()
27173 iconv_t cd = iconv_open("","");
27174 iconv(cd,NULL,NULL,NULL,NULL);
27175 iconv_close(cd);
27177 return 0;
27179 _ACEOF
27180 if ac_fn_c_try_link "$LINENO"; then :
27181 am_cv_lib_iconv=yes
27182 am_cv_func_iconv=yes
27184 rm -f core conftest.err conftest.$ac_objext \
27185 conftest$ac_exeext conftest.$ac_ext
27186 LIBS="$am_save_LIBS"
27190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27191 $as_echo "$am_cv_func_iconv" >&6; }
27192 if test "$am_cv_func_iconv" = yes; then
27194 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27197 if test "$am_cv_lib_iconv" = yes; then
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27199 $as_echo_n "checking how to link with libiconv... " >&6; }
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27201 $as_echo "$LIBICONV" >&6; }
27202 else
27203 CPPFLAGS="$am_save_CPPFLAGS"
27204 LIBICONV=
27205 LTLIBICONV=
27210 if test "$am_cv_func_iconv" = yes; then
27211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27212 $as_echo_n "checking for iconv declaration... " >&6; }
27213 if test "${am_cv_proto_iconv+set}" = set; then :
27214 $as_echo_n "(cached) " >&6
27215 else
27217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27218 /* end confdefs.h. */
27220 #include <stdlib.h>
27221 #include <iconv.h>
27222 extern
27223 #ifdef __cplusplus
27225 #endif
27226 #if defined(__STDC__) || defined(__cplusplus)
27227 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27228 #else
27229 size_t iconv();
27230 #endif
27233 main ()
27237 return 0;
27239 _ACEOF
27240 if ac_fn_c_try_compile "$LINENO"; then :
27241 am_cv_proto_iconv_arg1=""
27242 else
27243 am_cv_proto_iconv_arg1="const"
27245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27246 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);"
27249 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27251 }$am_cv_proto_iconv" >&5
27252 $as_echo "${ac_t:-
27253 }$am_cv_proto_iconv" >&6; }
27255 cat >>confdefs.h <<_ACEOF
27256 #define ICONV_CONST $am_cv_proto_iconv_arg1
27257 _ACEOF
27262 else
27264 # This lets us hard-code the functionality we know we'll have in the cross
27265 # target environment. "Let" is a sugar-coated word placed on an especially
27266 # dull and tedious hack, actually.
27268 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27269 # that involve linking, can't be used:
27270 # "cannot open sim-crt0.o"
27271 # "cannot open crt0.o"
27272 # etc. All this is because there currently exists no unified, consistent
27273 # way for top level CC information to be passed down to target directories:
27274 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27275 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27276 # crosses can be removed.
27278 # If Canadian cross, then don't pick up tools from the build directory.
27279 # Used only in GLIBCXX_EXPORT_INCLUDES.
27280 if test -n "$with_cross_host" &&
27281 test x"$build_alias" != x"$with_cross_host" &&
27282 test x"$build" != x"$target";
27283 then
27284 CANADIAN=yes
27285 else
27286 CANADIAN=no
27289 # Construct crosses by hand, eliminating bits that need ld...
27290 # GLIBCXX_CHECK_MATH_SUPPORT
27292 # First, test for "known" system libraries. We may be using newlib even
27293 # on a hosted environment.
27294 if test "x${with_newlib}" = "xyes"; then
27295 os_include_dir="os/newlib"
27296 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27299 # GLIBCXX_CHECK_STDLIB_SUPPORT
27300 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27303 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27305 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27307 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27309 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27311 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27313 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27315 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27317 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27319 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27321 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27323 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27325 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27327 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27329 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27331 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27333 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27335 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27337 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27339 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27341 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27343 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27345 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27348 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27350 else
27352 # Base decisions on target environment.
27353 case "${host}" in
27354 arm*-*-symbianelf*)
27355 # This is a freestanding configuration; there is nothing to do here.
27358 mips*-sde-elf*)
27359 # These definitions are for the SDE C library rather than newlib.
27360 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27363 # All these tests are for C++; save the language and the compiler flags.
27364 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27365 # found in GLIBCXX_CONFIGURE.
27367 ac_ext=cpp
27368 ac_cpp='$CXXCPP $CPPFLAGS'
27369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27373 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27374 ac_save_CXXFLAGS="$CXXFLAGS"
27376 # Check for maintainer-mode bits.
27377 if test x"$USE_MAINTAINER_MODE" = xno; then
27378 WERROR=''
27379 else
27380 WERROR='-Werror'
27383 # Check for -ffunction-sections -fdata-sections
27384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27385 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27386 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27388 /* end confdefs.h. */
27389 int foo; void bar() { };
27391 main ()
27395 return 0;
27397 _ACEOF
27398 if ac_fn_cxx_try_compile "$LINENO"; then :
27399 ac_fdsections=yes
27400 else
27401 ac_fdsections=no
27403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27404 if test "$ac_test_CXXFLAGS" = set; then
27405 CXXFLAGS="$ac_save_CXXFLAGS"
27406 else
27407 # this is the suspicious part
27408 CXXFLAGS=''
27410 if test x"$ac_fdsections" = x"yes"; then
27411 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27414 $as_echo "$ac_fdsections" >&6; }
27416 ac_ext=c
27417 ac_cpp='$CPP $CPPFLAGS'
27418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27426 # If we're not using GNU ld, then there's no point in even trying these
27427 # tests. Check for that first. We should have already tested for gld
27428 # by now (in libtool), but require it now just to be safe...
27429 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27430 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27434 # The name set by libtool depends on the version of libtool. Shame on us
27435 # for depending on an impl detail, but c'est la vie. Older versions used
27436 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27437 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27438 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27439 # set (hence we're using an older libtool), then set it.
27440 if test x${with_gnu_ld+set} != xset; then
27441 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27442 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27443 with_gnu_ld=no
27444 else
27445 with_gnu_ld=$ac_cv_prog_gnu_ld
27449 # Start by getting the version number. I think the libtool test already
27450 # does some of this, but throws away the result.
27451 glibcxx_ld_is_gold=no
27452 if test x"$with_gnu_ld" = x"yes"; then
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27454 $as_echo_n "checking for ld version... " >&6; }
27456 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27457 glibcxx_ld_is_gold=yes
27459 ldver=`$LD --version 2>/dev/null |
27460 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'`
27462 glibcxx_gnu_ld_version=`echo $ldver | \
27463 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27465 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27468 # Set --gc-sections.
27469 glibcxx_have_gc_sections=no
27470 if test "$glibcxx_ld_is_gold" = "yes"; then
27471 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27472 glibcxx_have_gc_sections=yes
27474 else
27475 glibcxx_gcsections_min_ld=21602
27476 if test x"$with_gnu_ld" = x"yes" &&
27477 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27478 glibcxx_have_gc_sections=yes
27481 if test "$glibcxx_have_gc_sections" = "yes"; then
27482 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27483 # NB: This flag only works reliably after 2.16.1. Configure tests
27484 # for this are difficult, so hard wire a value that should work.
27486 ac_test_CFLAGS="${CFLAGS+set}"
27487 ac_save_CFLAGS="$CFLAGS"
27488 CFLAGS='-Wl,--gc-sections'
27490 # Check for -Wl,--gc-sections
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27492 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27493 if test x$gcc_no_link = xyes; then
27494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27497 /* end confdefs.h. */
27498 int one(void) { return 1; }
27499 int two(void) { return 2; }
27502 main ()
27504 two();
27506 return 0;
27508 _ACEOF
27509 if ac_fn_c_try_link "$LINENO"; then :
27510 ac_gcsections=yes
27511 else
27512 ac_gcsections=no
27514 rm -f core conftest.err conftest.$ac_objext \
27515 conftest$ac_exeext conftest.$ac_ext
27516 if test "$ac_gcsections" = "yes"; then
27517 rm -f conftest.c
27518 touch conftest.c
27519 if $CC -c conftest.c; then
27520 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27521 grep "Warning: gc-sections option ignored" > /dev/null; then
27522 ac_gcsections=no
27525 rm -f conftest.c conftest.o conftest
27527 if test "$ac_gcsections" = "yes"; then
27528 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27531 $as_echo "$ac_gcsections" >&6; }
27533 if test "$ac_test_CFLAGS" = set; then
27534 CFLAGS="$ac_save_CFLAGS"
27535 else
27536 # this is the suspicious part
27537 CFLAGS=''
27541 # Set -z,relro.
27542 # Note this is only for shared objects.
27543 ac_ld_relro=no
27544 if test x"$with_gnu_ld" = x"yes"; then
27545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27546 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27547 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27548 if test -n "$cxx_z_relo"; then
27549 OPT_LDFLAGS="-Wl,-z,relro"
27550 ac_ld_relro=yes
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27553 $as_echo "$ac_ld_relro" >&6; }
27556 # Set linker optimization flags.
27557 if test x"$with_gnu_ld" = x"yes"; then
27558 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27565 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27566 ac_save_CXXFLAGS="$CXXFLAGS"
27567 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27570 $as_echo_n "checking for sin in -lm... " >&6; }
27571 if test "${ac_cv_lib_m_sin+set}" = set; then :
27572 $as_echo_n "(cached) " >&6
27573 else
27574 ac_check_lib_save_LIBS=$LIBS
27575 LIBS="-lm $LIBS"
27576 if test x$gcc_no_link = xyes; then
27577 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27580 /* end confdefs.h. */
27582 /* Override any GCC internal prototype to avoid an error.
27583 Use char because int might match the return type of a GCC
27584 builtin and then its argument prototype would still apply. */
27585 #ifdef __cplusplus
27586 extern "C"
27587 #endif
27588 char sin ();
27590 main ()
27592 return sin ();
27594 return 0;
27596 _ACEOF
27597 if ac_fn_c_try_link "$LINENO"; then :
27598 ac_cv_lib_m_sin=yes
27599 else
27600 ac_cv_lib_m_sin=no
27602 rm -f core conftest.err conftest.$ac_objext \
27603 conftest$ac_exeext conftest.$ac_ext
27604 LIBS=$ac_check_lib_save_LIBS
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27607 $as_echo "$ac_cv_lib_m_sin" >&6; }
27608 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27609 libm="-lm"
27612 ac_save_LIBS="$LIBS"
27613 LIBS="$LIBS $libm"
27617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27618 $as_echo_n "checking for isinf declaration... " >&6; }
27619 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27620 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27621 $as_echo_n "(cached) " >&6
27622 else
27625 ac_ext=cpp
27626 ac_cpp='$CXXCPP $CPPFLAGS'
27627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27632 /* end confdefs.h. */
27633 #include <math.h>
27634 #ifdef HAVE_IEEEFP_H
27635 #include <ieeefp.h>
27636 #endif
27639 main ()
27641 isinf(0);
27643 return 0;
27645 _ACEOF
27646 if ac_fn_cxx_try_compile "$LINENO"; then :
27647 glibcxx_cv_func_isinf_use=yes
27648 else
27649 glibcxx_cv_func_isinf_use=no
27651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27652 ac_ext=c
27653 ac_cpp='$CPP $CPPFLAGS'
27654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27663 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27665 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27666 for ac_func in isinf
27667 do :
27668 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27669 if test "x$ac_cv_func_isinf" = x""yes; then :
27670 cat >>confdefs.h <<_ACEOF
27671 #define HAVE_ISINF 1
27672 _ACEOF
27675 done
27677 else
27679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27680 $as_echo_n "checking for _isinf declaration... " >&6; }
27681 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27682 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27683 $as_echo_n "(cached) " >&6
27684 else
27687 ac_ext=cpp
27688 ac_cpp='$CXXCPP $CPPFLAGS'
27689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27694 /* end confdefs.h. */
27695 #include <math.h>
27696 #ifdef HAVE_IEEEFP_H
27697 #include <ieeefp.h>
27698 #endif
27701 main ()
27703 _isinf(0);
27705 return 0;
27707 _ACEOF
27708 if ac_fn_cxx_try_compile "$LINENO"; then :
27709 glibcxx_cv_func__isinf_use=yes
27710 else
27711 glibcxx_cv_func__isinf_use=no
27713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27714 ac_ext=c
27715 ac_cpp='$CPP $CPPFLAGS'
27716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27725 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27727 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27728 for ac_func in _isinf
27729 do :
27730 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27731 if test "x$ac_cv_func__isinf" = x""yes; then :
27732 cat >>confdefs.h <<_ACEOF
27733 #define HAVE__ISINF 1
27734 _ACEOF
27737 done
27746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27747 $as_echo_n "checking for isnan declaration... " >&6; }
27748 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27749 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27750 $as_echo_n "(cached) " >&6
27751 else
27754 ac_ext=cpp
27755 ac_cpp='$CXXCPP $CPPFLAGS'
27756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27761 /* end confdefs.h. */
27762 #include <math.h>
27763 #ifdef HAVE_IEEEFP_H
27764 #include <ieeefp.h>
27765 #endif
27768 main ()
27770 isnan(0);
27772 return 0;
27774 _ACEOF
27775 if ac_fn_cxx_try_compile "$LINENO"; then :
27776 glibcxx_cv_func_isnan_use=yes
27777 else
27778 glibcxx_cv_func_isnan_use=no
27780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27781 ac_ext=c
27782 ac_cpp='$CPP $CPPFLAGS'
27783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27792 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27794 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27795 for ac_func in isnan
27796 do :
27797 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27798 if test "x$ac_cv_func_isnan" = x""yes; then :
27799 cat >>confdefs.h <<_ACEOF
27800 #define HAVE_ISNAN 1
27801 _ACEOF
27804 done
27806 else
27808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27809 $as_echo_n "checking for _isnan declaration... " >&6; }
27810 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27811 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27812 $as_echo_n "(cached) " >&6
27813 else
27816 ac_ext=cpp
27817 ac_cpp='$CXXCPP $CPPFLAGS'
27818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27823 /* end confdefs.h. */
27824 #include <math.h>
27825 #ifdef HAVE_IEEEFP_H
27826 #include <ieeefp.h>
27827 #endif
27830 main ()
27832 _isnan(0);
27834 return 0;
27836 _ACEOF
27837 if ac_fn_cxx_try_compile "$LINENO"; then :
27838 glibcxx_cv_func__isnan_use=yes
27839 else
27840 glibcxx_cv_func__isnan_use=no
27842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27843 ac_ext=c
27844 ac_cpp='$CPP $CPPFLAGS'
27845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27854 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27856 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27857 for ac_func in _isnan
27858 do :
27859 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27860 if test "x$ac_cv_func__isnan" = x""yes; then :
27861 cat >>confdefs.h <<_ACEOF
27862 #define HAVE__ISNAN 1
27863 _ACEOF
27866 done
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27876 $as_echo_n "checking for finite declaration... " >&6; }
27877 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27878 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27879 $as_echo_n "(cached) " >&6
27880 else
27883 ac_ext=cpp
27884 ac_cpp='$CXXCPP $CPPFLAGS'
27885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27890 /* end confdefs.h. */
27891 #include <math.h>
27892 #ifdef HAVE_IEEEFP_H
27893 #include <ieeefp.h>
27894 #endif
27897 main ()
27899 finite(0);
27901 return 0;
27903 _ACEOF
27904 if ac_fn_cxx_try_compile "$LINENO"; then :
27905 glibcxx_cv_func_finite_use=yes
27906 else
27907 glibcxx_cv_func_finite_use=no
27909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27910 ac_ext=c
27911 ac_cpp='$CPP $CPPFLAGS'
27912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27921 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27923 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27924 for ac_func in finite
27925 do :
27926 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27927 if test "x$ac_cv_func_finite" = x""yes; then :
27928 cat >>confdefs.h <<_ACEOF
27929 #define HAVE_FINITE 1
27930 _ACEOF
27933 done
27935 else
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27938 $as_echo_n "checking for _finite declaration... " >&6; }
27939 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27940 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27941 $as_echo_n "(cached) " >&6
27942 else
27945 ac_ext=cpp
27946 ac_cpp='$CXXCPP $CPPFLAGS'
27947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27952 /* end confdefs.h. */
27953 #include <math.h>
27954 #ifdef HAVE_IEEEFP_H
27955 #include <ieeefp.h>
27956 #endif
27959 main ()
27961 _finite(0);
27963 return 0;
27965 _ACEOF
27966 if ac_fn_cxx_try_compile "$LINENO"; then :
27967 glibcxx_cv_func__finite_use=yes
27968 else
27969 glibcxx_cv_func__finite_use=no
27971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27972 ac_ext=c
27973 ac_cpp='$CPP $CPPFLAGS'
27974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27983 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27985 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27986 for ac_func in _finite
27987 do :
27988 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27989 if test "x$ac_cv_func__finite" = x""yes; then :
27990 cat >>confdefs.h <<_ACEOF
27991 #define HAVE__FINITE 1
27992 _ACEOF
27995 done
28004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28005 $as_echo_n "checking for sincos declaration... " >&6; }
28006 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28007 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28008 $as_echo_n "(cached) " >&6
28009 else
28012 ac_ext=cpp
28013 ac_cpp='$CXXCPP $CPPFLAGS'
28014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28019 /* end confdefs.h. */
28020 #include <math.h>
28022 main ()
28024 sincos(0, 0, 0);
28026 return 0;
28028 _ACEOF
28029 if ac_fn_cxx_try_compile "$LINENO"; then :
28030 glibcxx_cv_func_sincos_use=yes
28031 else
28032 glibcxx_cv_func_sincos_use=no
28034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28035 ac_ext=c
28036 ac_cpp='$CPP $CPPFLAGS'
28037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28046 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28048 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28049 for ac_func in sincos
28050 do :
28051 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28052 if test "x$ac_cv_func_sincos" = x""yes; then :
28053 cat >>confdefs.h <<_ACEOF
28054 #define HAVE_SINCOS 1
28055 _ACEOF
28058 done
28060 else
28062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28063 $as_echo_n "checking for _sincos declaration... " >&6; }
28064 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28065 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28066 $as_echo_n "(cached) " >&6
28067 else
28070 ac_ext=cpp
28071 ac_cpp='$CXXCPP $CPPFLAGS'
28072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28077 /* end confdefs.h. */
28078 #include <math.h>
28080 main ()
28082 _sincos(0, 0, 0);
28084 return 0;
28086 _ACEOF
28087 if ac_fn_cxx_try_compile "$LINENO"; then :
28088 glibcxx_cv_func__sincos_use=yes
28089 else
28090 glibcxx_cv_func__sincos_use=no
28092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28093 ac_ext=c
28094 ac_cpp='$CPP $CPPFLAGS'
28095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28104 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28106 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28107 for ac_func in _sincos
28108 do :
28109 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28110 if test "x$ac_cv_func__sincos" = x""yes; then :
28111 cat >>confdefs.h <<_ACEOF
28112 #define HAVE__SINCOS 1
28113 _ACEOF
28116 done
28125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28126 $as_echo_n "checking for fpclass declaration... " >&6; }
28127 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28128 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28129 $as_echo_n "(cached) " >&6
28130 else
28133 ac_ext=cpp
28134 ac_cpp='$CXXCPP $CPPFLAGS'
28135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28140 /* end confdefs.h. */
28141 #include <math.h>
28142 #ifdef HAVE_IEEEFP_H
28143 #include <ieeefp.h>
28144 #endif
28147 main ()
28149 fpclass(0);
28151 return 0;
28153 _ACEOF
28154 if ac_fn_cxx_try_compile "$LINENO"; then :
28155 glibcxx_cv_func_fpclass_use=yes
28156 else
28157 glibcxx_cv_func_fpclass_use=no
28159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28160 ac_ext=c
28161 ac_cpp='$CPP $CPPFLAGS'
28162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28171 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28173 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28174 for ac_func in fpclass
28175 do :
28176 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28177 if test "x$ac_cv_func_fpclass" = x""yes; then :
28178 cat >>confdefs.h <<_ACEOF
28179 #define HAVE_FPCLASS 1
28180 _ACEOF
28183 done
28185 else
28187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28188 $as_echo_n "checking for _fpclass declaration... " >&6; }
28189 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28190 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28191 $as_echo_n "(cached) " >&6
28192 else
28195 ac_ext=cpp
28196 ac_cpp='$CXXCPP $CPPFLAGS'
28197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28202 /* end confdefs.h. */
28203 #include <math.h>
28204 #ifdef HAVE_IEEEFP_H
28205 #include <ieeefp.h>
28206 #endif
28209 main ()
28211 _fpclass(0);
28213 return 0;
28215 _ACEOF
28216 if ac_fn_cxx_try_compile "$LINENO"; then :
28217 glibcxx_cv_func__fpclass_use=yes
28218 else
28219 glibcxx_cv_func__fpclass_use=no
28221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28222 ac_ext=c
28223 ac_cpp='$CPP $CPPFLAGS'
28224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28233 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28235 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28236 for ac_func in _fpclass
28237 do :
28238 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28239 if test "x$ac_cv_func__fpclass" = x""yes; then :
28240 cat >>confdefs.h <<_ACEOF
28241 #define HAVE__FPCLASS 1
28242 _ACEOF
28245 done
28254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28255 $as_echo_n "checking for qfpclass declaration... " >&6; }
28256 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28257 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28258 $as_echo_n "(cached) " >&6
28259 else
28262 ac_ext=cpp
28263 ac_cpp='$CXXCPP $CPPFLAGS'
28264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28269 /* end confdefs.h. */
28270 #include <math.h>
28271 #ifdef HAVE_IEEEFP_H
28272 #include <ieeefp.h>
28273 #endif
28276 main ()
28278 qfpclass(0);
28280 return 0;
28282 _ACEOF
28283 if ac_fn_cxx_try_compile "$LINENO"; then :
28284 glibcxx_cv_func_qfpclass_use=yes
28285 else
28286 glibcxx_cv_func_qfpclass_use=no
28288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28289 ac_ext=c
28290 ac_cpp='$CPP $CPPFLAGS'
28291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28300 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28302 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28303 for ac_func in qfpclass
28304 do :
28305 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28306 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28307 cat >>confdefs.h <<_ACEOF
28308 #define HAVE_QFPCLASS 1
28309 _ACEOF
28312 done
28314 else
28316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28317 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28318 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28319 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28320 $as_echo_n "(cached) " >&6
28321 else
28324 ac_ext=cpp
28325 ac_cpp='$CXXCPP $CPPFLAGS'
28326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28331 /* end confdefs.h. */
28332 #include <math.h>
28333 #ifdef HAVE_IEEEFP_H
28334 #include <ieeefp.h>
28335 #endif
28338 main ()
28340 _qfpclass(0);
28342 return 0;
28344 _ACEOF
28345 if ac_fn_cxx_try_compile "$LINENO"; then :
28346 glibcxx_cv_func__qfpclass_use=yes
28347 else
28348 glibcxx_cv_func__qfpclass_use=no
28350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28351 ac_ext=c
28352 ac_cpp='$CPP $CPPFLAGS'
28353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28362 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28364 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28365 for ac_func in _qfpclass
28366 do :
28367 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28368 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28369 cat >>confdefs.h <<_ACEOF
28370 #define HAVE__QFPCLASS 1
28371 _ACEOF
28374 done
28383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28384 $as_echo_n "checking for hypot declaration... " >&6; }
28385 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28386 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28387 $as_echo_n "(cached) " >&6
28388 else
28391 ac_ext=cpp
28392 ac_cpp='$CXXCPP $CPPFLAGS'
28393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28398 /* end confdefs.h. */
28399 #include <math.h>
28401 main ()
28403 hypot(0, 0);
28405 return 0;
28407 _ACEOF
28408 if ac_fn_cxx_try_compile "$LINENO"; then :
28409 glibcxx_cv_func_hypot_use=yes
28410 else
28411 glibcxx_cv_func_hypot_use=no
28413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28414 ac_ext=c
28415 ac_cpp='$CPP $CPPFLAGS'
28416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28425 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28427 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28428 for ac_func in hypot
28429 do :
28430 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28431 if test "x$ac_cv_func_hypot" = x""yes; then :
28432 cat >>confdefs.h <<_ACEOF
28433 #define HAVE_HYPOT 1
28434 _ACEOF
28437 done
28439 else
28441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28442 $as_echo_n "checking for _hypot declaration... " >&6; }
28443 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28444 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28445 $as_echo_n "(cached) " >&6
28446 else
28449 ac_ext=cpp
28450 ac_cpp='$CXXCPP $CPPFLAGS'
28451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28456 /* end confdefs.h. */
28457 #include <math.h>
28459 main ()
28461 _hypot(0, 0);
28463 return 0;
28465 _ACEOF
28466 if ac_fn_cxx_try_compile "$LINENO"; then :
28467 glibcxx_cv_func__hypot_use=yes
28468 else
28469 glibcxx_cv_func__hypot_use=no
28471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28472 ac_ext=c
28473 ac_cpp='$CPP $CPPFLAGS'
28474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28483 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28485 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28486 for ac_func in _hypot
28487 do :
28488 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28489 if test "x$ac_cv_func__hypot" = x""yes; then :
28490 cat >>confdefs.h <<_ACEOF
28491 #define HAVE__HYPOT 1
28492 _ACEOF
28495 done
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28505 $as_echo_n "checking for float trig functions... " >&6; }
28506 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28507 $as_echo_n "(cached) " >&6
28508 else
28511 ac_ext=cpp
28512 ac_cpp='$CXXCPP $CPPFLAGS'
28513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28518 /* end confdefs.h. */
28519 #include <math.h>
28521 main ()
28523 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28525 return 0;
28527 _ACEOF
28528 if ac_fn_cxx_try_compile "$LINENO"; then :
28529 glibcxx_cv_func_float_trig_use=yes
28530 else
28531 glibcxx_cv_func_float_trig_use=no
28533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28534 ac_ext=c
28535 ac_cpp='$CPP $CPPFLAGS'
28536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28543 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28544 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28545 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28546 do :
28547 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28549 eval as_val=\$$as_ac_var
28550 if test "x$as_val" = x""yes; then :
28551 cat >>confdefs.h <<_ACEOF
28552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28553 _ACEOF
28556 done
28558 else
28559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28560 $as_echo_n "checking for _float trig functions... " >&6; }
28561 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28562 $as_echo_n "(cached) " >&6
28563 else
28566 ac_ext=cpp
28567 ac_cpp='$CXXCPP $CPPFLAGS'
28568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28573 /* end confdefs.h. */
28574 #include <math.h>
28576 main ()
28578 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28580 return 0;
28582 _ACEOF
28583 if ac_fn_cxx_try_compile "$LINENO"; then :
28584 glibcxx_cv_func__float_trig_use=yes
28585 else
28586 glibcxx_cv_func__float_trig_use=no
28588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28589 ac_ext=c
28590 ac_cpp='$CPP $CPPFLAGS'
28591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28598 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28599 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28600 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28601 do :
28602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28604 eval as_val=\$$as_ac_var
28605 if test "x$as_val" = x""yes; then :
28606 cat >>confdefs.h <<_ACEOF
28607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28608 _ACEOF
28611 done
28620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28621 $as_echo_n "checking for float round functions... " >&6; }
28622 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28623 $as_echo_n "(cached) " >&6
28624 else
28627 ac_ext=cpp
28628 ac_cpp='$CXXCPP $CPPFLAGS'
28629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28634 /* end confdefs.h. */
28635 #include <math.h>
28637 main ()
28639 ceilf (0); floorf (0);
28641 return 0;
28643 _ACEOF
28644 if ac_fn_cxx_try_compile "$LINENO"; then :
28645 glibcxx_cv_func_float_round_use=yes
28646 else
28647 glibcxx_cv_func_float_round_use=no
28649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28650 ac_ext=c
28651 ac_cpp='$CPP $CPPFLAGS'
28652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28659 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28660 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28661 for ac_func in ceilf floorf
28662 do :
28663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28665 eval as_val=\$$as_ac_var
28666 if test "x$as_val" = x""yes; then :
28667 cat >>confdefs.h <<_ACEOF
28668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28669 _ACEOF
28672 done
28674 else
28675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28676 $as_echo_n "checking for _float round functions... " >&6; }
28677 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28678 $as_echo_n "(cached) " >&6
28679 else
28682 ac_ext=cpp
28683 ac_cpp='$CXXCPP $CPPFLAGS'
28684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28689 /* end confdefs.h. */
28690 #include <math.h>
28692 main ()
28694 _ceilf (0); _floorf (0);
28696 return 0;
28698 _ACEOF
28699 if ac_fn_cxx_try_compile "$LINENO"; then :
28700 glibcxx_cv_func__float_round_use=yes
28701 else
28702 glibcxx_cv_func__float_round_use=no
28704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28705 ac_ext=c
28706 ac_cpp='$CPP $CPPFLAGS'
28707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28714 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28715 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28716 for ac_func in _ceilf _floorf
28717 do :
28718 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28719 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28720 eval as_val=\$$as_ac_var
28721 if test "x$as_val" = x""yes; then :
28722 cat >>confdefs.h <<_ACEOF
28723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28724 _ACEOF
28727 done
28737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28738 $as_echo_n "checking for expf declaration... " >&6; }
28739 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28740 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28741 $as_echo_n "(cached) " >&6
28742 else
28745 ac_ext=cpp
28746 ac_cpp='$CXXCPP $CPPFLAGS'
28747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28752 /* end confdefs.h. */
28753 #include <math.h>
28754 #ifdef HAVE_IEEEFP_H
28755 #include <ieeefp.h>
28756 #endif
28759 main ()
28761 expf(0);
28763 return 0;
28765 _ACEOF
28766 if ac_fn_cxx_try_compile "$LINENO"; then :
28767 glibcxx_cv_func_expf_use=yes
28768 else
28769 glibcxx_cv_func_expf_use=no
28771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28772 ac_ext=c
28773 ac_cpp='$CPP $CPPFLAGS'
28774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28783 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28785 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28786 for ac_func in expf
28787 do :
28788 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28789 if test "x$ac_cv_func_expf" = x""yes; then :
28790 cat >>confdefs.h <<_ACEOF
28791 #define HAVE_EXPF 1
28792 _ACEOF
28795 done
28797 else
28799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28800 $as_echo_n "checking for _expf declaration... " >&6; }
28801 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28802 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28803 $as_echo_n "(cached) " >&6
28804 else
28807 ac_ext=cpp
28808 ac_cpp='$CXXCPP $CPPFLAGS'
28809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28814 /* end confdefs.h. */
28815 #include <math.h>
28816 #ifdef HAVE_IEEEFP_H
28817 #include <ieeefp.h>
28818 #endif
28821 main ()
28823 _expf(0);
28825 return 0;
28827 _ACEOF
28828 if ac_fn_cxx_try_compile "$LINENO"; then :
28829 glibcxx_cv_func__expf_use=yes
28830 else
28831 glibcxx_cv_func__expf_use=no
28833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28834 ac_ext=c
28835 ac_cpp='$CPP $CPPFLAGS'
28836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28845 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28847 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28848 for ac_func in _expf
28849 do :
28850 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28851 if test "x$ac_cv_func__expf" = x""yes; then :
28852 cat >>confdefs.h <<_ACEOF
28853 #define HAVE__EXPF 1
28854 _ACEOF
28857 done
28866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28867 $as_echo_n "checking for isnanf declaration... " >&6; }
28868 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28869 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28870 $as_echo_n "(cached) " >&6
28871 else
28874 ac_ext=cpp
28875 ac_cpp='$CXXCPP $CPPFLAGS'
28876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28881 /* end confdefs.h. */
28882 #include <math.h>
28883 #ifdef HAVE_IEEEFP_H
28884 #include <ieeefp.h>
28885 #endif
28888 main ()
28890 isnanf(0);
28892 return 0;
28894 _ACEOF
28895 if ac_fn_cxx_try_compile "$LINENO"; then :
28896 glibcxx_cv_func_isnanf_use=yes
28897 else
28898 glibcxx_cv_func_isnanf_use=no
28900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28901 ac_ext=c
28902 ac_cpp='$CPP $CPPFLAGS'
28903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28912 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28914 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28915 for ac_func in isnanf
28916 do :
28917 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28918 if test "x$ac_cv_func_isnanf" = x""yes; then :
28919 cat >>confdefs.h <<_ACEOF
28920 #define HAVE_ISNANF 1
28921 _ACEOF
28924 done
28926 else
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28929 $as_echo_n "checking for _isnanf declaration... " >&6; }
28930 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28931 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28932 $as_echo_n "(cached) " >&6
28933 else
28936 ac_ext=cpp
28937 ac_cpp='$CXXCPP $CPPFLAGS'
28938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28943 /* end confdefs.h. */
28944 #include <math.h>
28945 #ifdef HAVE_IEEEFP_H
28946 #include <ieeefp.h>
28947 #endif
28950 main ()
28952 _isnanf(0);
28954 return 0;
28956 _ACEOF
28957 if ac_fn_cxx_try_compile "$LINENO"; then :
28958 glibcxx_cv_func__isnanf_use=yes
28959 else
28960 glibcxx_cv_func__isnanf_use=no
28962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28963 ac_ext=c
28964 ac_cpp='$CPP $CPPFLAGS'
28965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28974 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28976 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28977 for ac_func in _isnanf
28978 do :
28979 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28980 if test "x$ac_cv_func__isnanf" = x""yes; then :
28981 cat >>confdefs.h <<_ACEOF
28982 #define HAVE__ISNANF 1
28983 _ACEOF
28986 done
28995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28996 $as_echo_n "checking for isinff declaration... " >&6; }
28997 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28998 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28999 $as_echo_n "(cached) " >&6
29000 else
29003 ac_ext=cpp
29004 ac_cpp='$CXXCPP $CPPFLAGS'
29005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29010 /* end confdefs.h. */
29011 #include <math.h>
29012 #ifdef HAVE_IEEEFP_H
29013 #include <ieeefp.h>
29014 #endif
29017 main ()
29019 isinff(0);
29021 return 0;
29023 _ACEOF
29024 if ac_fn_cxx_try_compile "$LINENO"; then :
29025 glibcxx_cv_func_isinff_use=yes
29026 else
29027 glibcxx_cv_func_isinff_use=no
29029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29030 ac_ext=c
29031 ac_cpp='$CPP $CPPFLAGS'
29032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29041 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29043 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29044 for ac_func in isinff
29045 do :
29046 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29047 if test "x$ac_cv_func_isinff" = x""yes; then :
29048 cat >>confdefs.h <<_ACEOF
29049 #define HAVE_ISINFF 1
29050 _ACEOF
29053 done
29055 else
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29058 $as_echo_n "checking for _isinff declaration... " >&6; }
29059 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29060 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29061 $as_echo_n "(cached) " >&6
29062 else
29065 ac_ext=cpp
29066 ac_cpp='$CXXCPP $CPPFLAGS'
29067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29072 /* end confdefs.h. */
29073 #include <math.h>
29074 #ifdef HAVE_IEEEFP_H
29075 #include <ieeefp.h>
29076 #endif
29079 main ()
29081 _isinff(0);
29083 return 0;
29085 _ACEOF
29086 if ac_fn_cxx_try_compile "$LINENO"; then :
29087 glibcxx_cv_func__isinff_use=yes
29088 else
29089 glibcxx_cv_func__isinff_use=no
29091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29092 ac_ext=c
29093 ac_cpp='$CPP $CPPFLAGS'
29094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29103 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29105 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29106 for ac_func in _isinff
29107 do :
29108 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29109 if test "x$ac_cv_func__isinff" = x""yes; then :
29110 cat >>confdefs.h <<_ACEOF
29111 #define HAVE__ISINFF 1
29112 _ACEOF
29115 done
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29125 $as_echo_n "checking for atan2f declaration... " >&6; }
29126 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29127 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29128 $as_echo_n "(cached) " >&6
29129 else
29132 ac_ext=cpp
29133 ac_cpp='$CXXCPP $CPPFLAGS'
29134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29139 /* end confdefs.h. */
29140 #include <math.h>
29142 main ()
29144 atan2f(0, 0);
29146 return 0;
29148 _ACEOF
29149 if ac_fn_cxx_try_compile "$LINENO"; then :
29150 glibcxx_cv_func_atan2f_use=yes
29151 else
29152 glibcxx_cv_func_atan2f_use=no
29154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29155 ac_ext=c
29156 ac_cpp='$CPP $CPPFLAGS'
29157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29166 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29168 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29169 for ac_func in atan2f
29170 do :
29171 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29172 if test "x$ac_cv_func_atan2f" = x""yes; then :
29173 cat >>confdefs.h <<_ACEOF
29174 #define HAVE_ATAN2F 1
29175 _ACEOF
29178 done
29180 else
29182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29183 $as_echo_n "checking for _atan2f declaration... " >&6; }
29184 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29185 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29186 $as_echo_n "(cached) " >&6
29187 else
29190 ac_ext=cpp
29191 ac_cpp='$CXXCPP $CPPFLAGS'
29192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29197 /* end confdefs.h. */
29198 #include <math.h>
29200 main ()
29202 _atan2f(0, 0);
29204 return 0;
29206 _ACEOF
29207 if ac_fn_cxx_try_compile "$LINENO"; then :
29208 glibcxx_cv_func__atan2f_use=yes
29209 else
29210 glibcxx_cv_func__atan2f_use=no
29212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29213 ac_ext=c
29214 ac_cpp='$CPP $CPPFLAGS'
29215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29224 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29226 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29227 for ac_func in _atan2f
29228 do :
29229 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29230 if test "x$ac_cv_func__atan2f" = x""yes; then :
29231 cat >>confdefs.h <<_ACEOF
29232 #define HAVE__ATAN2F 1
29233 _ACEOF
29236 done
29245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29246 $as_echo_n "checking for fabsf declaration... " >&6; }
29247 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29248 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29249 $as_echo_n "(cached) " >&6
29250 else
29253 ac_ext=cpp
29254 ac_cpp='$CXXCPP $CPPFLAGS'
29255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29260 /* end confdefs.h. */
29261 #include <math.h>
29262 #ifdef HAVE_IEEEFP_H
29263 #include <ieeefp.h>
29264 #endif
29267 main ()
29269 fabsf(0);
29271 return 0;
29273 _ACEOF
29274 if ac_fn_cxx_try_compile "$LINENO"; then :
29275 glibcxx_cv_func_fabsf_use=yes
29276 else
29277 glibcxx_cv_func_fabsf_use=no
29279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29280 ac_ext=c
29281 ac_cpp='$CPP $CPPFLAGS'
29282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29291 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29293 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29294 for ac_func in fabsf
29295 do :
29296 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29297 if test "x$ac_cv_func_fabsf" = x""yes; then :
29298 cat >>confdefs.h <<_ACEOF
29299 #define HAVE_FABSF 1
29300 _ACEOF
29303 done
29305 else
29307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29308 $as_echo_n "checking for _fabsf declaration... " >&6; }
29309 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29310 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29311 $as_echo_n "(cached) " >&6
29312 else
29315 ac_ext=cpp
29316 ac_cpp='$CXXCPP $CPPFLAGS'
29317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29322 /* end confdefs.h. */
29323 #include <math.h>
29324 #ifdef HAVE_IEEEFP_H
29325 #include <ieeefp.h>
29326 #endif
29329 main ()
29331 _fabsf(0);
29333 return 0;
29335 _ACEOF
29336 if ac_fn_cxx_try_compile "$LINENO"; then :
29337 glibcxx_cv_func__fabsf_use=yes
29338 else
29339 glibcxx_cv_func__fabsf_use=no
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29342 ac_ext=c
29343 ac_cpp='$CPP $CPPFLAGS'
29344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29353 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29355 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29356 for ac_func in _fabsf
29357 do :
29358 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29359 if test "x$ac_cv_func__fabsf" = x""yes; then :
29360 cat >>confdefs.h <<_ACEOF
29361 #define HAVE__FABSF 1
29362 _ACEOF
29365 done
29374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29375 $as_echo_n "checking for fmodf declaration... " >&6; }
29376 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29377 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29378 $as_echo_n "(cached) " >&6
29379 else
29382 ac_ext=cpp
29383 ac_cpp='$CXXCPP $CPPFLAGS'
29384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29389 /* end confdefs.h. */
29390 #include <math.h>
29392 main ()
29394 fmodf(0, 0);
29396 return 0;
29398 _ACEOF
29399 if ac_fn_cxx_try_compile "$LINENO"; then :
29400 glibcxx_cv_func_fmodf_use=yes
29401 else
29402 glibcxx_cv_func_fmodf_use=no
29404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29405 ac_ext=c
29406 ac_cpp='$CPP $CPPFLAGS'
29407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29416 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29418 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29419 for ac_func in fmodf
29420 do :
29421 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29422 if test "x$ac_cv_func_fmodf" = x""yes; then :
29423 cat >>confdefs.h <<_ACEOF
29424 #define HAVE_FMODF 1
29425 _ACEOF
29428 done
29430 else
29432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29433 $as_echo_n "checking for _fmodf declaration... " >&6; }
29434 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29435 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29436 $as_echo_n "(cached) " >&6
29437 else
29440 ac_ext=cpp
29441 ac_cpp='$CXXCPP $CPPFLAGS'
29442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29447 /* end confdefs.h. */
29448 #include <math.h>
29450 main ()
29452 _fmodf(0, 0);
29454 return 0;
29456 _ACEOF
29457 if ac_fn_cxx_try_compile "$LINENO"; then :
29458 glibcxx_cv_func__fmodf_use=yes
29459 else
29460 glibcxx_cv_func__fmodf_use=no
29462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29463 ac_ext=c
29464 ac_cpp='$CPP $CPPFLAGS'
29465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29474 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29476 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29477 for ac_func in _fmodf
29478 do :
29479 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29480 if test "x$ac_cv_func__fmodf" = x""yes; then :
29481 cat >>confdefs.h <<_ACEOF
29482 #define HAVE__FMODF 1
29483 _ACEOF
29486 done
29495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29496 $as_echo_n "checking for frexpf declaration... " >&6; }
29497 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29498 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29499 $as_echo_n "(cached) " >&6
29500 else
29503 ac_ext=cpp
29504 ac_cpp='$CXXCPP $CPPFLAGS'
29505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29510 /* end confdefs.h. */
29511 #include <math.h>
29513 main ()
29515 frexpf(0, 0);
29517 return 0;
29519 _ACEOF
29520 if ac_fn_cxx_try_compile "$LINENO"; then :
29521 glibcxx_cv_func_frexpf_use=yes
29522 else
29523 glibcxx_cv_func_frexpf_use=no
29525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29526 ac_ext=c
29527 ac_cpp='$CPP $CPPFLAGS'
29528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29537 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29539 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29540 for ac_func in frexpf
29541 do :
29542 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29543 if test "x$ac_cv_func_frexpf" = x""yes; then :
29544 cat >>confdefs.h <<_ACEOF
29545 #define HAVE_FREXPF 1
29546 _ACEOF
29549 done
29551 else
29553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29554 $as_echo_n "checking for _frexpf declaration... " >&6; }
29555 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29556 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29557 $as_echo_n "(cached) " >&6
29558 else
29561 ac_ext=cpp
29562 ac_cpp='$CXXCPP $CPPFLAGS'
29563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29568 /* end confdefs.h. */
29569 #include <math.h>
29571 main ()
29573 _frexpf(0, 0);
29575 return 0;
29577 _ACEOF
29578 if ac_fn_cxx_try_compile "$LINENO"; then :
29579 glibcxx_cv_func__frexpf_use=yes
29580 else
29581 glibcxx_cv_func__frexpf_use=no
29583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29584 ac_ext=c
29585 ac_cpp='$CPP $CPPFLAGS'
29586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29595 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29597 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29598 for ac_func in _frexpf
29599 do :
29600 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29601 if test "x$ac_cv_func__frexpf" = x""yes; then :
29602 cat >>confdefs.h <<_ACEOF
29603 #define HAVE__FREXPF 1
29604 _ACEOF
29607 done
29616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29617 $as_echo_n "checking for hypotf declaration... " >&6; }
29618 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29619 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29620 $as_echo_n "(cached) " >&6
29621 else
29624 ac_ext=cpp
29625 ac_cpp='$CXXCPP $CPPFLAGS'
29626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29631 /* end confdefs.h. */
29632 #include <math.h>
29634 main ()
29636 hypotf(0, 0);
29638 return 0;
29640 _ACEOF
29641 if ac_fn_cxx_try_compile "$LINENO"; then :
29642 glibcxx_cv_func_hypotf_use=yes
29643 else
29644 glibcxx_cv_func_hypotf_use=no
29646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29647 ac_ext=c
29648 ac_cpp='$CPP $CPPFLAGS'
29649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29658 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29660 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29661 for ac_func in hypotf
29662 do :
29663 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29664 if test "x$ac_cv_func_hypotf" = x""yes; then :
29665 cat >>confdefs.h <<_ACEOF
29666 #define HAVE_HYPOTF 1
29667 _ACEOF
29670 done
29672 else
29674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29675 $as_echo_n "checking for _hypotf declaration... " >&6; }
29676 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29677 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29678 $as_echo_n "(cached) " >&6
29679 else
29682 ac_ext=cpp
29683 ac_cpp='$CXXCPP $CPPFLAGS'
29684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29689 /* end confdefs.h. */
29690 #include <math.h>
29692 main ()
29694 _hypotf(0, 0);
29696 return 0;
29698 _ACEOF
29699 if ac_fn_cxx_try_compile "$LINENO"; then :
29700 glibcxx_cv_func__hypotf_use=yes
29701 else
29702 glibcxx_cv_func__hypotf_use=no
29704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29705 ac_ext=c
29706 ac_cpp='$CPP $CPPFLAGS'
29707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29716 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29718 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29719 for ac_func in _hypotf
29720 do :
29721 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29722 if test "x$ac_cv_func__hypotf" = x""yes; then :
29723 cat >>confdefs.h <<_ACEOF
29724 #define HAVE__HYPOTF 1
29725 _ACEOF
29728 done
29737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29738 $as_echo_n "checking for ldexpf declaration... " >&6; }
29739 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29740 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29741 $as_echo_n "(cached) " >&6
29742 else
29745 ac_ext=cpp
29746 ac_cpp='$CXXCPP $CPPFLAGS'
29747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29752 /* end confdefs.h. */
29753 #include <math.h>
29755 main ()
29757 ldexpf(0, 0);
29759 return 0;
29761 _ACEOF
29762 if ac_fn_cxx_try_compile "$LINENO"; then :
29763 glibcxx_cv_func_ldexpf_use=yes
29764 else
29765 glibcxx_cv_func_ldexpf_use=no
29767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29768 ac_ext=c
29769 ac_cpp='$CPP $CPPFLAGS'
29770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29779 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29781 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29782 for ac_func in ldexpf
29783 do :
29784 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29785 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29786 cat >>confdefs.h <<_ACEOF
29787 #define HAVE_LDEXPF 1
29788 _ACEOF
29791 done
29793 else
29795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29796 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29797 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29798 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29799 $as_echo_n "(cached) " >&6
29800 else
29803 ac_ext=cpp
29804 ac_cpp='$CXXCPP $CPPFLAGS'
29805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29810 /* end confdefs.h. */
29811 #include <math.h>
29813 main ()
29815 _ldexpf(0, 0);
29817 return 0;
29819 _ACEOF
29820 if ac_fn_cxx_try_compile "$LINENO"; then :
29821 glibcxx_cv_func__ldexpf_use=yes
29822 else
29823 glibcxx_cv_func__ldexpf_use=no
29825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29826 ac_ext=c
29827 ac_cpp='$CPP $CPPFLAGS'
29828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29837 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29839 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29840 for ac_func in _ldexpf
29841 do :
29842 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29843 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29844 cat >>confdefs.h <<_ACEOF
29845 #define HAVE__LDEXPF 1
29846 _ACEOF
29849 done
29858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29859 $as_echo_n "checking for logf declaration... " >&6; }
29860 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29861 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29862 $as_echo_n "(cached) " >&6
29863 else
29866 ac_ext=cpp
29867 ac_cpp='$CXXCPP $CPPFLAGS'
29868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29873 /* end confdefs.h. */
29874 #include <math.h>
29875 #ifdef HAVE_IEEEFP_H
29876 #include <ieeefp.h>
29877 #endif
29880 main ()
29882 logf(0);
29884 return 0;
29886 _ACEOF
29887 if ac_fn_cxx_try_compile "$LINENO"; then :
29888 glibcxx_cv_func_logf_use=yes
29889 else
29890 glibcxx_cv_func_logf_use=no
29892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29893 ac_ext=c
29894 ac_cpp='$CPP $CPPFLAGS'
29895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29904 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29906 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29907 for ac_func in logf
29908 do :
29909 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29910 if test "x$ac_cv_func_logf" = x""yes; then :
29911 cat >>confdefs.h <<_ACEOF
29912 #define HAVE_LOGF 1
29913 _ACEOF
29916 done
29918 else
29920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29921 $as_echo_n "checking for _logf declaration... " >&6; }
29922 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29923 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29924 $as_echo_n "(cached) " >&6
29925 else
29928 ac_ext=cpp
29929 ac_cpp='$CXXCPP $CPPFLAGS'
29930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29935 /* end confdefs.h. */
29936 #include <math.h>
29937 #ifdef HAVE_IEEEFP_H
29938 #include <ieeefp.h>
29939 #endif
29942 main ()
29944 _logf(0);
29946 return 0;
29948 _ACEOF
29949 if ac_fn_cxx_try_compile "$LINENO"; then :
29950 glibcxx_cv_func__logf_use=yes
29951 else
29952 glibcxx_cv_func__logf_use=no
29954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29955 ac_ext=c
29956 ac_cpp='$CPP $CPPFLAGS'
29957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29966 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29968 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29969 for ac_func in _logf
29970 do :
29971 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29972 if test "x$ac_cv_func__logf" = x""yes; then :
29973 cat >>confdefs.h <<_ACEOF
29974 #define HAVE__LOGF 1
29975 _ACEOF
29978 done
29987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29988 $as_echo_n "checking for log10f declaration... " >&6; }
29989 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29990 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29991 $as_echo_n "(cached) " >&6
29992 else
29995 ac_ext=cpp
29996 ac_cpp='$CXXCPP $CPPFLAGS'
29997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30002 /* end confdefs.h. */
30003 #include <math.h>
30004 #ifdef HAVE_IEEEFP_H
30005 #include <ieeefp.h>
30006 #endif
30009 main ()
30011 log10f(0);
30013 return 0;
30015 _ACEOF
30016 if ac_fn_cxx_try_compile "$LINENO"; then :
30017 glibcxx_cv_func_log10f_use=yes
30018 else
30019 glibcxx_cv_func_log10f_use=no
30021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30022 ac_ext=c
30023 ac_cpp='$CPP $CPPFLAGS'
30024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30033 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30035 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30036 for ac_func in log10f
30037 do :
30038 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30039 if test "x$ac_cv_func_log10f" = x""yes; then :
30040 cat >>confdefs.h <<_ACEOF
30041 #define HAVE_LOG10F 1
30042 _ACEOF
30045 done
30047 else
30049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30050 $as_echo_n "checking for _log10f declaration... " >&6; }
30051 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30052 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30053 $as_echo_n "(cached) " >&6
30054 else
30057 ac_ext=cpp
30058 ac_cpp='$CXXCPP $CPPFLAGS'
30059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30064 /* end confdefs.h. */
30065 #include <math.h>
30066 #ifdef HAVE_IEEEFP_H
30067 #include <ieeefp.h>
30068 #endif
30071 main ()
30073 _log10f(0);
30075 return 0;
30077 _ACEOF
30078 if ac_fn_cxx_try_compile "$LINENO"; then :
30079 glibcxx_cv_func__log10f_use=yes
30080 else
30081 glibcxx_cv_func__log10f_use=no
30083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30084 ac_ext=c
30085 ac_cpp='$CPP $CPPFLAGS'
30086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30095 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30097 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30098 for ac_func in _log10f
30099 do :
30100 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30101 if test "x$ac_cv_func__log10f" = x""yes; then :
30102 cat >>confdefs.h <<_ACEOF
30103 #define HAVE__LOG10F 1
30104 _ACEOF
30107 done
30116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30117 $as_echo_n "checking for modff declaration... " >&6; }
30118 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30119 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30120 $as_echo_n "(cached) " >&6
30121 else
30124 ac_ext=cpp
30125 ac_cpp='$CXXCPP $CPPFLAGS'
30126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30131 /* end confdefs.h. */
30132 #include <math.h>
30134 main ()
30136 modff(0, 0);
30138 return 0;
30140 _ACEOF
30141 if ac_fn_cxx_try_compile "$LINENO"; then :
30142 glibcxx_cv_func_modff_use=yes
30143 else
30144 glibcxx_cv_func_modff_use=no
30146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30147 ac_ext=c
30148 ac_cpp='$CPP $CPPFLAGS'
30149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30158 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30160 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30161 for ac_func in modff
30162 do :
30163 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30164 if test "x$ac_cv_func_modff" = x""yes; then :
30165 cat >>confdefs.h <<_ACEOF
30166 #define HAVE_MODFF 1
30167 _ACEOF
30170 done
30172 else
30174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30175 $as_echo_n "checking for _modff declaration... " >&6; }
30176 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30177 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30178 $as_echo_n "(cached) " >&6
30179 else
30182 ac_ext=cpp
30183 ac_cpp='$CXXCPP $CPPFLAGS'
30184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30189 /* end confdefs.h. */
30190 #include <math.h>
30192 main ()
30194 _modff(0, 0);
30196 return 0;
30198 _ACEOF
30199 if ac_fn_cxx_try_compile "$LINENO"; then :
30200 glibcxx_cv_func__modff_use=yes
30201 else
30202 glibcxx_cv_func__modff_use=no
30204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30205 ac_ext=c
30206 ac_cpp='$CPP $CPPFLAGS'
30207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30216 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30218 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30219 for ac_func in _modff
30220 do :
30221 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30222 if test "x$ac_cv_func__modff" = x""yes; then :
30223 cat >>confdefs.h <<_ACEOF
30224 #define HAVE__MODFF 1
30225 _ACEOF
30228 done
30237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30238 $as_echo_n "checking for modf declaration... " >&6; }
30239 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30240 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30241 $as_echo_n "(cached) " >&6
30242 else
30245 ac_ext=cpp
30246 ac_cpp='$CXXCPP $CPPFLAGS'
30247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30252 /* end confdefs.h. */
30253 #include <math.h>
30255 main ()
30257 modf(0, 0);
30259 return 0;
30261 _ACEOF
30262 if ac_fn_cxx_try_compile "$LINENO"; then :
30263 glibcxx_cv_func_modf_use=yes
30264 else
30265 glibcxx_cv_func_modf_use=no
30267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30268 ac_ext=c
30269 ac_cpp='$CPP $CPPFLAGS'
30270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30279 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30281 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30282 for ac_func in modf
30283 do :
30284 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30285 if test "x$ac_cv_func_modf" = x""yes; then :
30286 cat >>confdefs.h <<_ACEOF
30287 #define HAVE_MODF 1
30288 _ACEOF
30291 done
30293 else
30295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30296 $as_echo_n "checking for _modf declaration... " >&6; }
30297 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30298 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30299 $as_echo_n "(cached) " >&6
30300 else
30303 ac_ext=cpp
30304 ac_cpp='$CXXCPP $CPPFLAGS'
30305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30310 /* end confdefs.h. */
30311 #include <math.h>
30313 main ()
30315 _modf(0, 0);
30317 return 0;
30319 _ACEOF
30320 if ac_fn_cxx_try_compile "$LINENO"; then :
30321 glibcxx_cv_func__modf_use=yes
30322 else
30323 glibcxx_cv_func__modf_use=no
30325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30326 ac_ext=c
30327 ac_cpp='$CPP $CPPFLAGS'
30328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30337 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30339 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30340 for ac_func in _modf
30341 do :
30342 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30343 if test "x$ac_cv_func__modf" = x""yes; then :
30344 cat >>confdefs.h <<_ACEOF
30345 #define HAVE__MODF 1
30346 _ACEOF
30349 done
30358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30359 $as_echo_n "checking for powf declaration... " >&6; }
30360 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30361 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30362 $as_echo_n "(cached) " >&6
30363 else
30366 ac_ext=cpp
30367 ac_cpp='$CXXCPP $CPPFLAGS'
30368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30373 /* end confdefs.h. */
30374 #include <math.h>
30376 main ()
30378 powf(0, 0);
30380 return 0;
30382 _ACEOF
30383 if ac_fn_cxx_try_compile "$LINENO"; then :
30384 glibcxx_cv_func_powf_use=yes
30385 else
30386 glibcxx_cv_func_powf_use=no
30388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30389 ac_ext=c
30390 ac_cpp='$CPP $CPPFLAGS'
30391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30400 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30402 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30403 for ac_func in powf
30404 do :
30405 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30406 if test "x$ac_cv_func_powf" = x""yes; then :
30407 cat >>confdefs.h <<_ACEOF
30408 #define HAVE_POWF 1
30409 _ACEOF
30412 done
30414 else
30416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30417 $as_echo_n "checking for _powf declaration... " >&6; }
30418 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30419 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30420 $as_echo_n "(cached) " >&6
30421 else
30424 ac_ext=cpp
30425 ac_cpp='$CXXCPP $CPPFLAGS'
30426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30431 /* end confdefs.h. */
30432 #include <math.h>
30434 main ()
30436 _powf(0, 0);
30438 return 0;
30440 _ACEOF
30441 if ac_fn_cxx_try_compile "$LINENO"; then :
30442 glibcxx_cv_func__powf_use=yes
30443 else
30444 glibcxx_cv_func__powf_use=no
30446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30447 ac_ext=c
30448 ac_cpp='$CPP $CPPFLAGS'
30449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30458 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30460 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30461 for ac_func in _powf
30462 do :
30463 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30464 if test "x$ac_cv_func__powf" = x""yes; then :
30465 cat >>confdefs.h <<_ACEOF
30466 #define HAVE__POWF 1
30467 _ACEOF
30470 done
30479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30480 $as_echo_n "checking for sqrtf declaration... " >&6; }
30481 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30482 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30483 $as_echo_n "(cached) " >&6
30484 else
30487 ac_ext=cpp
30488 ac_cpp='$CXXCPP $CPPFLAGS'
30489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30494 /* end confdefs.h. */
30495 #include <math.h>
30496 #ifdef HAVE_IEEEFP_H
30497 #include <ieeefp.h>
30498 #endif
30501 main ()
30503 sqrtf(0);
30505 return 0;
30507 _ACEOF
30508 if ac_fn_cxx_try_compile "$LINENO"; then :
30509 glibcxx_cv_func_sqrtf_use=yes
30510 else
30511 glibcxx_cv_func_sqrtf_use=no
30513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30514 ac_ext=c
30515 ac_cpp='$CPP $CPPFLAGS'
30516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30525 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30527 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30528 for ac_func in sqrtf
30529 do :
30530 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30531 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30532 cat >>confdefs.h <<_ACEOF
30533 #define HAVE_SQRTF 1
30534 _ACEOF
30537 done
30539 else
30541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30542 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30543 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30544 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30545 $as_echo_n "(cached) " >&6
30546 else
30549 ac_ext=cpp
30550 ac_cpp='$CXXCPP $CPPFLAGS'
30551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30556 /* end confdefs.h. */
30557 #include <math.h>
30558 #ifdef HAVE_IEEEFP_H
30559 #include <ieeefp.h>
30560 #endif
30563 main ()
30565 _sqrtf(0);
30567 return 0;
30569 _ACEOF
30570 if ac_fn_cxx_try_compile "$LINENO"; then :
30571 glibcxx_cv_func__sqrtf_use=yes
30572 else
30573 glibcxx_cv_func__sqrtf_use=no
30575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30576 ac_ext=c
30577 ac_cpp='$CPP $CPPFLAGS'
30578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30587 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30589 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30590 for ac_func in _sqrtf
30591 do :
30592 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30593 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30594 cat >>confdefs.h <<_ACEOF
30595 #define HAVE__SQRTF 1
30596 _ACEOF
30599 done
30608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30609 $as_echo_n "checking for sincosf declaration... " >&6; }
30610 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30611 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30612 $as_echo_n "(cached) " >&6
30613 else
30616 ac_ext=cpp
30617 ac_cpp='$CXXCPP $CPPFLAGS'
30618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30623 /* end confdefs.h. */
30624 #include <math.h>
30626 main ()
30628 sincosf(0, 0, 0);
30630 return 0;
30632 _ACEOF
30633 if ac_fn_cxx_try_compile "$LINENO"; then :
30634 glibcxx_cv_func_sincosf_use=yes
30635 else
30636 glibcxx_cv_func_sincosf_use=no
30638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30639 ac_ext=c
30640 ac_cpp='$CPP $CPPFLAGS'
30641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30650 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30652 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30653 for ac_func in sincosf
30654 do :
30655 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30656 if test "x$ac_cv_func_sincosf" = x""yes; then :
30657 cat >>confdefs.h <<_ACEOF
30658 #define HAVE_SINCOSF 1
30659 _ACEOF
30662 done
30664 else
30666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30667 $as_echo_n "checking for _sincosf declaration... " >&6; }
30668 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30669 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30670 $as_echo_n "(cached) " >&6
30671 else
30674 ac_ext=cpp
30675 ac_cpp='$CXXCPP $CPPFLAGS'
30676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30681 /* end confdefs.h. */
30682 #include <math.h>
30684 main ()
30686 _sincosf(0, 0, 0);
30688 return 0;
30690 _ACEOF
30691 if ac_fn_cxx_try_compile "$LINENO"; then :
30692 glibcxx_cv_func__sincosf_use=yes
30693 else
30694 glibcxx_cv_func__sincosf_use=no
30696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30697 ac_ext=c
30698 ac_cpp='$CPP $CPPFLAGS'
30699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30708 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30710 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30711 for ac_func in _sincosf
30712 do :
30713 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30714 if test "x$ac_cv_func__sincosf" = x""yes; then :
30715 cat >>confdefs.h <<_ACEOF
30716 #define HAVE__SINCOSF 1
30717 _ACEOF
30720 done
30729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30730 $as_echo_n "checking for finitef declaration... " >&6; }
30731 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30732 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30733 $as_echo_n "(cached) " >&6
30734 else
30737 ac_ext=cpp
30738 ac_cpp='$CXXCPP $CPPFLAGS'
30739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30744 /* end confdefs.h. */
30745 #include <math.h>
30746 #ifdef HAVE_IEEEFP_H
30747 #include <ieeefp.h>
30748 #endif
30751 main ()
30753 finitef(0);
30755 return 0;
30757 _ACEOF
30758 if ac_fn_cxx_try_compile "$LINENO"; then :
30759 glibcxx_cv_func_finitef_use=yes
30760 else
30761 glibcxx_cv_func_finitef_use=no
30763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30764 ac_ext=c
30765 ac_cpp='$CPP $CPPFLAGS'
30766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30775 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30777 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30778 for ac_func in finitef
30779 do :
30780 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30781 if test "x$ac_cv_func_finitef" = x""yes; then :
30782 cat >>confdefs.h <<_ACEOF
30783 #define HAVE_FINITEF 1
30784 _ACEOF
30787 done
30789 else
30791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30792 $as_echo_n "checking for _finitef declaration... " >&6; }
30793 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30794 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30795 $as_echo_n "(cached) " >&6
30796 else
30799 ac_ext=cpp
30800 ac_cpp='$CXXCPP $CPPFLAGS'
30801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30806 /* end confdefs.h. */
30807 #include <math.h>
30808 #ifdef HAVE_IEEEFP_H
30809 #include <ieeefp.h>
30810 #endif
30813 main ()
30815 _finitef(0);
30817 return 0;
30819 _ACEOF
30820 if ac_fn_cxx_try_compile "$LINENO"; then :
30821 glibcxx_cv_func__finitef_use=yes
30822 else
30823 glibcxx_cv_func__finitef_use=no
30825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30826 ac_ext=c
30827 ac_cpp='$CPP $CPPFLAGS'
30828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30837 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30839 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30840 for ac_func in _finitef
30841 do :
30842 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30843 if test "x$ac_cv_func__finitef" = x""yes; then :
30844 cat >>confdefs.h <<_ACEOF
30845 #define HAVE__FINITEF 1
30846 _ACEOF
30849 done
30858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30859 $as_echo_n "checking for long double trig functions... " >&6; }
30860 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30861 $as_echo_n "(cached) " >&6
30862 else
30865 ac_ext=cpp
30866 ac_cpp='$CXXCPP $CPPFLAGS'
30867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30872 /* end confdefs.h. */
30873 #include <math.h>
30875 main ()
30877 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30879 return 0;
30881 _ACEOF
30882 if ac_fn_cxx_try_compile "$LINENO"; then :
30883 glibcxx_cv_func_long_double_trig_use=yes
30884 else
30885 glibcxx_cv_func_long_double_trig_use=no
30887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30888 ac_ext=c
30889 ac_cpp='$CPP $CPPFLAGS'
30890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30897 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30898 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30899 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30900 do :
30901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30903 eval as_val=\$$as_ac_var
30904 if test "x$as_val" = x""yes; then :
30905 cat >>confdefs.h <<_ACEOF
30906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30907 _ACEOF
30910 done
30912 else
30913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30914 $as_echo_n "checking for _long double trig functions... " >&6; }
30915 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30916 $as_echo_n "(cached) " >&6
30917 else
30920 ac_ext=cpp
30921 ac_cpp='$CXXCPP $CPPFLAGS'
30922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30927 /* end confdefs.h. */
30928 #include <math.h>
30930 main ()
30932 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30934 return 0;
30936 _ACEOF
30937 if ac_fn_cxx_try_compile "$LINENO"; then :
30938 glibcxx_cv_func__long_double_trig_use=yes
30939 else
30940 glibcxx_cv_func__long_double_trig_use=no
30942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30943 ac_ext=c
30944 ac_cpp='$CPP $CPPFLAGS'
30945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30952 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30953 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30954 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30955 do :
30956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30958 eval as_val=\$$as_ac_var
30959 if test "x$as_val" = x""yes; then :
30960 cat >>confdefs.h <<_ACEOF
30961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30962 _ACEOF
30965 done
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30975 $as_echo_n "checking for long double round functions... " >&6; }
30976 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30977 $as_echo_n "(cached) " >&6
30978 else
30981 ac_ext=cpp
30982 ac_cpp='$CXXCPP $CPPFLAGS'
30983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30988 /* end confdefs.h. */
30989 #include <math.h>
30991 main ()
30993 ceill (0); floorl (0);
30995 return 0;
30997 _ACEOF
30998 if ac_fn_cxx_try_compile "$LINENO"; then :
30999 glibcxx_cv_func_long_double_round_use=yes
31000 else
31001 glibcxx_cv_func_long_double_round_use=no
31003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31004 ac_ext=c
31005 ac_cpp='$CPP $CPPFLAGS'
31006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31013 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31014 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31015 for ac_func in ceill floorl
31016 do :
31017 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31019 eval as_val=\$$as_ac_var
31020 if test "x$as_val" = x""yes; then :
31021 cat >>confdefs.h <<_ACEOF
31022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31023 _ACEOF
31026 done
31028 else
31029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31030 $as_echo_n "checking for _long double round functions... " >&6; }
31031 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31032 $as_echo_n "(cached) " >&6
31033 else
31036 ac_ext=cpp
31037 ac_cpp='$CXXCPP $CPPFLAGS'
31038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31043 /* end confdefs.h. */
31044 #include <math.h>
31046 main ()
31048 _ceill (0); _floorl (0);
31050 return 0;
31052 _ACEOF
31053 if ac_fn_cxx_try_compile "$LINENO"; then :
31054 glibcxx_cv_func__long_double_round_use=yes
31055 else
31056 glibcxx_cv_func__long_double_round_use=no
31058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31059 ac_ext=c
31060 ac_cpp='$CPP $CPPFLAGS'
31061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31068 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31069 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31070 for ac_func in _ceill _floorl
31071 do :
31072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31074 eval as_val=\$$as_ac_var
31075 if test "x$as_val" = x""yes; then :
31076 cat >>confdefs.h <<_ACEOF
31077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31078 _ACEOF
31081 done
31091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31092 $as_echo_n "checking for isnanl declaration... " >&6; }
31093 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31094 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31095 $as_echo_n "(cached) " >&6
31096 else
31099 ac_ext=cpp
31100 ac_cpp='$CXXCPP $CPPFLAGS'
31101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31106 /* end confdefs.h. */
31107 #include <math.h>
31108 #ifdef HAVE_IEEEFP_H
31109 #include <ieeefp.h>
31110 #endif
31113 main ()
31115 isnanl(0);
31117 return 0;
31119 _ACEOF
31120 if ac_fn_cxx_try_compile "$LINENO"; then :
31121 glibcxx_cv_func_isnanl_use=yes
31122 else
31123 glibcxx_cv_func_isnanl_use=no
31125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31126 ac_ext=c
31127 ac_cpp='$CPP $CPPFLAGS'
31128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31137 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31139 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31140 for ac_func in isnanl
31141 do :
31142 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31143 if test "x$ac_cv_func_isnanl" = x""yes; then :
31144 cat >>confdefs.h <<_ACEOF
31145 #define HAVE_ISNANL 1
31146 _ACEOF
31149 done
31151 else
31153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31154 $as_echo_n "checking for _isnanl declaration... " >&6; }
31155 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31156 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31157 $as_echo_n "(cached) " >&6
31158 else
31161 ac_ext=cpp
31162 ac_cpp='$CXXCPP $CPPFLAGS'
31163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31168 /* end confdefs.h. */
31169 #include <math.h>
31170 #ifdef HAVE_IEEEFP_H
31171 #include <ieeefp.h>
31172 #endif
31175 main ()
31177 _isnanl(0);
31179 return 0;
31181 _ACEOF
31182 if ac_fn_cxx_try_compile "$LINENO"; then :
31183 glibcxx_cv_func__isnanl_use=yes
31184 else
31185 glibcxx_cv_func__isnanl_use=no
31187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31188 ac_ext=c
31189 ac_cpp='$CPP $CPPFLAGS'
31190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31199 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31201 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31202 for ac_func in _isnanl
31203 do :
31204 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31205 if test "x$ac_cv_func__isnanl" = x""yes; then :
31206 cat >>confdefs.h <<_ACEOF
31207 #define HAVE__ISNANL 1
31208 _ACEOF
31211 done
31220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31221 $as_echo_n "checking for isinfl declaration... " >&6; }
31222 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31223 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31224 $as_echo_n "(cached) " >&6
31225 else
31228 ac_ext=cpp
31229 ac_cpp='$CXXCPP $CPPFLAGS'
31230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31235 /* end confdefs.h. */
31236 #include <math.h>
31237 #ifdef HAVE_IEEEFP_H
31238 #include <ieeefp.h>
31239 #endif
31242 main ()
31244 isinfl(0);
31246 return 0;
31248 _ACEOF
31249 if ac_fn_cxx_try_compile "$LINENO"; then :
31250 glibcxx_cv_func_isinfl_use=yes
31251 else
31252 glibcxx_cv_func_isinfl_use=no
31254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31255 ac_ext=c
31256 ac_cpp='$CPP $CPPFLAGS'
31257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31266 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31268 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31269 for ac_func in isinfl
31270 do :
31271 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31272 if test "x$ac_cv_func_isinfl" = x""yes; then :
31273 cat >>confdefs.h <<_ACEOF
31274 #define HAVE_ISINFL 1
31275 _ACEOF
31278 done
31280 else
31282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31283 $as_echo_n "checking for _isinfl declaration... " >&6; }
31284 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31285 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31286 $as_echo_n "(cached) " >&6
31287 else
31290 ac_ext=cpp
31291 ac_cpp='$CXXCPP $CPPFLAGS'
31292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31297 /* end confdefs.h. */
31298 #include <math.h>
31299 #ifdef HAVE_IEEEFP_H
31300 #include <ieeefp.h>
31301 #endif
31304 main ()
31306 _isinfl(0);
31308 return 0;
31310 _ACEOF
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312 glibcxx_cv_func__isinfl_use=yes
31313 else
31314 glibcxx_cv_func__isinfl_use=no
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317 ac_ext=c
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31328 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31330 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31331 for ac_func in _isinfl
31332 do :
31333 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31334 if test "x$ac_cv_func__isinfl" = x""yes; then :
31335 cat >>confdefs.h <<_ACEOF
31336 #define HAVE__ISINFL 1
31337 _ACEOF
31340 done
31349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31350 $as_echo_n "checking for atan2l declaration... " >&6; }
31351 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31352 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31353 $as_echo_n "(cached) " >&6
31354 else
31357 ac_ext=cpp
31358 ac_cpp='$CXXCPP $CPPFLAGS'
31359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31364 /* end confdefs.h. */
31365 #include <math.h>
31367 main ()
31369 atan2l(0, 0);
31371 return 0;
31373 _ACEOF
31374 if ac_fn_cxx_try_compile "$LINENO"; then :
31375 glibcxx_cv_func_atan2l_use=yes
31376 else
31377 glibcxx_cv_func_atan2l_use=no
31379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31380 ac_ext=c
31381 ac_cpp='$CPP $CPPFLAGS'
31382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31391 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31393 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31394 for ac_func in atan2l
31395 do :
31396 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31397 if test "x$ac_cv_func_atan2l" = x""yes; then :
31398 cat >>confdefs.h <<_ACEOF
31399 #define HAVE_ATAN2L 1
31400 _ACEOF
31403 done
31405 else
31407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31408 $as_echo_n "checking for _atan2l declaration... " >&6; }
31409 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31410 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31411 $as_echo_n "(cached) " >&6
31412 else
31415 ac_ext=cpp
31416 ac_cpp='$CXXCPP $CPPFLAGS'
31417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31422 /* end confdefs.h. */
31423 #include <math.h>
31425 main ()
31427 _atan2l(0, 0);
31429 return 0;
31431 _ACEOF
31432 if ac_fn_cxx_try_compile "$LINENO"; then :
31433 glibcxx_cv_func__atan2l_use=yes
31434 else
31435 glibcxx_cv_func__atan2l_use=no
31437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31438 ac_ext=c
31439 ac_cpp='$CPP $CPPFLAGS'
31440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31449 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31451 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31452 for ac_func in _atan2l
31453 do :
31454 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31455 if test "x$ac_cv_func__atan2l" = x""yes; then :
31456 cat >>confdefs.h <<_ACEOF
31457 #define HAVE__ATAN2L 1
31458 _ACEOF
31461 done
31470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31471 $as_echo_n "checking for expl declaration... " >&6; }
31472 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31473 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31474 $as_echo_n "(cached) " >&6
31475 else
31478 ac_ext=cpp
31479 ac_cpp='$CXXCPP $CPPFLAGS'
31480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31485 /* end confdefs.h. */
31486 #include <math.h>
31487 #ifdef HAVE_IEEEFP_H
31488 #include <ieeefp.h>
31489 #endif
31492 main ()
31494 expl(0);
31496 return 0;
31498 _ACEOF
31499 if ac_fn_cxx_try_compile "$LINENO"; then :
31500 glibcxx_cv_func_expl_use=yes
31501 else
31502 glibcxx_cv_func_expl_use=no
31504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31505 ac_ext=c
31506 ac_cpp='$CPP $CPPFLAGS'
31507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31516 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31518 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31519 for ac_func in expl
31520 do :
31521 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31522 if test "x$ac_cv_func_expl" = x""yes; then :
31523 cat >>confdefs.h <<_ACEOF
31524 #define HAVE_EXPL 1
31525 _ACEOF
31528 done
31530 else
31532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31533 $as_echo_n "checking for _expl declaration... " >&6; }
31534 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31535 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31536 $as_echo_n "(cached) " >&6
31537 else
31540 ac_ext=cpp
31541 ac_cpp='$CXXCPP $CPPFLAGS'
31542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31547 /* end confdefs.h. */
31548 #include <math.h>
31549 #ifdef HAVE_IEEEFP_H
31550 #include <ieeefp.h>
31551 #endif
31554 main ()
31556 _expl(0);
31558 return 0;
31560 _ACEOF
31561 if ac_fn_cxx_try_compile "$LINENO"; then :
31562 glibcxx_cv_func__expl_use=yes
31563 else
31564 glibcxx_cv_func__expl_use=no
31566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31567 ac_ext=c
31568 ac_cpp='$CPP $CPPFLAGS'
31569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31578 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31580 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31581 for ac_func in _expl
31582 do :
31583 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31584 if test "x$ac_cv_func__expl" = x""yes; then :
31585 cat >>confdefs.h <<_ACEOF
31586 #define HAVE__EXPL 1
31587 _ACEOF
31590 done
31599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31600 $as_echo_n "checking for fabsl declaration... " >&6; }
31601 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31602 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31603 $as_echo_n "(cached) " >&6
31604 else
31607 ac_ext=cpp
31608 ac_cpp='$CXXCPP $CPPFLAGS'
31609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31614 /* end confdefs.h. */
31615 #include <math.h>
31616 #ifdef HAVE_IEEEFP_H
31617 #include <ieeefp.h>
31618 #endif
31621 main ()
31623 fabsl(0);
31625 return 0;
31627 _ACEOF
31628 if ac_fn_cxx_try_compile "$LINENO"; then :
31629 glibcxx_cv_func_fabsl_use=yes
31630 else
31631 glibcxx_cv_func_fabsl_use=no
31633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31634 ac_ext=c
31635 ac_cpp='$CPP $CPPFLAGS'
31636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31645 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31647 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31648 for ac_func in fabsl
31649 do :
31650 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31651 if test "x$ac_cv_func_fabsl" = x""yes; then :
31652 cat >>confdefs.h <<_ACEOF
31653 #define HAVE_FABSL 1
31654 _ACEOF
31657 done
31659 else
31661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31662 $as_echo_n "checking for _fabsl declaration... " >&6; }
31663 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31664 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31665 $as_echo_n "(cached) " >&6
31666 else
31669 ac_ext=cpp
31670 ac_cpp='$CXXCPP $CPPFLAGS'
31671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31676 /* end confdefs.h. */
31677 #include <math.h>
31678 #ifdef HAVE_IEEEFP_H
31679 #include <ieeefp.h>
31680 #endif
31683 main ()
31685 _fabsl(0);
31687 return 0;
31689 _ACEOF
31690 if ac_fn_cxx_try_compile "$LINENO"; then :
31691 glibcxx_cv_func__fabsl_use=yes
31692 else
31693 glibcxx_cv_func__fabsl_use=no
31695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31696 ac_ext=c
31697 ac_cpp='$CPP $CPPFLAGS'
31698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31707 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31709 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31710 for ac_func in _fabsl
31711 do :
31712 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31713 if test "x$ac_cv_func__fabsl" = x""yes; then :
31714 cat >>confdefs.h <<_ACEOF
31715 #define HAVE__FABSL 1
31716 _ACEOF
31719 done
31728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31729 $as_echo_n "checking for fmodl declaration... " >&6; }
31730 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31731 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31732 $as_echo_n "(cached) " >&6
31733 else
31736 ac_ext=cpp
31737 ac_cpp='$CXXCPP $CPPFLAGS'
31738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31743 /* end confdefs.h. */
31744 #include <math.h>
31746 main ()
31748 fmodl(0, 0);
31750 return 0;
31752 _ACEOF
31753 if ac_fn_cxx_try_compile "$LINENO"; then :
31754 glibcxx_cv_func_fmodl_use=yes
31755 else
31756 glibcxx_cv_func_fmodl_use=no
31758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31759 ac_ext=c
31760 ac_cpp='$CPP $CPPFLAGS'
31761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31770 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31772 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31773 for ac_func in fmodl
31774 do :
31775 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31776 if test "x$ac_cv_func_fmodl" = x""yes; then :
31777 cat >>confdefs.h <<_ACEOF
31778 #define HAVE_FMODL 1
31779 _ACEOF
31782 done
31784 else
31786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31787 $as_echo_n "checking for _fmodl declaration... " >&6; }
31788 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31789 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31790 $as_echo_n "(cached) " >&6
31791 else
31794 ac_ext=cpp
31795 ac_cpp='$CXXCPP $CPPFLAGS'
31796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31801 /* end confdefs.h. */
31802 #include <math.h>
31804 main ()
31806 _fmodl(0, 0);
31808 return 0;
31810 _ACEOF
31811 if ac_fn_cxx_try_compile "$LINENO"; then :
31812 glibcxx_cv_func__fmodl_use=yes
31813 else
31814 glibcxx_cv_func__fmodl_use=no
31816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31817 ac_ext=c
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31828 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31830 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31831 for ac_func in _fmodl
31832 do :
31833 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31834 if test "x$ac_cv_func__fmodl" = x""yes; then :
31835 cat >>confdefs.h <<_ACEOF
31836 #define HAVE__FMODL 1
31837 _ACEOF
31840 done
31849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31850 $as_echo_n "checking for frexpl declaration... " >&6; }
31851 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31852 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31853 $as_echo_n "(cached) " >&6
31854 else
31857 ac_ext=cpp
31858 ac_cpp='$CXXCPP $CPPFLAGS'
31859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31864 /* end confdefs.h. */
31865 #include <math.h>
31867 main ()
31869 frexpl(0, 0);
31871 return 0;
31873 _ACEOF
31874 if ac_fn_cxx_try_compile "$LINENO"; then :
31875 glibcxx_cv_func_frexpl_use=yes
31876 else
31877 glibcxx_cv_func_frexpl_use=no
31879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31880 ac_ext=c
31881 ac_cpp='$CPP $CPPFLAGS'
31882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31891 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31893 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31894 for ac_func in frexpl
31895 do :
31896 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31897 if test "x$ac_cv_func_frexpl" = x""yes; then :
31898 cat >>confdefs.h <<_ACEOF
31899 #define HAVE_FREXPL 1
31900 _ACEOF
31903 done
31905 else
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31908 $as_echo_n "checking for _frexpl declaration... " >&6; }
31909 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31910 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31911 $as_echo_n "(cached) " >&6
31912 else
31915 ac_ext=cpp
31916 ac_cpp='$CXXCPP $CPPFLAGS'
31917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31922 /* end confdefs.h. */
31923 #include <math.h>
31925 main ()
31927 _frexpl(0, 0);
31929 return 0;
31931 _ACEOF
31932 if ac_fn_cxx_try_compile "$LINENO"; then :
31933 glibcxx_cv_func__frexpl_use=yes
31934 else
31935 glibcxx_cv_func__frexpl_use=no
31937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31938 ac_ext=c
31939 ac_cpp='$CPP $CPPFLAGS'
31940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31949 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31951 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31952 for ac_func in _frexpl
31953 do :
31954 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31955 if test "x$ac_cv_func__frexpl" = x""yes; then :
31956 cat >>confdefs.h <<_ACEOF
31957 #define HAVE__FREXPL 1
31958 _ACEOF
31961 done
31970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31971 $as_echo_n "checking for hypotl declaration... " >&6; }
31972 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31973 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31974 $as_echo_n "(cached) " >&6
31975 else
31978 ac_ext=cpp
31979 ac_cpp='$CXXCPP $CPPFLAGS'
31980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31985 /* end confdefs.h. */
31986 #include <math.h>
31988 main ()
31990 hypotl(0, 0);
31992 return 0;
31994 _ACEOF
31995 if ac_fn_cxx_try_compile "$LINENO"; then :
31996 glibcxx_cv_func_hypotl_use=yes
31997 else
31998 glibcxx_cv_func_hypotl_use=no
32000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32001 ac_ext=c
32002 ac_cpp='$CPP $CPPFLAGS'
32003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32012 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32014 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32015 for ac_func in hypotl
32016 do :
32017 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32018 if test "x$ac_cv_func_hypotl" = x""yes; then :
32019 cat >>confdefs.h <<_ACEOF
32020 #define HAVE_HYPOTL 1
32021 _ACEOF
32024 done
32026 else
32028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32029 $as_echo_n "checking for _hypotl declaration... " >&6; }
32030 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32031 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32032 $as_echo_n "(cached) " >&6
32033 else
32036 ac_ext=cpp
32037 ac_cpp='$CXXCPP $CPPFLAGS'
32038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32043 /* end confdefs.h. */
32044 #include <math.h>
32046 main ()
32048 _hypotl(0, 0);
32050 return 0;
32052 _ACEOF
32053 if ac_fn_cxx_try_compile "$LINENO"; then :
32054 glibcxx_cv_func__hypotl_use=yes
32055 else
32056 glibcxx_cv_func__hypotl_use=no
32058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32059 ac_ext=c
32060 ac_cpp='$CPP $CPPFLAGS'
32061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32070 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32072 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32073 for ac_func in _hypotl
32074 do :
32075 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32076 if test "x$ac_cv_func__hypotl" = x""yes; then :
32077 cat >>confdefs.h <<_ACEOF
32078 #define HAVE__HYPOTL 1
32079 _ACEOF
32082 done
32091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32092 $as_echo_n "checking for ldexpl declaration... " >&6; }
32093 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32094 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32095 $as_echo_n "(cached) " >&6
32096 else
32099 ac_ext=cpp
32100 ac_cpp='$CXXCPP $CPPFLAGS'
32101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32106 /* end confdefs.h. */
32107 #include <math.h>
32109 main ()
32111 ldexpl(0, 0);
32113 return 0;
32115 _ACEOF
32116 if ac_fn_cxx_try_compile "$LINENO"; then :
32117 glibcxx_cv_func_ldexpl_use=yes
32118 else
32119 glibcxx_cv_func_ldexpl_use=no
32121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32122 ac_ext=c
32123 ac_cpp='$CPP $CPPFLAGS'
32124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32133 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32135 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32136 for ac_func in ldexpl
32137 do :
32138 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32139 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32140 cat >>confdefs.h <<_ACEOF
32141 #define HAVE_LDEXPL 1
32142 _ACEOF
32145 done
32147 else
32149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32150 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32151 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32152 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32153 $as_echo_n "(cached) " >&6
32154 else
32157 ac_ext=cpp
32158 ac_cpp='$CXXCPP $CPPFLAGS'
32159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32164 /* end confdefs.h. */
32165 #include <math.h>
32167 main ()
32169 _ldexpl(0, 0);
32171 return 0;
32173 _ACEOF
32174 if ac_fn_cxx_try_compile "$LINENO"; then :
32175 glibcxx_cv_func__ldexpl_use=yes
32176 else
32177 glibcxx_cv_func__ldexpl_use=no
32179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32180 ac_ext=c
32181 ac_cpp='$CPP $CPPFLAGS'
32182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32191 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32193 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32194 for ac_func in _ldexpl
32195 do :
32196 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32197 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32198 cat >>confdefs.h <<_ACEOF
32199 #define HAVE__LDEXPL 1
32200 _ACEOF
32203 done
32212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32213 $as_echo_n "checking for logl declaration... " >&6; }
32214 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32215 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32216 $as_echo_n "(cached) " >&6
32217 else
32220 ac_ext=cpp
32221 ac_cpp='$CXXCPP $CPPFLAGS'
32222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32227 /* end confdefs.h. */
32228 #include <math.h>
32229 #ifdef HAVE_IEEEFP_H
32230 #include <ieeefp.h>
32231 #endif
32234 main ()
32236 logl(0);
32238 return 0;
32240 _ACEOF
32241 if ac_fn_cxx_try_compile "$LINENO"; then :
32242 glibcxx_cv_func_logl_use=yes
32243 else
32244 glibcxx_cv_func_logl_use=no
32246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32247 ac_ext=c
32248 ac_cpp='$CPP $CPPFLAGS'
32249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32258 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32260 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32261 for ac_func in logl
32262 do :
32263 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32264 if test "x$ac_cv_func_logl" = x""yes; then :
32265 cat >>confdefs.h <<_ACEOF
32266 #define HAVE_LOGL 1
32267 _ACEOF
32270 done
32272 else
32274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32275 $as_echo_n "checking for _logl declaration... " >&6; }
32276 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32277 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32278 $as_echo_n "(cached) " >&6
32279 else
32282 ac_ext=cpp
32283 ac_cpp='$CXXCPP $CPPFLAGS'
32284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32289 /* end confdefs.h. */
32290 #include <math.h>
32291 #ifdef HAVE_IEEEFP_H
32292 #include <ieeefp.h>
32293 #endif
32296 main ()
32298 _logl(0);
32300 return 0;
32302 _ACEOF
32303 if ac_fn_cxx_try_compile "$LINENO"; then :
32304 glibcxx_cv_func__logl_use=yes
32305 else
32306 glibcxx_cv_func__logl_use=no
32308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32309 ac_ext=c
32310 ac_cpp='$CPP $CPPFLAGS'
32311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32320 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32322 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32323 for ac_func in _logl
32324 do :
32325 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32326 if test "x$ac_cv_func__logl" = x""yes; then :
32327 cat >>confdefs.h <<_ACEOF
32328 #define HAVE__LOGL 1
32329 _ACEOF
32332 done
32341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32342 $as_echo_n "checking for log10l declaration... " >&6; }
32343 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32344 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32345 $as_echo_n "(cached) " >&6
32346 else
32349 ac_ext=cpp
32350 ac_cpp='$CXXCPP $CPPFLAGS'
32351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32356 /* end confdefs.h. */
32357 #include <math.h>
32358 #ifdef HAVE_IEEEFP_H
32359 #include <ieeefp.h>
32360 #endif
32363 main ()
32365 log10l(0);
32367 return 0;
32369 _ACEOF
32370 if ac_fn_cxx_try_compile "$LINENO"; then :
32371 glibcxx_cv_func_log10l_use=yes
32372 else
32373 glibcxx_cv_func_log10l_use=no
32375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32376 ac_ext=c
32377 ac_cpp='$CPP $CPPFLAGS'
32378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32387 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32389 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32390 for ac_func in log10l
32391 do :
32392 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32393 if test "x$ac_cv_func_log10l" = x""yes; then :
32394 cat >>confdefs.h <<_ACEOF
32395 #define HAVE_LOG10L 1
32396 _ACEOF
32399 done
32401 else
32403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32404 $as_echo_n "checking for _log10l declaration... " >&6; }
32405 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32406 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32407 $as_echo_n "(cached) " >&6
32408 else
32411 ac_ext=cpp
32412 ac_cpp='$CXXCPP $CPPFLAGS'
32413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32418 /* end confdefs.h. */
32419 #include <math.h>
32420 #ifdef HAVE_IEEEFP_H
32421 #include <ieeefp.h>
32422 #endif
32425 main ()
32427 _log10l(0);
32429 return 0;
32431 _ACEOF
32432 if ac_fn_cxx_try_compile "$LINENO"; then :
32433 glibcxx_cv_func__log10l_use=yes
32434 else
32435 glibcxx_cv_func__log10l_use=no
32437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32438 ac_ext=c
32439 ac_cpp='$CPP $CPPFLAGS'
32440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32449 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32451 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32452 for ac_func in _log10l
32453 do :
32454 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32455 if test "x$ac_cv_func__log10l" = x""yes; then :
32456 cat >>confdefs.h <<_ACEOF
32457 #define HAVE__LOG10L 1
32458 _ACEOF
32461 done
32470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32471 $as_echo_n "checking for modfl declaration... " >&6; }
32472 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32473 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32474 $as_echo_n "(cached) " >&6
32475 else
32478 ac_ext=cpp
32479 ac_cpp='$CXXCPP $CPPFLAGS'
32480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32485 /* end confdefs.h. */
32486 #include <math.h>
32488 main ()
32490 modfl(0, 0);
32492 return 0;
32494 _ACEOF
32495 if ac_fn_cxx_try_compile "$LINENO"; then :
32496 glibcxx_cv_func_modfl_use=yes
32497 else
32498 glibcxx_cv_func_modfl_use=no
32500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32501 ac_ext=c
32502 ac_cpp='$CPP $CPPFLAGS'
32503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32512 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32514 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32515 for ac_func in modfl
32516 do :
32517 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32518 if test "x$ac_cv_func_modfl" = x""yes; then :
32519 cat >>confdefs.h <<_ACEOF
32520 #define HAVE_MODFL 1
32521 _ACEOF
32524 done
32526 else
32528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32529 $as_echo_n "checking for _modfl declaration... " >&6; }
32530 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32531 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32532 $as_echo_n "(cached) " >&6
32533 else
32536 ac_ext=cpp
32537 ac_cpp='$CXXCPP $CPPFLAGS'
32538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32543 /* end confdefs.h. */
32544 #include <math.h>
32546 main ()
32548 _modfl(0, 0);
32550 return 0;
32552 _ACEOF
32553 if ac_fn_cxx_try_compile "$LINENO"; then :
32554 glibcxx_cv_func__modfl_use=yes
32555 else
32556 glibcxx_cv_func__modfl_use=no
32558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32559 ac_ext=c
32560 ac_cpp='$CPP $CPPFLAGS'
32561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32570 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32572 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32573 for ac_func in _modfl
32574 do :
32575 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32576 if test "x$ac_cv_func__modfl" = x""yes; then :
32577 cat >>confdefs.h <<_ACEOF
32578 #define HAVE__MODFL 1
32579 _ACEOF
32582 done
32591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32592 $as_echo_n "checking for powl declaration... " >&6; }
32593 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32594 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32595 $as_echo_n "(cached) " >&6
32596 else
32599 ac_ext=cpp
32600 ac_cpp='$CXXCPP $CPPFLAGS'
32601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32606 /* end confdefs.h. */
32607 #include <math.h>
32609 main ()
32611 powl(0, 0);
32613 return 0;
32615 _ACEOF
32616 if ac_fn_cxx_try_compile "$LINENO"; then :
32617 glibcxx_cv_func_powl_use=yes
32618 else
32619 glibcxx_cv_func_powl_use=no
32621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32622 ac_ext=c
32623 ac_cpp='$CPP $CPPFLAGS'
32624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32633 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32635 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32636 for ac_func in powl
32637 do :
32638 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32639 if test "x$ac_cv_func_powl" = x""yes; then :
32640 cat >>confdefs.h <<_ACEOF
32641 #define HAVE_POWL 1
32642 _ACEOF
32645 done
32647 else
32649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32650 $as_echo_n "checking for _powl declaration... " >&6; }
32651 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32652 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32653 $as_echo_n "(cached) " >&6
32654 else
32657 ac_ext=cpp
32658 ac_cpp='$CXXCPP $CPPFLAGS'
32659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32664 /* end confdefs.h. */
32665 #include <math.h>
32667 main ()
32669 _powl(0, 0);
32671 return 0;
32673 _ACEOF
32674 if ac_fn_cxx_try_compile "$LINENO"; then :
32675 glibcxx_cv_func__powl_use=yes
32676 else
32677 glibcxx_cv_func__powl_use=no
32679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32680 ac_ext=c
32681 ac_cpp='$CPP $CPPFLAGS'
32682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32691 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32693 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32694 for ac_func in _powl
32695 do :
32696 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32697 if test "x$ac_cv_func__powl" = x""yes; then :
32698 cat >>confdefs.h <<_ACEOF
32699 #define HAVE__POWL 1
32700 _ACEOF
32703 done
32712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32713 $as_echo_n "checking for sqrtl declaration... " >&6; }
32714 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32715 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32716 $as_echo_n "(cached) " >&6
32717 else
32720 ac_ext=cpp
32721 ac_cpp='$CXXCPP $CPPFLAGS'
32722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32727 /* end confdefs.h. */
32728 #include <math.h>
32729 #ifdef HAVE_IEEEFP_H
32730 #include <ieeefp.h>
32731 #endif
32734 main ()
32736 sqrtl(0);
32738 return 0;
32740 _ACEOF
32741 if ac_fn_cxx_try_compile "$LINENO"; then :
32742 glibcxx_cv_func_sqrtl_use=yes
32743 else
32744 glibcxx_cv_func_sqrtl_use=no
32746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32747 ac_ext=c
32748 ac_cpp='$CPP $CPPFLAGS'
32749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32758 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32760 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32761 for ac_func in sqrtl
32762 do :
32763 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32764 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32765 cat >>confdefs.h <<_ACEOF
32766 #define HAVE_SQRTL 1
32767 _ACEOF
32770 done
32772 else
32774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32775 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32776 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32777 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32778 $as_echo_n "(cached) " >&6
32779 else
32782 ac_ext=cpp
32783 ac_cpp='$CXXCPP $CPPFLAGS'
32784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32789 /* end confdefs.h. */
32790 #include <math.h>
32791 #ifdef HAVE_IEEEFP_H
32792 #include <ieeefp.h>
32793 #endif
32796 main ()
32798 _sqrtl(0);
32800 return 0;
32802 _ACEOF
32803 if ac_fn_cxx_try_compile "$LINENO"; then :
32804 glibcxx_cv_func__sqrtl_use=yes
32805 else
32806 glibcxx_cv_func__sqrtl_use=no
32808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32809 ac_ext=c
32810 ac_cpp='$CPP $CPPFLAGS'
32811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32820 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32822 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32823 for ac_func in _sqrtl
32824 do :
32825 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32826 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32827 cat >>confdefs.h <<_ACEOF
32828 #define HAVE__SQRTL 1
32829 _ACEOF
32832 done
32841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32842 $as_echo_n "checking for sincosl declaration... " >&6; }
32843 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32844 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32845 $as_echo_n "(cached) " >&6
32846 else
32849 ac_ext=cpp
32850 ac_cpp='$CXXCPP $CPPFLAGS'
32851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32856 /* end confdefs.h. */
32857 #include <math.h>
32859 main ()
32861 sincosl(0, 0, 0);
32863 return 0;
32865 _ACEOF
32866 if ac_fn_cxx_try_compile "$LINENO"; then :
32867 glibcxx_cv_func_sincosl_use=yes
32868 else
32869 glibcxx_cv_func_sincosl_use=no
32871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32872 ac_ext=c
32873 ac_cpp='$CPP $CPPFLAGS'
32874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32883 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32885 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32886 for ac_func in sincosl
32887 do :
32888 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32889 if test "x$ac_cv_func_sincosl" = x""yes; then :
32890 cat >>confdefs.h <<_ACEOF
32891 #define HAVE_SINCOSL 1
32892 _ACEOF
32895 done
32897 else
32899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32900 $as_echo_n "checking for _sincosl declaration... " >&6; }
32901 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32902 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32903 $as_echo_n "(cached) " >&6
32904 else
32907 ac_ext=cpp
32908 ac_cpp='$CXXCPP $CPPFLAGS'
32909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32914 /* end confdefs.h. */
32915 #include <math.h>
32917 main ()
32919 _sincosl(0, 0, 0);
32921 return 0;
32923 _ACEOF
32924 if ac_fn_cxx_try_compile "$LINENO"; then :
32925 glibcxx_cv_func__sincosl_use=yes
32926 else
32927 glibcxx_cv_func__sincosl_use=no
32929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32930 ac_ext=c
32931 ac_cpp='$CPP $CPPFLAGS'
32932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32941 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32943 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32944 for ac_func in _sincosl
32945 do :
32946 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32947 if test "x$ac_cv_func__sincosl" = x""yes; then :
32948 cat >>confdefs.h <<_ACEOF
32949 #define HAVE__SINCOSL 1
32950 _ACEOF
32953 done
32962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32963 $as_echo_n "checking for finitel declaration... " >&6; }
32964 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32965 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32966 $as_echo_n "(cached) " >&6
32967 else
32970 ac_ext=cpp
32971 ac_cpp='$CXXCPP $CPPFLAGS'
32972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32977 /* end confdefs.h. */
32978 #include <math.h>
32979 #ifdef HAVE_IEEEFP_H
32980 #include <ieeefp.h>
32981 #endif
32984 main ()
32986 finitel(0);
32988 return 0;
32990 _ACEOF
32991 if ac_fn_cxx_try_compile "$LINENO"; then :
32992 glibcxx_cv_func_finitel_use=yes
32993 else
32994 glibcxx_cv_func_finitel_use=no
32996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32997 ac_ext=c
32998 ac_cpp='$CPP $CPPFLAGS'
32999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33008 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33010 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33011 for ac_func in finitel
33012 do :
33013 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33014 if test "x$ac_cv_func_finitel" = x""yes; then :
33015 cat >>confdefs.h <<_ACEOF
33016 #define HAVE_FINITEL 1
33017 _ACEOF
33020 done
33022 else
33024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33025 $as_echo_n "checking for _finitel declaration... " >&6; }
33026 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33027 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33028 $as_echo_n "(cached) " >&6
33029 else
33032 ac_ext=cpp
33033 ac_cpp='$CXXCPP $CPPFLAGS'
33034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33039 /* end confdefs.h. */
33040 #include <math.h>
33041 #ifdef HAVE_IEEEFP_H
33042 #include <ieeefp.h>
33043 #endif
33046 main ()
33048 _finitel(0);
33050 return 0;
33052 _ACEOF
33053 if ac_fn_cxx_try_compile "$LINENO"; then :
33054 glibcxx_cv_func__finitel_use=yes
33055 else
33056 glibcxx_cv_func__finitel_use=no
33058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33059 ac_ext=c
33060 ac_cpp='$CPP $CPPFLAGS'
33061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33070 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33072 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33073 for ac_func in _finitel
33074 do :
33075 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33076 if test "x$ac_cv_func__finitel" = x""yes; then :
33077 cat >>confdefs.h <<_ACEOF
33078 #define HAVE__FINITEL 1
33079 _ACEOF
33082 done
33090 LIBS="$ac_save_LIBS"
33091 CXXFLAGS="$ac_save_CXXFLAGS"
33094 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33095 ac_save_CXXFLAGS="$CXXFLAGS"
33096 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33100 $as_echo_n "checking for strtold declaration... " >&6; }
33101 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33102 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33103 $as_echo_n "(cached) " >&6
33104 else
33107 ac_ext=cpp
33108 ac_cpp='$CXXCPP $CPPFLAGS'
33109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33114 /* end confdefs.h. */
33115 #include <stdlib.h>
33117 main ()
33119 strtold(0, 0);
33121 return 0;
33123 _ACEOF
33124 if ac_fn_cxx_try_compile "$LINENO"; then :
33125 glibcxx_cv_func_strtold_use=yes
33126 else
33127 glibcxx_cv_func_strtold_use=no
33129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33130 ac_ext=c
33131 ac_cpp='$CPP $CPPFLAGS'
33132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33141 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33142 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33143 for ac_func in strtold
33144 do :
33145 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33146 if test "x$ac_cv_func_strtold" = x""yes; then :
33147 cat >>confdefs.h <<_ACEOF
33148 #define HAVE_STRTOLD 1
33149 _ACEOF
33152 done
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33160 $as_echo_n "checking for strtof declaration... " >&6; }
33161 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33162 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33163 $as_echo_n "(cached) " >&6
33164 else
33167 ac_ext=cpp
33168 ac_cpp='$CXXCPP $CPPFLAGS'
33169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33174 /* end confdefs.h. */
33175 #include <stdlib.h>
33177 main ()
33179 strtof(0, 0);
33181 return 0;
33183 _ACEOF
33184 if ac_fn_cxx_try_compile "$LINENO"; then :
33185 glibcxx_cv_func_strtof_use=yes
33186 else
33187 glibcxx_cv_func_strtof_use=no
33189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33190 ac_ext=c
33191 ac_cpp='$CPP $CPPFLAGS'
33192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33201 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33202 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33203 for ac_func in strtof
33204 do :
33205 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33206 if test "x$ac_cv_func_strtof" = x""yes; then :
33207 cat >>confdefs.h <<_ACEOF
33208 #define HAVE_STRTOF 1
33209 _ACEOF
33212 done
33219 CXXFLAGS="$ac_save_CXXFLAGS"
33222 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33224 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33226 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33228 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33231 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33233 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33235 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33239 *-aix*)
33241 # If we're not using GNU ld, then there's no point in even trying these
33242 # tests. Check for that first. We should have already tested for gld
33243 # by now (in libtool), but require it now just to be safe...
33244 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33245 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33249 # The name set by libtool depends on the version of libtool. Shame on us
33250 # for depending on an impl detail, but c'est la vie. Older versions used
33251 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33252 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33253 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33254 # set (hence we're using an older libtool), then set it.
33255 if test x${with_gnu_ld+set} != xset; then
33256 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33257 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33258 with_gnu_ld=no
33259 else
33260 with_gnu_ld=$ac_cv_prog_gnu_ld
33264 # Start by getting the version number. I think the libtool test already
33265 # does some of this, but throws away the result.
33266 glibcxx_ld_is_gold=no
33267 if test x"$with_gnu_ld" = x"yes"; then
33268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33269 $as_echo_n "checking for ld version... " >&6; }
33271 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33272 glibcxx_ld_is_gold=yes
33274 ldver=`$LD --version 2>/dev/null |
33275 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'`
33277 glibcxx_gnu_ld_version=`echo $ldver | \
33278 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33280 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33283 # Set --gc-sections.
33284 glibcxx_have_gc_sections=no
33285 if test "$glibcxx_ld_is_gold" = "yes"; then
33286 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33287 glibcxx_have_gc_sections=yes
33289 else
33290 glibcxx_gcsections_min_ld=21602
33291 if test x"$with_gnu_ld" = x"yes" &&
33292 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33293 glibcxx_have_gc_sections=yes
33296 if test "$glibcxx_have_gc_sections" = "yes"; then
33297 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33298 # NB: This flag only works reliably after 2.16.1. Configure tests
33299 # for this are difficult, so hard wire a value that should work.
33301 ac_test_CFLAGS="${CFLAGS+set}"
33302 ac_save_CFLAGS="$CFLAGS"
33303 CFLAGS='-Wl,--gc-sections'
33305 # Check for -Wl,--gc-sections
33306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33307 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33308 if test x$gcc_no_link = xyes; then
33309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33312 /* end confdefs.h. */
33313 int one(void) { return 1; }
33314 int two(void) { return 2; }
33317 main ()
33319 two();
33321 return 0;
33323 _ACEOF
33324 if ac_fn_c_try_link "$LINENO"; then :
33325 ac_gcsections=yes
33326 else
33327 ac_gcsections=no
33329 rm -f core conftest.err conftest.$ac_objext \
33330 conftest$ac_exeext conftest.$ac_ext
33331 if test "$ac_gcsections" = "yes"; then
33332 rm -f conftest.c
33333 touch conftest.c
33334 if $CC -c conftest.c; then
33335 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33336 grep "Warning: gc-sections option ignored" > /dev/null; then
33337 ac_gcsections=no
33340 rm -f conftest.c conftest.o conftest
33342 if test "$ac_gcsections" = "yes"; then
33343 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33346 $as_echo "$ac_gcsections" >&6; }
33348 if test "$ac_test_CFLAGS" = set; then
33349 CFLAGS="$ac_save_CFLAGS"
33350 else
33351 # this is the suspicious part
33352 CFLAGS=''
33356 # Set -z,relro.
33357 # Note this is only for shared objects.
33358 ac_ld_relro=no
33359 if test x"$with_gnu_ld" = x"yes"; then
33360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33361 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33362 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33363 if test -n "$cxx_z_relo"; then
33364 OPT_LDFLAGS="-Wl,-z,relro"
33365 ac_ld_relro=yes
33367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33368 $as_echo "$ac_ld_relro" >&6; }
33371 # Set linker optimization flags.
33372 if test x"$with_gnu_ld" = x"yes"; then
33373 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33381 ac_save_CXXFLAGS="$CXXFLAGS"
33382 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33385 $as_echo_n "checking for sin in -lm... " >&6; }
33386 if test "${ac_cv_lib_m_sin+set}" = set; then :
33387 $as_echo_n "(cached) " >&6
33388 else
33389 ac_check_lib_save_LIBS=$LIBS
33390 LIBS="-lm $LIBS"
33391 if test x$gcc_no_link = xyes; then
33392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33395 /* end confdefs.h. */
33397 /* Override any GCC internal prototype to avoid an error.
33398 Use char because int might match the return type of a GCC
33399 builtin and then its argument prototype would still apply. */
33400 #ifdef __cplusplus
33401 extern "C"
33402 #endif
33403 char sin ();
33405 main ()
33407 return sin ();
33409 return 0;
33411 _ACEOF
33412 if ac_fn_c_try_link "$LINENO"; then :
33413 ac_cv_lib_m_sin=yes
33414 else
33415 ac_cv_lib_m_sin=no
33417 rm -f core conftest.err conftest.$ac_objext \
33418 conftest$ac_exeext conftest.$ac_ext
33419 LIBS=$ac_check_lib_save_LIBS
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33422 $as_echo "$ac_cv_lib_m_sin" >&6; }
33423 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33424 libm="-lm"
33427 ac_save_LIBS="$LIBS"
33428 LIBS="$LIBS $libm"
33432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33433 $as_echo_n "checking for isinf declaration... " >&6; }
33434 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33435 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33436 $as_echo_n "(cached) " >&6
33437 else
33440 ac_ext=cpp
33441 ac_cpp='$CXXCPP $CPPFLAGS'
33442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33447 /* end confdefs.h. */
33448 #include <math.h>
33449 #ifdef HAVE_IEEEFP_H
33450 #include <ieeefp.h>
33451 #endif
33454 main ()
33456 isinf(0);
33458 return 0;
33460 _ACEOF
33461 if ac_fn_cxx_try_compile "$LINENO"; then :
33462 glibcxx_cv_func_isinf_use=yes
33463 else
33464 glibcxx_cv_func_isinf_use=no
33466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33467 ac_ext=c
33468 ac_cpp='$CPP $CPPFLAGS'
33469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33478 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33480 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33481 for ac_func in isinf
33482 do :
33483 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33484 if test "x$ac_cv_func_isinf" = x""yes; then :
33485 cat >>confdefs.h <<_ACEOF
33486 #define HAVE_ISINF 1
33487 _ACEOF
33490 done
33492 else
33494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33495 $as_echo_n "checking for _isinf declaration... " >&6; }
33496 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33497 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33498 $as_echo_n "(cached) " >&6
33499 else
33502 ac_ext=cpp
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33509 /* end confdefs.h. */
33510 #include <math.h>
33511 #ifdef HAVE_IEEEFP_H
33512 #include <ieeefp.h>
33513 #endif
33516 main ()
33518 _isinf(0);
33520 return 0;
33522 _ACEOF
33523 if ac_fn_cxx_try_compile "$LINENO"; then :
33524 glibcxx_cv_func__isinf_use=yes
33525 else
33526 glibcxx_cv_func__isinf_use=no
33528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33529 ac_ext=c
33530 ac_cpp='$CPP $CPPFLAGS'
33531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33540 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33542 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33543 for ac_func in _isinf
33544 do :
33545 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33546 if test "x$ac_cv_func__isinf" = x""yes; then :
33547 cat >>confdefs.h <<_ACEOF
33548 #define HAVE__ISINF 1
33549 _ACEOF
33552 done
33561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33562 $as_echo_n "checking for isnan declaration... " >&6; }
33563 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33564 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33565 $as_echo_n "(cached) " >&6
33566 else
33569 ac_ext=cpp
33570 ac_cpp='$CXXCPP $CPPFLAGS'
33571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33576 /* end confdefs.h. */
33577 #include <math.h>
33578 #ifdef HAVE_IEEEFP_H
33579 #include <ieeefp.h>
33580 #endif
33583 main ()
33585 isnan(0);
33587 return 0;
33589 _ACEOF
33590 if ac_fn_cxx_try_compile "$LINENO"; then :
33591 glibcxx_cv_func_isnan_use=yes
33592 else
33593 glibcxx_cv_func_isnan_use=no
33595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33596 ac_ext=c
33597 ac_cpp='$CPP $CPPFLAGS'
33598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33607 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33609 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33610 for ac_func in isnan
33611 do :
33612 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33613 if test "x$ac_cv_func_isnan" = x""yes; then :
33614 cat >>confdefs.h <<_ACEOF
33615 #define HAVE_ISNAN 1
33616 _ACEOF
33619 done
33621 else
33623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33624 $as_echo_n "checking for _isnan declaration... " >&6; }
33625 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33626 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33627 $as_echo_n "(cached) " >&6
33628 else
33631 ac_ext=cpp
33632 ac_cpp='$CXXCPP $CPPFLAGS'
33633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33638 /* end confdefs.h. */
33639 #include <math.h>
33640 #ifdef HAVE_IEEEFP_H
33641 #include <ieeefp.h>
33642 #endif
33645 main ()
33647 _isnan(0);
33649 return 0;
33651 _ACEOF
33652 if ac_fn_cxx_try_compile "$LINENO"; then :
33653 glibcxx_cv_func__isnan_use=yes
33654 else
33655 glibcxx_cv_func__isnan_use=no
33657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658 ac_ext=c
33659 ac_cpp='$CPP $CPPFLAGS'
33660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33669 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33671 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33672 for ac_func in _isnan
33673 do :
33674 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33675 if test "x$ac_cv_func__isnan" = x""yes; then :
33676 cat >>confdefs.h <<_ACEOF
33677 #define HAVE__ISNAN 1
33678 _ACEOF
33681 done
33690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33691 $as_echo_n "checking for finite declaration... " >&6; }
33692 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33693 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33694 $as_echo_n "(cached) " >&6
33695 else
33698 ac_ext=cpp
33699 ac_cpp='$CXXCPP $CPPFLAGS'
33700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33705 /* end confdefs.h. */
33706 #include <math.h>
33707 #ifdef HAVE_IEEEFP_H
33708 #include <ieeefp.h>
33709 #endif
33712 main ()
33714 finite(0);
33716 return 0;
33718 _ACEOF
33719 if ac_fn_cxx_try_compile "$LINENO"; then :
33720 glibcxx_cv_func_finite_use=yes
33721 else
33722 glibcxx_cv_func_finite_use=no
33724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33725 ac_ext=c
33726 ac_cpp='$CPP $CPPFLAGS'
33727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33736 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33738 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33739 for ac_func in finite
33740 do :
33741 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33742 if test "x$ac_cv_func_finite" = x""yes; then :
33743 cat >>confdefs.h <<_ACEOF
33744 #define HAVE_FINITE 1
33745 _ACEOF
33748 done
33750 else
33752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33753 $as_echo_n "checking for _finite declaration... " >&6; }
33754 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33755 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33756 $as_echo_n "(cached) " >&6
33757 else
33760 ac_ext=cpp
33761 ac_cpp='$CXXCPP $CPPFLAGS'
33762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33767 /* end confdefs.h. */
33768 #include <math.h>
33769 #ifdef HAVE_IEEEFP_H
33770 #include <ieeefp.h>
33771 #endif
33774 main ()
33776 _finite(0);
33778 return 0;
33780 _ACEOF
33781 if ac_fn_cxx_try_compile "$LINENO"; then :
33782 glibcxx_cv_func__finite_use=yes
33783 else
33784 glibcxx_cv_func__finite_use=no
33786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33787 ac_ext=c
33788 ac_cpp='$CPP $CPPFLAGS'
33789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33798 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33800 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33801 for ac_func in _finite
33802 do :
33803 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33804 if test "x$ac_cv_func__finite" = x""yes; then :
33805 cat >>confdefs.h <<_ACEOF
33806 #define HAVE__FINITE 1
33807 _ACEOF
33810 done
33819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33820 $as_echo_n "checking for sincos declaration... " >&6; }
33821 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33822 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33823 $as_echo_n "(cached) " >&6
33824 else
33827 ac_ext=cpp
33828 ac_cpp='$CXXCPP $CPPFLAGS'
33829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33834 /* end confdefs.h. */
33835 #include <math.h>
33837 main ()
33839 sincos(0, 0, 0);
33841 return 0;
33843 _ACEOF
33844 if ac_fn_cxx_try_compile "$LINENO"; then :
33845 glibcxx_cv_func_sincos_use=yes
33846 else
33847 glibcxx_cv_func_sincos_use=no
33849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33850 ac_ext=c
33851 ac_cpp='$CPP $CPPFLAGS'
33852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33861 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33863 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33864 for ac_func in sincos
33865 do :
33866 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33867 if test "x$ac_cv_func_sincos" = x""yes; then :
33868 cat >>confdefs.h <<_ACEOF
33869 #define HAVE_SINCOS 1
33870 _ACEOF
33873 done
33875 else
33877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33878 $as_echo_n "checking for _sincos declaration... " >&6; }
33879 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33880 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33881 $as_echo_n "(cached) " >&6
33882 else
33885 ac_ext=cpp
33886 ac_cpp='$CXXCPP $CPPFLAGS'
33887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33892 /* end confdefs.h. */
33893 #include <math.h>
33895 main ()
33897 _sincos(0, 0, 0);
33899 return 0;
33901 _ACEOF
33902 if ac_fn_cxx_try_compile "$LINENO"; then :
33903 glibcxx_cv_func__sincos_use=yes
33904 else
33905 glibcxx_cv_func__sincos_use=no
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33908 ac_ext=c
33909 ac_cpp='$CPP $CPPFLAGS'
33910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33919 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33921 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33922 for ac_func in _sincos
33923 do :
33924 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33925 if test "x$ac_cv_func__sincos" = x""yes; then :
33926 cat >>confdefs.h <<_ACEOF
33927 #define HAVE__SINCOS 1
33928 _ACEOF
33931 done
33940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33941 $as_echo_n "checking for fpclass declaration... " >&6; }
33942 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33943 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33944 $as_echo_n "(cached) " >&6
33945 else
33948 ac_ext=cpp
33949 ac_cpp='$CXXCPP $CPPFLAGS'
33950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33955 /* end confdefs.h. */
33956 #include <math.h>
33957 #ifdef HAVE_IEEEFP_H
33958 #include <ieeefp.h>
33959 #endif
33962 main ()
33964 fpclass(0);
33966 return 0;
33968 _ACEOF
33969 if ac_fn_cxx_try_compile "$LINENO"; then :
33970 glibcxx_cv_func_fpclass_use=yes
33971 else
33972 glibcxx_cv_func_fpclass_use=no
33974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33975 ac_ext=c
33976 ac_cpp='$CPP $CPPFLAGS'
33977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33986 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33988 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33989 for ac_func in fpclass
33990 do :
33991 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33992 if test "x$ac_cv_func_fpclass" = x""yes; then :
33993 cat >>confdefs.h <<_ACEOF
33994 #define HAVE_FPCLASS 1
33995 _ACEOF
33998 done
34000 else
34002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34003 $as_echo_n "checking for _fpclass declaration... " >&6; }
34004 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34005 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34006 $as_echo_n "(cached) " >&6
34007 else
34010 ac_ext=cpp
34011 ac_cpp='$CXXCPP $CPPFLAGS'
34012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34017 /* end confdefs.h. */
34018 #include <math.h>
34019 #ifdef HAVE_IEEEFP_H
34020 #include <ieeefp.h>
34021 #endif
34024 main ()
34026 _fpclass(0);
34028 return 0;
34030 _ACEOF
34031 if ac_fn_cxx_try_compile "$LINENO"; then :
34032 glibcxx_cv_func__fpclass_use=yes
34033 else
34034 glibcxx_cv_func__fpclass_use=no
34036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34037 ac_ext=c
34038 ac_cpp='$CPP $CPPFLAGS'
34039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34048 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34050 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34051 for ac_func in _fpclass
34052 do :
34053 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34054 if test "x$ac_cv_func__fpclass" = x""yes; then :
34055 cat >>confdefs.h <<_ACEOF
34056 #define HAVE__FPCLASS 1
34057 _ACEOF
34060 done
34069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34070 $as_echo_n "checking for qfpclass declaration... " >&6; }
34071 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34072 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34073 $as_echo_n "(cached) " >&6
34074 else
34077 ac_ext=cpp
34078 ac_cpp='$CXXCPP $CPPFLAGS'
34079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34084 /* end confdefs.h. */
34085 #include <math.h>
34086 #ifdef HAVE_IEEEFP_H
34087 #include <ieeefp.h>
34088 #endif
34091 main ()
34093 qfpclass(0);
34095 return 0;
34097 _ACEOF
34098 if ac_fn_cxx_try_compile "$LINENO"; then :
34099 glibcxx_cv_func_qfpclass_use=yes
34100 else
34101 glibcxx_cv_func_qfpclass_use=no
34103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34104 ac_ext=c
34105 ac_cpp='$CPP $CPPFLAGS'
34106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34115 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34117 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34118 for ac_func in qfpclass
34119 do :
34120 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34121 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34122 cat >>confdefs.h <<_ACEOF
34123 #define HAVE_QFPCLASS 1
34124 _ACEOF
34127 done
34129 else
34131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34132 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34133 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34134 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34135 $as_echo_n "(cached) " >&6
34136 else
34139 ac_ext=cpp
34140 ac_cpp='$CXXCPP $CPPFLAGS'
34141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34146 /* end confdefs.h. */
34147 #include <math.h>
34148 #ifdef HAVE_IEEEFP_H
34149 #include <ieeefp.h>
34150 #endif
34153 main ()
34155 _qfpclass(0);
34157 return 0;
34159 _ACEOF
34160 if ac_fn_cxx_try_compile "$LINENO"; then :
34161 glibcxx_cv_func__qfpclass_use=yes
34162 else
34163 glibcxx_cv_func__qfpclass_use=no
34165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34166 ac_ext=c
34167 ac_cpp='$CPP $CPPFLAGS'
34168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34177 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34179 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34180 for ac_func in _qfpclass
34181 do :
34182 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34183 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34184 cat >>confdefs.h <<_ACEOF
34185 #define HAVE__QFPCLASS 1
34186 _ACEOF
34189 done
34198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34199 $as_echo_n "checking for hypot declaration... " >&6; }
34200 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34201 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34202 $as_echo_n "(cached) " >&6
34203 else
34206 ac_ext=cpp
34207 ac_cpp='$CXXCPP $CPPFLAGS'
34208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34213 /* end confdefs.h. */
34214 #include <math.h>
34216 main ()
34218 hypot(0, 0);
34220 return 0;
34222 _ACEOF
34223 if ac_fn_cxx_try_compile "$LINENO"; then :
34224 glibcxx_cv_func_hypot_use=yes
34225 else
34226 glibcxx_cv_func_hypot_use=no
34228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34229 ac_ext=c
34230 ac_cpp='$CPP $CPPFLAGS'
34231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34240 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34242 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34243 for ac_func in hypot
34244 do :
34245 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34246 if test "x$ac_cv_func_hypot" = x""yes; then :
34247 cat >>confdefs.h <<_ACEOF
34248 #define HAVE_HYPOT 1
34249 _ACEOF
34252 done
34254 else
34256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34257 $as_echo_n "checking for _hypot declaration... " >&6; }
34258 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34259 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34260 $as_echo_n "(cached) " >&6
34261 else
34264 ac_ext=cpp
34265 ac_cpp='$CXXCPP $CPPFLAGS'
34266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34271 /* end confdefs.h. */
34272 #include <math.h>
34274 main ()
34276 _hypot(0, 0);
34278 return 0;
34280 _ACEOF
34281 if ac_fn_cxx_try_compile "$LINENO"; then :
34282 glibcxx_cv_func__hypot_use=yes
34283 else
34284 glibcxx_cv_func__hypot_use=no
34286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287 ac_ext=c
34288 ac_cpp='$CPP $CPPFLAGS'
34289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34298 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34300 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34301 for ac_func in _hypot
34302 do :
34303 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34304 if test "x$ac_cv_func__hypot" = x""yes; then :
34305 cat >>confdefs.h <<_ACEOF
34306 #define HAVE__HYPOT 1
34307 _ACEOF
34310 done
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34320 $as_echo_n "checking for float trig functions... " >&6; }
34321 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34322 $as_echo_n "(cached) " >&6
34323 else
34326 ac_ext=cpp
34327 ac_cpp='$CXXCPP $CPPFLAGS'
34328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34333 /* end confdefs.h. */
34334 #include <math.h>
34336 main ()
34338 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34340 return 0;
34342 _ACEOF
34343 if ac_fn_cxx_try_compile "$LINENO"; then :
34344 glibcxx_cv_func_float_trig_use=yes
34345 else
34346 glibcxx_cv_func_float_trig_use=no
34348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34349 ac_ext=c
34350 ac_cpp='$CPP $CPPFLAGS'
34351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34358 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34359 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34360 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34361 do :
34362 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34364 eval as_val=\$$as_ac_var
34365 if test "x$as_val" = x""yes; then :
34366 cat >>confdefs.h <<_ACEOF
34367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34368 _ACEOF
34371 done
34373 else
34374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34375 $as_echo_n "checking for _float trig functions... " >&6; }
34376 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34377 $as_echo_n "(cached) " >&6
34378 else
34381 ac_ext=cpp
34382 ac_cpp='$CXXCPP $CPPFLAGS'
34383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34388 /* end confdefs.h. */
34389 #include <math.h>
34391 main ()
34393 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34395 return 0;
34397 _ACEOF
34398 if ac_fn_cxx_try_compile "$LINENO"; then :
34399 glibcxx_cv_func__float_trig_use=yes
34400 else
34401 glibcxx_cv_func__float_trig_use=no
34403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34404 ac_ext=c
34405 ac_cpp='$CPP $CPPFLAGS'
34406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34413 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34414 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34415 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34416 do :
34417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34419 eval as_val=\$$as_ac_var
34420 if test "x$as_val" = x""yes; then :
34421 cat >>confdefs.h <<_ACEOF
34422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34423 _ACEOF
34426 done
34435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34436 $as_echo_n "checking for float round functions... " >&6; }
34437 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34438 $as_echo_n "(cached) " >&6
34439 else
34442 ac_ext=cpp
34443 ac_cpp='$CXXCPP $CPPFLAGS'
34444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34449 /* end confdefs.h. */
34450 #include <math.h>
34452 main ()
34454 ceilf (0); floorf (0);
34456 return 0;
34458 _ACEOF
34459 if ac_fn_cxx_try_compile "$LINENO"; then :
34460 glibcxx_cv_func_float_round_use=yes
34461 else
34462 glibcxx_cv_func_float_round_use=no
34464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34465 ac_ext=c
34466 ac_cpp='$CPP $CPPFLAGS'
34467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34474 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34475 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34476 for ac_func in ceilf floorf
34477 do :
34478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34480 eval as_val=\$$as_ac_var
34481 if test "x$as_val" = x""yes; then :
34482 cat >>confdefs.h <<_ACEOF
34483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34484 _ACEOF
34487 done
34489 else
34490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34491 $as_echo_n "checking for _float round functions... " >&6; }
34492 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34493 $as_echo_n "(cached) " >&6
34494 else
34497 ac_ext=cpp
34498 ac_cpp='$CXXCPP $CPPFLAGS'
34499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34504 /* end confdefs.h. */
34505 #include <math.h>
34507 main ()
34509 _ceilf (0); _floorf (0);
34511 return 0;
34513 _ACEOF
34514 if ac_fn_cxx_try_compile "$LINENO"; then :
34515 glibcxx_cv_func__float_round_use=yes
34516 else
34517 glibcxx_cv_func__float_round_use=no
34519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34520 ac_ext=c
34521 ac_cpp='$CPP $CPPFLAGS'
34522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34529 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34530 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34531 for ac_func in _ceilf _floorf
34532 do :
34533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34535 eval as_val=\$$as_ac_var
34536 if test "x$as_val" = x""yes; then :
34537 cat >>confdefs.h <<_ACEOF
34538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34539 _ACEOF
34542 done
34552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34553 $as_echo_n "checking for expf declaration... " >&6; }
34554 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34555 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34556 $as_echo_n "(cached) " >&6
34557 else
34560 ac_ext=cpp
34561 ac_cpp='$CXXCPP $CPPFLAGS'
34562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34567 /* end confdefs.h. */
34568 #include <math.h>
34569 #ifdef HAVE_IEEEFP_H
34570 #include <ieeefp.h>
34571 #endif
34574 main ()
34576 expf(0);
34578 return 0;
34580 _ACEOF
34581 if ac_fn_cxx_try_compile "$LINENO"; then :
34582 glibcxx_cv_func_expf_use=yes
34583 else
34584 glibcxx_cv_func_expf_use=no
34586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34587 ac_ext=c
34588 ac_cpp='$CPP $CPPFLAGS'
34589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34598 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34600 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34601 for ac_func in expf
34602 do :
34603 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34604 if test "x$ac_cv_func_expf" = x""yes; then :
34605 cat >>confdefs.h <<_ACEOF
34606 #define HAVE_EXPF 1
34607 _ACEOF
34610 done
34612 else
34614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34615 $as_echo_n "checking for _expf declaration... " >&6; }
34616 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34617 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34618 $as_echo_n "(cached) " >&6
34619 else
34622 ac_ext=cpp
34623 ac_cpp='$CXXCPP $CPPFLAGS'
34624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34629 /* end confdefs.h. */
34630 #include <math.h>
34631 #ifdef HAVE_IEEEFP_H
34632 #include <ieeefp.h>
34633 #endif
34636 main ()
34638 _expf(0);
34640 return 0;
34642 _ACEOF
34643 if ac_fn_cxx_try_compile "$LINENO"; then :
34644 glibcxx_cv_func__expf_use=yes
34645 else
34646 glibcxx_cv_func__expf_use=no
34648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34649 ac_ext=c
34650 ac_cpp='$CPP $CPPFLAGS'
34651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34660 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34662 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34663 for ac_func in _expf
34664 do :
34665 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34666 if test "x$ac_cv_func__expf" = x""yes; then :
34667 cat >>confdefs.h <<_ACEOF
34668 #define HAVE__EXPF 1
34669 _ACEOF
34672 done
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34682 $as_echo_n "checking for isnanf declaration... " >&6; }
34683 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34684 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34685 $as_echo_n "(cached) " >&6
34686 else
34689 ac_ext=cpp
34690 ac_cpp='$CXXCPP $CPPFLAGS'
34691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34696 /* end confdefs.h. */
34697 #include <math.h>
34698 #ifdef HAVE_IEEEFP_H
34699 #include <ieeefp.h>
34700 #endif
34703 main ()
34705 isnanf(0);
34707 return 0;
34709 _ACEOF
34710 if ac_fn_cxx_try_compile "$LINENO"; then :
34711 glibcxx_cv_func_isnanf_use=yes
34712 else
34713 glibcxx_cv_func_isnanf_use=no
34715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34716 ac_ext=c
34717 ac_cpp='$CPP $CPPFLAGS'
34718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34727 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34729 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34730 for ac_func in isnanf
34731 do :
34732 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34733 if test "x$ac_cv_func_isnanf" = x""yes; then :
34734 cat >>confdefs.h <<_ACEOF
34735 #define HAVE_ISNANF 1
34736 _ACEOF
34739 done
34741 else
34743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34744 $as_echo_n "checking for _isnanf declaration... " >&6; }
34745 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34746 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34747 $as_echo_n "(cached) " >&6
34748 else
34751 ac_ext=cpp
34752 ac_cpp='$CXXCPP $CPPFLAGS'
34753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34758 /* end confdefs.h. */
34759 #include <math.h>
34760 #ifdef HAVE_IEEEFP_H
34761 #include <ieeefp.h>
34762 #endif
34765 main ()
34767 _isnanf(0);
34769 return 0;
34771 _ACEOF
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773 glibcxx_cv_func__isnanf_use=yes
34774 else
34775 glibcxx_cv_func__isnanf_use=no
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34778 ac_ext=c
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34789 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34791 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34792 for ac_func in _isnanf
34793 do :
34794 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34795 if test "x$ac_cv_func__isnanf" = x""yes; then :
34796 cat >>confdefs.h <<_ACEOF
34797 #define HAVE__ISNANF 1
34798 _ACEOF
34801 done
34810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34811 $as_echo_n "checking for isinff declaration... " >&6; }
34812 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34813 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34814 $as_echo_n "(cached) " >&6
34815 else
34818 ac_ext=cpp
34819 ac_cpp='$CXXCPP $CPPFLAGS'
34820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34825 /* end confdefs.h. */
34826 #include <math.h>
34827 #ifdef HAVE_IEEEFP_H
34828 #include <ieeefp.h>
34829 #endif
34832 main ()
34834 isinff(0);
34836 return 0;
34838 _ACEOF
34839 if ac_fn_cxx_try_compile "$LINENO"; then :
34840 glibcxx_cv_func_isinff_use=yes
34841 else
34842 glibcxx_cv_func_isinff_use=no
34844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34845 ac_ext=c
34846 ac_cpp='$CPP $CPPFLAGS'
34847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34856 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34858 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34859 for ac_func in isinff
34860 do :
34861 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34862 if test "x$ac_cv_func_isinff" = x""yes; then :
34863 cat >>confdefs.h <<_ACEOF
34864 #define HAVE_ISINFF 1
34865 _ACEOF
34868 done
34870 else
34872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34873 $as_echo_n "checking for _isinff declaration... " >&6; }
34874 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34875 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34876 $as_echo_n "(cached) " >&6
34877 else
34880 ac_ext=cpp
34881 ac_cpp='$CXXCPP $CPPFLAGS'
34882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34887 /* end confdefs.h. */
34888 #include <math.h>
34889 #ifdef HAVE_IEEEFP_H
34890 #include <ieeefp.h>
34891 #endif
34894 main ()
34896 _isinff(0);
34898 return 0;
34900 _ACEOF
34901 if ac_fn_cxx_try_compile "$LINENO"; then :
34902 glibcxx_cv_func__isinff_use=yes
34903 else
34904 glibcxx_cv_func__isinff_use=no
34906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34907 ac_ext=c
34908 ac_cpp='$CPP $CPPFLAGS'
34909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34918 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34920 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34921 for ac_func in _isinff
34922 do :
34923 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34924 if test "x$ac_cv_func__isinff" = x""yes; then :
34925 cat >>confdefs.h <<_ACEOF
34926 #define HAVE__ISINFF 1
34927 _ACEOF
34930 done
34939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34940 $as_echo_n "checking for atan2f declaration... " >&6; }
34941 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34942 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34943 $as_echo_n "(cached) " >&6
34944 else
34947 ac_ext=cpp
34948 ac_cpp='$CXXCPP $CPPFLAGS'
34949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34954 /* end confdefs.h. */
34955 #include <math.h>
34957 main ()
34959 atan2f(0, 0);
34961 return 0;
34963 _ACEOF
34964 if ac_fn_cxx_try_compile "$LINENO"; then :
34965 glibcxx_cv_func_atan2f_use=yes
34966 else
34967 glibcxx_cv_func_atan2f_use=no
34969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34970 ac_ext=c
34971 ac_cpp='$CPP $CPPFLAGS'
34972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34981 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34983 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34984 for ac_func in atan2f
34985 do :
34986 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34987 if test "x$ac_cv_func_atan2f" = x""yes; then :
34988 cat >>confdefs.h <<_ACEOF
34989 #define HAVE_ATAN2F 1
34990 _ACEOF
34993 done
34995 else
34997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34998 $as_echo_n "checking for _atan2f declaration... " >&6; }
34999 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35000 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35001 $as_echo_n "(cached) " >&6
35002 else
35005 ac_ext=cpp
35006 ac_cpp='$CXXCPP $CPPFLAGS'
35007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35012 /* end confdefs.h. */
35013 #include <math.h>
35015 main ()
35017 _atan2f(0, 0);
35019 return 0;
35021 _ACEOF
35022 if ac_fn_cxx_try_compile "$LINENO"; then :
35023 glibcxx_cv_func__atan2f_use=yes
35024 else
35025 glibcxx_cv_func__atan2f_use=no
35027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35028 ac_ext=c
35029 ac_cpp='$CPP $CPPFLAGS'
35030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35039 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35041 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35042 for ac_func in _atan2f
35043 do :
35044 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35045 if test "x$ac_cv_func__atan2f" = x""yes; then :
35046 cat >>confdefs.h <<_ACEOF
35047 #define HAVE__ATAN2F 1
35048 _ACEOF
35051 done
35060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35061 $as_echo_n "checking for fabsf declaration... " >&6; }
35062 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35063 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35064 $as_echo_n "(cached) " >&6
35065 else
35068 ac_ext=cpp
35069 ac_cpp='$CXXCPP $CPPFLAGS'
35070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35075 /* end confdefs.h. */
35076 #include <math.h>
35077 #ifdef HAVE_IEEEFP_H
35078 #include <ieeefp.h>
35079 #endif
35082 main ()
35084 fabsf(0);
35086 return 0;
35088 _ACEOF
35089 if ac_fn_cxx_try_compile "$LINENO"; then :
35090 glibcxx_cv_func_fabsf_use=yes
35091 else
35092 glibcxx_cv_func_fabsf_use=no
35094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35095 ac_ext=c
35096 ac_cpp='$CPP $CPPFLAGS'
35097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35106 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35108 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35109 for ac_func in fabsf
35110 do :
35111 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35112 if test "x$ac_cv_func_fabsf" = x""yes; then :
35113 cat >>confdefs.h <<_ACEOF
35114 #define HAVE_FABSF 1
35115 _ACEOF
35118 done
35120 else
35122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35123 $as_echo_n "checking for _fabsf declaration... " >&6; }
35124 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35125 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35126 $as_echo_n "(cached) " >&6
35127 else
35130 ac_ext=cpp
35131 ac_cpp='$CXXCPP $CPPFLAGS'
35132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35137 /* end confdefs.h. */
35138 #include <math.h>
35139 #ifdef HAVE_IEEEFP_H
35140 #include <ieeefp.h>
35141 #endif
35144 main ()
35146 _fabsf(0);
35148 return 0;
35150 _ACEOF
35151 if ac_fn_cxx_try_compile "$LINENO"; then :
35152 glibcxx_cv_func__fabsf_use=yes
35153 else
35154 glibcxx_cv_func__fabsf_use=no
35156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35157 ac_ext=c
35158 ac_cpp='$CPP $CPPFLAGS'
35159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35168 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35170 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35171 for ac_func in _fabsf
35172 do :
35173 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35174 if test "x$ac_cv_func__fabsf" = x""yes; then :
35175 cat >>confdefs.h <<_ACEOF
35176 #define HAVE__FABSF 1
35177 _ACEOF
35180 done
35189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35190 $as_echo_n "checking for fmodf declaration... " >&6; }
35191 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35192 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35193 $as_echo_n "(cached) " >&6
35194 else
35197 ac_ext=cpp
35198 ac_cpp='$CXXCPP $CPPFLAGS'
35199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35204 /* end confdefs.h. */
35205 #include <math.h>
35207 main ()
35209 fmodf(0, 0);
35211 return 0;
35213 _ACEOF
35214 if ac_fn_cxx_try_compile "$LINENO"; then :
35215 glibcxx_cv_func_fmodf_use=yes
35216 else
35217 glibcxx_cv_func_fmodf_use=no
35219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35220 ac_ext=c
35221 ac_cpp='$CPP $CPPFLAGS'
35222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35231 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35233 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35234 for ac_func in fmodf
35235 do :
35236 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35237 if test "x$ac_cv_func_fmodf" = x""yes; then :
35238 cat >>confdefs.h <<_ACEOF
35239 #define HAVE_FMODF 1
35240 _ACEOF
35243 done
35245 else
35247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35248 $as_echo_n "checking for _fmodf declaration... " >&6; }
35249 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35250 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35251 $as_echo_n "(cached) " >&6
35252 else
35255 ac_ext=cpp
35256 ac_cpp='$CXXCPP $CPPFLAGS'
35257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35262 /* end confdefs.h. */
35263 #include <math.h>
35265 main ()
35267 _fmodf(0, 0);
35269 return 0;
35271 _ACEOF
35272 if ac_fn_cxx_try_compile "$LINENO"; then :
35273 glibcxx_cv_func__fmodf_use=yes
35274 else
35275 glibcxx_cv_func__fmodf_use=no
35277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35278 ac_ext=c
35279 ac_cpp='$CPP $CPPFLAGS'
35280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35289 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35291 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35292 for ac_func in _fmodf
35293 do :
35294 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35295 if test "x$ac_cv_func__fmodf" = x""yes; then :
35296 cat >>confdefs.h <<_ACEOF
35297 #define HAVE__FMODF 1
35298 _ACEOF
35301 done
35310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35311 $as_echo_n "checking for frexpf declaration... " >&6; }
35312 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35313 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35314 $as_echo_n "(cached) " >&6
35315 else
35318 ac_ext=cpp
35319 ac_cpp='$CXXCPP $CPPFLAGS'
35320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35325 /* end confdefs.h. */
35326 #include <math.h>
35328 main ()
35330 frexpf(0, 0);
35332 return 0;
35334 _ACEOF
35335 if ac_fn_cxx_try_compile "$LINENO"; then :
35336 glibcxx_cv_func_frexpf_use=yes
35337 else
35338 glibcxx_cv_func_frexpf_use=no
35340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35341 ac_ext=c
35342 ac_cpp='$CPP $CPPFLAGS'
35343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35352 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35354 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35355 for ac_func in frexpf
35356 do :
35357 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35358 if test "x$ac_cv_func_frexpf" = x""yes; then :
35359 cat >>confdefs.h <<_ACEOF
35360 #define HAVE_FREXPF 1
35361 _ACEOF
35364 done
35366 else
35368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35369 $as_echo_n "checking for _frexpf declaration... " >&6; }
35370 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35371 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35372 $as_echo_n "(cached) " >&6
35373 else
35376 ac_ext=cpp
35377 ac_cpp='$CXXCPP $CPPFLAGS'
35378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35383 /* end confdefs.h. */
35384 #include <math.h>
35386 main ()
35388 _frexpf(0, 0);
35390 return 0;
35392 _ACEOF
35393 if ac_fn_cxx_try_compile "$LINENO"; then :
35394 glibcxx_cv_func__frexpf_use=yes
35395 else
35396 glibcxx_cv_func__frexpf_use=no
35398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35399 ac_ext=c
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35410 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35412 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35413 for ac_func in _frexpf
35414 do :
35415 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35416 if test "x$ac_cv_func__frexpf" = x""yes; then :
35417 cat >>confdefs.h <<_ACEOF
35418 #define HAVE__FREXPF 1
35419 _ACEOF
35422 done
35431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35432 $as_echo_n "checking for hypotf declaration... " >&6; }
35433 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35434 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35435 $as_echo_n "(cached) " >&6
35436 else
35439 ac_ext=cpp
35440 ac_cpp='$CXXCPP $CPPFLAGS'
35441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35446 /* end confdefs.h. */
35447 #include <math.h>
35449 main ()
35451 hypotf(0, 0);
35453 return 0;
35455 _ACEOF
35456 if ac_fn_cxx_try_compile "$LINENO"; then :
35457 glibcxx_cv_func_hypotf_use=yes
35458 else
35459 glibcxx_cv_func_hypotf_use=no
35461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35462 ac_ext=c
35463 ac_cpp='$CPP $CPPFLAGS'
35464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35473 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35475 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35476 for ac_func in hypotf
35477 do :
35478 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35479 if test "x$ac_cv_func_hypotf" = x""yes; then :
35480 cat >>confdefs.h <<_ACEOF
35481 #define HAVE_HYPOTF 1
35482 _ACEOF
35485 done
35487 else
35489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35490 $as_echo_n "checking for _hypotf declaration... " >&6; }
35491 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35492 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35493 $as_echo_n "(cached) " >&6
35494 else
35497 ac_ext=cpp
35498 ac_cpp='$CXXCPP $CPPFLAGS'
35499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35504 /* end confdefs.h. */
35505 #include <math.h>
35507 main ()
35509 _hypotf(0, 0);
35511 return 0;
35513 _ACEOF
35514 if ac_fn_cxx_try_compile "$LINENO"; then :
35515 glibcxx_cv_func__hypotf_use=yes
35516 else
35517 glibcxx_cv_func__hypotf_use=no
35519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35520 ac_ext=c
35521 ac_cpp='$CPP $CPPFLAGS'
35522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35531 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35533 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35534 for ac_func in _hypotf
35535 do :
35536 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35537 if test "x$ac_cv_func__hypotf" = x""yes; then :
35538 cat >>confdefs.h <<_ACEOF
35539 #define HAVE__HYPOTF 1
35540 _ACEOF
35543 done
35552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35553 $as_echo_n "checking for ldexpf declaration... " >&6; }
35554 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35555 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35556 $as_echo_n "(cached) " >&6
35557 else
35560 ac_ext=cpp
35561 ac_cpp='$CXXCPP $CPPFLAGS'
35562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35567 /* end confdefs.h. */
35568 #include <math.h>
35570 main ()
35572 ldexpf(0, 0);
35574 return 0;
35576 _ACEOF
35577 if ac_fn_cxx_try_compile "$LINENO"; then :
35578 glibcxx_cv_func_ldexpf_use=yes
35579 else
35580 glibcxx_cv_func_ldexpf_use=no
35582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35583 ac_ext=c
35584 ac_cpp='$CPP $CPPFLAGS'
35585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35594 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35596 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35597 for ac_func in ldexpf
35598 do :
35599 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35600 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35601 cat >>confdefs.h <<_ACEOF
35602 #define HAVE_LDEXPF 1
35603 _ACEOF
35606 done
35608 else
35610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35611 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35612 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35613 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35614 $as_echo_n "(cached) " >&6
35615 else
35618 ac_ext=cpp
35619 ac_cpp='$CXXCPP $CPPFLAGS'
35620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35625 /* end confdefs.h. */
35626 #include <math.h>
35628 main ()
35630 _ldexpf(0, 0);
35632 return 0;
35634 _ACEOF
35635 if ac_fn_cxx_try_compile "$LINENO"; then :
35636 glibcxx_cv_func__ldexpf_use=yes
35637 else
35638 glibcxx_cv_func__ldexpf_use=no
35640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35641 ac_ext=c
35642 ac_cpp='$CPP $CPPFLAGS'
35643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35652 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35654 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35655 for ac_func in _ldexpf
35656 do :
35657 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35658 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35659 cat >>confdefs.h <<_ACEOF
35660 #define HAVE__LDEXPF 1
35661 _ACEOF
35664 done
35673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35674 $as_echo_n "checking for logf declaration... " >&6; }
35675 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35676 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35677 $as_echo_n "(cached) " >&6
35678 else
35681 ac_ext=cpp
35682 ac_cpp='$CXXCPP $CPPFLAGS'
35683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35688 /* end confdefs.h. */
35689 #include <math.h>
35690 #ifdef HAVE_IEEEFP_H
35691 #include <ieeefp.h>
35692 #endif
35695 main ()
35697 logf(0);
35699 return 0;
35701 _ACEOF
35702 if ac_fn_cxx_try_compile "$LINENO"; then :
35703 glibcxx_cv_func_logf_use=yes
35704 else
35705 glibcxx_cv_func_logf_use=no
35707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35708 ac_ext=c
35709 ac_cpp='$CPP $CPPFLAGS'
35710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35719 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35721 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35722 for ac_func in logf
35723 do :
35724 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35725 if test "x$ac_cv_func_logf" = x""yes; then :
35726 cat >>confdefs.h <<_ACEOF
35727 #define HAVE_LOGF 1
35728 _ACEOF
35731 done
35733 else
35735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35736 $as_echo_n "checking for _logf declaration... " >&6; }
35737 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35738 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35739 $as_echo_n "(cached) " >&6
35740 else
35743 ac_ext=cpp
35744 ac_cpp='$CXXCPP $CPPFLAGS'
35745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35750 /* end confdefs.h. */
35751 #include <math.h>
35752 #ifdef HAVE_IEEEFP_H
35753 #include <ieeefp.h>
35754 #endif
35757 main ()
35759 _logf(0);
35761 return 0;
35763 _ACEOF
35764 if ac_fn_cxx_try_compile "$LINENO"; then :
35765 glibcxx_cv_func__logf_use=yes
35766 else
35767 glibcxx_cv_func__logf_use=no
35769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35770 ac_ext=c
35771 ac_cpp='$CPP $CPPFLAGS'
35772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35781 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35783 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35784 for ac_func in _logf
35785 do :
35786 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35787 if test "x$ac_cv_func__logf" = x""yes; then :
35788 cat >>confdefs.h <<_ACEOF
35789 #define HAVE__LOGF 1
35790 _ACEOF
35793 done
35802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35803 $as_echo_n "checking for log10f declaration... " >&6; }
35804 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35805 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35806 $as_echo_n "(cached) " >&6
35807 else
35810 ac_ext=cpp
35811 ac_cpp='$CXXCPP $CPPFLAGS'
35812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35817 /* end confdefs.h. */
35818 #include <math.h>
35819 #ifdef HAVE_IEEEFP_H
35820 #include <ieeefp.h>
35821 #endif
35824 main ()
35826 log10f(0);
35828 return 0;
35830 _ACEOF
35831 if ac_fn_cxx_try_compile "$LINENO"; then :
35832 glibcxx_cv_func_log10f_use=yes
35833 else
35834 glibcxx_cv_func_log10f_use=no
35836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35837 ac_ext=c
35838 ac_cpp='$CPP $CPPFLAGS'
35839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35848 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35850 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35851 for ac_func in log10f
35852 do :
35853 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35854 if test "x$ac_cv_func_log10f" = x""yes; then :
35855 cat >>confdefs.h <<_ACEOF
35856 #define HAVE_LOG10F 1
35857 _ACEOF
35860 done
35862 else
35864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35865 $as_echo_n "checking for _log10f declaration... " >&6; }
35866 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35867 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35868 $as_echo_n "(cached) " >&6
35869 else
35872 ac_ext=cpp
35873 ac_cpp='$CXXCPP $CPPFLAGS'
35874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35879 /* end confdefs.h. */
35880 #include <math.h>
35881 #ifdef HAVE_IEEEFP_H
35882 #include <ieeefp.h>
35883 #endif
35886 main ()
35888 _log10f(0);
35890 return 0;
35892 _ACEOF
35893 if ac_fn_cxx_try_compile "$LINENO"; then :
35894 glibcxx_cv_func__log10f_use=yes
35895 else
35896 glibcxx_cv_func__log10f_use=no
35898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35899 ac_ext=c
35900 ac_cpp='$CPP $CPPFLAGS'
35901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35910 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35912 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35913 for ac_func in _log10f
35914 do :
35915 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35916 if test "x$ac_cv_func__log10f" = x""yes; then :
35917 cat >>confdefs.h <<_ACEOF
35918 #define HAVE__LOG10F 1
35919 _ACEOF
35922 done
35931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35932 $as_echo_n "checking for modff declaration... " >&6; }
35933 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35934 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35935 $as_echo_n "(cached) " >&6
35936 else
35939 ac_ext=cpp
35940 ac_cpp='$CXXCPP $CPPFLAGS'
35941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35946 /* end confdefs.h. */
35947 #include <math.h>
35949 main ()
35951 modff(0, 0);
35953 return 0;
35955 _ACEOF
35956 if ac_fn_cxx_try_compile "$LINENO"; then :
35957 glibcxx_cv_func_modff_use=yes
35958 else
35959 glibcxx_cv_func_modff_use=no
35961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35962 ac_ext=c
35963 ac_cpp='$CPP $CPPFLAGS'
35964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35973 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35975 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35976 for ac_func in modff
35977 do :
35978 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35979 if test "x$ac_cv_func_modff" = x""yes; then :
35980 cat >>confdefs.h <<_ACEOF
35981 #define HAVE_MODFF 1
35982 _ACEOF
35985 done
35987 else
35989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35990 $as_echo_n "checking for _modff declaration... " >&6; }
35991 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35992 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35993 $as_echo_n "(cached) " >&6
35994 else
35997 ac_ext=cpp
35998 ac_cpp='$CXXCPP $CPPFLAGS'
35999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36004 /* end confdefs.h. */
36005 #include <math.h>
36007 main ()
36009 _modff(0, 0);
36011 return 0;
36013 _ACEOF
36014 if ac_fn_cxx_try_compile "$LINENO"; then :
36015 glibcxx_cv_func__modff_use=yes
36016 else
36017 glibcxx_cv_func__modff_use=no
36019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36020 ac_ext=c
36021 ac_cpp='$CPP $CPPFLAGS'
36022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36031 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36033 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36034 for ac_func in _modff
36035 do :
36036 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36037 if test "x$ac_cv_func__modff" = x""yes; then :
36038 cat >>confdefs.h <<_ACEOF
36039 #define HAVE__MODFF 1
36040 _ACEOF
36043 done
36052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36053 $as_echo_n "checking for modf declaration... " >&6; }
36054 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36055 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36056 $as_echo_n "(cached) " >&6
36057 else
36060 ac_ext=cpp
36061 ac_cpp='$CXXCPP $CPPFLAGS'
36062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36067 /* end confdefs.h. */
36068 #include <math.h>
36070 main ()
36072 modf(0, 0);
36074 return 0;
36076 _ACEOF
36077 if ac_fn_cxx_try_compile "$LINENO"; then :
36078 glibcxx_cv_func_modf_use=yes
36079 else
36080 glibcxx_cv_func_modf_use=no
36082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36083 ac_ext=c
36084 ac_cpp='$CPP $CPPFLAGS'
36085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36094 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36096 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36097 for ac_func in modf
36098 do :
36099 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36100 if test "x$ac_cv_func_modf" = x""yes; then :
36101 cat >>confdefs.h <<_ACEOF
36102 #define HAVE_MODF 1
36103 _ACEOF
36106 done
36108 else
36110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36111 $as_echo_n "checking for _modf declaration... " >&6; }
36112 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36113 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36114 $as_echo_n "(cached) " >&6
36115 else
36118 ac_ext=cpp
36119 ac_cpp='$CXXCPP $CPPFLAGS'
36120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36125 /* end confdefs.h. */
36126 #include <math.h>
36128 main ()
36130 _modf(0, 0);
36132 return 0;
36134 _ACEOF
36135 if ac_fn_cxx_try_compile "$LINENO"; then :
36136 glibcxx_cv_func__modf_use=yes
36137 else
36138 glibcxx_cv_func__modf_use=no
36140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36141 ac_ext=c
36142 ac_cpp='$CPP $CPPFLAGS'
36143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36152 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36154 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36155 for ac_func in _modf
36156 do :
36157 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36158 if test "x$ac_cv_func__modf" = x""yes; then :
36159 cat >>confdefs.h <<_ACEOF
36160 #define HAVE__MODF 1
36161 _ACEOF
36164 done
36173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36174 $as_echo_n "checking for powf declaration... " >&6; }
36175 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36176 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36177 $as_echo_n "(cached) " >&6
36178 else
36181 ac_ext=cpp
36182 ac_cpp='$CXXCPP $CPPFLAGS'
36183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36188 /* end confdefs.h. */
36189 #include <math.h>
36191 main ()
36193 powf(0, 0);
36195 return 0;
36197 _ACEOF
36198 if ac_fn_cxx_try_compile "$LINENO"; then :
36199 glibcxx_cv_func_powf_use=yes
36200 else
36201 glibcxx_cv_func_powf_use=no
36203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36204 ac_ext=c
36205 ac_cpp='$CPP $CPPFLAGS'
36206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36215 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36217 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36218 for ac_func in powf
36219 do :
36220 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36221 if test "x$ac_cv_func_powf" = x""yes; then :
36222 cat >>confdefs.h <<_ACEOF
36223 #define HAVE_POWF 1
36224 _ACEOF
36227 done
36229 else
36231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36232 $as_echo_n "checking for _powf declaration... " >&6; }
36233 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36234 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36235 $as_echo_n "(cached) " >&6
36236 else
36239 ac_ext=cpp
36240 ac_cpp='$CXXCPP $CPPFLAGS'
36241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36246 /* end confdefs.h. */
36247 #include <math.h>
36249 main ()
36251 _powf(0, 0);
36253 return 0;
36255 _ACEOF
36256 if ac_fn_cxx_try_compile "$LINENO"; then :
36257 glibcxx_cv_func__powf_use=yes
36258 else
36259 glibcxx_cv_func__powf_use=no
36261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36262 ac_ext=c
36263 ac_cpp='$CPP $CPPFLAGS'
36264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36273 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36275 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36276 for ac_func in _powf
36277 do :
36278 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36279 if test "x$ac_cv_func__powf" = x""yes; then :
36280 cat >>confdefs.h <<_ACEOF
36281 #define HAVE__POWF 1
36282 _ACEOF
36285 done
36294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36295 $as_echo_n "checking for sqrtf declaration... " >&6; }
36296 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36297 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36298 $as_echo_n "(cached) " >&6
36299 else
36302 ac_ext=cpp
36303 ac_cpp='$CXXCPP $CPPFLAGS'
36304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36309 /* end confdefs.h. */
36310 #include <math.h>
36311 #ifdef HAVE_IEEEFP_H
36312 #include <ieeefp.h>
36313 #endif
36316 main ()
36318 sqrtf(0);
36320 return 0;
36322 _ACEOF
36323 if ac_fn_cxx_try_compile "$LINENO"; then :
36324 glibcxx_cv_func_sqrtf_use=yes
36325 else
36326 glibcxx_cv_func_sqrtf_use=no
36328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36329 ac_ext=c
36330 ac_cpp='$CPP $CPPFLAGS'
36331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36340 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36342 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36343 for ac_func in sqrtf
36344 do :
36345 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36346 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36347 cat >>confdefs.h <<_ACEOF
36348 #define HAVE_SQRTF 1
36349 _ACEOF
36352 done
36354 else
36356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36357 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36358 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36359 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36360 $as_echo_n "(cached) " >&6
36361 else
36364 ac_ext=cpp
36365 ac_cpp='$CXXCPP $CPPFLAGS'
36366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36371 /* end confdefs.h. */
36372 #include <math.h>
36373 #ifdef HAVE_IEEEFP_H
36374 #include <ieeefp.h>
36375 #endif
36378 main ()
36380 _sqrtf(0);
36382 return 0;
36384 _ACEOF
36385 if ac_fn_cxx_try_compile "$LINENO"; then :
36386 glibcxx_cv_func__sqrtf_use=yes
36387 else
36388 glibcxx_cv_func__sqrtf_use=no
36390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36391 ac_ext=c
36392 ac_cpp='$CPP $CPPFLAGS'
36393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36402 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36404 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36405 for ac_func in _sqrtf
36406 do :
36407 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36408 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36409 cat >>confdefs.h <<_ACEOF
36410 #define HAVE__SQRTF 1
36411 _ACEOF
36414 done
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36424 $as_echo_n "checking for sincosf declaration... " >&6; }
36425 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36426 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36427 $as_echo_n "(cached) " >&6
36428 else
36431 ac_ext=cpp
36432 ac_cpp='$CXXCPP $CPPFLAGS'
36433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36438 /* end confdefs.h. */
36439 #include <math.h>
36441 main ()
36443 sincosf(0, 0, 0);
36445 return 0;
36447 _ACEOF
36448 if ac_fn_cxx_try_compile "$LINENO"; then :
36449 glibcxx_cv_func_sincosf_use=yes
36450 else
36451 glibcxx_cv_func_sincosf_use=no
36453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36454 ac_ext=c
36455 ac_cpp='$CPP $CPPFLAGS'
36456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36465 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36467 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36468 for ac_func in sincosf
36469 do :
36470 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36471 if test "x$ac_cv_func_sincosf" = x""yes; then :
36472 cat >>confdefs.h <<_ACEOF
36473 #define HAVE_SINCOSF 1
36474 _ACEOF
36477 done
36479 else
36481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36482 $as_echo_n "checking for _sincosf declaration... " >&6; }
36483 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36484 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36485 $as_echo_n "(cached) " >&6
36486 else
36489 ac_ext=cpp
36490 ac_cpp='$CXXCPP $CPPFLAGS'
36491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36496 /* end confdefs.h. */
36497 #include <math.h>
36499 main ()
36501 _sincosf(0, 0, 0);
36503 return 0;
36505 _ACEOF
36506 if ac_fn_cxx_try_compile "$LINENO"; then :
36507 glibcxx_cv_func__sincosf_use=yes
36508 else
36509 glibcxx_cv_func__sincosf_use=no
36511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36512 ac_ext=c
36513 ac_cpp='$CPP $CPPFLAGS'
36514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36523 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36525 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36526 for ac_func in _sincosf
36527 do :
36528 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36529 if test "x$ac_cv_func__sincosf" = x""yes; then :
36530 cat >>confdefs.h <<_ACEOF
36531 #define HAVE__SINCOSF 1
36532 _ACEOF
36535 done
36544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36545 $as_echo_n "checking for finitef declaration... " >&6; }
36546 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36547 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36548 $as_echo_n "(cached) " >&6
36549 else
36552 ac_ext=cpp
36553 ac_cpp='$CXXCPP $CPPFLAGS'
36554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36559 /* end confdefs.h. */
36560 #include <math.h>
36561 #ifdef HAVE_IEEEFP_H
36562 #include <ieeefp.h>
36563 #endif
36566 main ()
36568 finitef(0);
36570 return 0;
36572 _ACEOF
36573 if ac_fn_cxx_try_compile "$LINENO"; then :
36574 glibcxx_cv_func_finitef_use=yes
36575 else
36576 glibcxx_cv_func_finitef_use=no
36578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36579 ac_ext=c
36580 ac_cpp='$CPP $CPPFLAGS'
36581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36590 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36592 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36593 for ac_func in finitef
36594 do :
36595 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36596 if test "x$ac_cv_func_finitef" = x""yes; then :
36597 cat >>confdefs.h <<_ACEOF
36598 #define HAVE_FINITEF 1
36599 _ACEOF
36602 done
36604 else
36606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36607 $as_echo_n "checking for _finitef declaration... " >&6; }
36608 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36609 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36610 $as_echo_n "(cached) " >&6
36611 else
36614 ac_ext=cpp
36615 ac_cpp='$CXXCPP $CPPFLAGS'
36616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36621 /* end confdefs.h. */
36622 #include <math.h>
36623 #ifdef HAVE_IEEEFP_H
36624 #include <ieeefp.h>
36625 #endif
36628 main ()
36630 _finitef(0);
36632 return 0;
36634 _ACEOF
36635 if ac_fn_cxx_try_compile "$LINENO"; then :
36636 glibcxx_cv_func__finitef_use=yes
36637 else
36638 glibcxx_cv_func__finitef_use=no
36640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36641 ac_ext=c
36642 ac_cpp='$CPP $CPPFLAGS'
36643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36652 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36654 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36655 for ac_func in _finitef
36656 do :
36657 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36658 if test "x$ac_cv_func__finitef" = x""yes; then :
36659 cat >>confdefs.h <<_ACEOF
36660 #define HAVE__FINITEF 1
36661 _ACEOF
36664 done
36673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36674 $as_echo_n "checking for long double trig functions... " >&6; }
36675 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36676 $as_echo_n "(cached) " >&6
36677 else
36680 ac_ext=cpp
36681 ac_cpp='$CXXCPP $CPPFLAGS'
36682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36687 /* end confdefs.h. */
36688 #include <math.h>
36690 main ()
36692 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36694 return 0;
36696 _ACEOF
36697 if ac_fn_cxx_try_compile "$LINENO"; then :
36698 glibcxx_cv_func_long_double_trig_use=yes
36699 else
36700 glibcxx_cv_func_long_double_trig_use=no
36702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36703 ac_ext=c
36704 ac_cpp='$CPP $CPPFLAGS'
36705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36712 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36713 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36714 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36715 do :
36716 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36717 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36718 eval as_val=\$$as_ac_var
36719 if test "x$as_val" = x""yes; then :
36720 cat >>confdefs.h <<_ACEOF
36721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36722 _ACEOF
36725 done
36727 else
36728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36729 $as_echo_n "checking for _long double trig functions... " >&6; }
36730 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36731 $as_echo_n "(cached) " >&6
36732 else
36735 ac_ext=cpp
36736 ac_cpp='$CXXCPP $CPPFLAGS'
36737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36742 /* end confdefs.h. */
36743 #include <math.h>
36745 main ()
36747 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36749 return 0;
36751 _ACEOF
36752 if ac_fn_cxx_try_compile "$LINENO"; then :
36753 glibcxx_cv_func__long_double_trig_use=yes
36754 else
36755 glibcxx_cv_func__long_double_trig_use=no
36757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36758 ac_ext=c
36759 ac_cpp='$CPP $CPPFLAGS'
36760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36767 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36768 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36769 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36770 do :
36771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36773 eval as_val=\$$as_ac_var
36774 if test "x$as_val" = x""yes; then :
36775 cat >>confdefs.h <<_ACEOF
36776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36777 _ACEOF
36780 done
36789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36790 $as_echo_n "checking for long double round functions... " >&6; }
36791 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36792 $as_echo_n "(cached) " >&6
36793 else
36796 ac_ext=cpp
36797 ac_cpp='$CXXCPP $CPPFLAGS'
36798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36803 /* end confdefs.h. */
36804 #include <math.h>
36806 main ()
36808 ceill (0); floorl (0);
36810 return 0;
36812 _ACEOF
36813 if ac_fn_cxx_try_compile "$LINENO"; then :
36814 glibcxx_cv_func_long_double_round_use=yes
36815 else
36816 glibcxx_cv_func_long_double_round_use=no
36818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36819 ac_ext=c
36820 ac_cpp='$CPP $CPPFLAGS'
36821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36828 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36829 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36830 for ac_func in ceill floorl
36831 do :
36832 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36833 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36834 eval as_val=\$$as_ac_var
36835 if test "x$as_val" = x""yes; then :
36836 cat >>confdefs.h <<_ACEOF
36837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36838 _ACEOF
36841 done
36843 else
36844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36845 $as_echo_n "checking for _long double round functions... " >&6; }
36846 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36847 $as_echo_n "(cached) " >&6
36848 else
36851 ac_ext=cpp
36852 ac_cpp='$CXXCPP $CPPFLAGS'
36853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36858 /* end confdefs.h. */
36859 #include <math.h>
36861 main ()
36863 _ceill (0); _floorl (0);
36865 return 0;
36867 _ACEOF
36868 if ac_fn_cxx_try_compile "$LINENO"; then :
36869 glibcxx_cv_func__long_double_round_use=yes
36870 else
36871 glibcxx_cv_func__long_double_round_use=no
36873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36874 ac_ext=c
36875 ac_cpp='$CPP $CPPFLAGS'
36876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36883 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36884 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36885 for ac_func in _ceill _floorl
36886 do :
36887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36889 eval as_val=\$$as_ac_var
36890 if test "x$as_val" = x""yes; then :
36891 cat >>confdefs.h <<_ACEOF
36892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36893 _ACEOF
36896 done
36906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36907 $as_echo_n "checking for isnanl declaration... " >&6; }
36908 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36909 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36910 $as_echo_n "(cached) " >&6
36911 else
36914 ac_ext=cpp
36915 ac_cpp='$CXXCPP $CPPFLAGS'
36916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36921 /* end confdefs.h. */
36922 #include <math.h>
36923 #ifdef HAVE_IEEEFP_H
36924 #include <ieeefp.h>
36925 #endif
36928 main ()
36930 isnanl(0);
36932 return 0;
36934 _ACEOF
36935 if ac_fn_cxx_try_compile "$LINENO"; then :
36936 glibcxx_cv_func_isnanl_use=yes
36937 else
36938 glibcxx_cv_func_isnanl_use=no
36940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36941 ac_ext=c
36942 ac_cpp='$CPP $CPPFLAGS'
36943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36952 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36954 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36955 for ac_func in isnanl
36956 do :
36957 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36958 if test "x$ac_cv_func_isnanl" = x""yes; then :
36959 cat >>confdefs.h <<_ACEOF
36960 #define HAVE_ISNANL 1
36961 _ACEOF
36964 done
36966 else
36968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36969 $as_echo_n "checking for _isnanl declaration... " >&6; }
36970 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36971 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36972 $as_echo_n "(cached) " >&6
36973 else
36976 ac_ext=cpp
36977 ac_cpp='$CXXCPP $CPPFLAGS'
36978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36983 /* end confdefs.h. */
36984 #include <math.h>
36985 #ifdef HAVE_IEEEFP_H
36986 #include <ieeefp.h>
36987 #endif
36990 main ()
36992 _isnanl(0);
36994 return 0;
36996 _ACEOF
36997 if ac_fn_cxx_try_compile "$LINENO"; then :
36998 glibcxx_cv_func__isnanl_use=yes
36999 else
37000 glibcxx_cv_func__isnanl_use=no
37002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37003 ac_ext=c
37004 ac_cpp='$CPP $CPPFLAGS'
37005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37014 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37016 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37017 for ac_func in _isnanl
37018 do :
37019 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37020 if test "x$ac_cv_func__isnanl" = x""yes; then :
37021 cat >>confdefs.h <<_ACEOF
37022 #define HAVE__ISNANL 1
37023 _ACEOF
37026 done
37035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37036 $as_echo_n "checking for isinfl declaration... " >&6; }
37037 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37038 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37039 $as_echo_n "(cached) " >&6
37040 else
37043 ac_ext=cpp
37044 ac_cpp='$CXXCPP $CPPFLAGS'
37045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37050 /* end confdefs.h. */
37051 #include <math.h>
37052 #ifdef HAVE_IEEEFP_H
37053 #include <ieeefp.h>
37054 #endif
37057 main ()
37059 isinfl(0);
37061 return 0;
37063 _ACEOF
37064 if ac_fn_cxx_try_compile "$LINENO"; then :
37065 glibcxx_cv_func_isinfl_use=yes
37066 else
37067 glibcxx_cv_func_isinfl_use=no
37069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37070 ac_ext=c
37071 ac_cpp='$CPP $CPPFLAGS'
37072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37081 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37083 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37084 for ac_func in isinfl
37085 do :
37086 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37087 if test "x$ac_cv_func_isinfl" = x""yes; then :
37088 cat >>confdefs.h <<_ACEOF
37089 #define HAVE_ISINFL 1
37090 _ACEOF
37093 done
37095 else
37097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37098 $as_echo_n "checking for _isinfl declaration... " >&6; }
37099 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37100 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37101 $as_echo_n "(cached) " >&6
37102 else
37105 ac_ext=cpp
37106 ac_cpp='$CXXCPP $CPPFLAGS'
37107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37112 /* end confdefs.h. */
37113 #include <math.h>
37114 #ifdef HAVE_IEEEFP_H
37115 #include <ieeefp.h>
37116 #endif
37119 main ()
37121 _isinfl(0);
37123 return 0;
37125 _ACEOF
37126 if ac_fn_cxx_try_compile "$LINENO"; then :
37127 glibcxx_cv_func__isinfl_use=yes
37128 else
37129 glibcxx_cv_func__isinfl_use=no
37131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37132 ac_ext=c
37133 ac_cpp='$CPP $CPPFLAGS'
37134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37143 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37145 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37146 for ac_func in _isinfl
37147 do :
37148 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37149 if test "x$ac_cv_func__isinfl" = x""yes; then :
37150 cat >>confdefs.h <<_ACEOF
37151 #define HAVE__ISINFL 1
37152 _ACEOF
37155 done
37164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37165 $as_echo_n "checking for atan2l declaration... " >&6; }
37166 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37167 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37168 $as_echo_n "(cached) " >&6
37169 else
37172 ac_ext=cpp
37173 ac_cpp='$CXXCPP $CPPFLAGS'
37174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37179 /* end confdefs.h. */
37180 #include <math.h>
37182 main ()
37184 atan2l(0, 0);
37186 return 0;
37188 _ACEOF
37189 if ac_fn_cxx_try_compile "$LINENO"; then :
37190 glibcxx_cv_func_atan2l_use=yes
37191 else
37192 glibcxx_cv_func_atan2l_use=no
37194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37195 ac_ext=c
37196 ac_cpp='$CPP $CPPFLAGS'
37197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37206 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37208 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37209 for ac_func in atan2l
37210 do :
37211 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37212 if test "x$ac_cv_func_atan2l" = x""yes; then :
37213 cat >>confdefs.h <<_ACEOF
37214 #define HAVE_ATAN2L 1
37215 _ACEOF
37218 done
37220 else
37222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37223 $as_echo_n "checking for _atan2l declaration... " >&6; }
37224 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37225 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37226 $as_echo_n "(cached) " >&6
37227 else
37230 ac_ext=cpp
37231 ac_cpp='$CXXCPP $CPPFLAGS'
37232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37237 /* end confdefs.h. */
37238 #include <math.h>
37240 main ()
37242 _atan2l(0, 0);
37244 return 0;
37246 _ACEOF
37247 if ac_fn_cxx_try_compile "$LINENO"; then :
37248 glibcxx_cv_func__atan2l_use=yes
37249 else
37250 glibcxx_cv_func__atan2l_use=no
37252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37253 ac_ext=c
37254 ac_cpp='$CPP $CPPFLAGS'
37255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37264 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37266 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37267 for ac_func in _atan2l
37268 do :
37269 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37270 if test "x$ac_cv_func__atan2l" = x""yes; then :
37271 cat >>confdefs.h <<_ACEOF
37272 #define HAVE__ATAN2L 1
37273 _ACEOF
37276 done
37285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37286 $as_echo_n "checking for expl declaration... " >&6; }
37287 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37288 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37289 $as_echo_n "(cached) " >&6
37290 else
37293 ac_ext=cpp
37294 ac_cpp='$CXXCPP $CPPFLAGS'
37295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37300 /* end confdefs.h. */
37301 #include <math.h>
37302 #ifdef HAVE_IEEEFP_H
37303 #include <ieeefp.h>
37304 #endif
37307 main ()
37309 expl(0);
37311 return 0;
37313 _ACEOF
37314 if ac_fn_cxx_try_compile "$LINENO"; then :
37315 glibcxx_cv_func_expl_use=yes
37316 else
37317 glibcxx_cv_func_expl_use=no
37319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37320 ac_ext=c
37321 ac_cpp='$CPP $CPPFLAGS'
37322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37331 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37333 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37334 for ac_func in expl
37335 do :
37336 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37337 if test "x$ac_cv_func_expl" = x""yes; then :
37338 cat >>confdefs.h <<_ACEOF
37339 #define HAVE_EXPL 1
37340 _ACEOF
37343 done
37345 else
37347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37348 $as_echo_n "checking for _expl declaration... " >&6; }
37349 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37350 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37351 $as_echo_n "(cached) " >&6
37352 else
37355 ac_ext=cpp
37356 ac_cpp='$CXXCPP $CPPFLAGS'
37357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37362 /* end confdefs.h. */
37363 #include <math.h>
37364 #ifdef HAVE_IEEEFP_H
37365 #include <ieeefp.h>
37366 #endif
37369 main ()
37371 _expl(0);
37373 return 0;
37375 _ACEOF
37376 if ac_fn_cxx_try_compile "$LINENO"; then :
37377 glibcxx_cv_func__expl_use=yes
37378 else
37379 glibcxx_cv_func__expl_use=no
37381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37382 ac_ext=c
37383 ac_cpp='$CPP $CPPFLAGS'
37384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37393 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37395 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37396 for ac_func in _expl
37397 do :
37398 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37399 if test "x$ac_cv_func__expl" = x""yes; then :
37400 cat >>confdefs.h <<_ACEOF
37401 #define HAVE__EXPL 1
37402 _ACEOF
37405 done
37414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37415 $as_echo_n "checking for fabsl declaration... " >&6; }
37416 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37417 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37418 $as_echo_n "(cached) " >&6
37419 else
37422 ac_ext=cpp
37423 ac_cpp='$CXXCPP $CPPFLAGS'
37424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37429 /* end confdefs.h. */
37430 #include <math.h>
37431 #ifdef HAVE_IEEEFP_H
37432 #include <ieeefp.h>
37433 #endif
37436 main ()
37438 fabsl(0);
37440 return 0;
37442 _ACEOF
37443 if ac_fn_cxx_try_compile "$LINENO"; then :
37444 glibcxx_cv_func_fabsl_use=yes
37445 else
37446 glibcxx_cv_func_fabsl_use=no
37448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37449 ac_ext=c
37450 ac_cpp='$CPP $CPPFLAGS'
37451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37460 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37462 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37463 for ac_func in fabsl
37464 do :
37465 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37466 if test "x$ac_cv_func_fabsl" = x""yes; then :
37467 cat >>confdefs.h <<_ACEOF
37468 #define HAVE_FABSL 1
37469 _ACEOF
37472 done
37474 else
37476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37477 $as_echo_n "checking for _fabsl declaration... " >&6; }
37478 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37479 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37480 $as_echo_n "(cached) " >&6
37481 else
37484 ac_ext=cpp
37485 ac_cpp='$CXXCPP $CPPFLAGS'
37486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37491 /* end confdefs.h. */
37492 #include <math.h>
37493 #ifdef HAVE_IEEEFP_H
37494 #include <ieeefp.h>
37495 #endif
37498 main ()
37500 _fabsl(0);
37502 return 0;
37504 _ACEOF
37505 if ac_fn_cxx_try_compile "$LINENO"; then :
37506 glibcxx_cv_func__fabsl_use=yes
37507 else
37508 glibcxx_cv_func__fabsl_use=no
37510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37511 ac_ext=c
37512 ac_cpp='$CPP $CPPFLAGS'
37513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37522 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37524 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37525 for ac_func in _fabsl
37526 do :
37527 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37528 if test "x$ac_cv_func__fabsl" = x""yes; then :
37529 cat >>confdefs.h <<_ACEOF
37530 #define HAVE__FABSL 1
37531 _ACEOF
37534 done
37543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37544 $as_echo_n "checking for fmodl declaration... " >&6; }
37545 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37546 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37547 $as_echo_n "(cached) " >&6
37548 else
37551 ac_ext=cpp
37552 ac_cpp='$CXXCPP $CPPFLAGS'
37553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37558 /* end confdefs.h. */
37559 #include <math.h>
37561 main ()
37563 fmodl(0, 0);
37565 return 0;
37567 _ACEOF
37568 if ac_fn_cxx_try_compile "$LINENO"; then :
37569 glibcxx_cv_func_fmodl_use=yes
37570 else
37571 glibcxx_cv_func_fmodl_use=no
37573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37574 ac_ext=c
37575 ac_cpp='$CPP $CPPFLAGS'
37576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37585 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37587 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37588 for ac_func in fmodl
37589 do :
37590 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37591 if test "x$ac_cv_func_fmodl" = x""yes; then :
37592 cat >>confdefs.h <<_ACEOF
37593 #define HAVE_FMODL 1
37594 _ACEOF
37597 done
37599 else
37601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37602 $as_echo_n "checking for _fmodl declaration... " >&6; }
37603 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37604 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37605 $as_echo_n "(cached) " >&6
37606 else
37609 ac_ext=cpp
37610 ac_cpp='$CXXCPP $CPPFLAGS'
37611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37616 /* end confdefs.h. */
37617 #include <math.h>
37619 main ()
37621 _fmodl(0, 0);
37623 return 0;
37625 _ACEOF
37626 if ac_fn_cxx_try_compile "$LINENO"; then :
37627 glibcxx_cv_func__fmodl_use=yes
37628 else
37629 glibcxx_cv_func__fmodl_use=no
37631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37632 ac_ext=c
37633 ac_cpp='$CPP $CPPFLAGS'
37634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37643 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37645 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37646 for ac_func in _fmodl
37647 do :
37648 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37649 if test "x$ac_cv_func__fmodl" = x""yes; then :
37650 cat >>confdefs.h <<_ACEOF
37651 #define HAVE__FMODL 1
37652 _ACEOF
37655 done
37664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37665 $as_echo_n "checking for frexpl declaration... " >&6; }
37666 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37667 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37668 $as_echo_n "(cached) " >&6
37669 else
37672 ac_ext=cpp
37673 ac_cpp='$CXXCPP $CPPFLAGS'
37674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37679 /* end confdefs.h. */
37680 #include <math.h>
37682 main ()
37684 frexpl(0, 0);
37686 return 0;
37688 _ACEOF
37689 if ac_fn_cxx_try_compile "$LINENO"; then :
37690 glibcxx_cv_func_frexpl_use=yes
37691 else
37692 glibcxx_cv_func_frexpl_use=no
37694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37695 ac_ext=c
37696 ac_cpp='$CPP $CPPFLAGS'
37697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37706 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37708 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37709 for ac_func in frexpl
37710 do :
37711 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37712 if test "x$ac_cv_func_frexpl" = x""yes; then :
37713 cat >>confdefs.h <<_ACEOF
37714 #define HAVE_FREXPL 1
37715 _ACEOF
37718 done
37720 else
37722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37723 $as_echo_n "checking for _frexpl declaration... " >&6; }
37724 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37725 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37726 $as_echo_n "(cached) " >&6
37727 else
37730 ac_ext=cpp
37731 ac_cpp='$CXXCPP $CPPFLAGS'
37732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37737 /* end confdefs.h. */
37738 #include <math.h>
37740 main ()
37742 _frexpl(0, 0);
37744 return 0;
37746 _ACEOF
37747 if ac_fn_cxx_try_compile "$LINENO"; then :
37748 glibcxx_cv_func__frexpl_use=yes
37749 else
37750 glibcxx_cv_func__frexpl_use=no
37752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37753 ac_ext=c
37754 ac_cpp='$CPP $CPPFLAGS'
37755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37764 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37766 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37767 for ac_func in _frexpl
37768 do :
37769 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37770 if test "x$ac_cv_func__frexpl" = x""yes; then :
37771 cat >>confdefs.h <<_ACEOF
37772 #define HAVE__FREXPL 1
37773 _ACEOF
37776 done
37785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37786 $as_echo_n "checking for hypotl declaration... " >&6; }
37787 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37788 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37789 $as_echo_n "(cached) " >&6
37790 else
37793 ac_ext=cpp
37794 ac_cpp='$CXXCPP $CPPFLAGS'
37795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37800 /* end confdefs.h. */
37801 #include <math.h>
37803 main ()
37805 hypotl(0, 0);
37807 return 0;
37809 _ACEOF
37810 if ac_fn_cxx_try_compile "$LINENO"; then :
37811 glibcxx_cv_func_hypotl_use=yes
37812 else
37813 glibcxx_cv_func_hypotl_use=no
37815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37816 ac_ext=c
37817 ac_cpp='$CPP $CPPFLAGS'
37818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37827 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37829 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37830 for ac_func in hypotl
37831 do :
37832 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37833 if test "x$ac_cv_func_hypotl" = x""yes; then :
37834 cat >>confdefs.h <<_ACEOF
37835 #define HAVE_HYPOTL 1
37836 _ACEOF
37839 done
37841 else
37843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37844 $as_echo_n "checking for _hypotl declaration... " >&6; }
37845 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37846 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37847 $as_echo_n "(cached) " >&6
37848 else
37851 ac_ext=cpp
37852 ac_cpp='$CXXCPP $CPPFLAGS'
37853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37858 /* end confdefs.h. */
37859 #include <math.h>
37861 main ()
37863 _hypotl(0, 0);
37865 return 0;
37867 _ACEOF
37868 if ac_fn_cxx_try_compile "$LINENO"; then :
37869 glibcxx_cv_func__hypotl_use=yes
37870 else
37871 glibcxx_cv_func__hypotl_use=no
37873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37874 ac_ext=c
37875 ac_cpp='$CPP $CPPFLAGS'
37876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37885 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37887 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37888 for ac_func in _hypotl
37889 do :
37890 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37891 if test "x$ac_cv_func__hypotl" = x""yes; then :
37892 cat >>confdefs.h <<_ACEOF
37893 #define HAVE__HYPOTL 1
37894 _ACEOF
37897 done
37906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37907 $as_echo_n "checking for ldexpl declaration... " >&6; }
37908 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37909 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37910 $as_echo_n "(cached) " >&6
37911 else
37914 ac_ext=cpp
37915 ac_cpp='$CXXCPP $CPPFLAGS'
37916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37921 /* end confdefs.h. */
37922 #include <math.h>
37924 main ()
37926 ldexpl(0, 0);
37928 return 0;
37930 _ACEOF
37931 if ac_fn_cxx_try_compile "$LINENO"; then :
37932 glibcxx_cv_func_ldexpl_use=yes
37933 else
37934 glibcxx_cv_func_ldexpl_use=no
37936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37937 ac_ext=c
37938 ac_cpp='$CPP $CPPFLAGS'
37939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37948 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37950 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37951 for ac_func in ldexpl
37952 do :
37953 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37954 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37955 cat >>confdefs.h <<_ACEOF
37956 #define HAVE_LDEXPL 1
37957 _ACEOF
37960 done
37962 else
37964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37965 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37966 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37967 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37968 $as_echo_n "(cached) " >&6
37969 else
37972 ac_ext=cpp
37973 ac_cpp='$CXXCPP $CPPFLAGS'
37974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37979 /* end confdefs.h. */
37980 #include <math.h>
37982 main ()
37984 _ldexpl(0, 0);
37986 return 0;
37988 _ACEOF
37989 if ac_fn_cxx_try_compile "$LINENO"; then :
37990 glibcxx_cv_func__ldexpl_use=yes
37991 else
37992 glibcxx_cv_func__ldexpl_use=no
37994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37995 ac_ext=c
37996 ac_cpp='$CPP $CPPFLAGS'
37997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38006 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38008 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38009 for ac_func in _ldexpl
38010 do :
38011 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38012 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38013 cat >>confdefs.h <<_ACEOF
38014 #define HAVE__LDEXPL 1
38015 _ACEOF
38018 done
38027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38028 $as_echo_n "checking for logl declaration... " >&6; }
38029 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38030 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38031 $as_echo_n "(cached) " >&6
38032 else
38035 ac_ext=cpp
38036 ac_cpp='$CXXCPP $CPPFLAGS'
38037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38042 /* end confdefs.h. */
38043 #include <math.h>
38044 #ifdef HAVE_IEEEFP_H
38045 #include <ieeefp.h>
38046 #endif
38049 main ()
38051 logl(0);
38053 return 0;
38055 _ACEOF
38056 if ac_fn_cxx_try_compile "$LINENO"; then :
38057 glibcxx_cv_func_logl_use=yes
38058 else
38059 glibcxx_cv_func_logl_use=no
38061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38062 ac_ext=c
38063 ac_cpp='$CPP $CPPFLAGS'
38064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38073 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38075 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38076 for ac_func in logl
38077 do :
38078 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38079 if test "x$ac_cv_func_logl" = x""yes; then :
38080 cat >>confdefs.h <<_ACEOF
38081 #define HAVE_LOGL 1
38082 _ACEOF
38085 done
38087 else
38089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38090 $as_echo_n "checking for _logl declaration... " >&6; }
38091 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38092 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38093 $as_echo_n "(cached) " >&6
38094 else
38097 ac_ext=cpp
38098 ac_cpp='$CXXCPP $CPPFLAGS'
38099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38104 /* end confdefs.h. */
38105 #include <math.h>
38106 #ifdef HAVE_IEEEFP_H
38107 #include <ieeefp.h>
38108 #endif
38111 main ()
38113 _logl(0);
38115 return 0;
38117 _ACEOF
38118 if ac_fn_cxx_try_compile "$LINENO"; then :
38119 glibcxx_cv_func__logl_use=yes
38120 else
38121 glibcxx_cv_func__logl_use=no
38123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38124 ac_ext=c
38125 ac_cpp='$CPP $CPPFLAGS'
38126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38135 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38137 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38138 for ac_func in _logl
38139 do :
38140 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38141 if test "x$ac_cv_func__logl" = x""yes; then :
38142 cat >>confdefs.h <<_ACEOF
38143 #define HAVE__LOGL 1
38144 _ACEOF
38147 done
38156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38157 $as_echo_n "checking for log10l declaration... " >&6; }
38158 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38159 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38160 $as_echo_n "(cached) " >&6
38161 else
38164 ac_ext=cpp
38165 ac_cpp='$CXXCPP $CPPFLAGS'
38166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38171 /* end confdefs.h. */
38172 #include <math.h>
38173 #ifdef HAVE_IEEEFP_H
38174 #include <ieeefp.h>
38175 #endif
38178 main ()
38180 log10l(0);
38182 return 0;
38184 _ACEOF
38185 if ac_fn_cxx_try_compile "$LINENO"; then :
38186 glibcxx_cv_func_log10l_use=yes
38187 else
38188 glibcxx_cv_func_log10l_use=no
38190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38191 ac_ext=c
38192 ac_cpp='$CPP $CPPFLAGS'
38193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38202 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38204 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38205 for ac_func in log10l
38206 do :
38207 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38208 if test "x$ac_cv_func_log10l" = x""yes; then :
38209 cat >>confdefs.h <<_ACEOF
38210 #define HAVE_LOG10L 1
38211 _ACEOF
38214 done
38216 else
38218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38219 $as_echo_n "checking for _log10l declaration... " >&6; }
38220 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38221 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38222 $as_echo_n "(cached) " >&6
38223 else
38226 ac_ext=cpp
38227 ac_cpp='$CXXCPP $CPPFLAGS'
38228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38233 /* end confdefs.h. */
38234 #include <math.h>
38235 #ifdef HAVE_IEEEFP_H
38236 #include <ieeefp.h>
38237 #endif
38240 main ()
38242 _log10l(0);
38244 return 0;
38246 _ACEOF
38247 if ac_fn_cxx_try_compile "$LINENO"; then :
38248 glibcxx_cv_func__log10l_use=yes
38249 else
38250 glibcxx_cv_func__log10l_use=no
38252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38253 ac_ext=c
38254 ac_cpp='$CPP $CPPFLAGS'
38255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38264 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38266 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38267 for ac_func in _log10l
38268 do :
38269 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38270 if test "x$ac_cv_func__log10l" = x""yes; then :
38271 cat >>confdefs.h <<_ACEOF
38272 #define HAVE__LOG10L 1
38273 _ACEOF
38276 done
38285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38286 $as_echo_n "checking for modfl declaration... " >&6; }
38287 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38288 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38289 $as_echo_n "(cached) " >&6
38290 else
38293 ac_ext=cpp
38294 ac_cpp='$CXXCPP $CPPFLAGS'
38295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38300 /* end confdefs.h. */
38301 #include <math.h>
38303 main ()
38305 modfl(0, 0);
38307 return 0;
38309 _ACEOF
38310 if ac_fn_cxx_try_compile "$LINENO"; then :
38311 glibcxx_cv_func_modfl_use=yes
38312 else
38313 glibcxx_cv_func_modfl_use=no
38315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38316 ac_ext=c
38317 ac_cpp='$CPP $CPPFLAGS'
38318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38327 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38329 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38330 for ac_func in modfl
38331 do :
38332 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38333 if test "x$ac_cv_func_modfl" = x""yes; then :
38334 cat >>confdefs.h <<_ACEOF
38335 #define HAVE_MODFL 1
38336 _ACEOF
38339 done
38341 else
38343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38344 $as_echo_n "checking for _modfl declaration... " >&6; }
38345 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38346 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38347 $as_echo_n "(cached) " >&6
38348 else
38351 ac_ext=cpp
38352 ac_cpp='$CXXCPP $CPPFLAGS'
38353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38358 /* end confdefs.h. */
38359 #include <math.h>
38361 main ()
38363 _modfl(0, 0);
38365 return 0;
38367 _ACEOF
38368 if ac_fn_cxx_try_compile "$LINENO"; then :
38369 glibcxx_cv_func__modfl_use=yes
38370 else
38371 glibcxx_cv_func__modfl_use=no
38373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38374 ac_ext=c
38375 ac_cpp='$CPP $CPPFLAGS'
38376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38385 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38387 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38388 for ac_func in _modfl
38389 do :
38390 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38391 if test "x$ac_cv_func__modfl" = x""yes; then :
38392 cat >>confdefs.h <<_ACEOF
38393 #define HAVE__MODFL 1
38394 _ACEOF
38397 done
38406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38407 $as_echo_n "checking for powl declaration... " >&6; }
38408 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38409 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38410 $as_echo_n "(cached) " >&6
38411 else
38414 ac_ext=cpp
38415 ac_cpp='$CXXCPP $CPPFLAGS'
38416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38421 /* end confdefs.h. */
38422 #include <math.h>
38424 main ()
38426 powl(0, 0);
38428 return 0;
38430 _ACEOF
38431 if ac_fn_cxx_try_compile "$LINENO"; then :
38432 glibcxx_cv_func_powl_use=yes
38433 else
38434 glibcxx_cv_func_powl_use=no
38436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38437 ac_ext=c
38438 ac_cpp='$CPP $CPPFLAGS'
38439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38448 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38450 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38451 for ac_func in powl
38452 do :
38453 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38454 if test "x$ac_cv_func_powl" = x""yes; then :
38455 cat >>confdefs.h <<_ACEOF
38456 #define HAVE_POWL 1
38457 _ACEOF
38460 done
38462 else
38464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38465 $as_echo_n "checking for _powl declaration... " >&6; }
38466 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38467 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38468 $as_echo_n "(cached) " >&6
38469 else
38472 ac_ext=cpp
38473 ac_cpp='$CXXCPP $CPPFLAGS'
38474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38479 /* end confdefs.h. */
38480 #include <math.h>
38482 main ()
38484 _powl(0, 0);
38486 return 0;
38488 _ACEOF
38489 if ac_fn_cxx_try_compile "$LINENO"; then :
38490 glibcxx_cv_func__powl_use=yes
38491 else
38492 glibcxx_cv_func__powl_use=no
38494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38495 ac_ext=c
38496 ac_cpp='$CPP $CPPFLAGS'
38497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38506 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38508 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38509 for ac_func in _powl
38510 do :
38511 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38512 if test "x$ac_cv_func__powl" = x""yes; then :
38513 cat >>confdefs.h <<_ACEOF
38514 #define HAVE__POWL 1
38515 _ACEOF
38518 done
38527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38528 $as_echo_n "checking for sqrtl declaration... " >&6; }
38529 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38530 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38531 $as_echo_n "(cached) " >&6
38532 else
38535 ac_ext=cpp
38536 ac_cpp='$CXXCPP $CPPFLAGS'
38537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38542 /* end confdefs.h. */
38543 #include <math.h>
38544 #ifdef HAVE_IEEEFP_H
38545 #include <ieeefp.h>
38546 #endif
38549 main ()
38551 sqrtl(0);
38553 return 0;
38555 _ACEOF
38556 if ac_fn_cxx_try_compile "$LINENO"; then :
38557 glibcxx_cv_func_sqrtl_use=yes
38558 else
38559 glibcxx_cv_func_sqrtl_use=no
38561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38562 ac_ext=c
38563 ac_cpp='$CPP $CPPFLAGS'
38564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38573 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38575 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38576 for ac_func in sqrtl
38577 do :
38578 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38579 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38580 cat >>confdefs.h <<_ACEOF
38581 #define HAVE_SQRTL 1
38582 _ACEOF
38585 done
38587 else
38589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38590 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38591 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38592 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38593 $as_echo_n "(cached) " >&6
38594 else
38597 ac_ext=cpp
38598 ac_cpp='$CXXCPP $CPPFLAGS'
38599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38604 /* end confdefs.h. */
38605 #include <math.h>
38606 #ifdef HAVE_IEEEFP_H
38607 #include <ieeefp.h>
38608 #endif
38611 main ()
38613 _sqrtl(0);
38615 return 0;
38617 _ACEOF
38618 if ac_fn_cxx_try_compile "$LINENO"; then :
38619 glibcxx_cv_func__sqrtl_use=yes
38620 else
38621 glibcxx_cv_func__sqrtl_use=no
38623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38624 ac_ext=c
38625 ac_cpp='$CPP $CPPFLAGS'
38626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38635 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38637 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38638 for ac_func in _sqrtl
38639 do :
38640 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38641 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38642 cat >>confdefs.h <<_ACEOF
38643 #define HAVE__SQRTL 1
38644 _ACEOF
38647 done
38656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38657 $as_echo_n "checking for sincosl declaration... " >&6; }
38658 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38659 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38660 $as_echo_n "(cached) " >&6
38661 else
38664 ac_ext=cpp
38665 ac_cpp='$CXXCPP $CPPFLAGS'
38666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38671 /* end confdefs.h. */
38672 #include <math.h>
38674 main ()
38676 sincosl(0, 0, 0);
38678 return 0;
38680 _ACEOF
38681 if ac_fn_cxx_try_compile "$LINENO"; then :
38682 glibcxx_cv_func_sincosl_use=yes
38683 else
38684 glibcxx_cv_func_sincosl_use=no
38686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38687 ac_ext=c
38688 ac_cpp='$CPP $CPPFLAGS'
38689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38698 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38700 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38701 for ac_func in sincosl
38702 do :
38703 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38704 if test "x$ac_cv_func_sincosl" = x""yes; then :
38705 cat >>confdefs.h <<_ACEOF
38706 #define HAVE_SINCOSL 1
38707 _ACEOF
38710 done
38712 else
38714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38715 $as_echo_n "checking for _sincosl declaration... " >&6; }
38716 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38717 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38718 $as_echo_n "(cached) " >&6
38719 else
38722 ac_ext=cpp
38723 ac_cpp='$CXXCPP $CPPFLAGS'
38724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38729 /* end confdefs.h. */
38730 #include <math.h>
38732 main ()
38734 _sincosl(0, 0, 0);
38736 return 0;
38738 _ACEOF
38739 if ac_fn_cxx_try_compile "$LINENO"; then :
38740 glibcxx_cv_func__sincosl_use=yes
38741 else
38742 glibcxx_cv_func__sincosl_use=no
38744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38745 ac_ext=c
38746 ac_cpp='$CPP $CPPFLAGS'
38747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38756 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38758 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38759 for ac_func in _sincosl
38760 do :
38761 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38762 if test "x$ac_cv_func__sincosl" = x""yes; then :
38763 cat >>confdefs.h <<_ACEOF
38764 #define HAVE__SINCOSL 1
38765 _ACEOF
38768 done
38777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38778 $as_echo_n "checking for finitel declaration... " >&6; }
38779 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38780 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38781 $as_echo_n "(cached) " >&6
38782 else
38785 ac_ext=cpp
38786 ac_cpp='$CXXCPP $CPPFLAGS'
38787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38792 /* end confdefs.h. */
38793 #include <math.h>
38794 #ifdef HAVE_IEEEFP_H
38795 #include <ieeefp.h>
38796 #endif
38799 main ()
38801 finitel(0);
38803 return 0;
38805 _ACEOF
38806 if ac_fn_cxx_try_compile "$LINENO"; then :
38807 glibcxx_cv_func_finitel_use=yes
38808 else
38809 glibcxx_cv_func_finitel_use=no
38811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38812 ac_ext=c
38813 ac_cpp='$CPP $CPPFLAGS'
38814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38823 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38825 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38826 for ac_func in finitel
38827 do :
38828 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38829 if test "x$ac_cv_func_finitel" = x""yes; then :
38830 cat >>confdefs.h <<_ACEOF
38831 #define HAVE_FINITEL 1
38832 _ACEOF
38835 done
38837 else
38839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38840 $as_echo_n "checking for _finitel declaration... " >&6; }
38841 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38842 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38843 $as_echo_n "(cached) " >&6
38844 else
38847 ac_ext=cpp
38848 ac_cpp='$CXXCPP $CPPFLAGS'
38849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38854 /* end confdefs.h. */
38855 #include <math.h>
38856 #ifdef HAVE_IEEEFP_H
38857 #include <ieeefp.h>
38858 #endif
38861 main ()
38863 _finitel(0);
38865 return 0;
38867 _ACEOF
38868 if ac_fn_cxx_try_compile "$LINENO"; then :
38869 glibcxx_cv_func__finitel_use=yes
38870 else
38871 glibcxx_cv_func__finitel_use=no
38873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38874 ac_ext=c
38875 ac_cpp='$CPP $CPPFLAGS'
38876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38885 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38887 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38888 for ac_func in _finitel
38889 do :
38890 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38891 if test "x$ac_cv_func__finitel" = x""yes; then :
38892 cat >>confdefs.h <<_ACEOF
38893 #define HAVE__FINITEL 1
38894 _ACEOF
38897 done
38905 LIBS="$ac_save_LIBS"
38906 CXXFLAGS="$ac_save_CXXFLAGS"
38909 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38910 ac_save_CXXFLAGS="$CXXFLAGS"
38911 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38915 $as_echo_n "checking for strtold declaration... " >&6; }
38916 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38917 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38918 $as_echo_n "(cached) " >&6
38919 else
38922 ac_ext=cpp
38923 ac_cpp='$CXXCPP $CPPFLAGS'
38924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38929 /* end confdefs.h. */
38930 #include <stdlib.h>
38932 main ()
38934 strtold(0, 0);
38936 return 0;
38938 _ACEOF
38939 if ac_fn_cxx_try_compile "$LINENO"; then :
38940 glibcxx_cv_func_strtold_use=yes
38941 else
38942 glibcxx_cv_func_strtold_use=no
38944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38945 ac_ext=c
38946 ac_cpp='$CPP $CPPFLAGS'
38947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38956 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38957 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38958 for ac_func in strtold
38959 do :
38960 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38961 if test "x$ac_cv_func_strtold" = x""yes; then :
38962 cat >>confdefs.h <<_ACEOF
38963 #define HAVE_STRTOLD 1
38964 _ACEOF
38967 done
38974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38975 $as_echo_n "checking for strtof declaration... " >&6; }
38976 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38977 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38978 $as_echo_n "(cached) " >&6
38979 else
38982 ac_ext=cpp
38983 ac_cpp='$CXXCPP $CPPFLAGS'
38984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38989 /* end confdefs.h. */
38990 #include <stdlib.h>
38992 main ()
38994 strtof(0, 0);
38996 return 0;
38998 _ACEOF
38999 if ac_fn_cxx_try_compile "$LINENO"; then :
39000 glibcxx_cv_func_strtof_use=yes
39001 else
39002 glibcxx_cv_func_strtof_use=no
39004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39005 ac_ext=c
39006 ac_cpp='$CPP $CPPFLAGS'
39007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39016 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39017 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39018 for ac_func in strtof
39019 do :
39020 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39021 if test "x$ac_cv_func_strtof" = x""yes; then :
39022 cat >>confdefs.h <<_ACEOF
39023 #define HAVE_STRTOF 1
39024 _ACEOF
39027 done
39034 CXXFLAGS="$ac_save_CXXFLAGS"
39036 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39038 # We don't yet support AIX's TLS ABI.
39039 #GCC_CHECK_TLS
39045 am_save_CPPFLAGS="$CPPFLAGS"
39047 for element in $INCICONV; do
39048 haveit=
39049 for x in $CPPFLAGS; do
39051 acl_save_prefix="$prefix"
39052 prefix="$acl_final_prefix"
39053 acl_save_exec_prefix="$exec_prefix"
39054 exec_prefix="$acl_final_exec_prefix"
39055 eval x=\"$x\"
39056 exec_prefix="$acl_save_exec_prefix"
39057 prefix="$acl_save_prefix"
39059 if test "X$x" = "X$element"; then
39060 haveit=yes
39061 break
39063 done
39064 if test -z "$haveit"; then
39065 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39067 done
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39071 $as_echo_n "checking for iconv... " >&6; }
39072 if test "${am_cv_func_iconv+set}" = set; then :
39073 $as_echo_n "(cached) " >&6
39074 else
39076 am_cv_func_iconv="no, consider installing GNU libiconv"
39077 am_cv_lib_iconv=no
39078 if test x$gcc_no_link = xyes; then
39079 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39082 /* end confdefs.h. */
39083 #include <stdlib.h>
39084 #include <iconv.h>
39086 main ()
39088 iconv_t cd = iconv_open("","");
39089 iconv(cd,NULL,NULL,NULL,NULL);
39090 iconv_close(cd);
39092 return 0;
39094 _ACEOF
39095 if ac_fn_c_try_link "$LINENO"; then :
39096 am_cv_func_iconv=yes
39098 rm -f core conftest.err conftest.$ac_objext \
39099 conftest$ac_exeext conftest.$ac_ext
39100 if test "$am_cv_func_iconv" != yes; then
39101 am_save_LIBS="$LIBS"
39102 LIBS="$LIBS $LIBICONV"
39103 if test x$gcc_no_link = xyes; then
39104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39107 /* end confdefs.h. */
39108 #include <stdlib.h>
39109 #include <iconv.h>
39111 main ()
39113 iconv_t cd = iconv_open("","");
39114 iconv(cd,NULL,NULL,NULL,NULL);
39115 iconv_close(cd);
39117 return 0;
39119 _ACEOF
39120 if ac_fn_c_try_link "$LINENO"; then :
39121 am_cv_lib_iconv=yes
39122 am_cv_func_iconv=yes
39124 rm -f core conftest.err conftest.$ac_objext \
39125 conftest$ac_exeext conftest.$ac_ext
39126 LIBS="$am_save_LIBS"
39130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39131 $as_echo "$am_cv_func_iconv" >&6; }
39132 if test "$am_cv_func_iconv" = yes; then
39134 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39137 if test "$am_cv_lib_iconv" = yes; then
39138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39139 $as_echo_n "checking how to link with libiconv... " >&6; }
39140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39141 $as_echo "$LIBICONV" >&6; }
39142 else
39143 CPPFLAGS="$am_save_CPPFLAGS"
39144 LIBICONV=
39145 LTLIBICONV=
39150 if test "$am_cv_func_iconv" = yes; then
39151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39152 $as_echo_n "checking for iconv declaration... " >&6; }
39153 if test "${am_cv_proto_iconv+set}" = set; then :
39154 $as_echo_n "(cached) " >&6
39155 else
39157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39158 /* end confdefs.h. */
39160 #include <stdlib.h>
39161 #include <iconv.h>
39162 extern
39163 #ifdef __cplusplus
39165 #endif
39166 #if defined(__STDC__) || defined(__cplusplus)
39167 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39168 #else
39169 size_t iconv();
39170 #endif
39173 main ()
39177 return 0;
39179 _ACEOF
39180 if ac_fn_c_try_compile "$LINENO"; then :
39181 am_cv_proto_iconv_arg1=""
39182 else
39183 am_cv_proto_iconv_arg1="const"
39185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39186 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);"
39189 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39191 }$am_cv_proto_iconv" >&5
39192 $as_echo "${ac_t:-
39193 }$am_cv_proto_iconv" >&6; }
39195 cat >>confdefs.h <<_ACEOF
39196 #define ICONV_CONST $am_cv_proto_iconv_arg1
39197 _ACEOF
39203 *-darwin*)
39204 # Darwin versions vary, but the linker should work in a cross environment,
39205 # so we just check for all the features here.
39206 # Check for available headers.
39208 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39210 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39211 ac_save_CXXFLAGS="$CXXFLAGS"
39212 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39215 $as_echo_n "checking for sin in -lm... " >&6; }
39216 if test "${ac_cv_lib_m_sin+set}" = set; then :
39217 $as_echo_n "(cached) " >&6
39218 else
39219 ac_check_lib_save_LIBS=$LIBS
39220 LIBS="-lm $LIBS"
39221 if test x$gcc_no_link = xyes; then
39222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39225 /* end confdefs.h. */
39227 /* Override any GCC internal prototype to avoid an error.
39228 Use char because int might match the return type of a GCC
39229 builtin and then its argument prototype would still apply. */
39230 #ifdef __cplusplus
39231 extern "C"
39232 #endif
39233 char sin ();
39235 main ()
39237 return sin ();
39239 return 0;
39241 _ACEOF
39242 if ac_fn_c_try_link "$LINENO"; then :
39243 ac_cv_lib_m_sin=yes
39244 else
39245 ac_cv_lib_m_sin=no
39247 rm -f core conftest.err conftest.$ac_objext \
39248 conftest$ac_exeext conftest.$ac_ext
39249 LIBS=$ac_check_lib_save_LIBS
39251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39252 $as_echo "$ac_cv_lib_m_sin" >&6; }
39253 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39254 libm="-lm"
39257 ac_save_LIBS="$LIBS"
39258 LIBS="$LIBS $libm"
39262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39263 $as_echo_n "checking for isinf declaration... " >&6; }
39264 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39265 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39266 $as_echo_n "(cached) " >&6
39267 else
39270 ac_ext=cpp
39271 ac_cpp='$CXXCPP $CPPFLAGS'
39272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39277 /* end confdefs.h. */
39278 #include <math.h>
39279 #ifdef HAVE_IEEEFP_H
39280 #include <ieeefp.h>
39281 #endif
39284 main ()
39286 isinf(0);
39288 return 0;
39290 _ACEOF
39291 if ac_fn_cxx_try_compile "$LINENO"; then :
39292 glibcxx_cv_func_isinf_use=yes
39293 else
39294 glibcxx_cv_func_isinf_use=no
39296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39297 ac_ext=c
39298 ac_cpp='$CPP $CPPFLAGS'
39299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39308 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39310 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39311 for ac_func in isinf
39312 do :
39313 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39314 if test "x$ac_cv_func_isinf" = x""yes; then :
39315 cat >>confdefs.h <<_ACEOF
39316 #define HAVE_ISINF 1
39317 _ACEOF
39320 done
39322 else
39324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39325 $as_echo_n "checking for _isinf declaration... " >&6; }
39326 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39327 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39328 $as_echo_n "(cached) " >&6
39329 else
39332 ac_ext=cpp
39333 ac_cpp='$CXXCPP $CPPFLAGS'
39334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39339 /* end confdefs.h. */
39340 #include <math.h>
39341 #ifdef HAVE_IEEEFP_H
39342 #include <ieeefp.h>
39343 #endif
39346 main ()
39348 _isinf(0);
39350 return 0;
39352 _ACEOF
39353 if ac_fn_cxx_try_compile "$LINENO"; then :
39354 glibcxx_cv_func__isinf_use=yes
39355 else
39356 glibcxx_cv_func__isinf_use=no
39358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39359 ac_ext=c
39360 ac_cpp='$CPP $CPPFLAGS'
39361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39370 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39372 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39373 for ac_func in _isinf
39374 do :
39375 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39376 if test "x$ac_cv_func__isinf" = x""yes; then :
39377 cat >>confdefs.h <<_ACEOF
39378 #define HAVE__ISINF 1
39379 _ACEOF
39382 done
39391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39392 $as_echo_n "checking for isnan declaration... " >&6; }
39393 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39394 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39395 $as_echo_n "(cached) " >&6
39396 else
39399 ac_ext=cpp
39400 ac_cpp='$CXXCPP $CPPFLAGS'
39401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39406 /* end confdefs.h. */
39407 #include <math.h>
39408 #ifdef HAVE_IEEEFP_H
39409 #include <ieeefp.h>
39410 #endif
39413 main ()
39415 isnan(0);
39417 return 0;
39419 _ACEOF
39420 if ac_fn_cxx_try_compile "$LINENO"; then :
39421 glibcxx_cv_func_isnan_use=yes
39422 else
39423 glibcxx_cv_func_isnan_use=no
39425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39426 ac_ext=c
39427 ac_cpp='$CPP $CPPFLAGS'
39428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39437 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39439 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39440 for ac_func in isnan
39441 do :
39442 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39443 if test "x$ac_cv_func_isnan" = x""yes; then :
39444 cat >>confdefs.h <<_ACEOF
39445 #define HAVE_ISNAN 1
39446 _ACEOF
39449 done
39451 else
39453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39454 $as_echo_n "checking for _isnan declaration... " >&6; }
39455 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39456 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39457 $as_echo_n "(cached) " >&6
39458 else
39461 ac_ext=cpp
39462 ac_cpp='$CXXCPP $CPPFLAGS'
39463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39468 /* end confdefs.h. */
39469 #include <math.h>
39470 #ifdef HAVE_IEEEFP_H
39471 #include <ieeefp.h>
39472 #endif
39475 main ()
39477 _isnan(0);
39479 return 0;
39481 _ACEOF
39482 if ac_fn_cxx_try_compile "$LINENO"; then :
39483 glibcxx_cv_func__isnan_use=yes
39484 else
39485 glibcxx_cv_func__isnan_use=no
39487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39488 ac_ext=c
39489 ac_cpp='$CPP $CPPFLAGS'
39490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39499 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39501 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39502 for ac_func in _isnan
39503 do :
39504 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39505 if test "x$ac_cv_func__isnan" = x""yes; then :
39506 cat >>confdefs.h <<_ACEOF
39507 #define HAVE__ISNAN 1
39508 _ACEOF
39511 done
39520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39521 $as_echo_n "checking for finite declaration... " >&6; }
39522 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39523 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39524 $as_echo_n "(cached) " >&6
39525 else
39528 ac_ext=cpp
39529 ac_cpp='$CXXCPP $CPPFLAGS'
39530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39535 /* end confdefs.h. */
39536 #include <math.h>
39537 #ifdef HAVE_IEEEFP_H
39538 #include <ieeefp.h>
39539 #endif
39542 main ()
39544 finite(0);
39546 return 0;
39548 _ACEOF
39549 if ac_fn_cxx_try_compile "$LINENO"; then :
39550 glibcxx_cv_func_finite_use=yes
39551 else
39552 glibcxx_cv_func_finite_use=no
39554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39555 ac_ext=c
39556 ac_cpp='$CPP $CPPFLAGS'
39557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39566 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39568 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39569 for ac_func in finite
39570 do :
39571 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39572 if test "x$ac_cv_func_finite" = x""yes; then :
39573 cat >>confdefs.h <<_ACEOF
39574 #define HAVE_FINITE 1
39575 _ACEOF
39578 done
39580 else
39582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39583 $as_echo_n "checking for _finite declaration... " >&6; }
39584 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39585 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39586 $as_echo_n "(cached) " >&6
39587 else
39590 ac_ext=cpp
39591 ac_cpp='$CXXCPP $CPPFLAGS'
39592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39597 /* end confdefs.h. */
39598 #include <math.h>
39599 #ifdef HAVE_IEEEFP_H
39600 #include <ieeefp.h>
39601 #endif
39604 main ()
39606 _finite(0);
39608 return 0;
39610 _ACEOF
39611 if ac_fn_cxx_try_compile "$LINENO"; then :
39612 glibcxx_cv_func__finite_use=yes
39613 else
39614 glibcxx_cv_func__finite_use=no
39616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39617 ac_ext=c
39618 ac_cpp='$CPP $CPPFLAGS'
39619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39628 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39630 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39631 for ac_func in _finite
39632 do :
39633 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39634 if test "x$ac_cv_func__finite" = x""yes; then :
39635 cat >>confdefs.h <<_ACEOF
39636 #define HAVE__FINITE 1
39637 _ACEOF
39640 done
39649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39650 $as_echo_n "checking for sincos declaration... " >&6; }
39651 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39652 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39653 $as_echo_n "(cached) " >&6
39654 else
39657 ac_ext=cpp
39658 ac_cpp='$CXXCPP $CPPFLAGS'
39659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39664 /* end confdefs.h. */
39665 #include <math.h>
39667 main ()
39669 sincos(0, 0, 0);
39671 return 0;
39673 _ACEOF
39674 if ac_fn_cxx_try_compile "$LINENO"; then :
39675 glibcxx_cv_func_sincos_use=yes
39676 else
39677 glibcxx_cv_func_sincos_use=no
39679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39680 ac_ext=c
39681 ac_cpp='$CPP $CPPFLAGS'
39682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39691 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39693 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39694 for ac_func in sincos
39695 do :
39696 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39697 if test "x$ac_cv_func_sincos" = x""yes; then :
39698 cat >>confdefs.h <<_ACEOF
39699 #define HAVE_SINCOS 1
39700 _ACEOF
39703 done
39705 else
39707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39708 $as_echo_n "checking for _sincos declaration... " >&6; }
39709 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39710 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39711 $as_echo_n "(cached) " >&6
39712 else
39715 ac_ext=cpp
39716 ac_cpp='$CXXCPP $CPPFLAGS'
39717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39722 /* end confdefs.h. */
39723 #include <math.h>
39725 main ()
39727 _sincos(0, 0, 0);
39729 return 0;
39731 _ACEOF
39732 if ac_fn_cxx_try_compile "$LINENO"; then :
39733 glibcxx_cv_func__sincos_use=yes
39734 else
39735 glibcxx_cv_func__sincos_use=no
39737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39738 ac_ext=c
39739 ac_cpp='$CPP $CPPFLAGS'
39740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39749 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39751 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39752 for ac_func in _sincos
39753 do :
39754 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39755 if test "x$ac_cv_func__sincos" = x""yes; then :
39756 cat >>confdefs.h <<_ACEOF
39757 #define HAVE__SINCOS 1
39758 _ACEOF
39761 done
39770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39771 $as_echo_n "checking for fpclass declaration... " >&6; }
39772 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39773 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39774 $as_echo_n "(cached) " >&6
39775 else
39778 ac_ext=cpp
39779 ac_cpp='$CXXCPP $CPPFLAGS'
39780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39785 /* end confdefs.h. */
39786 #include <math.h>
39787 #ifdef HAVE_IEEEFP_H
39788 #include <ieeefp.h>
39789 #endif
39792 main ()
39794 fpclass(0);
39796 return 0;
39798 _ACEOF
39799 if ac_fn_cxx_try_compile "$LINENO"; then :
39800 glibcxx_cv_func_fpclass_use=yes
39801 else
39802 glibcxx_cv_func_fpclass_use=no
39804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39805 ac_ext=c
39806 ac_cpp='$CPP $CPPFLAGS'
39807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39816 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39818 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39819 for ac_func in fpclass
39820 do :
39821 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39822 if test "x$ac_cv_func_fpclass" = x""yes; then :
39823 cat >>confdefs.h <<_ACEOF
39824 #define HAVE_FPCLASS 1
39825 _ACEOF
39828 done
39830 else
39832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39833 $as_echo_n "checking for _fpclass declaration... " >&6; }
39834 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39835 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39836 $as_echo_n "(cached) " >&6
39837 else
39840 ac_ext=cpp
39841 ac_cpp='$CXXCPP $CPPFLAGS'
39842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39847 /* end confdefs.h. */
39848 #include <math.h>
39849 #ifdef HAVE_IEEEFP_H
39850 #include <ieeefp.h>
39851 #endif
39854 main ()
39856 _fpclass(0);
39858 return 0;
39860 _ACEOF
39861 if ac_fn_cxx_try_compile "$LINENO"; then :
39862 glibcxx_cv_func__fpclass_use=yes
39863 else
39864 glibcxx_cv_func__fpclass_use=no
39866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39867 ac_ext=c
39868 ac_cpp='$CPP $CPPFLAGS'
39869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39878 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39880 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39881 for ac_func in _fpclass
39882 do :
39883 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39884 if test "x$ac_cv_func__fpclass" = x""yes; then :
39885 cat >>confdefs.h <<_ACEOF
39886 #define HAVE__FPCLASS 1
39887 _ACEOF
39890 done
39899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39900 $as_echo_n "checking for qfpclass declaration... " >&6; }
39901 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39902 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39903 $as_echo_n "(cached) " >&6
39904 else
39907 ac_ext=cpp
39908 ac_cpp='$CXXCPP $CPPFLAGS'
39909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39914 /* end confdefs.h. */
39915 #include <math.h>
39916 #ifdef HAVE_IEEEFP_H
39917 #include <ieeefp.h>
39918 #endif
39921 main ()
39923 qfpclass(0);
39925 return 0;
39927 _ACEOF
39928 if ac_fn_cxx_try_compile "$LINENO"; then :
39929 glibcxx_cv_func_qfpclass_use=yes
39930 else
39931 glibcxx_cv_func_qfpclass_use=no
39933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39934 ac_ext=c
39935 ac_cpp='$CPP $CPPFLAGS'
39936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39945 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39947 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39948 for ac_func in qfpclass
39949 do :
39950 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39951 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39952 cat >>confdefs.h <<_ACEOF
39953 #define HAVE_QFPCLASS 1
39954 _ACEOF
39957 done
39959 else
39961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39962 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39963 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39964 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39965 $as_echo_n "(cached) " >&6
39966 else
39969 ac_ext=cpp
39970 ac_cpp='$CXXCPP $CPPFLAGS'
39971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39976 /* end confdefs.h. */
39977 #include <math.h>
39978 #ifdef HAVE_IEEEFP_H
39979 #include <ieeefp.h>
39980 #endif
39983 main ()
39985 _qfpclass(0);
39987 return 0;
39989 _ACEOF
39990 if ac_fn_cxx_try_compile "$LINENO"; then :
39991 glibcxx_cv_func__qfpclass_use=yes
39992 else
39993 glibcxx_cv_func__qfpclass_use=no
39995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39996 ac_ext=c
39997 ac_cpp='$CPP $CPPFLAGS'
39998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40007 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40009 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40010 for ac_func in _qfpclass
40011 do :
40012 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40013 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40014 cat >>confdefs.h <<_ACEOF
40015 #define HAVE__QFPCLASS 1
40016 _ACEOF
40019 done
40028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40029 $as_echo_n "checking for hypot declaration... " >&6; }
40030 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40031 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40032 $as_echo_n "(cached) " >&6
40033 else
40036 ac_ext=cpp
40037 ac_cpp='$CXXCPP $CPPFLAGS'
40038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40043 /* end confdefs.h. */
40044 #include <math.h>
40046 main ()
40048 hypot(0, 0);
40050 return 0;
40052 _ACEOF
40053 if ac_fn_cxx_try_compile "$LINENO"; then :
40054 glibcxx_cv_func_hypot_use=yes
40055 else
40056 glibcxx_cv_func_hypot_use=no
40058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40059 ac_ext=c
40060 ac_cpp='$CPP $CPPFLAGS'
40061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40070 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40072 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40073 for ac_func in hypot
40074 do :
40075 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40076 if test "x$ac_cv_func_hypot" = x""yes; then :
40077 cat >>confdefs.h <<_ACEOF
40078 #define HAVE_HYPOT 1
40079 _ACEOF
40082 done
40084 else
40086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40087 $as_echo_n "checking for _hypot declaration... " >&6; }
40088 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40089 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40090 $as_echo_n "(cached) " >&6
40091 else
40094 ac_ext=cpp
40095 ac_cpp='$CXXCPP $CPPFLAGS'
40096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40101 /* end confdefs.h. */
40102 #include <math.h>
40104 main ()
40106 _hypot(0, 0);
40108 return 0;
40110 _ACEOF
40111 if ac_fn_cxx_try_compile "$LINENO"; then :
40112 glibcxx_cv_func__hypot_use=yes
40113 else
40114 glibcxx_cv_func__hypot_use=no
40116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40117 ac_ext=c
40118 ac_cpp='$CPP $CPPFLAGS'
40119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40128 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40130 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40131 for ac_func in _hypot
40132 do :
40133 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40134 if test "x$ac_cv_func__hypot" = x""yes; then :
40135 cat >>confdefs.h <<_ACEOF
40136 #define HAVE__HYPOT 1
40137 _ACEOF
40140 done
40149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40150 $as_echo_n "checking for float trig functions... " >&6; }
40151 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40152 $as_echo_n "(cached) " >&6
40153 else
40156 ac_ext=cpp
40157 ac_cpp='$CXXCPP $CPPFLAGS'
40158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40163 /* end confdefs.h. */
40164 #include <math.h>
40166 main ()
40168 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40170 return 0;
40172 _ACEOF
40173 if ac_fn_cxx_try_compile "$LINENO"; then :
40174 glibcxx_cv_func_float_trig_use=yes
40175 else
40176 glibcxx_cv_func_float_trig_use=no
40178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40179 ac_ext=c
40180 ac_cpp='$CPP $CPPFLAGS'
40181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40188 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40189 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40190 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40191 do :
40192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40194 eval as_val=\$$as_ac_var
40195 if test "x$as_val" = x""yes; then :
40196 cat >>confdefs.h <<_ACEOF
40197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40198 _ACEOF
40201 done
40203 else
40204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40205 $as_echo_n "checking for _float trig functions... " >&6; }
40206 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40207 $as_echo_n "(cached) " >&6
40208 else
40211 ac_ext=cpp
40212 ac_cpp='$CXXCPP $CPPFLAGS'
40213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40218 /* end confdefs.h. */
40219 #include <math.h>
40221 main ()
40223 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40225 return 0;
40227 _ACEOF
40228 if ac_fn_cxx_try_compile "$LINENO"; then :
40229 glibcxx_cv_func__float_trig_use=yes
40230 else
40231 glibcxx_cv_func__float_trig_use=no
40233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40234 ac_ext=c
40235 ac_cpp='$CPP $CPPFLAGS'
40236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40243 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40244 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40245 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40246 do :
40247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40249 eval as_val=\$$as_ac_var
40250 if test "x$as_val" = x""yes; then :
40251 cat >>confdefs.h <<_ACEOF
40252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40253 _ACEOF
40256 done
40265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40266 $as_echo_n "checking for float round functions... " >&6; }
40267 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40268 $as_echo_n "(cached) " >&6
40269 else
40272 ac_ext=cpp
40273 ac_cpp='$CXXCPP $CPPFLAGS'
40274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40279 /* end confdefs.h. */
40280 #include <math.h>
40282 main ()
40284 ceilf (0); floorf (0);
40286 return 0;
40288 _ACEOF
40289 if ac_fn_cxx_try_compile "$LINENO"; then :
40290 glibcxx_cv_func_float_round_use=yes
40291 else
40292 glibcxx_cv_func_float_round_use=no
40294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40295 ac_ext=c
40296 ac_cpp='$CPP $CPPFLAGS'
40297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40304 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40305 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40306 for ac_func in ceilf floorf
40307 do :
40308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40310 eval as_val=\$$as_ac_var
40311 if test "x$as_val" = x""yes; then :
40312 cat >>confdefs.h <<_ACEOF
40313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40314 _ACEOF
40317 done
40319 else
40320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40321 $as_echo_n "checking for _float round functions... " >&6; }
40322 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40323 $as_echo_n "(cached) " >&6
40324 else
40327 ac_ext=cpp
40328 ac_cpp='$CXXCPP $CPPFLAGS'
40329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40334 /* end confdefs.h. */
40335 #include <math.h>
40337 main ()
40339 _ceilf (0); _floorf (0);
40341 return 0;
40343 _ACEOF
40344 if ac_fn_cxx_try_compile "$LINENO"; then :
40345 glibcxx_cv_func__float_round_use=yes
40346 else
40347 glibcxx_cv_func__float_round_use=no
40349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40350 ac_ext=c
40351 ac_cpp='$CPP $CPPFLAGS'
40352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40359 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40360 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40361 for ac_func in _ceilf _floorf
40362 do :
40363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40365 eval as_val=\$$as_ac_var
40366 if test "x$as_val" = x""yes; then :
40367 cat >>confdefs.h <<_ACEOF
40368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40369 _ACEOF
40372 done
40382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40383 $as_echo_n "checking for expf declaration... " >&6; }
40384 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40385 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40386 $as_echo_n "(cached) " >&6
40387 else
40390 ac_ext=cpp
40391 ac_cpp='$CXXCPP $CPPFLAGS'
40392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40397 /* end confdefs.h. */
40398 #include <math.h>
40399 #ifdef HAVE_IEEEFP_H
40400 #include <ieeefp.h>
40401 #endif
40404 main ()
40406 expf(0);
40408 return 0;
40410 _ACEOF
40411 if ac_fn_cxx_try_compile "$LINENO"; then :
40412 glibcxx_cv_func_expf_use=yes
40413 else
40414 glibcxx_cv_func_expf_use=no
40416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40417 ac_ext=c
40418 ac_cpp='$CPP $CPPFLAGS'
40419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40428 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40430 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40431 for ac_func in expf
40432 do :
40433 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40434 if test "x$ac_cv_func_expf" = x""yes; then :
40435 cat >>confdefs.h <<_ACEOF
40436 #define HAVE_EXPF 1
40437 _ACEOF
40440 done
40442 else
40444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40445 $as_echo_n "checking for _expf declaration... " >&6; }
40446 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40447 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40448 $as_echo_n "(cached) " >&6
40449 else
40452 ac_ext=cpp
40453 ac_cpp='$CXXCPP $CPPFLAGS'
40454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40459 /* end confdefs.h. */
40460 #include <math.h>
40461 #ifdef HAVE_IEEEFP_H
40462 #include <ieeefp.h>
40463 #endif
40466 main ()
40468 _expf(0);
40470 return 0;
40472 _ACEOF
40473 if ac_fn_cxx_try_compile "$LINENO"; then :
40474 glibcxx_cv_func__expf_use=yes
40475 else
40476 glibcxx_cv_func__expf_use=no
40478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40479 ac_ext=c
40480 ac_cpp='$CPP $CPPFLAGS'
40481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40490 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40492 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40493 for ac_func in _expf
40494 do :
40495 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40496 if test "x$ac_cv_func__expf" = x""yes; then :
40497 cat >>confdefs.h <<_ACEOF
40498 #define HAVE__EXPF 1
40499 _ACEOF
40502 done
40511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40512 $as_echo_n "checking for isnanf declaration... " >&6; }
40513 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40514 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40515 $as_echo_n "(cached) " >&6
40516 else
40519 ac_ext=cpp
40520 ac_cpp='$CXXCPP $CPPFLAGS'
40521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40526 /* end confdefs.h. */
40527 #include <math.h>
40528 #ifdef HAVE_IEEEFP_H
40529 #include <ieeefp.h>
40530 #endif
40533 main ()
40535 isnanf(0);
40537 return 0;
40539 _ACEOF
40540 if ac_fn_cxx_try_compile "$LINENO"; then :
40541 glibcxx_cv_func_isnanf_use=yes
40542 else
40543 glibcxx_cv_func_isnanf_use=no
40545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40546 ac_ext=c
40547 ac_cpp='$CPP $CPPFLAGS'
40548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40557 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40559 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40560 for ac_func in isnanf
40561 do :
40562 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40563 if test "x$ac_cv_func_isnanf" = x""yes; then :
40564 cat >>confdefs.h <<_ACEOF
40565 #define HAVE_ISNANF 1
40566 _ACEOF
40569 done
40571 else
40573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40574 $as_echo_n "checking for _isnanf declaration... " >&6; }
40575 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40576 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40577 $as_echo_n "(cached) " >&6
40578 else
40581 ac_ext=cpp
40582 ac_cpp='$CXXCPP $CPPFLAGS'
40583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40588 /* end confdefs.h. */
40589 #include <math.h>
40590 #ifdef HAVE_IEEEFP_H
40591 #include <ieeefp.h>
40592 #endif
40595 main ()
40597 _isnanf(0);
40599 return 0;
40601 _ACEOF
40602 if ac_fn_cxx_try_compile "$LINENO"; then :
40603 glibcxx_cv_func__isnanf_use=yes
40604 else
40605 glibcxx_cv_func__isnanf_use=no
40607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40608 ac_ext=c
40609 ac_cpp='$CPP $CPPFLAGS'
40610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40619 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40621 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40622 for ac_func in _isnanf
40623 do :
40624 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40625 if test "x$ac_cv_func__isnanf" = x""yes; then :
40626 cat >>confdefs.h <<_ACEOF
40627 #define HAVE__ISNANF 1
40628 _ACEOF
40631 done
40640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40641 $as_echo_n "checking for isinff declaration... " >&6; }
40642 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40643 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40644 $as_echo_n "(cached) " >&6
40645 else
40648 ac_ext=cpp
40649 ac_cpp='$CXXCPP $CPPFLAGS'
40650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40655 /* end confdefs.h. */
40656 #include <math.h>
40657 #ifdef HAVE_IEEEFP_H
40658 #include <ieeefp.h>
40659 #endif
40662 main ()
40664 isinff(0);
40666 return 0;
40668 _ACEOF
40669 if ac_fn_cxx_try_compile "$LINENO"; then :
40670 glibcxx_cv_func_isinff_use=yes
40671 else
40672 glibcxx_cv_func_isinff_use=no
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40675 ac_ext=c
40676 ac_cpp='$CPP $CPPFLAGS'
40677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40686 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40688 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40689 for ac_func in isinff
40690 do :
40691 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40692 if test "x$ac_cv_func_isinff" = x""yes; then :
40693 cat >>confdefs.h <<_ACEOF
40694 #define HAVE_ISINFF 1
40695 _ACEOF
40698 done
40700 else
40702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40703 $as_echo_n "checking for _isinff declaration... " >&6; }
40704 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40705 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40706 $as_echo_n "(cached) " >&6
40707 else
40710 ac_ext=cpp
40711 ac_cpp='$CXXCPP $CPPFLAGS'
40712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40717 /* end confdefs.h. */
40718 #include <math.h>
40719 #ifdef HAVE_IEEEFP_H
40720 #include <ieeefp.h>
40721 #endif
40724 main ()
40726 _isinff(0);
40728 return 0;
40730 _ACEOF
40731 if ac_fn_cxx_try_compile "$LINENO"; then :
40732 glibcxx_cv_func__isinff_use=yes
40733 else
40734 glibcxx_cv_func__isinff_use=no
40736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40737 ac_ext=c
40738 ac_cpp='$CPP $CPPFLAGS'
40739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40748 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40750 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40751 for ac_func in _isinff
40752 do :
40753 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40754 if test "x$ac_cv_func__isinff" = x""yes; then :
40755 cat >>confdefs.h <<_ACEOF
40756 #define HAVE__ISINFF 1
40757 _ACEOF
40760 done
40769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40770 $as_echo_n "checking for atan2f declaration... " >&6; }
40771 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40772 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40773 $as_echo_n "(cached) " >&6
40774 else
40777 ac_ext=cpp
40778 ac_cpp='$CXXCPP $CPPFLAGS'
40779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40784 /* end confdefs.h. */
40785 #include <math.h>
40787 main ()
40789 atan2f(0, 0);
40791 return 0;
40793 _ACEOF
40794 if ac_fn_cxx_try_compile "$LINENO"; then :
40795 glibcxx_cv_func_atan2f_use=yes
40796 else
40797 glibcxx_cv_func_atan2f_use=no
40799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40800 ac_ext=c
40801 ac_cpp='$CPP $CPPFLAGS'
40802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40811 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40813 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40814 for ac_func in atan2f
40815 do :
40816 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40817 if test "x$ac_cv_func_atan2f" = x""yes; then :
40818 cat >>confdefs.h <<_ACEOF
40819 #define HAVE_ATAN2F 1
40820 _ACEOF
40823 done
40825 else
40827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40828 $as_echo_n "checking for _atan2f declaration... " >&6; }
40829 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40830 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40831 $as_echo_n "(cached) " >&6
40832 else
40835 ac_ext=cpp
40836 ac_cpp='$CXXCPP $CPPFLAGS'
40837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40842 /* end confdefs.h. */
40843 #include <math.h>
40845 main ()
40847 _atan2f(0, 0);
40849 return 0;
40851 _ACEOF
40852 if ac_fn_cxx_try_compile "$LINENO"; then :
40853 glibcxx_cv_func__atan2f_use=yes
40854 else
40855 glibcxx_cv_func__atan2f_use=no
40857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40858 ac_ext=c
40859 ac_cpp='$CPP $CPPFLAGS'
40860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40869 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40871 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40872 for ac_func in _atan2f
40873 do :
40874 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40875 if test "x$ac_cv_func__atan2f" = x""yes; then :
40876 cat >>confdefs.h <<_ACEOF
40877 #define HAVE__ATAN2F 1
40878 _ACEOF
40881 done
40890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40891 $as_echo_n "checking for fabsf declaration... " >&6; }
40892 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40893 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40894 $as_echo_n "(cached) " >&6
40895 else
40898 ac_ext=cpp
40899 ac_cpp='$CXXCPP $CPPFLAGS'
40900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40905 /* end confdefs.h. */
40906 #include <math.h>
40907 #ifdef HAVE_IEEEFP_H
40908 #include <ieeefp.h>
40909 #endif
40912 main ()
40914 fabsf(0);
40916 return 0;
40918 _ACEOF
40919 if ac_fn_cxx_try_compile "$LINENO"; then :
40920 glibcxx_cv_func_fabsf_use=yes
40921 else
40922 glibcxx_cv_func_fabsf_use=no
40924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40925 ac_ext=c
40926 ac_cpp='$CPP $CPPFLAGS'
40927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40936 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40938 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40939 for ac_func in fabsf
40940 do :
40941 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40942 if test "x$ac_cv_func_fabsf" = x""yes; then :
40943 cat >>confdefs.h <<_ACEOF
40944 #define HAVE_FABSF 1
40945 _ACEOF
40948 done
40950 else
40952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40953 $as_echo_n "checking for _fabsf declaration... " >&6; }
40954 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40955 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40956 $as_echo_n "(cached) " >&6
40957 else
40960 ac_ext=cpp
40961 ac_cpp='$CXXCPP $CPPFLAGS'
40962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40967 /* end confdefs.h. */
40968 #include <math.h>
40969 #ifdef HAVE_IEEEFP_H
40970 #include <ieeefp.h>
40971 #endif
40974 main ()
40976 _fabsf(0);
40978 return 0;
40980 _ACEOF
40981 if ac_fn_cxx_try_compile "$LINENO"; then :
40982 glibcxx_cv_func__fabsf_use=yes
40983 else
40984 glibcxx_cv_func__fabsf_use=no
40986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40987 ac_ext=c
40988 ac_cpp='$CPP $CPPFLAGS'
40989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40998 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41000 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41001 for ac_func in _fabsf
41002 do :
41003 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41004 if test "x$ac_cv_func__fabsf" = x""yes; then :
41005 cat >>confdefs.h <<_ACEOF
41006 #define HAVE__FABSF 1
41007 _ACEOF
41010 done
41019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41020 $as_echo_n "checking for fmodf declaration... " >&6; }
41021 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41022 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41023 $as_echo_n "(cached) " >&6
41024 else
41027 ac_ext=cpp
41028 ac_cpp='$CXXCPP $CPPFLAGS'
41029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41034 /* end confdefs.h. */
41035 #include <math.h>
41037 main ()
41039 fmodf(0, 0);
41041 return 0;
41043 _ACEOF
41044 if ac_fn_cxx_try_compile "$LINENO"; then :
41045 glibcxx_cv_func_fmodf_use=yes
41046 else
41047 glibcxx_cv_func_fmodf_use=no
41049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41050 ac_ext=c
41051 ac_cpp='$CPP $CPPFLAGS'
41052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41061 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41063 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41064 for ac_func in fmodf
41065 do :
41066 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41067 if test "x$ac_cv_func_fmodf" = x""yes; then :
41068 cat >>confdefs.h <<_ACEOF
41069 #define HAVE_FMODF 1
41070 _ACEOF
41073 done
41075 else
41077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41078 $as_echo_n "checking for _fmodf declaration... " >&6; }
41079 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41080 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41081 $as_echo_n "(cached) " >&6
41082 else
41085 ac_ext=cpp
41086 ac_cpp='$CXXCPP $CPPFLAGS'
41087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41092 /* end confdefs.h. */
41093 #include <math.h>
41095 main ()
41097 _fmodf(0, 0);
41099 return 0;
41101 _ACEOF
41102 if ac_fn_cxx_try_compile "$LINENO"; then :
41103 glibcxx_cv_func__fmodf_use=yes
41104 else
41105 glibcxx_cv_func__fmodf_use=no
41107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41108 ac_ext=c
41109 ac_cpp='$CPP $CPPFLAGS'
41110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41119 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41121 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41122 for ac_func in _fmodf
41123 do :
41124 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41125 if test "x$ac_cv_func__fmodf" = x""yes; then :
41126 cat >>confdefs.h <<_ACEOF
41127 #define HAVE__FMODF 1
41128 _ACEOF
41131 done
41140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41141 $as_echo_n "checking for frexpf declaration... " >&6; }
41142 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41143 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41144 $as_echo_n "(cached) " >&6
41145 else
41148 ac_ext=cpp
41149 ac_cpp='$CXXCPP $CPPFLAGS'
41150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41155 /* end confdefs.h. */
41156 #include <math.h>
41158 main ()
41160 frexpf(0, 0);
41162 return 0;
41164 _ACEOF
41165 if ac_fn_cxx_try_compile "$LINENO"; then :
41166 glibcxx_cv_func_frexpf_use=yes
41167 else
41168 glibcxx_cv_func_frexpf_use=no
41170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41171 ac_ext=c
41172 ac_cpp='$CPP $CPPFLAGS'
41173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41182 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41184 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41185 for ac_func in frexpf
41186 do :
41187 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41188 if test "x$ac_cv_func_frexpf" = x""yes; then :
41189 cat >>confdefs.h <<_ACEOF
41190 #define HAVE_FREXPF 1
41191 _ACEOF
41194 done
41196 else
41198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41199 $as_echo_n "checking for _frexpf declaration... " >&6; }
41200 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41201 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41202 $as_echo_n "(cached) " >&6
41203 else
41206 ac_ext=cpp
41207 ac_cpp='$CXXCPP $CPPFLAGS'
41208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41213 /* end confdefs.h. */
41214 #include <math.h>
41216 main ()
41218 _frexpf(0, 0);
41220 return 0;
41222 _ACEOF
41223 if ac_fn_cxx_try_compile "$LINENO"; then :
41224 glibcxx_cv_func__frexpf_use=yes
41225 else
41226 glibcxx_cv_func__frexpf_use=no
41228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41229 ac_ext=c
41230 ac_cpp='$CPP $CPPFLAGS'
41231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41240 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41242 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41243 for ac_func in _frexpf
41244 do :
41245 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41246 if test "x$ac_cv_func__frexpf" = x""yes; then :
41247 cat >>confdefs.h <<_ACEOF
41248 #define HAVE__FREXPF 1
41249 _ACEOF
41252 done
41261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41262 $as_echo_n "checking for hypotf declaration... " >&6; }
41263 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41264 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41265 $as_echo_n "(cached) " >&6
41266 else
41269 ac_ext=cpp
41270 ac_cpp='$CXXCPP $CPPFLAGS'
41271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41276 /* end confdefs.h. */
41277 #include <math.h>
41279 main ()
41281 hypotf(0, 0);
41283 return 0;
41285 _ACEOF
41286 if ac_fn_cxx_try_compile "$LINENO"; then :
41287 glibcxx_cv_func_hypotf_use=yes
41288 else
41289 glibcxx_cv_func_hypotf_use=no
41291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41292 ac_ext=c
41293 ac_cpp='$CPP $CPPFLAGS'
41294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41303 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41305 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41306 for ac_func in hypotf
41307 do :
41308 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41309 if test "x$ac_cv_func_hypotf" = x""yes; then :
41310 cat >>confdefs.h <<_ACEOF
41311 #define HAVE_HYPOTF 1
41312 _ACEOF
41315 done
41317 else
41319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41320 $as_echo_n "checking for _hypotf declaration... " >&6; }
41321 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41322 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41323 $as_echo_n "(cached) " >&6
41324 else
41327 ac_ext=cpp
41328 ac_cpp='$CXXCPP $CPPFLAGS'
41329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41334 /* end confdefs.h. */
41335 #include <math.h>
41337 main ()
41339 _hypotf(0, 0);
41341 return 0;
41343 _ACEOF
41344 if ac_fn_cxx_try_compile "$LINENO"; then :
41345 glibcxx_cv_func__hypotf_use=yes
41346 else
41347 glibcxx_cv_func__hypotf_use=no
41349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41350 ac_ext=c
41351 ac_cpp='$CPP $CPPFLAGS'
41352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41361 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41363 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41364 for ac_func in _hypotf
41365 do :
41366 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41367 if test "x$ac_cv_func__hypotf" = x""yes; then :
41368 cat >>confdefs.h <<_ACEOF
41369 #define HAVE__HYPOTF 1
41370 _ACEOF
41373 done
41382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41383 $as_echo_n "checking for ldexpf declaration... " >&6; }
41384 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41385 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41386 $as_echo_n "(cached) " >&6
41387 else
41390 ac_ext=cpp
41391 ac_cpp='$CXXCPP $CPPFLAGS'
41392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41397 /* end confdefs.h. */
41398 #include <math.h>
41400 main ()
41402 ldexpf(0, 0);
41404 return 0;
41406 _ACEOF
41407 if ac_fn_cxx_try_compile "$LINENO"; then :
41408 glibcxx_cv_func_ldexpf_use=yes
41409 else
41410 glibcxx_cv_func_ldexpf_use=no
41412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41413 ac_ext=c
41414 ac_cpp='$CPP $CPPFLAGS'
41415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41424 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41426 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41427 for ac_func in ldexpf
41428 do :
41429 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41430 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41431 cat >>confdefs.h <<_ACEOF
41432 #define HAVE_LDEXPF 1
41433 _ACEOF
41436 done
41438 else
41440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41441 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41442 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41443 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41444 $as_echo_n "(cached) " >&6
41445 else
41448 ac_ext=cpp
41449 ac_cpp='$CXXCPP $CPPFLAGS'
41450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41455 /* end confdefs.h. */
41456 #include <math.h>
41458 main ()
41460 _ldexpf(0, 0);
41462 return 0;
41464 _ACEOF
41465 if ac_fn_cxx_try_compile "$LINENO"; then :
41466 glibcxx_cv_func__ldexpf_use=yes
41467 else
41468 glibcxx_cv_func__ldexpf_use=no
41470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41471 ac_ext=c
41472 ac_cpp='$CPP $CPPFLAGS'
41473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41482 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41484 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41485 for ac_func in _ldexpf
41486 do :
41487 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41488 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41489 cat >>confdefs.h <<_ACEOF
41490 #define HAVE__LDEXPF 1
41491 _ACEOF
41494 done
41503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41504 $as_echo_n "checking for logf declaration... " >&6; }
41505 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41506 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41507 $as_echo_n "(cached) " >&6
41508 else
41511 ac_ext=cpp
41512 ac_cpp='$CXXCPP $CPPFLAGS'
41513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41518 /* end confdefs.h. */
41519 #include <math.h>
41520 #ifdef HAVE_IEEEFP_H
41521 #include <ieeefp.h>
41522 #endif
41525 main ()
41527 logf(0);
41529 return 0;
41531 _ACEOF
41532 if ac_fn_cxx_try_compile "$LINENO"; then :
41533 glibcxx_cv_func_logf_use=yes
41534 else
41535 glibcxx_cv_func_logf_use=no
41537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41538 ac_ext=c
41539 ac_cpp='$CPP $CPPFLAGS'
41540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41549 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41551 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41552 for ac_func in logf
41553 do :
41554 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41555 if test "x$ac_cv_func_logf" = x""yes; then :
41556 cat >>confdefs.h <<_ACEOF
41557 #define HAVE_LOGF 1
41558 _ACEOF
41561 done
41563 else
41565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41566 $as_echo_n "checking for _logf declaration... " >&6; }
41567 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41568 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41569 $as_echo_n "(cached) " >&6
41570 else
41573 ac_ext=cpp
41574 ac_cpp='$CXXCPP $CPPFLAGS'
41575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41580 /* end confdefs.h. */
41581 #include <math.h>
41582 #ifdef HAVE_IEEEFP_H
41583 #include <ieeefp.h>
41584 #endif
41587 main ()
41589 _logf(0);
41591 return 0;
41593 _ACEOF
41594 if ac_fn_cxx_try_compile "$LINENO"; then :
41595 glibcxx_cv_func__logf_use=yes
41596 else
41597 glibcxx_cv_func__logf_use=no
41599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41600 ac_ext=c
41601 ac_cpp='$CPP $CPPFLAGS'
41602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41611 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41613 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41614 for ac_func in _logf
41615 do :
41616 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41617 if test "x$ac_cv_func__logf" = x""yes; then :
41618 cat >>confdefs.h <<_ACEOF
41619 #define HAVE__LOGF 1
41620 _ACEOF
41623 done
41632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41633 $as_echo_n "checking for log10f declaration... " >&6; }
41634 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41635 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41636 $as_echo_n "(cached) " >&6
41637 else
41640 ac_ext=cpp
41641 ac_cpp='$CXXCPP $CPPFLAGS'
41642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41647 /* end confdefs.h. */
41648 #include <math.h>
41649 #ifdef HAVE_IEEEFP_H
41650 #include <ieeefp.h>
41651 #endif
41654 main ()
41656 log10f(0);
41658 return 0;
41660 _ACEOF
41661 if ac_fn_cxx_try_compile "$LINENO"; then :
41662 glibcxx_cv_func_log10f_use=yes
41663 else
41664 glibcxx_cv_func_log10f_use=no
41666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41667 ac_ext=c
41668 ac_cpp='$CPP $CPPFLAGS'
41669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41678 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41680 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41681 for ac_func in log10f
41682 do :
41683 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41684 if test "x$ac_cv_func_log10f" = x""yes; then :
41685 cat >>confdefs.h <<_ACEOF
41686 #define HAVE_LOG10F 1
41687 _ACEOF
41690 done
41692 else
41694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41695 $as_echo_n "checking for _log10f declaration... " >&6; }
41696 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41697 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41698 $as_echo_n "(cached) " >&6
41699 else
41702 ac_ext=cpp
41703 ac_cpp='$CXXCPP $CPPFLAGS'
41704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41709 /* end confdefs.h. */
41710 #include <math.h>
41711 #ifdef HAVE_IEEEFP_H
41712 #include <ieeefp.h>
41713 #endif
41716 main ()
41718 _log10f(0);
41720 return 0;
41722 _ACEOF
41723 if ac_fn_cxx_try_compile "$LINENO"; then :
41724 glibcxx_cv_func__log10f_use=yes
41725 else
41726 glibcxx_cv_func__log10f_use=no
41728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41729 ac_ext=c
41730 ac_cpp='$CPP $CPPFLAGS'
41731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41740 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41742 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41743 for ac_func in _log10f
41744 do :
41745 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41746 if test "x$ac_cv_func__log10f" = x""yes; then :
41747 cat >>confdefs.h <<_ACEOF
41748 #define HAVE__LOG10F 1
41749 _ACEOF
41752 done
41761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41762 $as_echo_n "checking for modff declaration... " >&6; }
41763 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41764 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41765 $as_echo_n "(cached) " >&6
41766 else
41769 ac_ext=cpp
41770 ac_cpp='$CXXCPP $CPPFLAGS'
41771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41776 /* end confdefs.h. */
41777 #include <math.h>
41779 main ()
41781 modff(0, 0);
41783 return 0;
41785 _ACEOF
41786 if ac_fn_cxx_try_compile "$LINENO"; then :
41787 glibcxx_cv_func_modff_use=yes
41788 else
41789 glibcxx_cv_func_modff_use=no
41791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41792 ac_ext=c
41793 ac_cpp='$CPP $CPPFLAGS'
41794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41803 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41805 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41806 for ac_func in modff
41807 do :
41808 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41809 if test "x$ac_cv_func_modff" = x""yes; then :
41810 cat >>confdefs.h <<_ACEOF
41811 #define HAVE_MODFF 1
41812 _ACEOF
41815 done
41817 else
41819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41820 $as_echo_n "checking for _modff declaration... " >&6; }
41821 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41822 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41823 $as_echo_n "(cached) " >&6
41824 else
41827 ac_ext=cpp
41828 ac_cpp='$CXXCPP $CPPFLAGS'
41829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41834 /* end confdefs.h. */
41835 #include <math.h>
41837 main ()
41839 _modff(0, 0);
41841 return 0;
41843 _ACEOF
41844 if ac_fn_cxx_try_compile "$LINENO"; then :
41845 glibcxx_cv_func__modff_use=yes
41846 else
41847 glibcxx_cv_func__modff_use=no
41849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41850 ac_ext=c
41851 ac_cpp='$CPP $CPPFLAGS'
41852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41861 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41863 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41864 for ac_func in _modff
41865 do :
41866 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41867 if test "x$ac_cv_func__modff" = x""yes; then :
41868 cat >>confdefs.h <<_ACEOF
41869 #define HAVE__MODFF 1
41870 _ACEOF
41873 done
41882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41883 $as_echo_n "checking for modf declaration... " >&6; }
41884 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41885 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41886 $as_echo_n "(cached) " >&6
41887 else
41890 ac_ext=cpp
41891 ac_cpp='$CXXCPP $CPPFLAGS'
41892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41897 /* end confdefs.h. */
41898 #include <math.h>
41900 main ()
41902 modf(0, 0);
41904 return 0;
41906 _ACEOF
41907 if ac_fn_cxx_try_compile "$LINENO"; then :
41908 glibcxx_cv_func_modf_use=yes
41909 else
41910 glibcxx_cv_func_modf_use=no
41912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41913 ac_ext=c
41914 ac_cpp='$CPP $CPPFLAGS'
41915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41924 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41926 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41927 for ac_func in modf
41928 do :
41929 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41930 if test "x$ac_cv_func_modf" = x""yes; then :
41931 cat >>confdefs.h <<_ACEOF
41932 #define HAVE_MODF 1
41933 _ACEOF
41936 done
41938 else
41940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41941 $as_echo_n "checking for _modf declaration... " >&6; }
41942 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41943 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41944 $as_echo_n "(cached) " >&6
41945 else
41948 ac_ext=cpp
41949 ac_cpp='$CXXCPP $CPPFLAGS'
41950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41955 /* end confdefs.h. */
41956 #include <math.h>
41958 main ()
41960 _modf(0, 0);
41962 return 0;
41964 _ACEOF
41965 if ac_fn_cxx_try_compile "$LINENO"; then :
41966 glibcxx_cv_func__modf_use=yes
41967 else
41968 glibcxx_cv_func__modf_use=no
41970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41971 ac_ext=c
41972 ac_cpp='$CPP $CPPFLAGS'
41973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41982 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41984 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41985 for ac_func in _modf
41986 do :
41987 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41988 if test "x$ac_cv_func__modf" = x""yes; then :
41989 cat >>confdefs.h <<_ACEOF
41990 #define HAVE__MODF 1
41991 _ACEOF
41994 done
42003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42004 $as_echo_n "checking for powf declaration... " >&6; }
42005 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42006 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42007 $as_echo_n "(cached) " >&6
42008 else
42011 ac_ext=cpp
42012 ac_cpp='$CXXCPP $CPPFLAGS'
42013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42018 /* end confdefs.h. */
42019 #include <math.h>
42021 main ()
42023 powf(0, 0);
42025 return 0;
42027 _ACEOF
42028 if ac_fn_cxx_try_compile "$LINENO"; then :
42029 glibcxx_cv_func_powf_use=yes
42030 else
42031 glibcxx_cv_func_powf_use=no
42033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42034 ac_ext=c
42035 ac_cpp='$CPP $CPPFLAGS'
42036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42045 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42047 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42048 for ac_func in powf
42049 do :
42050 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42051 if test "x$ac_cv_func_powf" = x""yes; then :
42052 cat >>confdefs.h <<_ACEOF
42053 #define HAVE_POWF 1
42054 _ACEOF
42057 done
42059 else
42061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42062 $as_echo_n "checking for _powf declaration... " >&6; }
42063 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42064 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42065 $as_echo_n "(cached) " >&6
42066 else
42069 ac_ext=cpp
42070 ac_cpp='$CXXCPP $CPPFLAGS'
42071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42076 /* end confdefs.h. */
42077 #include <math.h>
42079 main ()
42081 _powf(0, 0);
42083 return 0;
42085 _ACEOF
42086 if ac_fn_cxx_try_compile "$LINENO"; then :
42087 glibcxx_cv_func__powf_use=yes
42088 else
42089 glibcxx_cv_func__powf_use=no
42091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42092 ac_ext=c
42093 ac_cpp='$CPP $CPPFLAGS'
42094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42103 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42105 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42106 for ac_func in _powf
42107 do :
42108 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42109 if test "x$ac_cv_func__powf" = x""yes; then :
42110 cat >>confdefs.h <<_ACEOF
42111 #define HAVE__POWF 1
42112 _ACEOF
42115 done
42124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42125 $as_echo_n "checking for sqrtf declaration... " >&6; }
42126 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42127 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42128 $as_echo_n "(cached) " >&6
42129 else
42132 ac_ext=cpp
42133 ac_cpp='$CXXCPP $CPPFLAGS'
42134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42139 /* end confdefs.h. */
42140 #include <math.h>
42141 #ifdef HAVE_IEEEFP_H
42142 #include <ieeefp.h>
42143 #endif
42146 main ()
42148 sqrtf(0);
42150 return 0;
42152 _ACEOF
42153 if ac_fn_cxx_try_compile "$LINENO"; then :
42154 glibcxx_cv_func_sqrtf_use=yes
42155 else
42156 glibcxx_cv_func_sqrtf_use=no
42158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42159 ac_ext=c
42160 ac_cpp='$CPP $CPPFLAGS'
42161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42170 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42172 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42173 for ac_func in sqrtf
42174 do :
42175 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42176 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42177 cat >>confdefs.h <<_ACEOF
42178 #define HAVE_SQRTF 1
42179 _ACEOF
42182 done
42184 else
42186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42187 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42188 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42189 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42190 $as_echo_n "(cached) " >&6
42191 else
42194 ac_ext=cpp
42195 ac_cpp='$CXXCPP $CPPFLAGS'
42196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42201 /* end confdefs.h. */
42202 #include <math.h>
42203 #ifdef HAVE_IEEEFP_H
42204 #include <ieeefp.h>
42205 #endif
42208 main ()
42210 _sqrtf(0);
42212 return 0;
42214 _ACEOF
42215 if ac_fn_cxx_try_compile "$LINENO"; then :
42216 glibcxx_cv_func__sqrtf_use=yes
42217 else
42218 glibcxx_cv_func__sqrtf_use=no
42220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42221 ac_ext=c
42222 ac_cpp='$CPP $CPPFLAGS'
42223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42232 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42234 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42235 for ac_func in _sqrtf
42236 do :
42237 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42238 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42239 cat >>confdefs.h <<_ACEOF
42240 #define HAVE__SQRTF 1
42241 _ACEOF
42244 done
42253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42254 $as_echo_n "checking for sincosf declaration... " >&6; }
42255 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42256 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42257 $as_echo_n "(cached) " >&6
42258 else
42261 ac_ext=cpp
42262 ac_cpp='$CXXCPP $CPPFLAGS'
42263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42268 /* end confdefs.h. */
42269 #include <math.h>
42271 main ()
42273 sincosf(0, 0, 0);
42275 return 0;
42277 _ACEOF
42278 if ac_fn_cxx_try_compile "$LINENO"; then :
42279 glibcxx_cv_func_sincosf_use=yes
42280 else
42281 glibcxx_cv_func_sincosf_use=no
42283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42284 ac_ext=c
42285 ac_cpp='$CPP $CPPFLAGS'
42286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42295 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42297 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42298 for ac_func in sincosf
42299 do :
42300 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42301 if test "x$ac_cv_func_sincosf" = x""yes; then :
42302 cat >>confdefs.h <<_ACEOF
42303 #define HAVE_SINCOSF 1
42304 _ACEOF
42307 done
42309 else
42311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42312 $as_echo_n "checking for _sincosf declaration... " >&6; }
42313 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42314 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42315 $as_echo_n "(cached) " >&6
42316 else
42319 ac_ext=cpp
42320 ac_cpp='$CXXCPP $CPPFLAGS'
42321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42326 /* end confdefs.h. */
42327 #include <math.h>
42329 main ()
42331 _sincosf(0, 0, 0);
42333 return 0;
42335 _ACEOF
42336 if ac_fn_cxx_try_compile "$LINENO"; then :
42337 glibcxx_cv_func__sincosf_use=yes
42338 else
42339 glibcxx_cv_func__sincosf_use=no
42341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42342 ac_ext=c
42343 ac_cpp='$CPP $CPPFLAGS'
42344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42353 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42355 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42356 for ac_func in _sincosf
42357 do :
42358 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42359 if test "x$ac_cv_func__sincosf" = x""yes; then :
42360 cat >>confdefs.h <<_ACEOF
42361 #define HAVE__SINCOSF 1
42362 _ACEOF
42365 done
42374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42375 $as_echo_n "checking for finitef declaration... " >&6; }
42376 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42377 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42378 $as_echo_n "(cached) " >&6
42379 else
42382 ac_ext=cpp
42383 ac_cpp='$CXXCPP $CPPFLAGS'
42384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42389 /* end confdefs.h. */
42390 #include <math.h>
42391 #ifdef HAVE_IEEEFP_H
42392 #include <ieeefp.h>
42393 #endif
42396 main ()
42398 finitef(0);
42400 return 0;
42402 _ACEOF
42403 if ac_fn_cxx_try_compile "$LINENO"; then :
42404 glibcxx_cv_func_finitef_use=yes
42405 else
42406 glibcxx_cv_func_finitef_use=no
42408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42409 ac_ext=c
42410 ac_cpp='$CPP $CPPFLAGS'
42411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42420 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42422 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42423 for ac_func in finitef
42424 do :
42425 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42426 if test "x$ac_cv_func_finitef" = x""yes; then :
42427 cat >>confdefs.h <<_ACEOF
42428 #define HAVE_FINITEF 1
42429 _ACEOF
42432 done
42434 else
42436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42437 $as_echo_n "checking for _finitef declaration... " >&6; }
42438 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42439 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42440 $as_echo_n "(cached) " >&6
42441 else
42444 ac_ext=cpp
42445 ac_cpp='$CXXCPP $CPPFLAGS'
42446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42451 /* end confdefs.h. */
42452 #include <math.h>
42453 #ifdef HAVE_IEEEFP_H
42454 #include <ieeefp.h>
42455 #endif
42458 main ()
42460 _finitef(0);
42462 return 0;
42464 _ACEOF
42465 if ac_fn_cxx_try_compile "$LINENO"; then :
42466 glibcxx_cv_func__finitef_use=yes
42467 else
42468 glibcxx_cv_func__finitef_use=no
42470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42471 ac_ext=c
42472 ac_cpp='$CPP $CPPFLAGS'
42473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42482 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42484 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42485 for ac_func in _finitef
42486 do :
42487 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42488 if test "x$ac_cv_func__finitef" = x""yes; then :
42489 cat >>confdefs.h <<_ACEOF
42490 #define HAVE__FINITEF 1
42491 _ACEOF
42494 done
42503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42504 $as_echo_n "checking for long double trig functions... " >&6; }
42505 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42506 $as_echo_n "(cached) " >&6
42507 else
42510 ac_ext=cpp
42511 ac_cpp='$CXXCPP $CPPFLAGS'
42512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42517 /* end confdefs.h. */
42518 #include <math.h>
42520 main ()
42522 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42524 return 0;
42526 _ACEOF
42527 if ac_fn_cxx_try_compile "$LINENO"; then :
42528 glibcxx_cv_func_long_double_trig_use=yes
42529 else
42530 glibcxx_cv_func_long_double_trig_use=no
42532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42533 ac_ext=c
42534 ac_cpp='$CPP $CPPFLAGS'
42535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42542 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42543 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42544 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42545 do :
42546 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42548 eval as_val=\$$as_ac_var
42549 if test "x$as_val" = x""yes; then :
42550 cat >>confdefs.h <<_ACEOF
42551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42552 _ACEOF
42555 done
42557 else
42558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42559 $as_echo_n "checking for _long double trig functions... " >&6; }
42560 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42561 $as_echo_n "(cached) " >&6
42562 else
42565 ac_ext=cpp
42566 ac_cpp='$CXXCPP $CPPFLAGS'
42567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42572 /* end confdefs.h. */
42573 #include <math.h>
42575 main ()
42577 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42579 return 0;
42581 _ACEOF
42582 if ac_fn_cxx_try_compile "$LINENO"; then :
42583 glibcxx_cv_func__long_double_trig_use=yes
42584 else
42585 glibcxx_cv_func__long_double_trig_use=no
42587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42588 ac_ext=c
42589 ac_cpp='$CPP $CPPFLAGS'
42590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42597 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42598 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42599 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42600 do :
42601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42603 eval as_val=\$$as_ac_var
42604 if test "x$as_val" = x""yes; then :
42605 cat >>confdefs.h <<_ACEOF
42606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42607 _ACEOF
42610 done
42619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42620 $as_echo_n "checking for long double round functions... " >&6; }
42621 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42622 $as_echo_n "(cached) " >&6
42623 else
42626 ac_ext=cpp
42627 ac_cpp='$CXXCPP $CPPFLAGS'
42628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42633 /* end confdefs.h. */
42634 #include <math.h>
42636 main ()
42638 ceill (0); floorl (0);
42640 return 0;
42642 _ACEOF
42643 if ac_fn_cxx_try_compile "$LINENO"; then :
42644 glibcxx_cv_func_long_double_round_use=yes
42645 else
42646 glibcxx_cv_func_long_double_round_use=no
42648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42649 ac_ext=c
42650 ac_cpp='$CPP $CPPFLAGS'
42651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42658 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42659 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42660 for ac_func in ceill floorl
42661 do :
42662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42664 eval as_val=\$$as_ac_var
42665 if test "x$as_val" = x""yes; then :
42666 cat >>confdefs.h <<_ACEOF
42667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42668 _ACEOF
42671 done
42673 else
42674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42675 $as_echo_n "checking for _long double round functions... " >&6; }
42676 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42677 $as_echo_n "(cached) " >&6
42678 else
42681 ac_ext=cpp
42682 ac_cpp='$CXXCPP $CPPFLAGS'
42683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42688 /* end confdefs.h. */
42689 #include <math.h>
42691 main ()
42693 _ceill (0); _floorl (0);
42695 return 0;
42697 _ACEOF
42698 if ac_fn_cxx_try_compile "$LINENO"; then :
42699 glibcxx_cv_func__long_double_round_use=yes
42700 else
42701 glibcxx_cv_func__long_double_round_use=no
42703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42704 ac_ext=c
42705 ac_cpp='$CPP $CPPFLAGS'
42706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42713 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42714 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42715 for ac_func in _ceill _floorl
42716 do :
42717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42719 eval as_val=\$$as_ac_var
42720 if test "x$as_val" = x""yes; then :
42721 cat >>confdefs.h <<_ACEOF
42722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42723 _ACEOF
42726 done
42736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42737 $as_echo_n "checking for isnanl declaration... " >&6; }
42738 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42739 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42740 $as_echo_n "(cached) " >&6
42741 else
42744 ac_ext=cpp
42745 ac_cpp='$CXXCPP $CPPFLAGS'
42746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42751 /* end confdefs.h. */
42752 #include <math.h>
42753 #ifdef HAVE_IEEEFP_H
42754 #include <ieeefp.h>
42755 #endif
42758 main ()
42760 isnanl(0);
42762 return 0;
42764 _ACEOF
42765 if ac_fn_cxx_try_compile "$LINENO"; then :
42766 glibcxx_cv_func_isnanl_use=yes
42767 else
42768 glibcxx_cv_func_isnanl_use=no
42770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42771 ac_ext=c
42772 ac_cpp='$CPP $CPPFLAGS'
42773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42782 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42784 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42785 for ac_func in isnanl
42786 do :
42787 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42788 if test "x$ac_cv_func_isnanl" = x""yes; then :
42789 cat >>confdefs.h <<_ACEOF
42790 #define HAVE_ISNANL 1
42791 _ACEOF
42794 done
42796 else
42798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42799 $as_echo_n "checking for _isnanl declaration... " >&6; }
42800 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42801 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42802 $as_echo_n "(cached) " >&6
42803 else
42806 ac_ext=cpp
42807 ac_cpp='$CXXCPP $CPPFLAGS'
42808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42813 /* end confdefs.h. */
42814 #include <math.h>
42815 #ifdef HAVE_IEEEFP_H
42816 #include <ieeefp.h>
42817 #endif
42820 main ()
42822 _isnanl(0);
42824 return 0;
42826 _ACEOF
42827 if ac_fn_cxx_try_compile "$LINENO"; then :
42828 glibcxx_cv_func__isnanl_use=yes
42829 else
42830 glibcxx_cv_func__isnanl_use=no
42832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42833 ac_ext=c
42834 ac_cpp='$CPP $CPPFLAGS'
42835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42844 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42846 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42847 for ac_func in _isnanl
42848 do :
42849 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42850 if test "x$ac_cv_func__isnanl" = x""yes; then :
42851 cat >>confdefs.h <<_ACEOF
42852 #define HAVE__ISNANL 1
42853 _ACEOF
42856 done
42865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42866 $as_echo_n "checking for isinfl declaration... " >&6; }
42867 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42868 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42869 $as_echo_n "(cached) " >&6
42870 else
42873 ac_ext=cpp
42874 ac_cpp='$CXXCPP $CPPFLAGS'
42875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42880 /* end confdefs.h. */
42881 #include <math.h>
42882 #ifdef HAVE_IEEEFP_H
42883 #include <ieeefp.h>
42884 #endif
42887 main ()
42889 isinfl(0);
42891 return 0;
42893 _ACEOF
42894 if ac_fn_cxx_try_compile "$LINENO"; then :
42895 glibcxx_cv_func_isinfl_use=yes
42896 else
42897 glibcxx_cv_func_isinfl_use=no
42899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42900 ac_ext=c
42901 ac_cpp='$CPP $CPPFLAGS'
42902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42911 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42913 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42914 for ac_func in isinfl
42915 do :
42916 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42917 if test "x$ac_cv_func_isinfl" = x""yes; then :
42918 cat >>confdefs.h <<_ACEOF
42919 #define HAVE_ISINFL 1
42920 _ACEOF
42923 done
42925 else
42927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42928 $as_echo_n "checking for _isinfl declaration... " >&6; }
42929 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42930 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42931 $as_echo_n "(cached) " >&6
42932 else
42935 ac_ext=cpp
42936 ac_cpp='$CXXCPP $CPPFLAGS'
42937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42942 /* end confdefs.h. */
42943 #include <math.h>
42944 #ifdef HAVE_IEEEFP_H
42945 #include <ieeefp.h>
42946 #endif
42949 main ()
42951 _isinfl(0);
42953 return 0;
42955 _ACEOF
42956 if ac_fn_cxx_try_compile "$LINENO"; then :
42957 glibcxx_cv_func__isinfl_use=yes
42958 else
42959 glibcxx_cv_func__isinfl_use=no
42961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42962 ac_ext=c
42963 ac_cpp='$CPP $CPPFLAGS'
42964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42973 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42975 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42976 for ac_func in _isinfl
42977 do :
42978 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42979 if test "x$ac_cv_func__isinfl" = x""yes; then :
42980 cat >>confdefs.h <<_ACEOF
42981 #define HAVE__ISINFL 1
42982 _ACEOF
42985 done
42994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42995 $as_echo_n "checking for atan2l declaration... " >&6; }
42996 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42997 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42998 $as_echo_n "(cached) " >&6
42999 else
43002 ac_ext=cpp
43003 ac_cpp='$CXXCPP $CPPFLAGS'
43004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43009 /* end confdefs.h. */
43010 #include <math.h>
43012 main ()
43014 atan2l(0, 0);
43016 return 0;
43018 _ACEOF
43019 if ac_fn_cxx_try_compile "$LINENO"; then :
43020 glibcxx_cv_func_atan2l_use=yes
43021 else
43022 glibcxx_cv_func_atan2l_use=no
43024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43025 ac_ext=c
43026 ac_cpp='$CPP $CPPFLAGS'
43027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43036 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43038 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43039 for ac_func in atan2l
43040 do :
43041 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43042 if test "x$ac_cv_func_atan2l" = x""yes; then :
43043 cat >>confdefs.h <<_ACEOF
43044 #define HAVE_ATAN2L 1
43045 _ACEOF
43048 done
43050 else
43052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43053 $as_echo_n "checking for _atan2l declaration... " >&6; }
43054 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43055 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43056 $as_echo_n "(cached) " >&6
43057 else
43060 ac_ext=cpp
43061 ac_cpp='$CXXCPP $CPPFLAGS'
43062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43067 /* end confdefs.h. */
43068 #include <math.h>
43070 main ()
43072 _atan2l(0, 0);
43074 return 0;
43076 _ACEOF
43077 if ac_fn_cxx_try_compile "$LINENO"; then :
43078 glibcxx_cv_func__atan2l_use=yes
43079 else
43080 glibcxx_cv_func__atan2l_use=no
43082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43083 ac_ext=c
43084 ac_cpp='$CPP $CPPFLAGS'
43085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43094 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43096 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43097 for ac_func in _atan2l
43098 do :
43099 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43100 if test "x$ac_cv_func__atan2l" = x""yes; then :
43101 cat >>confdefs.h <<_ACEOF
43102 #define HAVE__ATAN2L 1
43103 _ACEOF
43106 done
43115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43116 $as_echo_n "checking for expl declaration... " >&6; }
43117 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43118 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43119 $as_echo_n "(cached) " >&6
43120 else
43123 ac_ext=cpp
43124 ac_cpp='$CXXCPP $CPPFLAGS'
43125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43130 /* end confdefs.h. */
43131 #include <math.h>
43132 #ifdef HAVE_IEEEFP_H
43133 #include <ieeefp.h>
43134 #endif
43137 main ()
43139 expl(0);
43141 return 0;
43143 _ACEOF
43144 if ac_fn_cxx_try_compile "$LINENO"; then :
43145 glibcxx_cv_func_expl_use=yes
43146 else
43147 glibcxx_cv_func_expl_use=no
43149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43150 ac_ext=c
43151 ac_cpp='$CPP $CPPFLAGS'
43152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43161 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43163 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43164 for ac_func in expl
43165 do :
43166 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43167 if test "x$ac_cv_func_expl" = x""yes; then :
43168 cat >>confdefs.h <<_ACEOF
43169 #define HAVE_EXPL 1
43170 _ACEOF
43173 done
43175 else
43177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43178 $as_echo_n "checking for _expl declaration... " >&6; }
43179 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43180 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43181 $as_echo_n "(cached) " >&6
43182 else
43185 ac_ext=cpp
43186 ac_cpp='$CXXCPP $CPPFLAGS'
43187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43192 /* end confdefs.h. */
43193 #include <math.h>
43194 #ifdef HAVE_IEEEFP_H
43195 #include <ieeefp.h>
43196 #endif
43199 main ()
43201 _expl(0);
43203 return 0;
43205 _ACEOF
43206 if ac_fn_cxx_try_compile "$LINENO"; then :
43207 glibcxx_cv_func__expl_use=yes
43208 else
43209 glibcxx_cv_func__expl_use=no
43211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43212 ac_ext=c
43213 ac_cpp='$CPP $CPPFLAGS'
43214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43223 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43225 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43226 for ac_func in _expl
43227 do :
43228 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43229 if test "x$ac_cv_func__expl" = x""yes; then :
43230 cat >>confdefs.h <<_ACEOF
43231 #define HAVE__EXPL 1
43232 _ACEOF
43235 done
43244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43245 $as_echo_n "checking for fabsl declaration... " >&6; }
43246 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43247 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43248 $as_echo_n "(cached) " >&6
43249 else
43252 ac_ext=cpp
43253 ac_cpp='$CXXCPP $CPPFLAGS'
43254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43259 /* end confdefs.h. */
43260 #include <math.h>
43261 #ifdef HAVE_IEEEFP_H
43262 #include <ieeefp.h>
43263 #endif
43266 main ()
43268 fabsl(0);
43270 return 0;
43272 _ACEOF
43273 if ac_fn_cxx_try_compile "$LINENO"; then :
43274 glibcxx_cv_func_fabsl_use=yes
43275 else
43276 glibcxx_cv_func_fabsl_use=no
43278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43279 ac_ext=c
43280 ac_cpp='$CPP $CPPFLAGS'
43281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43290 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43292 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43293 for ac_func in fabsl
43294 do :
43295 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43296 if test "x$ac_cv_func_fabsl" = x""yes; then :
43297 cat >>confdefs.h <<_ACEOF
43298 #define HAVE_FABSL 1
43299 _ACEOF
43302 done
43304 else
43306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43307 $as_echo_n "checking for _fabsl declaration... " >&6; }
43308 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43309 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43310 $as_echo_n "(cached) " >&6
43311 else
43314 ac_ext=cpp
43315 ac_cpp='$CXXCPP $CPPFLAGS'
43316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43321 /* end confdefs.h. */
43322 #include <math.h>
43323 #ifdef HAVE_IEEEFP_H
43324 #include <ieeefp.h>
43325 #endif
43328 main ()
43330 _fabsl(0);
43332 return 0;
43334 _ACEOF
43335 if ac_fn_cxx_try_compile "$LINENO"; then :
43336 glibcxx_cv_func__fabsl_use=yes
43337 else
43338 glibcxx_cv_func__fabsl_use=no
43340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43341 ac_ext=c
43342 ac_cpp='$CPP $CPPFLAGS'
43343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43352 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43354 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43355 for ac_func in _fabsl
43356 do :
43357 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43358 if test "x$ac_cv_func__fabsl" = x""yes; then :
43359 cat >>confdefs.h <<_ACEOF
43360 #define HAVE__FABSL 1
43361 _ACEOF
43364 done
43373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43374 $as_echo_n "checking for fmodl declaration... " >&6; }
43375 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43376 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43377 $as_echo_n "(cached) " >&6
43378 else
43381 ac_ext=cpp
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43388 /* end confdefs.h. */
43389 #include <math.h>
43391 main ()
43393 fmodl(0, 0);
43395 return 0;
43397 _ACEOF
43398 if ac_fn_cxx_try_compile "$LINENO"; then :
43399 glibcxx_cv_func_fmodl_use=yes
43400 else
43401 glibcxx_cv_func_fmodl_use=no
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43404 ac_ext=c
43405 ac_cpp='$CPP $CPPFLAGS'
43406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43415 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43417 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43418 for ac_func in fmodl
43419 do :
43420 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43421 if test "x$ac_cv_func_fmodl" = x""yes; then :
43422 cat >>confdefs.h <<_ACEOF
43423 #define HAVE_FMODL 1
43424 _ACEOF
43427 done
43429 else
43431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43432 $as_echo_n "checking for _fmodl declaration... " >&6; }
43433 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43434 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43435 $as_echo_n "(cached) " >&6
43436 else
43439 ac_ext=cpp
43440 ac_cpp='$CXXCPP $CPPFLAGS'
43441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43446 /* end confdefs.h. */
43447 #include <math.h>
43449 main ()
43451 _fmodl(0, 0);
43453 return 0;
43455 _ACEOF
43456 if ac_fn_cxx_try_compile "$LINENO"; then :
43457 glibcxx_cv_func__fmodl_use=yes
43458 else
43459 glibcxx_cv_func__fmodl_use=no
43461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43462 ac_ext=c
43463 ac_cpp='$CPP $CPPFLAGS'
43464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43473 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43475 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43476 for ac_func in _fmodl
43477 do :
43478 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43479 if test "x$ac_cv_func__fmodl" = x""yes; then :
43480 cat >>confdefs.h <<_ACEOF
43481 #define HAVE__FMODL 1
43482 _ACEOF
43485 done
43494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43495 $as_echo_n "checking for frexpl declaration... " >&6; }
43496 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43497 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43498 $as_echo_n "(cached) " >&6
43499 else
43502 ac_ext=cpp
43503 ac_cpp='$CXXCPP $CPPFLAGS'
43504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43509 /* end confdefs.h. */
43510 #include <math.h>
43512 main ()
43514 frexpl(0, 0);
43516 return 0;
43518 _ACEOF
43519 if ac_fn_cxx_try_compile "$LINENO"; then :
43520 glibcxx_cv_func_frexpl_use=yes
43521 else
43522 glibcxx_cv_func_frexpl_use=no
43524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43525 ac_ext=c
43526 ac_cpp='$CPP $CPPFLAGS'
43527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43536 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43538 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43539 for ac_func in frexpl
43540 do :
43541 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43542 if test "x$ac_cv_func_frexpl" = x""yes; then :
43543 cat >>confdefs.h <<_ACEOF
43544 #define HAVE_FREXPL 1
43545 _ACEOF
43548 done
43550 else
43552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43553 $as_echo_n "checking for _frexpl declaration... " >&6; }
43554 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43555 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43556 $as_echo_n "(cached) " >&6
43557 else
43560 ac_ext=cpp
43561 ac_cpp='$CXXCPP $CPPFLAGS'
43562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43567 /* end confdefs.h. */
43568 #include <math.h>
43570 main ()
43572 _frexpl(0, 0);
43574 return 0;
43576 _ACEOF
43577 if ac_fn_cxx_try_compile "$LINENO"; then :
43578 glibcxx_cv_func__frexpl_use=yes
43579 else
43580 glibcxx_cv_func__frexpl_use=no
43582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43583 ac_ext=c
43584 ac_cpp='$CPP $CPPFLAGS'
43585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43594 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43596 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43597 for ac_func in _frexpl
43598 do :
43599 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43600 if test "x$ac_cv_func__frexpl" = x""yes; then :
43601 cat >>confdefs.h <<_ACEOF
43602 #define HAVE__FREXPL 1
43603 _ACEOF
43606 done
43615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43616 $as_echo_n "checking for hypotl declaration... " >&6; }
43617 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43618 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43619 $as_echo_n "(cached) " >&6
43620 else
43623 ac_ext=cpp
43624 ac_cpp='$CXXCPP $CPPFLAGS'
43625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43630 /* end confdefs.h. */
43631 #include <math.h>
43633 main ()
43635 hypotl(0, 0);
43637 return 0;
43639 _ACEOF
43640 if ac_fn_cxx_try_compile "$LINENO"; then :
43641 glibcxx_cv_func_hypotl_use=yes
43642 else
43643 glibcxx_cv_func_hypotl_use=no
43645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43646 ac_ext=c
43647 ac_cpp='$CPP $CPPFLAGS'
43648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43657 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43659 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43660 for ac_func in hypotl
43661 do :
43662 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43663 if test "x$ac_cv_func_hypotl" = x""yes; then :
43664 cat >>confdefs.h <<_ACEOF
43665 #define HAVE_HYPOTL 1
43666 _ACEOF
43669 done
43671 else
43673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43674 $as_echo_n "checking for _hypotl declaration... " >&6; }
43675 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43676 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43677 $as_echo_n "(cached) " >&6
43678 else
43681 ac_ext=cpp
43682 ac_cpp='$CXXCPP $CPPFLAGS'
43683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43688 /* end confdefs.h. */
43689 #include <math.h>
43691 main ()
43693 _hypotl(0, 0);
43695 return 0;
43697 _ACEOF
43698 if ac_fn_cxx_try_compile "$LINENO"; then :
43699 glibcxx_cv_func__hypotl_use=yes
43700 else
43701 glibcxx_cv_func__hypotl_use=no
43703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43704 ac_ext=c
43705 ac_cpp='$CPP $CPPFLAGS'
43706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43715 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43717 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43718 for ac_func in _hypotl
43719 do :
43720 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43721 if test "x$ac_cv_func__hypotl" = x""yes; then :
43722 cat >>confdefs.h <<_ACEOF
43723 #define HAVE__HYPOTL 1
43724 _ACEOF
43727 done
43736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43737 $as_echo_n "checking for ldexpl declaration... " >&6; }
43738 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43739 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43740 $as_echo_n "(cached) " >&6
43741 else
43744 ac_ext=cpp
43745 ac_cpp='$CXXCPP $CPPFLAGS'
43746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43751 /* end confdefs.h. */
43752 #include <math.h>
43754 main ()
43756 ldexpl(0, 0);
43758 return 0;
43760 _ACEOF
43761 if ac_fn_cxx_try_compile "$LINENO"; then :
43762 glibcxx_cv_func_ldexpl_use=yes
43763 else
43764 glibcxx_cv_func_ldexpl_use=no
43766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43767 ac_ext=c
43768 ac_cpp='$CPP $CPPFLAGS'
43769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43778 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43780 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43781 for ac_func in ldexpl
43782 do :
43783 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43784 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43785 cat >>confdefs.h <<_ACEOF
43786 #define HAVE_LDEXPL 1
43787 _ACEOF
43790 done
43792 else
43794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43795 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43796 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43797 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43798 $as_echo_n "(cached) " >&6
43799 else
43802 ac_ext=cpp
43803 ac_cpp='$CXXCPP $CPPFLAGS'
43804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43809 /* end confdefs.h. */
43810 #include <math.h>
43812 main ()
43814 _ldexpl(0, 0);
43816 return 0;
43818 _ACEOF
43819 if ac_fn_cxx_try_compile "$LINENO"; then :
43820 glibcxx_cv_func__ldexpl_use=yes
43821 else
43822 glibcxx_cv_func__ldexpl_use=no
43824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43825 ac_ext=c
43826 ac_cpp='$CPP $CPPFLAGS'
43827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43836 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43838 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43839 for ac_func in _ldexpl
43840 do :
43841 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43842 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43843 cat >>confdefs.h <<_ACEOF
43844 #define HAVE__LDEXPL 1
43845 _ACEOF
43848 done
43857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43858 $as_echo_n "checking for logl declaration... " >&6; }
43859 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43860 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43861 $as_echo_n "(cached) " >&6
43862 else
43865 ac_ext=cpp
43866 ac_cpp='$CXXCPP $CPPFLAGS'
43867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43872 /* end confdefs.h. */
43873 #include <math.h>
43874 #ifdef HAVE_IEEEFP_H
43875 #include <ieeefp.h>
43876 #endif
43879 main ()
43881 logl(0);
43883 return 0;
43885 _ACEOF
43886 if ac_fn_cxx_try_compile "$LINENO"; then :
43887 glibcxx_cv_func_logl_use=yes
43888 else
43889 glibcxx_cv_func_logl_use=no
43891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43892 ac_ext=c
43893 ac_cpp='$CPP $CPPFLAGS'
43894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43903 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43905 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43906 for ac_func in logl
43907 do :
43908 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43909 if test "x$ac_cv_func_logl" = x""yes; then :
43910 cat >>confdefs.h <<_ACEOF
43911 #define HAVE_LOGL 1
43912 _ACEOF
43915 done
43917 else
43919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43920 $as_echo_n "checking for _logl declaration... " >&6; }
43921 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43922 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43923 $as_echo_n "(cached) " >&6
43924 else
43927 ac_ext=cpp
43928 ac_cpp='$CXXCPP $CPPFLAGS'
43929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43934 /* end confdefs.h. */
43935 #include <math.h>
43936 #ifdef HAVE_IEEEFP_H
43937 #include <ieeefp.h>
43938 #endif
43941 main ()
43943 _logl(0);
43945 return 0;
43947 _ACEOF
43948 if ac_fn_cxx_try_compile "$LINENO"; then :
43949 glibcxx_cv_func__logl_use=yes
43950 else
43951 glibcxx_cv_func__logl_use=no
43953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43954 ac_ext=c
43955 ac_cpp='$CPP $CPPFLAGS'
43956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43965 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43967 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43968 for ac_func in _logl
43969 do :
43970 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43971 if test "x$ac_cv_func__logl" = x""yes; then :
43972 cat >>confdefs.h <<_ACEOF
43973 #define HAVE__LOGL 1
43974 _ACEOF
43977 done
43986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43987 $as_echo_n "checking for log10l declaration... " >&6; }
43988 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43989 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43990 $as_echo_n "(cached) " >&6
43991 else
43994 ac_ext=cpp
43995 ac_cpp='$CXXCPP $CPPFLAGS'
43996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44001 /* end confdefs.h. */
44002 #include <math.h>
44003 #ifdef HAVE_IEEEFP_H
44004 #include <ieeefp.h>
44005 #endif
44008 main ()
44010 log10l(0);
44012 return 0;
44014 _ACEOF
44015 if ac_fn_cxx_try_compile "$LINENO"; then :
44016 glibcxx_cv_func_log10l_use=yes
44017 else
44018 glibcxx_cv_func_log10l_use=no
44020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44021 ac_ext=c
44022 ac_cpp='$CPP $CPPFLAGS'
44023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44032 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44034 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44035 for ac_func in log10l
44036 do :
44037 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44038 if test "x$ac_cv_func_log10l" = x""yes; then :
44039 cat >>confdefs.h <<_ACEOF
44040 #define HAVE_LOG10L 1
44041 _ACEOF
44044 done
44046 else
44048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44049 $as_echo_n "checking for _log10l declaration... " >&6; }
44050 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44051 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44052 $as_echo_n "(cached) " >&6
44053 else
44056 ac_ext=cpp
44057 ac_cpp='$CXXCPP $CPPFLAGS'
44058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44063 /* end confdefs.h. */
44064 #include <math.h>
44065 #ifdef HAVE_IEEEFP_H
44066 #include <ieeefp.h>
44067 #endif
44070 main ()
44072 _log10l(0);
44074 return 0;
44076 _ACEOF
44077 if ac_fn_cxx_try_compile "$LINENO"; then :
44078 glibcxx_cv_func__log10l_use=yes
44079 else
44080 glibcxx_cv_func__log10l_use=no
44082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44083 ac_ext=c
44084 ac_cpp='$CPP $CPPFLAGS'
44085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44094 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44096 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44097 for ac_func in _log10l
44098 do :
44099 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44100 if test "x$ac_cv_func__log10l" = x""yes; then :
44101 cat >>confdefs.h <<_ACEOF
44102 #define HAVE__LOG10L 1
44103 _ACEOF
44106 done
44115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44116 $as_echo_n "checking for modfl declaration... " >&6; }
44117 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44118 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44119 $as_echo_n "(cached) " >&6
44120 else
44123 ac_ext=cpp
44124 ac_cpp='$CXXCPP $CPPFLAGS'
44125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44130 /* end confdefs.h. */
44131 #include <math.h>
44133 main ()
44135 modfl(0, 0);
44137 return 0;
44139 _ACEOF
44140 if ac_fn_cxx_try_compile "$LINENO"; then :
44141 glibcxx_cv_func_modfl_use=yes
44142 else
44143 glibcxx_cv_func_modfl_use=no
44145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44146 ac_ext=c
44147 ac_cpp='$CPP $CPPFLAGS'
44148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44157 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44159 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44160 for ac_func in modfl
44161 do :
44162 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44163 if test "x$ac_cv_func_modfl" = x""yes; then :
44164 cat >>confdefs.h <<_ACEOF
44165 #define HAVE_MODFL 1
44166 _ACEOF
44169 done
44171 else
44173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44174 $as_echo_n "checking for _modfl declaration... " >&6; }
44175 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44176 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44177 $as_echo_n "(cached) " >&6
44178 else
44181 ac_ext=cpp
44182 ac_cpp='$CXXCPP $CPPFLAGS'
44183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44188 /* end confdefs.h. */
44189 #include <math.h>
44191 main ()
44193 _modfl(0, 0);
44195 return 0;
44197 _ACEOF
44198 if ac_fn_cxx_try_compile "$LINENO"; then :
44199 glibcxx_cv_func__modfl_use=yes
44200 else
44201 glibcxx_cv_func__modfl_use=no
44203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44204 ac_ext=c
44205 ac_cpp='$CPP $CPPFLAGS'
44206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44215 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44217 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44218 for ac_func in _modfl
44219 do :
44220 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44221 if test "x$ac_cv_func__modfl" = x""yes; then :
44222 cat >>confdefs.h <<_ACEOF
44223 #define HAVE__MODFL 1
44224 _ACEOF
44227 done
44236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44237 $as_echo_n "checking for powl declaration... " >&6; }
44238 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44239 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44240 $as_echo_n "(cached) " >&6
44241 else
44244 ac_ext=cpp
44245 ac_cpp='$CXXCPP $CPPFLAGS'
44246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44251 /* end confdefs.h. */
44252 #include <math.h>
44254 main ()
44256 powl(0, 0);
44258 return 0;
44260 _ACEOF
44261 if ac_fn_cxx_try_compile "$LINENO"; then :
44262 glibcxx_cv_func_powl_use=yes
44263 else
44264 glibcxx_cv_func_powl_use=no
44266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44267 ac_ext=c
44268 ac_cpp='$CPP $CPPFLAGS'
44269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44278 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44280 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44281 for ac_func in powl
44282 do :
44283 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44284 if test "x$ac_cv_func_powl" = x""yes; then :
44285 cat >>confdefs.h <<_ACEOF
44286 #define HAVE_POWL 1
44287 _ACEOF
44290 done
44292 else
44294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44295 $as_echo_n "checking for _powl declaration... " >&6; }
44296 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44297 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44298 $as_echo_n "(cached) " >&6
44299 else
44302 ac_ext=cpp
44303 ac_cpp='$CXXCPP $CPPFLAGS'
44304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44309 /* end confdefs.h. */
44310 #include <math.h>
44312 main ()
44314 _powl(0, 0);
44316 return 0;
44318 _ACEOF
44319 if ac_fn_cxx_try_compile "$LINENO"; then :
44320 glibcxx_cv_func__powl_use=yes
44321 else
44322 glibcxx_cv_func__powl_use=no
44324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44325 ac_ext=c
44326 ac_cpp='$CPP $CPPFLAGS'
44327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44336 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44338 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44339 for ac_func in _powl
44340 do :
44341 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44342 if test "x$ac_cv_func__powl" = x""yes; then :
44343 cat >>confdefs.h <<_ACEOF
44344 #define HAVE__POWL 1
44345 _ACEOF
44348 done
44357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44358 $as_echo_n "checking for sqrtl declaration... " >&6; }
44359 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44360 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44361 $as_echo_n "(cached) " >&6
44362 else
44365 ac_ext=cpp
44366 ac_cpp='$CXXCPP $CPPFLAGS'
44367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44372 /* end confdefs.h. */
44373 #include <math.h>
44374 #ifdef HAVE_IEEEFP_H
44375 #include <ieeefp.h>
44376 #endif
44379 main ()
44381 sqrtl(0);
44383 return 0;
44385 _ACEOF
44386 if ac_fn_cxx_try_compile "$LINENO"; then :
44387 glibcxx_cv_func_sqrtl_use=yes
44388 else
44389 glibcxx_cv_func_sqrtl_use=no
44391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44392 ac_ext=c
44393 ac_cpp='$CPP $CPPFLAGS'
44394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44403 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44405 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44406 for ac_func in sqrtl
44407 do :
44408 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44409 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44410 cat >>confdefs.h <<_ACEOF
44411 #define HAVE_SQRTL 1
44412 _ACEOF
44415 done
44417 else
44419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44420 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44421 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44422 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44423 $as_echo_n "(cached) " >&6
44424 else
44427 ac_ext=cpp
44428 ac_cpp='$CXXCPP $CPPFLAGS'
44429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44434 /* end confdefs.h. */
44435 #include <math.h>
44436 #ifdef HAVE_IEEEFP_H
44437 #include <ieeefp.h>
44438 #endif
44441 main ()
44443 _sqrtl(0);
44445 return 0;
44447 _ACEOF
44448 if ac_fn_cxx_try_compile "$LINENO"; then :
44449 glibcxx_cv_func__sqrtl_use=yes
44450 else
44451 glibcxx_cv_func__sqrtl_use=no
44453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44454 ac_ext=c
44455 ac_cpp='$CPP $CPPFLAGS'
44456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44465 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44467 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44468 for ac_func in _sqrtl
44469 do :
44470 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44471 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44472 cat >>confdefs.h <<_ACEOF
44473 #define HAVE__SQRTL 1
44474 _ACEOF
44477 done
44486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44487 $as_echo_n "checking for sincosl declaration... " >&6; }
44488 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44489 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44490 $as_echo_n "(cached) " >&6
44491 else
44494 ac_ext=cpp
44495 ac_cpp='$CXXCPP $CPPFLAGS'
44496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44501 /* end confdefs.h. */
44502 #include <math.h>
44504 main ()
44506 sincosl(0, 0, 0);
44508 return 0;
44510 _ACEOF
44511 if ac_fn_cxx_try_compile "$LINENO"; then :
44512 glibcxx_cv_func_sincosl_use=yes
44513 else
44514 glibcxx_cv_func_sincosl_use=no
44516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44517 ac_ext=c
44518 ac_cpp='$CPP $CPPFLAGS'
44519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44528 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44530 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44531 for ac_func in sincosl
44532 do :
44533 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44534 if test "x$ac_cv_func_sincosl" = x""yes; then :
44535 cat >>confdefs.h <<_ACEOF
44536 #define HAVE_SINCOSL 1
44537 _ACEOF
44540 done
44542 else
44544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44545 $as_echo_n "checking for _sincosl declaration... " >&6; }
44546 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44547 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44548 $as_echo_n "(cached) " >&6
44549 else
44552 ac_ext=cpp
44553 ac_cpp='$CXXCPP $CPPFLAGS'
44554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44559 /* end confdefs.h. */
44560 #include <math.h>
44562 main ()
44564 _sincosl(0, 0, 0);
44566 return 0;
44568 _ACEOF
44569 if ac_fn_cxx_try_compile "$LINENO"; then :
44570 glibcxx_cv_func__sincosl_use=yes
44571 else
44572 glibcxx_cv_func__sincosl_use=no
44574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44575 ac_ext=c
44576 ac_cpp='$CPP $CPPFLAGS'
44577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44586 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44588 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44589 for ac_func in _sincosl
44590 do :
44591 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44592 if test "x$ac_cv_func__sincosl" = x""yes; then :
44593 cat >>confdefs.h <<_ACEOF
44594 #define HAVE__SINCOSL 1
44595 _ACEOF
44598 done
44607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44608 $as_echo_n "checking for finitel declaration... " >&6; }
44609 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44610 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44611 $as_echo_n "(cached) " >&6
44612 else
44615 ac_ext=cpp
44616 ac_cpp='$CXXCPP $CPPFLAGS'
44617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44622 /* end confdefs.h. */
44623 #include <math.h>
44624 #ifdef HAVE_IEEEFP_H
44625 #include <ieeefp.h>
44626 #endif
44629 main ()
44631 finitel(0);
44633 return 0;
44635 _ACEOF
44636 if ac_fn_cxx_try_compile "$LINENO"; then :
44637 glibcxx_cv_func_finitel_use=yes
44638 else
44639 glibcxx_cv_func_finitel_use=no
44641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44642 ac_ext=c
44643 ac_cpp='$CPP $CPPFLAGS'
44644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44653 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44655 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44656 for ac_func in finitel
44657 do :
44658 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44659 if test "x$ac_cv_func_finitel" = x""yes; then :
44660 cat >>confdefs.h <<_ACEOF
44661 #define HAVE_FINITEL 1
44662 _ACEOF
44665 done
44667 else
44669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44670 $as_echo_n "checking for _finitel declaration... " >&6; }
44671 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44672 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44673 $as_echo_n "(cached) " >&6
44674 else
44677 ac_ext=cpp
44678 ac_cpp='$CXXCPP $CPPFLAGS'
44679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44684 /* end confdefs.h. */
44685 #include <math.h>
44686 #ifdef HAVE_IEEEFP_H
44687 #include <ieeefp.h>
44688 #endif
44691 main ()
44693 _finitel(0);
44695 return 0;
44697 _ACEOF
44698 if ac_fn_cxx_try_compile "$LINENO"; then :
44699 glibcxx_cv_func__finitel_use=yes
44700 else
44701 glibcxx_cv_func__finitel_use=no
44703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44704 ac_ext=c
44705 ac_cpp='$CPP $CPPFLAGS'
44706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44715 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44717 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44718 for ac_func in _finitel
44719 do :
44720 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44721 if test "x$ac_cv_func__finitel" = x""yes; then :
44722 cat >>confdefs.h <<_ACEOF
44723 #define HAVE__FINITEL 1
44724 _ACEOF
44727 done
44735 LIBS="$ac_save_LIBS"
44736 CXXFLAGS="$ac_save_CXXFLAGS"
44739 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44740 ac_save_CXXFLAGS="$CXXFLAGS"
44741 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44745 $as_echo_n "checking for strtold declaration... " >&6; }
44746 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44747 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44748 $as_echo_n "(cached) " >&6
44749 else
44752 ac_ext=cpp
44753 ac_cpp='$CXXCPP $CPPFLAGS'
44754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44759 /* end confdefs.h. */
44760 #include <stdlib.h>
44762 main ()
44764 strtold(0, 0);
44766 return 0;
44768 _ACEOF
44769 if ac_fn_cxx_try_compile "$LINENO"; then :
44770 glibcxx_cv_func_strtold_use=yes
44771 else
44772 glibcxx_cv_func_strtold_use=no
44774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44775 ac_ext=c
44776 ac_cpp='$CPP $CPPFLAGS'
44777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44786 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44787 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44788 for ac_func in strtold
44789 do :
44790 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44791 if test "x$ac_cv_func_strtold" = x""yes; then :
44792 cat >>confdefs.h <<_ACEOF
44793 #define HAVE_STRTOLD 1
44794 _ACEOF
44797 done
44804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44805 $as_echo_n "checking for strtof declaration... " >&6; }
44806 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44807 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44808 $as_echo_n "(cached) " >&6
44809 else
44812 ac_ext=cpp
44813 ac_cpp='$CXXCPP $CPPFLAGS'
44814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44819 /* end confdefs.h. */
44820 #include <stdlib.h>
44822 main ()
44824 strtof(0, 0);
44826 return 0;
44828 _ACEOF
44829 if ac_fn_cxx_try_compile "$LINENO"; then :
44830 glibcxx_cv_func_strtof_use=yes
44831 else
44832 glibcxx_cv_func_strtof_use=no
44834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44835 ac_ext=c
44836 ac_cpp='$CPP $CPPFLAGS'
44837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44846 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44847 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44848 for ac_func in strtof
44849 do :
44850 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44851 if test "x$ac_cv_func_strtof" = x""yes; then :
44852 cat >>confdefs.h <<_ACEOF
44853 #define HAVE_STRTOF 1
44854 _ACEOF
44857 done
44864 CXXFLAGS="$ac_save_CXXFLAGS"
44868 *djgpp)
44869 # GLIBCXX_CHECK_MATH_SUPPORT
44870 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44872 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44874 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44876 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44878 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44882 *-freebsd*)
44883 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44886 # If we're not using GNU ld, then there's no point in even trying these
44887 # tests. Check for that first. We should have already tested for gld
44888 # by now (in libtool), but require it now just to be safe...
44889 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44890 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44894 # The name set by libtool depends on the version of libtool. Shame on us
44895 # for depending on an impl detail, but c'est la vie. Older versions used
44896 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44897 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44898 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44899 # set (hence we're using an older libtool), then set it.
44900 if test x${with_gnu_ld+set} != xset; then
44901 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44902 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44903 with_gnu_ld=no
44904 else
44905 with_gnu_ld=$ac_cv_prog_gnu_ld
44909 # Start by getting the version number. I think the libtool test already
44910 # does some of this, but throws away the result.
44911 glibcxx_ld_is_gold=no
44912 if test x"$with_gnu_ld" = x"yes"; then
44913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44914 $as_echo_n "checking for ld version... " >&6; }
44916 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44917 glibcxx_ld_is_gold=yes
44919 ldver=`$LD --version 2>/dev/null |
44920 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'`
44922 glibcxx_gnu_ld_version=`echo $ldver | \
44923 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44925 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44928 # Set --gc-sections.
44929 glibcxx_have_gc_sections=no
44930 if test "$glibcxx_ld_is_gold" = "yes"; then
44931 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44932 glibcxx_have_gc_sections=yes
44934 else
44935 glibcxx_gcsections_min_ld=21602
44936 if test x"$with_gnu_ld" = x"yes" &&
44937 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44938 glibcxx_have_gc_sections=yes
44941 if test "$glibcxx_have_gc_sections" = "yes"; then
44942 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44943 # NB: This flag only works reliably after 2.16.1. Configure tests
44944 # for this are difficult, so hard wire a value that should work.
44946 ac_test_CFLAGS="${CFLAGS+set}"
44947 ac_save_CFLAGS="$CFLAGS"
44948 CFLAGS='-Wl,--gc-sections'
44950 # Check for -Wl,--gc-sections
44951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44952 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44953 if test x$gcc_no_link = xyes; then
44954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44957 /* end confdefs.h. */
44958 int one(void) { return 1; }
44959 int two(void) { return 2; }
44962 main ()
44964 two();
44966 return 0;
44968 _ACEOF
44969 if ac_fn_c_try_link "$LINENO"; then :
44970 ac_gcsections=yes
44971 else
44972 ac_gcsections=no
44974 rm -f core conftest.err conftest.$ac_objext \
44975 conftest$ac_exeext conftest.$ac_ext
44976 if test "$ac_gcsections" = "yes"; then
44977 rm -f conftest.c
44978 touch conftest.c
44979 if $CC -c conftest.c; then
44980 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44981 grep "Warning: gc-sections option ignored" > /dev/null; then
44982 ac_gcsections=no
44985 rm -f conftest.c conftest.o conftest
44987 if test "$ac_gcsections" = "yes"; then
44988 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44991 $as_echo "$ac_gcsections" >&6; }
44993 if test "$ac_test_CFLAGS" = set; then
44994 CFLAGS="$ac_save_CFLAGS"
44995 else
44996 # this is the suspicious part
44997 CFLAGS=''
45001 # Set -z,relro.
45002 # Note this is only for shared objects.
45003 ac_ld_relro=no
45004 if test x"$with_gnu_ld" = x"yes"; then
45005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45006 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45007 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45008 if test -n "$cxx_z_relo"; then
45009 OPT_LDFLAGS="-Wl,-z,relro"
45010 ac_ld_relro=yes
45012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45013 $as_echo "$ac_ld_relro" >&6; }
45016 # Set linker optimization flags.
45017 if test x"$with_gnu_ld" = x"yes"; then
45018 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45024 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45026 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45028 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45030 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45032 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45034 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45036 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45038 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45040 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45043 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45045 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45047 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45049 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45051 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45053 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45055 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45057 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45059 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45061 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45063 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45065 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45067 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45069 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45071 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45073 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45075 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45077 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45079 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45081 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45083 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45085 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45087 if test x"long_double_math_on_this_cpu" = x"yes"; then
45088 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45090 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45092 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45096 *-hpux*)
45097 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45100 # If we're not using GNU ld, then there's no point in even trying these
45101 # tests. Check for that first. We should have already tested for gld
45102 # by now (in libtool), but require it now just to be safe...
45103 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45104 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45108 # The name set by libtool depends on the version of libtool. Shame on us
45109 # for depending on an impl detail, but c'est la vie. Older versions used
45110 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45111 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45112 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45113 # set (hence we're using an older libtool), then set it.
45114 if test x${with_gnu_ld+set} != xset; then
45115 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45116 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45117 with_gnu_ld=no
45118 else
45119 with_gnu_ld=$ac_cv_prog_gnu_ld
45123 # Start by getting the version number. I think the libtool test already
45124 # does some of this, but throws away the result.
45125 glibcxx_ld_is_gold=no
45126 if test x"$with_gnu_ld" = x"yes"; then
45127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45128 $as_echo_n "checking for ld version... " >&6; }
45130 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45131 glibcxx_ld_is_gold=yes
45133 ldver=`$LD --version 2>/dev/null |
45134 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'`
45136 glibcxx_gnu_ld_version=`echo $ldver | \
45137 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45139 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45142 # Set --gc-sections.
45143 glibcxx_have_gc_sections=no
45144 if test "$glibcxx_ld_is_gold" = "yes"; then
45145 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45146 glibcxx_have_gc_sections=yes
45148 else
45149 glibcxx_gcsections_min_ld=21602
45150 if test x"$with_gnu_ld" = x"yes" &&
45151 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45152 glibcxx_have_gc_sections=yes
45155 if test "$glibcxx_have_gc_sections" = "yes"; then
45156 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45157 # NB: This flag only works reliably after 2.16.1. Configure tests
45158 # for this are difficult, so hard wire a value that should work.
45160 ac_test_CFLAGS="${CFLAGS+set}"
45161 ac_save_CFLAGS="$CFLAGS"
45162 CFLAGS='-Wl,--gc-sections'
45164 # Check for -Wl,--gc-sections
45165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45166 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45167 if test x$gcc_no_link = xyes; then
45168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45171 /* end confdefs.h. */
45172 int one(void) { return 1; }
45173 int two(void) { return 2; }
45176 main ()
45178 two();
45180 return 0;
45182 _ACEOF
45183 if ac_fn_c_try_link "$LINENO"; then :
45184 ac_gcsections=yes
45185 else
45186 ac_gcsections=no
45188 rm -f core conftest.err conftest.$ac_objext \
45189 conftest$ac_exeext conftest.$ac_ext
45190 if test "$ac_gcsections" = "yes"; then
45191 rm -f conftest.c
45192 touch conftest.c
45193 if $CC -c conftest.c; then
45194 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45195 grep "Warning: gc-sections option ignored" > /dev/null; then
45196 ac_gcsections=no
45199 rm -f conftest.c conftest.o conftest
45201 if test "$ac_gcsections" = "yes"; then
45202 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45205 $as_echo "$ac_gcsections" >&6; }
45207 if test "$ac_test_CFLAGS" = set; then
45208 CFLAGS="$ac_save_CFLAGS"
45209 else
45210 # this is the suspicious part
45211 CFLAGS=''
45215 # Set -z,relro.
45216 # Note this is only for shared objects.
45217 ac_ld_relro=no
45218 if test x"$with_gnu_ld" = x"yes"; then
45219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45220 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45221 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45222 if test -n "$cxx_z_relo"; then
45223 OPT_LDFLAGS="-Wl,-z,relro"
45224 ac_ld_relro=yes
45226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45227 $as_echo "$ac_ld_relro" >&6; }
45230 # Set linker optimization flags.
45231 if test x"$with_gnu_ld" = x"yes"; then
45232 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45239 # GLIBCXX_CHECK_MATH_SUPPORT
45240 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45242 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45244 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45246 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45248 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45250 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45252 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45254 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45256 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45258 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45260 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45262 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45264 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45266 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45268 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45270 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45272 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45274 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45276 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45278 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45280 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45283 # GLIBCXX_CHECK_STDLIB_SUPPORT
45284 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45289 # Check whether --enable-tls was given.
45290 if test "${enable_tls+set}" = set; then :
45291 enableval=$enable_tls;
45292 case "$enableval" in
45293 yes|no) ;;
45294 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45295 esac
45297 else
45298 enable_tls=yes
45302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45303 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45304 if test "${gcc_cv_have_tls+set}" = set; then :
45305 $as_echo_n "(cached) " >&6
45306 else
45308 if test "$cross_compiling" = yes; then :
45309 if test x$gcc_no_link = xyes; then
45310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45313 /* end confdefs.h. */
45314 __thread int a; int b; int main() { return a = b; }
45315 _ACEOF
45316 if ac_fn_c_try_link "$LINENO"; then :
45317 chktls_save_LDFLAGS="$LDFLAGS"
45318 case $host in
45319 *-*-linux*)
45320 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45322 esac
45323 chktls_save_CFLAGS="$CFLAGS"
45324 CFLAGS="-fPIC $CFLAGS"
45325 if test x$gcc_no_link = xyes; then
45326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45329 /* end confdefs.h. */
45330 int f() { return 0; }
45331 _ACEOF
45332 if ac_fn_c_try_link "$LINENO"; then :
45333 if test x$gcc_no_link = xyes; then
45334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45337 /* end confdefs.h. */
45338 __thread int a; int b; int f() { return a = b; }
45339 _ACEOF
45340 if ac_fn_c_try_link "$LINENO"; then :
45341 gcc_cv_have_tls=yes
45342 else
45343 gcc_cv_have_tls=no
45345 rm -f core conftest.err conftest.$ac_objext \
45346 conftest$ac_exeext conftest.$ac_ext
45347 else
45348 gcc_cv_have_tls=yes
45350 rm -f core conftest.err conftest.$ac_objext \
45351 conftest$ac_exeext conftest.$ac_ext
45352 CFLAGS="$chktls_save_CFLAGS"
45353 LDFLAGS="$chktls_save_LDFLAGS"
45354 else
45355 gcc_cv_have_tls=no
45357 rm -f core conftest.err conftest.$ac_objext \
45358 conftest$ac_exeext conftest.$ac_ext
45361 else
45362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45363 /* end confdefs.h. */
45364 __thread int a; int b; int main() { return a = b; }
45365 _ACEOF
45366 if ac_fn_c_try_run "$LINENO"; then :
45367 chktls_save_LDFLAGS="$LDFLAGS"
45368 LDFLAGS="-static $LDFLAGS"
45369 if test x$gcc_no_link = xyes; then
45370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45373 /* end confdefs.h. */
45374 int main() { return 0; }
45375 _ACEOF
45376 if ac_fn_c_try_link "$LINENO"; then :
45377 if test "$cross_compiling" = yes; then :
45378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45380 as_fn_error "cannot run test program while cross compiling
45381 See \`config.log' for more details." "$LINENO" 5; }
45382 else
45383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45384 /* end confdefs.h. */
45385 __thread int a; int b; int main() { return a = b; }
45386 _ACEOF
45387 if ac_fn_c_try_run "$LINENO"; then :
45388 gcc_cv_have_tls=yes
45389 else
45390 gcc_cv_have_tls=no
45392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45393 conftest.$ac_objext conftest.beam conftest.$ac_ext
45396 else
45397 gcc_cv_have_tls=yes
45399 rm -f core conftest.err conftest.$ac_objext \
45400 conftest$ac_exeext conftest.$ac_ext
45401 LDFLAGS="$chktls_save_LDFLAGS"
45402 if test $gcc_cv_have_tls = yes; then
45403 chktls_save_CFLAGS="$CFLAGS"
45404 thread_CFLAGS=failed
45405 for flag in '' '-pthread' '-lpthread'; do
45406 CFLAGS="$flag $chktls_save_CFLAGS"
45407 if test x$gcc_no_link = xyes; then
45408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45411 /* end confdefs.h. */
45412 #include <pthread.h>
45413 void *g(void *d) { return NULL; }
45415 main ()
45417 pthread_t t; pthread_create(&t,NULL,g,NULL);
45419 return 0;
45421 _ACEOF
45422 if ac_fn_c_try_link "$LINENO"; then :
45423 thread_CFLAGS="$flag"
45425 rm -f core conftest.err conftest.$ac_objext \
45426 conftest$ac_exeext conftest.$ac_ext
45427 if test "X$thread_CFLAGS" != Xfailed; then
45428 break
45430 done
45431 CFLAGS="$chktls_save_CFLAGS"
45432 if test "X$thread_CFLAGS" != Xfailed; then
45433 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45434 if test "$cross_compiling" = yes; then :
45435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45437 as_fn_error "cannot run test program while cross compiling
45438 See \`config.log' for more details." "$LINENO" 5; }
45439 else
45440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45441 /* end confdefs.h. */
45442 #include <pthread.h>
45443 __thread int a;
45444 static int *volatile a_in_other_thread;
45445 static void *
45446 thread_func (void *arg)
45448 a_in_other_thread = &a;
45449 return (void *)0;
45452 main ()
45454 pthread_t thread;
45455 void *thread_retval;
45456 int *volatile a_in_main_thread;
45457 a_in_main_thread = &a;
45458 if (pthread_create (&thread, (pthread_attr_t *)0,
45459 thread_func, (void *)0))
45460 return 0;
45461 if (pthread_join (thread, &thread_retval))
45462 return 0;
45463 return (a_in_other_thread == a_in_main_thread);
45465 return 0;
45467 _ACEOF
45468 if ac_fn_c_try_run "$LINENO"; then :
45469 gcc_cv_have_tls=yes
45470 else
45471 gcc_cv_have_tls=no
45473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45474 conftest.$ac_objext conftest.beam conftest.$ac_ext
45477 CFLAGS="$chktls_save_CFLAGS"
45480 else
45481 gcc_cv_have_tls=no
45483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45484 conftest.$ac_objext conftest.beam conftest.$ac_ext
45488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45489 $as_echo "$gcc_cv_have_tls" >&6; }
45490 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45492 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45495 case "$target" in
45496 *-hpux10*)
45497 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45499 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45501 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45503 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45505 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45508 esac
45510 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45512 # All these tests are for C++; save the language and the compiler flags.
45513 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45514 # found in GLIBCXX_CONFIGURE.
45516 ac_ext=cpp
45517 ac_cpp='$CXXCPP $CPPFLAGS'
45518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45522 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45523 ac_save_CXXFLAGS="$CXXFLAGS"
45525 # Check for maintainer-mode bits.
45526 if test x"$USE_MAINTAINER_MODE" = xno; then
45527 WERROR=''
45528 else
45529 WERROR='-Werror'
45532 # Check for -ffunction-sections -fdata-sections
45533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45534 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45535 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45537 /* end confdefs.h. */
45538 int foo; void bar() { };
45540 main ()
45544 return 0;
45546 _ACEOF
45547 if ac_fn_cxx_try_compile "$LINENO"; then :
45548 ac_fdsections=yes
45549 else
45550 ac_fdsections=no
45552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45553 if test "$ac_test_CXXFLAGS" = set; then
45554 CXXFLAGS="$ac_save_CXXFLAGS"
45555 else
45556 # this is the suspicious part
45557 CXXFLAGS=''
45559 if test x"$ac_fdsections" = x"yes"; then
45560 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45563 $as_echo "$ac_fdsections" >&6; }
45565 ac_ext=c
45566 ac_cpp='$CPP $CPPFLAGS'
45567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45575 # If we're not using GNU ld, then there's no point in even trying these
45576 # tests. Check for that first. We should have already tested for gld
45577 # by now (in libtool), but require it now just to be safe...
45578 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45579 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45583 # The name set by libtool depends on the version of libtool. Shame on us
45584 # for depending on an impl detail, but c'est la vie. Older versions used
45585 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45586 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45587 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45588 # set (hence we're using an older libtool), then set it.
45589 if test x${with_gnu_ld+set} != xset; then
45590 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45591 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45592 with_gnu_ld=no
45593 else
45594 with_gnu_ld=$ac_cv_prog_gnu_ld
45598 # Start by getting the version number. I think the libtool test already
45599 # does some of this, but throws away the result.
45600 glibcxx_ld_is_gold=no
45601 if test x"$with_gnu_ld" = x"yes"; then
45602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45603 $as_echo_n "checking for ld version... " >&6; }
45605 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45606 glibcxx_ld_is_gold=yes
45608 ldver=`$LD --version 2>/dev/null |
45609 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'`
45611 glibcxx_gnu_ld_version=`echo $ldver | \
45612 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45614 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45617 # Set --gc-sections.
45618 glibcxx_have_gc_sections=no
45619 if test "$glibcxx_ld_is_gold" = "yes"; then
45620 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45621 glibcxx_have_gc_sections=yes
45623 else
45624 glibcxx_gcsections_min_ld=21602
45625 if test x"$with_gnu_ld" = x"yes" &&
45626 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45627 glibcxx_have_gc_sections=yes
45630 if test "$glibcxx_have_gc_sections" = "yes"; then
45631 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45632 # NB: This flag only works reliably after 2.16.1. Configure tests
45633 # for this are difficult, so hard wire a value that should work.
45635 ac_test_CFLAGS="${CFLAGS+set}"
45636 ac_save_CFLAGS="$CFLAGS"
45637 CFLAGS='-Wl,--gc-sections'
45639 # Check for -Wl,--gc-sections
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45641 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45642 if test x$gcc_no_link = xyes; then
45643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45646 /* end confdefs.h. */
45647 int one(void) { return 1; }
45648 int two(void) { return 2; }
45651 main ()
45653 two();
45655 return 0;
45657 _ACEOF
45658 if ac_fn_c_try_link "$LINENO"; then :
45659 ac_gcsections=yes
45660 else
45661 ac_gcsections=no
45663 rm -f core conftest.err conftest.$ac_objext \
45664 conftest$ac_exeext conftest.$ac_ext
45665 if test "$ac_gcsections" = "yes"; then
45666 rm -f conftest.c
45667 touch conftest.c
45668 if $CC -c conftest.c; then
45669 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45670 grep "Warning: gc-sections option ignored" > /dev/null; then
45671 ac_gcsections=no
45674 rm -f conftest.c conftest.o conftest
45676 if test "$ac_gcsections" = "yes"; then
45677 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45680 $as_echo "$ac_gcsections" >&6; }
45682 if test "$ac_test_CFLAGS" = set; then
45683 CFLAGS="$ac_save_CFLAGS"
45684 else
45685 # this is the suspicious part
45686 CFLAGS=''
45690 # Set -z,relro.
45691 # Note this is only for shared objects.
45692 ac_ld_relro=no
45693 if test x"$with_gnu_ld" = x"yes"; then
45694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45695 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45696 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45697 if test -n "$cxx_z_relo"; then
45698 OPT_LDFLAGS="-Wl,-z,relro"
45699 ac_ld_relro=yes
45701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45702 $as_echo "$ac_ld_relro" >&6; }
45705 # Set linker optimization flags.
45706 if test x"$with_gnu_ld" = x"yes"; then
45707 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45714 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45715 ac_save_CXXFLAGS="$CXXFLAGS"
45716 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45719 $as_echo_n "checking for sin in -lm... " >&6; }
45720 if test "${ac_cv_lib_m_sin+set}" = set; then :
45721 $as_echo_n "(cached) " >&6
45722 else
45723 ac_check_lib_save_LIBS=$LIBS
45724 LIBS="-lm $LIBS"
45725 if test x$gcc_no_link = xyes; then
45726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45729 /* end confdefs.h. */
45731 /* Override any GCC internal prototype to avoid an error.
45732 Use char because int might match the return type of a GCC
45733 builtin and then its argument prototype would still apply. */
45734 #ifdef __cplusplus
45735 extern "C"
45736 #endif
45737 char sin ();
45739 main ()
45741 return sin ();
45743 return 0;
45745 _ACEOF
45746 if ac_fn_c_try_link "$LINENO"; then :
45747 ac_cv_lib_m_sin=yes
45748 else
45749 ac_cv_lib_m_sin=no
45751 rm -f core conftest.err conftest.$ac_objext \
45752 conftest$ac_exeext conftest.$ac_ext
45753 LIBS=$ac_check_lib_save_LIBS
45755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45756 $as_echo "$ac_cv_lib_m_sin" >&6; }
45757 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45758 libm="-lm"
45761 ac_save_LIBS="$LIBS"
45762 LIBS="$LIBS $libm"
45766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45767 $as_echo_n "checking for isinf declaration... " >&6; }
45768 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45769 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45770 $as_echo_n "(cached) " >&6
45771 else
45774 ac_ext=cpp
45775 ac_cpp='$CXXCPP $CPPFLAGS'
45776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45781 /* end confdefs.h. */
45782 #include <math.h>
45783 #ifdef HAVE_IEEEFP_H
45784 #include <ieeefp.h>
45785 #endif
45788 main ()
45790 isinf(0);
45792 return 0;
45794 _ACEOF
45795 if ac_fn_cxx_try_compile "$LINENO"; then :
45796 glibcxx_cv_func_isinf_use=yes
45797 else
45798 glibcxx_cv_func_isinf_use=no
45800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45801 ac_ext=c
45802 ac_cpp='$CPP $CPPFLAGS'
45803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45812 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45814 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45815 for ac_func in isinf
45816 do :
45817 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45818 if test "x$ac_cv_func_isinf" = x""yes; then :
45819 cat >>confdefs.h <<_ACEOF
45820 #define HAVE_ISINF 1
45821 _ACEOF
45824 done
45826 else
45828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45829 $as_echo_n "checking for _isinf declaration... " >&6; }
45830 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45831 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45832 $as_echo_n "(cached) " >&6
45833 else
45836 ac_ext=cpp
45837 ac_cpp='$CXXCPP $CPPFLAGS'
45838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45843 /* end confdefs.h. */
45844 #include <math.h>
45845 #ifdef HAVE_IEEEFP_H
45846 #include <ieeefp.h>
45847 #endif
45850 main ()
45852 _isinf(0);
45854 return 0;
45856 _ACEOF
45857 if ac_fn_cxx_try_compile "$LINENO"; then :
45858 glibcxx_cv_func__isinf_use=yes
45859 else
45860 glibcxx_cv_func__isinf_use=no
45862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45863 ac_ext=c
45864 ac_cpp='$CPP $CPPFLAGS'
45865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45874 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45876 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45877 for ac_func in _isinf
45878 do :
45879 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45880 if test "x$ac_cv_func__isinf" = x""yes; then :
45881 cat >>confdefs.h <<_ACEOF
45882 #define HAVE__ISINF 1
45883 _ACEOF
45886 done
45895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45896 $as_echo_n "checking for isnan declaration... " >&6; }
45897 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45898 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45899 $as_echo_n "(cached) " >&6
45900 else
45903 ac_ext=cpp
45904 ac_cpp='$CXXCPP $CPPFLAGS'
45905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45910 /* end confdefs.h. */
45911 #include <math.h>
45912 #ifdef HAVE_IEEEFP_H
45913 #include <ieeefp.h>
45914 #endif
45917 main ()
45919 isnan(0);
45921 return 0;
45923 _ACEOF
45924 if ac_fn_cxx_try_compile "$LINENO"; then :
45925 glibcxx_cv_func_isnan_use=yes
45926 else
45927 glibcxx_cv_func_isnan_use=no
45929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45930 ac_ext=c
45931 ac_cpp='$CPP $CPPFLAGS'
45932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45941 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45943 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45944 for ac_func in isnan
45945 do :
45946 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45947 if test "x$ac_cv_func_isnan" = x""yes; then :
45948 cat >>confdefs.h <<_ACEOF
45949 #define HAVE_ISNAN 1
45950 _ACEOF
45953 done
45955 else
45957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45958 $as_echo_n "checking for _isnan declaration... " >&6; }
45959 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45960 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45961 $as_echo_n "(cached) " >&6
45962 else
45965 ac_ext=cpp
45966 ac_cpp='$CXXCPP $CPPFLAGS'
45967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45972 /* end confdefs.h. */
45973 #include <math.h>
45974 #ifdef HAVE_IEEEFP_H
45975 #include <ieeefp.h>
45976 #endif
45979 main ()
45981 _isnan(0);
45983 return 0;
45985 _ACEOF
45986 if ac_fn_cxx_try_compile "$LINENO"; then :
45987 glibcxx_cv_func__isnan_use=yes
45988 else
45989 glibcxx_cv_func__isnan_use=no
45991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45992 ac_ext=c
45993 ac_cpp='$CPP $CPPFLAGS'
45994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46003 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46005 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46006 for ac_func in _isnan
46007 do :
46008 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46009 if test "x$ac_cv_func__isnan" = x""yes; then :
46010 cat >>confdefs.h <<_ACEOF
46011 #define HAVE__ISNAN 1
46012 _ACEOF
46015 done
46024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46025 $as_echo_n "checking for finite declaration... " >&6; }
46026 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46027 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46028 $as_echo_n "(cached) " >&6
46029 else
46032 ac_ext=cpp
46033 ac_cpp='$CXXCPP $CPPFLAGS'
46034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46039 /* end confdefs.h. */
46040 #include <math.h>
46041 #ifdef HAVE_IEEEFP_H
46042 #include <ieeefp.h>
46043 #endif
46046 main ()
46048 finite(0);
46050 return 0;
46052 _ACEOF
46053 if ac_fn_cxx_try_compile "$LINENO"; then :
46054 glibcxx_cv_func_finite_use=yes
46055 else
46056 glibcxx_cv_func_finite_use=no
46058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46059 ac_ext=c
46060 ac_cpp='$CPP $CPPFLAGS'
46061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46070 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46072 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46073 for ac_func in finite
46074 do :
46075 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46076 if test "x$ac_cv_func_finite" = x""yes; then :
46077 cat >>confdefs.h <<_ACEOF
46078 #define HAVE_FINITE 1
46079 _ACEOF
46082 done
46084 else
46086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46087 $as_echo_n "checking for _finite declaration... " >&6; }
46088 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46089 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46090 $as_echo_n "(cached) " >&6
46091 else
46094 ac_ext=cpp
46095 ac_cpp='$CXXCPP $CPPFLAGS'
46096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46101 /* end confdefs.h. */
46102 #include <math.h>
46103 #ifdef HAVE_IEEEFP_H
46104 #include <ieeefp.h>
46105 #endif
46108 main ()
46110 _finite(0);
46112 return 0;
46114 _ACEOF
46115 if ac_fn_cxx_try_compile "$LINENO"; then :
46116 glibcxx_cv_func__finite_use=yes
46117 else
46118 glibcxx_cv_func__finite_use=no
46120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46121 ac_ext=c
46122 ac_cpp='$CPP $CPPFLAGS'
46123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46132 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46134 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46135 for ac_func in _finite
46136 do :
46137 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46138 if test "x$ac_cv_func__finite" = x""yes; then :
46139 cat >>confdefs.h <<_ACEOF
46140 #define HAVE__FINITE 1
46141 _ACEOF
46144 done
46153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46154 $as_echo_n "checking for sincos declaration... " >&6; }
46155 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46156 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46157 $as_echo_n "(cached) " >&6
46158 else
46161 ac_ext=cpp
46162 ac_cpp='$CXXCPP $CPPFLAGS'
46163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46168 /* end confdefs.h. */
46169 #include <math.h>
46171 main ()
46173 sincos(0, 0, 0);
46175 return 0;
46177 _ACEOF
46178 if ac_fn_cxx_try_compile "$LINENO"; then :
46179 glibcxx_cv_func_sincos_use=yes
46180 else
46181 glibcxx_cv_func_sincos_use=no
46183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46184 ac_ext=c
46185 ac_cpp='$CPP $CPPFLAGS'
46186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46195 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46197 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46198 for ac_func in sincos
46199 do :
46200 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46201 if test "x$ac_cv_func_sincos" = x""yes; then :
46202 cat >>confdefs.h <<_ACEOF
46203 #define HAVE_SINCOS 1
46204 _ACEOF
46207 done
46209 else
46211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46212 $as_echo_n "checking for _sincos declaration... " >&6; }
46213 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46214 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46215 $as_echo_n "(cached) " >&6
46216 else
46219 ac_ext=cpp
46220 ac_cpp='$CXXCPP $CPPFLAGS'
46221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46226 /* end confdefs.h. */
46227 #include <math.h>
46229 main ()
46231 _sincos(0, 0, 0);
46233 return 0;
46235 _ACEOF
46236 if ac_fn_cxx_try_compile "$LINENO"; then :
46237 glibcxx_cv_func__sincos_use=yes
46238 else
46239 glibcxx_cv_func__sincos_use=no
46241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46242 ac_ext=c
46243 ac_cpp='$CPP $CPPFLAGS'
46244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46253 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46255 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46256 for ac_func in _sincos
46257 do :
46258 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46259 if test "x$ac_cv_func__sincos" = x""yes; then :
46260 cat >>confdefs.h <<_ACEOF
46261 #define HAVE__SINCOS 1
46262 _ACEOF
46265 done
46274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46275 $as_echo_n "checking for fpclass declaration... " >&6; }
46276 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46277 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46278 $as_echo_n "(cached) " >&6
46279 else
46282 ac_ext=cpp
46283 ac_cpp='$CXXCPP $CPPFLAGS'
46284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46289 /* end confdefs.h. */
46290 #include <math.h>
46291 #ifdef HAVE_IEEEFP_H
46292 #include <ieeefp.h>
46293 #endif
46296 main ()
46298 fpclass(0);
46300 return 0;
46302 _ACEOF
46303 if ac_fn_cxx_try_compile "$LINENO"; then :
46304 glibcxx_cv_func_fpclass_use=yes
46305 else
46306 glibcxx_cv_func_fpclass_use=no
46308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46309 ac_ext=c
46310 ac_cpp='$CPP $CPPFLAGS'
46311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46320 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46322 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46323 for ac_func in fpclass
46324 do :
46325 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46326 if test "x$ac_cv_func_fpclass" = x""yes; then :
46327 cat >>confdefs.h <<_ACEOF
46328 #define HAVE_FPCLASS 1
46329 _ACEOF
46332 done
46334 else
46336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46337 $as_echo_n "checking for _fpclass declaration... " >&6; }
46338 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46339 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46340 $as_echo_n "(cached) " >&6
46341 else
46344 ac_ext=cpp
46345 ac_cpp='$CXXCPP $CPPFLAGS'
46346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46351 /* end confdefs.h. */
46352 #include <math.h>
46353 #ifdef HAVE_IEEEFP_H
46354 #include <ieeefp.h>
46355 #endif
46358 main ()
46360 _fpclass(0);
46362 return 0;
46364 _ACEOF
46365 if ac_fn_cxx_try_compile "$LINENO"; then :
46366 glibcxx_cv_func__fpclass_use=yes
46367 else
46368 glibcxx_cv_func__fpclass_use=no
46370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46371 ac_ext=c
46372 ac_cpp='$CPP $CPPFLAGS'
46373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46382 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46384 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46385 for ac_func in _fpclass
46386 do :
46387 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46388 if test "x$ac_cv_func__fpclass" = x""yes; then :
46389 cat >>confdefs.h <<_ACEOF
46390 #define HAVE__FPCLASS 1
46391 _ACEOF
46394 done
46403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46404 $as_echo_n "checking for qfpclass declaration... " >&6; }
46405 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46406 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46407 $as_echo_n "(cached) " >&6
46408 else
46411 ac_ext=cpp
46412 ac_cpp='$CXXCPP $CPPFLAGS'
46413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46418 /* end confdefs.h. */
46419 #include <math.h>
46420 #ifdef HAVE_IEEEFP_H
46421 #include <ieeefp.h>
46422 #endif
46425 main ()
46427 qfpclass(0);
46429 return 0;
46431 _ACEOF
46432 if ac_fn_cxx_try_compile "$LINENO"; then :
46433 glibcxx_cv_func_qfpclass_use=yes
46434 else
46435 glibcxx_cv_func_qfpclass_use=no
46437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46438 ac_ext=c
46439 ac_cpp='$CPP $CPPFLAGS'
46440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46449 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46451 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46452 for ac_func in qfpclass
46453 do :
46454 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46455 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46456 cat >>confdefs.h <<_ACEOF
46457 #define HAVE_QFPCLASS 1
46458 _ACEOF
46461 done
46463 else
46465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46466 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46467 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46468 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46469 $as_echo_n "(cached) " >&6
46470 else
46473 ac_ext=cpp
46474 ac_cpp='$CXXCPP $CPPFLAGS'
46475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46480 /* end confdefs.h. */
46481 #include <math.h>
46482 #ifdef HAVE_IEEEFP_H
46483 #include <ieeefp.h>
46484 #endif
46487 main ()
46489 _qfpclass(0);
46491 return 0;
46493 _ACEOF
46494 if ac_fn_cxx_try_compile "$LINENO"; then :
46495 glibcxx_cv_func__qfpclass_use=yes
46496 else
46497 glibcxx_cv_func__qfpclass_use=no
46499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46500 ac_ext=c
46501 ac_cpp='$CPP $CPPFLAGS'
46502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46511 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46513 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46514 for ac_func in _qfpclass
46515 do :
46516 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46517 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46518 cat >>confdefs.h <<_ACEOF
46519 #define HAVE__QFPCLASS 1
46520 _ACEOF
46523 done
46532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46533 $as_echo_n "checking for hypot declaration... " >&6; }
46534 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46535 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46536 $as_echo_n "(cached) " >&6
46537 else
46540 ac_ext=cpp
46541 ac_cpp='$CXXCPP $CPPFLAGS'
46542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46547 /* end confdefs.h. */
46548 #include <math.h>
46550 main ()
46552 hypot(0, 0);
46554 return 0;
46556 _ACEOF
46557 if ac_fn_cxx_try_compile "$LINENO"; then :
46558 glibcxx_cv_func_hypot_use=yes
46559 else
46560 glibcxx_cv_func_hypot_use=no
46562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46563 ac_ext=c
46564 ac_cpp='$CPP $CPPFLAGS'
46565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46574 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46576 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46577 for ac_func in hypot
46578 do :
46579 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46580 if test "x$ac_cv_func_hypot" = x""yes; then :
46581 cat >>confdefs.h <<_ACEOF
46582 #define HAVE_HYPOT 1
46583 _ACEOF
46586 done
46588 else
46590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46591 $as_echo_n "checking for _hypot declaration... " >&6; }
46592 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46593 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46594 $as_echo_n "(cached) " >&6
46595 else
46598 ac_ext=cpp
46599 ac_cpp='$CXXCPP $CPPFLAGS'
46600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46605 /* end confdefs.h. */
46606 #include <math.h>
46608 main ()
46610 _hypot(0, 0);
46612 return 0;
46614 _ACEOF
46615 if ac_fn_cxx_try_compile "$LINENO"; then :
46616 glibcxx_cv_func__hypot_use=yes
46617 else
46618 glibcxx_cv_func__hypot_use=no
46620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46621 ac_ext=c
46622 ac_cpp='$CPP $CPPFLAGS'
46623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46632 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46634 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46635 for ac_func in _hypot
46636 do :
46637 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46638 if test "x$ac_cv_func__hypot" = x""yes; then :
46639 cat >>confdefs.h <<_ACEOF
46640 #define HAVE__HYPOT 1
46641 _ACEOF
46644 done
46653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46654 $as_echo_n "checking for float trig functions... " >&6; }
46655 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46656 $as_echo_n "(cached) " >&6
46657 else
46660 ac_ext=cpp
46661 ac_cpp='$CXXCPP $CPPFLAGS'
46662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46667 /* end confdefs.h. */
46668 #include <math.h>
46670 main ()
46672 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46674 return 0;
46676 _ACEOF
46677 if ac_fn_cxx_try_compile "$LINENO"; then :
46678 glibcxx_cv_func_float_trig_use=yes
46679 else
46680 glibcxx_cv_func_float_trig_use=no
46682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46683 ac_ext=c
46684 ac_cpp='$CPP $CPPFLAGS'
46685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46692 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46693 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46694 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46695 do :
46696 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46697 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46698 eval as_val=\$$as_ac_var
46699 if test "x$as_val" = x""yes; then :
46700 cat >>confdefs.h <<_ACEOF
46701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46702 _ACEOF
46705 done
46707 else
46708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46709 $as_echo_n "checking for _float trig functions... " >&6; }
46710 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46711 $as_echo_n "(cached) " >&6
46712 else
46715 ac_ext=cpp
46716 ac_cpp='$CXXCPP $CPPFLAGS'
46717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46722 /* end confdefs.h. */
46723 #include <math.h>
46725 main ()
46727 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46729 return 0;
46731 _ACEOF
46732 if ac_fn_cxx_try_compile "$LINENO"; then :
46733 glibcxx_cv_func__float_trig_use=yes
46734 else
46735 glibcxx_cv_func__float_trig_use=no
46737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46738 ac_ext=c
46739 ac_cpp='$CPP $CPPFLAGS'
46740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46747 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46748 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46749 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46750 do :
46751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46753 eval as_val=\$$as_ac_var
46754 if test "x$as_val" = x""yes; then :
46755 cat >>confdefs.h <<_ACEOF
46756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46757 _ACEOF
46760 done
46769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46770 $as_echo_n "checking for float round functions... " >&6; }
46771 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46772 $as_echo_n "(cached) " >&6
46773 else
46776 ac_ext=cpp
46777 ac_cpp='$CXXCPP $CPPFLAGS'
46778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46783 /* end confdefs.h. */
46784 #include <math.h>
46786 main ()
46788 ceilf (0); floorf (0);
46790 return 0;
46792 _ACEOF
46793 if ac_fn_cxx_try_compile "$LINENO"; then :
46794 glibcxx_cv_func_float_round_use=yes
46795 else
46796 glibcxx_cv_func_float_round_use=no
46798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46799 ac_ext=c
46800 ac_cpp='$CPP $CPPFLAGS'
46801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46808 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46809 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46810 for ac_func in ceilf floorf
46811 do :
46812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46814 eval as_val=\$$as_ac_var
46815 if test "x$as_val" = x""yes; then :
46816 cat >>confdefs.h <<_ACEOF
46817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46818 _ACEOF
46821 done
46823 else
46824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46825 $as_echo_n "checking for _float round functions... " >&6; }
46826 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46827 $as_echo_n "(cached) " >&6
46828 else
46831 ac_ext=cpp
46832 ac_cpp='$CXXCPP $CPPFLAGS'
46833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46838 /* end confdefs.h. */
46839 #include <math.h>
46841 main ()
46843 _ceilf (0); _floorf (0);
46845 return 0;
46847 _ACEOF
46848 if ac_fn_cxx_try_compile "$LINENO"; then :
46849 glibcxx_cv_func__float_round_use=yes
46850 else
46851 glibcxx_cv_func__float_round_use=no
46853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46854 ac_ext=c
46855 ac_cpp='$CPP $CPPFLAGS'
46856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46863 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46864 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46865 for ac_func in _ceilf _floorf
46866 do :
46867 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46868 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46869 eval as_val=\$$as_ac_var
46870 if test "x$as_val" = x""yes; then :
46871 cat >>confdefs.h <<_ACEOF
46872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46873 _ACEOF
46876 done
46886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46887 $as_echo_n "checking for expf declaration... " >&6; }
46888 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46889 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46890 $as_echo_n "(cached) " >&6
46891 else
46894 ac_ext=cpp
46895 ac_cpp='$CXXCPP $CPPFLAGS'
46896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46901 /* end confdefs.h. */
46902 #include <math.h>
46903 #ifdef HAVE_IEEEFP_H
46904 #include <ieeefp.h>
46905 #endif
46908 main ()
46910 expf(0);
46912 return 0;
46914 _ACEOF
46915 if ac_fn_cxx_try_compile "$LINENO"; then :
46916 glibcxx_cv_func_expf_use=yes
46917 else
46918 glibcxx_cv_func_expf_use=no
46920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46921 ac_ext=c
46922 ac_cpp='$CPP $CPPFLAGS'
46923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46932 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46934 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46935 for ac_func in expf
46936 do :
46937 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46938 if test "x$ac_cv_func_expf" = x""yes; then :
46939 cat >>confdefs.h <<_ACEOF
46940 #define HAVE_EXPF 1
46941 _ACEOF
46944 done
46946 else
46948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46949 $as_echo_n "checking for _expf declaration... " >&6; }
46950 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46951 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46952 $as_echo_n "(cached) " >&6
46953 else
46956 ac_ext=cpp
46957 ac_cpp='$CXXCPP $CPPFLAGS'
46958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46963 /* end confdefs.h. */
46964 #include <math.h>
46965 #ifdef HAVE_IEEEFP_H
46966 #include <ieeefp.h>
46967 #endif
46970 main ()
46972 _expf(0);
46974 return 0;
46976 _ACEOF
46977 if ac_fn_cxx_try_compile "$LINENO"; then :
46978 glibcxx_cv_func__expf_use=yes
46979 else
46980 glibcxx_cv_func__expf_use=no
46982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46983 ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46994 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46996 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46997 for ac_func in _expf
46998 do :
46999 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47000 if test "x$ac_cv_func__expf" = x""yes; then :
47001 cat >>confdefs.h <<_ACEOF
47002 #define HAVE__EXPF 1
47003 _ACEOF
47006 done
47015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47016 $as_echo_n "checking for isnanf declaration... " >&6; }
47017 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47018 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47019 $as_echo_n "(cached) " >&6
47020 else
47023 ac_ext=cpp
47024 ac_cpp='$CXXCPP $CPPFLAGS'
47025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47030 /* end confdefs.h. */
47031 #include <math.h>
47032 #ifdef HAVE_IEEEFP_H
47033 #include <ieeefp.h>
47034 #endif
47037 main ()
47039 isnanf(0);
47041 return 0;
47043 _ACEOF
47044 if ac_fn_cxx_try_compile "$LINENO"; then :
47045 glibcxx_cv_func_isnanf_use=yes
47046 else
47047 glibcxx_cv_func_isnanf_use=no
47049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47050 ac_ext=c
47051 ac_cpp='$CPP $CPPFLAGS'
47052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47061 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47063 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47064 for ac_func in isnanf
47065 do :
47066 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47067 if test "x$ac_cv_func_isnanf" = x""yes; then :
47068 cat >>confdefs.h <<_ACEOF
47069 #define HAVE_ISNANF 1
47070 _ACEOF
47073 done
47075 else
47077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47078 $as_echo_n "checking for _isnanf declaration... " >&6; }
47079 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47080 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47081 $as_echo_n "(cached) " >&6
47082 else
47085 ac_ext=cpp
47086 ac_cpp='$CXXCPP $CPPFLAGS'
47087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47092 /* end confdefs.h. */
47093 #include <math.h>
47094 #ifdef HAVE_IEEEFP_H
47095 #include <ieeefp.h>
47096 #endif
47099 main ()
47101 _isnanf(0);
47103 return 0;
47105 _ACEOF
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107 glibcxx_cv_func__isnanf_use=yes
47108 else
47109 glibcxx_cv_func__isnanf_use=no
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47112 ac_ext=c
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47123 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47125 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47126 for ac_func in _isnanf
47127 do :
47128 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47129 if test "x$ac_cv_func__isnanf" = x""yes; then :
47130 cat >>confdefs.h <<_ACEOF
47131 #define HAVE__ISNANF 1
47132 _ACEOF
47135 done
47144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47145 $as_echo_n "checking for isinff declaration... " >&6; }
47146 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47147 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47148 $as_echo_n "(cached) " >&6
47149 else
47152 ac_ext=cpp
47153 ac_cpp='$CXXCPP $CPPFLAGS'
47154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47159 /* end confdefs.h. */
47160 #include <math.h>
47161 #ifdef HAVE_IEEEFP_H
47162 #include <ieeefp.h>
47163 #endif
47166 main ()
47168 isinff(0);
47170 return 0;
47172 _ACEOF
47173 if ac_fn_cxx_try_compile "$LINENO"; then :
47174 glibcxx_cv_func_isinff_use=yes
47175 else
47176 glibcxx_cv_func_isinff_use=no
47178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47179 ac_ext=c
47180 ac_cpp='$CPP $CPPFLAGS'
47181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47190 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47192 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47193 for ac_func in isinff
47194 do :
47195 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47196 if test "x$ac_cv_func_isinff" = x""yes; then :
47197 cat >>confdefs.h <<_ACEOF
47198 #define HAVE_ISINFF 1
47199 _ACEOF
47202 done
47204 else
47206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47207 $as_echo_n "checking for _isinff declaration... " >&6; }
47208 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47209 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47210 $as_echo_n "(cached) " >&6
47211 else
47214 ac_ext=cpp
47215 ac_cpp='$CXXCPP $CPPFLAGS'
47216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47221 /* end confdefs.h. */
47222 #include <math.h>
47223 #ifdef HAVE_IEEEFP_H
47224 #include <ieeefp.h>
47225 #endif
47228 main ()
47230 _isinff(0);
47232 return 0;
47234 _ACEOF
47235 if ac_fn_cxx_try_compile "$LINENO"; then :
47236 glibcxx_cv_func__isinff_use=yes
47237 else
47238 glibcxx_cv_func__isinff_use=no
47240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47241 ac_ext=c
47242 ac_cpp='$CPP $CPPFLAGS'
47243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47252 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47254 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47255 for ac_func in _isinff
47256 do :
47257 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47258 if test "x$ac_cv_func__isinff" = x""yes; then :
47259 cat >>confdefs.h <<_ACEOF
47260 #define HAVE__ISINFF 1
47261 _ACEOF
47264 done
47273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47274 $as_echo_n "checking for atan2f declaration... " >&6; }
47275 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47276 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47277 $as_echo_n "(cached) " >&6
47278 else
47281 ac_ext=cpp
47282 ac_cpp='$CXXCPP $CPPFLAGS'
47283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47288 /* end confdefs.h. */
47289 #include <math.h>
47291 main ()
47293 atan2f(0, 0);
47295 return 0;
47297 _ACEOF
47298 if ac_fn_cxx_try_compile "$LINENO"; then :
47299 glibcxx_cv_func_atan2f_use=yes
47300 else
47301 glibcxx_cv_func_atan2f_use=no
47303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47304 ac_ext=c
47305 ac_cpp='$CPP $CPPFLAGS'
47306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47315 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47317 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47318 for ac_func in atan2f
47319 do :
47320 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47321 if test "x$ac_cv_func_atan2f" = x""yes; then :
47322 cat >>confdefs.h <<_ACEOF
47323 #define HAVE_ATAN2F 1
47324 _ACEOF
47327 done
47329 else
47331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47332 $as_echo_n "checking for _atan2f declaration... " >&6; }
47333 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47334 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47335 $as_echo_n "(cached) " >&6
47336 else
47339 ac_ext=cpp
47340 ac_cpp='$CXXCPP $CPPFLAGS'
47341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47346 /* end confdefs.h. */
47347 #include <math.h>
47349 main ()
47351 _atan2f(0, 0);
47353 return 0;
47355 _ACEOF
47356 if ac_fn_cxx_try_compile "$LINENO"; then :
47357 glibcxx_cv_func__atan2f_use=yes
47358 else
47359 glibcxx_cv_func__atan2f_use=no
47361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47362 ac_ext=c
47363 ac_cpp='$CPP $CPPFLAGS'
47364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47373 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47375 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47376 for ac_func in _atan2f
47377 do :
47378 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47379 if test "x$ac_cv_func__atan2f" = x""yes; then :
47380 cat >>confdefs.h <<_ACEOF
47381 #define HAVE__ATAN2F 1
47382 _ACEOF
47385 done
47394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47395 $as_echo_n "checking for fabsf declaration... " >&6; }
47396 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47397 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47398 $as_echo_n "(cached) " >&6
47399 else
47402 ac_ext=cpp
47403 ac_cpp='$CXXCPP $CPPFLAGS'
47404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47409 /* end confdefs.h. */
47410 #include <math.h>
47411 #ifdef HAVE_IEEEFP_H
47412 #include <ieeefp.h>
47413 #endif
47416 main ()
47418 fabsf(0);
47420 return 0;
47422 _ACEOF
47423 if ac_fn_cxx_try_compile "$LINENO"; then :
47424 glibcxx_cv_func_fabsf_use=yes
47425 else
47426 glibcxx_cv_func_fabsf_use=no
47428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47429 ac_ext=c
47430 ac_cpp='$CPP $CPPFLAGS'
47431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47440 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47442 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47443 for ac_func in fabsf
47444 do :
47445 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47446 if test "x$ac_cv_func_fabsf" = x""yes; then :
47447 cat >>confdefs.h <<_ACEOF
47448 #define HAVE_FABSF 1
47449 _ACEOF
47452 done
47454 else
47456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47457 $as_echo_n "checking for _fabsf declaration... " >&6; }
47458 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47459 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47460 $as_echo_n "(cached) " >&6
47461 else
47464 ac_ext=cpp
47465 ac_cpp='$CXXCPP $CPPFLAGS'
47466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47471 /* end confdefs.h. */
47472 #include <math.h>
47473 #ifdef HAVE_IEEEFP_H
47474 #include <ieeefp.h>
47475 #endif
47478 main ()
47480 _fabsf(0);
47482 return 0;
47484 _ACEOF
47485 if ac_fn_cxx_try_compile "$LINENO"; then :
47486 glibcxx_cv_func__fabsf_use=yes
47487 else
47488 glibcxx_cv_func__fabsf_use=no
47490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47491 ac_ext=c
47492 ac_cpp='$CPP $CPPFLAGS'
47493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47502 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47504 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47505 for ac_func in _fabsf
47506 do :
47507 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47508 if test "x$ac_cv_func__fabsf" = x""yes; then :
47509 cat >>confdefs.h <<_ACEOF
47510 #define HAVE__FABSF 1
47511 _ACEOF
47514 done
47523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47524 $as_echo_n "checking for fmodf declaration... " >&6; }
47525 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47526 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47527 $as_echo_n "(cached) " >&6
47528 else
47531 ac_ext=cpp
47532 ac_cpp='$CXXCPP $CPPFLAGS'
47533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47538 /* end confdefs.h. */
47539 #include <math.h>
47541 main ()
47543 fmodf(0, 0);
47545 return 0;
47547 _ACEOF
47548 if ac_fn_cxx_try_compile "$LINENO"; then :
47549 glibcxx_cv_func_fmodf_use=yes
47550 else
47551 glibcxx_cv_func_fmodf_use=no
47553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47554 ac_ext=c
47555 ac_cpp='$CPP $CPPFLAGS'
47556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47565 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47567 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47568 for ac_func in fmodf
47569 do :
47570 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47571 if test "x$ac_cv_func_fmodf" = x""yes; then :
47572 cat >>confdefs.h <<_ACEOF
47573 #define HAVE_FMODF 1
47574 _ACEOF
47577 done
47579 else
47581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47582 $as_echo_n "checking for _fmodf declaration... " >&6; }
47583 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47584 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47585 $as_echo_n "(cached) " >&6
47586 else
47589 ac_ext=cpp
47590 ac_cpp='$CXXCPP $CPPFLAGS'
47591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47596 /* end confdefs.h. */
47597 #include <math.h>
47599 main ()
47601 _fmodf(0, 0);
47603 return 0;
47605 _ACEOF
47606 if ac_fn_cxx_try_compile "$LINENO"; then :
47607 glibcxx_cv_func__fmodf_use=yes
47608 else
47609 glibcxx_cv_func__fmodf_use=no
47611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47612 ac_ext=c
47613 ac_cpp='$CPP $CPPFLAGS'
47614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47623 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47625 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47626 for ac_func in _fmodf
47627 do :
47628 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47629 if test "x$ac_cv_func__fmodf" = x""yes; then :
47630 cat >>confdefs.h <<_ACEOF
47631 #define HAVE__FMODF 1
47632 _ACEOF
47635 done
47644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47645 $as_echo_n "checking for frexpf declaration... " >&6; }
47646 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47647 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47648 $as_echo_n "(cached) " >&6
47649 else
47652 ac_ext=cpp
47653 ac_cpp='$CXXCPP $CPPFLAGS'
47654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47659 /* end confdefs.h. */
47660 #include <math.h>
47662 main ()
47664 frexpf(0, 0);
47666 return 0;
47668 _ACEOF
47669 if ac_fn_cxx_try_compile "$LINENO"; then :
47670 glibcxx_cv_func_frexpf_use=yes
47671 else
47672 glibcxx_cv_func_frexpf_use=no
47674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47675 ac_ext=c
47676 ac_cpp='$CPP $CPPFLAGS'
47677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47686 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47688 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47689 for ac_func in frexpf
47690 do :
47691 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47692 if test "x$ac_cv_func_frexpf" = x""yes; then :
47693 cat >>confdefs.h <<_ACEOF
47694 #define HAVE_FREXPF 1
47695 _ACEOF
47698 done
47700 else
47702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47703 $as_echo_n "checking for _frexpf declaration... " >&6; }
47704 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47705 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47706 $as_echo_n "(cached) " >&6
47707 else
47710 ac_ext=cpp
47711 ac_cpp='$CXXCPP $CPPFLAGS'
47712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47717 /* end confdefs.h. */
47718 #include <math.h>
47720 main ()
47722 _frexpf(0, 0);
47724 return 0;
47726 _ACEOF
47727 if ac_fn_cxx_try_compile "$LINENO"; then :
47728 glibcxx_cv_func__frexpf_use=yes
47729 else
47730 glibcxx_cv_func__frexpf_use=no
47732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47733 ac_ext=c
47734 ac_cpp='$CPP $CPPFLAGS'
47735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47744 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47746 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47747 for ac_func in _frexpf
47748 do :
47749 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47750 if test "x$ac_cv_func__frexpf" = x""yes; then :
47751 cat >>confdefs.h <<_ACEOF
47752 #define HAVE__FREXPF 1
47753 _ACEOF
47756 done
47765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47766 $as_echo_n "checking for hypotf declaration... " >&6; }
47767 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47768 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47769 $as_echo_n "(cached) " >&6
47770 else
47773 ac_ext=cpp
47774 ac_cpp='$CXXCPP $CPPFLAGS'
47775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47780 /* end confdefs.h. */
47781 #include <math.h>
47783 main ()
47785 hypotf(0, 0);
47787 return 0;
47789 _ACEOF
47790 if ac_fn_cxx_try_compile "$LINENO"; then :
47791 glibcxx_cv_func_hypotf_use=yes
47792 else
47793 glibcxx_cv_func_hypotf_use=no
47795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47796 ac_ext=c
47797 ac_cpp='$CPP $CPPFLAGS'
47798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47807 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47809 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47810 for ac_func in hypotf
47811 do :
47812 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47813 if test "x$ac_cv_func_hypotf" = x""yes; then :
47814 cat >>confdefs.h <<_ACEOF
47815 #define HAVE_HYPOTF 1
47816 _ACEOF
47819 done
47821 else
47823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47824 $as_echo_n "checking for _hypotf declaration... " >&6; }
47825 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47826 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47827 $as_echo_n "(cached) " >&6
47828 else
47831 ac_ext=cpp
47832 ac_cpp='$CXXCPP $CPPFLAGS'
47833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47838 /* end confdefs.h. */
47839 #include <math.h>
47841 main ()
47843 _hypotf(0, 0);
47845 return 0;
47847 _ACEOF
47848 if ac_fn_cxx_try_compile "$LINENO"; then :
47849 glibcxx_cv_func__hypotf_use=yes
47850 else
47851 glibcxx_cv_func__hypotf_use=no
47853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47854 ac_ext=c
47855 ac_cpp='$CPP $CPPFLAGS'
47856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47865 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47867 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47868 for ac_func in _hypotf
47869 do :
47870 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47871 if test "x$ac_cv_func__hypotf" = x""yes; then :
47872 cat >>confdefs.h <<_ACEOF
47873 #define HAVE__HYPOTF 1
47874 _ACEOF
47877 done
47886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47887 $as_echo_n "checking for ldexpf declaration... " >&6; }
47888 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47889 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47890 $as_echo_n "(cached) " >&6
47891 else
47894 ac_ext=cpp
47895 ac_cpp='$CXXCPP $CPPFLAGS'
47896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47901 /* end confdefs.h. */
47902 #include <math.h>
47904 main ()
47906 ldexpf(0, 0);
47908 return 0;
47910 _ACEOF
47911 if ac_fn_cxx_try_compile "$LINENO"; then :
47912 glibcxx_cv_func_ldexpf_use=yes
47913 else
47914 glibcxx_cv_func_ldexpf_use=no
47916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47917 ac_ext=c
47918 ac_cpp='$CPP $CPPFLAGS'
47919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47928 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47930 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47931 for ac_func in ldexpf
47932 do :
47933 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47934 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47935 cat >>confdefs.h <<_ACEOF
47936 #define HAVE_LDEXPF 1
47937 _ACEOF
47940 done
47942 else
47944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47945 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47946 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47947 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47948 $as_echo_n "(cached) " >&6
47949 else
47952 ac_ext=cpp
47953 ac_cpp='$CXXCPP $CPPFLAGS'
47954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47959 /* end confdefs.h. */
47960 #include <math.h>
47962 main ()
47964 _ldexpf(0, 0);
47966 return 0;
47968 _ACEOF
47969 if ac_fn_cxx_try_compile "$LINENO"; then :
47970 glibcxx_cv_func__ldexpf_use=yes
47971 else
47972 glibcxx_cv_func__ldexpf_use=no
47974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47975 ac_ext=c
47976 ac_cpp='$CPP $CPPFLAGS'
47977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47986 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47988 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47989 for ac_func in _ldexpf
47990 do :
47991 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47992 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47993 cat >>confdefs.h <<_ACEOF
47994 #define HAVE__LDEXPF 1
47995 _ACEOF
47998 done
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48008 $as_echo_n "checking for logf declaration... " >&6; }
48009 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48010 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48011 $as_echo_n "(cached) " >&6
48012 else
48015 ac_ext=cpp
48016 ac_cpp='$CXXCPP $CPPFLAGS'
48017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48022 /* end confdefs.h. */
48023 #include <math.h>
48024 #ifdef HAVE_IEEEFP_H
48025 #include <ieeefp.h>
48026 #endif
48029 main ()
48031 logf(0);
48033 return 0;
48035 _ACEOF
48036 if ac_fn_cxx_try_compile "$LINENO"; then :
48037 glibcxx_cv_func_logf_use=yes
48038 else
48039 glibcxx_cv_func_logf_use=no
48041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48042 ac_ext=c
48043 ac_cpp='$CPP $CPPFLAGS'
48044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48053 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48055 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48056 for ac_func in logf
48057 do :
48058 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48059 if test "x$ac_cv_func_logf" = x""yes; then :
48060 cat >>confdefs.h <<_ACEOF
48061 #define HAVE_LOGF 1
48062 _ACEOF
48065 done
48067 else
48069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48070 $as_echo_n "checking for _logf declaration... " >&6; }
48071 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48072 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48073 $as_echo_n "(cached) " >&6
48074 else
48077 ac_ext=cpp
48078 ac_cpp='$CXXCPP $CPPFLAGS'
48079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48084 /* end confdefs.h. */
48085 #include <math.h>
48086 #ifdef HAVE_IEEEFP_H
48087 #include <ieeefp.h>
48088 #endif
48091 main ()
48093 _logf(0);
48095 return 0;
48097 _ACEOF
48098 if ac_fn_cxx_try_compile "$LINENO"; then :
48099 glibcxx_cv_func__logf_use=yes
48100 else
48101 glibcxx_cv_func__logf_use=no
48103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48104 ac_ext=c
48105 ac_cpp='$CPP $CPPFLAGS'
48106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48115 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48117 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48118 for ac_func in _logf
48119 do :
48120 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48121 if test "x$ac_cv_func__logf" = x""yes; then :
48122 cat >>confdefs.h <<_ACEOF
48123 #define HAVE__LOGF 1
48124 _ACEOF
48127 done
48136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48137 $as_echo_n "checking for log10f declaration... " >&6; }
48138 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48139 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48140 $as_echo_n "(cached) " >&6
48141 else
48144 ac_ext=cpp
48145 ac_cpp='$CXXCPP $CPPFLAGS'
48146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48151 /* end confdefs.h. */
48152 #include <math.h>
48153 #ifdef HAVE_IEEEFP_H
48154 #include <ieeefp.h>
48155 #endif
48158 main ()
48160 log10f(0);
48162 return 0;
48164 _ACEOF
48165 if ac_fn_cxx_try_compile "$LINENO"; then :
48166 glibcxx_cv_func_log10f_use=yes
48167 else
48168 glibcxx_cv_func_log10f_use=no
48170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48171 ac_ext=c
48172 ac_cpp='$CPP $CPPFLAGS'
48173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48182 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48184 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48185 for ac_func in log10f
48186 do :
48187 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48188 if test "x$ac_cv_func_log10f" = x""yes; then :
48189 cat >>confdefs.h <<_ACEOF
48190 #define HAVE_LOG10F 1
48191 _ACEOF
48194 done
48196 else
48198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48199 $as_echo_n "checking for _log10f declaration... " >&6; }
48200 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48201 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48202 $as_echo_n "(cached) " >&6
48203 else
48206 ac_ext=cpp
48207 ac_cpp='$CXXCPP $CPPFLAGS'
48208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48213 /* end confdefs.h. */
48214 #include <math.h>
48215 #ifdef HAVE_IEEEFP_H
48216 #include <ieeefp.h>
48217 #endif
48220 main ()
48222 _log10f(0);
48224 return 0;
48226 _ACEOF
48227 if ac_fn_cxx_try_compile "$LINENO"; then :
48228 glibcxx_cv_func__log10f_use=yes
48229 else
48230 glibcxx_cv_func__log10f_use=no
48232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48233 ac_ext=c
48234 ac_cpp='$CPP $CPPFLAGS'
48235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48244 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48246 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48247 for ac_func in _log10f
48248 do :
48249 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48250 if test "x$ac_cv_func__log10f" = x""yes; then :
48251 cat >>confdefs.h <<_ACEOF
48252 #define HAVE__LOG10F 1
48253 _ACEOF
48256 done
48265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48266 $as_echo_n "checking for modff declaration... " >&6; }
48267 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48268 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48269 $as_echo_n "(cached) " >&6
48270 else
48273 ac_ext=cpp
48274 ac_cpp='$CXXCPP $CPPFLAGS'
48275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48280 /* end confdefs.h. */
48281 #include <math.h>
48283 main ()
48285 modff(0, 0);
48287 return 0;
48289 _ACEOF
48290 if ac_fn_cxx_try_compile "$LINENO"; then :
48291 glibcxx_cv_func_modff_use=yes
48292 else
48293 glibcxx_cv_func_modff_use=no
48295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48296 ac_ext=c
48297 ac_cpp='$CPP $CPPFLAGS'
48298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48307 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48309 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48310 for ac_func in modff
48311 do :
48312 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48313 if test "x$ac_cv_func_modff" = x""yes; then :
48314 cat >>confdefs.h <<_ACEOF
48315 #define HAVE_MODFF 1
48316 _ACEOF
48319 done
48321 else
48323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48324 $as_echo_n "checking for _modff declaration... " >&6; }
48325 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48326 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48327 $as_echo_n "(cached) " >&6
48328 else
48331 ac_ext=cpp
48332 ac_cpp='$CXXCPP $CPPFLAGS'
48333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48338 /* end confdefs.h. */
48339 #include <math.h>
48341 main ()
48343 _modff(0, 0);
48345 return 0;
48347 _ACEOF
48348 if ac_fn_cxx_try_compile "$LINENO"; then :
48349 glibcxx_cv_func__modff_use=yes
48350 else
48351 glibcxx_cv_func__modff_use=no
48353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48354 ac_ext=c
48355 ac_cpp='$CPP $CPPFLAGS'
48356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48365 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48367 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48368 for ac_func in _modff
48369 do :
48370 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48371 if test "x$ac_cv_func__modff" = x""yes; then :
48372 cat >>confdefs.h <<_ACEOF
48373 #define HAVE__MODFF 1
48374 _ACEOF
48377 done
48386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48387 $as_echo_n "checking for modf declaration... " >&6; }
48388 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48389 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48390 $as_echo_n "(cached) " >&6
48391 else
48394 ac_ext=cpp
48395 ac_cpp='$CXXCPP $CPPFLAGS'
48396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48401 /* end confdefs.h. */
48402 #include <math.h>
48404 main ()
48406 modf(0, 0);
48408 return 0;
48410 _ACEOF
48411 if ac_fn_cxx_try_compile "$LINENO"; then :
48412 glibcxx_cv_func_modf_use=yes
48413 else
48414 glibcxx_cv_func_modf_use=no
48416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48417 ac_ext=c
48418 ac_cpp='$CPP $CPPFLAGS'
48419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48428 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48430 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48431 for ac_func in modf
48432 do :
48433 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48434 if test "x$ac_cv_func_modf" = x""yes; then :
48435 cat >>confdefs.h <<_ACEOF
48436 #define HAVE_MODF 1
48437 _ACEOF
48440 done
48442 else
48444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48445 $as_echo_n "checking for _modf declaration... " >&6; }
48446 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48447 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48448 $as_echo_n "(cached) " >&6
48449 else
48452 ac_ext=cpp
48453 ac_cpp='$CXXCPP $CPPFLAGS'
48454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48459 /* end confdefs.h. */
48460 #include <math.h>
48462 main ()
48464 _modf(0, 0);
48466 return 0;
48468 _ACEOF
48469 if ac_fn_cxx_try_compile "$LINENO"; then :
48470 glibcxx_cv_func__modf_use=yes
48471 else
48472 glibcxx_cv_func__modf_use=no
48474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48475 ac_ext=c
48476 ac_cpp='$CPP $CPPFLAGS'
48477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48486 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48488 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48489 for ac_func in _modf
48490 do :
48491 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48492 if test "x$ac_cv_func__modf" = x""yes; then :
48493 cat >>confdefs.h <<_ACEOF
48494 #define HAVE__MODF 1
48495 _ACEOF
48498 done
48507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48508 $as_echo_n "checking for powf declaration... " >&6; }
48509 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48510 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48511 $as_echo_n "(cached) " >&6
48512 else
48515 ac_ext=cpp
48516 ac_cpp='$CXXCPP $CPPFLAGS'
48517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48522 /* end confdefs.h. */
48523 #include <math.h>
48525 main ()
48527 powf(0, 0);
48529 return 0;
48531 _ACEOF
48532 if ac_fn_cxx_try_compile "$LINENO"; then :
48533 glibcxx_cv_func_powf_use=yes
48534 else
48535 glibcxx_cv_func_powf_use=no
48537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48538 ac_ext=c
48539 ac_cpp='$CPP $CPPFLAGS'
48540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48549 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48551 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48552 for ac_func in powf
48553 do :
48554 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48555 if test "x$ac_cv_func_powf" = x""yes; then :
48556 cat >>confdefs.h <<_ACEOF
48557 #define HAVE_POWF 1
48558 _ACEOF
48561 done
48563 else
48565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48566 $as_echo_n "checking for _powf declaration... " >&6; }
48567 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48568 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48569 $as_echo_n "(cached) " >&6
48570 else
48573 ac_ext=cpp
48574 ac_cpp='$CXXCPP $CPPFLAGS'
48575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48580 /* end confdefs.h. */
48581 #include <math.h>
48583 main ()
48585 _powf(0, 0);
48587 return 0;
48589 _ACEOF
48590 if ac_fn_cxx_try_compile "$LINENO"; then :
48591 glibcxx_cv_func__powf_use=yes
48592 else
48593 glibcxx_cv_func__powf_use=no
48595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48596 ac_ext=c
48597 ac_cpp='$CPP $CPPFLAGS'
48598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48607 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48609 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48610 for ac_func in _powf
48611 do :
48612 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48613 if test "x$ac_cv_func__powf" = x""yes; then :
48614 cat >>confdefs.h <<_ACEOF
48615 #define HAVE__POWF 1
48616 _ACEOF
48619 done
48628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48629 $as_echo_n "checking for sqrtf declaration... " >&6; }
48630 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48631 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48632 $as_echo_n "(cached) " >&6
48633 else
48636 ac_ext=cpp
48637 ac_cpp='$CXXCPP $CPPFLAGS'
48638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48643 /* end confdefs.h. */
48644 #include <math.h>
48645 #ifdef HAVE_IEEEFP_H
48646 #include <ieeefp.h>
48647 #endif
48650 main ()
48652 sqrtf(0);
48654 return 0;
48656 _ACEOF
48657 if ac_fn_cxx_try_compile "$LINENO"; then :
48658 glibcxx_cv_func_sqrtf_use=yes
48659 else
48660 glibcxx_cv_func_sqrtf_use=no
48662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48663 ac_ext=c
48664 ac_cpp='$CPP $CPPFLAGS'
48665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48674 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48676 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48677 for ac_func in sqrtf
48678 do :
48679 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48680 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48681 cat >>confdefs.h <<_ACEOF
48682 #define HAVE_SQRTF 1
48683 _ACEOF
48686 done
48688 else
48690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48691 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48692 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48693 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48694 $as_echo_n "(cached) " >&6
48695 else
48698 ac_ext=cpp
48699 ac_cpp='$CXXCPP $CPPFLAGS'
48700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48705 /* end confdefs.h. */
48706 #include <math.h>
48707 #ifdef HAVE_IEEEFP_H
48708 #include <ieeefp.h>
48709 #endif
48712 main ()
48714 _sqrtf(0);
48716 return 0;
48718 _ACEOF
48719 if ac_fn_cxx_try_compile "$LINENO"; then :
48720 glibcxx_cv_func__sqrtf_use=yes
48721 else
48722 glibcxx_cv_func__sqrtf_use=no
48724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48725 ac_ext=c
48726 ac_cpp='$CPP $CPPFLAGS'
48727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48736 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48738 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48739 for ac_func in _sqrtf
48740 do :
48741 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48742 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48743 cat >>confdefs.h <<_ACEOF
48744 #define HAVE__SQRTF 1
48745 _ACEOF
48748 done
48757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48758 $as_echo_n "checking for sincosf declaration... " >&6; }
48759 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48760 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48761 $as_echo_n "(cached) " >&6
48762 else
48765 ac_ext=cpp
48766 ac_cpp='$CXXCPP $CPPFLAGS'
48767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48772 /* end confdefs.h. */
48773 #include <math.h>
48775 main ()
48777 sincosf(0, 0, 0);
48779 return 0;
48781 _ACEOF
48782 if ac_fn_cxx_try_compile "$LINENO"; then :
48783 glibcxx_cv_func_sincosf_use=yes
48784 else
48785 glibcxx_cv_func_sincosf_use=no
48787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48788 ac_ext=c
48789 ac_cpp='$CPP $CPPFLAGS'
48790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48799 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48801 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48802 for ac_func in sincosf
48803 do :
48804 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48805 if test "x$ac_cv_func_sincosf" = x""yes; then :
48806 cat >>confdefs.h <<_ACEOF
48807 #define HAVE_SINCOSF 1
48808 _ACEOF
48811 done
48813 else
48815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48816 $as_echo_n "checking for _sincosf declaration... " >&6; }
48817 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48818 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48819 $as_echo_n "(cached) " >&6
48820 else
48823 ac_ext=cpp
48824 ac_cpp='$CXXCPP $CPPFLAGS'
48825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48830 /* end confdefs.h. */
48831 #include <math.h>
48833 main ()
48835 _sincosf(0, 0, 0);
48837 return 0;
48839 _ACEOF
48840 if ac_fn_cxx_try_compile "$LINENO"; then :
48841 glibcxx_cv_func__sincosf_use=yes
48842 else
48843 glibcxx_cv_func__sincosf_use=no
48845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48846 ac_ext=c
48847 ac_cpp='$CPP $CPPFLAGS'
48848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48857 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48859 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48860 for ac_func in _sincosf
48861 do :
48862 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48863 if test "x$ac_cv_func__sincosf" = x""yes; then :
48864 cat >>confdefs.h <<_ACEOF
48865 #define HAVE__SINCOSF 1
48866 _ACEOF
48869 done
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48879 $as_echo_n "checking for finitef declaration... " >&6; }
48880 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48881 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48882 $as_echo_n "(cached) " >&6
48883 else
48886 ac_ext=cpp
48887 ac_cpp='$CXXCPP $CPPFLAGS'
48888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48893 /* end confdefs.h. */
48894 #include <math.h>
48895 #ifdef HAVE_IEEEFP_H
48896 #include <ieeefp.h>
48897 #endif
48900 main ()
48902 finitef(0);
48904 return 0;
48906 _ACEOF
48907 if ac_fn_cxx_try_compile "$LINENO"; then :
48908 glibcxx_cv_func_finitef_use=yes
48909 else
48910 glibcxx_cv_func_finitef_use=no
48912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48913 ac_ext=c
48914 ac_cpp='$CPP $CPPFLAGS'
48915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48924 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48926 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48927 for ac_func in finitef
48928 do :
48929 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48930 if test "x$ac_cv_func_finitef" = x""yes; then :
48931 cat >>confdefs.h <<_ACEOF
48932 #define HAVE_FINITEF 1
48933 _ACEOF
48936 done
48938 else
48940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48941 $as_echo_n "checking for _finitef declaration... " >&6; }
48942 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48943 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48944 $as_echo_n "(cached) " >&6
48945 else
48948 ac_ext=cpp
48949 ac_cpp='$CXXCPP $CPPFLAGS'
48950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48955 /* end confdefs.h. */
48956 #include <math.h>
48957 #ifdef HAVE_IEEEFP_H
48958 #include <ieeefp.h>
48959 #endif
48962 main ()
48964 _finitef(0);
48966 return 0;
48968 _ACEOF
48969 if ac_fn_cxx_try_compile "$LINENO"; then :
48970 glibcxx_cv_func__finitef_use=yes
48971 else
48972 glibcxx_cv_func__finitef_use=no
48974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48975 ac_ext=c
48976 ac_cpp='$CPP $CPPFLAGS'
48977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48986 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48988 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48989 for ac_func in _finitef
48990 do :
48991 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48992 if test "x$ac_cv_func__finitef" = x""yes; then :
48993 cat >>confdefs.h <<_ACEOF
48994 #define HAVE__FINITEF 1
48995 _ACEOF
48998 done
49007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49008 $as_echo_n "checking for long double trig functions... " >&6; }
49009 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49010 $as_echo_n "(cached) " >&6
49011 else
49014 ac_ext=cpp
49015 ac_cpp='$CXXCPP $CPPFLAGS'
49016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49021 /* end confdefs.h. */
49022 #include <math.h>
49024 main ()
49026 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49028 return 0;
49030 _ACEOF
49031 if ac_fn_cxx_try_compile "$LINENO"; then :
49032 glibcxx_cv_func_long_double_trig_use=yes
49033 else
49034 glibcxx_cv_func_long_double_trig_use=no
49036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49037 ac_ext=c
49038 ac_cpp='$CPP $CPPFLAGS'
49039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49046 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49047 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49048 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49049 do :
49050 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49052 eval as_val=\$$as_ac_var
49053 if test "x$as_val" = x""yes; then :
49054 cat >>confdefs.h <<_ACEOF
49055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49056 _ACEOF
49059 done
49061 else
49062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49063 $as_echo_n "checking for _long double trig functions... " >&6; }
49064 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49065 $as_echo_n "(cached) " >&6
49066 else
49069 ac_ext=cpp
49070 ac_cpp='$CXXCPP $CPPFLAGS'
49071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49076 /* end confdefs.h. */
49077 #include <math.h>
49079 main ()
49081 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49083 return 0;
49085 _ACEOF
49086 if ac_fn_cxx_try_compile "$LINENO"; then :
49087 glibcxx_cv_func__long_double_trig_use=yes
49088 else
49089 glibcxx_cv_func__long_double_trig_use=no
49091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49092 ac_ext=c
49093 ac_cpp='$CPP $CPPFLAGS'
49094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49101 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49102 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49103 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49104 do :
49105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49107 eval as_val=\$$as_ac_var
49108 if test "x$as_val" = x""yes; then :
49109 cat >>confdefs.h <<_ACEOF
49110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49111 _ACEOF
49114 done
49123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49124 $as_echo_n "checking for long double round functions... " >&6; }
49125 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49126 $as_echo_n "(cached) " >&6
49127 else
49130 ac_ext=cpp
49131 ac_cpp='$CXXCPP $CPPFLAGS'
49132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49137 /* end confdefs.h. */
49138 #include <math.h>
49140 main ()
49142 ceill (0); floorl (0);
49144 return 0;
49146 _ACEOF
49147 if ac_fn_cxx_try_compile "$LINENO"; then :
49148 glibcxx_cv_func_long_double_round_use=yes
49149 else
49150 glibcxx_cv_func_long_double_round_use=no
49152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49153 ac_ext=c
49154 ac_cpp='$CPP $CPPFLAGS'
49155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49162 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49163 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49164 for ac_func in ceill floorl
49165 do :
49166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49168 eval as_val=\$$as_ac_var
49169 if test "x$as_val" = x""yes; then :
49170 cat >>confdefs.h <<_ACEOF
49171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49172 _ACEOF
49175 done
49177 else
49178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49179 $as_echo_n "checking for _long double round functions... " >&6; }
49180 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49181 $as_echo_n "(cached) " >&6
49182 else
49185 ac_ext=cpp
49186 ac_cpp='$CXXCPP $CPPFLAGS'
49187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49192 /* end confdefs.h. */
49193 #include <math.h>
49195 main ()
49197 _ceill (0); _floorl (0);
49199 return 0;
49201 _ACEOF
49202 if ac_fn_cxx_try_compile "$LINENO"; then :
49203 glibcxx_cv_func__long_double_round_use=yes
49204 else
49205 glibcxx_cv_func__long_double_round_use=no
49207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49208 ac_ext=c
49209 ac_cpp='$CPP $CPPFLAGS'
49210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49217 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49218 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49219 for ac_func in _ceill _floorl
49220 do :
49221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49223 eval as_val=\$$as_ac_var
49224 if test "x$as_val" = x""yes; then :
49225 cat >>confdefs.h <<_ACEOF
49226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49227 _ACEOF
49230 done
49240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49241 $as_echo_n "checking for isnanl declaration... " >&6; }
49242 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49243 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49244 $as_echo_n "(cached) " >&6
49245 else
49248 ac_ext=cpp
49249 ac_cpp='$CXXCPP $CPPFLAGS'
49250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49255 /* end confdefs.h. */
49256 #include <math.h>
49257 #ifdef HAVE_IEEEFP_H
49258 #include <ieeefp.h>
49259 #endif
49262 main ()
49264 isnanl(0);
49266 return 0;
49268 _ACEOF
49269 if ac_fn_cxx_try_compile "$LINENO"; then :
49270 glibcxx_cv_func_isnanl_use=yes
49271 else
49272 glibcxx_cv_func_isnanl_use=no
49274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49275 ac_ext=c
49276 ac_cpp='$CPP $CPPFLAGS'
49277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49286 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49288 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49289 for ac_func in isnanl
49290 do :
49291 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49292 if test "x$ac_cv_func_isnanl" = x""yes; then :
49293 cat >>confdefs.h <<_ACEOF
49294 #define HAVE_ISNANL 1
49295 _ACEOF
49298 done
49300 else
49302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49303 $as_echo_n "checking for _isnanl declaration... " >&6; }
49304 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49305 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49306 $as_echo_n "(cached) " >&6
49307 else
49310 ac_ext=cpp
49311 ac_cpp='$CXXCPP $CPPFLAGS'
49312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49317 /* end confdefs.h. */
49318 #include <math.h>
49319 #ifdef HAVE_IEEEFP_H
49320 #include <ieeefp.h>
49321 #endif
49324 main ()
49326 _isnanl(0);
49328 return 0;
49330 _ACEOF
49331 if ac_fn_cxx_try_compile "$LINENO"; then :
49332 glibcxx_cv_func__isnanl_use=yes
49333 else
49334 glibcxx_cv_func__isnanl_use=no
49336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49337 ac_ext=c
49338 ac_cpp='$CPP $CPPFLAGS'
49339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49348 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49350 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49351 for ac_func in _isnanl
49352 do :
49353 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49354 if test "x$ac_cv_func__isnanl" = x""yes; then :
49355 cat >>confdefs.h <<_ACEOF
49356 #define HAVE__ISNANL 1
49357 _ACEOF
49360 done
49369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49370 $as_echo_n "checking for isinfl declaration... " >&6; }
49371 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49372 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49373 $as_echo_n "(cached) " >&6
49374 else
49377 ac_ext=cpp
49378 ac_cpp='$CXXCPP $CPPFLAGS'
49379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49384 /* end confdefs.h. */
49385 #include <math.h>
49386 #ifdef HAVE_IEEEFP_H
49387 #include <ieeefp.h>
49388 #endif
49391 main ()
49393 isinfl(0);
49395 return 0;
49397 _ACEOF
49398 if ac_fn_cxx_try_compile "$LINENO"; then :
49399 glibcxx_cv_func_isinfl_use=yes
49400 else
49401 glibcxx_cv_func_isinfl_use=no
49403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49404 ac_ext=c
49405 ac_cpp='$CPP $CPPFLAGS'
49406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49415 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49417 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49418 for ac_func in isinfl
49419 do :
49420 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49421 if test "x$ac_cv_func_isinfl" = x""yes; then :
49422 cat >>confdefs.h <<_ACEOF
49423 #define HAVE_ISINFL 1
49424 _ACEOF
49427 done
49429 else
49431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49432 $as_echo_n "checking for _isinfl declaration... " >&6; }
49433 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49434 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49435 $as_echo_n "(cached) " >&6
49436 else
49439 ac_ext=cpp
49440 ac_cpp='$CXXCPP $CPPFLAGS'
49441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49446 /* end confdefs.h. */
49447 #include <math.h>
49448 #ifdef HAVE_IEEEFP_H
49449 #include <ieeefp.h>
49450 #endif
49453 main ()
49455 _isinfl(0);
49457 return 0;
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func__isinfl_use=yes
49462 else
49463 glibcxx_cv_func__isinfl_use=no
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466 ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49477 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49479 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49480 for ac_func in _isinfl
49481 do :
49482 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49483 if test "x$ac_cv_func__isinfl" = x""yes; then :
49484 cat >>confdefs.h <<_ACEOF
49485 #define HAVE__ISINFL 1
49486 _ACEOF
49489 done
49498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49499 $as_echo_n "checking for atan2l declaration... " >&6; }
49500 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49501 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49502 $as_echo_n "(cached) " >&6
49503 else
49506 ac_ext=cpp
49507 ac_cpp='$CXXCPP $CPPFLAGS'
49508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49513 /* end confdefs.h. */
49514 #include <math.h>
49516 main ()
49518 atan2l(0, 0);
49520 return 0;
49522 _ACEOF
49523 if ac_fn_cxx_try_compile "$LINENO"; then :
49524 glibcxx_cv_func_atan2l_use=yes
49525 else
49526 glibcxx_cv_func_atan2l_use=no
49528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49529 ac_ext=c
49530 ac_cpp='$CPP $CPPFLAGS'
49531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49540 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49542 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49543 for ac_func in atan2l
49544 do :
49545 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49546 if test "x$ac_cv_func_atan2l" = x""yes; then :
49547 cat >>confdefs.h <<_ACEOF
49548 #define HAVE_ATAN2L 1
49549 _ACEOF
49552 done
49554 else
49556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49557 $as_echo_n "checking for _atan2l declaration... " >&6; }
49558 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49559 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49560 $as_echo_n "(cached) " >&6
49561 else
49564 ac_ext=cpp
49565 ac_cpp='$CXXCPP $CPPFLAGS'
49566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49571 /* end confdefs.h. */
49572 #include <math.h>
49574 main ()
49576 _atan2l(0, 0);
49578 return 0;
49580 _ACEOF
49581 if ac_fn_cxx_try_compile "$LINENO"; then :
49582 glibcxx_cv_func__atan2l_use=yes
49583 else
49584 glibcxx_cv_func__atan2l_use=no
49586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49587 ac_ext=c
49588 ac_cpp='$CPP $CPPFLAGS'
49589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49598 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49600 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49601 for ac_func in _atan2l
49602 do :
49603 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49604 if test "x$ac_cv_func__atan2l" = x""yes; then :
49605 cat >>confdefs.h <<_ACEOF
49606 #define HAVE__ATAN2L 1
49607 _ACEOF
49610 done
49619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49620 $as_echo_n "checking for expl declaration... " >&6; }
49621 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49622 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49623 $as_echo_n "(cached) " >&6
49624 else
49627 ac_ext=cpp
49628 ac_cpp='$CXXCPP $CPPFLAGS'
49629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49634 /* end confdefs.h. */
49635 #include <math.h>
49636 #ifdef HAVE_IEEEFP_H
49637 #include <ieeefp.h>
49638 #endif
49641 main ()
49643 expl(0);
49645 return 0;
49647 _ACEOF
49648 if ac_fn_cxx_try_compile "$LINENO"; then :
49649 glibcxx_cv_func_expl_use=yes
49650 else
49651 glibcxx_cv_func_expl_use=no
49653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49654 ac_ext=c
49655 ac_cpp='$CPP $CPPFLAGS'
49656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49665 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49667 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49668 for ac_func in expl
49669 do :
49670 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49671 if test "x$ac_cv_func_expl" = x""yes; then :
49672 cat >>confdefs.h <<_ACEOF
49673 #define HAVE_EXPL 1
49674 _ACEOF
49677 done
49679 else
49681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49682 $as_echo_n "checking for _expl declaration... " >&6; }
49683 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49684 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49685 $as_echo_n "(cached) " >&6
49686 else
49689 ac_ext=cpp
49690 ac_cpp='$CXXCPP $CPPFLAGS'
49691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49696 /* end confdefs.h. */
49697 #include <math.h>
49698 #ifdef HAVE_IEEEFP_H
49699 #include <ieeefp.h>
49700 #endif
49703 main ()
49705 _expl(0);
49707 return 0;
49709 _ACEOF
49710 if ac_fn_cxx_try_compile "$LINENO"; then :
49711 glibcxx_cv_func__expl_use=yes
49712 else
49713 glibcxx_cv_func__expl_use=no
49715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49716 ac_ext=c
49717 ac_cpp='$CPP $CPPFLAGS'
49718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49727 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49729 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49730 for ac_func in _expl
49731 do :
49732 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49733 if test "x$ac_cv_func__expl" = x""yes; then :
49734 cat >>confdefs.h <<_ACEOF
49735 #define HAVE__EXPL 1
49736 _ACEOF
49739 done
49748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49749 $as_echo_n "checking for fabsl declaration... " >&6; }
49750 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49751 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49752 $as_echo_n "(cached) " >&6
49753 else
49756 ac_ext=cpp
49757 ac_cpp='$CXXCPP $CPPFLAGS'
49758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49763 /* end confdefs.h. */
49764 #include <math.h>
49765 #ifdef HAVE_IEEEFP_H
49766 #include <ieeefp.h>
49767 #endif
49770 main ()
49772 fabsl(0);
49774 return 0;
49776 _ACEOF
49777 if ac_fn_cxx_try_compile "$LINENO"; then :
49778 glibcxx_cv_func_fabsl_use=yes
49779 else
49780 glibcxx_cv_func_fabsl_use=no
49782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49783 ac_ext=c
49784 ac_cpp='$CPP $CPPFLAGS'
49785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49794 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49796 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49797 for ac_func in fabsl
49798 do :
49799 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49800 if test "x$ac_cv_func_fabsl" = x""yes; then :
49801 cat >>confdefs.h <<_ACEOF
49802 #define HAVE_FABSL 1
49803 _ACEOF
49806 done
49808 else
49810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49811 $as_echo_n "checking for _fabsl declaration... " >&6; }
49812 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49813 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49814 $as_echo_n "(cached) " >&6
49815 else
49818 ac_ext=cpp
49819 ac_cpp='$CXXCPP $CPPFLAGS'
49820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49825 /* end confdefs.h. */
49826 #include <math.h>
49827 #ifdef HAVE_IEEEFP_H
49828 #include <ieeefp.h>
49829 #endif
49832 main ()
49834 _fabsl(0);
49836 return 0;
49838 _ACEOF
49839 if ac_fn_cxx_try_compile "$LINENO"; then :
49840 glibcxx_cv_func__fabsl_use=yes
49841 else
49842 glibcxx_cv_func__fabsl_use=no
49844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49845 ac_ext=c
49846 ac_cpp='$CPP $CPPFLAGS'
49847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49856 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49858 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49859 for ac_func in _fabsl
49860 do :
49861 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49862 if test "x$ac_cv_func__fabsl" = x""yes; then :
49863 cat >>confdefs.h <<_ACEOF
49864 #define HAVE__FABSL 1
49865 _ACEOF
49868 done
49877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49878 $as_echo_n "checking for fmodl declaration... " >&6; }
49879 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49880 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49881 $as_echo_n "(cached) " >&6
49882 else
49885 ac_ext=cpp
49886 ac_cpp='$CXXCPP $CPPFLAGS'
49887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49892 /* end confdefs.h. */
49893 #include <math.h>
49895 main ()
49897 fmodl(0, 0);
49899 return 0;
49901 _ACEOF
49902 if ac_fn_cxx_try_compile "$LINENO"; then :
49903 glibcxx_cv_func_fmodl_use=yes
49904 else
49905 glibcxx_cv_func_fmodl_use=no
49907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49908 ac_ext=c
49909 ac_cpp='$CPP $CPPFLAGS'
49910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49919 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49921 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49922 for ac_func in fmodl
49923 do :
49924 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49925 if test "x$ac_cv_func_fmodl" = x""yes; then :
49926 cat >>confdefs.h <<_ACEOF
49927 #define HAVE_FMODL 1
49928 _ACEOF
49931 done
49933 else
49935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49936 $as_echo_n "checking for _fmodl declaration... " >&6; }
49937 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49938 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49939 $as_echo_n "(cached) " >&6
49940 else
49943 ac_ext=cpp
49944 ac_cpp='$CXXCPP $CPPFLAGS'
49945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49950 /* end confdefs.h. */
49951 #include <math.h>
49953 main ()
49955 _fmodl(0, 0);
49957 return 0;
49959 _ACEOF
49960 if ac_fn_cxx_try_compile "$LINENO"; then :
49961 glibcxx_cv_func__fmodl_use=yes
49962 else
49963 glibcxx_cv_func__fmodl_use=no
49965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49966 ac_ext=c
49967 ac_cpp='$CPP $CPPFLAGS'
49968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49977 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49979 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49980 for ac_func in _fmodl
49981 do :
49982 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49983 if test "x$ac_cv_func__fmodl" = x""yes; then :
49984 cat >>confdefs.h <<_ACEOF
49985 #define HAVE__FMODL 1
49986 _ACEOF
49989 done
49998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49999 $as_echo_n "checking for frexpl declaration... " >&6; }
50000 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50001 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50002 $as_echo_n "(cached) " >&6
50003 else
50006 ac_ext=cpp
50007 ac_cpp='$CXXCPP $CPPFLAGS'
50008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50013 /* end confdefs.h. */
50014 #include <math.h>
50016 main ()
50018 frexpl(0, 0);
50020 return 0;
50022 _ACEOF
50023 if ac_fn_cxx_try_compile "$LINENO"; then :
50024 glibcxx_cv_func_frexpl_use=yes
50025 else
50026 glibcxx_cv_func_frexpl_use=no
50028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50029 ac_ext=c
50030 ac_cpp='$CPP $CPPFLAGS'
50031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50040 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50042 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50043 for ac_func in frexpl
50044 do :
50045 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50046 if test "x$ac_cv_func_frexpl" = x""yes; then :
50047 cat >>confdefs.h <<_ACEOF
50048 #define HAVE_FREXPL 1
50049 _ACEOF
50052 done
50054 else
50056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50057 $as_echo_n "checking for _frexpl declaration... " >&6; }
50058 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50059 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50060 $as_echo_n "(cached) " >&6
50061 else
50064 ac_ext=cpp
50065 ac_cpp='$CXXCPP $CPPFLAGS'
50066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50071 /* end confdefs.h. */
50072 #include <math.h>
50074 main ()
50076 _frexpl(0, 0);
50078 return 0;
50080 _ACEOF
50081 if ac_fn_cxx_try_compile "$LINENO"; then :
50082 glibcxx_cv_func__frexpl_use=yes
50083 else
50084 glibcxx_cv_func__frexpl_use=no
50086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50087 ac_ext=c
50088 ac_cpp='$CPP $CPPFLAGS'
50089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50098 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50100 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50101 for ac_func in _frexpl
50102 do :
50103 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50104 if test "x$ac_cv_func__frexpl" = x""yes; then :
50105 cat >>confdefs.h <<_ACEOF
50106 #define HAVE__FREXPL 1
50107 _ACEOF
50110 done
50119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50120 $as_echo_n "checking for hypotl declaration... " >&6; }
50121 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50122 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50123 $as_echo_n "(cached) " >&6
50124 else
50127 ac_ext=cpp
50128 ac_cpp='$CXXCPP $CPPFLAGS'
50129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50134 /* end confdefs.h. */
50135 #include <math.h>
50137 main ()
50139 hypotl(0, 0);
50141 return 0;
50143 _ACEOF
50144 if ac_fn_cxx_try_compile "$LINENO"; then :
50145 glibcxx_cv_func_hypotl_use=yes
50146 else
50147 glibcxx_cv_func_hypotl_use=no
50149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50150 ac_ext=c
50151 ac_cpp='$CPP $CPPFLAGS'
50152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50161 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50163 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50164 for ac_func in hypotl
50165 do :
50166 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50167 if test "x$ac_cv_func_hypotl" = x""yes; then :
50168 cat >>confdefs.h <<_ACEOF
50169 #define HAVE_HYPOTL 1
50170 _ACEOF
50173 done
50175 else
50177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50178 $as_echo_n "checking for _hypotl declaration... " >&6; }
50179 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50180 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50181 $as_echo_n "(cached) " >&6
50182 else
50185 ac_ext=cpp
50186 ac_cpp='$CXXCPP $CPPFLAGS'
50187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50192 /* end confdefs.h. */
50193 #include <math.h>
50195 main ()
50197 _hypotl(0, 0);
50199 return 0;
50201 _ACEOF
50202 if ac_fn_cxx_try_compile "$LINENO"; then :
50203 glibcxx_cv_func__hypotl_use=yes
50204 else
50205 glibcxx_cv_func__hypotl_use=no
50207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50208 ac_ext=c
50209 ac_cpp='$CPP $CPPFLAGS'
50210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50219 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50221 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50222 for ac_func in _hypotl
50223 do :
50224 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50225 if test "x$ac_cv_func__hypotl" = x""yes; then :
50226 cat >>confdefs.h <<_ACEOF
50227 #define HAVE__HYPOTL 1
50228 _ACEOF
50231 done
50240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50241 $as_echo_n "checking for ldexpl declaration... " >&6; }
50242 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50243 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50244 $as_echo_n "(cached) " >&6
50245 else
50248 ac_ext=cpp
50249 ac_cpp='$CXXCPP $CPPFLAGS'
50250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50255 /* end confdefs.h. */
50256 #include <math.h>
50258 main ()
50260 ldexpl(0, 0);
50262 return 0;
50264 _ACEOF
50265 if ac_fn_cxx_try_compile "$LINENO"; then :
50266 glibcxx_cv_func_ldexpl_use=yes
50267 else
50268 glibcxx_cv_func_ldexpl_use=no
50270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50271 ac_ext=c
50272 ac_cpp='$CPP $CPPFLAGS'
50273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50282 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50284 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50285 for ac_func in ldexpl
50286 do :
50287 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50288 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50289 cat >>confdefs.h <<_ACEOF
50290 #define HAVE_LDEXPL 1
50291 _ACEOF
50294 done
50296 else
50298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50299 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50300 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50301 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50302 $as_echo_n "(cached) " >&6
50303 else
50306 ac_ext=cpp
50307 ac_cpp='$CXXCPP $CPPFLAGS'
50308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50313 /* end confdefs.h. */
50314 #include <math.h>
50316 main ()
50318 _ldexpl(0, 0);
50320 return 0;
50322 _ACEOF
50323 if ac_fn_cxx_try_compile "$LINENO"; then :
50324 glibcxx_cv_func__ldexpl_use=yes
50325 else
50326 glibcxx_cv_func__ldexpl_use=no
50328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50329 ac_ext=c
50330 ac_cpp='$CPP $CPPFLAGS'
50331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50340 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50342 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50343 for ac_func in _ldexpl
50344 do :
50345 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50346 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50347 cat >>confdefs.h <<_ACEOF
50348 #define HAVE__LDEXPL 1
50349 _ACEOF
50352 done
50361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50362 $as_echo_n "checking for logl declaration... " >&6; }
50363 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50364 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50365 $as_echo_n "(cached) " >&6
50366 else
50369 ac_ext=cpp
50370 ac_cpp='$CXXCPP $CPPFLAGS'
50371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50376 /* end confdefs.h. */
50377 #include <math.h>
50378 #ifdef HAVE_IEEEFP_H
50379 #include <ieeefp.h>
50380 #endif
50383 main ()
50385 logl(0);
50387 return 0;
50389 _ACEOF
50390 if ac_fn_cxx_try_compile "$LINENO"; then :
50391 glibcxx_cv_func_logl_use=yes
50392 else
50393 glibcxx_cv_func_logl_use=no
50395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50396 ac_ext=c
50397 ac_cpp='$CPP $CPPFLAGS'
50398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50407 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50409 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50410 for ac_func in logl
50411 do :
50412 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50413 if test "x$ac_cv_func_logl" = x""yes; then :
50414 cat >>confdefs.h <<_ACEOF
50415 #define HAVE_LOGL 1
50416 _ACEOF
50419 done
50421 else
50423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50424 $as_echo_n "checking for _logl declaration... " >&6; }
50425 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50426 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50427 $as_echo_n "(cached) " >&6
50428 else
50431 ac_ext=cpp
50432 ac_cpp='$CXXCPP $CPPFLAGS'
50433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50438 /* end confdefs.h. */
50439 #include <math.h>
50440 #ifdef HAVE_IEEEFP_H
50441 #include <ieeefp.h>
50442 #endif
50445 main ()
50447 _logl(0);
50449 return 0;
50451 _ACEOF
50452 if ac_fn_cxx_try_compile "$LINENO"; then :
50453 glibcxx_cv_func__logl_use=yes
50454 else
50455 glibcxx_cv_func__logl_use=no
50457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50458 ac_ext=c
50459 ac_cpp='$CPP $CPPFLAGS'
50460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50469 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50471 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50472 for ac_func in _logl
50473 do :
50474 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50475 if test "x$ac_cv_func__logl" = x""yes; then :
50476 cat >>confdefs.h <<_ACEOF
50477 #define HAVE__LOGL 1
50478 _ACEOF
50481 done
50490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50491 $as_echo_n "checking for log10l declaration... " >&6; }
50492 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50493 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50494 $as_echo_n "(cached) " >&6
50495 else
50498 ac_ext=cpp
50499 ac_cpp='$CXXCPP $CPPFLAGS'
50500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50505 /* end confdefs.h. */
50506 #include <math.h>
50507 #ifdef HAVE_IEEEFP_H
50508 #include <ieeefp.h>
50509 #endif
50512 main ()
50514 log10l(0);
50516 return 0;
50518 _ACEOF
50519 if ac_fn_cxx_try_compile "$LINENO"; then :
50520 glibcxx_cv_func_log10l_use=yes
50521 else
50522 glibcxx_cv_func_log10l_use=no
50524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50525 ac_ext=c
50526 ac_cpp='$CPP $CPPFLAGS'
50527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50536 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50538 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50539 for ac_func in log10l
50540 do :
50541 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50542 if test "x$ac_cv_func_log10l" = x""yes; then :
50543 cat >>confdefs.h <<_ACEOF
50544 #define HAVE_LOG10L 1
50545 _ACEOF
50548 done
50550 else
50552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50553 $as_echo_n "checking for _log10l declaration... " >&6; }
50554 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50555 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50556 $as_echo_n "(cached) " >&6
50557 else
50560 ac_ext=cpp
50561 ac_cpp='$CXXCPP $CPPFLAGS'
50562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50567 /* end confdefs.h. */
50568 #include <math.h>
50569 #ifdef HAVE_IEEEFP_H
50570 #include <ieeefp.h>
50571 #endif
50574 main ()
50576 _log10l(0);
50578 return 0;
50580 _ACEOF
50581 if ac_fn_cxx_try_compile "$LINENO"; then :
50582 glibcxx_cv_func__log10l_use=yes
50583 else
50584 glibcxx_cv_func__log10l_use=no
50586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50587 ac_ext=c
50588 ac_cpp='$CPP $CPPFLAGS'
50589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50598 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50600 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50601 for ac_func in _log10l
50602 do :
50603 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50604 if test "x$ac_cv_func__log10l" = x""yes; then :
50605 cat >>confdefs.h <<_ACEOF
50606 #define HAVE__LOG10L 1
50607 _ACEOF
50610 done
50619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50620 $as_echo_n "checking for modfl declaration... " >&6; }
50621 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50622 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50623 $as_echo_n "(cached) " >&6
50624 else
50627 ac_ext=cpp
50628 ac_cpp='$CXXCPP $CPPFLAGS'
50629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50634 /* end confdefs.h. */
50635 #include <math.h>
50637 main ()
50639 modfl(0, 0);
50641 return 0;
50643 _ACEOF
50644 if ac_fn_cxx_try_compile "$LINENO"; then :
50645 glibcxx_cv_func_modfl_use=yes
50646 else
50647 glibcxx_cv_func_modfl_use=no
50649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50650 ac_ext=c
50651 ac_cpp='$CPP $CPPFLAGS'
50652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50661 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50663 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50664 for ac_func in modfl
50665 do :
50666 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50667 if test "x$ac_cv_func_modfl" = x""yes; then :
50668 cat >>confdefs.h <<_ACEOF
50669 #define HAVE_MODFL 1
50670 _ACEOF
50673 done
50675 else
50677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50678 $as_echo_n "checking for _modfl declaration... " >&6; }
50679 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50680 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50681 $as_echo_n "(cached) " >&6
50682 else
50685 ac_ext=cpp
50686 ac_cpp='$CXXCPP $CPPFLAGS'
50687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50692 /* end confdefs.h. */
50693 #include <math.h>
50695 main ()
50697 _modfl(0, 0);
50699 return 0;
50701 _ACEOF
50702 if ac_fn_cxx_try_compile "$LINENO"; then :
50703 glibcxx_cv_func__modfl_use=yes
50704 else
50705 glibcxx_cv_func__modfl_use=no
50707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50708 ac_ext=c
50709 ac_cpp='$CPP $CPPFLAGS'
50710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50719 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50721 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50722 for ac_func in _modfl
50723 do :
50724 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50725 if test "x$ac_cv_func__modfl" = x""yes; then :
50726 cat >>confdefs.h <<_ACEOF
50727 #define HAVE__MODFL 1
50728 _ACEOF
50731 done
50740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50741 $as_echo_n "checking for powl declaration... " >&6; }
50742 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50743 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50744 $as_echo_n "(cached) " >&6
50745 else
50748 ac_ext=cpp
50749 ac_cpp='$CXXCPP $CPPFLAGS'
50750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50755 /* end confdefs.h. */
50756 #include <math.h>
50758 main ()
50760 powl(0, 0);
50762 return 0;
50764 _ACEOF
50765 if ac_fn_cxx_try_compile "$LINENO"; then :
50766 glibcxx_cv_func_powl_use=yes
50767 else
50768 glibcxx_cv_func_powl_use=no
50770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50771 ac_ext=c
50772 ac_cpp='$CPP $CPPFLAGS'
50773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50782 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50784 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50785 for ac_func in powl
50786 do :
50787 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50788 if test "x$ac_cv_func_powl" = x""yes; then :
50789 cat >>confdefs.h <<_ACEOF
50790 #define HAVE_POWL 1
50791 _ACEOF
50794 done
50796 else
50798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50799 $as_echo_n "checking for _powl declaration... " >&6; }
50800 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50801 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50802 $as_echo_n "(cached) " >&6
50803 else
50806 ac_ext=cpp
50807 ac_cpp='$CXXCPP $CPPFLAGS'
50808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50813 /* end confdefs.h. */
50814 #include <math.h>
50816 main ()
50818 _powl(0, 0);
50820 return 0;
50822 _ACEOF
50823 if ac_fn_cxx_try_compile "$LINENO"; then :
50824 glibcxx_cv_func__powl_use=yes
50825 else
50826 glibcxx_cv_func__powl_use=no
50828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50829 ac_ext=c
50830 ac_cpp='$CPP $CPPFLAGS'
50831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50840 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50842 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50843 for ac_func in _powl
50844 do :
50845 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50846 if test "x$ac_cv_func__powl" = x""yes; then :
50847 cat >>confdefs.h <<_ACEOF
50848 #define HAVE__POWL 1
50849 _ACEOF
50852 done
50861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50862 $as_echo_n "checking for sqrtl declaration... " >&6; }
50863 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50864 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50865 $as_echo_n "(cached) " >&6
50866 else
50869 ac_ext=cpp
50870 ac_cpp='$CXXCPP $CPPFLAGS'
50871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50876 /* end confdefs.h. */
50877 #include <math.h>
50878 #ifdef HAVE_IEEEFP_H
50879 #include <ieeefp.h>
50880 #endif
50883 main ()
50885 sqrtl(0);
50887 return 0;
50889 _ACEOF
50890 if ac_fn_cxx_try_compile "$LINENO"; then :
50891 glibcxx_cv_func_sqrtl_use=yes
50892 else
50893 glibcxx_cv_func_sqrtl_use=no
50895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50896 ac_ext=c
50897 ac_cpp='$CPP $CPPFLAGS'
50898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50907 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50909 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50910 for ac_func in sqrtl
50911 do :
50912 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50913 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50914 cat >>confdefs.h <<_ACEOF
50915 #define HAVE_SQRTL 1
50916 _ACEOF
50919 done
50921 else
50923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50924 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50925 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50926 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50927 $as_echo_n "(cached) " >&6
50928 else
50931 ac_ext=cpp
50932 ac_cpp='$CXXCPP $CPPFLAGS'
50933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50938 /* end confdefs.h. */
50939 #include <math.h>
50940 #ifdef HAVE_IEEEFP_H
50941 #include <ieeefp.h>
50942 #endif
50945 main ()
50947 _sqrtl(0);
50949 return 0;
50951 _ACEOF
50952 if ac_fn_cxx_try_compile "$LINENO"; then :
50953 glibcxx_cv_func__sqrtl_use=yes
50954 else
50955 glibcxx_cv_func__sqrtl_use=no
50957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50958 ac_ext=c
50959 ac_cpp='$CPP $CPPFLAGS'
50960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50969 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50971 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50972 for ac_func in _sqrtl
50973 do :
50974 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50975 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50976 cat >>confdefs.h <<_ACEOF
50977 #define HAVE__SQRTL 1
50978 _ACEOF
50981 done
50990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50991 $as_echo_n "checking for sincosl declaration... " >&6; }
50992 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50993 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50994 $as_echo_n "(cached) " >&6
50995 else
50998 ac_ext=cpp
50999 ac_cpp='$CXXCPP $CPPFLAGS'
51000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51005 /* end confdefs.h. */
51006 #include <math.h>
51008 main ()
51010 sincosl(0, 0, 0);
51012 return 0;
51014 _ACEOF
51015 if ac_fn_cxx_try_compile "$LINENO"; then :
51016 glibcxx_cv_func_sincosl_use=yes
51017 else
51018 glibcxx_cv_func_sincosl_use=no
51020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51021 ac_ext=c
51022 ac_cpp='$CPP $CPPFLAGS'
51023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51032 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51034 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51035 for ac_func in sincosl
51036 do :
51037 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51038 if test "x$ac_cv_func_sincosl" = x""yes; then :
51039 cat >>confdefs.h <<_ACEOF
51040 #define HAVE_SINCOSL 1
51041 _ACEOF
51044 done
51046 else
51048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51049 $as_echo_n "checking for _sincosl declaration... " >&6; }
51050 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51051 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51052 $as_echo_n "(cached) " >&6
51053 else
51056 ac_ext=cpp
51057 ac_cpp='$CXXCPP $CPPFLAGS'
51058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51063 /* end confdefs.h. */
51064 #include <math.h>
51066 main ()
51068 _sincosl(0, 0, 0);
51070 return 0;
51072 _ACEOF
51073 if ac_fn_cxx_try_compile "$LINENO"; then :
51074 glibcxx_cv_func__sincosl_use=yes
51075 else
51076 glibcxx_cv_func__sincosl_use=no
51078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51079 ac_ext=c
51080 ac_cpp='$CPP $CPPFLAGS'
51081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51090 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51092 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51093 for ac_func in _sincosl
51094 do :
51095 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51096 if test "x$ac_cv_func__sincosl" = x""yes; then :
51097 cat >>confdefs.h <<_ACEOF
51098 #define HAVE__SINCOSL 1
51099 _ACEOF
51102 done
51111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51112 $as_echo_n "checking for finitel declaration... " >&6; }
51113 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51114 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51115 $as_echo_n "(cached) " >&6
51116 else
51119 ac_ext=cpp
51120 ac_cpp='$CXXCPP $CPPFLAGS'
51121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51126 /* end confdefs.h. */
51127 #include <math.h>
51128 #ifdef HAVE_IEEEFP_H
51129 #include <ieeefp.h>
51130 #endif
51133 main ()
51135 finitel(0);
51137 return 0;
51139 _ACEOF
51140 if ac_fn_cxx_try_compile "$LINENO"; then :
51141 glibcxx_cv_func_finitel_use=yes
51142 else
51143 glibcxx_cv_func_finitel_use=no
51145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51146 ac_ext=c
51147 ac_cpp='$CPP $CPPFLAGS'
51148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51157 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51159 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51160 for ac_func in finitel
51161 do :
51162 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51163 if test "x$ac_cv_func_finitel" = x""yes; then :
51164 cat >>confdefs.h <<_ACEOF
51165 #define HAVE_FINITEL 1
51166 _ACEOF
51169 done
51171 else
51173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51174 $as_echo_n "checking for _finitel declaration... " >&6; }
51175 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51176 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51177 $as_echo_n "(cached) " >&6
51178 else
51181 ac_ext=cpp
51182 ac_cpp='$CXXCPP $CPPFLAGS'
51183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51188 /* end confdefs.h. */
51189 #include <math.h>
51190 #ifdef HAVE_IEEEFP_H
51191 #include <ieeefp.h>
51192 #endif
51195 main ()
51197 _finitel(0);
51199 return 0;
51201 _ACEOF
51202 if ac_fn_cxx_try_compile "$LINENO"; then :
51203 glibcxx_cv_func__finitel_use=yes
51204 else
51205 glibcxx_cv_func__finitel_use=no
51207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51208 ac_ext=c
51209 ac_cpp='$CPP $CPPFLAGS'
51210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51219 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51221 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51222 for ac_func in _finitel
51223 do :
51224 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51225 if test "x$ac_cv_func__finitel" = x""yes; then :
51226 cat >>confdefs.h <<_ACEOF
51227 #define HAVE__FINITEL 1
51228 _ACEOF
51231 done
51239 LIBS="$ac_save_LIBS"
51240 CXXFLAGS="$ac_save_CXXFLAGS"
51243 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51244 ac_save_CXXFLAGS="$CXXFLAGS"
51245 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51249 $as_echo_n "checking for strtold declaration... " >&6; }
51250 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51251 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51252 $as_echo_n "(cached) " >&6
51253 else
51256 ac_ext=cpp
51257 ac_cpp='$CXXCPP $CPPFLAGS'
51258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51263 /* end confdefs.h. */
51264 #include <stdlib.h>
51266 main ()
51268 strtold(0, 0);
51270 return 0;
51272 _ACEOF
51273 if ac_fn_cxx_try_compile "$LINENO"; then :
51274 glibcxx_cv_func_strtold_use=yes
51275 else
51276 glibcxx_cv_func_strtold_use=no
51278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51279 ac_ext=c
51280 ac_cpp='$CPP $CPPFLAGS'
51281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51290 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51291 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51292 for ac_func in strtold
51293 do :
51294 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51295 if test "x$ac_cv_func_strtold" = x""yes; then :
51296 cat >>confdefs.h <<_ACEOF
51297 #define HAVE_STRTOLD 1
51298 _ACEOF
51301 done
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51309 $as_echo_n "checking for strtof declaration... " >&6; }
51310 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51311 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51312 $as_echo_n "(cached) " >&6
51313 else
51316 ac_ext=cpp
51317 ac_cpp='$CXXCPP $CPPFLAGS'
51318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51323 /* end confdefs.h. */
51324 #include <stdlib.h>
51326 main ()
51328 strtof(0, 0);
51330 return 0;
51332 _ACEOF
51333 if ac_fn_cxx_try_compile "$LINENO"; then :
51334 glibcxx_cv_func_strtof_use=yes
51335 else
51336 glibcxx_cv_func_strtof_use=no
51338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51339 ac_ext=c
51340 ac_cpp='$CPP $CPPFLAGS'
51341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51350 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51351 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51352 for ac_func in strtof
51353 do :
51354 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51355 if test "x$ac_cv_func_strtof" = x""yes; then :
51356 cat >>confdefs.h <<_ACEOF
51357 #define HAVE_STRTOF 1
51358 _ACEOF
51361 done
51368 CXXFLAGS="$ac_save_CXXFLAGS"
51370 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51374 # Check whether --enable-tls was given.
51375 if test "${enable_tls+set}" = set; then :
51376 enableval=$enable_tls;
51377 case "$enableval" in
51378 yes|no) ;;
51379 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51380 esac
51382 else
51383 enable_tls=yes
51387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51388 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51389 if test "${gcc_cv_have_tls+set}" = set; then :
51390 $as_echo_n "(cached) " >&6
51391 else
51393 if test "$cross_compiling" = yes; then :
51394 if test x$gcc_no_link = xyes; then
51395 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51398 /* end confdefs.h. */
51399 __thread int a; int b; int main() { return a = b; }
51400 _ACEOF
51401 if ac_fn_c_try_link "$LINENO"; then :
51402 chktls_save_LDFLAGS="$LDFLAGS"
51403 case $host in
51404 *-*-linux*)
51405 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51407 esac
51408 chktls_save_CFLAGS="$CFLAGS"
51409 CFLAGS="-fPIC $CFLAGS"
51410 if test x$gcc_no_link = xyes; then
51411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51414 /* end confdefs.h. */
51415 int f() { return 0; }
51416 _ACEOF
51417 if ac_fn_c_try_link "$LINENO"; then :
51418 if test x$gcc_no_link = xyes; then
51419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51422 /* end confdefs.h. */
51423 __thread int a; int b; int f() { return a = b; }
51424 _ACEOF
51425 if ac_fn_c_try_link "$LINENO"; then :
51426 gcc_cv_have_tls=yes
51427 else
51428 gcc_cv_have_tls=no
51430 rm -f core conftest.err conftest.$ac_objext \
51431 conftest$ac_exeext conftest.$ac_ext
51432 else
51433 gcc_cv_have_tls=yes
51435 rm -f core conftest.err conftest.$ac_objext \
51436 conftest$ac_exeext conftest.$ac_ext
51437 CFLAGS="$chktls_save_CFLAGS"
51438 LDFLAGS="$chktls_save_LDFLAGS"
51439 else
51440 gcc_cv_have_tls=no
51442 rm -f core conftest.err conftest.$ac_objext \
51443 conftest$ac_exeext conftest.$ac_ext
51446 else
51447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51448 /* end confdefs.h. */
51449 __thread int a; int b; int main() { return a = b; }
51450 _ACEOF
51451 if ac_fn_c_try_run "$LINENO"; then :
51452 chktls_save_LDFLAGS="$LDFLAGS"
51453 LDFLAGS="-static $LDFLAGS"
51454 if test x$gcc_no_link = xyes; then
51455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51458 /* end confdefs.h. */
51459 int main() { return 0; }
51460 _ACEOF
51461 if ac_fn_c_try_link "$LINENO"; then :
51462 if test "$cross_compiling" = yes; then :
51463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51465 as_fn_error "cannot run test program while cross compiling
51466 See \`config.log' for more details." "$LINENO" 5; }
51467 else
51468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51469 /* end confdefs.h. */
51470 __thread int a; int b; int main() { return a = b; }
51471 _ACEOF
51472 if ac_fn_c_try_run "$LINENO"; then :
51473 gcc_cv_have_tls=yes
51474 else
51475 gcc_cv_have_tls=no
51477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51478 conftest.$ac_objext conftest.beam conftest.$ac_ext
51481 else
51482 gcc_cv_have_tls=yes
51484 rm -f core conftest.err conftest.$ac_objext \
51485 conftest$ac_exeext conftest.$ac_ext
51486 LDFLAGS="$chktls_save_LDFLAGS"
51487 if test $gcc_cv_have_tls = yes; then
51488 chktls_save_CFLAGS="$CFLAGS"
51489 thread_CFLAGS=failed
51490 for flag in '' '-pthread' '-lpthread'; do
51491 CFLAGS="$flag $chktls_save_CFLAGS"
51492 if test x$gcc_no_link = xyes; then
51493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51496 /* end confdefs.h. */
51497 #include <pthread.h>
51498 void *g(void *d) { return NULL; }
51500 main ()
51502 pthread_t t; pthread_create(&t,NULL,g,NULL);
51504 return 0;
51506 _ACEOF
51507 if ac_fn_c_try_link "$LINENO"; then :
51508 thread_CFLAGS="$flag"
51510 rm -f core conftest.err conftest.$ac_objext \
51511 conftest$ac_exeext conftest.$ac_ext
51512 if test "X$thread_CFLAGS" != Xfailed; then
51513 break
51515 done
51516 CFLAGS="$chktls_save_CFLAGS"
51517 if test "X$thread_CFLAGS" != Xfailed; then
51518 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51519 if test "$cross_compiling" = yes; then :
51520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51522 as_fn_error "cannot run test program while cross compiling
51523 See \`config.log' for more details." "$LINENO" 5; }
51524 else
51525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51526 /* end confdefs.h. */
51527 #include <pthread.h>
51528 __thread int a;
51529 static int *volatile a_in_other_thread;
51530 static void *
51531 thread_func (void *arg)
51533 a_in_other_thread = &a;
51534 return (void *)0;
51537 main ()
51539 pthread_t thread;
51540 void *thread_retval;
51541 int *volatile a_in_main_thread;
51542 a_in_main_thread = &a;
51543 if (pthread_create (&thread, (pthread_attr_t *)0,
51544 thread_func, (void *)0))
51545 return 0;
51546 if (pthread_join (thread, &thread_retval))
51547 return 0;
51548 return (a_in_other_thread == a_in_main_thread);
51550 return 0;
51552 _ACEOF
51553 if ac_fn_c_try_run "$LINENO"; then :
51554 gcc_cv_have_tls=yes
51555 else
51556 gcc_cv_have_tls=no
51558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51559 conftest.$ac_objext conftest.beam conftest.$ac_ext
51562 CFLAGS="$chktls_save_CFLAGS"
51565 else
51566 gcc_cv_have_tls=no
51568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51569 conftest.$ac_objext conftest.beam conftest.$ac_ext
51573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51574 $as_echo "$gcc_cv_have_tls" >&6; }
51575 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51577 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51585 am_save_CPPFLAGS="$CPPFLAGS"
51587 for element in $INCICONV; do
51588 haveit=
51589 for x in $CPPFLAGS; do
51591 acl_save_prefix="$prefix"
51592 prefix="$acl_final_prefix"
51593 acl_save_exec_prefix="$exec_prefix"
51594 exec_prefix="$acl_final_exec_prefix"
51595 eval x=\"$x\"
51596 exec_prefix="$acl_save_exec_prefix"
51597 prefix="$acl_save_prefix"
51599 if test "X$x" = "X$element"; then
51600 haveit=yes
51601 break
51603 done
51604 if test -z "$haveit"; then
51605 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51607 done
51610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51611 $as_echo_n "checking for iconv... " >&6; }
51612 if test "${am_cv_func_iconv+set}" = set; then :
51613 $as_echo_n "(cached) " >&6
51614 else
51616 am_cv_func_iconv="no, consider installing GNU libiconv"
51617 am_cv_lib_iconv=no
51618 if test x$gcc_no_link = xyes; then
51619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51622 /* end confdefs.h. */
51623 #include <stdlib.h>
51624 #include <iconv.h>
51626 main ()
51628 iconv_t cd = iconv_open("","");
51629 iconv(cd,NULL,NULL,NULL,NULL);
51630 iconv_close(cd);
51632 return 0;
51634 _ACEOF
51635 if ac_fn_c_try_link "$LINENO"; then :
51636 am_cv_func_iconv=yes
51638 rm -f core conftest.err conftest.$ac_objext \
51639 conftest$ac_exeext conftest.$ac_ext
51640 if test "$am_cv_func_iconv" != yes; then
51641 am_save_LIBS="$LIBS"
51642 LIBS="$LIBS $LIBICONV"
51643 if test x$gcc_no_link = xyes; then
51644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51647 /* end confdefs.h. */
51648 #include <stdlib.h>
51649 #include <iconv.h>
51651 main ()
51653 iconv_t cd = iconv_open("","");
51654 iconv(cd,NULL,NULL,NULL,NULL);
51655 iconv_close(cd);
51657 return 0;
51659 _ACEOF
51660 if ac_fn_c_try_link "$LINENO"; then :
51661 am_cv_lib_iconv=yes
51662 am_cv_func_iconv=yes
51664 rm -f core conftest.err conftest.$ac_objext \
51665 conftest$ac_exeext conftest.$ac_ext
51666 LIBS="$am_save_LIBS"
51670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51671 $as_echo "$am_cv_func_iconv" >&6; }
51672 if test "$am_cv_func_iconv" = yes; then
51674 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51677 if test "$am_cv_lib_iconv" = yes; then
51678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51679 $as_echo_n "checking how to link with libiconv... " >&6; }
51680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51681 $as_echo "$LIBICONV" >&6; }
51682 else
51683 CPPFLAGS="$am_save_CPPFLAGS"
51684 LIBICONV=
51685 LTLIBICONV=
51690 if test "$am_cv_func_iconv" = yes; then
51691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51692 $as_echo_n "checking for iconv declaration... " >&6; }
51693 if test "${am_cv_proto_iconv+set}" = set; then :
51694 $as_echo_n "(cached) " >&6
51695 else
51697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51698 /* end confdefs.h. */
51700 #include <stdlib.h>
51701 #include <iconv.h>
51702 extern
51703 #ifdef __cplusplus
51705 #endif
51706 #if defined(__STDC__) || defined(__cplusplus)
51707 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51708 #else
51709 size_t iconv();
51710 #endif
51713 main ()
51717 return 0;
51719 _ACEOF
51720 if ac_fn_c_try_compile "$LINENO"; then :
51721 am_cv_proto_iconv_arg1=""
51722 else
51723 am_cv_proto_iconv_arg1="const"
51725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51726 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);"
51729 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51731 }$am_cv_proto_iconv" >&5
51732 $as_echo "${ac_t:-
51733 }$am_cv_proto_iconv" >&6; }
51735 cat >>confdefs.h <<_ACEOF
51736 #define ICONV_CONST $am_cv_proto_iconv_arg1
51737 _ACEOF
51742 *-mingw32*)
51744 # If we're not using GNU ld, then there's no point in even trying these
51745 # tests. Check for that first. We should have already tested for gld
51746 # by now (in libtool), but require it now just to be safe...
51747 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51748 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51752 # The name set by libtool depends on the version of libtool. Shame on us
51753 # for depending on an impl detail, but c'est la vie. Older versions used
51754 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51755 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51756 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51757 # set (hence we're using an older libtool), then set it.
51758 if test x${with_gnu_ld+set} != xset; then
51759 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51760 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51761 with_gnu_ld=no
51762 else
51763 with_gnu_ld=$ac_cv_prog_gnu_ld
51767 # Start by getting the version number. I think the libtool test already
51768 # does some of this, but throws away the result.
51769 glibcxx_ld_is_gold=no
51770 if test x"$with_gnu_ld" = x"yes"; then
51771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51772 $as_echo_n "checking for ld version... " >&6; }
51774 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51775 glibcxx_ld_is_gold=yes
51777 ldver=`$LD --version 2>/dev/null |
51778 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'`
51780 glibcxx_gnu_ld_version=`echo $ldver | \
51781 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51783 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51786 # Set --gc-sections.
51787 glibcxx_have_gc_sections=no
51788 if test "$glibcxx_ld_is_gold" = "yes"; then
51789 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51790 glibcxx_have_gc_sections=yes
51792 else
51793 glibcxx_gcsections_min_ld=21602
51794 if test x"$with_gnu_ld" = x"yes" &&
51795 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51796 glibcxx_have_gc_sections=yes
51799 if test "$glibcxx_have_gc_sections" = "yes"; then
51800 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51801 # NB: This flag only works reliably after 2.16.1. Configure tests
51802 # for this are difficult, so hard wire a value that should work.
51804 ac_test_CFLAGS="${CFLAGS+set}"
51805 ac_save_CFLAGS="$CFLAGS"
51806 CFLAGS='-Wl,--gc-sections'
51808 # Check for -Wl,--gc-sections
51809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51810 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51811 if test x$gcc_no_link = xyes; then
51812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51815 /* end confdefs.h. */
51816 int one(void) { return 1; }
51817 int two(void) { return 2; }
51820 main ()
51822 two();
51824 return 0;
51826 _ACEOF
51827 if ac_fn_c_try_link "$LINENO"; then :
51828 ac_gcsections=yes
51829 else
51830 ac_gcsections=no
51832 rm -f core conftest.err conftest.$ac_objext \
51833 conftest$ac_exeext conftest.$ac_ext
51834 if test "$ac_gcsections" = "yes"; then
51835 rm -f conftest.c
51836 touch conftest.c
51837 if $CC -c conftest.c; then
51838 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51839 grep "Warning: gc-sections option ignored" > /dev/null; then
51840 ac_gcsections=no
51843 rm -f conftest.c conftest.o conftest
51845 if test "$ac_gcsections" = "yes"; then
51846 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51849 $as_echo "$ac_gcsections" >&6; }
51851 if test "$ac_test_CFLAGS" = set; then
51852 CFLAGS="$ac_save_CFLAGS"
51853 else
51854 # this is the suspicious part
51855 CFLAGS=''
51859 # Set -z,relro.
51860 # Note this is only for shared objects.
51861 ac_ld_relro=no
51862 if test x"$with_gnu_ld" = x"yes"; then
51863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51864 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51865 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51866 if test -n "$cxx_z_relo"; then
51867 OPT_LDFLAGS="-Wl,-z,relro"
51868 ac_ld_relro=yes
51870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51871 $as_echo "$ac_ld_relro" >&6; }
51874 # Set linker optimization flags.
51875 if test x"$with_gnu_ld" = x"yes"; then
51876 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51883 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51884 ac_save_CXXFLAGS="$CXXFLAGS"
51885 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51888 $as_echo_n "checking for sin in -lm... " >&6; }
51889 if test "${ac_cv_lib_m_sin+set}" = set; then :
51890 $as_echo_n "(cached) " >&6
51891 else
51892 ac_check_lib_save_LIBS=$LIBS
51893 LIBS="-lm $LIBS"
51894 if test x$gcc_no_link = xyes; then
51895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51898 /* end confdefs.h. */
51900 /* Override any GCC internal prototype to avoid an error.
51901 Use char because int might match the return type of a GCC
51902 builtin and then its argument prototype would still apply. */
51903 #ifdef __cplusplus
51904 extern "C"
51905 #endif
51906 char sin ();
51908 main ()
51910 return sin ();
51912 return 0;
51914 _ACEOF
51915 if ac_fn_c_try_link "$LINENO"; then :
51916 ac_cv_lib_m_sin=yes
51917 else
51918 ac_cv_lib_m_sin=no
51920 rm -f core conftest.err conftest.$ac_objext \
51921 conftest$ac_exeext conftest.$ac_ext
51922 LIBS=$ac_check_lib_save_LIBS
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51925 $as_echo "$ac_cv_lib_m_sin" >&6; }
51926 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51927 libm="-lm"
51930 ac_save_LIBS="$LIBS"
51931 LIBS="$LIBS $libm"
51935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51936 $as_echo_n "checking for isinf declaration... " >&6; }
51937 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51938 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51939 $as_echo_n "(cached) " >&6
51940 else
51943 ac_ext=cpp
51944 ac_cpp='$CXXCPP $CPPFLAGS'
51945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51950 /* end confdefs.h. */
51951 #include <math.h>
51952 #ifdef HAVE_IEEEFP_H
51953 #include <ieeefp.h>
51954 #endif
51957 main ()
51959 isinf(0);
51961 return 0;
51963 _ACEOF
51964 if ac_fn_cxx_try_compile "$LINENO"; then :
51965 glibcxx_cv_func_isinf_use=yes
51966 else
51967 glibcxx_cv_func_isinf_use=no
51969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51970 ac_ext=c
51971 ac_cpp='$CPP $CPPFLAGS'
51972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51981 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51983 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51984 for ac_func in isinf
51985 do :
51986 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51987 if test "x$ac_cv_func_isinf" = x""yes; then :
51988 cat >>confdefs.h <<_ACEOF
51989 #define HAVE_ISINF 1
51990 _ACEOF
51993 done
51995 else
51997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51998 $as_echo_n "checking for _isinf declaration... " >&6; }
51999 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52000 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52001 $as_echo_n "(cached) " >&6
52002 else
52005 ac_ext=cpp
52006 ac_cpp='$CXXCPP $CPPFLAGS'
52007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52012 /* end confdefs.h. */
52013 #include <math.h>
52014 #ifdef HAVE_IEEEFP_H
52015 #include <ieeefp.h>
52016 #endif
52019 main ()
52021 _isinf(0);
52023 return 0;
52025 _ACEOF
52026 if ac_fn_cxx_try_compile "$LINENO"; then :
52027 glibcxx_cv_func__isinf_use=yes
52028 else
52029 glibcxx_cv_func__isinf_use=no
52031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52032 ac_ext=c
52033 ac_cpp='$CPP $CPPFLAGS'
52034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52043 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52045 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52046 for ac_func in _isinf
52047 do :
52048 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52049 if test "x$ac_cv_func__isinf" = x""yes; then :
52050 cat >>confdefs.h <<_ACEOF
52051 #define HAVE__ISINF 1
52052 _ACEOF
52055 done
52064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52065 $as_echo_n "checking for isnan declaration... " >&6; }
52066 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52067 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52068 $as_echo_n "(cached) " >&6
52069 else
52072 ac_ext=cpp
52073 ac_cpp='$CXXCPP $CPPFLAGS'
52074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52079 /* end confdefs.h. */
52080 #include <math.h>
52081 #ifdef HAVE_IEEEFP_H
52082 #include <ieeefp.h>
52083 #endif
52086 main ()
52088 isnan(0);
52090 return 0;
52092 _ACEOF
52093 if ac_fn_cxx_try_compile "$LINENO"; then :
52094 glibcxx_cv_func_isnan_use=yes
52095 else
52096 glibcxx_cv_func_isnan_use=no
52098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52099 ac_ext=c
52100 ac_cpp='$CPP $CPPFLAGS'
52101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52110 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52112 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52113 for ac_func in isnan
52114 do :
52115 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52116 if test "x$ac_cv_func_isnan" = x""yes; then :
52117 cat >>confdefs.h <<_ACEOF
52118 #define HAVE_ISNAN 1
52119 _ACEOF
52122 done
52124 else
52126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52127 $as_echo_n "checking for _isnan declaration... " >&6; }
52128 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52129 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52130 $as_echo_n "(cached) " >&6
52131 else
52134 ac_ext=cpp
52135 ac_cpp='$CXXCPP $CPPFLAGS'
52136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52141 /* end confdefs.h. */
52142 #include <math.h>
52143 #ifdef HAVE_IEEEFP_H
52144 #include <ieeefp.h>
52145 #endif
52148 main ()
52150 _isnan(0);
52152 return 0;
52154 _ACEOF
52155 if ac_fn_cxx_try_compile "$LINENO"; then :
52156 glibcxx_cv_func__isnan_use=yes
52157 else
52158 glibcxx_cv_func__isnan_use=no
52160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52161 ac_ext=c
52162 ac_cpp='$CPP $CPPFLAGS'
52163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52172 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52174 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52175 for ac_func in _isnan
52176 do :
52177 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52178 if test "x$ac_cv_func__isnan" = x""yes; then :
52179 cat >>confdefs.h <<_ACEOF
52180 #define HAVE__ISNAN 1
52181 _ACEOF
52184 done
52193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52194 $as_echo_n "checking for finite declaration... " >&6; }
52195 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52196 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52197 $as_echo_n "(cached) " >&6
52198 else
52201 ac_ext=cpp
52202 ac_cpp='$CXXCPP $CPPFLAGS'
52203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52208 /* end confdefs.h. */
52209 #include <math.h>
52210 #ifdef HAVE_IEEEFP_H
52211 #include <ieeefp.h>
52212 #endif
52215 main ()
52217 finite(0);
52219 return 0;
52221 _ACEOF
52222 if ac_fn_cxx_try_compile "$LINENO"; then :
52223 glibcxx_cv_func_finite_use=yes
52224 else
52225 glibcxx_cv_func_finite_use=no
52227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52228 ac_ext=c
52229 ac_cpp='$CPP $CPPFLAGS'
52230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52239 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52241 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52242 for ac_func in finite
52243 do :
52244 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52245 if test "x$ac_cv_func_finite" = x""yes; then :
52246 cat >>confdefs.h <<_ACEOF
52247 #define HAVE_FINITE 1
52248 _ACEOF
52251 done
52253 else
52255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52256 $as_echo_n "checking for _finite declaration... " >&6; }
52257 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52258 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52259 $as_echo_n "(cached) " >&6
52260 else
52263 ac_ext=cpp
52264 ac_cpp='$CXXCPP $CPPFLAGS'
52265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52270 /* end confdefs.h. */
52271 #include <math.h>
52272 #ifdef HAVE_IEEEFP_H
52273 #include <ieeefp.h>
52274 #endif
52277 main ()
52279 _finite(0);
52281 return 0;
52283 _ACEOF
52284 if ac_fn_cxx_try_compile "$LINENO"; then :
52285 glibcxx_cv_func__finite_use=yes
52286 else
52287 glibcxx_cv_func__finite_use=no
52289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52290 ac_ext=c
52291 ac_cpp='$CPP $CPPFLAGS'
52292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52301 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52303 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52304 for ac_func in _finite
52305 do :
52306 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52307 if test "x$ac_cv_func__finite" = x""yes; then :
52308 cat >>confdefs.h <<_ACEOF
52309 #define HAVE__FINITE 1
52310 _ACEOF
52313 done
52322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52323 $as_echo_n "checking for sincos declaration... " >&6; }
52324 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52325 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52326 $as_echo_n "(cached) " >&6
52327 else
52330 ac_ext=cpp
52331 ac_cpp='$CXXCPP $CPPFLAGS'
52332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52337 /* end confdefs.h. */
52338 #include <math.h>
52340 main ()
52342 sincos(0, 0, 0);
52344 return 0;
52346 _ACEOF
52347 if ac_fn_cxx_try_compile "$LINENO"; then :
52348 glibcxx_cv_func_sincos_use=yes
52349 else
52350 glibcxx_cv_func_sincos_use=no
52352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52353 ac_ext=c
52354 ac_cpp='$CPP $CPPFLAGS'
52355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52364 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52366 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52367 for ac_func in sincos
52368 do :
52369 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52370 if test "x$ac_cv_func_sincos" = x""yes; then :
52371 cat >>confdefs.h <<_ACEOF
52372 #define HAVE_SINCOS 1
52373 _ACEOF
52376 done
52378 else
52380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52381 $as_echo_n "checking for _sincos declaration... " >&6; }
52382 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52383 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52384 $as_echo_n "(cached) " >&6
52385 else
52388 ac_ext=cpp
52389 ac_cpp='$CXXCPP $CPPFLAGS'
52390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52395 /* end confdefs.h. */
52396 #include <math.h>
52398 main ()
52400 _sincos(0, 0, 0);
52402 return 0;
52404 _ACEOF
52405 if ac_fn_cxx_try_compile "$LINENO"; then :
52406 glibcxx_cv_func__sincos_use=yes
52407 else
52408 glibcxx_cv_func__sincos_use=no
52410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52411 ac_ext=c
52412 ac_cpp='$CPP $CPPFLAGS'
52413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52422 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52424 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52425 for ac_func in _sincos
52426 do :
52427 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52428 if test "x$ac_cv_func__sincos" = x""yes; then :
52429 cat >>confdefs.h <<_ACEOF
52430 #define HAVE__SINCOS 1
52431 _ACEOF
52434 done
52443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52444 $as_echo_n "checking for fpclass declaration... " >&6; }
52445 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52446 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52447 $as_echo_n "(cached) " >&6
52448 else
52451 ac_ext=cpp
52452 ac_cpp='$CXXCPP $CPPFLAGS'
52453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52458 /* end confdefs.h. */
52459 #include <math.h>
52460 #ifdef HAVE_IEEEFP_H
52461 #include <ieeefp.h>
52462 #endif
52465 main ()
52467 fpclass(0);
52469 return 0;
52471 _ACEOF
52472 if ac_fn_cxx_try_compile "$LINENO"; then :
52473 glibcxx_cv_func_fpclass_use=yes
52474 else
52475 glibcxx_cv_func_fpclass_use=no
52477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52478 ac_ext=c
52479 ac_cpp='$CPP $CPPFLAGS'
52480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52489 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52491 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52492 for ac_func in fpclass
52493 do :
52494 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52495 if test "x$ac_cv_func_fpclass" = x""yes; then :
52496 cat >>confdefs.h <<_ACEOF
52497 #define HAVE_FPCLASS 1
52498 _ACEOF
52501 done
52503 else
52505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52506 $as_echo_n "checking for _fpclass declaration... " >&6; }
52507 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52508 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52509 $as_echo_n "(cached) " >&6
52510 else
52513 ac_ext=cpp
52514 ac_cpp='$CXXCPP $CPPFLAGS'
52515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52520 /* end confdefs.h. */
52521 #include <math.h>
52522 #ifdef HAVE_IEEEFP_H
52523 #include <ieeefp.h>
52524 #endif
52527 main ()
52529 _fpclass(0);
52531 return 0;
52533 _ACEOF
52534 if ac_fn_cxx_try_compile "$LINENO"; then :
52535 glibcxx_cv_func__fpclass_use=yes
52536 else
52537 glibcxx_cv_func__fpclass_use=no
52539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52540 ac_ext=c
52541 ac_cpp='$CPP $CPPFLAGS'
52542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52551 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52553 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52554 for ac_func in _fpclass
52555 do :
52556 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52557 if test "x$ac_cv_func__fpclass" = x""yes; then :
52558 cat >>confdefs.h <<_ACEOF
52559 #define HAVE__FPCLASS 1
52560 _ACEOF
52563 done
52572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52573 $as_echo_n "checking for qfpclass declaration... " >&6; }
52574 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52575 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52576 $as_echo_n "(cached) " >&6
52577 else
52580 ac_ext=cpp
52581 ac_cpp='$CXXCPP $CPPFLAGS'
52582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52587 /* end confdefs.h. */
52588 #include <math.h>
52589 #ifdef HAVE_IEEEFP_H
52590 #include <ieeefp.h>
52591 #endif
52594 main ()
52596 qfpclass(0);
52598 return 0;
52600 _ACEOF
52601 if ac_fn_cxx_try_compile "$LINENO"; then :
52602 glibcxx_cv_func_qfpclass_use=yes
52603 else
52604 glibcxx_cv_func_qfpclass_use=no
52606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52607 ac_ext=c
52608 ac_cpp='$CPP $CPPFLAGS'
52609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52618 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52620 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52621 for ac_func in qfpclass
52622 do :
52623 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52624 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52625 cat >>confdefs.h <<_ACEOF
52626 #define HAVE_QFPCLASS 1
52627 _ACEOF
52630 done
52632 else
52634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52635 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52636 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52637 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52638 $as_echo_n "(cached) " >&6
52639 else
52642 ac_ext=cpp
52643 ac_cpp='$CXXCPP $CPPFLAGS'
52644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52649 /* end confdefs.h. */
52650 #include <math.h>
52651 #ifdef HAVE_IEEEFP_H
52652 #include <ieeefp.h>
52653 #endif
52656 main ()
52658 _qfpclass(0);
52660 return 0;
52662 _ACEOF
52663 if ac_fn_cxx_try_compile "$LINENO"; then :
52664 glibcxx_cv_func__qfpclass_use=yes
52665 else
52666 glibcxx_cv_func__qfpclass_use=no
52668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52669 ac_ext=c
52670 ac_cpp='$CPP $CPPFLAGS'
52671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52680 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52682 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52683 for ac_func in _qfpclass
52684 do :
52685 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52686 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52687 cat >>confdefs.h <<_ACEOF
52688 #define HAVE__QFPCLASS 1
52689 _ACEOF
52692 done
52701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52702 $as_echo_n "checking for hypot declaration... " >&6; }
52703 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52704 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52705 $as_echo_n "(cached) " >&6
52706 else
52709 ac_ext=cpp
52710 ac_cpp='$CXXCPP $CPPFLAGS'
52711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52716 /* end confdefs.h. */
52717 #include <math.h>
52719 main ()
52721 hypot(0, 0);
52723 return 0;
52725 _ACEOF
52726 if ac_fn_cxx_try_compile "$LINENO"; then :
52727 glibcxx_cv_func_hypot_use=yes
52728 else
52729 glibcxx_cv_func_hypot_use=no
52731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52732 ac_ext=c
52733 ac_cpp='$CPP $CPPFLAGS'
52734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52743 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52745 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52746 for ac_func in hypot
52747 do :
52748 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52749 if test "x$ac_cv_func_hypot" = x""yes; then :
52750 cat >>confdefs.h <<_ACEOF
52751 #define HAVE_HYPOT 1
52752 _ACEOF
52755 done
52757 else
52759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52760 $as_echo_n "checking for _hypot declaration... " >&6; }
52761 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52762 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52763 $as_echo_n "(cached) " >&6
52764 else
52767 ac_ext=cpp
52768 ac_cpp='$CXXCPP $CPPFLAGS'
52769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52774 /* end confdefs.h. */
52775 #include <math.h>
52777 main ()
52779 _hypot(0, 0);
52781 return 0;
52783 _ACEOF
52784 if ac_fn_cxx_try_compile "$LINENO"; then :
52785 glibcxx_cv_func__hypot_use=yes
52786 else
52787 glibcxx_cv_func__hypot_use=no
52789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52790 ac_ext=c
52791 ac_cpp='$CPP $CPPFLAGS'
52792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52801 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52803 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52804 for ac_func in _hypot
52805 do :
52806 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52807 if test "x$ac_cv_func__hypot" = x""yes; then :
52808 cat >>confdefs.h <<_ACEOF
52809 #define HAVE__HYPOT 1
52810 _ACEOF
52813 done
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52823 $as_echo_n "checking for float trig functions... " >&6; }
52824 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52825 $as_echo_n "(cached) " >&6
52826 else
52829 ac_ext=cpp
52830 ac_cpp='$CXXCPP $CPPFLAGS'
52831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52836 /* end confdefs.h. */
52837 #include <math.h>
52839 main ()
52841 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52843 return 0;
52845 _ACEOF
52846 if ac_fn_cxx_try_compile "$LINENO"; then :
52847 glibcxx_cv_func_float_trig_use=yes
52848 else
52849 glibcxx_cv_func_float_trig_use=no
52851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52852 ac_ext=c
52853 ac_cpp='$CPP $CPPFLAGS'
52854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52861 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52862 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52863 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52864 do :
52865 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52866 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52867 eval as_val=\$$as_ac_var
52868 if test "x$as_val" = x""yes; then :
52869 cat >>confdefs.h <<_ACEOF
52870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52871 _ACEOF
52874 done
52876 else
52877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52878 $as_echo_n "checking for _float trig functions... " >&6; }
52879 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52880 $as_echo_n "(cached) " >&6
52881 else
52884 ac_ext=cpp
52885 ac_cpp='$CXXCPP $CPPFLAGS'
52886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52891 /* end confdefs.h. */
52892 #include <math.h>
52894 main ()
52896 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52898 return 0;
52900 _ACEOF
52901 if ac_fn_cxx_try_compile "$LINENO"; then :
52902 glibcxx_cv_func__float_trig_use=yes
52903 else
52904 glibcxx_cv_func__float_trig_use=no
52906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52907 ac_ext=c
52908 ac_cpp='$CPP $CPPFLAGS'
52909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52916 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52917 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52918 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52919 do :
52920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52922 eval as_val=\$$as_ac_var
52923 if test "x$as_val" = x""yes; then :
52924 cat >>confdefs.h <<_ACEOF
52925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52926 _ACEOF
52929 done
52938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52939 $as_echo_n "checking for float round functions... " >&6; }
52940 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52941 $as_echo_n "(cached) " >&6
52942 else
52945 ac_ext=cpp
52946 ac_cpp='$CXXCPP $CPPFLAGS'
52947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52952 /* end confdefs.h. */
52953 #include <math.h>
52955 main ()
52957 ceilf (0); floorf (0);
52959 return 0;
52961 _ACEOF
52962 if ac_fn_cxx_try_compile "$LINENO"; then :
52963 glibcxx_cv_func_float_round_use=yes
52964 else
52965 glibcxx_cv_func_float_round_use=no
52967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52968 ac_ext=c
52969 ac_cpp='$CPP $CPPFLAGS'
52970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52977 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52978 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52979 for ac_func in ceilf floorf
52980 do :
52981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52983 eval as_val=\$$as_ac_var
52984 if test "x$as_val" = x""yes; then :
52985 cat >>confdefs.h <<_ACEOF
52986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52987 _ACEOF
52990 done
52992 else
52993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52994 $as_echo_n "checking for _float round functions... " >&6; }
52995 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52996 $as_echo_n "(cached) " >&6
52997 else
53000 ac_ext=cpp
53001 ac_cpp='$CXXCPP $CPPFLAGS'
53002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53007 /* end confdefs.h. */
53008 #include <math.h>
53010 main ()
53012 _ceilf (0); _floorf (0);
53014 return 0;
53016 _ACEOF
53017 if ac_fn_cxx_try_compile "$LINENO"; then :
53018 glibcxx_cv_func__float_round_use=yes
53019 else
53020 glibcxx_cv_func__float_round_use=no
53022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53023 ac_ext=c
53024 ac_cpp='$CPP $CPPFLAGS'
53025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53032 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53033 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53034 for ac_func in _ceilf _floorf
53035 do :
53036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53038 eval as_val=\$$as_ac_var
53039 if test "x$as_val" = x""yes; then :
53040 cat >>confdefs.h <<_ACEOF
53041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53042 _ACEOF
53045 done
53055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53056 $as_echo_n "checking for expf declaration... " >&6; }
53057 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53058 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53059 $as_echo_n "(cached) " >&6
53060 else
53063 ac_ext=cpp
53064 ac_cpp='$CXXCPP $CPPFLAGS'
53065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53070 /* end confdefs.h. */
53071 #include <math.h>
53072 #ifdef HAVE_IEEEFP_H
53073 #include <ieeefp.h>
53074 #endif
53077 main ()
53079 expf(0);
53081 return 0;
53083 _ACEOF
53084 if ac_fn_cxx_try_compile "$LINENO"; then :
53085 glibcxx_cv_func_expf_use=yes
53086 else
53087 glibcxx_cv_func_expf_use=no
53089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53090 ac_ext=c
53091 ac_cpp='$CPP $CPPFLAGS'
53092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53101 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53103 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53104 for ac_func in expf
53105 do :
53106 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53107 if test "x$ac_cv_func_expf" = x""yes; then :
53108 cat >>confdefs.h <<_ACEOF
53109 #define HAVE_EXPF 1
53110 _ACEOF
53113 done
53115 else
53117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53118 $as_echo_n "checking for _expf declaration... " >&6; }
53119 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53120 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53121 $as_echo_n "(cached) " >&6
53122 else
53125 ac_ext=cpp
53126 ac_cpp='$CXXCPP $CPPFLAGS'
53127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53132 /* end confdefs.h. */
53133 #include <math.h>
53134 #ifdef HAVE_IEEEFP_H
53135 #include <ieeefp.h>
53136 #endif
53139 main ()
53141 _expf(0);
53143 return 0;
53145 _ACEOF
53146 if ac_fn_cxx_try_compile "$LINENO"; then :
53147 glibcxx_cv_func__expf_use=yes
53148 else
53149 glibcxx_cv_func__expf_use=no
53151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53152 ac_ext=c
53153 ac_cpp='$CPP $CPPFLAGS'
53154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53163 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53165 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53166 for ac_func in _expf
53167 do :
53168 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53169 if test "x$ac_cv_func__expf" = x""yes; then :
53170 cat >>confdefs.h <<_ACEOF
53171 #define HAVE__EXPF 1
53172 _ACEOF
53175 done
53184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53185 $as_echo_n "checking for isnanf declaration... " >&6; }
53186 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53187 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53188 $as_echo_n "(cached) " >&6
53189 else
53192 ac_ext=cpp
53193 ac_cpp='$CXXCPP $CPPFLAGS'
53194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53199 /* end confdefs.h. */
53200 #include <math.h>
53201 #ifdef HAVE_IEEEFP_H
53202 #include <ieeefp.h>
53203 #endif
53206 main ()
53208 isnanf(0);
53210 return 0;
53212 _ACEOF
53213 if ac_fn_cxx_try_compile "$LINENO"; then :
53214 glibcxx_cv_func_isnanf_use=yes
53215 else
53216 glibcxx_cv_func_isnanf_use=no
53218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53219 ac_ext=c
53220 ac_cpp='$CPP $CPPFLAGS'
53221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53230 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53232 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53233 for ac_func in isnanf
53234 do :
53235 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53236 if test "x$ac_cv_func_isnanf" = x""yes; then :
53237 cat >>confdefs.h <<_ACEOF
53238 #define HAVE_ISNANF 1
53239 _ACEOF
53242 done
53244 else
53246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53247 $as_echo_n "checking for _isnanf declaration... " >&6; }
53248 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53249 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53250 $as_echo_n "(cached) " >&6
53251 else
53254 ac_ext=cpp
53255 ac_cpp='$CXXCPP $CPPFLAGS'
53256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53261 /* end confdefs.h. */
53262 #include <math.h>
53263 #ifdef HAVE_IEEEFP_H
53264 #include <ieeefp.h>
53265 #endif
53268 main ()
53270 _isnanf(0);
53272 return 0;
53274 _ACEOF
53275 if ac_fn_cxx_try_compile "$LINENO"; then :
53276 glibcxx_cv_func__isnanf_use=yes
53277 else
53278 glibcxx_cv_func__isnanf_use=no
53280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53281 ac_ext=c
53282 ac_cpp='$CPP $CPPFLAGS'
53283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53292 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53294 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53295 for ac_func in _isnanf
53296 do :
53297 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53298 if test "x$ac_cv_func__isnanf" = x""yes; then :
53299 cat >>confdefs.h <<_ACEOF
53300 #define HAVE__ISNANF 1
53301 _ACEOF
53304 done
53313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53314 $as_echo_n "checking for isinff declaration... " >&6; }
53315 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53316 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53317 $as_echo_n "(cached) " >&6
53318 else
53321 ac_ext=cpp
53322 ac_cpp='$CXXCPP $CPPFLAGS'
53323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53328 /* end confdefs.h. */
53329 #include <math.h>
53330 #ifdef HAVE_IEEEFP_H
53331 #include <ieeefp.h>
53332 #endif
53335 main ()
53337 isinff(0);
53339 return 0;
53341 _ACEOF
53342 if ac_fn_cxx_try_compile "$LINENO"; then :
53343 glibcxx_cv_func_isinff_use=yes
53344 else
53345 glibcxx_cv_func_isinff_use=no
53347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53348 ac_ext=c
53349 ac_cpp='$CPP $CPPFLAGS'
53350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53359 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53361 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53362 for ac_func in isinff
53363 do :
53364 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53365 if test "x$ac_cv_func_isinff" = x""yes; then :
53366 cat >>confdefs.h <<_ACEOF
53367 #define HAVE_ISINFF 1
53368 _ACEOF
53371 done
53373 else
53375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53376 $as_echo_n "checking for _isinff declaration... " >&6; }
53377 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53378 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53379 $as_echo_n "(cached) " >&6
53380 else
53383 ac_ext=cpp
53384 ac_cpp='$CXXCPP $CPPFLAGS'
53385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53390 /* end confdefs.h. */
53391 #include <math.h>
53392 #ifdef HAVE_IEEEFP_H
53393 #include <ieeefp.h>
53394 #endif
53397 main ()
53399 _isinff(0);
53401 return 0;
53403 _ACEOF
53404 if ac_fn_cxx_try_compile "$LINENO"; then :
53405 glibcxx_cv_func__isinff_use=yes
53406 else
53407 glibcxx_cv_func__isinff_use=no
53409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53410 ac_ext=c
53411 ac_cpp='$CPP $CPPFLAGS'
53412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53421 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53423 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53424 for ac_func in _isinff
53425 do :
53426 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53427 if test "x$ac_cv_func__isinff" = x""yes; then :
53428 cat >>confdefs.h <<_ACEOF
53429 #define HAVE__ISINFF 1
53430 _ACEOF
53433 done
53442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53443 $as_echo_n "checking for atan2f declaration... " >&6; }
53444 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53445 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53446 $as_echo_n "(cached) " >&6
53447 else
53450 ac_ext=cpp
53451 ac_cpp='$CXXCPP $CPPFLAGS'
53452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53457 /* end confdefs.h. */
53458 #include <math.h>
53460 main ()
53462 atan2f(0, 0);
53464 return 0;
53466 _ACEOF
53467 if ac_fn_cxx_try_compile "$LINENO"; then :
53468 glibcxx_cv_func_atan2f_use=yes
53469 else
53470 glibcxx_cv_func_atan2f_use=no
53472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53473 ac_ext=c
53474 ac_cpp='$CPP $CPPFLAGS'
53475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53484 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53486 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53487 for ac_func in atan2f
53488 do :
53489 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53490 if test "x$ac_cv_func_atan2f" = x""yes; then :
53491 cat >>confdefs.h <<_ACEOF
53492 #define HAVE_ATAN2F 1
53493 _ACEOF
53496 done
53498 else
53500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53501 $as_echo_n "checking for _atan2f declaration... " >&6; }
53502 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53503 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53504 $as_echo_n "(cached) " >&6
53505 else
53508 ac_ext=cpp
53509 ac_cpp='$CXXCPP $CPPFLAGS'
53510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53515 /* end confdefs.h. */
53516 #include <math.h>
53518 main ()
53520 _atan2f(0, 0);
53522 return 0;
53524 _ACEOF
53525 if ac_fn_cxx_try_compile "$LINENO"; then :
53526 glibcxx_cv_func__atan2f_use=yes
53527 else
53528 glibcxx_cv_func__atan2f_use=no
53530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53531 ac_ext=c
53532 ac_cpp='$CPP $CPPFLAGS'
53533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53542 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53544 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53545 for ac_func in _atan2f
53546 do :
53547 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53548 if test "x$ac_cv_func__atan2f" = x""yes; then :
53549 cat >>confdefs.h <<_ACEOF
53550 #define HAVE__ATAN2F 1
53551 _ACEOF
53554 done
53563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53564 $as_echo_n "checking for fabsf declaration... " >&6; }
53565 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53566 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53567 $as_echo_n "(cached) " >&6
53568 else
53571 ac_ext=cpp
53572 ac_cpp='$CXXCPP $CPPFLAGS'
53573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53578 /* end confdefs.h. */
53579 #include <math.h>
53580 #ifdef HAVE_IEEEFP_H
53581 #include <ieeefp.h>
53582 #endif
53585 main ()
53587 fabsf(0);
53589 return 0;
53591 _ACEOF
53592 if ac_fn_cxx_try_compile "$LINENO"; then :
53593 glibcxx_cv_func_fabsf_use=yes
53594 else
53595 glibcxx_cv_func_fabsf_use=no
53597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53598 ac_ext=c
53599 ac_cpp='$CPP $CPPFLAGS'
53600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53609 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53611 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53612 for ac_func in fabsf
53613 do :
53614 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53615 if test "x$ac_cv_func_fabsf" = x""yes; then :
53616 cat >>confdefs.h <<_ACEOF
53617 #define HAVE_FABSF 1
53618 _ACEOF
53621 done
53623 else
53625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53626 $as_echo_n "checking for _fabsf declaration... " >&6; }
53627 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53628 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53629 $as_echo_n "(cached) " >&6
53630 else
53633 ac_ext=cpp
53634 ac_cpp='$CXXCPP $CPPFLAGS'
53635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53640 /* end confdefs.h. */
53641 #include <math.h>
53642 #ifdef HAVE_IEEEFP_H
53643 #include <ieeefp.h>
53644 #endif
53647 main ()
53649 _fabsf(0);
53651 return 0;
53653 _ACEOF
53654 if ac_fn_cxx_try_compile "$LINENO"; then :
53655 glibcxx_cv_func__fabsf_use=yes
53656 else
53657 glibcxx_cv_func__fabsf_use=no
53659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53660 ac_ext=c
53661 ac_cpp='$CPP $CPPFLAGS'
53662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53671 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53673 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53674 for ac_func in _fabsf
53675 do :
53676 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53677 if test "x$ac_cv_func__fabsf" = x""yes; then :
53678 cat >>confdefs.h <<_ACEOF
53679 #define HAVE__FABSF 1
53680 _ACEOF
53683 done
53692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53693 $as_echo_n "checking for fmodf declaration... " >&6; }
53694 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53695 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53696 $as_echo_n "(cached) " >&6
53697 else
53700 ac_ext=cpp
53701 ac_cpp='$CXXCPP $CPPFLAGS'
53702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53707 /* end confdefs.h. */
53708 #include <math.h>
53710 main ()
53712 fmodf(0, 0);
53714 return 0;
53716 _ACEOF
53717 if ac_fn_cxx_try_compile "$LINENO"; then :
53718 glibcxx_cv_func_fmodf_use=yes
53719 else
53720 glibcxx_cv_func_fmodf_use=no
53722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53723 ac_ext=c
53724 ac_cpp='$CPP $CPPFLAGS'
53725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53734 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53736 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53737 for ac_func in fmodf
53738 do :
53739 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53740 if test "x$ac_cv_func_fmodf" = x""yes; then :
53741 cat >>confdefs.h <<_ACEOF
53742 #define HAVE_FMODF 1
53743 _ACEOF
53746 done
53748 else
53750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53751 $as_echo_n "checking for _fmodf declaration... " >&6; }
53752 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53753 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53754 $as_echo_n "(cached) " >&6
53755 else
53758 ac_ext=cpp
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h. */
53766 #include <math.h>
53768 main ()
53770 _fmodf(0, 0);
53772 return 0;
53774 _ACEOF
53775 if ac_fn_cxx_try_compile "$LINENO"; then :
53776 glibcxx_cv_func__fmodf_use=yes
53777 else
53778 glibcxx_cv_func__fmodf_use=no
53780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53781 ac_ext=c
53782 ac_cpp='$CPP $CPPFLAGS'
53783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53792 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53794 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53795 for ac_func in _fmodf
53796 do :
53797 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53798 if test "x$ac_cv_func__fmodf" = x""yes; then :
53799 cat >>confdefs.h <<_ACEOF
53800 #define HAVE__FMODF 1
53801 _ACEOF
53804 done
53813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53814 $as_echo_n "checking for frexpf declaration... " >&6; }
53815 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53816 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53817 $as_echo_n "(cached) " >&6
53818 else
53821 ac_ext=cpp
53822 ac_cpp='$CXXCPP $CPPFLAGS'
53823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53828 /* end confdefs.h. */
53829 #include <math.h>
53831 main ()
53833 frexpf(0, 0);
53835 return 0;
53837 _ACEOF
53838 if ac_fn_cxx_try_compile "$LINENO"; then :
53839 glibcxx_cv_func_frexpf_use=yes
53840 else
53841 glibcxx_cv_func_frexpf_use=no
53843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53844 ac_ext=c
53845 ac_cpp='$CPP $CPPFLAGS'
53846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53855 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53857 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53858 for ac_func in frexpf
53859 do :
53860 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53861 if test "x$ac_cv_func_frexpf" = x""yes; then :
53862 cat >>confdefs.h <<_ACEOF
53863 #define HAVE_FREXPF 1
53864 _ACEOF
53867 done
53869 else
53871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53872 $as_echo_n "checking for _frexpf declaration... " >&6; }
53873 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53874 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53875 $as_echo_n "(cached) " >&6
53876 else
53879 ac_ext=cpp
53880 ac_cpp='$CXXCPP $CPPFLAGS'
53881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h. */
53887 #include <math.h>
53889 main ()
53891 _frexpf(0, 0);
53893 return 0;
53895 _ACEOF
53896 if ac_fn_cxx_try_compile "$LINENO"; then :
53897 glibcxx_cv_func__frexpf_use=yes
53898 else
53899 glibcxx_cv_func__frexpf_use=no
53901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53902 ac_ext=c
53903 ac_cpp='$CPP $CPPFLAGS'
53904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53913 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53915 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53916 for ac_func in _frexpf
53917 do :
53918 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53919 if test "x$ac_cv_func__frexpf" = x""yes; then :
53920 cat >>confdefs.h <<_ACEOF
53921 #define HAVE__FREXPF 1
53922 _ACEOF
53925 done
53934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53935 $as_echo_n "checking for hypotf declaration... " >&6; }
53936 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53937 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53938 $as_echo_n "(cached) " >&6
53939 else
53942 ac_ext=cpp
53943 ac_cpp='$CXXCPP $CPPFLAGS'
53944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53949 /* end confdefs.h. */
53950 #include <math.h>
53952 main ()
53954 hypotf(0, 0);
53956 return 0;
53958 _ACEOF
53959 if ac_fn_cxx_try_compile "$LINENO"; then :
53960 glibcxx_cv_func_hypotf_use=yes
53961 else
53962 glibcxx_cv_func_hypotf_use=no
53964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53965 ac_ext=c
53966 ac_cpp='$CPP $CPPFLAGS'
53967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53976 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53978 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53979 for ac_func in hypotf
53980 do :
53981 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53982 if test "x$ac_cv_func_hypotf" = x""yes; then :
53983 cat >>confdefs.h <<_ACEOF
53984 #define HAVE_HYPOTF 1
53985 _ACEOF
53988 done
53990 else
53992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53993 $as_echo_n "checking for _hypotf declaration... " >&6; }
53994 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53995 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53996 $as_echo_n "(cached) " >&6
53997 else
54000 ac_ext=cpp
54001 ac_cpp='$CXXCPP $CPPFLAGS'
54002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54007 /* end confdefs.h. */
54008 #include <math.h>
54010 main ()
54012 _hypotf(0, 0);
54014 return 0;
54016 _ACEOF
54017 if ac_fn_cxx_try_compile "$LINENO"; then :
54018 glibcxx_cv_func__hypotf_use=yes
54019 else
54020 glibcxx_cv_func__hypotf_use=no
54022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54023 ac_ext=c
54024 ac_cpp='$CPP $CPPFLAGS'
54025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54034 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54036 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54037 for ac_func in _hypotf
54038 do :
54039 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54040 if test "x$ac_cv_func__hypotf" = x""yes; then :
54041 cat >>confdefs.h <<_ACEOF
54042 #define HAVE__HYPOTF 1
54043 _ACEOF
54046 done
54055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54056 $as_echo_n "checking for ldexpf declaration... " >&6; }
54057 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54058 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54059 $as_echo_n "(cached) " >&6
54060 else
54063 ac_ext=cpp
54064 ac_cpp='$CXXCPP $CPPFLAGS'
54065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54070 /* end confdefs.h. */
54071 #include <math.h>
54073 main ()
54075 ldexpf(0, 0);
54077 return 0;
54079 _ACEOF
54080 if ac_fn_cxx_try_compile "$LINENO"; then :
54081 glibcxx_cv_func_ldexpf_use=yes
54082 else
54083 glibcxx_cv_func_ldexpf_use=no
54085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54086 ac_ext=c
54087 ac_cpp='$CPP $CPPFLAGS'
54088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54097 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54099 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54100 for ac_func in ldexpf
54101 do :
54102 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54103 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54104 cat >>confdefs.h <<_ACEOF
54105 #define HAVE_LDEXPF 1
54106 _ACEOF
54109 done
54111 else
54113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54114 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54115 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54116 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54117 $as_echo_n "(cached) " >&6
54118 else
54121 ac_ext=cpp
54122 ac_cpp='$CXXCPP $CPPFLAGS'
54123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54128 /* end confdefs.h. */
54129 #include <math.h>
54131 main ()
54133 _ldexpf(0, 0);
54135 return 0;
54137 _ACEOF
54138 if ac_fn_cxx_try_compile "$LINENO"; then :
54139 glibcxx_cv_func__ldexpf_use=yes
54140 else
54141 glibcxx_cv_func__ldexpf_use=no
54143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54144 ac_ext=c
54145 ac_cpp='$CPP $CPPFLAGS'
54146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54155 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54157 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54158 for ac_func in _ldexpf
54159 do :
54160 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54161 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54162 cat >>confdefs.h <<_ACEOF
54163 #define HAVE__LDEXPF 1
54164 _ACEOF
54167 done
54176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54177 $as_echo_n "checking for logf declaration... " >&6; }
54178 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54179 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54180 $as_echo_n "(cached) " >&6
54181 else
54184 ac_ext=cpp
54185 ac_cpp='$CXXCPP $CPPFLAGS'
54186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54191 /* end confdefs.h. */
54192 #include <math.h>
54193 #ifdef HAVE_IEEEFP_H
54194 #include <ieeefp.h>
54195 #endif
54198 main ()
54200 logf(0);
54202 return 0;
54204 _ACEOF
54205 if ac_fn_cxx_try_compile "$LINENO"; then :
54206 glibcxx_cv_func_logf_use=yes
54207 else
54208 glibcxx_cv_func_logf_use=no
54210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54211 ac_ext=c
54212 ac_cpp='$CPP $CPPFLAGS'
54213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54222 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54224 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54225 for ac_func in logf
54226 do :
54227 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54228 if test "x$ac_cv_func_logf" = x""yes; then :
54229 cat >>confdefs.h <<_ACEOF
54230 #define HAVE_LOGF 1
54231 _ACEOF
54234 done
54236 else
54238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54239 $as_echo_n "checking for _logf declaration... " >&6; }
54240 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54241 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54242 $as_echo_n "(cached) " >&6
54243 else
54246 ac_ext=cpp
54247 ac_cpp='$CXXCPP $CPPFLAGS'
54248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54253 /* end confdefs.h. */
54254 #include <math.h>
54255 #ifdef HAVE_IEEEFP_H
54256 #include <ieeefp.h>
54257 #endif
54260 main ()
54262 _logf(0);
54264 return 0;
54266 _ACEOF
54267 if ac_fn_cxx_try_compile "$LINENO"; then :
54268 glibcxx_cv_func__logf_use=yes
54269 else
54270 glibcxx_cv_func__logf_use=no
54272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54273 ac_ext=c
54274 ac_cpp='$CPP $CPPFLAGS'
54275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54284 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54286 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54287 for ac_func in _logf
54288 do :
54289 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54290 if test "x$ac_cv_func__logf" = x""yes; then :
54291 cat >>confdefs.h <<_ACEOF
54292 #define HAVE__LOGF 1
54293 _ACEOF
54296 done
54305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54306 $as_echo_n "checking for log10f declaration... " >&6; }
54307 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54308 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54309 $as_echo_n "(cached) " >&6
54310 else
54313 ac_ext=cpp
54314 ac_cpp='$CXXCPP $CPPFLAGS'
54315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54320 /* end confdefs.h. */
54321 #include <math.h>
54322 #ifdef HAVE_IEEEFP_H
54323 #include <ieeefp.h>
54324 #endif
54327 main ()
54329 log10f(0);
54331 return 0;
54333 _ACEOF
54334 if ac_fn_cxx_try_compile "$LINENO"; then :
54335 glibcxx_cv_func_log10f_use=yes
54336 else
54337 glibcxx_cv_func_log10f_use=no
54339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54340 ac_ext=c
54341 ac_cpp='$CPP $CPPFLAGS'
54342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54351 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54353 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54354 for ac_func in log10f
54355 do :
54356 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54357 if test "x$ac_cv_func_log10f" = x""yes; then :
54358 cat >>confdefs.h <<_ACEOF
54359 #define HAVE_LOG10F 1
54360 _ACEOF
54363 done
54365 else
54367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54368 $as_echo_n "checking for _log10f declaration... " >&6; }
54369 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54370 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54371 $as_echo_n "(cached) " >&6
54372 else
54375 ac_ext=cpp
54376 ac_cpp='$CXXCPP $CPPFLAGS'
54377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54382 /* end confdefs.h. */
54383 #include <math.h>
54384 #ifdef HAVE_IEEEFP_H
54385 #include <ieeefp.h>
54386 #endif
54389 main ()
54391 _log10f(0);
54393 return 0;
54395 _ACEOF
54396 if ac_fn_cxx_try_compile "$LINENO"; then :
54397 glibcxx_cv_func__log10f_use=yes
54398 else
54399 glibcxx_cv_func__log10f_use=no
54401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54402 ac_ext=c
54403 ac_cpp='$CPP $CPPFLAGS'
54404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54413 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54415 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54416 for ac_func in _log10f
54417 do :
54418 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54419 if test "x$ac_cv_func__log10f" = x""yes; then :
54420 cat >>confdefs.h <<_ACEOF
54421 #define HAVE__LOG10F 1
54422 _ACEOF
54425 done
54434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54435 $as_echo_n "checking for modff declaration... " >&6; }
54436 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54437 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54438 $as_echo_n "(cached) " >&6
54439 else
54442 ac_ext=cpp
54443 ac_cpp='$CXXCPP $CPPFLAGS'
54444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54449 /* end confdefs.h. */
54450 #include <math.h>
54452 main ()
54454 modff(0, 0);
54456 return 0;
54458 _ACEOF
54459 if ac_fn_cxx_try_compile "$LINENO"; then :
54460 glibcxx_cv_func_modff_use=yes
54461 else
54462 glibcxx_cv_func_modff_use=no
54464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54465 ac_ext=c
54466 ac_cpp='$CPP $CPPFLAGS'
54467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54476 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54478 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54479 for ac_func in modff
54480 do :
54481 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54482 if test "x$ac_cv_func_modff" = x""yes; then :
54483 cat >>confdefs.h <<_ACEOF
54484 #define HAVE_MODFF 1
54485 _ACEOF
54488 done
54490 else
54492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54493 $as_echo_n "checking for _modff declaration... " >&6; }
54494 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54495 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54496 $as_echo_n "(cached) " >&6
54497 else
54500 ac_ext=cpp
54501 ac_cpp='$CXXCPP $CPPFLAGS'
54502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54507 /* end confdefs.h. */
54508 #include <math.h>
54510 main ()
54512 _modff(0, 0);
54514 return 0;
54516 _ACEOF
54517 if ac_fn_cxx_try_compile "$LINENO"; then :
54518 glibcxx_cv_func__modff_use=yes
54519 else
54520 glibcxx_cv_func__modff_use=no
54522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54523 ac_ext=c
54524 ac_cpp='$CPP $CPPFLAGS'
54525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54534 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54536 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54537 for ac_func in _modff
54538 do :
54539 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54540 if test "x$ac_cv_func__modff" = x""yes; then :
54541 cat >>confdefs.h <<_ACEOF
54542 #define HAVE__MODFF 1
54543 _ACEOF
54546 done
54555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54556 $as_echo_n "checking for modf declaration... " >&6; }
54557 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54558 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54559 $as_echo_n "(cached) " >&6
54560 else
54563 ac_ext=cpp
54564 ac_cpp='$CXXCPP $CPPFLAGS'
54565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54570 /* end confdefs.h. */
54571 #include <math.h>
54573 main ()
54575 modf(0, 0);
54577 return 0;
54579 _ACEOF
54580 if ac_fn_cxx_try_compile "$LINENO"; then :
54581 glibcxx_cv_func_modf_use=yes
54582 else
54583 glibcxx_cv_func_modf_use=no
54585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54586 ac_ext=c
54587 ac_cpp='$CPP $CPPFLAGS'
54588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54597 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54599 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54600 for ac_func in modf
54601 do :
54602 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54603 if test "x$ac_cv_func_modf" = x""yes; then :
54604 cat >>confdefs.h <<_ACEOF
54605 #define HAVE_MODF 1
54606 _ACEOF
54609 done
54611 else
54613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54614 $as_echo_n "checking for _modf declaration... " >&6; }
54615 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54616 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54617 $as_echo_n "(cached) " >&6
54618 else
54621 ac_ext=cpp
54622 ac_cpp='$CXXCPP $CPPFLAGS'
54623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54628 /* end confdefs.h. */
54629 #include <math.h>
54631 main ()
54633 _modf(0, 0);
54635 return 0;
54637 _ACEOF
54638 if ac_fn_cxx_try_compile "$LINENO"; then :
54639 glibcxx_cv_func__modf_use=yes
54640 else
54641 glibcxx_cv_func__modf_use=no
54643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54644 ac_ext=c
54645 ac_cpp='$CPP $CPPFLAGS'
54646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54655 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54657 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54658 for ac_func in _modf
54659 do :
54660 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54661 if test "x$ac_cv_func__modf" = x""yes; then :
54662 cat >>confdefs.h <<_ACEOF
54663 #define HAVE__MODF 1
54664 _ACEOF
54667 done
54676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54677 $as_echo_n "checking for powf declaration... " >&6; }
54678 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54679 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54680 $as_echo_n "(cached) " >&6
54681 else
54684 ac_ext=cpp
54685 ac_cpp='$CXXCPP $CPPFLAGS'
54686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54691 /* end confdefs.h. */
54692 #include <math.h>
54694 main ()
54696 powf(0, 0);
54698 return 0;
54700 _ACEOF
54701 if ac_fn_cxx_try_compile "$LINENO"; then :
54702 glibcxx_cv_func_powf_use=yes
54703 else
54704 glibcxx_cv_func_powf_use=no
54706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54707 ac_ext=c
54708 ac_cpp='$CPP $CPPFLAGS'
54709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54718 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54720 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54721 for ac_func in powf
54722 do :
54723 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54724 if test "x$ac_cv_func_powf" = x""yes; then :
54725 cat >>confdefs.h <<_ACEOF
54726 #define HAVE_POWF 1
54727 _ACEOF
54730 done
54732 else
54734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54735 $as_echo_n "checking for _powf declaration... " >&6; }
54736 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54737 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54738 $as_echo_n "(cached) " >&6
54739 else
54742 ac_ext=cpp
54743 ac_cpp='$CXXCPP $CPPFLAGS'
54744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54749 /* end confdefs.h. */
54750 #include <math.h>
54752 main ()
54754 _powf(0, 0);
54756 return 0;
54758 _ACEOF
54759 if ac_fn_cxx_try_compile "$LINENO"; then :
54760 glibcxx_cv_func__powf_use=yes
54761 else
54762 glibcxx_cv_func__powf_use=no
54764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54765 ac_ext=c
54766 ac_cpp='$CPP $CPPFLAGS'
54767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54776 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54778 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54779 for ac_func in _powf
54780 do :
54781 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54782 if test "x$ac_cv_func__powf" = x""yes; then :
54783 cat >>confdefs.h <<_ACEOF
54784 #define HAVE__POWF 1
54785 _ACEOF
54788 done
54797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54798 $as_echo_n "checking for sqrtf declaration... " >&6; }
54799 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54800 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54801 $as_echo_n "(cached) " >&6
54802 else
54805 ac_ext=cpp
54806 ac_cpp='$CXXCPP $CPPFLAGS'
54807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54812 /* end confdefs.h. */
54813 #include <math.h>
54814 #ifdef HAVE_IEEEFP_H
54815 #include <ieeefp.h>
54816 #endif
54819 main ()
54821 sqrtf(0);
54823 return 0;
54825 _ACEOF
54826 if ac_fn_cxx_try_compile "$LINENO"; then :
54827 glibcxx_cv_func_sqrtf_use=yes
54828 else
54829 glibcxx_cv_func_sqrtf_use=no
54831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54832 ac_ext=c
54833 ac_cpp='$CPP $CPPFLAGS'
54834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54843 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54845 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54846 for ac_func in sqrtf
54847 do :
54848 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54849 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54850 cat >>confdefs.h <<_ACEOF
54851 #define HAVE_SQRTF 1
54852 _ACEOF
54855 done
54857 else
54859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54860 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54861 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54862 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54863 $as_echo_n "(cached) " >&6
54864 else
54867 ac_ext=cpp
54868 ac_cpp='$CXXCPP $CPPFLAGS'
54869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54874 /* end confdefs.h. */
54875 #include <math.h>
54876 #ifdef HAVE_IEEEFP_H
54877 #include <ieeefp.h>
54878 #endif
54881 main ()
54883 _sqrtf(0);
54885 return 0;
54887 _ACEOF
54888 if ac_fn_cxx_try_compile "$LINENO"; then :
54889 glibcxx_cv_func__sqrtf_use=yes
54890 else
54891 glibcxx_cv_func__sqrtf_use=no
54893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54894 ac_ext=c
54895 ac_cpp='$CPP $CPPFLAGS'
54896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54905 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54907 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54908 for ac_func in _sqrtf
54909 do :
54910 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54911 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54912 cat >>confdefs.h <<_ACEOF
54913 #define HAVE__SQRTF 1
54914 _ACEOF
54917 done
54926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54927 $as_echo_n "checking for sincosf declaration... " >&6; }
54928 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54929 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54930 $as_echo_n "(cached) " >&6
54931 else
54934 ac_ext=cpp
54935 ac_cpp='$CXXCPP $CPPFLAGS'
54936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54941 /* end confdefs.h. */
54942 #include <math.h>
54944 main ()
54946 sincosf(0, 0, 0);
54948 return 0;
54950 _ACEOF
54951 if ac_fn_cxx_try_compile "$LINENO"; then :
54952 glibcxx_cv_func_sincosf_use=yes
54953 else
54954 glibcxx_cv_func_sincosf_use=no
54956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54957 ac_ext=c
54958 ac_cpp='$CPP $CPPFLAGS'
54959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54968 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54970 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54971 for ac_func in sincosf
54972 do :
54973 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54974 if test "x$ac_cv_func_sincosf" = x""yes; then :
54975 cat >>confdefs.h <<_ACEOF
54976 #define HAVE_SINCOSF 1
54977 _ACEOF
54980 done
54982 else
54984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54985 $as_echo_n "checking for _sincosf declaration... " >&6; }
54986 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54987 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54988 $as_echo_n "(cached) " >&6
54989 else
54992 ac_ext=cpp
54993 ac_cpp='$CXXCPP $CPPFLAGS'
54994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54999 /* end confdefs.h. */
55000 #include <math.h>
55002 main ()
55004 _sincosf(0, 0, 0);
55006 return 0;
55008 _ACEOF
55009 if ac_fn_cxx_try_compile "$LINENO"; then :
55010 glibcxx_cv_func__sincosf_use=yes
55011 else
55012 glibcxx_cv_func__sincosf_use=no
55014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55015 ac_ext=c
55016 ac_cpp='$CPP $CPPFLAGS'
55017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55026 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55028 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55029 for ac_func in _sincosf
55030 do :
55031 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55032 if test "x$ac_cv_func__sincosf" = x""yes; then :
55033 cat >>confdefs.h <<_ACEOF
55034 #define HAVE__SINCOSF 1
55035 _ACEOF
55038 done
55047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55048 $as_echo_n "checking for finitef declaration... " >&6; }
55049 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55050 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55051 $as_echo_n "(cached) " >&6
55052 else
55055 ac_ext=cpp
55056 ac_cpp='$CXXCPP $CPPFLAGS'
55057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55062 /* end confdefs.h. */
55063 #include <math.h>
55064 #ifdef HAVE_IEEEFP_H
55065 #include <ieeefp.h>
55066 #endif
55069 main ()
55071 finitef(0);
55073 return 0;
55075 _ACEOF
55076 if ac_fn_cxx_try_compile "$LINENO"; then :
55077 glibcxx_cv_func_finitef_use=yes
55078 else
55079 glibcxx_cv_func_finitef_use=no
55081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55082 ac_ext=c
55083 ac_cpp='$CPP $CPPFLAGS'
55084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55093 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55095 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55096 for ac_func in finitef
55097 do :
55098 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55099 if test "x$ac_cv_func_finitef" = x""yes; then :
55100 cat >>confdefs.h <<_ACEOF
55101 #define HAVE_FINITEF 1
55102 _ACEOF
55105 done
55107 else
55109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55110 $as_echo_n "checking for _finitef declaration... " >&6; }
55111 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55112 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55113 $as_echo_n "(cached) " >&6
55114 else
55117 ac_ext=cpp
55118 ac_cpp='$CXXCPP $CPPFLAGS'
55119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55124 /* end confdefs.h. */
55125 #include <math.h>
55126 #ifdef HAVE_IEEEFP_H
55127 #include <ieeefp.h>
55128 #endif
55131 main ()
55133 _finitef(0);
55135 return 0;
55137 _ACEOF
55138 if ac_fn_cxx_try_compile "$LINENO"; then :
55139 glibcxx_cv_func__finitef_use=yes
55140 else
55141 glibcxx_cv_func__finitef_use=no
55143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55144 ac_ext=c
55145 ac_cpp='$CPP $CPPFLAGS'
55146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55155 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55157 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55158 for ac_func in _finitef
55159 do :
55160 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55161 if test "x$ac_cv_func__finitef" = x""yes; then :
55162 cat >>confdefs.h <<_ACEOF
55163 #define HAVE__FINITEF 1
55164 _ACEOF
55167 done
55176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55177 $as_echo_n "checking for long double trig functions... " >&6; }
55178 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55179 $as_echo_n "(cached) " >&6
55180 else
55183 ac_ext=cpp
55184 ac_cpp='$CXXCPP $CPPFLAGS'
55185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55190 /* end confdefs.h. */
55191 #include <math.h>
55193 main ()
55195 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55197 return 0;
55199 _ACEOF
55200 if ac_fn_cxx_try_compile "$LINENO"; then :
55201 glibcxx_cv_func_long_double_trig_use=yes
55202 else
55203 glibcxx_cv_func_long_double_trig_use=no
55205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55206 ac_ext=c
55207 ac_cpp='$CPP $CPPFLAGS'
55208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55215 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55216 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55217 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55218 do :
55219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55221 eval as_val=\$$as_ac_var
55222 if test "x$as_val" = x""yes; then :
55223 cat >>confdefs.h <<_ACEOF
55224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55225 _ACEOF
55228 done
55230 else
55231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55232 $as_echo_n "checking for _long double trig functions... " >&6; }
55233 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55234 $as_echo_n "(cached) " >&6
55235 else
55238 ac_ext=cpp
55239 ac_cpp='$CXXCPP $CPPFLAGS'
55240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55245 /* end confdefs.h. */
55246 #include <math.h>
55248 main ()
55250 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55252 return 0;
55254 _ACEOF
55255 if ac_fn_cxx_try_compile "$LINENO"; then :
55256 glibcxx_cv_func__long_double_trig_use=yes
55257 else
55258 glibcxx_cv_func__long_double_trig_use=no
55260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55261 ac_ext=c
55262 ac_cpp='$CPP $CPPFLAGS'
55263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55270 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55271 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55272 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55273 do :
55274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55276 eval as_val=\$$as_ac_var
55277 if test "x$as_val" = x""yes; then :
55278 cat >>confdefs.h <<_ACEOF
55279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55280 _ACEOF
55283 done
55292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55293 $as_echo_n "checking for long double round functions... " >&6; }
55294 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55295 $as_echo_n "(cached) " >&6
55296 else
55299 ac_ext=cpp
55300 ac_cpp='$CXXCPP $CPPFLAGS'
55301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55306 /* end confdefs.h. */
55307 #include <math.h>
55309 main ()
55311 ceill (0); floorl (0);
55313 return 0;
55315 _ACEOF
55316 if ac_fn_cxx_try_compile "$LINENO"; then :
55317 glibcxx_cv_func_long_double_round_use=yes
55318 else
55319 glibcxx_cv_func_long_double_round_use=no
55321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55322 ac_ext=c
55323 ac_cpp='$CPP $CPPFLAGS'
55324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55331 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55332 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55333 for ac_func in ceill floorl
55334 do :
55335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55337 eval as_val=\$$as_ac_var
55338 if test "x$as_val" = x""yes; then :
55339 cat >>confdefs.h <<_ACEOF
55340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55341 _ACEOF
55344 done
55346 else
55347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55348 $as_echo_n "checking for _long double round functions... " >&6; }
55349 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55350 $as_echo_n "(cached) " >&6
55351 else
55354 ac_ext=cpp
55355 ac_cpp='$CXXCPP $CPPFLAGS'
55356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55361 /* end confdefs.h. */
55362 #include <math.h>
55364 main ()
55366 _ceill (0); _floorl (0);
55368 return 0;
55370 _ACEOF
55371 if ac_fn_cxx_try_compile "$LINENO"; then :
55372 glibcxx_cv_func__long_double_round_use=yes
55373 else
55374 glibcxx_cv_func__long_double_round_use=no
55376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55377 ac_ext=c
55378 ac_cpp='$CPP $CPPFLAGS'
55379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55386 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55387 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55388 for ac_func in _ceill _floorl
55389 do :
55390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55392 eval as_val=\$$as_ac_var
55393 if test "x$as_val" = x""yes; then :
55394 cat >>confdefs.h <<_ACEOF
55395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55396 _ACEOF
55399 done
55409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55410 $as_echo_n "checking for isnanl declaration... " >&6; }
55411 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55412 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55413 $as_echo_n "(cached) " >&6
55414 else
55417 ac_ext=cpp
55418 ac_cpp='$CXXCPP $CPPFLAGS'
55419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55424 /* end confdefs.h. */
55425 #include <math.h>
55426 #ifdef HAVE_IEEEFP_H
55427 #include <ieeefp.h>
55428 #endif
55431 main ()
55433 isnanl(0);
55435 return 0;
55437 _ACEOF
55438 if ac_fn_cxx_try_compile "$LINENO"; then :
55439 glibcxx_cv_func_isnanl_use=yes
55440 else
55441 glibcxx_cv_func_isnanl_use=no
55443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55444 ac_ext=c
55445 ac_cpp='$CPP $CPPFLAGS'
55446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55455 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55457 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55458 for ac_func in isnanl
55459 do :
55460 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55461 if test "x$ac_cv_func_isnanl" = x""yes; then :
55462 cat >>confdefs.h <<_ACEOF
55463 #define HAVE_ISNANL 1
55464 _ACEOF
55467 done
55469 else
55471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55472 $as_echo_n "checking for _isnanl declaration... " >&6; }
55473 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55474 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55475 $as_echo_n "(cached) " >&6
55476 else
55479 ac_ext=cpp
55480 ac_cpp='$CXXCPP $CPPFLAGS'
55481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55486 /* end confdefs.h. */
55487 #include <math.h>
55488 #ifdef HAVE_IEEEFP_H
55489 #include <ieeefp.h>
55490 #endif
55493 main ()
55495 _isnanl(0);
55497 return 0;
55499 _ACEOF
55500 if ac_fn_cxx_try_compile "$LINENO"; then :
55501 glibcxx_cv_func__isnanl_use=yes
55502 else
55503 glibcxx_cv_func__isnanl_use=no
55505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55506 ac_ext=c
55507 ac_cpp='$CPP $CPPFLAGS'
55508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55517 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55519 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55520 for ac_func in _isnanl
55521 do :
55522 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55523 if test "x$ac_cv_func__isnanl" = x""yes; then :
55524 cat >>confdefs.h <<_ACEOF
55525 #define HAVE__ISNANL 1
55526 _ACEOF
55529 done
55538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55539 $as_echo_n "checking for isinfl declaration... " >&6; }
55540 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55541 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55542 $as_echo_n "(cached) " >&6
55543 else
55546 ac_ext=cpp
55547 ac_cpp='$CXXCPP $CPPFLAGS'
55548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55553 /* end confdefs.h. */
55554 #include <math.h>
55555 #ifdef HAVE_IEEEFP_H
55556 #include <ieeefp.h>
55557 #endif
55560 main ()
55562 isinfl(0);
55564 return 0;
55566 _ACEOF
55567 if ac_fn_cxx_try_compile "$LINENO"; then :
55568 glibcxx_cv_func_isinfl_use=yes
55569 else
55570 glibcxx_cv_func_isinfl_use=no
55572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55573 ac_ext=c
55574 ac_cpp='$CPP $CPPFLAGS'
55575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55584 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55586 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55587 for ac_func in isinfl
55588 do :
55589 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55590 if test "x$ac_cv_func_isinfl" = x""yes; then :
55591 cat >>confdefs.h <<_ACEOF
55592 #define HAVE_ISINFL 1
55593 _ACEOF
55596 done
55598 else
55600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55601 $as_echo_n "checking for _isinfl declaration... " >&6; }
55602 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55603 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55604 $as_echo_n "(cached) " >&6
55605 else
55608 ac_ext=cpp
55609 ac_cpp='$CXXCPP $CPPFLAGS'
55610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55615 /* end confdefs.h. */
55616 #include <math.h>
55617 #ifdef HAVE_IEEEFP_H
55618 #include <ieeefp.h>
55619 #endif
55622 main ()
55624 _isinfl(0);
55626 return 0;
55628 _ACEOF
55629 if ac_fn_cxx_try_compile "$LINENO"; then :
55630 glibcxx_cv_func__isinfl_use=yes
55631 else
55632 glibcxx_cv_func__isinfl_use=no
55634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55635 ac_ext=c
55636 ac_cpp='$CPP $CPPFLAGS'
55637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55646 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55648 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55649 for ac_func in _isinfl
55650 do :
55651 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55652 if test "x$ac_cv_func__isinfl" = x""yes; then :
55653 cat >>confdefs.h <<_ACEOF
55654 #define HAVE__ISINFL 1
55655 _ACEOF
55658 done
55667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55668 $as_echo_n "checking for atan2l declaration... " >&6; }
55669 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55670 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55671 $as_echo_n "(cached) " >&6
55672 else
55675 ac_ext=cpp
55676 ac_cpp='$CXXCPP $CPPFLAGS'
55677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55682 /* end confdefs.h. */
55683 #include <math.h>
55685 main ()
55687 atan2l(0, 0);
55689 return 0;
55691 _ACEOF
55692 if ac_fn_cxx_try_compile "$LINENO"; then :
55693 glibcxx_cv_func_atan2l_use=yes
55694 else
55695 glibcxx_cv_func_atan2l_use=no
55697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55698 ac_ext=c
55699 ac_cpp='$CPP $CPPFLAGS'
55700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55709 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55711 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55712 for ac_func in atan2l
55713 do :
55714 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55715 if test "x$ac_cv_func_atan2l" = x""yes; then :
55716 cat >>confdefs.h <<_ACEOF
55717 #define HAVE_ATAN2L 1
55718 _ACEOF
55721 done
55723 else
55725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55726 $as_echo_n "checking for _atan2l declaration... " >&6; }
55727 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55728 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55729 $as_echo_n "(cached) " >&6
55730 else
55733 ac_ext=cpp
55734 ac_cpp='$CXXCPP $CPPFLAGS'
55735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55740 /* end confdefs.h. */
55741 #include <math.h>
55743 main ()
55745 _atan2l(0, 0);
55747 return 0;
55749 _ACEOF
55750 if ac_fn_cxx_try_compile "$LINENO"; then :
55751 glibcxx_cv_func__atan2l_use=yes
55752 else
55753 glibcxx_cv_func__atan2l_use=no
55755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55756 ac_ext=c
55757 ac_cpp='$CPP $CPPFLAGS'
55758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55767 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55769 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55770 for ac_func in _atan2l
55771 do :
55772 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55773 if test "x$ac_cv_func__atan2l" = x""yes; then :
55774 cat >>confdefs.h <<_ACEOF
55775 #define HAVE__ATAN2L 1
55776 _ACEOF
55779 done
55788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55789 $as_echo_n "checking for expl declaration... " >&6; }
55790 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55791 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55792 $as_echo_n "(cached) " >&6
55793 else
55796 ac_ext=cpp
55797 ac_cpp='$CXXCPP $CPPFLAGS'
55798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55803 /* end confdefs.h. */
55804 #include <math.h>
55805 #ifdef HAVE_IEEEFP_H
55806 #include <ieeefp.h>
55807 #endif
55810 main ()
55812 expl(0);
55814 return 0;
55816 _ACEOF
55817 if ac_fn_cxx_try_compile "$LINENO"; then :
55818 glibcxx_cv_func_expl_use=yes
55819 else
55820 glibcxx_cv_func_expl_use=no
55822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55823 ac_ext=c
55824 ac_cpp='$CPP $CPPFLAGS'
55825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55834 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55836 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55837 for ac_func in expl
55838 do :
55839 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55840 if test "x$ac_cv_func_expl" = x""yes; then :
55841 cat >>confdefs.h <<_ACEOF
55842 #define HAVE_EXPL 1
55843 _ACEOF
55846 done
55848 else
55850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55851 $as_echo_n "checking for _expl declaration... " >&6; }
55852 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55853 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55854 $as_echo_n "(cached) " >&6
55855 else
55858 ac_ext=cpp
55859 ac_cpp='$CXXCPP $CPPFLAGS'
55860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55865 /* end confdefs.h. */
55866 #include <math.h>
55867 #ifdef HAVE_IEEEFP_H
55868 #include <ieeefp.h>
55869 #endif
55872 main ()
55874 _expl(0);
55876 return 0;
55878 _ACEOF
55879 if ac_fn_cxx_try_compile "$LINENO"; then :
55880 glibcxx_cv_func__expl_use=yes
55881 else
55882 glibcxx_cv_func__expl_use=no
55884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55885 ac_ext=c
55886 ac_cpp='$CPP $CPPFLAGS'
55887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55896 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55898 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55899 for ac_func in _expl
55900 do :
55901 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55902 if test "x$ac_cv_func__expl" = x""yes; then :
55903 cat >>confdefs.h <<_ACEOF
55904 #define HAVE__EXPL 1
55905 _ACEOF
55908 done
55917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55918 $as_echo_n "checking for fabsl declaration... " >&6; }
55919 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55920 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55921 $as_echo_n "(cached) " >&6
55922 else
55925 ac_ext=cpp
55926 ac_cpp='$CXXCPP $CPPFLAGS'
55927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55932 /* end confdefs.h. */
55933 #include <math.h>
55934 #ifdef HAVE_IEEEFP_H
55935 #include <ieeefp.h>
55936 #endif
55939 main ()
55941 fabsl(0);
55943 return 0;
55945 _ACEOF
55946 if ac_fn_cxx_try_compile "$LINENO"; then :
55947 glibcxx_cv_func_fabsl_use=yes
55948 else
55949 glibcxx_cv_func_fabsl_use=no
55951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55952 ac_ext=c
55953 ac_cpp='$CPP $CPPFLAGS'
55954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55963 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55965 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55966 for ac_func in fabsl
55967 do :
55968 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55969 if test "x$ac_cv_func_fabsl" = x""yes; then :
55970 cat >>confdefs.h <<_ACEOF
55971 #define HAVE_FABSL 1
55972 _ACEOF
55975 done
55977 else
55979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55980 $as_echo_n "checking for _fabsl declaration... " >&6; }
55981 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55982 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55983 $as_echo_n "(cached) " >&6
55984 else
55987 ac_ext=cpp
55988 ac_cpp='$CXXCPP $CPPFLAGS'
55989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55994 /* end confdefs.h. */
55995 #include <math.h>
55996 #ifdef HAVE_IEEEFP_H
55997 #include <ieeefp.h>
55998 #endif
56001 main ()
56003 _fabsl(0);
56005 return 0;
56007 _ACEOF
56008 if ac_fn_cxx_try_compile "$LINENO"; then :
56009 glibcxx_cv_func__fabsl_use=yes
56010 else
56011 glibcxx_cv_func__fabsl_use=no
56013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56014 ac_ext=c
56015 ac_cpp='$CPP $CPPFLAGS'
56016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56025 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56027 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56028 for ac_func in _fabsl
56029 do :
56030 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56031 if test "x$ac_cv_func__fabsl" = x""yes; then :
56032 cat >>confdefs.h <<_ACEOF
56033 #define HAVE__FABSL 1
56034 _ACEOF
56037 done
56046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56047 $as_echo_n "checking for fmodl declaration... " >&6; }
56048 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56049 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56050 $as_echo_n "(cached) " >&6
56051 else
56054 ac_ext=cpp
56055 ac_cpp='$CXXCPP $CPPFLAGS'
56056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56061 /* end confdefs.h. */
56062 #include <math.h>
56064 main ()
56066 fmodl(0, 0);
56068 return 0;
56070 _ACEOF
56071 if ac_fn_cxx_try_compile "$LINENO"; then :
56072 glibcxx_cv_func_fmodl_use=yes
56073 else
56074 glibcxx_cv_func_fmodl_use=no
56076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56077 ac_ext=c
56078 ac_cpp='$CPP $CPPFLAGS'
56079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56088 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56090 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56091 for ac_func in fmodl
56092 do :
56093 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56094 if test "x$ac_cv_func_fmodl" = x""yes; then :
56095 cat >>confdefs.h <<_ACEOF
56096 #define HAVE_FMODL 1
56097 _ACEOF
56100 done
56102 else
56104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56105 $as_echo_n "checking for _fmodl declaration... " >&6; }
56106 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56107 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56108 $as_echo_n "(cached) " >&6
56109 else
56112 ac_ext=cpp
56113 ac_cpp='$CXXCPP $CPPFLAGS'
56114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56119 /* end confdefs.h. */
56120 #include <math.h>
56122 main ()
56124 _fmodl(0, 0);
56126 return 0;
56128 _ACEOF
56129 if ac_fn_cxx_try_compile "$LINENO"; then :
56130 glibcxx_cv_func__fmodl_use=yes
56131 else
56132 glibcxx_cv_func__fmodl_use=no
56134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56135 ac_ext=c
56136 ac_cpp='$CPP $CPPFLAGS'
56137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56146 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56148 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56149 for ac_func in _fmodl
56150 do :
56151 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56152 if test "x$ac_cv_func__fmodl" = x""yes; then :
56153 cat >>confdefs.h <<_ACEOF
56154 #define HAVE__FMODL 1
56155 _ACEOF
56158 done
56167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56168 $as_echo_n "checking for frexpl declaration... " >&6; }
56169 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56170 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56171 $as_echo_n "(cached) " >&6
56172 else
56175 ac_ext=cpp
56176 ac_cpp='$CXXCPP $CPPFLAGS'
56177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56182 /* end confdefs.h. */
56183 #include <math.h>
56185 main ()
56187 frexpl(0, 0);
56189 return 0;
56191 _ACEOF
56192 if ac_fn_cxx_try_compile "$LINENO"; then :
56193 glibcxx_cv_func_frexpl_use=yes
56194 else
56195 glibcxx_cv_func_frexpl_use=no
56197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56198 ac_ext=c
56199 ac_cpp='$CPP $CPPFLAGS'
56200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56209 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56211 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56212 for ac_func in frexpl
56213 do :
56214 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56215 if test "x$ac_cv_func_frexpl" = x""yes; then :
56216 cat >>confdefs.h <<_ACEOF
56217 #define HAVE_FREXPL 1
56218 _ACEOF
56221 done
56223 else
56225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56226 $as_echo_n "checking for _frexpl declaration... " >&6; }
56227 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56228 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56229 $as_echo_n "(cached) " >&6
56230 else
56233 ac_ext=cpp
56234 ac_cpp='$CXXCPP $CPPFLAGS'
56235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56240 /* end confdefs.h. */
56241 #include <math.h>
56243 main ()
56245 _frexpl(0, 0);
56247 return 0;
56249 _ACEOF
56250 if ac_fn_cxx_try_compile "$LINENO"; then :
56251 glibcxx_cv_func__frexpl_use=yes
56252 else
56253 glibcxx_cv_func__frexpl_use=no
56255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56256 ac_ext=c
56257 ac_cpp='$CPP $CPPFLAGS'
56258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56267 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56269 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56270 for ac_func in _frexpl
56271 do :
56272 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56273 if test "x$ac_cv_func__frexpl" = x""yes; then :
56274 cat >>confdefs.h <<_ACEOF
56275 #define HAVE__FREXPL 1
56276 _ACEOF
56279 done
56288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56289 $as_echo_n "checking for hypotl declaration... " >&6; }
56290 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56291 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56292 $as_echo_n "(cached) " >&6
56293 else
56296 ac_ext=cpp
56297 ac_cpp='$CXXCPP $CPPFLAGS'
56298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56303 /* end confdefs.h. */
56304 #include <math.h>
56306 main ()
56308 hypotl(0, 0);
56310 return 0;
56312 _ACEOF
56313 if ac_fn_cxx_try_compile "$LINENO"; then :
56314 glibcxx_cv_func_hypotl_use=yes
56315 else
56316 glibcxx_cv_func_hypotl_use=no
56318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56319 ac_ext=c
56320 ac_cpp='$CPP $CPPFLAGS'
56321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56330 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56332 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56333 for ac_func in hypotl
56334 do :
56335 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56336 if test "x$ac_cv_func_hypotl" = x""yes; then :
56337 cat >>confdefs.h <<_ACEOF
56338 #define HAVE_HYPOTL 1
56339 _ACEOF
56342 done
56344 else
56346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56347 $as_echo_n "checking for _hypotl declaration... " >&6; }
56348 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56349 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56350 $as_echo_n "(cached) " >&6
56351 else
56354 ac_ext=cpp
56355 ac_cpp='$CXXCPP $CPPFLAGS'
56356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56361 /* end confdefs.h. */
56362 #include <math.h>
56364 main ()
56366 _hypotl(0, 0);
56368 return 0;
56370 _ACEOF
56371 if ac_fn_cxx_try_compile "$LINENO"; then :
56372 glibcxx_cv_func__hypotl_use=yes
56373 else
56374 glibcxx_cv_func__hypotl_use=no
56376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56377 ac_ext=c
56378 ac_cpp='$CPP $CPPFLAGS'
56379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56388 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56390 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56391 for ac_func in _hypotl
56392 do :
56393 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56394 if test "x$ac_cv_func__hypotl" = x""yes; then :
56395 cat >>confdefs.h <<_ACEOF
56396 #define HAVE__HYPOTL 1
56397 _ACEOF
56400 done
56409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56410 $as_echo_n "checking for ldexpl declaration... " >&6; }
56411 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56412 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56413 $as_echo_n "(cached) " >&6
56414 else
56417 ac_ext=cpp
56418 ac_cpp='$CXXCPP $CPPFLAGS'
56419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56424 /* end confdefs.h. */
56425 #include <math.h>
56427 main ()
56429 ldexpl(0, 0);
56431 return 0;
56433 _ACEOF
56434 if ac_fn_cxx_try_compile "$LINENO"; then :
56435 glibcxx_cv_func_ldexpl_use=yes
56436 else
56437 glibcxx_cv_func_ldexpl_use=no
56439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56440 ac_ext=c
56441 ac_cpp='$CPP $CPPFLAGS'
56442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56451 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56453 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56454 for ac_func in ldexpl
56455 do :
56456 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56457 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56458 cat >>confdefs.h <<_ACEOF
56459 #define HAVE_LDEXPL 1
56460 _ACEOF
56463 done
56465 else
56467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56468 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56469 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56470 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56471 $as_echo_n "(cached) " >&6
56472 else
56475 ac_ext=cpp
56476 ac_cpp='$CXXCPP $CPPFLAGS'
56477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56482 /* end confdefs.h. */
56483 #include <math.h>
56485 main ()
56487 _ldexpl(0, 0);
56489 return 0;
56491 _ACEOF
56492 if ac_fn_cxx_try_compile "$LINENO"; then :
56493 glibcxx_cv_func__ldexpl_use=yes
56494 else
56495 glibcxx_cv_func__ldexpl_use=no
56497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56498 ac_ext=c
56499 ac_cpp='$CPP $CPPFLAGS'
56500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56509 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56511 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56512 for ac_func in _ldexpl
56513 do :
56514 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56515 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56516 cat >>confdefs.h <<_ACEOF
56517 #define HAVE__LDEXPL 1
56518 _ACEOF
56521 done
56530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56531 $as_echo_n "checking for logl declaration... " >&6; }
56532 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56533 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56534 $as_echo_n "(cached) " >&6
56535 else
56538 ac_ext=cpp
56539 ac_cpp='$CXXCPP $CPPFLAGS'
56540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56545 /* end confdefs.h. */
56546 #include <math.h>
56547 #ifdef HAVE_IEEEFP_H
56548 #include <ieeefp.h>
56549 #endif
56552 main ()
56554 logl(0);
56556 return 0;
56558 _ACEOF
56559 if ac_fn_cxx_try_compile "$LINENO"; then :
56560 glibcxx_cv_func_logl_use=yes
56561 else
56562 glibcxx_cv_func_logl_use=no
56564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56565 ac_ext=c
56566 ac_cpp='$CPP $CPPFLAGS'
56567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56576 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56578 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56579 for ac_func in logl
56580 do :
56581 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56582 if test "x$ac_cv_func_logl" = x""yes; then :
56583 cat >>confdefs.h <<_ACEOF
56584 #define HAVE_LOGL 1
56585 _ACEOF
56588 done
56590 else
56592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56593 $as_echo_n "checking for _logl declaration... " >&6; }
56594 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56595 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56596 $as_echo_n "(cached) " >&6
56597 else
56600 ac_ext=cpp
56601 ac_cpp='$CXXCPP $CPPFLAGS'
56602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56607 /* end confdefs.h. */
56608 #include <math.h>
56609 #ifdef HAVE_IEEEFP_H
56610 #include <ieeefp.h>
56611 #endif
56614 main ()
56616 _logl(0);
56618 return 0;
56620 _ACEOF
56621 if ac_fn_cxx_try_compile "$LINENO"; then :
56622 glibcxx_cv_func__logl_use=yes
56623 else
56624 glibcxx_cv_func__logl_use=no
56626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56627 ac_ext=c
56628 ac_cpp='$CPP $CPPFLAGS'
56629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56638 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56640 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56641 for ac_func in _logl
56642 do :
56643 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56644 if test "x$ac_cv_func__logl" = x""yes; then :
56645 cat >>confdefs.h <<_ACEOF
56646 #define HAVE__LOGL 1
56647 _ACEOF
56650 done
56659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56660 $as_echo_n "checking for log10l declaration... " >&6; }
56661 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56662 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56663 $as_echo_n "(cached) " >&6
56664 else
56667 ac_ext=cpp
56668 ac_cpp='$CXXCPP $CPPFLAGS'
56669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56674 /* end confdefs.h. */
56675 #include <math.h>
56676 #ifdef HAVE_IEEEFP_H
56677 #include <ieeefp.h>
56678 #endif
56681 main ()
56683 log10l(0);
56685 return 0;
56687 _ACEOF
56688 if ac_fn_cxx_try_compile "$LINENO"; then :
56689 glibcxx_cv_func_log10l_use=yes
56690 else
56691 glibcxx_cv_func_log10l_use=no
56693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56694 ac_ext=c
56695 ac_cpp='$CPP $CPPFLAGS'
56696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56705 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56707 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56708 for ac_func in log10l
56709 do :
56710 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56711 if test "x$ac_cv_func_log10l" = x""yes; then :
56712 cat >>confdefs.h <<_ACEOF
56713 #define HAVE_LOG10L 1
56714 _ACEOF
56717 done
56719 else
56721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56722 $as_echo_n "checking for _log10l declaration... " >&6; }
56723 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56724 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56725 $as_echo_n "(cached) " >&6
56726 else
56729 ac_ext=cpp
56730 ac_cpp='$CXXCPP $CPPFLAGS'
56731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56736 /* end confdefs.h. */
56737 #include <math.h>
56738 #ifdef HAVE_IEEEFP_H
56739 #include <ieeefp.h>
56740 #endif
56743 main ()
56745 _log10l(0);
56747 return 0;
56749 _ACEOF
56750 if ac_fn_cxx_try_compile "$LINENO"; then :
56751 glibcxx_cv_func__log10l_use=yes
56752 else
56753 glibcxx_cv_func__log10l_use=no
56755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56756 ac_ext=c
56757 ac_cpp='$CPP $CPPFLAGS'
56758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56767 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56769 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56770 for ac_func in _log10l
56771 do :
56772 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56773 if test "x$ac_cv_func__log10l" = x""yes; then :
56774 cat >>confdefs.h <<_ACEOF
56775 #define HAVE__LOG10L 1
56776 _ACEOF
56779 done
56788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56789 $as_echo_n "checking for modfl declaration... " >&6; }
56790 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56791 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56792 $as_echo_n "(cached) " >&6
56793 else
56796 ac_ext=cpp
56797 ac_cpp='$CXXCPP $CPPFLAGS'
56798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56803 /* end confdefs.h. */
56804 #include <math.h>
56806 main ()
56808 modfl(0, 0);
56810 return 0;
56812 _ACEOF
56813 if ac_fn_cxx_try_compile "$LINENO"; then :
56814 glibcxx_cv_func_modfl_use=yes
56815 else
56816 glibcxx_cv_func_modfl_use=no
56818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56819 ac_ext=c
56820 ac_cpp='$CPP $CPPFLAGS'
56821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56830 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56832 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56833 for ac_func in modfl
56834 do :
56835 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56836 if test "x$ac_cv_func_modfl" = x""yes; then :
56837 cat >>confdefs.h <<_ACEOF
56838 #define HAVE_MODFL 1
56839 _ACEOF
56842 done
56844 else
56846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56847 $as_echo_n "checking for _modfl declaration... " >&6; }
56848 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56849 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56850 $as_echo_n "(cached) " >&6
56851 else
56854 ac_ext=cpp
56855 ac_cpp='$CXXCPP $CPPFLAGS'
56856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56861 /* end confdefs.h. */
56862 #include <math.h>
56864 main ()
56866 _modfl(0, 0);
56868 return 0;
56870 _ACEOF
56871 if ac_fn_cxx_try_compile "$LINENO"; then :
56872 glibcxx_cv_func__modfl_use=yes
56873 else
56874 glibcxx_cv_func__modfl_use=no
56876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56877 ac_ext=c
56878 ac_cpp='$CPP $CPPFLAGS'
56879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56888 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56890 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56891 for ac_func in _modfl
56892 do :
56893 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56894 if test "x$ac_cv_func__modfl" = x""yes; then :
56895 cat >>confdefs.h <<_ACEOF
56896 #define HAVE__MODFL 1
56897 _ACEOF
56900 done
56909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56910 $as_echo_n "checking for powl declaration... " >&6; }
56911 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56912 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56913 $as_echo_n "(cached) " >&6
56914 else
56917 ac_ext=cpp
56918 ac_cpp='$CXXCPP $CPPFLAGS'
56919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56924 /* end confdefs.h. */
56925 #include <math.h>
56927 main ()
56929 powl(0, 0);
56931 return 0;
56933 _ACEOF
56934 if ac_fn_cxx_try_compile "$LINENO"; then :
56935 glibcxx_cv_func_powl_use=yes
56936 else
56937 glibcxx_cv_func_powl_use=no
56939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56940 ac_ext=c
56941 ac_cpp='$CPP $CPPFLAGS'
56942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56951 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56953 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56954 for ac_func in powl
56955 do :
56956 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56957 if test "x$ac_cv_func_powl" = x""yes; then :
56958 cat >>confdefs.h <<_ACEOF
56959 #define HAVE_POWL 1
56960 _ACEOF
56963 done
56965 else
56967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56968 $as_echo_n "checking for _powl declaration... " >&6; }
56969 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56970 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56971 $as_echo_n "(cached) " >&6
56972 else
56975 ac_ext=cpp
56976 ac_cpp='$CXXCPP $CPPFLAGS'
56977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56982 /* end confdefs.h. */
56983 #include <math.h>
56985 main ()
56987 _powl(0, 0);
56989 return 0;
56991 _ACEOF
56992 if ac_fn_cxx_try_compile "$LINENO"; then :
56993 glibcxx_cv_func__powl_use=yes
56994 else
56995 glibcxx_cv_func__powl_use=no
56997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56998 ac_ext=c
56999 ac_cpp='$CPP $CPPFLAGS'
57000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57009 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57011 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57012 for ac_func in _powl
57013 do :
57014 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57015 if test "x$ac_cv_func__powl" = x""yes; then :
57016 cat >>confdefs.h <<_ACEOF
57017 #define HAVE__POWL 1
57018 _ACEOF
57021 done
57030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57031 $as_echo_n "checking for sqrtl declaration... " >&6; }
57032 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57033 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57034 $as_echo_n "(cached) " >&6
57035 else
57038 ac_ext=cpp
57039 ac_cpp='$CXXCPP $CPPFLAGS'
57040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57045 /* end confdefs.h. */
57046 #include <math.h>
57047 #ifdef HAVE_IEEEFP_H
57048 #include <ieeefp.h>
57049 #endif
57052 main ()
57054 sqrtl(0);
57056 return 0;
57058 _ACEOF
57059 if ac_fn_cxx_try_compile "$LINENO"; then :
57060 glibcxx_cv_func_sqrtl_use=yes
57061 else
57062 glibcxx_cv_func_sqrtl_use=no
57064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57065 ac_ext=c
57066 ac_cpp='$CPP $CPPFLAGS'
57067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57076 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57078 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57079 for ac_func in sqrtl
57080 do :
57081 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57082 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57083 cat >>confdefs.h <<_ACEOF
57084 #define HAVE_SQRTL 1
57085 _ACEOF
57088 done
57090 else
57092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57093 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57094 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57095 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57096 $as_echo_n "(cached) " >&6
57097 else
57100 ac_ext=cpp
57101 ac_cpp='$CXXCPP $CPPFLAGS'
57102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57107 /* end confdefs.h. */
57108 #include <math.h>
57109 #ifdef HAVE_IEEEFP_H
57110 #include <ieeefp.h>
57111 #endif
57114 main ()
57116 _sqrtl(0);
57118 return 0;
57120 _ACEOF
57121 if ac_fn_cxx_try_compile "$LINENO"; then :
57122 glibcxx_cv_func__sqrtl_use=yes
57123 else
57124 glibcxx_cv_func__sqrtl_use=no
57126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57127 ac_ext=c
57128 ac_cpp='$CPP $CPPFLAGS'
57129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57138 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57140 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57141 for ac_func in _sqrtl
57142 do :
57143 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57144 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57145 cat >>confdefs.h <<_ACEOF
57146 #define HAVE__SQRTL 1
57147 _ACEOF
57150 done
57159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57160 $as_echo_n "checking for sincosl declaration... " >&6; }
57161 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57162 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57163 $as_echo_n "(cached) " >&6
57164 else
57167 ac_ext=cpp
57168 ac_cpp='$CXXCPP $CPPFLAGS'
57169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57174 /* end confdefs.h. */
57175 #include <math.h>
57177 main ()
57179 sincosl(0, 0, 0);
57181 return 0;
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185 glibcxx_cv_func_sincosl_use=yes
57186 else
57187 glibcxx_cv_func_sincosl_use=no
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190 ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57201 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57203 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57204 for ac_func in sincosl
57205 do :
57206 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57207 if test "x$ac_cv_func_sincosl" = x""yes; then :
57208 cat >>confdefs.h <<_ACEOF
57209 #define HAVE_SINCOSL 1
57210 _ACEOF
57213 done
57215 else
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57218 $as_echo_n "checking for _sincosl declaration... " >&6; }
57219 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57220 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57221 $as_echo_n "(cached) " >&6
57222 else
57225 ac_ext=cpp
57226 ac_cpp='$CXXCPP $CPPFLAGS'
57227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57232 /* end confdefs.h. */
57233 #include <math.h>
57235 main ()
57237 _sincosl(0, 0, 0);
57239 return 0;
57241 _ACEOF
57242 if ac_fn_cxx_try_compile "$LINENO"; then :
57243 glibcxx_cv_func__sincosl_use=yes
57244 else
57245 glibcxx_cv_func__sincosl_use=no
57247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57248 ac_ext=c
57249 ac_cpp='$CPP $CPPFLAGS'
57250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57259 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57261 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57262 for ac_func in _sincosl
57263 do :
57264 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57265 if test "x$ac_cv_func__sincosl" = x""yes; then :
57266 cat >>confdefs.h <<_ACEOF
57267 #define HAVE__SINCOSL 1
57268 _ACEOF
57271 done
57280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57281 $as_echo_n "checking for finitel declaration... " >&6; }
57282 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57283 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57284 $as_echo_n "(cached) " >&6
57285 else
57288 ac_ext=cpp
57289 ac_cpp='$CXXCPP $CPPFLAGS'
57290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57295 /* end confdefs.h. */
57296 #include <math.h>
57297 #ifdef HAVE_IEEEFP_H
57298 #include <ieeefp.h>
57299 #endif
57302 main ()
57304 finitel(0);
57306 return 0;
57308 _ACEOF
57309 if ac_fn_cxx_try_compile "$LINENO"; then :
57310 glibcxx_cv_func_finitel_use=yes
57311 else
57312 glibcxx_cv_func_finitel_use=no
57314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57315 ac_ext=c
57316 ac_cpp='$CPP $CPPFLAGS'
57317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57326 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57328 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57329 for ac_func in finitel
57330 do :
57331 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57332 if test "x$ac_cv_func_finitel" = x""yes; then :
57333 cat >>confdefs.h <<_ACEOF
57334 #define HAVE_FINITEL 1
57335 _ACEOF
57338 done
57340 else
57342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57343 $as_echo_n "checking for _finitel declaration... " >&6; }
57344 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57345 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57346 $as_echo_n "(cached) " >&6
57347 else
57350 ac_ext=cpp
57351 ac_cpp='$CXXCPP $CPPFLAGS'
57352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57357 /* end confdefs.h. */
57358 #include <math.h>
57359 #ifdef HAVE_IEEEFP_H
57360 #include <ieeefp.h>
57361 #endif
57364 main ()
57366 _finitel(0);
57368 return 0;
57370 _ACEOF
57371 if ac_fn_cxx_try_compile "$LINENO"; then :
57372 glibcxx_cv_func__finitel_use=yes
57373 else
57374 glibcxx_cv_func__finitel_use=no
57376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57377 ac_ext=c
57378 ac_cpp='$CPP $CPPFLAGS'
57379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57388 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57390 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57391 for ac_func in _finitel
57392 do :
57393 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57394 if test "x$ac_cv_func__finitel" = x""yes; then :
57395 cat >>confdefs.h <<_ACEOF
57396 #define HAVE__FINITEL 1
57397 _ACEOF
57400 done
57408 LIBS="$ac_save_LIBS"
57409 CXXFLAGS="$ac_save_CXXFLAGS"
57412 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57413 ac_save_CXXFLAGS="$CXXFLAGS"
57414 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57418 $as_echo_n "checking for strtold declaration... " >&6; }
57419 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57420 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57421 $as_echo_n "(cached) " >&6
57422 else
57425 ac_ext=cpp
57426 ac_cpp='$CXXCPP $CPPFLAGS'
57427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57432 /* end confdefs.h. */
57433 #include <stdlib.h>
57435 main ()
57437 strtold(0, 0);
57439 return 0;
57441 _ACEOF
57442 if ac_fn_cxx_try_compile "$LINENO"; then :
57443 glibcxx_cv_func_strtold_use=yes
57444 else
57445 glibcxx_cv_func_strtold_use=no
57447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57448 ac_ext=c
57449 ac_cpp='$CPP $CPPFLAGS'
57450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57459 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57460 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57461 for ac_func in strtold
57462 do :
57463 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57464 if test "x$ac_cv_func_strtold" = x""yes; then :
57465 cat >>confdefs.h <<_ACEOF
57466 #define HAVE_STRTOLD 1
57467 _ACEOF
57470 done
57477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57478 $as_echo_n "checking for strtof declaration... " >&6; }
57479 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57480 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57481 $as_echo_n "(cached) " >&6
57482 else
57485 ac_ext=cpp
57486 ac_cpp='$CXXCPP $CPPFLAGS'
57487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57492 /* end confdefs.h. */
57493 #include <stdlib.h>
57495 main ()
57497 strtof(0, 0);
57499 return 0;
57501 _ACEOF
57502 if ac_fn_cxx_try_compile "$LINENO"; then :
57503 glibcxx_cv_func_strtof_use=yes
57504 else
57505 glibcxx_cv_func_strtof_use=no
57507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57508 ac_ext=c
57509 ac_cpp='$CPP $CPPFLAGS'
57510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57519 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57520 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57521 for ac_func in strtof
57522 do :
57523 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57524 if test "x$ac_cv_func_strtof" = x""yes; then :
57525 cat >>confdefs.h <<_ACEOF
57526 #define HAVE_STRTOF 1
57527 _ACEOF
57530 done
57537 CXXFLAGS="$ac_save_CXXFLAGS"
57540 *-netbsd*)
57541 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57544 # If we're not using GNU ld, then there's no point in even trying these
57545 # tests. Check for that first. We should have already tested for gld
57546 # by now (in libtool), but require it now just to be safe...
57547 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57548 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57552 # The name set by libtool depends on the version of libtool. Shame on us
57553 # for depending on an impl detail, but c'est la vie. Older versions used
57554 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57555 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57556 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57557 # set (hence we're using an older libtool), then set it.
57558 if test x${with_gnu_ld+set} != xset; then
57559 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57560 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57561 with_gnu_ld=no
57562 else
57563 with_gnu_ld=$ac_cv_prog_gnu_ld
57567 # Start by getting the version number. I think the libtool test already
57568 # does some of this, but throws away the result.
57569 glibcxx_ld_is_gold=no
57570 if test x"$with_gnu_ld" = x"yes"; then
57571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57572 $as_echo_n "checking for ld version... " >&6; }
57574 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57575 glibcxx_ld_is_gold=yes
57577 ldver=`$LD --version 2>/dev/null |
57578 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'`
57580 glibcxx_gnu_ld_version=`echo $ldver | \
57581 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57583 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57586 # Set --gc-sections.
57587 glibcxx_have_gc_sections=no
57588 if test "$glibcxx_ld_is_gold" = "yes"; then
57589 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57590 glibcxx_have_gc_sections=yes
57592 else
57593 glibcxx_gcsections_min_ld=21602
57594 if test x"$with_gnu_ld" = x"yes" &&
57595 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57596 glibcxx_have_gc_sections=yes
57599 if test "$glibcxx_have_gc_sections" = "yes"; then
57600 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57601 # NB: This flag only works reliably after 2.16.1. Configure tests
57602 # for this are difficult, so hard wire a value that should work.
57604 ac_test_CFLAGS="${CFLAGS+set}"
57605 ac_save_CFLAGS="$CFLAGS"
57606 CFLAGS='-Wl,--gc-sections'
57608 # Check for -Wl,--gc-sections
57609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57610 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57611 if test x$gcc_no_link = xyes; then
57612 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57615 /* end confdefs.h. */
57616 int one(void) { return 1; }
57617 int two(void) { return 2; }
57620 main ()
57622 two();
57624 return 0;
57626 _ACEOF
57627 if ac_fn_c_try_link "$LINENO"; then :
57628 ac_gcsections=yes
57629 else
57630 ac_gcsections=no
57632 rm -f core conftest.err conftest.$ac_objext \
57633 conftest$ac_exeext conftest.$ac_ext
57634 if test "$ac_gcsections" = "yes"; then
57635 rm -f conftest.c
57636 touch conftest.c
57637 if $CC -c conftest.c; then
57638 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57639 grep "Warning: gc-sections option ignored" > /dev/null; then
57640 ac_gcsections=no
57643 rm -f conftest.c conftest.o conftest
57645 if test "$ac_gcsections" = "yes"; then
57646 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57649 $as_echo "$ac_gcsections" >&6; }
57651 if test "$ac_test_CFLAGS" = set; then
57652 CFLAGS="$ac_save_CFLAGS"
57653 else
57654 # this is the suspicious part
57655 CFLAGS=''
57659 # Set -z,relro.
57660 # Note this is only for shared objects.
57661 ac_ld_relro=no
57662 if test x"$with_gnu_ld" = x"yes"; then
57663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57664 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57665 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57666 if test -n "$cxx_z_relo"; then
57667 OPT_LDFLAGS="-Wl,-z,relro"
57668 ac_ld_relro=yes
57670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57671 $as_echo "$ac_ld_relro" >&6; }
57674 # Set linker optimization flags.
57675 if test x"$with_gnu_ld" = x"yes"; then
57676 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57682 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57684 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57686 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57688 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57690 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57692 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57694 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57696 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57698 if test x"long_double_math_on_this_cpu" = x"yes"; then
57699 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57701 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57703 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57707 *-qnx6.1* | *-qnx6.2*)
57708 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57711 # If we're not using GNU ld, then there's no point in even trying these
57712 # tests. Check for that first. We should have already tested for gld
57713 # by now (in libtool), but require it now just to be safe...
57714 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57715 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57719 # The name set by libtool depends on the version of libtool. Shame on us
57720 # for depending on an impl detail, but c'est la vie. Older versions used
57721 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57722 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57723 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57724 # set (hence we're using an older libtool), then set it.
57725 if test x${with_gnu_ld+set} != xset; then
57726 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57727 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57728 with_gnu_ld=no
57729 else
57730 with_gnu_ld=$ac_cv_prog_gnu_ld
57734 # Start by getting the version number. I think the libtool test already
57735 # does some of this, but throws away the result.
57736 glibcxx_ld_is_gold=no
57737 if test x"$with_gnu_ld" = x"yes"; then
57738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57739 $as_echo_n "checking for ld version... " >&6; }
57741 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57742 glibcxx_ld_is_gold=yes
57744 ldver=`$LD --version 2>/dev/null |
57745 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'`
57747 glibcxx_gnu_ld_version=`echo $ldver | \
57748 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57750 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57753 # Set --gc-sections.
57754 glibcxx_have_gc_sections=no
57755 if test "$glibcxx_ld_is_gold" = "yes"; then
57756 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57757 glibcxx_have_gc_sections=yes
57759 else
57760 glibcxx_gcsections_min_ld=21602
57761 if test x"$with_gnu_ld" = x"yes" &&
57762 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57763 glibcxx_have_gc_sections=yes
57766 if test "$glibcxx_have_gc_sections" = "yes"; then
57767 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57768 # NB: This flag only works reliably after 2.16.1. Configure tests
57769 # for this are difficult, so hard wire a value that should work.
57771 ac_test_CFLAGS="${CFLAGS+set}"
57772 ac_save_CFLAGS="$CFLAGS"
57773 CFLAGS='-Wl,--gc-sections'
57775 # Check for -Wl,--gc-sections
57776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57777 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57778 if test x$gcc_no_link = xyes; then
57779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57782 /* end confdefs.h. */
57783 int one(void) { return 1; }
57784 int two(void) { return 2; }
57787 main ()
57789 two();
57791 return 0;
57793 _ACEOF
57794 if ac_fn_c_try_link "$LINENO"; then :
57795 ac_gcsections=yes
57796 else
57797 ac_gcsections=no
57799 rm -f core conftest.err conftest.$ac_objext \
57800 conftest$ac_exeext conftest.$ac_ext
57801 if test "$ac_gcsections" = "yes"; then
57802 rm -f conftest.c
57803 touch conftest.c
57804 if $CC -c conftest.c; then
57805 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57806 grep "Warning: gc-sections option ignored" > /dev/null; then
57807 ac_gcsections=no
57810 rm -f conftest.c conftest.o conftest
57812 if test "$ac_gcsections" = "yes"; then
57813 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57816 $as_echo "$ac_gcsections" >&6; }
57818 if test "$ac_test_CFLAGS" = set; then
57819 CFLAGS="$ac_save_CFLAGS"
57820 else
57821 # this is the suspicious part
57822 CFLAGS=''
57826 # Set -z,relro.
57827 # Note this is only for shared objects.
57828 ac_ld_relro=no
57829 if test x"$with_gnu_ld" = x"yes"; then
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57831 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57832 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57833 if test -n "$cxx_z_relo"; then
57834 OPT_LDFLAGS="-Wl,-z,relro"
57835 ac_ld_relro=yes
57837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57838 $as_echo "$ac_ld_relro" >&6; }
57841 # Set linker optimization flags.
57842 if test x"$with_gnu_ld" = x"yes"; then
57843 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57849 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57851 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57853 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57855 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57857 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57859 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57861 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57863 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57865 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57867 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57869 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57871 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57874 *-rtems*)
57876 # All these tests are for C++; save the language and the compiler flags.
57877 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57878 # found in GLIBCXX_CONFIGURE.
57880 ac_ext=cpp
57881 ac_cpp='$CXXCPP $CPPFLAGS'
57882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57886 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57887 ac_save_CXXFLAGS="$CXXFLAGS"
57889 # Check for maintainer-mode bits.
57890 if test x"$USE_MAINTAINER_MODE" = xno; then
57891 WERROR=''
57892 else
57893 WERROR='-Werror'
57896 # Check for -ffunction-sections -fdata-sections
57897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57898 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57899 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57901 /* end confdefs.h. */
57902 int foo; void bar() { };
57904 main ()
57908 return 0;
57910 _ACEOF
57911 if ac_fn_cxx_try_compile "$LINENO"; then :
57912 ac_fdsections=yes
57913 else
57914 ac_fdsections=no
57916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57917 if test "$ac_test_CXXFLAGS" = set; then
57918 CXXFLAGS="$ac_save_CXXFLAGS"
57919 else
57920 # this is the suspicious part
57921 CXXFLAGS=''
57923 if test x"$ac_fdsections" = x"yes"; then
57924 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57927 $as_echo "$ac_fdsections" >&6; }
57929 ac_ext=c
57930 ac_cpp='$CPP $CPPFLAGS'
57931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57939 # If we're not using GNU ld, then there's no point in even trying these
57940 # tests. Check for that first. We should have already tested for gld
57941 # by now (in libtool), but require it now just to be safe...
57942 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57943 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57947 # The name set by libtool depends on the version of libtool. Shame on us
57948 # for depending on an impl detail, but c'est la vie. Older versions used
57949 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57950 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57951 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57952 # set (hence we're using an older libtool), then set it.
57953 if test x${with_gnu_ld+set} != xset; then
57954 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57955 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57956 with_gnu_ld=no
57957 else
57958 with_gnu_ld=$ac_cv_prog_gnu_ld
57962 # Start by getting the version number. I think the libtool test already
57963 # does some of this, but throws away the result.
57964 glibcxx_ld_is_gold=no
57965 if test x"$with_gnu_ld" = x"yes"; then
57966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57967 $as_echo_n "checking for ld version... " >&6; }
57969 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57970 glibcxx_ld_is_gold=yes
57972 ldver=`$LD --version 2>/dev/null |
57973 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'`
57975 glibcxx_gnu_ld_version=`echo $ldver | \
57976 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57978 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57981 # Set --gc-sections.
57982 glibcxx_have_gc_sections=no
57983 if test "$glibcxx_ld_is_gold" = "yes"; then
57984 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57985 glibcxx_have_gc_sections=yes
57987 else
57988 glibcxx_gcsections_min_ld=21602
57989 if test x"$with_gnu_ld" = x"yes" &&
57990 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57991 glibcxx_have_gc_sections=yes
57994 if test "$glibcxx_have_gc_sections" = "yes"; then
57995 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57996 # NB: This flag only works reliably after 2.16.1. Configure tests
57997 # for this are difficult, so hard wire a value that should work.
57999 ac_test_CFLAGS="${CFLAGS+set}"
58000 ac_save_CFLAGS="$CFLAGS"
58001 CFLAGS='-Wl,--gc-sections'
58003 # Check for -Wl,--gc-sections
58004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58005 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58006 if test x$gcc_no_link = xyes; then
58007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58010 /* end confdefs.h. */
58011 int one(void) { return 1; }
58012 int two(void) { return 2; }
58015 main ()
58017 two();
58019 return 0;
58021 _ACEOF
58022 if ac_fn_c_try_link "$LINENO"; then :
58023 ac_gcsections=yes
58024 else
58025 ac_gcsections=no
58027 rm -f core conftest.err conftest.$ac_objext \
58028 conftest$ac_exeext conftest.$ac_ext
58029 if test "$ac_gcsections" = "yes"; then
58030 rm -f conftest.c
58031 touch conftest.c
58032 if $CC -c conftest.c; then
58033 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58034 grep "Warning: gc-sections option ignored" > /dev/null; then
58035 ac_gcsections=no
58038 rm -f conftest.c conftest.o conftest
58040 if test "$ac_gcsections" = "yes"; then
58041 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58044 $as_echo "$ac_gcsections" >&6; }
58046 if test "$ac_test_CFLAGS" = set; then
58047 CFLAGS="$ac_save_CFLAGS"
58048 else
58049 # this is the suspicious part
58050 CFLAGS=''
58054 # Set -z,relro.
58055 # Note this is only for shared objects.
58056 ac_ld_relro=no
58057 if test x"$with_gnu_ld" = x"yes"; then
58058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58059 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58060 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58061 if test -n "$cxx_z_relo"; then
58062 OPT_LDFLAGS="-Wl,-z,relro"
58063 ac_ld_relro=yes
58065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58066 $as_echo "$ac_ld_relro" >&6; }
58069 # Set linker optimization flags.
58070 if test x"$with_gnu_ld" = x"yes"; then
58071 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58078 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58079 ac_save_CXXFLAGS="$CXXFLAGS"
58080 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58083 $as_echo_n "checking for sin in -lm... " >&6; }
58084 if test "${ac_cv_lib_m_sin+set}" = set; then :
58085 $as_echo_n "(cached) " >&6
58086 else
58087 ac_check_lib_save_LIBS=$LIBS
58088 LIBS="-lm $LIBS"
58089 if test x$gcc_no_link = xyes; then
58090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58093 /* end confdefs.h. */
58095 /* Override any GCC internal prototype to avoid an error.
58096 Use char because int might match the return type of a GCC
58097 builtin and then its argument prototype would still apply. */
58098 #ifdef __cplusplus
58099 extern "C"
58100 #endif
58101 char sin ();
58103 main ()
58105 return sin ();
58107 return 0;
58109 _ACEOF
58110 if ac_fn_c_try_link "$LINENO"; then :
58111 ac_cv_lib_m_sin=yes
58112 else
58113 ac_cv_lib_m_sin=no
58115 rm -f core conftest.err conftest.$ac_objext \
58116 conftest$ac_exeext conftest.$ac_ext
58117 LIBS=$ac_check_lib_save_LIBS
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58120 $as_echo "$ac_cv_lib_m_sin" >&6; }
58121 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58122 libm="-lm"
58125 ac_save_LIBS="$LIBS"
58126 LIBS="$LIBS $libm"
58130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58131 $as_echo_n "checking for isinf declaration... " >&6; }
58132 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58133 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58134 $as_echo_n "(cached) " >&6
58135 else
58138 ac_ext=cpp
58139 ac_cpp='$CXXCPP $CPPFLAGS'
58140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58145 /* end confdefs.h. */
58146 #include <math.h>
58147 #ifdef HAVE_IEEEFP_H
58148 #include <ieeefp.h>
58149 #endif
58152 main ()
58154 isinf(0);
58156 return 0;
58158 _ACEOF
58159 if ac_fn_cxx_try_compile "$LINENO"; then :
58160 glibcxx_cv_func_isinf_use=yes
58161 else
58162 glibcxx_cv_func_isinf_use=no
58164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58165 ac_ext=c
58166 ac_cpp='$CPP $CPPFLAGS'
58167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58176 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58178 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58179 for ac_func in isinf
58180 do :
58181 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58182 if test "x$ac_cv_func_isinf" = x""yes; then :
58183 cat >>confdefs.h <<_ACEOF
58184 #define HAVE_ISINF 1
58185 _ACEOF
58188 done
58190 else
58192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58193 $as_echo_n "checking for _isinf declaration... " >&6; }
58194 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58195 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58196 $as_echo_n "(cached) " >&6
58197 else
58200 ac_ext=cpp
58201 ac_cpp='$CXXCPP $CPPFLAGS'
58202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58207 /* end confdefs.h. */
58208 #include <math.h>
58209 #ifdef HAVE_IEEEFP_H
58210 #include <ieeefp.h>
58211 #endif
58214 main ()
58216 _isinf(0);
58218 return 0;
58220 _ACEOF
58221 if ac_fn_cxx_try_compile "$LINENO"; then :
58222 glibcxx_cv_func__isinf_use=yes
58223 else
58224 glibcxx_cv_func__isinf_use=no
58226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58227 ac_ext=c
58228 ac_cpp='$CPP $CPPFLAGS'
58229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58238 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58240 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58241 for ac_func in _isinf
58242 do :
58243 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58244 if test "x$ac_cv_func__isinf" = x""yes; then :
58245 cat >>confdefs.h <<_ACEOF
58246 #define HAVE__ISINF 1
58247 _ACEOF
58250 done
58259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58260 $as_echo_n "checking for isnan declaration... " >&6; }
58261 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58262 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58263 $as_echo_n "(cached) " >&6
58264 else
58267 ac_ext=cpp
58268 ac_cpp='$CXXCPP $CPPFLAGS'
58269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58274 /* end confdefs.h. */
58275 #include <math.h>
58276 #ifdef HAVE_IEEEFP_H
58277 #include <ieeefp.h>
58278 #endif
58281 main ()
58283 isnan(0);
58285 return 0;
58287 _ACEOF
58288 if ac_fn_cxx_try_compile "$LINENO"; then :
58289 glibcxx_cv_func_isnan_use=yes
58290 else
58291 glibcxx_cv_func_isnan_use=no
58293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58294 ac_ext=c
58295 ac_cpp='$CPP $CPPFLAGS'
58296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58305 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58307 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58308 for ac_func in isnan
58309 do :
58310 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58311 if test "x$ac_cv_func_isnan" = x""yes; then :
58312 cat >>confdefs.h <<_ACEOF
58313 #define HAVE_ISNAN 1
58314 _ACEOF
58317 done
58319 else
58321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58322 $as_echo_n "checking for _isnan declaration... " >&6; }
58323 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58324 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58325 $as_echo_n "(cached) " >&6
58326 else
58329 ac_ext=cpp
58330 ac_cpp='$CXXCPP $CPPFLAGS'
58331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58336 /* end confdefs.h. */
58337 #include <math.h>
58338 #ifdef HAVE_IEEEFP_H
58339 #include <ieeefp.h>
58340 #endif
58343 main ()
58345 _isnan(0);
58347 return 0;
58349 _ACEOF
58350 if ac_fn_cxx_try_compile "$LINENO"; then :
58351 glibcxx_cv_func__isnan_use=yes
58352 else
58353 glibcxx_cv_func__isnan_use=no
58355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58356 ac_ext=c
58357 ac_cpp='$CPP $CPPFLAGS'
58358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58367 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58369 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58370 for ac_func in _isnan
58371 do :
58372 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58373 if test "x$ac_cv_func__isnan" = x""yes; then :
58374 cat >>confdefs.h <<_ACEOF
58375 #define HAVE__ISNAN 1
58376 _ACEOF
58379 done
58388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58389 $as_echo_n "checking for finite declaration... " >&6; }
58390 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58391 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58392 $as_echo_n "(cached) " >&6
58393 else
58396 ac_ext=cpp
58397 ac_cpp='$CXXCPP $CPPFLAGS'
58398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58403 /* end confdefs.h. */
58404 #include <math.h>
58405 #ifdef HAVE_IEEEFP_H
58406 #include <ieeefp.h>
58407 #endif
58410 main ()
58412 finite(0);
58414 return 0;
58416 _ACEOF
58417 if ac_fn_cxx_try_compile "$LINENO"; then :
58418 glibcxx_cv_func_finite_use=yes
58419 else
58420 glibcxx_cv_func_finite_use=no
58422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58423 ac_ext=c
58424 ac_cpp='$CPP $CPPFLAGS'
58425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58434 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58436 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58437 for ac_func in finite
58438 do :
58439 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58440 if test "x$ac_cv_func_finite" = x""yes; then :
58441 cat >>confdefs.h <<_ACEOF
58442 #define HAVE_FINITE 1
58443 _ACEOF
58446 done
58448 else
58450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58451 $as_echo_n "checking for _finite declaration... " >&6; }
58452 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58453 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58454 $as_echo_n "(cached) " >&6
58455 else
58458 ac_ext=cpp
58459 ac_cpp='$CXXCPP $CPPFLAGS'
58460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58465 /* end confdefs.h. */
58466 #include <math.h>
58467 #ifdef HAVE_IEEEFP_H
58468 #include <ieeefp.h>
58469 #endif
58472 main ()
58474 _finite(0);
58476 return 0;
58478 _ACEOF
58479 if ac_fn_cxx_try_compile "$LINENO"; then :
58480 glibcxx_cv_func__finite_use=yes
58481 else
58482 glibcxx_cv_func__finite_use=no
58484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58485 ac_ext=c
58486 ac_cpp='$CPP $CPPFLAGS'
58487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58496 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58498 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58499 for ac_func in _finite
58500 do :
58501 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58502 if test "x$ac_cv_func__finite" = x""yes; then :
58503 cat >>confdefs.h <<_ACEOF
58504 #define HAVE__FINITE 1
58505 _ACEOF
58508 done
58517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58518 $as_echo_n "checking for sincos declaration... " >&6; }
58519 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58520 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58521 $as_echo_n "(cached) " >&6
58522 else
58525 ac_ext=cpp
58526 ac_cpp='$CXXCPP $CPPFLAGS'
58527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58532 /* end confdefs.h. */
58533 #include <math.h>
58535 main ()
58537 sincos(0, 0, 0);
58539 return 0;
58541 _ACEOF
58542 if ac_fn_cxx_try_compile "$LINENO"; then :
58543 glibcxx_cv_func_sincos_use=yes
58544 else
58545 glibcxx_cv_func_sincos_use=no
58547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58548 ac_ext=c
58549 ac_cpp='$CPP $CPPFLAGS'
58550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58559 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58561 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58562 for ac_func in sincos
58563 do :
58564 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58565 if test "x$ac_cv_func_sincos" = x""yes; then :
58566 cat >>confdefs.h <<_ACEOF
58567 #define HAVE_SINCOS 1
58568 _ACEOF
58571 done
58573 else
58575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58576 $as_echo_n "checking for _sincos declaration... " >&6; }
58577 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58578 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58579 $as_echo_n "(cached) " >&6
58580 else
58583 ac_ext=cpp
58584 ac_cpp='$CXXCPP $CPPFLAGS'
58585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58590 /* end confdefs.h. */
58591 #include <math.h>
58593 main ()
58595 _sincos(0, 0, 0);
58597 return 0;
58599 _ACEOF
58600 if ac_fn_cxx_try_compile "$LINENO"; then :
58601 glibcxx_cv_func__sincos_use=yes
58602 else
58603 glibcxx_cv_func__sincos_use=no
58605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58606 ac_ext=c
58607 ac_cpp='$CPP $CPPFLAGS'
58608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58617 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58619 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58620 for ac_func in _sincos
58621 do :
58622 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58623 if test "x$ac_cv_func__sincos" = x""yes; then :
58624 cat >>confdefs.h <<_ACEOF
58625 #define HAVE__SINCOS 1
58626 _ACEOF
58629 done
58638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58639 $as_echo_n "checking for fpclass declaration... " >&6; }
58640 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58641 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58642 $as_echo_n "(cached) " >&6
58643 else
58646 ac_ext=cpp
58647 ac_cpp='$CXXCPP $CPPFLAGS'
58648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58653 /* end confdefs.h. */
58654 #include <math.h>
58655 #ifdef HAVE_IEEEFP_H
58656 #include <ieeefp.h>
58657 #endif
58660 main ()
58662 fpclass(0);
58664 return 0;
58666 _ACEOF
58667 if ac_fn_cxx_try_compile "$LINENO"; then :
58668 glibcxx_cv_func_fpclass_use=yes
58669 else
58670 glibcxx_cv_func_fpclass_use=no
58672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58673 ac_ext=c
58674 ac_cpp='$CPP $CPPFLAGS'
58675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58684 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58686 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58687 for ac_func in fpclass
58688 do :
58689 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58690 if test "x$ac_cv_func_fpclass" = x""yes; then :
58691 cat >>confdefs.h <<_ACEOF
58692 #define HAVE_FPCLASS 1
58693 _ACEOF
58696 done
58698 else
58700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58701 $as_echo_n "checking for _fpclass declaration... " >&6; }
58702 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58703 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58704 $as_echo_n "(cached) " >&6
58705 else
58708 ac_ext=cpp
58709 ac_cpp='$CXXCPP $CPPFLAGS'
58710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58715 /* end confdefs.h. */
58716 #include <math.h>
58717 #ifdef HAVE_IEEEFP_H
58718 #include <ieeefp.h>
58719 #endif
58722 main ()
58724 _fpclass(0);
58726 return 0;
58728 _ACEOF
58729 if ac_fn_cxx_try_compile "$LINENO"; then :
58730 glibcxx_cv_func__fpclass_use=yes
58731 else
58732 glibcxx_cv_func__fpclass_use=no
58734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58735 ac_ext=c
58736 ac_cpp='$CPP $CPPFLAGS'
58737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58746 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58748 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58749 for ac_func in _fpclass
58750 do :
58751 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58752 if test "x$ac_cv_func__fpclass" = x""yes; then :
58753 cat >>confdefs.h <<_ACEOF
58754 #define HAVE__FPCLASS 1
58755 _ACEOF
58758 done
58767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58768 $as_echo_n "checking for qfpclass declaration... " >&6; }
58769 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58770 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58771 $as_echo_n "(cached) " >&6
58772 else
58775 ac_ext=cpp
58776 ac_cpp='$CXXCPP $CPPFLAGS'
58777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58782 /* end confdefs.h. */
58783 #include <math.h>
58784 #ifdef HAVE_IEEEFP_H
58785 #include <ieeefp.h>
58786 #endif
58789 main ()
58791 qfpclass(0);
58793 return 0;
58795 _ACEOF
58796 if ac_fn_cxx_try_compile "$LINENO"; then :
58797 glibcxx_cv_func_qfpclass_use=yes
58798 else
58799 glibcxx_cv_func_qfpclass_use=no
58801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58802 ac_ext=c
58803 ac_cpp='$CPP $CPPFLAGS'
58804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58813 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58815 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58816 for ac_func in qfpclass
58817 do :
58818 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58819 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58820 cat >>confdefs.h <<_ACEOF
58821 #define HAVE_QFPCLASS 1
58822 _ACEOF
58825 done
58827 else
58829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58830 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58831 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58832 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58833 $as_echo_n "(cached) " >&6
58834 else
58837 ac_ext=cpp
58838 ac_cpp='$CXXCPP $CPPFLAGS'
58839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58844 /* end confdefs.h. */
58845 #include <math.h>
58846 #ifdef HAVE_IEEEFP_H
58847 #include <ieeefp.h>
58848 #endif
58851 main ()
58853 _qfpclass(0);
58855 return 0;
58857 _ACEOF
58858 if ac_fn_cxx_try_compile "$LINENO"; then :
58859 glibcxx_cv_func__qfpclass_use=yes
58860 else
58861 glibcxx_cv_func__qfpclass_use=no
58863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58864 ac_ext=c
58865 ac_cpp='$CPP $CPPFLAGS'
58866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58875 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58877 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58878 for ac_func in _qfpclass
58879 do :
58880 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58881 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58882 cat >>confdefs.h <<_ACEOF
58883 #define HAVE__QFPCLASS 1
58884 _ACEOF
58887 done
58896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58897 $as_echo_n "checking for hypot declaration... " >&6; }
58898 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58899 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58900 $as_echo_n "(cached) " >&6
58901 else
58904 ac_ext=cpp
58905 ac_cpp='$CXXCPP $CPPFLAGS'
58906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58911 /* end confdefs.h. */
58912 #include <math.h>
58914 main ()
58916 hypot(0, 0);
58918 return 0;
58920 _ACEOF
58921 if ac_fn_cxx_try_compile "$LINENO"; then :
58922 glibcxx_cv_func_hypot_use=yes
58923 else
58924 glibcxx_cv_func_hypot_use=no
58926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58927 ac_ext=c
58928 ac_cpp='$CPP $CPPFLAGS'
58929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58938 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58940 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58941 for ac_func in hypot
58942 do :
58943 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58944 if test "x$ac_cv_func_hypot" = x""yes; then :
58945 cat >>confdefs.h <<_ACEOF
58946 #define HAVE_HYPOT 1
58947 _ACEOF
58950 done
58952 else
58954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58955 $as_echo_n "checking for _hypot declaration... " >&6; }
58956 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58957 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58958 $as_echo_n "(cached) " >&6
58959 else
58962 ac_ext=cpp
58963 ac_cpp='$CXXCPP $CPPFLAGS'
58964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58969 /* end confdefs.h. */
58970 #include <math.h>
58972 main ()
58974 _hypot(0, 0);
58976 return 0;
58978 _ACEOF
58979 if ac_fn_cxx_try_compile "$LINENO"; then :
58980 glibcxx_cv_func__hypot_use=yes
58981 else
58982 glibcxx_cv_func__hypot_use=no
58984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58985 ac_ext=c
58986 ac_cpp='$CPP $CPPFLAGS'
58987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58996 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58998 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58999 for ac_func in _hypot
59000 do :
59001 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59002 if test "x$ac_cv_func__hypot" = x""yes; then :
59003 cat >>confdefs.h <<_ACEOF
59004 #define HAVE__HYPOT 1
59005 _ACEOF
59008 done
59017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59018 $as_echo_n "checking for float trig functions... " >&6; }
59019 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59020 $as_echo_n "(cached) " >&6
59021 else
59024 ac_ext=cpp
59025 ac_cpp='$CXXCPP $CPPFLAGS'
59026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59031 /* end confdefs.h. */
59032 #include <math.h>
59034 main ()
59036 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59038 return 0;
59040 _ACEOF
59041 if ac_fn_cxx_try_compile "$LINENO"; then :
59042 glibcxx_cv_func_float_trig_use=yes
59043 else
59044 glibcxx_cv_func_float_trig_use=no
59046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59047 ac_ext=c
59048 ac_cpp='$CPP $CPPFLAGS'
59049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59056 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59057 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59058 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59059 do :
59060 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59062 eval as_val=\$$as_ac_var
59063 if test "x$as_val" = x""yes; then :
59064 cat >>confdefs.h <<_ACEOF
59065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59066 _ACEOF
59069 done
59071 else
59072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59073 $as_echo_n "checking for _float trig functions... " >&6; }
59074 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59075 $as_echo_n "(cached) " >&6
59076 else
59079 ac_ext=cpp
59080 ac_cpp='$CXXCPP $CPPFLAGS'
59081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59086 /* end confdefs.h. */
59087 #include <math.h>
59089 main ()
59091 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59093 return 0;
59095 _ACEOF
59096 if ac_fn_cxx_try_compile "$LINENO"; then :
59097 glibcxx_cv_func__float_trig_use=yes
59098 else
59099 glibcxx_cv_func__float_trig_use=no
59101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59102 ac_ext=c
59103 ac_cpp='$CPP $CPPFLAGS'
59104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59111 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59112 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59113 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59114 do :
59115 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59117 eval as_val=\$$as_ac_var
59118 if test "x$as_val" = x""yes; then :
59119 cat >>confdefs.h <<_ACEOF
59120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59121 _ACEOF
59124 done
59133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59134 $as_echo_n "checking for float round functions... " >&6; }
59135 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59136 $as_echo_n "(cached) " >&6
59137 else
59140 ac_ext=cpp
59141 ac_cpp='$CXXCPP $CPPFLAGS'
59142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59147 /* end confdefs.h. */
59148 #include <math.h>
59150 main ()
59152 ceilf (0); floorf (0);
59154 return 0;
59156 _ACEOF
59157 if ac_fn_cxx_try_compile "$LINENO"; then :
59158 glibcxx_cv_func_float_round_use=yes
59159 else
59160 glibcxx_cv_func_float_round_use=no
59162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59163 ac_ext=c
59164 ac_cpp='$CPP $CPPFLAGS'
59165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59172 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59173 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59174 for ac_func in ceilf floorf
59175 do :
59176 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59177 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59178 eval as_val=\$$as_ac_var
59179 if test "x$as_val" = x""yes; then :
59180 cat >>confdefs.h <<_ACEOF
59181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59182 _ACEOF
59185 done
59187 else
59188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59189 $as_echo_n "checking for _float round functions... " >&6; }
59190 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59191 $as_echo_n "(cached) " >&6
59192 else
59195 ac_ext=cpp
59196 ac_cpp='$CXXCPP $CPPFLAGS'
59197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59202 /* end confdefs.h. */
59203 #include <math.h>
59205 main ()
59207 _ceilf (0); _floorf (0);
59209 return 0;
59211 _ACEOF
59212 if ac_fn_cxx_try_compile "$LINENO"; then :
59213 glibcxx_cv_func__float_round_use=yes
59214 else
59215 glibcxx_cv_func__float_round_use=no
59217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59218 ac_ext=c
59219 ac_cpp='$CPP $CPPFLAGS'
59220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59227 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59228 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59229 for ac_func in _ceilf _floorf
59230 do :
59231 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59233 eval as_val=\$$as_ac_var
59234 if test "x$as_val" = x""yes; then :
59235 cat >>confdefs.h <<_ACEOF
59236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59237 _ACEOF
59240 done
59250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59251 $as_echo_n "checking for expf declaration... " >&6; }
59252 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59253 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59254 $as_echo_n "(cached) " >&6
59255 else
59258 ac_ext=cpp
59259 ac_cpp='$CXXCPP $CPPFLAGS'
59260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59265 /* end confdefs.h. */
59266 #include <math.h>
59267 #ifdef HAVE_IEEEFP_H
59268 #include <ieeefp.h>
59269 #endif
59272 main ()
59274 expf(0);
59276 return 0;
59278 _ACEOF
59279 if ac_fn_cxx_try_compile "$LINENO"; then :
59280 glibcxx_cv_func_expf_use=yes
59281 else
59282 glibcxx_cv_func_expf_use=no
59284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59285 ac_ext=c
59286 ac_cpp='$CPP $CPPFLAGS'
59287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59296 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59298 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59299 for ac_func in expf
59300 do :
59301 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59302 if test "x$ac_cv_func_expf" = x""yes; then :
59303 cat >>confdefs.h <<_ACEOF
59304 #define HAVE_EXPF 1
59305 _ACEOF
59308 done
59310 else
59312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59313 $as_echo_n "checking for _expf declaration... " >&6; }
59314 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59315 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59316 $as_echo_n "(cached) " >&6
59317 else
59320 ac_ext=cpp
59321 ac_cpp='$CXXCPP $CPPFLAGS'
59322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59327 /* end confdefs.h. */
59328 #include <math.h>
59329 #ifdef HAVE_IEEEFP_H
59330 #include <ieeefp.h>
59331 #endif
59334 main ()
59336 _expf(0);
59338 return 0;
59340 _ACEOF
59341 if ac_fn_cxx_try_compile "$LINENO"; then :
59342 glibcxx_cv_func__expf_use=yes
59343 else
59344 glibcxx_cv_func__expf_use=no
59346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59347 ac_ext=c
59348 ac_cpp='$CPP $CPPFLAGS'
59349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59358 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59360 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59361 for ac_func in _expf
59362 do :
59363 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59364 if test "x$ac_cv_func__expf" = x""yes; then :
59365 cat >>confdefs.h <<_ACEOF
59366 #define HAVE__EXPF 1
59367 _ACEOF
59370 done
59379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59380 $as_echo_n "checking for isnanf declaration... " >&6; }
59381 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59382 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59383 $as_echo_n "(cached) " >&6
59384 else
59387 ac_ext=cpp
59388 ac_cpp='$CXXCPP $CPPFLAGS'
59389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59394 /* end confdefs.h. */
59395 #include <math.h>
59396 #ifdef HAVE_IEEEFP_H
59397 #include <ieeefp.h>
59398 #endif
59401 main ()
59403 isnanf(0);
59405 return 0;
59407 _ACEOF
59408 if ac_fn_cxx_try_compile "$LINENO"; then :
59409 glibcxx_cv_func_isnanf_use=yes
59410 else
59411 glibcxx_cv_func_isnanf_use=no
59413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59414 ac_ext=c
59415 ac_cpp='$CPP $CPPFLAGS'
59416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59425 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59427 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59428 for ac_func in isnanf
59429 do :
59430 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59431 if test "x$ac_cv_func_isnanf" = x""yes; then :
59432 cat >>confdefs.h <<_ACEOF
59433 #define HAVE_ISNANF 1
59434 _ACEOF
59437 done
59439 else
59441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59442 $as_echo_n "checking for _isnanf declaration... " >&6; }
59443 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59444 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59445 $as_echo_n "(cached) " >&6
59446 else
59449 ac_ext=cpp
59450 ac_cpp='$CXXCPP $CPPFLAGS'
59451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59456 /* end confdefs.h. */
59457 #include <math.h>
59458 #ifdef HAVE_IEEEFP_H
59459 #include <ieeefp.h>
59460 #endif
59463 main ()
59465 _isnanf(0);
59467 return 0;
59469 _ACEOF
59470 if ac_fn_cxx_try_compile "$LINENO"; then :
59471 glibcxx_cv_func__isnanf_use=yes
59472 else
59473 glibcxx_cv_func__isnanf_use=no
59475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59476 ac_ext=c
59477 ac_cpp='$CPP $CPPFLAGS'
59478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59487 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59489 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59490 for ac_func in _isnanf
59491 do :
59492 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59493 if test "x$ac_cv_func__isnanf" = x""yes; then :
59494 cat >>confdefs.h <<_ACEOF
59495 #define HAVE__ISNANF 1
59496 _ACEOF
59499 done
59508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59509 $as_echo_n "checking for isinff declaration... " >&6; }
59510 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59511 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59512 $as_echo_n "(cached) " >&6
59513 else
59516 ac_ext=cpp
59517 ac_cpp='$CXXCPP $CPPFLAGS'
59518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59523 /* end confdefs.h. */
59524 #include <math.h>
59525 #ifdef HAVE_IEEEFP_H
59526 #include <ieeefp.h>
59527 #endif
59530 main ()
59532 isinff(0);
59534 return 0;
59536 _ACEOF
59537 if ac_fn_cxx_try_compile "$LINENO"; then :
59538 glibcxx_cv_func_isinff_use=yes
59539 else
59540 glibcxx_cv_func_isinff_use=no
59542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59543 ac_ext=c
59544 ac_cpp='$CPP $CPPFLAGS'
59545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59554 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59556 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59557 for ac_func in isinff
59558 do :
59559 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59560 if test "x$ac_cv_func_isinff" = x""yes; then :
59561 cat >>confdefs.h <<_ACEOF
59562 #define HAVE_ISINFF 1
59563 _ACEOF
59566 done
59568 else
59570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59571 $as_echo_n "checking for _isinff declaration... " >&6; }
59572 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59573 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59574 $as_echo_n "(cached) " >&6
59575 else
59578 ac_ext=cpp
59579 ac_cpp='$CXXCPP $CPPFLAGS'
59580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59585 /* end confdefs.h. */
59586 #include <math.h>
59587 #ifdef HAVE_IEEEFP_H
59588 #include <ieeefp.h>
59589 #endif
59592 main ()
59594 _isinff(0);
59596 return 0;
59598 _ACEOF
59599 if ac_fn_cxx_try_compile "$LINENO"; then :
59600 glibcxx_cv_func__isinff_use=yes
59601 else
59602 glibcxx_cv_func__isinff_use=no
59604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59605 ac_ext=c
59606 ac_cpp='$CPP $CPPFLAGS'
59607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59616 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59618 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59619 for ac_func in _isinff
59620 do :
59621 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59622 if test "x$ac_cv_func__isinff" = x""yes; then :
59623 cat >>confdefs.h <<_ACEOF
59624 #define HAVE__ISINFF 1
59625 _ACEOF
59628 done
59637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59638 $as_echo_n "checking for atan2f declaration... " >&6; }
59639 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59640 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59641 $as_echo_n "(cached) " >&6
59642 else
59645 ac_ext=cpp
59646 ac_cpp='$CXXCPP $CPPFLAGS'
59647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59652 /* end confdefs.h. */
59653 #include <math.h>
59655 main ()
59657 atan2f(0, 0);
59659 return 0;
59661 _ACEOF
59662 if ac_fn_cxx_try_compile "$LINENO"; then :
59663 glibcxx_cv_func_atan2f_use=yes
59664 else
59665 glibcxx_cv_func_atan2f_use=no
59667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59668 ac_ext=c
59669 ac_cpp='$CPP $CPPFLAGS'
59670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59679 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59681 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59682 for ac_func in atan2f
59683 do :
59684 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59685 if test "x$ac_cv_func_atan2f" = x""yes; then :
59686 cat >>confdefs.h <<_ACEOF
59687 #define HAVE_ATAN2F 1
59688 _ACEOF
59691 done
59693 else
59695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59696 $as_echo_n "checking for _atan2f declaration... " >&6; }
59697 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59698 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59699 $as_echo_n "(cached) " >&6
59700 else
59703 ac_ext=cpp
59704 ac_cpp='$CXXCPP $CPPFLAGS'
59705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59710 /* end confdefs.h. */
59711 #include <math.h>
59713 main ()
59715 _atan2f(0, 0);
59717 return 0;
59719 _ACEOF
59720 if ac_fn_cxx_try_compile "$LINENO"; then :
59721 glibcxx_cv_func__atan2f_use=yes
59722 else
59723 glibcxx_cv_func__atan2f_use=no
59725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59726 ac_ext=c
59727 ac_cpp='$CPP $CPPFLAGS'
59728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59737 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59739 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59740 for ac_func in _atan2f
59741 do :
59742 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59743 if test "x$ac_cv_func__atan2f" = x""yes; then :
59744 cat >>confdefs.h <<_ACEOF
59745 #define HAVE__ATAN2F 1
59746 _ACEOF
59749 done
59758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59759 $as_echo_n "checking for fabsf declaration... " >&6; }
59760 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59761 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59762 $as_echo_n "(cached) " >&6
59763 else
59766 ac_ext=cpp
59767 ac_cpp='$CXXCPP $CPPFLAGS'
59768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59773 /* end confdefs.h. */
59774 #include <math.h>
59775 #ifdef HAVE_IEEEFP_H
59776 #include <ieeefp.h>
59777 #endif
59780 main ()
59782 fabsf(0);
59784 return 0;
59786 _ACEOF
59787 if ac_fn_cxx_try_compile "$LINENO"; then :
59788 glibcxx_cv_func_fabsf_use=yes
59789 else
59790 glibcxx_cv_func_fabsf_use=no
59792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59793 ac_ext=c
59794 ac_cpp='$CPP $CPPFLAGS'
59795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59804 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59806 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59807 for ac_func in fabsf
59808 do :
59809 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59810 if test "x$ac_cv_func_fabsf" = x""yes; then :
59811 cat >>confdefs.h <<_ACEOF
59812 #define HAVE_FABSF 1
59813 _ACEOF
59816 done
59818 else
59820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59821 $as_echo_n "checking for _fabsf declaration... " >&6; }
59822 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59823 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59824 $as_echo_n "(cached) " >&6
59825 else
59828 ac_ext=cpp
59829 ac_cpp='$CXXCPP $CPPFLAGS'
59830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59835 /* end confdefs.h. */
59836 #include <math.h>
59837 #ifdef HAVE_IEEEFP_H
59838 #include <ieeefp.h>
59839 #endif
59842 main ()
59844 _fabsf(0);
59846 return 0;
59848 _ACEOF
59849 if ac_fn_cxx_try_compile "$LINENO"; then :
59850 glibcxx_cv_func__fabsf_use=yes
59851 else
59852 glibcxx_cv_func__fabsf_use=no
59854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59855 ac_ext=c
59856 ac_cpp='$CPP $CPPFLAGS'
59857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59866 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59868 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59869 for ac_func in _fabsf
59870 do :
59871 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59872 if test "x$ac_cv_func__fabsf" = x""yes; then :
59873 cat >>confdefs.h <<_ACEOF
59874 #define HAVE__FABSF 1
59875 _ACEOF
59878 done
59887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59888 $as_echo_n "checking for fmodf declaration... " >&6; }
59889 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59890 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59891 $as_echo_n "(cached) " >&6
59892 else
59895 ac_ext=cpp
59896 ac_cpp='$CXXCPP $CPPFLAGS'
59897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59902 /* end confdefs.h. */
59903 #include <math.h>
59905 main ()
59907 fmodf(0, 0);
59909 return 0;
59911 _ACEOF
59912 if ac_fn_cxx_try_compile "$LINENO"; then :
59913 glibcxx_cv_func_fmodf_use=yes
59914 else
59915 glibcxx_cv_func_fmodf_use=no
59917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59918 ac_ext=c
59919 ac_cpp='$CPP $CPPFLAGS'
59920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59929 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59931 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59932 for ac_func in fmodf
59933 do :
59934 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59935 if test "x$ac_cv_func_fmodf" = x""yes; then :
59936 cat >>confdefs.h <<_ACEOF
59937 #define HAVE_FMODF 1
59938 _ACEOF
59941 done
59943 else
59945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59946 $as_echo_n "checking for _fmodf declaration... " >&6; }
59947 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59948 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59949 $as_echo_n "(cached) " >&6
59950 else
59953 ac_ext=cpp
59954 ac_cpp='$CXXCPP $CPPFLAGS'
59955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59960 /* end confdefs.h. */
59961 #include <math.h>
59963 main ()
59965 _fmodf(0, 0);
59967 return 0;
59969 _ACEOF
59970 if ac_fn_cxx_try_compile "$LINENO"; then :
59971 glibcxx_cv_func__fmodf_use=yes
59972 else
59973 glibcxx_cv_func__fmodf_use=no
59975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59976 ac_ext=c
59977 ac_cpp='$CPP $CPPFLAGS'
59978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59987 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59989 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59990 for ac_func in _fmodf
59991 do :
59992 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59993 if test "x$ac_cv_func__fmodf" = x""yes; then :
59994 cat >>confdefs.h <<_ACEOF
59995 #define HAVE__FMODF 1
59996 _ACEOF
59999 done
60008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60009 $as_echo_n "checking for frexpf declaration... " >&6; }
60010 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60011 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60012 $as_echo_n "(cached) " >&6
60013 else
60016 ac_ext=cpp
60017 ac_cpp='$CXXCPP $CPPFLAGS'
60018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60023 /* end confdefs.h. */
60024 #include <math.h>
60026 main ()
60028 frexpf(0, 0);
60030 return 0;
60032 _ACEOF
60033 if ac_fn_cxx_try_compile "$LINENO"; then :
60034 glibcxx_cv_func_frexpf_use=yes
60035 else
60036 glibcxx_cv_func_frexpf_use=no
60038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60039 ac_ext=c
60040 ac_cpp='$CPP $CPPFLAGS'
60041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60050 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60052 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60053 for ac_func in frexpf
60054 do :
60055 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60056 if test "x$ac_cv_func_frexpf" = x""yes; then :
60057 cat >>confdefs.h <<_ACEOF
60058 #define HAVE_FREXPF 1
60059 _ACEOF
60062 done
60064 else
60066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60067 $as_echo_n "checking for _frexpf declaration... " >&6; }
60068 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60069 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60070 $as_echo_n "(cached) " >&6
60071 else
60074 ac_ext=cpp
60075 ac_cpp='$CXXCPP $CPPFLAGS'
60076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60081 /* end confdefs.h. */
60082 #include <math.h>
60084 main ()
60086 _frexpf(0, 0);
60088 return 0;
60090 _ACEOF
60091 if ac_fn_cxx_try_compile "$LINENO"; then :
60092 glibcxx_cv_func__frexpf_use=yes
60093 else
60094 glibcxx_cv_func__frexpf_use=no
60096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60097 ac_ext=c
60098 ac_cpp='$CPP $CPPFLAGS'
60099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60108 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60110 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60111 for ac_func in _frexpf
60112 do :
60113 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60114 if test "x$ac_cv_func__frexpf" = x""yes; then :
60115 cat >>confdefs.h <<_ACEOF
60116 #define HAVE__FREXPF 1
60117 _ACEOF
60120 done
60129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60130 $as_echo_n "checking for hypotf declaration... " >&6; }
60131 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60132 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60133 $as_echo_n "(cached) " >&6
60134 else
60137 ac_ext=cpp
60138 ac_cpp='$CXXCPP $CPPFLAGS'
60139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60144 /* end confdefs.h. */
60145 #include <math.h>
60147 main ()
60149 hypotf(0, 0);
60151 return 0;
60153 _ACEOF
60154 if ac_fn_cxx_try_compile "$LINENO"; then :
60155 glibcxx_cv_func_hypotf_use=yes
60156 else
60157 glibcxx_cv_func_hypotf_use=no
60159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60160 ac_ext=c
60161 ac_cpp='$CPP $CPPFLAGS'
60162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60171 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60173 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60174 for ac_func in hypotf
60175 do :
60176 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60177 if test "x$ac_cv_func_hypotf" = x""yes; then :
60178 cat >>confdefs.h <<_ACEOF
60179 #define HAVE_HYPOTF 1
60180 _ACEOF
60183 done
60185 else
60187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60188 $as_echo_n "checking for _hypotf declaration... " >&6; }
60189 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60190 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60191 $as_echo_n "(cached) " >&6
60192 else
60195 ac_ext=cpp
60196 ac_cpp='$CXXCPP $CPPFLAGS'
60197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60202 /* end confdefs.h. */
60203 #include <math.h>
60205 main ()
60207 _hypotf(0, 0);
60209 return 0;
60211 _ACEOF
60212 if ac_fn_cxx_try_compile "$LINENO"; then :
60213 glibcxx_cv_func__hypotf_use=yes
60214 else
60215 glibcxx_cv_func__hypotf_use=no
60217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60218 ac_ext=c
60219 ac_cpp='$CPP $CPPFLAGS'
60220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60229 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60231 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60232 for ac_func in _hypotf
60233 do :
60234 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60235 if test "x$ac_cv_func__hypotf" = x""yes; then :
60236 cat >>confdefs.h <<_ACEOF
60237 #define HAVE__HYPOTF 1
60238 _ACEOF
60241 done
60250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60251 $as_echo_n "checking for ldexpf declaration... " >&6; }
60252 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60253 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60254 $as_echo_n "(cached) " >&6
60255 else
60258 ac_ext=cpp
60259 ac_cpp='$CXXCPP $CPPFLAGS'
60260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60265 /* end confdefs.h. */
60266 #include <math.h>
60268 main ()
60270 ldexpf(0, 0);
60272 return 0;
60274 _ACEOF
60275 if ac_fn_cxx_try_compile "$LINENO"; then :
60276 glibcxx_cv_func_ldexpf_use=yes
60277 else
60278 glibcxx_cv_func_ldexpf_use=no
60280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60281 ac_ext=c
60282 ac_cpp='$CPP $CPPFLAGS'
60283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60292 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60294 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60295 for ac_func in ldexpf
60296 do :
60297 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60298 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60299 cat >>confdefs.h <<_ACEOF
60300 #define HAVE_LDEXPF 1
60301 _ACEOF
60304 done
60306 else
60308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60309 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60310 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60311 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60312 $as_echo_n "(cached) " >&6
60313 else
60316 ac_ext=cpp
60317 ac_cpp='$CXXCPP $CPPFLAGS'
60318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60323 /* end confdefs.h. */
60324 #include <math.h>
60326 main ()
60328 _ldexpf(0, 0);
60330 return 0;
60332 _ACEOF
60333 if ac_fn_cxx_try_compile "$LINENO"; then :
60334 glibcxx_cv_func__ldexpf_use=yes
60335 else
60336 glibcxx_cv_func__ldexpf_use=no
60338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60339 ac_ext=c
60340 ac_cpp='$CPP $CPPFLAGS'
60341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60350 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60352 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60353 for ac_func in _ldexpf
60354 do :
60355 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60356 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60357 cat >>confdefs.h <<_ACEOF
60358 #define HAVE__LDEXPF 1
60359 _ACEOF
60362 done
60371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60372 $as_echo_n "checking for logf declaration... " >&6; }
60373 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60374 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60375 $as_echo_n "(cached) " >&6
60376 else
60379 ac_ext=cpp
60380 ac_cpp='$CXXCPP $CPPFLAGS'
60381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60386 /* end confdefs.h. */
60387 #include <math.h>
60388 #ifdef HAVE_IEEEFP_H
60389 #include <ieeefp.h>
60390 #endif
60393 main ()
60395 logf(0);
60397 return 0;
60399 _ACEOF
60400 if ac_fn_cxx_try_compile "$LINENO"; then :
60401 glibcxx_cv_func_logf_use=yes
60402 else
60403 glibcxx_cv_func_logf_use=no
60405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60406 ac_ext=c
60407 ac_cpp='$CPP $CPPFLAGS'
60408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60417 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60419 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60420 for ac_func in logf
60421 do :
60422 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60423 if test "x$ac_cv_func_logf" = x""yes; then :
60424 cat >>confdefs.h <<_ACEOF
60425 #define HAVE_LOGF 1
60426 _ACEOF
60429 done
60431 else
60433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60434 $as_echo_n "checking for _logf declaration... " >&6; }
60435 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60436 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60437 $as_echo_n "(cached) " >&6
60438 else
60441 ac_ext=cpp
60442 ac_cpp='$CXXCPP $CPPFLAGS'
60443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60448 /* end confdefs.h. */
60449 #include <math.h>
60450 #ifdef HAVE_IEEEFP_H
60451 #include <ieeefp.h>
60452 #endif
60455 main ()
60457 _logf(0);
60459 return 0;
60461 _ACEOF
60462 if ac_fn_cxx_try_compile "$LINENO"; then :
60463 glibcxx_cv_func__logf_use=yes
60464 else
60465 glibcxx_cv_func__logf_use=no
60467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60468 ac_ext=c
60469 ac_cpp='$CPP $CPPFLAGS'
60470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60479 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60481 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60482 for ac_func in _logf
60483 do :
60484 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60485 if test "x$ac_cv_func__logf" = x""yes; then :
60486 cat >>confdefs.h <<_ACEOF
60487 #define HAVE__LOGF 1
60488 _ACEOF
60491 done
60500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60501 $as_echo_n "checking for log10f declaration... " >&6; }
60502 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60503 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60504 $as_echo_n "(cached) " >&6
60505 else
60508 ac_ext=cpp
60509 ac_cpp='$CXXCPP $CPPFLAGS'
60510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60515 /* end confdefs.h. */
60516 #include <math.h>
60517 #ifdef HAVE_IEEEFP_H
60518 #include <ieeefp.h>
60519 #endif
60522 main ()
60524 log10f(0);
60526 return 0;
60528 _ACEOF
60529 if ac_fn_cxx_try_compile "$LINENO"; then :
60530 glibcxx_cv_func_log10f_use=yes
60531 else
60532 glibcxx_cv_func_log10f_use=no
60534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60535 ac_ext=c
60536 ac_cpp='$CPP $CPPFLAGS'
60537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60546 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60548 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60549 for ac_func in log10f
60550 do :
60551 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60552 if test "x$ac_cv_func_log10f" = x""yes; then :
60553 cat >>confdefs.h <<_ACEOF
60554 #define HAVE_LOG10F 1
60555 _ACEOF
60558 done
60560 else
60562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60563 $as_echo_n "checking for _log10f declaration... " >&6; }
60564 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60565 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60566 $as_echo_n "(cached) " >&6
60567 else
60570 ac_ext=cpp
60571 ac_cpp='$CXXCPP $CPPFLAGS'
60572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60577 /* end confdefs.h. */
60578 #include <math.h>
60579 #ifdef HAVE_IEEEFP_H
60580 #include <ieeefp.h>
60581 #endif
60584 main ()
60586 _log10f(0);
60588 return 0;
60590 _ACEOF
60591 if ac_fn_cxx_try_compile "$LINENO"; then :
60592 glibcxx_cv_func__log10f_use=yes
60593 else
60594 glibcxx_cv_func__log10f_use=no
60596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60597 ac_ext=c
60598 ac_cpp='$CPP $CPPFLAGS'
60599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60608 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60610 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60611 for ac_func in _log10f
60612 do :
60613 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60614 if test "x$ac_cv_func__log10f" = x""yes; then :
60615 cat >>confdefs.h <<_ACEOF
60616 #define HAVE__LOG10F 1
60617 _ACEOF
60620 done
60629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60630 $as_echo_n "checking for modff declaration... " >&6; }
60631 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60632 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60633 $as_echo_n "(cached) " >&6
60634 else
60637 ac_ext=cpp
60638 ac_cpp='$CXXCPP $CPPFLAGS'
60639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60644 /* end confdefs.h. */
60645 #include <math.h>
60647 main ()
60649 modff(0, 0);
60651 return 0;
60653 _ACEOF
60654 if ac_fn_cxx_try_compile "$LINENO"; then :
60655 glibcxx_cv_func_modff_use=yes
60656 else
60657 glibcxx_cv_func_modff_use=no
60659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60660 ac_ext=c
60661 ac_cpp='$CPP $CPPFLAGS'
60662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60671 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60673 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60674 for ac_func in modff
60675 do :
60676 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60677 if test "x$ac_cv_func_modff" = x""yes; then :
60678 cat >>confdefs.h <<_ACEOF
60679 #define HAVE_MODFF 1
60680 _ACEOF
60683 done
60685 else
60687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60688 $as_echo_n "checking for _modff declaration... " >&6; }
60689 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60690 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60691 $as_echo_n "(cached) " >&6
60692 else
60695 ac_ext=cpp
60696 ac_cpp='$CXXCPP $CPPFLAGS'
60697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60702 /* end confdefs.h. */
60703 #include <math.h>
60705 main ()
60707 _modff(0, 0);
60709 return 0;
60711 _ACEOF
60712 if ac_fn_cxx_try_compile "$LINENO"; then :
60713 glibcxx_cv_func__modff_use=yes
60714 else
60715 glibcxx_cv_func__modff_use=no
60717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60718 ac_ext=c
60719 ac_cpp='$CPP $CPPFLAGS'
60720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60729 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60731 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60732 for ac_func in _modff
60733 do :
60734 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60735 if test "x$ac_cv_func__modff" = x""yes; then :
60736 cat >>confdefs.h <<_ACEOF
60737 #define HAVE__MODFF 1
60738 _ACEOF
60741 done
60750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60751 $as_echo_n "checking for modf declaration... " >&6; }
60752 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60753 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60754 $as_echo_n "(cached) " >&6
60755 else
60758 ac_ext=cpp
60759 ac_cpp='$CXXCPP $CPPFLAGS'
60760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60765 /* end confdefs.h. */
60766 #include <math.h>
60768 main ()
60770 modf(0, 0);
60772 return 0;
60774 _ACEOF
60775 if ac_fn_cxx_try_compile "$LINENO"; then :
60776 glibcxx_cv_func_modf_use=yes
60777 else
60778 glibcxx_cv_func_modf_use=no
60780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60781 ac_ext=c
60782 ac_cpp='$CPP $CPPFLAGS'
60783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60792 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60794 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60795 for ac_func in modf
60796 do :
60797 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60798 if test "x$ac_cv_func_modf" = x""yes; then :
60799 cat >>confdefs.h <<_ACEOF
60800 #define HAVE_MODF 1
60801 _ACEOF
60804 done
60806 else
60808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60809 $as_echo_n "checking for _modf declaration... " >&6; }
60810 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60811 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60812 $as_echo_n "(cached) " >&6
60813 else
60816 ac_ext=cpp
60817 ac_cpp='$CXXCPP $CPPFLAGS'
60818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60823 /* end confdefs.h. */
60824 #include <math.h>
60826 main ()
60828 _modf(0, 0);
60830 return 0;
60832 _ACEOF
60833 if ac_fn_cxx_try_compile "$LINENO"; then :
60834 glibcxx_cv_func__modf_use=yes
60835 else
60836 glibcxx_cv_func__modf_use=no
60838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60839 ac_ext=c
60840 ac_cpp='$CPP $CPPFLAGS'
60841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60850 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60852 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60853 for ac_func in _modf
60854 do :
60855 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60856 if test "x$ac_cv_func__modf" = x""yes; then :
60857 cat >>confdefs.h <<_ACEOF
60858 #define HAVE__MODF 1
60859 _ACEOF
60862 done
60871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60872 $as_echo_n "checking for powf declaration... " >&6; }
60873 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60874 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60875 $as_echo_n "(cached) " >&6
60876 else
60879 ac_ext=cpp
60880 ac_cpp='$CXXCPP $CPPFLAGS'
60881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60886 /* end confdefs.h. */
60887 #include <math.h>
60889 main ()
60891 powf(0, 0);
60893 return 0;
60895 _ACEOF
60896 if ac_fn_cxx_try_compile "$LINENO"; then :
60897 glibcxx_cv_func_powf_use=yes
60898 else
60899 glibcxx_cv_func_powf_use=no
60901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60902 ac_ext=c
60903 ac_cpp='$CPP $CPPFLAGS'
60904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60913 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60915 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60916 for ac_func in powf
60917 do :
60918 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60919 if test "x$ac_cv_func_powf" = x""yes; then :
60920 cat >>confdefs.h <<_ACEOF
60921 #define HAVE_POWF 1
60922 _ACEOF
60925 done
60927 else
60929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60930 $as_echo_n "checking for _powf declaration... " >&6; }
60931 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60932 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60933 $as_echo_n "(cached) " >&6
60934 else
60937 ac_ext=cpp
60938 ac_cpp='$CXXCPP $CPPFLAGS'
60939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60944 /* end confdefs.h. */
60945 #include <math.h>
60947 main ()
60949 _powf(0, 0);
60951 return 0;
60953 _ACEOF
60954 if ac_fn_cxx_try_compile "$LINENO"; then :
60955 glibcxx_cv_func__powf_use=yes
60956 else
60957 glibcxx_cv_func__powf_use=no
60959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60960 ac_ext=c
60961 ac_cpp='$CPP $CPPFLAGS'
60962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60971 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60973 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60974 for ac_func in _powf
60975 do :
60976 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60977 if test "x$ac_cv_func__powf" = x""yes; then :
60978 cat >>confdefs.h <<_ACEOF
60979 #define HAVE__POWF 1
60980 _ACEOF
60983 done
60992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60993 $as_echo_n "checking for sqrtf declaration... " >&6; }
60994 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60995 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60996 $as_echo_n "(cached) " >&6
60997 else
61000 ac_ext=cpp
61001 ac_cpp='$CXXCPP $CPPFLAGS'
61002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61007 /* end confdefs.h. */
61008 #include <math.h>
61009 #ifdef HAVE_IEEEFP_H
61010 #include <ieeefp.h>
61011 #endif
61014 main ()
61016 sqrtf(0);
61018 return 0;
61020 _ACEOF
61021 if ac_fn_cxx_try_compile "$LINENO"; then :
61022 glibcxx_cv_func_sqrtf_use=yes
61023 else
61024 glibcxx_cv_func_sqrtf_use=no
61026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61027 ac_ext=c
61028 ac_cpp='$CPP $CPPFLAGS'
61029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61038 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61040 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61041 for ac_func in sqrtf
61042 do :
61043 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61044 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61045 cat >>confdefs.h <<_ACEOF
61046 #define HAVE_SQRTF 1
61047 _ACEOF
61050 done
61052 else
61054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61055 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61056 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61057 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61058 $as_echo_n "(cached) " >&6
61059 else
61062 ac_ext=cpp
61063 ac_cpp='$CXXCPP $CPPFLAGS'
61064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61069 /* end confdefs.h. */
61070 #include <math.h>
61071 #ifdef HAVE_IEEEFP_H
61072 #include <ieeefp.h>
61073 #endif
61076 main ()
61078 _sqrtf(0);
61080 return 0;
61082 _ACEOF
61083 if ac_fn_cxx_try_compile "$LINENO"; then :
61084 glibcxx_cv_func__sqrtf_use=yes
61085 else
61086 glibcxx_cv_func__sqrtf_use=no
61088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61089 ac_ext=c
61090 ac_cpp='$CPP $CPPFLAGS'
61091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61100 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61102 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61103 for ac_func in _sqrtf
61104 do :
61105 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61106 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61107 cat >>confdefs.h <<_ACEOF
61108 #define HAVE__SQRTF 1
61109 _ACEOF
61112 done
61121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61122 $as_echo_n "checking for sincosf declaration... " >&6; }
61123 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61124 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61125 $as_echo_n "(cached) " >&6
61126 else
61129 ac_ext=cpp
61130 ac_cpp='$CXXCPP $CPPFLAGS'
61131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61136 /* end confdefs.h. */
61137 #include <math.h>
61139 main ()
61141 sincosf(0, 0, 0);
61143 return 0;
61145 _ACEOF
61146 if ac_fn_cxx_try_compile "$LINENO"; then :
61147 glibcxx_cv_func_sincosf_use=yes
61148 else
61149 glibcxx_cv_func_sincosf_use=no
61151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61152 ac_ext=c
61153 ac_cpp='$CPP $CPPFLAGS'
61154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61163 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61165 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61166 for ac_func in sincosf
61167 do :
61168 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61169 if test "x$ac_cv_func_sincosf" = x""yes; then :
61170 cat >>confdefs.h <<_ACEOF
61171 #define HAVE_SINCOSF 1
61172 _ACEOF
61175 done
61177 else
61179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61180 $as_echo_n "checking for _sincosf declaration... " >&6; }
61181 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61182 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61183 $as_echo_n "(cached) " >&6
61184 else
61187 ac_ext=cpp
61188 ac_cpp='$CXXCPP $CPPFLAGS'
61189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61194 /* end confdefs.h. */
61195 #include <math.h>
61197 main ()
61199 _sincosf(0, 0, 0);
61201 return 0;
61203 _ACEOF
61204 if ac_fn_cxx_try_compile "$LINENO"; then :
61205 glibcxx_cv_func__sincosf_use=yes
61206 else
61207 glibcxx_cv_func__sincosf_use=no
61209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61210 ac_ext=c
61211 ac_cpp='$CPP $CPPFLAGS'
61212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61221 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61223 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61224 for ac_func in _sincosf
61225 do :
61226 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61227 if test "x$ac_cv_func__sincosf" = x""yes; then :
61228 cat >>confdefs.h <<_ACEOF
61229 #define HAVE__SINCOSF 1
61230 _ACEOF
61233 done
61242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61243 $as_echo_n "checking for finitef declaration... " >&6; }
61244 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61245 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61246 $as_echo_n "(cached) " >&6
61247 else
61250 ac_ext=cpp
61251 ac_cpp='$CXXCPP $CPPFLAGS'
61252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61257 /* end confdefs.h. */
61258 #include <math.h>
61259 #ifdef HAVE_IEEEFP_H
61260 #include <ieeefp.h>
61261 #endif
61264 main ()
61266 finitef(0);
61268 return 0;
61270 _ACEOF
61271 if ac_fn_cxx_try_compile "$LINENO"; then :
61272 glibcxx_cv_func_finitef_use=yes
61273 else
61274 glibcxx_cv_func_finitef_use=no
61276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61277 ac_ext=c
61278 ac_cpp='$CPP $CPPFLAGS'
61279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61288 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61290 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61291 for ac_func in finitef
61292 do :
61293 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61294 if test "x$ac_cv_func_finitef" = x""yes; then :
61295 cat >>confdefs.h <<_ACEOF
61296 #define HAVE_FINITEF 1
61297 _ACEOF
61300 done
61302 else
61304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61305 $as_echo_n "checking for _finitef declaration... " >&6; }
61306 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61307 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61308 $as_echo_n "(cached) " >&6
61309 else
61312 ac_ext=cpp
61313 ac_cpp='$CXXCPP $CPPFLAGS'
61314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61319 /* end confdefs.h. */
61320 #include <math.h>
61321 #ifdef HAVE_IEEEFP_H
61322 #include <ieeefp.h>
61323 #endif
61326 main ()
61328 _finitef(0);
61330 return 0;
61332 _ACEOF
61333 if ac_fn_cxx_try_compile "$LINENO"; then :
61334 glibcxx_cv_func__finitef_use=yes
61335 else
61336 glibcxx_cv_func__finitef_use=no
61338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61339 ac_ext=c
61340 ac_cpp='$CPP $CPPFLAGS'
61341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61350 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61352 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61353 for ac_func in _finitef
61354 do :
61355 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61356 if test "x$ac_cv_func__finitef" = x""yes; then :
61357 cat >>confdefs.h <<_ACEOF
61358 #define HAVE__FINITEF 1
61359 _ACEOF
61362 done
61371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61372 $as_echo_n "checking for long double trig functions... " >&6; }
61373 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61374 $as_echo_n "(cached) " >&6
61375 else
61378 ac_ext=cpp
61379 ac_cpp='$CXXCPP $CPPFLAGS'
61380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61385 /* end confdefs.h. */
61386 #include <math.h>
61388 main ()
61390 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61392 return 0;
61394 _ACEOF
61395 if ac_fn_cxx_try_compile "$LINENO"; then :
61396 glibcxx_cv_func_long_double_trig_use=yes
61397 else
61398 glibcxx_cv_func_long_double_trig_use=no
61400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61401 ac_ext=c
61402 ac_cpp='$CPP $CPPFLAGS'
61403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61410 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61411 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61412 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61413 do :
61414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61416 eval as_val=\$$as_ac_var
61417 if test "x$as_val" = x""yes; then :
61418 cat >>confdefs.h <<_ACEOF
61419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61420 _ACEOF
61423 done
61425 else
61426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61427 $as_echo_n "checking for _long double trig functions... " >&6; }
61428 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61429 $as_echo_n "(cached) " >&6
61430 else
61433 ac_ext=cpp
61434 ac_cpp='$CXXCPP $CPPFLAGS'
61435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61440 /* end confdefs.h. */
61441 #include <math.h>
61443 main ()
61445 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61447 return 0;
61449 _ACEOF
61450 if ac_fn_cxx_try_compile "$LINENO"; then :
61451 glibcxx_cv_func__long_double_trig_use=yes
61452 else
61453 glibcxx_cv_func__long_double_trig_use=no
61455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61456 ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61465 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61466 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61467 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61468 do :
61469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61471 eval as_val=\$$as_ac_var
61472 if test "x$as_val" = x""yes; then :
61473 cat >>confdefs.h <<_ACEOF
61474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61475 _ACEOF
61478 done
61487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61488 $as_echo_n "checking for long double round functions... " >&6; }
61489 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61490 $as_echo_n "(cached) " >&6
61491 else
61494 ac_ext=cpp
61495 ac_cpp='$CXXCPP $CPPFLAGS'
61496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61501 /* end confdefs.h. */
61502 #include <math.h>
61504 main ()
61506 ceill (0); floorl (0);
61508 return 0;
61510 _ACEOF
61511 if ac_fn_cxx_try_compile "$LINENO"; then :
61512 glibcxx_cv_func_long_double_round_use=yes
61513 else
61514 glibcxx_cv_func_long_double_round_use=no
61516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61517 ac_ext=c
61518 ac_cpp='$CPP $CPPFLAGS'
61519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61526 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61527 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61528 for ac_func in ceill floorl
61529 do :
61530 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61532 eval as_val=\$$as_ac_var
61533 if test "x$as_val" = x""yes; then :
61534 cat >>confdefs.h <<_ACEOF
61535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61536 _ACEOF
61539 done
61541 else
61542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61543 $as_echo_n "checking for _long double round functions... " >&6; }
61544 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61545 $as_echo_n "(cached) " >&6
61546 else
61549 ac_ext=cpp
61550 ac_cpp='$CXXCPP $CPPFLAGS'
61551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61556 /* end confdefs.h. */
61557 #include <math.h>
61559 main ()
61561 _ceill (0); _floorl (0);
61563 return 0;
61565 _ACEOF
61566 if ac_fn_cxx_try_compile "$LINENO"; then :
61567 glibcxx_cv_func__long_double_round_use=yes
61568 else
61569 glibcxx_cv_func__long_double_round_use=no
61571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61572 ac_ext=c
61573 ac_cpp='$CPP $CPPFLAGS'
61574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61581 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61582 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61583 for ac_func in _ceill _floorl
61584 do :
61585 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61587 eval as_val=\$$as_ac_var
61588 if test "x$as_val" = x""yes; then :
61589 cat >>confdefs.h <<_ACEOF
61590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61591 _ACEOF
61594 done
61604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61605 $as_echo_n "checking for isnanl declaration... " >&6; }
61606 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61607 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61608 $as_echo_n "(cached) " >&6
61609 else
61612 ac_ext=cpp
61613 ac_cpp='$CXXCPP $CPPFLAGS'
61614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61619 /* end confdefs.h. */
61620 #include <math.h>
61621 #ifdef HAVE_IEEEFP_H
61622 #include <ieeefp.h>
61623 #endif
61626 main ()
61628 isnanl(0);
61630 return 0;
61632 _ACEOF
61633 if ac_fn_cxx_try_compile "$LINENO"; then :
61634 glibcxx_cv_func_isnanl_use=yes
61635 else
61636 glibcxx_cv_func_isnanl_use=no
61638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61639 ac_ext=c
61640 ac_cpp='$CPP $CPPFLAGS'
61641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61650 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61652 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61653 for ac_func in isnanl
61654 do :
61655 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61656 if test "x$ac_cv_func_isnanl" = x""yes; then :
61657 cat >>confdefs.h <<_ACEOF
61658 #define HAVE_ISNANL 1
61659 _ACEOF
61662 done
61664 else
61666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61667 $as_echo_n "checking for _isnanl declaration... " >&6; }
61668 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61669 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61670 $as_echo_n "(cached) " >&6
61671 else
61674 ac_ext=cpp
61675 ac_cpp='$CXXCPP $CPPFLAGS'
61676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61681 /* end confdefs.h. */
61682 #include <math.h>
61683 #ifdef HAVE_IEEEFP_H
61684 #include <ieeefp.h>
61685 #endif
61688 main ()
61690 _isnanl(0);
61692 return 0;
61694 _ACEOF
61695 if ac_fn_cxx_try_compile "$LINENO"; then :
61696 glibcxx_cv_func__isnanl_use=yes
61697 else
61698 glibcxx_cv_func__isnanl_use=no
61700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61701 ac_ext=c
61702 ac_cpp='$CPP $CPPFLAGS'
61703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61712 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61714 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61715 for ac_func in _isnanl
61716 do :
61717 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61718 if test "x$ac_cv_func__isnanl" = x""yes; then :
61719 cat >>confdefs.h <<_ACEOF
61720 #define HAVE__ISNANL 1
61721 _ACEOF
61724 done
61733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61734 $as_echo_n "checking for isinfl declaration... " >&6; }
61735 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61736 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61737 $as_echo_n "(cached) " >&6
61738 else
61741 ac_ext=cpp
61742 ac_cpp='$CXXCPP $CPPFLAGS'
61743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61748 /* end confdefs.h. */
61749 #include <math.h>
61750 #ifdef HAVE_IEEEFP_H
61751 #include <ieeefp.h>
61752 #endif
61755 main ()
61757 isinfl(0);
61759 return 0;
61761 _ACEOF
61762 if ac_fn_cxx_try_compile "$LINENO"; then :
61763 glibcxx_cv_func_isinfl_use=yes
61764 else
61765 glibcxx_cv_func_isinfl_use=no
61767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61768 ac_ext=c
61769 ac_cpp='$CPP $CPPFLAGS'
61770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61779 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61781 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61782 for ac_func in isinfl
61783 do :
61784 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61785 if test "x$ac_cv_func_isinfl" = x""yes; then :
61786 cat >>confdefs.h <<_ACEOF
61787 #define HAVE_ISINFL 1
61788 _ACEOF
61791 done
61793 else
61795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61796 $as_echo_n "checking for _isinfl declaration... " >&6; }
61797 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61798 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61799 $as_echo_n "(cached) " >&6
61800 else
61803 ac_ext=cpp
61804 ac_cpp='$CXXCPP $CPPFLAGS'
61805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61810 /* end confdefs.h. */
61811 #include <math.h>
61812 #ifdef HAVE_IEEEFP_H
61813 #include <ieeefp.h>
61814 #endif
61817 main ()
61819 _isinfl(0);
61821 return 0;
61823 _ACEOF
61824 if ac_fn_cxx_try_compile "$LINENO"; then :
61825 glibcxx_cv_func__isinfl_use=yes
61826 else
61827 glibcxx_cv_func__isinfl_use=no
61829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61830 ac_ext=c
61831 ac_cpp='$CPP $CPPFLAGS'
61832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61841 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61843 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61844 for ac_func in _isinfl
61845 do :
61846 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61847 if test "x$ac_cv_func__isinfl" = x""yes; then :
61848 cat >>confdefs.h <<_ACEOF
61849 #define HAVE__ISINFL 1
61850 _ACEOF
61853 done
61862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61863 $as_echo_n "checking for atan2l declaration... " >&6; }
61864 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61865 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61866 $as_echo_n "(cached) " >&6
61867 else
61870 ac_ext=cpp
61871 ac_cpp='$CXXCPP $CPPFLAGS'
61872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61877 /* end confdefs.h. */
61878 #include <math.h>
61880 main ()
61882 atan2l(0, 0);
61884 return 0;
61886 _ACEOF
61887 if ac_fn_cxx_try_compile "$LINENO"; then :
61888 glibcxx_cv_func_atan2l_use=yes
61889 else
61890 glibcxx_cv_func_atan2l_use=no
61892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61893 ac_ext=c
61894 ac_cpp='$CPP $CPPFLAGS'
61895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61904 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61906 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61907 for ac_func in atan2l
61908 do :
61909 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61910 if test "x$ac_cv_func_atan2l" = x""yes; then :
61911 cat >>confdefs.h <<_ACEOF
61912 #define HAVE_ATAN2L 1
61913 _ACEOF
61916 done
61918 else
61920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61921 $as_echo_n "checking for _atan2l declaration... " >&6; }
61922 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61923 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61924 $as_echo_n "(cached) " >&6
61925 else
61928 ac_ext=cpp
61929 ac_cpp='$CXXCPP $CPPFLAGS'
61930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61935 /* end confdefs.h. */
61936 #include <math.h>
61938 main ()
61940 _atan2l(0, 0);
61942 return 0;
61944 _ACEOF
61945 if ac_fn_cxx_try_compile "$LINENO"; then :
61946 glibcxx_cv_func__atan2l_use=yes
61947 else
61948 glibcxx_cv_func__atan2l_use=no
61950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61951 ac_ext=c
61952 ac_cpp='$CPP $CPPFLAGS'
61953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61962 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61964 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61965 for ac_func in _atan2l
61966 do :
61967 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61968 if test "x$ac_cv_func__atan2l" = x""yes; then :
61969 cat >>confdefs.h <<_ACEOF
61970 #define HAVE__ATAN2L 1
61971 _ACEOF
61974 done
61983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61984 $as_echo_n "checking for expl declaration... " >&6; }
61985 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61986 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61987 $as_echo_n "(cached) " >&6
61988 else
61991 ac_ext=cpp
61992 ac_cpp='$CXXCPP $CPPFLAGS'
61993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61998 /* end confdefs.h. */
61999 #include <math.h>
62000 #ifdef HAVE_IEEEFP_H
62001 #include <ieeefp.h>
62002 #endif
62005 main ()
62007 expl(0);
62009 return 0;
62011 _ACEOF
62012 if ac_fn_cxx_try_compile "$LINENO"; then :
62013 glibcxx_cv_func_expl_use=yes
62014 else
62015 glibcxx_cv_func_expl_use=no
62017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62018 ac_ext=c
62019 ac_cpp='$CPP $CPPFLAGS'
62020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62029 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62031 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62032 for ac_func in expl
62033 do :
62034 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62035 if test "x$ac_cv_func_expl" = x""yes; then :
62036 cat >>confdefs.h <<_ACEOF
62037 #define HAVE_EXPL 1
62038 _ACEOF
62041 done
62043 else
62045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62046 $as_echo_n "checking for _expl declaration... " >&6; }
62047 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62048 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62049 $as_echo_n "(cached) " >&6
62050 else
62053 ac_ext=cpp
62054 ac_cpp='$CXXCPP $CPPFLAGS'
62055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62060 /* end confdefs.h. */
62061 #include <math.h>
62062 #ifdef HAVE_IEEEFP_H
62063 #include <ieeefp.h>
62064 #endif
62067 main ()
62069 _expl(0);
62071 return 0;
62073 _ACEOF
62074 if ac_fn_cxx_try_compile "$LINENO"; then :
62075 glibcxx_cv_func__expl_use=yes
62076 else
62077 glibcxx_cv_func__expl_use=no
62079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62080 ac_ext=c
62081 ac_cpp='$CPP $CPPFLAGS'
62082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62091 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62093 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62094 for ac_func in _expl
62095 do :
62096 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62097 if test "x$ac_cv_func__expl" = x""yes; then :
62098 cat >>confdefs.h <<_ACEOF
62099 #define HAVE__EXPL 1
62100 _ACEOF
62103 done
62112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62113 $as_echo_n "checking for fabsl declaration... " >&6; }
62114 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62115 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62116 $as_echo_n "(cached) " >&6
62117 else
62120 ac_ext=cpp
62121 ac_cpp='$CXXCPP $CPPFLAGS'
62122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62127 /* end confdefs.h. */
62128 #include <math.h>
62129 #ifdef HAVE_IEEEFP_H
62130 #include <ieeefp.h>
62131 #endif
62134 main ()
62136 fabsl(0);
62138 return 0;
62140 _ACEOF
62141 if ac_fn_cxx_try_compile "$LINENO"; then :
62142 glibcxx_cv_func_fabsl_use=yes
62143 else
62144 glibcxx_cv_func_fabsl_use=no
62146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62147 ac_ext=c
62148 ac_cpp='$CPP $CPPFLAGS'
62149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62158 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62160 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62161 for ac_func in fabsl
62162 do :
62163 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62164 if test "x$ac_cv_func_fabsl" = x""yes; then :
62165 cat >>confdefs.h <<_ACEOF
62166 #define HAVE_FABSL 1
62167 _ACEOF
62170 done
62172 else
62174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62175 $as_echo_n "checking for _fabsl declaration... " >&6; }
62176 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62177 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62178 $as_echo_n "(cached) " >&6
62179 else
62182 ac_ext=cpp
62183 ac_cpp='$CXXCPP $CPPFLAGS'
62184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62189 /* end confdefs.h. */
62190 #include <math.h>
62191 #ifdef HAVE_IEEEFP_H
62192 #include <ieeefp.h>
62193 #endif
62196 main ()
62198 _fabsl(0);
62200 return 0;
62202 _ACEOF
62203 if ac_fn_cxx_try_compile "$LINENO"; then :
62204 glibcxx_cv_func__fabsl_use=yes
62205 else
62206 glibcxx_cv_func__fabsl_use=no
62208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62209 ac_ext=c
62210 ac_cpp='$CPP $CPPFLAGS'
62211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62220 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62222 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62223 for ac_func in _fabsl
62224 do :
62225 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62226 if test "x$ac_cv_func__fabsl" = x""yes; then :
62227 cat >>confdefs.h <<_ACEOF
62228 #define HAVE__FABSL 1
62229 _ACEOF
62232 done
62241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62242 $as_echo_n "checking for fmodl declaration... " >&6; }
62243 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62244 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62245 $as_echo_n "(cached) " >&6
62246 else
62249 ac_ext=cpp
62250 ac_cpp='$CXXCPP $CPPFLAGS'
62251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62256 /* end confdefs.h. */
62257 #include <math.h>
62259 main ()
62261 fmodl(0, 0);
62263 return 0;
62265 _ACEOF
62266 if ac_fn_cxx_try_compile "$LINENO"; then :
62267 glibcxx_cv_func_fmodl_use=yes
62268 else
62269 glibcxx_cv_func_fmodl_use=no
62271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62272 ac_ext=c
62273 ac_cpp='$CPP $CPPFLAGS'
62274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62283 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62285 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62286 for ac_func in fmodl
62287 do :
62288 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62289 if test "x$ac_cv_func_fmodl" = x""yes; then :
62290 cat >>confdefs.h <<_ACEOF
62291 #define HAVE_FMODL 1
62292 _ACEOF
62295 done
62297 else
62299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62300 $as_echo_n "checking for _fmodl declaration... " >&6; }
62301 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62302 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62303 $as_echo_n "(cached) " >&6
62304 else
62307 ac_ext=cpp
62308 ac_cpp='$CXXCPP $CPPFLAGS'
62309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62314 /* end confdefs.h. */
62315 #include <math.h>
62317 main ()
62319 _fmodl(0, 0);
62321 return 0;
62323 _ACEOF
62324 if ac_fn_cxx_try_compile "$LINENO"; then :
62325 glibcxx_cv_func__fmodl_use=yes
62326 else
62327 glibcxx_cv_func__fmodl_use=no
62329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62330 ac_ext=c
62331 ac_cpp='$CPP $CPPFLAGS'
62332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62341 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62343 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62344 for ac_func in _fmodl
62345 do :
62346 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62347 if test "x$ac_cv_func__fmodl" = x""yes; then :
62348 cat >>confdefs.h <<_ACEOF
62349 #define HAVE__FMODL 1
62350 _ACEOF
62353 done
62362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62363 $as_echo_n "checking for frexpl declaration... " >&6; }
62364 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62365 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62366 $as_echo_n "(cached) " >&6
62367 else
62370 ac_ext=cpp
62371 ac_cpp='$CXXCPP $CPPFLAGS'
62372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62377 /* end confdefs.h. */
62378 #include <math.h>
62380 main ()
62382 frexpl(0, 0);
62384 return 0;
62386 _ACEOF
62387 if ac_fn_cxx_try_compile "$LINENO"; then :
62388 glibcxx_cv_func_frexpl_use=yes
62389 else
62390 glibcxx_cv_func_frexpl_use=no
62392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62393 ac_ext=c
62394 ac_cpp='$CPP $CPPFLAGS'
62395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62404 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62406 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62407 for ac_func in frexpl
62408 do :
62409 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62410 if test "x$ac_cv_func_frexpl" = x""yes; then :
62411 cat >>confdefs.h <<_ACEOF
62412 #define HAVE_FREXPL 1
62413 _ACEOF
62416 done
62418 else
62420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62421 $as_echo_n "checking for _frexpl declaration... " >&6; }
62422 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62423 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62424 $as_echo_n "(cached) " >&6
62425 else
62428 ac_ext=cpp
62429 ac_cpp='$CXXCPP $CPPFLAGS'
62430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62435 /* end confdefs.h. */
62436 #include <math.h>
62438 main ()
62440 _frexpl(0, 0);
62442 return 0;
62444 _ACEOF
62445 if ac_fn_cxx_try_compile "$LINENO"; then :
62446 glibcxx_cv_func__frexpl_use=yes
62447 else
62448 glibcxx_cv_func__frexpl_use=no
62450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62451 ac_ext=c
62452 ac_cpp='$CPP $CPPFLAGS'
62453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62462 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62464 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62465 for ac_func in _frexpl
62466 do :
62467 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62468 if test "x$ac_cv_func__frexpl" = x""yes; then :
62469 cat >>confdefs.h <<_ACEOF
62470 #define HAVE__FREXPL 1
62471 _ACEOF
62474 done
62483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62484 $as_echo_n "checking for hypotl declaration... " >&6; }
62485 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62486 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62487 $as_echo_n "(cached) " >&6
62488 else
62491 ac_ext=cpp
62492 ac_cpp='$CXXCPP $CPPFLAGS'
62493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62498 /* end confdefs.h. */
62499 #include <math.h>
62501 main ()
62503 hypotl(0, 0);
62505 return 0;
62507 _ACEOF
62508 if ac_fn_cxx_try_compile "$LINENO"; then :
62509 glibcxx_cv_func_hypotl_use=yes
62510 else
62511 glibcxx_cv_func_hypotl_use=no
62513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62514 ac_ext=c
62515 ac_cpp='$CPP $CPPFLAGS'
62516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62525 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62527 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62528 for ac_func in hypotl
62529 do :
62530 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62531 if test "x$ac_cv_func_hypotl" = x""yes; then :
62532 cat >>confdefs.h <<_ACEOF
62533 #define HAVE_HYPOTL 1
62534 _ACEOF
62537 done
62539 else
62541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62542 $as_echo_n "checking for _hypotl declaration... " >&6; }
62543 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62544 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62545 $as_echo_n "(cached) " >&6
62546 else
62549 ac_ext=cpp
62550 ac_cpp='$CXXCPP $CPPFLAGS'
62551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62556 /* end confdefs.h. */
62557 #include <math.h>
62559 main ()
62561 _hypotl(0, 0);
62563 return 0;
62565 _ACEOF
62566 if ac_fn_cxx_try_compile "$LINENO"; then :
62567 glibcxx_cv_func__hypotl_use=yes
62568 else
62569 glibcxx_cv_func__hypotl_use=no
62571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62572 ac_ext=c
62573 ac_cpp='$CPP $CPPFLAGS'
62574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62583 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62585 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62586 for ac_func in _hypotl
62587 do :
62588 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62589 if test "x$ac_cv_func__hypotl" = x""yes; then :
62590 cat >>confdefs.h <<_ACEOF
62591 #define HAVE__HYPOTL 1
62592 _ACEOF
62595 done
62604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62605 $as_echo_n "checking for ldexpl declaration... " >&6; }
62606 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62607 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62608 $as_echo_n "(cached) " >&6
62609 else
62612 ac_ext=cpp
62613 ac_cpp='$CXXCPP $CPPFLAGS'
62614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62619 /* end confdefs.h. */
62620 #include <math.h>
62622 main ()
62624 ldexpl(0, 0);
62626 return 0;
62628 _ACEOF
62629 if ac_fn_cxx_try_compile "$LINENO"; then :
62630 glibcxx_cv_func_ldexpl_use=yes
62631 else
62632 glibcxx_cv_func_ldexpl_use=no
62634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62635 ac_ext=c
62636 ac_cpp='$CPP $CPPFLAGS'
62637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62646 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62648 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62649 for ac_func in ldexpl
62650 do :
62651 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62652 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62653 cat >>confdefs.h <<_ACEOF
62654 #define HAVE_LDEXPL 1
62655 _ACEOF
62658 done
62660 else
62662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62663 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62664 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62665 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62666 $as_echo_n "(cached) " >&6
62667 else
62670 ac_ext=cpp
62671 ac_cpp='$CXXCPP $CPPFLAGS'
62672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62677 /* end confdefs.h. */
62678 #include <math.h>
62680 main ()
62682 _ldexpl(0, 0);
62684 return 0;
62686 _ACEOF
62687 if ac_fn_cxx_try_compile "$LINENO"; then :
62688 glibcxx_cv_func__ldexpl_use=yes
62689 else
62690 glibcxx_cv_func__ldexpl_use=no
62692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62693 ac_ext=c
62694 ac_cpp='$CPP $CPPFLAGS'
62695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62704 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62706 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62707 for ac_func in _ldexpl
62708 do :
62709 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62710 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62711 cat >>confdefs.h <<_ACEOF
62712 #define HAVE__LDEXPL 1
62713 _ACEOF
62716 done
62725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62726 $as_echo_n "checking for logl declaration... " >&6; }
62727 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62728 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62729 $as_echo_n "(cached) " >&6
62730 else
62733 ac_ext=cpp
62734 ac_cpp='$CXXCPP $CPPFLAGS'
62735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62740 /* end confdefs.h. */
62741 #include <math.h>
62742 #ifdef HAVE_IEEEFP_H
62743 #include <ieeefp.h>
62744 #endif
62747 main ()
62749 logl(0);
62751 return 0;
62753 _ACEOF
62754 if ac_fn_cxx_try_compile "$LINENO"; then :
62755 glibcxx_cv_func_logl_use=yes
62756 else
62757 glibcxx_cv_func_logl_use=no
62759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62760 ac_ext=c
62761 ac_cpp='$CPP $CPPFLAGS'
62762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62771 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62773 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62774 for ac_func in logl
62775 do :
62776 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62777 if test "x$ac_cv_func_logl" = x""yes; then :
62778 cat >>confdefs.h <<_ACEOF
62779 #define HAVE_LOGL 1
62780 _ACEOF
62783 done
62785 else
62787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62788 $as_echo_n "checking for _logl declaration... " >&6; }
62789 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62790 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62791 $as_echo_n "(cached) " >&6
62792 else
62795 ac_ext=cpp
62796 ac_cpp='$CXXCPP $CPPFLAGS'
62797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62802 /* end confdefs.h. */
62803 #include <math.h>
62804 #ifdef HAVE_IEEEFP_H
62805 #include <ieeefp.h>
62806 #endif
62809 main ()
62811 _logl(0);
62813 return 0;
62815 _ACEOF
62816 if ac_fn_cxx_try_compile "$LINENO"; then :
62817 glibcxx_cv_func__logl_use=yes
62818 else
62819 glibcxx_cv_func__logl_use=no
62821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62822 ac_ext=c
62823 ac_cpp='$CPP $CPPFLAGS'
62824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62833 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62835 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62836 for ac_func in _logl
62837 do :
62838 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62839 if test "x$ac_cv_func__logl" = x""yes; then :
62840 cat >>confdefs.h <<_ACEOF
62841 #define HAVE__LOGL 1
62842 _ACEOF
62845 done
62854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62855 $as_echo_n "checking for log10l declaration... " >&6; }
62856 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62857 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62858 $as_echo_n "(cached) " >&6
62859 else
62862 ac_ext=cpp
62863 ac_cpp='$CXXCPP $CPPFLAGS'
62864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62869 /* end confdefs.h. */
62870 #include <math.h>
62871 #ifdef HAVE_IEEEFP_H
62872 #include <ieeefp.h>
62873 #endif
62876 main ()
62878 log10l(0);
62880 return 0;
62882 _ACEOF
62883 if ac_fn_cxx_try_compile "$LINENO"; then :
62884 glibcxx_cv_func_log10l_use=yes
62885 else
62886 glibcxx_cv_func_log10l_use=no
62888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62889 ac_ext=c
62890 ac_cpp='$CPP $CPPFLAGS'
62891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62900 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62902 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62903 for ac_func in log10l
62904 do :
62905 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62906 if test "x$ac_cv_func_log10l" = x""yes; then :
62907 cat >>confdefs.h <<_ACEOF
62908 #define HAVE_LOG10L 1
62909 _ACEOF
62912 done
62914 else
62916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62917 $as_echo_n "checking for _log10l declaration... " >&6; }
62918 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62919 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62920 $as_echo_n "(cached) " >&6
62921 else
62924 ac_ext=cpp
62925 ac_cpp='$CXXCPP $CPPFLAGS'
62926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62931 /* end confdefs.h. */
62932 #include <math.h>
62933 #ifdef HAVE_IEEEFP_H
62934 #include <ieeefp.h>
62935 #endif
62938 main ()
62940 _log10l(0);
62942 return 0;
62944 _ACEOF
62945 if ac_fn_cxx_try_compile "$LINENO"; then :
62946 glibcxx_cv_func__log10l_use=yes
62947 else
62948 glibcxx_cv_func__log10l_use=no
62950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62951 ac_ext=c
62952 ac_cpp='$CPP $CPPFLAGS'
62953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62962 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62964 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62965 for ac_func in _log10l
62966 do :
62967 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62968 if test "x$ac_cv_func__log10l" = x""yes; then :
62969 cat >>confdefs.h <<_ACEOF
62970 #define HAVE__LOG10L 1
62971 _ACEOF
62974 done
62983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62984 $as_echo_n "checking for modfl declaration... " >&6; }
62985 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62986 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62987 $as_echo_n "(cached) " >&6
62988 else
62991 ac_ext=cpp
62992 ac_cpp='$CXXCPP $CPPFLAGS'
62993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62998 /* end confdefs.h. */
62999 #include <math.h>
63001 main ()
63003 modfl(0, 0);
63005 return 0;
63007 _ACEOF
63008 if ac_fn_cxx_try_compile "$LINENO"; then :
63009 glibcxx_cv_func_modfl_use=yes
63010 else
63011 glibcxx_cv_func_modfl_use=no
63013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63014 ac_ext=c
63015 ac_cpp='$CPP $CPPFLAGS'
63016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63025 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63027 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63028 for ac_func in modfl
63029 do :
63030 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63031 if test "x$ac_cv_func_modfl" = x""yes; then :
63032 cat >>confdefs.h <<_ACEOF
63033 #define HAVE_MODFL 1
63034 _ACEOF
63037 done
63039 else
63041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63042 $as_echo_n "checking for _modfl declaration... " >&6; }
63043 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63044 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63045 $as_echo_n "(cached) " >&6
63046 else
63049 ac_ext=cpp
63050 ac_cpp='$CXXCPP $CPPFLAGS'
63051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63056 /* end confdefs.h. */
63057 #include <math.h>
63059 main ()
63061 _modfl(0, 0);
63063 return 0;
63065 _ACEOF
63066 if ac_fn_cxx_try_compile "$LINENO"; then :
63067 glibcxx_cv_func__modfl_use=yes
63068 else
63069 glibcxx_cv_func__modfl_use=no
63071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63072 ac_ext=c
63073 ac_cpp='$CPP $CPPFLAGS'
63074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63083 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63085 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63086 for ac_func in _modfl
63087 do :
63088 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63089 if test "x$ac_cv_func__modfl" = x""yes; then :
63090 cat >>confdefs.h <<_ACEOF
63091 #define HAVE__MODFL 1
63092 _ACEOF
63095 done
63104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63105 $as_echo_n "checking for powl declaration... " >&6; }
63106 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63107 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63108 $as_echo_n "(cached) " >&6
63109 else
63112 ac_ext=cpp
63113 ac_cpp='$CXXCPP $CPPFLAGS'
63114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63119 /* end confdefs.h. */
63120 #include <math.h>
63122 main ()
63124 powl(0, 0);
63126 return 0;
63128 _ACEOF
63129 if ac_fn_cxx_try_compile "$LINENO"; then :
63130 glibcxx_cv_func_powl_use=yes
63131 else
63132 glibcxx_cv_func_powl_use=no
63134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63135 ac_ext=c
63136 ac_cpp='$CPP $CPPFLAGS'
63137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63146 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63148 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63149 for ac_func in powl
63150 do :
63151 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63152 if test "x$ac_cv_func_powl" = x""yes; then :
63153 cat >>confdefs.h <<_ACEOF
63154 #define HAVE_POWL 1
63155 _ACEOF
63158 done
63160 else
63162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63163 $as_echo_n "checking for _powl declaration... " >&6; }
63164 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63165 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63166 $as_echo_n "(cached) " >&6
63167 else
63170 ac_ext=cpp
63171 ac_cpp='$CXXCPP $CPPFLAGS'
63172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63177 /* end confdefs.h. */
63178 #include <math.h>
63180 main ()
63182 _powl(0, 0);
63184 return 0;
63186 _ACEOF
63187 if ac_fn_cxx_try_compile "$LINENO"; then :
63188 glibcxx_cv_func__powl_use=yes
63189 else
63190 glibcxx_cv_func__powl_use=no
63192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63193 ac_ext=c
63194 ac_cpp='$CPP $CPPFLAGS'
63195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63204 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63206 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63207 for ac_func in _powl
63208 do :
63209 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63210 if test "x$ac_cv_func__powl" = x""yes; then :
63211 cat >>confdefs.h <<_ACEOF
63212 #define HAVE__POWL 1
63213 _ACEOF
63216 done
63225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63226 $as_echo_n "checking for sqrtl declaration... " >&6; }
63227 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63228 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63229 $as_echo_n "(cached) " >&6
63230 else
63233 ac_ext=cpp
63234 ac_cpp='$CXXCPP $CPPFLAGS'
63235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63240 /* end confdefs.h. */
63241 #include <math.h>
63242 #ifdef HAVE_IEEEFP_H
63243 #include <ieeefp.h>
63244 #endif
63247 main ()
63249 sqrtl(0);
63251 return 0;
63253 _ACEOF
63254 if ac_fn_cxx_try_compile "$LINENO"; then :
63255 glibcxx_cv_func_sqrtl_use=yes
63256 else
63257 glibcxx_cv_func_sqrtl_use=no
63259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63260 ac_ext=c
63261 ac_cpp='$CPP $CPPFLAGS'
63262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63271 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63273 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63274 for ac_func in sqrtl
63275 do :
63276 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63277 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63278 cat >>confdefs.h <<_ACEOF
63279 #define HAVE_SQRTL 1
63280 _ACEOF
63283 done
63285 else
63287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63288 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63289 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63290 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63291 $as_echo_n "(cached) " >&6
63292 else
63295 ac_ext=cpp
63296 ac_cpp='$CXXCPP $CPPFLAGS'
63297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63302 /* end confdefs.h. */
63303 #include <math.h>
63304 #ifdef HAVE_IEEEFP_H
63305 #include <ieeefp.h>
63306 #endif
63309 main ()
63311 _sqrtl(0);
63313 return 0;
63315 _ACEOF
63316 if ac_fn_cxx_try_compile "$LINENO"; then :
63317 glibcxx_cv_func__sqrtl_use=yes
63318 else
63319 glibcxx_cv_func__sqrtl_use=no
63321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63322 ac_ext=c
63323 ac_cpp='$CPP $CPPFLAGS'
63324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63333 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63335 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63336 for ac_func in _sqrtl
63337 do :
63338 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63339 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63340 cat >>confdefs.h <<_ACEOF
63341 #define HAVE__SQRTL 1
63342 _ACEOF
63345 done
63354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63355 $as_echo_n "checking for sincosl declaration... " >&6; }
63356 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63357 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63358 $as_echo_n "(cached) " >&6
63359 else
63362 ac_ext=cpp
63363 ac_cpp='$CXXCPP $CPPFLAGS'
63364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63369 /* end confdefs.h. */
63370 #include <math.h>
63372 main ()
63374 sincosl(0, 0, 0);
63376 return 0;
63378 _ACEOF
63379 if ac_fn_cxx_try_compile "$LINENO"; then :
63380 glibcxx_cv_func_sincosl_use=yes
63381 else
63382 glibcxx_cv_func_sincosl_use=no
63384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63385 ac_ext=c
63386 ac_cpp='$CPP $CPPFLAGS'
63387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63396 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63398 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63399 for ac_func in sincosl
63400 do :
63401 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63402 if test "x$ac_cv_func_sincosl" = x""yes; then :
63403 cat >>confdefs.h <<_ACEOF
63404 #define HAVE_SINCOSL 1
63405 _ACEOF
63408 done
63410 else
63412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63413 $as_echo_n "checking for _sincosl declaration... " >&6; }
63414 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63415 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63416 $as_echo_n "(cached) " >&6
63417 else
63420 ac_ext=cpp
63421 ac_cpp='$CXXCPP $CPPFLAGS'
63422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63427 /* end confdefs.h. */
63428 #include <math.h>
63430 main ()
63432 _sincosl(0, 0, 0);
63434 return 0;
63436 _ACEOF
63437 if ac_fn_cxx_try_compile "$LINENO"; then :
63438 glibcxx_cv_func__sincosl_use=yes
63439 else
63440 glibcxx_cv_func__sincosl_use=no
63442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63443 ac_ext=c
63444 ac_cpp='$CPP $CPPFLAGS'
63445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63454 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63456 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63457 for ac_func in _sincosl
63458 do :
63459 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63460 if test "x$ac_cv_func__sincosl" = x""yes; then :
63461 cat >>confdefs.h <<_ACEOF
63462 #define HAVE__SINCOSL 1
63463 _ACEOF
63466 done
63475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63476 $as_echo_n "checking for finitel declaration... " >&6; }
63477 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63478 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63479 $as_echo_n "(cached) " >&6
63480 else
63483 ac_ext=cpp
63484 ac_cpp='$CXXCPP $CPPFLAGS'
63485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63490 /* end confdefs.h. */
63491 #include <math.h>
63492 #ifdef HAVE_IEEEFP_H
63493 #include <ieeefp.h>
63494 #endif
63497 main ()
63499 finitel(0);
63501 return 0;
63503 _ACEOF
63504 if ac_fn_cxx_try_compile "$LINENO"; then :
63505 glibcxx_cv_func_finitel_use=yes
63506 else
63507 glibcxx_cv_func_finitel_use=no
63509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63510 ac_ext=c
63511 ac_cpp='$CPP $CPPFLAGS'
63512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63521 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63523 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63524 for ac_func in finitel
63525 do :
63526 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63527 if test "x$ac_cv_func_finitel" = x""yes; then :
63528 cat >>confdefs.h <<_ACEOF
63529 #define HAVE_FINITEL 1
63530 _ACEOF
63533 done
63535 else
63537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63538 $as_echo_n "checking for _finitel declaration... " >&6; }
63539 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63540 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63541 $as_echo_n "(cached) " >&6
63542 else
63545 ac_ext=cpp
63546 ac_cpp='$CXXCPP $CPPFLAGS'
63547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63552 /* end confdefs.h. */
63553 #include <math.h>
63554 #ifdef HAVE_IEEEFP_H
63555 #include <ieeefp.h>
63556 #endif
63559 main ()
63561 _finitel(0);
63563 return 0;
63565 _ACEOF
63566 if ac_fn_cxx_try_compile "$LINENO"; then :
63567 glibcxx_cv_func__finitel_use=yes
63568 else
63569 glibcxx_cv_func__finitel_use=no
63571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63572 ac_ext=c
63573 ac_cpp='$CPP $CPPFLAGS'
63574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63583 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63585 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63586 for ac_func in _finitel
63587 do :
63588 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63589 if test "x$ac_cv_func__finitel" = x""yes; then :
63590 cat >>confdefs.h <<_ACEOF
63591 #define HAVE__FINITEL 1
63592 _ACEOF
63595 done
63603 LIBS="$ac_save_LIBS"
63604 CXXFLAGS="$ac_save_CXXFLAGS"
63607 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63608 ac_save_CXXFLAGS="$CXXFLAGS"
63609 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63613 $as_echo_n "checking for strtold declaration... " >&6; }
63614 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63615 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63616 $as_echo_n "(cached) " >&6
63617 else
63620 ac_ext=cpp
63621 ac_cpp='$CXXCPP $CPPFLAGS'
63622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63627 /* end confdefs.h. */
63628 #include <stdlib.h>
63630 main ()
63632 strtold(0, 0);
63634 return 0;
63636 _ACEOF
63637 if ac_fn_cxx_try_compile "$LINENO"; then :
63638 glibcxx_cv_func_strtold_use=yes
63639 else
63640 glibcxx_cv_func_strtold_use=no
63642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63643 ac_ext=c
63644 ac_cpp='$CPP $CPPFLAGS'
63645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63654 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63655 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63656 for ac_func in strtold
63657 do :
63658 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63659 if test "x$ac_cv_func_strtold" = x""yes; then :
63660 cat >>confdefs.h <<_ACEOF
63661 #define HAVE_STRTOLD 1
63662 _ACEOF
63665 done
63672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63673 $as_echo_n "checking for strtof declaration... " >&6; }
63674 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63675 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63676 $as_echo_n "(cached) " >&6
63677 else
63680 ac_ext=cpp
63681 ac_cpp='$CXXCPP $CPPFLAGS'
63682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63687 /* end confdefs.h. */
63688 #include <stdlib.h>
63690 main ()
63692 strtof(0, 0);
63694 return 0;
63696 _ACEOF
63697 if ac_fn_cxx_try_compile "$LINENO"; then :
63698 glibcxx_cv_func_strtof_use=yes
63699 else
63700 glibcxx_cv_func_strtof_use=no
63702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63703 ac_ext=c
63704 ac_cpp='$CPP $CPPFLAGS'
63705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63714 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63715 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63716 for ac_func in strtof
63717 do :
63718 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63719 if test "x$ac_cv_func_strtof" = x""yes; then :
63720 cat >>confdefs.h <<_ACEOF
63721 #define HAVE_STRTOF 1
63722 _ACEOF
63725 done
63732 CXXFLAGS="$ac_save_CXXFLAGS"
63735 *-solaris*)
63736 case "$target" in
63737 *-solaris2.9 | *-solaris2.10)
63739 # If we're not using GNU ld, then there's no point in even trying these
63740 # tests. Check for that first. We should have already tested for gld
63741 # by now (in libtool), but require it now just to be safe...
63742 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63743 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63747 # The name set by libtool depends on the version of libtool. Shame on us
63748 # for depending on an impl detail, but c'est la vie. Older versions used
63749 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63750 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63751 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63752 # set (hence we're using an older libtool), then set it.
63753 if test x${with_gnu_ld+set} != xset; then
63754 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63755 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63756 with_gnu_ld=no
63757 else
63758 with_gnu_ld=$ac_cv_prog_gnu_ld
63762 # Start by getting the version number. I think the libtool test already
63763 # does some of this, but throws away the result.
63764 glibcxx_ld_is_gold=no
63765 if test x"$with_gnu_ld" = x"yes"; then
63766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63767 $as_echo_n "checking for ld version... " >&6; }
63769 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63770 glibcxx_ld_is_gold=yes
63772 ldver=`$LD --version 2>/dev/null |
63773 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'`
63775 glibcxx_gnu_ld_version=`echo $ldver | \
63776 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63778 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63781 # Set --gc-sections.
63782 glibcxx_have_gc_sections=no
63783 if test "$glibcxx_ld_is_gold" = "yes"; then
63784 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63785 glibcxx_have_gc_sections=yes
63787 else
63788 glibcxx_gcsections_min_ld=21602
63789 if test x"$with_gnu_ld" = x"yes" &&
63790 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63791 glibcxx_have_gc_sections=yes
63794 if test "$glibcxx_have_gc_sections" = "yes"; then
63795 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63796 # NB: This flag only works reliably after 2.16.1. Configure tests
63797 # for this are difficult, so hard wire a value that should work.
63799 ac_test_CFLAGS="${CFLAGS+set}"
63800 ac_save_CFLAGS="$CFLAGS"
63801 CFLAGS='-Wl,--gc-sections'
63803 # Check for -Wl,--gc-sections
63804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63805 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63806 if test x$gcc_no_link = xyes; then
63807 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63810 /* end confdefs.h. */
63811 int one(void) { return 1; }
63812 int two(void) { return 2; }
63815 main ()
63817 two();
63819 return 0;
63821 _ACEOF
63822 if ac_fn_c_try_link "$LINENO"; then :
63823 ac_gcsections=yes
63824 else
63825 ac_gcsections=no
63827 rm -f core conftest.err conftest.$ac_objext \
63828 conftest$ac_exeext conftest.$ac_ext
63829 if test "$ac_gcsections" = "yes"; then
63830 rm -f conftest.c
63831 touch conftest.c
63832 if $CC -c conftest.c; then
63833 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63834 grep "Warning: gc-sections option ignored" > /dev/null; then
63835 ac_gcsections=no
63838 rm -f conftest.c conftest.o conftest
63840 if test "$ac_gcsections" = "yes"; then
63841 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63844 $as_echo "$ac_gcsections" >&6; }
63846 if test "$ac_test_CFLAGS" = set; then
63847 CFLAGS="$ac_save_CFLAGS"
63848 else
63849 # this is the suspicious part
63850 CFLAGS=''
63854 # Set -z,relro.
63855 # Note this is only for shared objects.
63856 ac_ld_relro=no
63857 if test x"$with_gnu_ld" = x"yes"; then
63858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63859 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63860 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63861 if test -n "$cxx_z_relo"; then
63862 OPT_LDFLAGS="-Wl,-z,relro"
63863 ac_ld_relro=yes
63865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63866 $as_echo "$ac_ld_relro" >&6; }
63869 # Set linker optimization flags.
63870 if test x"$with_gnu_ld" = x"yes"; then
63871 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63877 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63879 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63881 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63883 # All of the dependencies for wide character support are here, so
63884 # turn it on.
63885 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63888 esac
63889 case "$target" in
63890 *-*-solaris2.10)
63891 # These two C99 functions are present only in Solaris >= 10
63892 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63894 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63897 esac
63898 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63900 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63902 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63904 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63907 *-tpf)
63908 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63909 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63911 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63913 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63915 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63917 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63919 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63921 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63923 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63925 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63927 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63929 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63931 if test x"long_double_math_on_this_cpu" = x"yes"; then
63932 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63934 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63936 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63938 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63942 *-*vms*)
63943 # Check for available headers.
63944 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63946 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63947 ac_save_CXXFLAGS="$CXXFLAGS"
63948 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63951 $as_echo_n "checking for sin in -lm... " >&6; }
63952 if test "${ac_cv_lib_m_sin+set}" = set; then :
63953 $as_echo_n "(cached) " >&6
63954 else
63955 ac_check_lib_save_LIBS=$LIBS
63956 LIBS="-lm $LIBS"
63957 if test x$gcc_no_link = xyes; then
63958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63961 /* end confdefs.h. */
63963 /* Override any GCC internal prototype to avoid an error.
63964 Use char because int might match the return type of a GCC
63965 builtin and then its argument prototype would still apply. */
63966 #ifdef __cplusplus
63967 extern "C"
63968 #endif
63969 char sin ();
63971 main ()
63973 return sin ();
63975 return 0;
63977 _ACEOF
63978 if ac_fn_c_try_link "$LINENO"; then :
63979 ac_cv_lib_m_sin=yes
63980 else
63981 ac_cv_lib_m_sin=no
63983 rm -f core conftest.err conftest.$ac_objext \
63984 conftest$ac_exeext conftest.$ac_ext
63985 LIBS=$ac_check_lib_save_LIBS
63987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63988 $as_echo "$ac_cv_lib_m_sin" >&6; }
63989 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63990 libm="-lm"
63993 ac_save_LIBS="$LIBS"
63994 LIBS="$LIBS $libm"
63998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63999 $as_echo_n "checking for isinf declaration... " >&6; }
64000 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64001 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64002 $as_echo_n "(cached) " >&6
64003 else
64006 ac_ext=cpp
64007 ac_cpp='$CXXCPP $CPPFLAGS'
64008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64013 /* end confdefs.h. */
64014 #include <math.h>
64015 #ifdef HAVE_IEEEFP_H
64016 #include <ieeefp.h>
64017 #endif
64020 main ()
64022 isinf(0);
64024 return 0;
64026 _ACEOF
64027 if ac_fn_cxx_try_compile "$LINENO"; then :
64028 glibcxx_cv_func_isinf_use=yes
64029 else
64030 glibcxx_cv_func_isinf_use=no
64032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64033 ac_ext=c
64034 ac_cpp='$CPP $CPPFLAGS'
64035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
64044 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
64046 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64047 for ac_func in isinf
64048 do :
64049 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
64050 if test "x$ac_cv_func_isinf" = x""yes; then :
64051 cat >>confdefs.h <<_ACEOF
64052 #define HAVE_ISINF 1
64053 _ACEOF
64056 done
64058 else
64060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
64061 $as_echo_n "checking for _isinf declaration... " >&6; }
64062 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64063 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
64064 $as_echo_n "(cached) " >&6
64065 else
64068 ac_ext=cpp
64069 ac_cpp='$CXXCPP $CPPFLAGS'
64070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64075 /* end confdefs.h. */
64076 #include <math.h>
64077 #ifdef HAVE_IEEEFP_H
64078 #include <ieeefp.h>
64079 #endif
64082 main ()
64084 _isinf(0);
64086 return 0;
64088 _ACEOF
64089 if ac_fn_cxx_try_compile "$LINENO"; then :
64090 glibcxx_cv_func__isinf_use=yes
64091 else
64092 glibcxx_cv_func__isinf_use=no
64094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64095 ac_ext=c
64096 ac_cpp='$CPP $CPPFLAGS'
64097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64106 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64108 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64109 for ac_func in _isinf
64110 do :
64111 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64112 if test "x$ac_cv_func__isinf" = x""yes; then :
64113 cat >>confdefs.h <<_ACEOF
64114 #define HAVE__ISINF 1
64115 _ACEOF
64118 done
64127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64128 $as_echo_n "checking for isnan declaration... " >&6; }
64129 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64130 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64131 $as_echo_n "(cached) " >&6
64132 else
64135 ac_ext=cpp
64136 ac_cpp='$CXXCPP $CPPFLAGS'
64137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64142 /* end confdefs.h. */
64143 #include <math.h>
64144 #ifdef HAVE_IEEEFP_H
64145 #include <ieeefp.h>
64146 #endif
64149 main ()
64151 isnan(0);
64153 return 0;
64155 _ACEOF
64156 if ac_fn_cxx_try_compile "$LINENO"; then :
64157 glibcxx_cv_func_isnan_use=yes
64158 else
64159 glibcxx_cv_func_isnan_use=no
64161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64162 ac_ext=c
64163 ac_cpp='$CPP $CPPFLAGS'
64164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64173 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64175 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64176 for ac_func in isnan
64177 do :
64178 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64179 if test "x$ac_cv_func_isnan" = x""yes; then :
64180 cat >>confdefs.h <<_ACEOF
64181 #define HAVE_ISNAN 1
64182 _ACEOF
64185 done
64187 else
64189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64190 $as_echo_n "checking for _isnan declaration... " >&6; }
64191 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64192 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64193 $as_echo_n "(cached) " >&6
64194 else
64197 ac_ext=cpp
64198 ac_cpp='$CXXCPP $CPPFLAGS'
64199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64204 /* end confdefs.h. */
64205 #include <math.h>
64206 #ifdef HAVE_IEEEFP_H
64207 #include <ieeefp.h>
64208 #endif
64211 main ()
64213 _isnan(0);
64215 return 0;
64217 _ACEOF
64218 if ac_fn_cxx_try_compile "$LINENO"; then :
64219 glibcxx_cv_func__isnan_use=yes
64220 else
64221 glibcxx_cv_func__isnan_use=no
64223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64224 ac_ext=c
64225 ac_cpp='$CPP $CPPFLAGS'
64226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64235 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64237 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64238 for ac_func in _isnan
64239 do :
64240 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64241 if test "x$ac_cv_func__isnan" = x""yes; then :
64242 cat >>confdefs.h <<_ACEOF
64243 #define HAVE__ISNAN 1
64244 _ACEOF
64247 done
64256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64257 $as_echo_n "checking for finite declaration... " >&6; }
64258 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64259 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64260 $as_echo_n "(cached) " >&6
64261 else
64264 ac_ext=cpp
64265 ac_cpp='$CXXCPP $CPPFLAGS'
64266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64271 /* end confdefs.h. */
64272 #include <math.h>
64273 #ifdef HAVE_IEEEFP_H
64274 #include <ieeefp.h>
64275 #endif
64278 main ()
64280 finite(0);
64282 return 0;
64284 _ACEOF
64285 if ac_fn_cxx_try_compile "$LINENO"; then :
64286 glibcxx_cv_func_finite_use=yes
64287 else
64288 glibcxx_cv_func_finite_use=no
64290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64291 ac_ext=c
64292 ac_cpp='$CPP $CPPFLAGS'
64293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64302 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64304 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64305 for ac_func in finite
64306 do :
64307 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64308 if test "x$ac_cv_func_finite" = x""yes; then :
64309 cat >>confdefs.h <<_ACEOF
64310 #define HAVE_FINITE 1
64311 _ACEOF
64314 done
64316 else
64318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64319 $as_echo_n "checking for _finite declaration... " >&6; }
64320 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64321 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64322 $as_echo_n "(cached) " >&6
64323 else
64326 ac_ext=cpp
64327 ac_cpp='$CXXCPP $CPPFLAGS'
64328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64333 /* end confdefs.h. */
64334 #include <math.h>
64335 #ifdef HAVE_IEEEFP_H
64336 #include <ieeefp.h>
64337 #endif
64340 main ()
64342 _finite(0);
64344 return 0;
64346 _ACEOF
64347 if ac_fn_cxx_try_compile "$LINENO"; then :
64348 glibcxx_cv_func__finite_use=yes
64349 else
64350 glibcxx_cv_func__finite_use=no
64352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64353 ac_ext=c
64354 ac_cpp='$CPP $CPPFLAGS'
64355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64364 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64366 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64367 for ac_func in _finite
64368 do :
64369 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64370 if test "x$ac_cv_func__finite" = x""yes; then :
64371 cat >>confdefs.h <<_ACEOF
64372 #define HAVE__FINITE 1
64373 _ACEOF
64376 done
64385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64386 $as_echo_n "checking for sincos declaration... " >&6; }
64387 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64388 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64389 $as_echo_n "(cached) " >&6
64390 else
64393 ac_ext=cpp
64394 ac_cpp='$CXXCPP $CPPFLAGS'
64395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64400 /* end confdefs.h. */
64401 #include <math.h>
64403 main ()
64405 sincos(0, 0, 0);
64407 return 0;
64409 _ACEOF
64410 if ac_fn_cxx_try_compile "$LINENO"; then :
64411 glibcxx_cv_func_sincos_use=yes
64412 else
64413 glibcxx_cv_func_sincos_use=no
64415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64416 ac_ext=c
64417 ac_cpp='$CPP $CPPFLAGS'
64418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64427 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64429 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64430 for ac_func in sincos
64431 do :
64432 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64433 if test "x$ac_cv_func_sincos" = x""yes; then :
64434 cat >>confdefs.h <<_ACEOF
64435 #define HAVE_SINCOS 1
64436 _ACEOF
64439 done
64441 else
64443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64444 $as_echo_n "checking for _sincos declaration... " >&6; }
64445 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64446 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64447 $as_echo_n "(cached) " >&6
64448 else
64451 ac_ext=cpp
64452 ac_cpp='$CXXCPP $CPPFLAGS'
64453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64458 /* end confdefs.h. */
64459 #include <math.h>
64461 main ()
64463 _sincos(0, 0, 0);
64465 return 0;
64467 _ACEOF
64468 if ac_fn_cxx_try_compile "$LINENO"; then :
64469 glibcxx_cv_func__sincos_use=yes
64470 else
64471 glibcxx_cv_func__sincos_use=no
64473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64474 ac_ext=c
64475 ac_cpp='$CPP $CPPFLAGS'
64476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64485 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64487 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64488 for ac_func in _sincos
64489 do :
64490 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64491 if test "x$ac_cv_func__sincos" = x""yes; then :
64492 cat >>confdefs.h <<_ACEOF
64493 #define HAVE__SINCOS 1
64494 _ACEOF
64497 done
64506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64507 $as_echo_n "checking for fpclass declaration... " >&6; }
64508 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64509 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64510 $as_echo_n "(cached) " >&6
64511 else
64514 ac_ext=cpp
64515 ac_cpp='$CXXCPP $CPPFLAGS'
64516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64521 /* end confdefs.h. */
64522 #include <math.h>
64523 #ifdef HAVE_IEEEFP_H
64524 #include <ieeefp.h>
64525 #endif
64528 main ()
64530 fpclass(0);
64532 return 0;
64534 _ACEOF
64535 if ac_fn_cxx_try_compile "$LINENO"; then :
64536 glibcxx_cv_func_fpclass_use=yes
64537 else
64538 glibcxx_cv_func_fpclass_use=no
64540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64541 ac_ext=c
64542 ac_cpp='$CPP $CPPFLAGS'
64543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64552 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64554 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64555 for ac_func in fpclass
64556 do :
64557 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64558 if test "x$ac_cv_func_fpclass" = x""yes; then :
64559 cat >>confdefs.h <<_ACEOF
64560 #define HAVE_FPCLASS 1
64561 _ACEOF
64564 done
64566 else
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64569 $as_echo_n "checking for _fpclass declaration... " >&6; }
64570 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64571 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64572 $as_echo_n "(cached) " >&6
64573 else
64576 ac_ext=cpp
64577 ac_cpp='$CXXCPP $CPPFLAGS'
64578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64583 /* end confdefs.h. */
64584 #include <math.h>
64585 #ifdef HAVE_IEEEFP_H
64586 #include <ieeefp.h>
64587 #endif
64590 main ()
64592 _fpclass(0);
64594 return 0;
64596 _ACEOF
64597 if ac_fn_cxx_try_compile "$LINENO"; then :
64598 glibcxx_cv_func__fpclass_use=yes
64599 else
64600 glibcxx_cv_func__fpclass_use=no
64602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64603 ac_ext=c
64604 ac_cpp='$CPP $CPPFLAGS'
64605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64614 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64616 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64617 for ac_func in _fpclass
64618 do :
64619 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64620 if test "x$ac_cv_func__fpclass" = x""yes; then :
64621 cat >>confdefs.h <<_ACEOF
64622 #define HAVE__FPCLASS 1
64623 _ACEOF
64626 done
64635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64636 $as_echo_n "checking for qfpclass declaration... " >&6; }
64637 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64638 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64639 $as_echo_n "(cached) " >&6
64640 else
64643 ac_ext=cpp
64644 ac_cpp='$CXXCPP $CPPFLAGS'
64645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64650 /* end confdefs.h. */
64651 #include <math.h>
64652 #ifdef HAVE_IEEEFP_H
64653 #include <ieeefp.h>
64654 #endif
64657 main ()
64659 qfpclass(0);
64661 return 0;
64663 _ACEOF
64664 if ac_fn_cxx_try_compile "$LINENO"; then :
64665 glibcxx_cv_func_qfpclass_use=yes
64666 else
64667 glibcxx_cv_func_qfpclass_use=no
64669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64670 ac_ext=c
64671 ac_cpp='$CPP $CPPFLAGS'
64672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64681 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64683 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64684 for ac_func in qfpclass
64685 do :
64686 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64687 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64688 cat >>confdefs.h <<_ACEOF
64689 #define HAVE_QFPCLASS 1
64690 _ACEOF
64693 done
64695 else
64697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64698 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64699 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64700 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64701 $as_echo_n "(cached) " >&6
64702 else
64705 ac_ext=cpp
64706 ac_cpp='$CXXCPP $CPPFLAGS'
64707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64712 /* end confdefs.h. */
64713 #include <math.h>
64714 #ifdef HAVE_IEEEFP_H
64715 #include <ieeefp.h>
64716 #endif
64719 main ()
64721 _qfpclass(0);
64723 return 0;
64725 _ACEOF
64726 if ac_fn_cxx_try_compile "$LINENO"; then :
64727 glibcxx_cv_func__qfpclass_use=yes
64728 else
64729 glibcxx_cv_func__qfpclass_use=no
64731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64732 ac_ext=c
64733 ac_cpp='$CPP $CPPFLAGS'
64734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64743 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64745 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64746 for ac_func in _qfpclass
64747 do :
64748 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64749 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64750 cat >>confdefs.h <<_ACEOF
64751 #define HAVE__QFPCLASS 1
64752 _ACEOF
64755 done
64764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64765 $as_echo_n "checking for hypot declaration... " >&6; }
64766 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64767 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64768 $as_echo_n "(cached) " >&6
64769 else
64772 ac_ext=cpp
64773 ac_cpp='$CXXCPP $CPPFLAGS'
64774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64779 /* end confdefs.h. */
64780 #include <math.h>
64782 main ()
64784 hypot(0, 0);
64786 return 0;
64788 _ACEOF
64789 if ac_fn_cxx_try_compile "$LINENO"; then :
64790 glibcxx_cv_func_hypot_use=yes
64791 else
64792 glibcxx_cv_func_hypot_use=no
64794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64795 ac_ext=c
64796 ac_cpp='$CPP $CPPFLAGS'
64797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64806 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64808 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64809 for ac_func in hypot
64810 do :
64811 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64812 if test "x$ac_cv_func_hypot" = x""yes; then :
64813 cat >>confdefs.h <<_ACEOF
64814 #define HAVE_HYPOT 1
64815 _ACEOF
64818 done
64820 else
64822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64823 $as_echo_n "checking for _hypot declaration... " >&6; }
64824 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64825 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64826 $as_echo_n "(cached) " >&6
64827 else
64830 ac_ext=cpp
64831 ac_cpp='$CXXCPP $CPPFLAGS'
64832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64837 /* end confdefs.h. */
64838 #include <math.h>
64840 main ()
64842 _hypot(0, 0);
64844 return 0;
64846 _ACEOF
64847 if ac_fn_cxx_try_compile "$LINENO"; then :
64848 glibcxx_cv_func__hypot_use=yes
64849 else
64850 glibcxx_cv_func__hypot_use=no
64852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64853 ac_ext=c
64854 ac_cpp='$CPP $CPPFLAGS'
64855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64864 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64866 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64867 for ac_func in _hypot
64868 do :
64869 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64870 if test "x$ac_cv_func__hypot" = x""yes; then :
64871 cat >>confdefs.h <<_ACEOF
64872 #define HAVE__HYPOT 1
64873 _ACEOF
64876 done
64885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64886 $as_echo_n "checking for float trig functions... " >&6; }
64887 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64888 $as_echo_n "(cached) " >&6
64889 else
64892 ac_ext=cpp
64893 ac_cpp='$CXXCPP $CPPFLAGS'
64894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64899 /* end confdefs.h. */
64900 #include <math.h>
64902 main ()
64904 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64906 return 0;
64908 _ACEOF
64909 if ac_fn_cxx_try_compile "$LINENO"; then :
64910 glibcxx_cv_func_float_trig_use=yes
64911 else
64912 glibcxx_cv_func_float_trig_use=no
64914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64915 ac_ext=c
64916 ac_cpp='$CPP $CPPFLAGS'
64917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64924 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64925 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64926 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64927 do :
64928 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64930 eval as_val=\$$as_ac_var
64931 if test "x$as_val" = x""yes; then :
64932 cat >>confdefs.h <<_ACEOF
64933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64934 _ACEOF
64937 done
64939 else
64940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64941 $as_echo_n "checking for _float trig functions... " >&6; }
64942 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64943 $as_echo_n "(cached) " >&6
64944 else
64947 ac_ext=cpp
64948 ac_cpp='$CXXCPP $CPPFLAGS'
64949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64954 /* end confdefs.h. */
64955 #include <math.h>
64957 main ()
64959 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64961 return 0;
64963 _ACEOF
64964 if ac_fn_cxx_try_compile "$LINENO"; then :
64965 glibcxx_cv_func__float_trig_use=yes
64966 else
64967 glibcxx_cv_func__float_trig_use=no
64969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64970 ac_ext=c
64971 ac_cpp='$CPP $CPPFLAGS'
64972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64979 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64980 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64981 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64982 do :
64983 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64984 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64985 eval as_val=\$$as_ac_var
64986 if test "x$as_val" = x""yes; then :
64987 cat >>confdefs.h <<_ACEOF
64988 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64989 _ACEOF
64992 done
65001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65002 $as_echo_n "checking for float round functions... " >&6; }
65003 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65004 $as_echo_n "(cached) " >&6
65005 else
65008 ac_ext=cpp
65009 ac_cpp='$CXXCPP $CPPFLAGS'
65010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65015 /* end confdefs.h. */
65016 #include <math.h>
65018 main ()
65020 ceilf (0); floorf (0);
65022 return 0;
65024 _ACEOF
65025 if ac_fn_cxx_try_compile "$LINENO"; then :
65026 glibcxx_cv_func_float_round_use=yes
65027 else
65028 glibcxx_cv_func_float_round_use=no
65030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65031 ac_ext=c
65032 ac_cpp='$CPP $CPPFLAGS'
65033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
65040 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
65041 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65042 for ac_func in ceilf floorf
65043 do :
65044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65046 eval as_val=\$$as_ac_var
65047 if test "x$as_val" = x""yes; then :
65048 cat >>confdefs.h <<_ACEOF
65049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65050 _ACEOF
65053 done
65055 else
65056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
65057 $as_echo_n "checking for _float round functions... " >&6; }
65058 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
65059 $as_echo_n "(cached) " >&6
65060 else
65063 ac_ext=cpp
65064 ac_cpp='$CXXCPP $CPPFLAGS'
65065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65070 /* end confdefs.h. */
65071 #include <math.h>
65073 main ()
65075 _ceilf (0); _floorf (0);
65077 return 0;
65079 _ACEOF
65080 if ac_fn_cxx_try_compile "$LINENO"; then :
65081 glibcxx_cv_func__float_round_use=yes
65082 else
65083 glibcxx_cv_func__float_round_use=no
65085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65086 ac_ext=c
65087 ac_cpp='$CPP $CPPFLAGS'
65088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65095 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65096 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65097 for ac_func in _ceilf _floorf
65098 do :
65099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65101 eval as_val=\$$as_ac_var
65102 if test "x$as_val" = x""yes; then :
65103 cat >>confdefs.h <<_ACEOF
65104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65105 _ACEOF
65108 done
65118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65119 $as_echo_n "checking for expf declaration... " >&6; }
65120 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65121 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65122 $as_echo_n "(cached) " >&6
65123 else
65126 ac_ext=cpp
65127 ac_cpp='$CXXCPP $CPPFLAGS'
65128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65133 /* end confdefs.h. */
65134 #include <math.h>
65135 #ifdef HAVE_IEEEFP_H
65136 #include <ieeefp.h>
65137 #endif
65140 main ()
65142 expf(0);
65144 return 0;
65146 _ACEOF
65147 if ac_fn_cxx_try_compile "$LINENO"; then :
65148 glibcxx_cv_func_expf_use=yes
65149 else
65150 glibcxx_cv_func_expf_use=no
65152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65153 ac_ext=c
65154 ac_cpp='$CPP $CPPFLAGS'
65155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65164 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65166 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65167 for ac_func in expf
65168 do :
65169 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65170 if test "x$ac_cv_func_expf" = x""yes; then :
65171 cat >>confdefs.h <<_ACEOF
65172 #define HAVE_EXPF 1
65173 _ACEOF
65176 done
65178 else
65180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65181 $as_echo_n "checking for _expf declaration... " >&6; }
65182 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65183 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65184 $as_echo_n "(cached) " >&6
65185 else
65188 ac_ext=cpp
65189 ac_cpp='$CXXCPP $CPPFLAGS'
65190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65195 /* end confdefs.h. */
65196 #include <math.h>
65197 #ifdef HAVE_IEEEFP_H
65198 #include <ieeefp.h>
65199 #endif
65202 main ()
65204 _expf(0);
65206 return 0;
65208 _ACEOF
65209 if ac_fn_cxx_try_compile "$LINENO"; then :
65210 glibcxx_cv_func__expf_use=yes
65211 else
65212 glibcxx_cv_func__expf_use=no
65214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65215 ac_ext=c
65216 ac_cpp='$CPP $CPPFLAGS'
65217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65226 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65228 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65229 for ac_func in _expf
65230 do :
65231 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65232 if test "x$ac_cv_func__expf" = x""yes; then :
65233 cat >>confdefs.h <<_ACEOF
65234 #define HAVE__EXPF 1
65235 _ACEOF
65238 done
65247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65248 $as_echo_n "checking for isnanf declaration... " >&6; }
65249 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65250 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65251 $as_echo_n "(cached) " >&6
65252 else
65255 ac_ext=cpp
65256 ac_cpp='$CXXCPP $CPPFLAGS'
65257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65262 /* end confdefs.h. */
65263 #include <math.h>
65264 #ifdef HAVE_IEEEFP_H
65265 #include <ieeefp.h>
65266 #endif
65269 main ()
65271 isnanf(0);
65273 return 0;
65275 _ACEOF
65276 if ac_fn_cxx_try_compile "$LINENO"; then :
65277 glibcxx_cv_func_isnanf_use=yes
65278 else
65279 glibcxx_cv_func_isnanf_use=no
65281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65282 ac_ext=c
65283 ac_cpp='$CPP $CPPFLAGS'
65284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65293 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65295 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65296 for ac_func in isnanf
65297 do :
65298 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65299 if test "x$ac_cv_func_isnanf" = x""yes; then :
65300 cat >>confdefs.h <<_ACEOF
65301 #define HAVE_ISNANF 1
65302 _ACEOF
65305 done
65307 else
65309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65310 $as_echo_n "checking for _isnanf declaration... " >&6; }
65311 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65312 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65313 $as_echo_n "(cached) " >&6
65314 else
65317 ac_ext=cpp
65318 ac_cpp='$CXXCPP $CPPFLAGS'
65319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65324 /* end confdefs.h. */
65325 #include <math.h>
65326 #ifdef HAVE_IEEEFP_H
65327 #include <ieeefp.h>
65328 #endif
65331 main ()
65333 _isnanf(0);
65335 return 0;
65337 _ACEOF
65338 if ac_fn_cxx_try_compile "$LINENO"; then :
65339 glibcxx_cv_func__isnanf_use=yes
65340 else
65341 glibcxx_cv_func__isnanf_use=no
65343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65344 ac_ext=c
65345 ac_cpp='$CPP $CPPFLAGS'
65346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65355 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65357 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65358 for ac_func in _isnanf
65359 do :
65360 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65361 if test "x$ac_cv_func__isnanf" = x""yes; then :
65362 cat >>confdefs.h <<_ACEOF
65363 #define HAVE__ISNANF 1
65364 _ACEOF
65367 done
65376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65377 $as_echo_n "checking for isinff declaration... " >&6; }
65378 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65379 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65380 $as_echo_n "(cached) " >&6
65381 else
65384 ac_ext=cpp
65385 ac_cpp='$CXXCPP $CPPFLAGS'
65386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65391 /* end confdefs.h. */
65392 #include <math.h>
65393 #ifdef HAVE_IEEEFP_H
65394 #include <ieeefp.h>
65395 #endif
65398 main ()
65400 isinff(0);
65402 return 0;
65404 _ACEOF
65405 if ac_fn_cxx_try_compile "$LINENO"; then :
65406 glibcxx_cv_func_isinff_use=yes
65407 else
65408 glibcxx_cv_func_isinff_use=no
65410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65411 ac_ext=c
65412 ac_cpp='$CPP $CPPFLAGS'
65413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65422 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65424 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65425 for ac_func in isinff
65426 do :
65427 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65428 if test "x$ac_cv_func_isinff" = x""yes; then :
65429 cat >>confdefs.h <<_ACEOF
65430 #define HAVE_ISINFF 1
65431 _ACEOF
65434 done
65436 else
65438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65439 $as_echo_n "checking for _isinff declaration... " >&6; }
65440 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65441 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65442 $as_echo_n "(cached) " >&6
65443 else
65446 ac_ext=cpp
65447 ac_cpp='$CXXCPP $CPPFLAGS'
65448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65453 /* end confdefs.h. */
65454 #include <math.h>
65455 #ifdef HAVE_IEEEFP_H
65456 #include <ieeefp.h>
65457 #endif
65460 main ()
65462 _isinff(0);
65464 return 0;
65466 _ACEOF
65467 if ac_fn_cxx_try_compile "$LINENO"; then :
65468 glibcxx_cv_func__isinff_use=yes
65469 else
65470 glibcxx_cv_func__isinff_use=no
65472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65473 ac_ext=c
65474 ac_cpp='$CPP $CPPFLAGS'
65475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65484 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65486 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65487 for ac_func in _isinff
65488 do :
65489 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65490 if test "x$ac_cv_func__isinff" = x""yes; then :
65491 cat >>confdefs.h <<_ACEOF
65492 #define HAVE__ISINFF 1
65493 _ACEOF
65496 done
65505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65506 $as_echo_n "checking for atan2f declaration... " >&6; }
65507 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65508 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65509 $as_echo_n "(cached) " >&6
65510 else
65513 ac_ext=cpp
65514 ac_cpp='$CXXCPP $CPPFLAGS'
65515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65520 /* end confdefs.h. */
65521 #include <math.h>
65523 main ()
65525 atan2f(0, 0);
65527 return 0;
65529 _ACEOF
65530 if ac_fn_cxx_try_compile "$LINENO"; then :
65531 glibcxx_cv_func_atan2f_use=yes
65532 else
65533 glibcxx_cv_func_atan2f_use=no
65535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65536 ac_ext=c
65537 ac_cpp='$CPP $CPPFLAGS'
65538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65547 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65549 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65550 for ac_func in atan2f
65551 do :
65552 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65553 if test "x$ac_cv_func_atan2f" = x""yes; then :
65554 cat >>confdefs.h <<_ACEOF
65555 #define HAVE_ATAN2F 1
65556 _ACEOF
65559 done
65561 else
65563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65564 $as_echo_n "checking for _atan2f declaration... " >&6; }
65565 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65566 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65567 $as_echo_n "(cached) " >&6
65568 else
65571 ac_ext=cpp
65572 ac_cpp='$CXXCPP $CPPFLAGS'
65573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65578 /* end confdefs.h. */
65579 #include <math.h>
65581 main ()
65583 _atan2f(0, 0);
65585 return 0;
65587 _ACEOF
65588 if ac_fn_cxx_try_compile "$LINENO"; then :
65589 glibcxx_cv_func__atan2f_use=yes
65590 else
65591 glibcxx_cv_func__atan2f_use=no
65593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65594 ac_ext=c
65595 ac_cpp='$CPP $CPPFLAGS'
65596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65605 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65607 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65608 for ac_func in _atan2f
65609 do :
65610 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65611 if test "x$ac_cv_func__atan2f" = x""yes; then :
65612 cat >>confdefs.h <<_ACEOF
65613 #define HAVE__ATAN2F 1
65614 _ACEOF
65617 done
65626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65627 $as_echo_n "checking for fabsf declaration... " >&6; }
65628 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65629 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65630 $as_echo_n "(cached) " >&6
65631 else
65634 ac_ext=cpp
65635 ac_cpp='$CXXCPP $CPPFLAGS'
65636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65641 /* end confdefs.h. */
65642 #include <math.h>
65643 #ifdef HAVE_IEEEFP_H
65644 #include <ieeefp.h>
65645 #endif
65648 main ()
65650 fabsf(0);
65652 return 0;
65654 _ACEOF
65655 if ac_fn_cxx_try_compile "$LINENO"; then :
65656 glibcxx_cv_func_fabsf_use=yes
65657 else
65658 glibcxx_cv_func_fabsf_use=no
65660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65661 ac_ext=c
65662 ac_cpp='$CPP $CPPFLAGS'
65663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65672 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65674 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65675 for ac_func in fabsf
65676 do :
65677 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65678 if test "x$ac_cv_func_fabsf" = x""yes; then :
65679 cat >>confdefs.h <<_ACEOF
65680 #define HAVE_FABSF 1
65681 _ACEOF
65684 done
65686 else
65688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65689 $as_echo_n "checking for _fabsf declaration... " >&6; }
65690 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65691 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65692 $as_echo_n "(cached) " >&6
65693 else
65696 ac_ext=cpp
65697 ac_cpp='$CXXCPP $CPPFLAGS'
65698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65703 /* end confdefs.h. */
65704 #include <math.h>
65705 #ifdef HAVE_IEEEFP_H
65706 #include <ieeefp.h>
65707 #endif
65710 main ()
65712 _fabsf(0);
65714 return 0;
65716 _ACEOF
65717 if ac_fn_cxx_try_compile "$LINENO"; then :
65718 glibcxx_cv_func__fabsf_use=yes
65719 else
65720 glibcxx_cv_func__fabsf_use=no
65722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65723 ac_ext=c
65724 ac_cpp='$CPP $CPPFLAGS'
65725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65734 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65736 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65737 for ac_func in _fabsf
65738 do :
65739 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65740 if test "x$ac_cv_func__fabsf" = x""yes; then :
65741 cat >>confdefs.h <<_ACEOF
65742 #define HAVE__FABSF 1
65743 _ACEOF
65746 done
65755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65756 $as_echo_n "checking for fmodf declaration... " >&6; }
65757 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65758 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65759 $as_echo_n "(cached) " >&6
65760 else
65763 ac_ext=cpp
65764 ac_cpp='$CXXCPP $CPPFLAGS'
65765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65770 /* end confdefs.h. */
65771 #include <math.h>
65773 main ()
65775 fmodf(0, 0);
65777 return 0;
65779 _ACEOF
65780 if ac_fn_cxx_try_compile "$LINENO"; then :
65781 glibcxx_cv_func_fmodf_use=yes
65782 else
65783 glibcxx_cv_func_fmodf_use=no
65785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65786 ac_ext=c
65787 ac_cpp='$CPP $CPPFLAGS'
65788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65797 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65799 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65800 for ac_func in fmodf
65801 do :
65802 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65803 if test "x$ac_cv_func_fmodf" = x""yes; then :
65804 cat >>confdefs.h <<_ACEOF
65805 #define HAVE_FMODF 1
65806 _ACEOF
65809 done
65811 else
65813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65814 $as_echo_n "checking for _fmodf declaration... " >&6; }
65815 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65816 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65817 $as_echo_n "(cached) " >&6
65818 else
65821 ac_ext=cpp
65822 ac_cpp='$CXXCPP $CPPFLAGS'
65823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65828 /* end confdefs.h. */
65829 #include <math.h>
65831 main ()
65833 _fmodf(0, 0);
65835 return 0;
65837 _ACEOF
65838 if ac_fn_cxx_try_compile "$LINENO"; then :
65839 glibcxx_cv_func__fmodf_use=yes
65840 else
65841 glibcxx_cv_func__fmodf_use=no
65843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65844 ac_ext=c
65845 ac_cpp='$CPP $CPPFLAGS'
65846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65855 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65857 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65858 for ac_func in _fmodf
65859 do :
65860 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65861 if test "x$ac_cv_func__fmodf" = x""yes; then :
65862 cat >>confdefs.h <<_ACEOF
65863 #define HAVE__FMODF 1
65864 _ACEOF
65867 done
65876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65877 $as_echo_n "checking for frexpf declaration... " >&6; }
65878 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65879 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65880 $as_echo_n "(cached) " >&6
65881 else
65884 ac_ext=cpp
65885 ac_cpp='$CXXCPP $CPPFLAGS'
65886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65891 /* end confdefs.h. */
65892 #include <math.h>
65894 main ()
65896 frexpf(0, 0);
65898 return 0;
65900 _ACEOF
65901 if ac_fn_cxx_try_compile "$LINENO"; then :
65902 glibcxx_cv_func_frexpf_use=yes
65903 else
65904 glibcxx_cv_func_frexpf_use=no
65906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65907 ac_ext=c
65908 ac_cpp='$CPP $CPPFLAGS'
65909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65918 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65920 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65921 for ac_func in frexpf
65922 do :
65923 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65924 if test "x$ac_cv_func_frexpf" = x""yes; then :
65925 cat >>confdefs.h <<_ACEOF
65926 #define HAVE_FREXPF 1
65927 _ACEOF
65930 done
65932 else
65934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65935 $as_echo_n "checking for _frexpf declaration... " >&6; }
65936 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65937 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65938 $as_echo_n "(cached) " >&6
65939 else
65942 ac_ext=cpp
65943 ac_cpp='$CXXCPP $CPPFLAGS'
65944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65949 /* end confdefs.h. */
65950 #include <math.h>
65952 main ()
65954 _frexpf(0, 0);
65956 return 0;
65958 _ACEOF
65959 if ac_fn_cxx_try_compile "$LINENO"; then :
65960 glibcxx_cv_func__frexpf_use=yes
65961 else
65962 glibcxx_cv_func__frexpf_use=no
65964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65965 ac_ext=c
65966 ac_cpp='$CPP $CPPFLAGS'
65967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65976 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65978 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65979 for ac_func in _frexpf
65980 do :
65981 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65982 if test "x$ac_cv_func__frexpf" = x""yes; then :
65983 cat >>confdefs.h <<_ACEOF
65984 #define HAVE__FREXPF 1
65985 _ACEOF
65988 done
65997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65998 $as_echo_n "checking for hypotf declaration... " >&6; }
65999 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66000 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
66001 $as_echo_n "(cached) " >&6
66002 else
66005 ac_ext=cpp
66006 ac_cpp='$CXXCPP $CPPFLAGS'
66007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66012 /* end confdefs.h. */
66013 #include <math.h>
66015 main ()
66017 hypotf(0, 0);
66019 return 0;
66021 _ACEOF
66022 if ac_fn_cxx_try_compile "$LINENO"; then :
66023 glibcxx_cv_func_hypotf_use=yes
66024 else
66025 glibcxx_cv_func_hypotf_use=no
66027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66028 ac_ext=c
66029 ac_cpp='$CPP $CPPFLAGS'
66030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
66039 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
66041 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
66042 for ac_func in hypotf
66043 do :
66044 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
66045 if test "x$ac_cv_func_hypotf" = x""yes; then :
66046 cat >>confdefs.h <<_ACEOF
66047 #define HAVE_HYPOTF 1
66048 _ACEOF
66051 done
66053 else
66055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
66056 $as_echo_n "checking for _hypotf declaration... " >&6; }
66057 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
66058 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
66059 $as_echo_n "(cached) " >&6
66060 else
66063 ac_ext=cpp
66064 ac_cpp='$CXXCPP $CPPFLAGS'
66065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66070 /* end confdefs.h. */
66071 #include <math.h>
66073 main ()
66075 _hypotf(0, 0);
66077 return 0;
66079 _ACEOF
66080 if ac_fn_cxx_try_compile "$LINENO"; then :
66081 glibcxx_cv_func__hypotf_use=yes
66082 else
66083 glibcxx_cv_func__hypotf_use=no
66085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66086 ac_ext=c
66087 ac_cpp='$CPP $CPPFLAGS'
66088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66097 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66099 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66100 for ac_func in _hypotf
66101 do :
66102 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66103 if test "x$ac_cv_func__hypotf" = x""yes; then :
66104 cat >>confdefs.h <<_ACEOF
66105 #define HAVE__HYPOTF 1
66106 _ACEOF
66109 done
66118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66119 $as_echo_n "checking for ldexpf declaration... " >&6; }
66120 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66121 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66122 $as_echo_n "(cached) " >&6
66123 else
66126 ac_ext=cpp
66127 ac_cpp='$CXXCPP $CPPFLAGS'
66128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66133 /* end confdefs.h. */
66134 #include <math.h>
66136 main ()
66138 ldexpf(0, 0);
66140 return 0;
66142 _ACEOF
66143 if ac_fn_cxx_try_compile "$LINENO"; then :
66144 glibcxx_cv_func_ldexpf_use=yes
66145 else
66146 glibcxx_cv_func_ldexpf_use=no
66148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66149 ac_ext=c
66150 ac_cpp='$CPP $CPPFLAGS'
66151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66160 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66162 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66163 for ac_func in ldexpf
66164 do :
66165 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66166 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66167 cat >>confdefs.h <<_ACEOF
66168 #define HAVE_LDEXPF 1
66169 _ACEOF
66172 done
66174 else
66176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66177 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66178 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66179 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66180 $as_echo_n "(cached) " >&6
66181 else
66184 ac_ext=cpp
66185 ac_cpp='$CXXCPP $CPPFLAGS'
66186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66191 /* end confdefs.h. */
66192 #include <math.h>
66194 main ()
66196 _ldexpf(0, 0);
66198 return 0;
66200 _ACEOF
66201 if ac_fn_cxx_try_compile "$LINENO"; then :
66202 glibcxx_cv_func__ldexpf_use=yes
66203 else
66204 glibcxx_cv_func__ldexpf_use=no
66206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66207 ac_ext=c
66208 ac_cpp='$CPP $CPPFLAGS'
66209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66218 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66220 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66221 for ac_func in _ldexpf
66222 do :
66223 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66224 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66225 cat >>confdefs.h <<_ACEOF
66226 #define HAVE__LDEXPF 1
66227 _ACEOF
66230 done
66239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66240 $as_echo_n "checking for logf declaration... " >&6; }
66241 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66242 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66243 $as_echo_n "(cached) " >&6
66244 else
66247 ac_ext=cpp
66248 ac_cpp='$CXXCPP $CPPFLAGS'
66249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66254 /* end confdefs.h. */
66255 #include <math.h>
66256 #ifdef HAVE_IEEEFP_H
66257 #include <ieeefp.h>
66258 #endif
66261 main ()
66263 logf(0);
66265 return 0;
66267 _ACEOF
66268 if ac_fn_cxx_try_compile "$LINENO"; then :
66269 glibcxx_cv_func_logf_use=yes
66270 else
66271 glibcxx_cv_func_logf_use=no
66273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66274 ac_ext=c
66275 ac_cpp='$CPP $CPPFLAGS'
66276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66285 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66287 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66288 for ac_func in logf
66289 do :
66290 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66291 if test "x$ac_cv_func_logf" = x""yes; then :
66292 cat >>confdefs.h <<_ACEOF
66293 #define HAVE_LOGF 1
66294 _ACEOF
66297 done
66299 else
66301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66302 $as_echo_n "checking for _logf declaration... " >&6; }
66303 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66304 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66305 $as_echo_n "(cached) " >&6
66306 else
66309 ac_ext=cpp
66310 ac_cpp='$CXXCPP $CPPFLAGS'
66311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66316 /* end confdefs.h. */
66317 #include <math.h>
66318 #ifdef HAVE_IEEEFP_H
66319 #include <ieeefp.h>
66320 #endif
66323 main ()
66325 _logf(0);
66327 return 0;
66329 _ACEOF
66330 if ac_fn_cxx_try_compile "$LINENO"; then :
66331 glibcxx_cv_func__logf_use=yes
66332 else
66333 glibcxx_cv_func__logf_use=no
66335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66336 ac_ext=c
66337 ac_cpp='$CPP $CPPFLAGS'
66338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66347 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66349 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66350 for ac_func in _logf
66351 do :
66352 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66353 if test "x$ac_cv_func__logf" = x""yes; then :
66354 cat >>confdefs.h <<_ACEOF
66355 #define HAVE__LOGF 1
66356 _ACEOF
66359 done
66368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66369 $as_echo_n "checking for log10f declaration... " >&6; }
66370 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66371 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66372 $as_echo_n "(cached) " >&6
66373 else
66376 ac_ext=cpp
66377 ac_cpp='$CXXCPP $CPPFLAGS'
66378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66383 /* end confdefs.h. */
66384 #include <math.h>
66385 #ifdef HAVE_IEEEFP_H
66386 #include <ieeefp.h>
66387 #endif
66390 main ()
66392 log10f(0);
66394 return 0;
66396 _ACEOF
66397 if ac_fn_cxx_try_compile "$LINENO"; then :
66398 glibcxx_cv_func_log10f_use=yes
66399 else
66400 glibcxx_cv_func_log10f_use=no
66402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66403 ac_ext=c
66404 ac_cpp='$CPP $CPPFLAGS'
66405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66414 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66416 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66417 for ac_func in log10f
66418 do :
66419 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66420 if test "x$ac_cv_func_log10f" = x""yes; then :
66421 cat >>confdefs.h <<_ACEOF
66422 #define HAVE_LOG10F 1
66423 _ACEOF
66426 done
66428 else
66430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66431 $as_echo_n "checking for _log10f declaration... " >&6; }
66432 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66433 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66434 $as_echo_n "(cached) " >&6
66435 else
66438 ac_ext=cpp
66439 ac_cpp='$CXXCPP $CPPFLAGS'
66440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66445 /* end confdefs.h. */
66446 #include <math.h>
66447 #ifdef HAVE_IEEEFP_H
66448 #include <ieeefp.h>
66449 #endif
66452 main ()
66454 _log10f(0);
66456 return 0;
66458 _ACEOF
66459 if ac_fn_cxx_try_compile "$LINENO"; then :
66460 glibcxx_cv_func__log10f_use=yes
66461 else
66462 glibcxx_cv_func__log10f_use=no
66464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66465 ac_ext=c
66466 ac_cpp='$CPP $CPPFLAGS'
66467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66476 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66478 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66479 for ac_func in _log10f
66480 do :
66481 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66482 if test "x$ac_cv_func__log10f" = x""yes; then :
66483 cat >>confdefs.h <<_ACEOF
66484 #define HAVE__LOG10F 1
66485 _ACEOF
66488 done
66497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66498 $as_echo_n "checking for modff declaration... " >&6; }
66499 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66500 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66501 $as_echo_n "(cached) " >&6
66502 else
66505 ac_ext=cpp
66506 ac_cpp='$CXXCPP $CPPFLAGS'
66507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66512 /* end confdefs.h. */
66513 #include <math.h>
66515 main ()
66517 modff(0, 0);
66519 return 0;
66521 _ACEOF
66522 if ac_fn_cxx_try_compile "$LINENO"; then :
66523 glibcxx_cv_func_modff_use=yes
66524 else
66525 glibcxx_cv_func_modff_use=no
66527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66528 ac_ext=c
66529 ac_cpp='$CPP $CPPFLAGS'
66530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66539 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66541 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66542 for ac_func in modff
66543 do :
66544 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66545 if test "x$ac_cv_func_modff" = x""yes; then :
66546 cat >>confdefs.h <<_ACEOF
66547 #define HAVE_MODFF 1
66548 _ACEOF
66551 done
66553 else
66555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66556 $as_echo_n "checking for _modff declaration... " >&6; }
66557 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66558 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66559 $as_echo_n "(cached) " >&6
66560 else
66563 ac_ext=cpp
66564 ac_cpp='$CXXCPP $CPPFLAGS'
66565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66570 /* end confdefs.h. */
66571 #include <math.h>
66573 main ()
66575 _modff(0, 0);
66577 return 0;
66579 _ACEOF
66580 if ac_fn_cxx_try_compile "$LINENO"; then :
66581 glibcxx_cv_func__modff_use=yes
66582 else
66583 glibcxx_cv_func__modff_use=no
66585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66586 ac_ext=c
66587 ac_cpp='$CPP $CPPFLAGS'
66588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66597 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66599 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66600 for ac_func in _modff
66601 do :
66602 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66603 if test "x$ac_cv_func__modff" = x""yes; then :
66604 cat >>confdefs.h <<_ACEOF
66605 #define HAVE__MODFF 1
66606 _ACEOF
66609 done
66618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66619 $as_echo_n "checking for modf declaration... " >&6; }
66620 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66621 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66622 $as_echo_n "(cached) " >&6
66623 else
66626 ac_ext=cpp
66627 ac_cpp='$CXXCPP $CPPFLAGS'
66628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66633 /* end confdefs.h. */
66634 #include <math.h>
66636 main ()
66638 modf(0, 0);
66640 return 0;
66642 _ACEOF
66643 if ac_fn_cxx_try_compile "$LINENO"; then :
66644 glibcxx_cv_func_modf_use=yes
66645 else
66646 glibcxx_cv_func_modf_use=no
66648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66649 ac_ext=c
66650 ac_cpp='$CPP $CPPFLAGS'
66651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66660 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66662 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66663 for ac_func in modf
66664 do :
66665 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66666 if test "x$ac_cv_func_modf" = x""yes; then :
66667 cat >>confdefs.h <<_ACEOF
66668 #define HAVE_MODF 1
66669 _ACEOF
66672 done
66674 else
66676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66677 $as_echo_n "checking for _modf declaration... " >&6; }
66678 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66679 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66680 $as_echo_n "(cached) " >&6
66681 else
66684 ac_ext=cpp
66685 ac_cpp='$CXXCPP $CPPFLAGS'
66686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66691 /* end confdefs.h. */
66692 #include <math.h>
66694 main ()
66696 _modf(0, 0);
66698 return 0;
66700 _ACEOF
66701 if ac_fn_cxx_try_compile "$LINENO"; then :
66702 glibcxx_cv_func__modf_use=yes
66703 else
66704 glibcxx_cv_func__modf_use=no
66706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66707 ac_ext=c
66708 ac_cpp='$CPP $CPPFLAGS'
66709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66718 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66720 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66721 for ac_func in _modf
66722 do :
66723 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66724 if test "x$ac_cv_func__modf" = x""yes; then :
66725 cat >>confdefs.h <<_ACEOF
66726 #define HAVE__MODF 1
66727 _ACEOF
66730 done
66739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66740 $as_echo_n "checking for powf declaration... " >&6; }
66741 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66742 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66743 $as_echo_n "(cached) " >&6
66744 else
66747 ac_ext=cpp
66748 ac_cpp='$CXXCPP $CPPFLAGS'
66749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66754 /* end confdefs.h. */
66755 #include <math.h>
66757 main ()
66759 powf(0, 0);
66761 return 0;
66763 _ACEOF
66764 if ac_fn_cxx_try_compile "$LINENO"; then :
66765 glibcxx_cv_func_powf_use=yes
66766 else
66767 glibcxx_cv_func_powf_use=no
66769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66770 ac_ext=c
66771 ac_cpp='$CPP $CPPFLAGS'
66772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66781 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66783 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66784 for ac_func in powf
66785 do :
66786 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66787 if test "x$ac_cv_func_powf" = x""yes; then :
66788 cat >>confdefs.h <<_ACEOF
66789 #define HAVE_POWF 1
66790 _ACEOF
66793 done
66795 else
66797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66798 $as_echo_n "checking for _powf declaration... " >&6; }
66799 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66800 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66801 $as_echo_n "(cached) " >&6
66802 else
66805 ac_ext=cpp
66806 ac_cpp='$CXXCPP $CPPFLAGS'
66807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66812 /* end confdefs.h. */
66813 #include <math.h>
66815 main ()
66817 _powf(0, 0);
66819 return 0;
66821 _ACEOF
66822 if ac_fn_cxx_try_compile "$LINENO"; then :
66823 glibcxx_cv_func__powf_use=yes
66824 else
66825 glibcxx_cv_func__powf_use=no
66827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66828 ac_ext=c
66829 ac_cpp='$CPP $CPPFLAGS'
66830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66839 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66841 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66842 for ac_func in _powf
66843 do :
66844 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66845 if test "x$ac_cv_func__powf" = x""yes; then :
66846 cat >>confdefs.h <<_ACEOF
66847 #define HAVE__POWF 1
66848 _ACEOF
66851 done
66860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66861 $as_echo_n "checking for sqrtf declaration... " >&6; }
66862 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66863 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66864 $as_echo_n "(cached) " >&6
66865 else
66868 ac_ext=cpp
66869 ac_cpp='$CXXCPP $CPPFLAGS'
66870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66875 /* end confdefs.h. */
66876 #include <math.h>
66877 #ifdef HAVE_IEEEFP_H
66878 #include <ieeefp.h>
66879 #endif
66882 main ()
66884 sqrtf(0);
66886 return 0;
66888 _ACEOF
66889 if ac_fn_cxx_try_compile "$LINENO"; then :
66890 glibcxx_cv_func_sqrtf_use=yes
66891 else
66892 glibcxx_cv_func_sqrtf_use=no
66894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66895 ac_ext=c
66896 ac_cpp='$CPP $CPPFLAGS'
66897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66906 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66908 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66909 for ac_func in sqrtf
66910 do :
66911 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66912 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66913 cat >>confdefs.h <<_ACEOF
66914 #define HAVE_SQRTF 1
66915 _ACEOF
66918 done
66920 else
66922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66923 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66924 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66925 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66926 $as_echo_n "(cached) " >&6
66927 else
66930 ac_ext=cpp
66931 ac_cpp='$CXXCPP $CPPFLAGS'
66932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66937 /* end confdefs.h. */
66938 #include <math.h>
66939 #ifdef HAVE_IEEEFP_H
66940 #include <ieeefp.h>
66941 #endif
66944 main ()
66946 _sqrtf(0);
66948 return 0;
66950 _ACEOF
66951 if ac_fn_cxx_try_compile "$LINENO"; then :
66952 glibcxx_cv_func__sqrtf_use=yes
66953 else
66954 glibcxx_cv_func__sqrtf_use=no
66956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66957 ac_ext=c
66958 ac_cpp='$CPP $CPPFLAGS'
66959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66968 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66970 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66971 for ac_func in _sqrtf
66972 do :
66973 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66974 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66975 cat >>confdefs.h <<_ACEOF
66976 #define HAVE__SQRTF 1
66977 _ACEOF
66980 done
66989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66990 $as_echo_n "checking for sincosf declaration... " >&6; }
66991 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66992 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66993 $as_echo_n "(cached) " >&6
66994 else
66997 ac_ext=cpp
66998 ac_cpp='$CXXCPP $CPPFLAGS'
66999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67004 /* end confdefs.h. */
67005 #include <math.h>
67007 main ()
67009 sincosf(0, 0, 0);
67011 return 0;
67013 _ACEOF
67014 if ac_fn_cxx_try_compile "$LINENO"; then :
67015 glibcxx_cv_func_sincosf_use=yes
67016 else
67017 glibcxx_cv_func_sincosf_use=no
67019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67020 ac_ext=c
67021 ac_cpp='$CPP $CPPFLAGS'
67022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67031 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67033 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67034 for ac_func in sincosf
67035 do :
67036 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67037 if test "x$ac_cv_func_sincosf" = x""yes; then :
67038 cat >>confdefs.h <<_ACEOF
67039 #define HAVE_SINCOSF 1
67040 _ACEOF
67043 done
67045 else
67047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
67048 $as_echo_n "checking for _sincosf declaration... " >&6; }
67049 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
67050 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
67051 $as_echo_n "(cached) " >&6
67052 else
67055 ac_ext=cpp
67056 ac_cpp='$CXXCPP $CPPFLAGS'
67057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67062 /* end confdefs.h. */
67063 #include <math.h>
67065 main ()
67067 _sincosf(0, 0, 0);
67069 return 0;
67071 _ACEOF
67072 if ac_fn_cxx_try_compile "$LINENO"; then :
67073 glibcxx_cv_func__sincosf_use=yes
67074 else
67075 glibcxx_cv_func__sincosf_use=no
67077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67078 ac_ext=c
67079 ac_cpp='$CPP $CPPFLAGS'
67080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67089 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67091 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67092 for ac_func in _sincosf
67093 do :
67094 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67095 if test "x$ac_cv_func__sincosf" = x""yes; then :
67096 cat >>confdefs.h <<_ACEOF
67097 #define HAVE__SINCOSF 1
67098 _ACEOF
67101 done
67110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67111 $as_echo_n "checking for finitef declaration... " >&6; }
67112 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67113 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67114 $as_echo_n "(cached) " >&6
67115 else
67118 ac_ext=cpp
67119 ac_cpp='$CXXCPP $CPPFLAGS'
67120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67125 /* end confdefs.h. */
67126 #include <math.h>
67127 #ifdef HAVE_IEEEFP_H
67128 #include <ieeefp.h>
67129 #endif
67132 main ()
67134 finitef(0);
67136 return 0;
67138 _ACEOF
67139 if ac_fn_cxx_try_compile "$LINENO"; then :
67140 glibcxx_cv_func_finitef_use=yes
67141 else
67142 glibcxx_cv_func_finitef_use=no
67144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67145 ac_ext=c
67146 ac_cpp='$CPP $CPPFLAGS'
67147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67156 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67158 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67159 for ac_func in finitef
67160 do :
67161 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67162 if test "x$ac_cv_func_finitef" = x""yes; then :
67163 cat >>confdefs.h <<_ACEOF
67164 #define HAVE_FINITEF 1
67165 _ACEOF
67168 done
67170 else
67172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67173 $as_echo_n "checking for _finitef declaration... " >&6; }
67174 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67175 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67176 $as_echo_n "(cached) " >&6
67177 else
67180 ac_ext=cpp
67181 ac_cpp='$CXXCPP $CPPFLAGS'
67182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67187 /* end confdefs.h. */
67188 #include <math.h>
67189 #ifdef HAVE_IEEEFP_H
67190 #include <ieeefp.h>
67191 #endif
67194 main ()
67196 _finitef(0);
67198 return 0;
67200 _ACEOF
67201 if ac_fn_cxx_try_compile "$LINENO"; then :
67202 glibcxx_cv_func__finitef_use=yes
67203 else
67204 glibcxx_cv_func__finitef_use=no
67206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67207 ac_ext=c
67208 ac_cpp='$CPP $CPPFLAGS'
67209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67218 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67220 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67221 for ac_func in _finitef
67222 do :
67223 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67224 if test "x$ac_cv_func__finitef" = x""yes; then :
67225 cat >>confdefs.h <<_ACEOF
67226 #define HAVE__FINITEF 1
67227 _ACEOF
67230 done
67239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67240 $as_echo_n "checking for long double trig functions... " >&6; }
67241 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67242 $as_echo_n "(cached) " >&6
67243 else
67246 ac_ext=cpp
67247 ac_cpp='$CXXCPP $CPPFLAGS'
67248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67253 /* end confdefs.h. */
67254 #include <math.h>
67256 main ()
67258 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67260 return 0;
67262 _ACEOF
67263 if ac_fn_cxx_try_compile "$LINENO"; then :
67264 glibcxx_cv_func_long_double_trig_use=yes
67265 else
67266 glibcxx_cv_func_long_double_trig_use=no
67268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67269 ac_ext=c
67270 ac_cpp='$CPP $CPPFLAGS'
67271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67278 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67279 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67280 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67281 do :
67282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67284 eval as_val=\$$as_ac_var
67285 if test "x$as_val" = x""yes; then :
67286 cat >>confdefs.h <<_ACEOF
67287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67288 _ACEOF
67291 done
67293 else
67294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67295 $as_echo_n "checking for _long double trig functions... " >&6; }
67296 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67297 $as_echo_n "(cached) " >&6
67298 else
67301 ac_ext=cpp
67302 ac_cpp='$CXXCPP $CPPFLAGS'
67303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67308 /* end confdefs.h. */
67309 #include <math.h>
67311 main ()
67313 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67315 return 0;
67317 _ACEOF
67318 if ac_fn_cxx_try_compile "$LINENO"; then :
67319 glibcxx_cv_func__long_double_trig_use=yes
67320 else
67321 glibcxx_cv_func__long_double_trig_use=no
67323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67324 ac_ext=c
67325 ac_cpp='$CPP $CPPFLAGS'
67326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67333 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67334 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67335 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67336 do :
67337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67339 eval as_val=\$$as_ac_var
67340 if test "x$as_val" = x""yes; then :
67341 cat >>confdefs.h <<_ACEOF
67342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67343 _ACEOF
67346 done
67355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67356 $as_echo_n "checking for long double round functions... " >&6; }
67357 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67358 $as_echo_n "(cached) " >&6
67359 else
67362 ac_ext=cpp
67363 ac_cpp='$CXXCPP $CPPFLAGS'
67364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67369 /* end confdefs.h. */
67370 #include <math.h>
67372 main ()
67374 ceill (0); floorl (0);
67376 return 0;
67378 _ACEOF
67379 if ac_fn_cxx_try_compile "$LINENO"; then :
67380 glibcxx_cv_func_long_double_round_use=yes
67381 else
67382 glibcxx_cv_func_long_double_round_use=no
67384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67385 ac_ext=c
67386 ac_cpp='$CPP $CPPFLAGS'
67387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67394 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67395 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67396 for ac_func in ceill floorl
67397 do :
67398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67400 eval as_val=\$$as_ac_var
67401 if test "x$as_val" = x""yes; then :
67402 cat >>confdefs.h <<_ACEOF
67403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67404 _ACEOF
67407 done
67409 else
67410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67411 $as_echo_n "checking for _long double round functions... " >&6; }
67412 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67413 $as_echo_n "(cached) " >&6
67414 else
67417 ac_ext=cpp
67418 ac_cpp='$CXXCPP $CPPFLAGS'
67419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67424 /* end confdefs.h. */
67425 #include <math.h>
67427 main ()
67429 _ceill (0); _floorl (0);
67431 return 0;
67433 _ACEOF
67434 if ac_fn_cxx_try_compile "$LINENO"; then :
67435 glibcxx_cv_func__long_double_round_use=yes
67436 else
67437 glibcxx_cv_func__long_double_round_use=no
67439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67440 ac_ext=c
67441 ac_cpp='$CPP $CPPFLAGS'
67442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67449 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67450 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67451 for ac_func in _ceill _floorl
67452 do :
67453 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67455 eval as_val=\$$as_ac_var
67456 if test "x$as_val" = x""yes; then :
67457 cat >>confdefs.h <<_ACEOF
67458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67459 _ACEOF
67462 done
67472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67473 $as_echo_n "checking for isnanl declaration... " >&6; }
67474 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67475 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67476 $as_echo_n "(cached) " >&6
67477 else
67480 ac_ext=cpp
67481 ac_cpp='$CXXCPP $CPPFLAGS'
67482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67487 /* end confdefs.h. */
67488 #include <math.h>
67489 #ifdef HAVE_IEEEFP_H
67490 #include <ieeefp.h>
67491 #endif
67494 main ()
67496 isnanl(0);
67498 return 0;
67500 _ACEOF
67501 if ac_fn_cxx_try_compile "$LINENO"; then :
67502 glibcxx_cv_func_isnanl_use=yes
67503 else
67504 glibcxx_cv_func_isnanl_use=no
67506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67507 ac_ext=c
67508 ac_cpp='$CPP $CPPFLAGS'
67509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67518 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67520 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67521 for ac_func in isnanl
67522 do :
67523 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67524 if test "x$ac_cv_func_isnanl" = x""yes; then :
67525 cat >>confdefs.h <<_ACEOF
67526 #define HAVE_ISNANL 1
67527 _ACEOF
67530 done
67532 else
67534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67535 $as_echo_n "checking for _isnanl declaration... " >&6; }
67536 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67537 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67538 $as_echo_n "(cached) " >&6
67539 else
67542 ac_ext=cpp
67543 ac_cpp='$CXXCPP $CPPFLAGS'
67544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67549 /* end confdefs.h. */
67550 #include <math.h>
67551 #ifdef HAVE_IEEEFP_H
67552 #include <ieeefp.h>
67553 #endif
67556 main ()
67558 _isnanl(0);
67560 return 0;
67562 _ACEOF
67563 if ac_fn_cxx_try_compile "$LINENO"; then :
67564 glibcxx_cv_func__isnanl_use=yes
67565 else
67566 glibcxx_cv_func__isnanl_use=no
67568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67569 ac_ext=c
67570 ac_cpp='$CPP $CPPFLAGS'
67571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67580 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67582 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67583 for ac_func in _isnanl
67584 do :
67585 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67586 if test "x$ac_cv_func__isnanl" = x""yes; then :
67587 cat >>confdefs.h <<_ACEOF
67588 #define HAVE__ISNANL 1
67589 _ACEOF
67592 done
67601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67602 $as_echo_n "checking for isinfl declaration... " >&6; }
67603 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67604 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67605 $as_echo_n "(cached) " >&6
67606 else
67609 ac_ext=cpp
67610 ac_cpp='$CXXCPP $CPPFLAGS'
67611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67616 /* end confdefs.h. */
67617 #include <math.h>
67618 #ifdef HAVE_IEEEFP_H
67619 #include <ieeefp.h>
67620 #endif
67623 main ()
67625 isinfl(0);
67627 return 0;
67629 _ACEOF
67630 if ac_fn_cxx_try_compile "$LINENO"; then :
67631 glibcxx_cv_func_isinfl_use=yes
67632 else
67633 glibcxx_cv_func_isinfl_use=no
67635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67636 ac_ext=c
67637 ac_cpp='$CPP $CPPFLAGS'
67638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67647 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67649 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67650 for ac_func in isinfl
67651 do :
67652 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67653 if test "x$ac_cv_func_isinfl" = x""yes; then :
67654 cat >>confdefs.h <<_ACEOF
67655 #define HAVE_ISINFL 1
67656 _ACEOF
67659 done
67661 else
67663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67664 $as_echo_n "checking for _isinfl declaration... " >&6; }
67665 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67666 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67667 $as_echo_n "(cached) " >&6
67668 else
67671 ac_ext=cpp
67672 ac_cpp='$CXXCPP $CPPFLAGS'
67673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67678 /* end confdefs.h. */
67679 #include <math.h>
67680 #ifdef HAVE_IEEEFP_H
67681 #include <ieeefp.h>
67682 #endif
67685 main ()
67687 _isinfl(0);
67689 return 0;
67691 _ACEOF
67692 if ac_fn_cxx_try_compile "$LINENO"; then :
67693 glibcxx_cv_func__isinfl_use=yes
67694 else
67695 glibcxx_cv_func__isinfl_use=no
67697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67698 ac_ext=c
67699 ac_cpp='$CPP $CPPFLAGS'
67700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67709 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67711 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67712 for ac_func in _isinfl
67713 do :
67714 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67715 if test "x$ac_cv_func__isinfl" = x""yes; then :
67716 cat >>confdefs.h <<_ACEOF
67717 #define HAVE__ISINFL 1
67718 _ACEOF
67721 done
67730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67731 $as_echo_n "checking for atan2l declaration... " >&6; }
67732 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67733 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67734 $as_echo_n "(cached) " >&6
67735 else
67738 ac_ext=cpp
67739 ac_cpp='$CXXCPP $CPPFLAGS'
67740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67745 /* end confdefs.h. */
67746 #include <math.h>
67748 main ()
67750 atan2l(0, 0);
67752 return 0;
67754 _ACEOF
67755 if ac_fn_cxx_try_compile "$LINENO"; then :
67756 glibcxx_cv_func_atan2l_use=yes
67757 else
67758 glibcxx_cv_func_atan2l_use=no
67760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67761 ac_ext=c
67762 ac_cpp='$CPP $CPPFLAGS'
67763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67772 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67774 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67775 for ac_func in atan2l
67776 do :
67777 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67778 if test "x$ac_cv_func_atan2l" = x""yes; then :
67779 cat >>confdefs.h <<_ACEOF
67780 #define HAVE_ATAN2L 1
67781 _ACEOF
67784 done
67786 else
67788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67789 $as_echo_n "checking for _atan2l declaration... " >&6; }
67790 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67791 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67792 $as_echo_n "(cached) " >&6
67793 else
67796 ac_ext=cpp
67797 ac_cpp='$CXXCPP $CPPFLAGS'
67798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67803 /* end confdefs.h. */
67804 #include <math.h>
67806 main ()
67808 _atan2l(0, 0);
67810 return 0;
67812 _ACEOF
67813 if ac_fn_cxx_try_compile "$LINENO"; then :
67814 glibcxx_cv_func__atan2l_use=yes
67815 else
67816 glibcxx_cv_func__atan2l_use=no
67818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67819 ac_ext=c
67820 ac_cpp='$CPP $CPPFLAGS'
67821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67830 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67832 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67833 for ac_func in _atan2l
67834 do :
67835 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67836 if test "x$ac_cv_func__atan2l" = x""yes; then :
67837 cat >>confdefs.h <<_ACEOF
67838 #define HAVE__ATAN2L 1
67839 _ACEOF
67842 done
67851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67852 $as_echo_n "checking for expl declaration... " >&6; }
67853 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67854 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67855 $as_echo_n "(cached) " >&6
67856 else
67859 ac_ext=cpp
67860 ac_cpp='$CXXCPP $CPPFLAGS'
67861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67866 /* end confdefs.h. */
67867 #include <math.h>
67868 #ifdef HAVE_IEEEFP_H
67869 #include <ieeefp.h>
67870 #endif
67873 main ()
67875 expl(0);
67877 return 0;
67879 _ACEOF
67880 if ac_fn_cxx_try_compile "$LINENO"; then :
67881 glibcxx_cv_func_expl_use=yes
67882 else
67883 glibcxx_cv_func_expl_use=no
67885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67886 ac_ext=c
67887 ac_cpp='$CPP $CPPFLAGS'
67888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67897 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67899 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67900 for ac_func in expl
67901 do :
67902 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67903 if test "x$ac_cv_func_expl" = x""yes; then :
67904 cat >>confdefs.h <<_ACEOF
67905 #define HAVE_EXPL 1
67906 _ACEOF
67909 done
67911 else
67913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67914 $as_echo_n "checking for _expl declaration... " >&6; }
67915 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67916 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67917 $as_echo_n "(cached) " >&6
67918 else
67921 ac_ext=cpp
67922 ac_cpp='$CXXCPP $CPPFLAGS'
67923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67928 /* end confdefs.h. */
67929 #include <math.h>
67930 #ifdef HAVE_IEEEFP_H
67931 #include <ieeefp.h>
67932 #endif
67935 main ()
67937 _expl(0);
67939 return 0;
67941 _ACEOF
67942 if ac_fn_cxx_try_compile "$LINENO"; then :
67943 glibcxx_cv_func__expl_use=yes
67944 else
67945 glibcxx_cv_func__expl_use=no
67947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67948 ac_ext=c
67949 ac_cpp='$CPP $CPPFLAGS'
67950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67959 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67961 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67962 for ac_func in _expl
67963 do :
67964 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67965 if test "x$ac_cv_func__expl" = x""yes; then :
67966 cat >>confdefs.h <<_ACEOF
67967 #define HAVE__EXPL 1
67968 _ACEOF
67971 done
67980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67981 $as_echo_n "checking for fabsl declaration... " >&6; }
67982 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67983 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67984 $as_echo_n "(cached) " >&6
67985 else
67988 ac_ext=cpp
67989 ac_cpp='$CXXCPP $CPPFLAGS'
67990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67995 /* end confdefs.h. */
67996 #include <math.h>
67997 #ifdef HAVE_IEEEFP_H
67998 #include <ieeefp.h>
67999 #endif
68002 main ()
68004 fabsl(0);
68006 return 0;
68008 _ACEOF
68009 if ac_fn_cxx_try_compile "$LINENO"; then :
68010 glibcxx_cv_func_fabsl_use=yes
68011 else
68012 glibcxx_cv_func_fabsl_use=no
68014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68015 ac_ext=c
68016 ac_cpp='$CPP $CPPFLAGS'
68017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68026 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68028 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68029 for ac_func in fabsl
68030 do :
68031 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68032 if test "x$ac_cv_func_fabsl" = x""yes; then :
68033 cat >>confdefs.h <<_ACEOF
68034 #define HAVE_FABSL 1
68035 _ACEOF
68038 done
68040 else
68042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
68043 $as_echo_n "checking for _fabsl declaration... " >&6; }
68044 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
68045 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
68046 $as_echo_n "(cached) " >&6
68047 else
68050 ac_ext=cpp
68051 ac_cpp='$CXXCPP $CPPFLAGS'
68052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68057 /* end confdefs.h. */
68058 #include <math.h>
68059 #ifdef HAVE_IEEEFP_H
68060 #include <ieeefp.h>
68061 #endif
68064 main ()
68066 _fabsl(0);
68068 return 0;
68070 _ACEOF
68071 if ac_fn_cxx_try_compile "$LINENO"; then :
68072 glibcxx_cv_func__fabsl_use=yes
68073 else
68074 glibcxx_cv_func__fabsl_use=no
68076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68077 ac_ext=c
68078 ac_cpp='$CPP $CPPFLAGS'
68079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68088 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68090 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68091 for ac_func in _fabsl
68092 do :
68093 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68094 if test "x$ac_cv_func__fabsl" = x""yes; then :
68095 cat >>confdefs.h <<_ACEOF
68096 #define HAVE__FABSL 1
68097 _ACEOF
68100 done
68109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68110 $as_echo_n "checking for fmodl declaration... " >&6; }
68111 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68112 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68113 $as_echo_n "(cached) " >&6
68114 else
68117 ac_ext=cpp
68118 ac_cpp='$CXXCPP $CPPFLAGS'
68119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68124 /* end confdefs.h. */
68125 #include <math.h>
68127 main ()
68129 fmodl(0, 0);
68131 return 0;
68133 _ACEOF
68134 if ac_fn_cxx_try_compile "$LINENO"; then :
68135 glibcxx_cv_func_fmodl_use=yes
68136 else
68137 glibcxx_cv_func_fmodl_use=no
68139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68140 ac_ext=c
68141 ac_cpp='$CPP $CPPFLAGS'
68142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68151 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68153 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68154 for ac_func in fmodl
68155 do :
68156 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68157 if test "x$ac_cv_func_fmodl" = x""yes; then :
68158 cat >>confdefs.h <<_ACEOF
68159 #define HAVE_FMODL 1
68160 _ACEOF
68163 done
68165 else
68167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68168 $as_echo_n "checking for _fmodl declaration... " >&6; }
68169 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68170 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68171 $as_echo_n "(cached) " >&6
68172 else
68175 ac_ext=cpp
68176 ac_cpp='$CXXCPP $CPPFLAGS'
68177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68182 /* end confdefs.h. */
68183 #include <math.h>
68185 main ()
68187 _fmodl(0, 0);
68189 return 0;
68191 _ACEOF
68192 if ac_fn_cxx_try_compile "$LINENO"; then :
68193 glibcxx_cv_func__fmodl_use=yes
68194 else
68195 glibcxx_cv_func__fmodl_use=no
68197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68198 ac_ext=c
68199 ac_cpp='$CPP $CPPFLAGS'
68200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68209 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68211 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68212 for ac_func in _fmodl
68213 do :
68214 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68215 if test "x$ac_cv_func__fmodl" = x""yes; then :
68216 cat >>confdefs.h <<_ACEOF
68217 #define HAVE__FMODL 1
68218 _ACEOF
68221 done
68230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68231 $as_echo_n "checking for frexpl declaration... " >&6; }
68232 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68233 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68234 $as_echo_n "(cached) " >&6
68235 else
68238 ac_ext=cpp
68239 ac_cpp='$CXXCPP $CPPFLAGS'
68240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68245 /* end confdefs.h. */
68246 #include <math.h>
68248 main ()
68250 frexpl(0, 0);
68252 return 0;
68254 _ACEOF
68255 if ac_fn_cxx_try_compile "$LINENO"; then :
68256 glibcxx_cv_func_frexpl_use=yes
68257 else
68258 glibcxx_cv_func_frexpl_use=no
68260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68261 ac_ext=c
68262 ac_cpp='$CPP $CPPFLAGS'
68263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68272 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68274 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68275 for ac_func in frexpl
68276 do :
68277 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68278 if test "x$ac_cv_func_frexpl" = x""yes; then :
68279 cat >>confdefs.h <<_ACEOF
68280 #define HAVE_FREXPL 1
68281 _ACEOF
68284 done
68286 else
68288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68289 $as_echo_n "checking for _frexpl declaration... " >&6; }
68290 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68291 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68292 $as_echo_n "(cached) " >&6
68293 else
68296 ac_ext=cpp
68297 ac_cpp='$CXXCPP $CPPFLAGS'
68298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68303 /* end confdefs.h. */
68304 #include <math.h>
68306 main ()
68308 _frexpl(0, 0);
68310 return 0;
68312 _ACEOF
68313 if ac_fn_cxx_try_compile "$LINENO"; then :
68314 glibcxx_cv_func__frexpl_use=yes
68315 else
68316 glibcxx_cv_func__frexpl_use=no
68318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68319 ac_ext=c
68320 ac_cpp='$CPP $CPPFLAGS'
68321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68330 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68332 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68333 for ac_func in _frexpl
68334 do :
68335 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68336 if test "x$ac_cv_func__frexpl" = x""yes; then :
68337 cat >>confdefs.h <<_ACEOF
68338 #define HAVE__FREXPL 1
68339 _ACEOF
68342 done
68351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68352 $as_echo_n "checking for hypotl declaration... " >&6; }
68353 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68354 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68355 $as_echo_n "(cached) " >&6
68356 else
68359 ac_ext=cpp
68360 ac_cpp='$CXXCPP $CPPFLAGS'
68361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68366 /* end confdefs.h. */
68367 #include <math.h>
68369 main ()
68371 hypotl(0, 0);
68373 return 0;
68375 _ACEOF
68376 if ac_fn_cxx_try_compile "$LINENO"; then :
68377 glibcxx_cv_func_hypotl_use=yes
68378 else
68379 glibcxx_cv_func_hypotl_use=no
68381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68382 ac_ext=c
68383 ac_cpp='$CPP $CPPFLAGS'
68384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68393 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68395 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68396 for ac_func in hypotl
68397 do :
68398 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68399 if test "x$ac_cv_func_hypotl" = x""yes; then :
68400 cat >>confdefs.h <<_ACEOF
68401 #define HAVE_HYPOTL 1
68402 _ACEOF
68405 done
68407 else
68409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68410 $as_echo_n "checking for _hypotl declaration... " >&6; }
68411 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68412 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68413 $as_echo_n "(cached) " >&6
68414 else
68417 ac_ext=cpp
68418 ac_cpp='$CXXCPP $CPPFLAGS'
68419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68424 /* end confdefs.h. */
68425 #include <math.h>
68427 main ()
68429 _hypotl(0, 0);
68431 return 0;
68433 _ACEOF
68434 if ac_fn_cxx_try_compile "$LINENO"; then :
68435 glibcxx_cv_func__hypotl_use=yes
68436 else
68437 glibcxx_cv_func__hypotl_use=no
68439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68440 ac_ext=c
68441 ac_cpp='$CPP $CPPFLAGS'
68442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68451 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68453 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68454 for ac_func in _hypotl
68455 do :
68456 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68457 if test "x$ac_cv_func__hypotl" = x""yes; then :
68458 cat >>confdefs.h <<_ACEOF
68459 #define HAVE__HYPOTL 1
68460 _ACEOF
68463 done
68472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68473 $as_echo_n "checking for ldexpl declaration... " >&6; }
68474 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68475 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68476 $as_echo_n "(cached) " >&6
68477 else
68480 ac_ext=cpp
68481 ac_cpp='$CXXCPP $CPPFLAGS'
68482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68487 /* end confdefs.h. */
68488 #include <math.h>
68490 main ()
68492 ldexpl(0, 0);
68494 return 0;
68496 _ACEOF
68497 if ac_fn_cxx_try_compile "$LINENO"; then :
68498 glibcxx_cv_func_ldexpl_use=yes
68499 else
68500 glibcxx_cv_func_ldexpl_use=no
68502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68503 ac_ext=c
68504 ac_cpp='$CPP $CPPFLAGS'
68505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68514 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68516 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68517 for ac_func in ldexpl
68518 do :
68519 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68520 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68521 cat >>confdefs.h <<_ACEOF
68522 #define HAVE_LDEXPL 1
68523 _ACEOF
68526 done
68528 else
68530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68531 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68532 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68533 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68534 $as_echo_n "(cached) " >&6
68535 else
68538 ac_ext=cpp
68539 ac_cpp='$CXXCPP $CPPFLAGS'
68540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68545 /* end confdefs.h. */
68546 #include <math.h>
68548 main ()
68550 _ldexpl(0, 0);
68552 return 0;
68554 _ACEOF
68555 if ac_fn_cxx_try_compile "$LINENO"; then :
68556 glibcxx_cv_func__ldexpl_use=yes
68557 else
68558 glibcxx_cv_func__ldexpl_use=no
68560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68561 ac_ext=c
68562 ac_cpp='$CPP $CPPFLAGS'
68563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68572 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68574 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68575 for ac_func in _ldexpl
68576 do :
68577 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68578 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68579 cat >>confdefs.h <<_ACEOF
68580 #define HAVE__LDEXPL 1
68581 _ACEOF
68584 done
68593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68594 $as_echo_n "checking for logl declaration... " >&6; }
68595 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68596 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68597 $as_echo_n "(cached) " >&6
68598 else
68601 ac_ext=cpp
68602 ac_cpp='$CXXCPP $CPPFLAGS'
68603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68608 /* end confdefs.h. */
68609 #include <math.h>
68610 #ifdef HAVE_IEEEFP_H
68611 #include <ieeefp.h>
68612 #endif
68615 main ()
68617 logl(0);
68619 return 0;
68621 _ACEOF
68622 if ac_fn_cxx_try_compile "$LINENO"; then :
68623 glibcxx_cv_func_logl_use=yes
68624 else
68625 glibcxx_cv_func_logl_use=no
68627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68628 ac_ext=c
68629 ac_cpp='$CPP $CPPFLAGS'
68630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68639 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68641 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68642 for ac_func in logl
68643 do :
68644 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68645 if test "x$ac_cv_func_logl" = x""yes; then :
68646 cat >>confdefs.h <<_ACEOF
68647 #define HAVE_LOGL 1
68648 _ACEOF
68651 done
68653 else
68655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68656 $as_echo_n "checking for _logl declaration... " >&6; }
68657 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68658 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68659 $as_echo_n "(cached) " >&6
68660 else
68663 ac_ext=cpp
68664 ac_cpp='$CXXCPP $CPPFLAGS'
68665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68670 /* end confdefs.h. */
68671 #include <math.h>
68672 #ifdef HAVE_IEEEFP_H
68673 #include <ieeefp.h>
68674 #endif
68677 main ()
68679 _logl(0);
68681 return 0;
68683 _ACEOF
68684 if ac_fn_cxx_try_compile "$LINENO"; then :
68685 glibcxx_cv_func__logl_use=yes
68686 else
68687 glibcxx_cv_func__logl_use=no
68689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68690 ac_ext=c
68691 ac_cpp='$CPP $CPPFLAGS'
68692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68701 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68703 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68704 for ac_func in _logl
68705 do :
68706 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68707 if test "x$ac_cv_func__logl" = x""yes; then :
68708 cat >>confdefs.h <<_ACEOF
68709 #define HAVE__LOGL 1
68710 _ACEOF
68713 done
68722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68723 $as_echo_n "checking for log10l declaration... " >&6; }
68724 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68725 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68726 $as_echo_n "(cached) " >&6
68727 else
68730 ac_ext=cpp
68731 ac_cpp='$CXXCPP $CPPFLAGS'
68732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68737 /* end confdefs.h. */
68738 #include <math.h>
68739 #ifdef HAVE_IEEEFP_H
68740 #include <ieeefp.h>
68741 #endif
68744 main ()
68746 log10l(0);
68748 return 0;
68750 _ACEOF
68751 if ac_fn_cxx_try_compile "$LINENO"; then :
68752 glibcxx_cv_func_log10l_use=yes
68753 else
68754 glibcxx_cv_func_log10l_use=no
68756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68757 ac_ext=c
68758 ac_cpp='$CPP $CPPFLAGS'
68759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68768 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68770 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68771 for ac_func in log10l
68772 do :
68773 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68774 if test "x$ac_cv_func_log10l" = x""yes; then :
68775 cat >>confdefs.h <<_ACEOF
68776 #define HAVE_LOG10L 1
68777 _ACEOF
68780 done
68782 else
68784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68785 $as_echo_n "checking for _log10l declaration... " >&6; }
68786 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68787 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68788 $as_echo_n "(cached) " >&6
68789 else
68792 ac_ext=cpp
68793 ac_cpp='$CXXCPP $CPPFLAGS'
68794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68799 /* end confdefs.h. */
68800 #include <math.h>
68801 #ifdef HAVE_IEEEFP_H
68802 #include <ieeefp.h>
68803 #endif
68806 main ()
68808 _log10l(0);
68810 return 0;
68812 _ACEOF
68813 if ac_fn_cxx_try_compile "$LINENO"; then :
68814 glibcxx_cv_func__log10l_use=yes
68815 else
68816 glibcxx_cv_func__log10l_use=no
68818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68819 ac_ext=c
68820 ac_cpp='$CPP $CPPFLAGS'
68821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68830 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68832 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68833 for ac_func in _log10l
68834 do :
68835 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68836 if test "x$ac_cv_func__log10l" = x""yes; then :
68837 cat >>confdefs.h <<_ACEOF
68838 #define HAVE__LOG10L 1
68839 _ACEOF
68842 done
68851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68852 $as_echo_n "checking for modfl declaration... " >&6; }
68853 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68854 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68855 $as_echo_n "(cached) " >&6
68856 else
68859 ac_ext=cpp
68860 ac_cpp='$CXXCPP $CPPFLAGS'
68861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68866 /* end confdefs.h. */
68867 #include <math.h>
68869 main ()
68871 modfl(0, 0);
68873 return 0;
68875 _ACEOF
68876 if ac_fn_cxx_try_compile "$LINENO"; then :
68877 glibcxx_cv_func_modfl_use=yes
68878 else
68879 glibcxx_cv_func_modfl_use=no
68881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68882 ac_ext=c
68883 ac_cpp='$CPP $CPPFLAGS'
68884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68893 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68895 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68896 for ac_func in modfl
68897 do :
68898 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68899 if test "x$ac_cv_func_modfl" = x""yes; then :
68900 cat >>confdefs.h <<_ACEOF
68901 #define HAVE_MODFL 1
68902 _ACEOF
68905 done
68907 else
68909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68910 $as_echo_n "checking for _modfl declaration... " >&6; }
68911 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68912 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68913 $as_echo_n "(cached) " >&6
68914 else
68917 ac_ext=cpp
68918 ac_cpp='$CXXCPP $CPPFLAGS'
68919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68924 /* end confdefs.h. */
68925 #include <math.h>
68927 main ()
68929 _modfl(0, 0);
68931 return 0;
68933 _ACEOF
68934 if ac_fn_cxx_try_compile "$LINENO"; then :
68935 glibcxx_cv_func__modfl_use=yes
68936 else
68937 glibcxx_cv_func__modfl_use=no
68939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68940 ac_ext=c
68941 ac_cpp='$CPP $CPPFLAGS'
68942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68951 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68953 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68954 for ac_func in _modfl
68955 do :
68956 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68957 if test "x$ac_cv_func__modfl" = x""yes; then :
68958 cat >>confdefs.h <<_ACEOF
68959 #define HAVE__MODFL 1
68960 _ACEOF
68963 done
68972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68973 $as_echo_n "checking for powl declaration... " >&6; }
68974 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68975 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68976 $as_echo_n "(cached) " >&6
68977 else
68980 ac_ext=cpp
68981 ac_cpp='$CXXCPP $CPPFLAGS'
68982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68987 /* end confdefs.h. */
68988 #include <math.h>
68990 main ()
68992 powl(0, 0);
68994 return 0;
68996 _ACEOF
68997 if ac_fn_cxx_try_compile "$LINENO"; then :
68998 glibcxx_cv_func_powl_use=yes
68999 else
69000 glibcxx_cv_func_powl_use=no
69002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69003 ac_ext=c
69004 ac_cpp='$CPP $CPPFLAGS'
69005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69014 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69016 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69017 for ac_func in powl
69018 do :
69019 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69020 if test "x$ac_cv_func_powl" = x""yes; then :
69021 cat >>confdefs.h <<_ACEOF
69022 #define HAVE_POWL 1
69023 _ACEOF
69026 done
69028 else
69030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69031 $as_echo_n "checking for _powl declaration... " >&6; }
69032 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69033 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69034 $as_echo_n "(cached) " >&6
69035 else
69038 ac_ext=cpp
69039 ac_cpp='$CXXCPP $CPPFLAGS'
69040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69045 /* end confdefs.h. */
69046 #include <math.h>
69048 main ()
69050 _powl(0, 0);
69052 return 0;
69054 _ACEOF
69055 if ac_fn_cxx_try_compile "$LINENO"; then :
69056 glibcxx_cv_func__powl_use=yes
69057 else
69058 glibcxx_cv_func__powl_use=no
69060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69061 ac_ext=c
69062 ac_cpp='$CPP $CPPFLAGS'
69063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69072 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69074 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69075 for ac_func in _powl
69076 do :
69077 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69078 if test "x$ac_cv_func__powl" = x""yes; then :
69079 cat >>confdefs.h <<_ACEOF
69080 #define HAVE__POWL 1
69081 _ACEOF
69084 done
69093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69094 $as_echo_n "checking for sqrtl declaration... " >&6; }
69095 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69096 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69097 $as_echo_n "(cached) " >&6
69098 else
69101 ac_ext=cpp
69102 ac_cpp='$CXXCPP $CPPFLAGS'
69103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69108 /* end confdefs.h. */
69109 #include <math.h>
69110 #ifdef HAVE_IEEEFP_H
69111 #include <ieeefp.h>
69112 #endif
69115 main ()
69117 sqrtl(0);
69119 return 0;
69121 _ACEOF
69122 if ac_fn_cxx_try_compile "$LINENO"; then :
69123 glibcxx_cv_func_sqrtl_use=yes
69124 else
69125 glibcxx_cv_func_sqrtl_use=no
69127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69128 ac_ext=c
69129 ac_cpp='$CPP $CPPFLAGS'
69130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69139 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69141 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69142 for ac_func in sqrtl
69143 do :
69144 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69145 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69146 cat >>confdefs.h <<_ACEOF
69147 #define HAVE_SQRTL 1
69148 _ACEOF
69151 done
69153 else
69155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69156 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69157 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69158 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69159 $as_echo_n "(cached) " >&6
69160 else
69163 ac_ext=cpp
69164 ac_cpp='$CXXCPP $CPPFLAGS'
69165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69170 /* end confdefs.h. */
69171 #include <math.h>
69172 #ifdef HAVE_IEEEFP_H
69173 #include <ieeefp.h>
69174 #endif
69177 main ()
69179 _sqrtl(0);
69181 return 0;
69183 _ACEOF
69184 if ac_fn_cxx_try_compile "$LINENO"; then :
69185 glibcxx_cv_func__sqrtl_use=yes
69186 else
69187 glibcxx_cv_func__sqrtl_use=no
69189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69190 ac_ext=c
69191 ac_cpp='$CPP $CPPFLAGS'
69192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69201 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69203 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69204 for ac_func in _sqrtl
69205 do :
69206 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69207 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69208 cat >>confdefs.h <<_ACEOF
69209 #define HAVE__SQRTL 1
69210 _ACEOF
69213 done
69222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69223 $as_echo_n "checking for sincosl declaration... " >&6; }
69224 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69225 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69226 $as_echo_n "(cached) " >&6
69227 else
69230 ac_ext=cpp
69231 ac_cpp='$CXXCPP $CPPFLAGS'
69232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69237 /* end confdefs.h. */
69238 #include <math.h>
69240 main ()
69242 sincosl(0, 0, 0);
69244 return 0;
69246 _ACEOF
69247 if ac_fn_cxx_try_compile "$LINENO"; then :
69248 glibcxx_cv_func_sincosl_use=yes
69249 else
69250 glibcxx_cv_func_sincosl_use=no
69252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69253 ac_ext=c
69254 ac_cpp='$CPP $CPPFLAGS'
69255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69264 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69266 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69267 for ac_func in sincosl
69268 do :
69269 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69270 if test "x$ac_cv_func_sincosl" = x""yes; then :
69271 cat >>confdefs.h <<_ACEOF
69272 #define HAVE_SINCOSL 1
69273 _ACEOF
69276 done
69278 else
69280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69281 $as_echo_n "checking for _sincosl declaration... " >&6; }
69282 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69283 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69284 $as_echo_n "(cached) " >&6
69285 else
69288 ac_ext=cpp
69289 ac_cpp='$CXXCPP $CPPFLAGS'
69290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69295 /* end confdefs.h. */
69296 #include <math.h>
69298 main ()
69300 _sincosl(0, 0, 0);
69302 return 0;
69304 _ACEOF
69305 if ac_fn_cxx_try_compile "$LINENO"; then :
69306 glibcxx_cv_func__sincosl_use=yes
69307 else
69308 glibcxx_cv_func__sincosl_use=no
69310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69311 ac_ext=c
69312 ac_cpp='$CPP $CPPFLAGS'
69313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69322 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69324 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69325 for ac_func in _sincosl
69326 do :
69327 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69328 if test "x$ac_cv_func__sincosl" = x""yes; then :
69329 cat >>confdefs.h <<_ACEOF
69330 #define HAVE__SINCOSL 1
69331 _ACEOF
69334 done
69343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69344 $as_echo_n "checking for finitel declaration... " >&6; }
69345 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69346 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69347 $as_echo_n "(cached) " >&6
69348 else
69351 ac_ext=cpp
69352 ac_cpp='$CXXCPP $CPPFLAGS'
69353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69358 /* end confdefs.h. */
69359 #include <math.h>
69360 #ifdef HAVE_IEEEFP_H
69361 #include <ieeefp.h>
69362 #endif
69365 main ()
69367 finitel(0);
69369 return 0;
69371 _ACEOF
69372 if ac_fn_cxx_try_compile "$LINENO"; then :
69373 glibcxx_cv_func_finitel_use=yes
69374 else
69375 glibcxx_cv_func_finitel_use=no
69377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69378 ac_ext=c
69379 ac_cpp='$CPP $CPPFLAGS'
69380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69389 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69391 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69392 for ac_func in finitel
69393 do :
69394 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69395 if test "x$ac_cv_func_finitel" = x""yes; then :
69396 cat >>confdefs.h <<_ACEOF
69397 #define HAVE_FINITEL 1
69398 _ACEOF
69401 done
69403 else
69405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69406 $as_echo_n "checking for _finitel declaration... " >&6; }
69407 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69408 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69409 $as_echo_n "(cached) " >&6
69410 else
69413 ac_ext=cpp
69414 ac_cpp='$CXXCPP $CPPFLAGS'
69415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69420 /* end confdefs.h. */
69421 #include <math.h>
69422 #ifdef HAVE_IEEEFP_H
69423 #include <ieeefp.h>
69424 #endif
69427 main ()
69429 _finitel(0);
69431 return 0;
69433 _ACEOF
69434 if ac_fn_cxx_try_compile "$LINENO"; then :
69435 glibcxx_cv_func__finitel_use=yes
69436 else
69437 glibcxx_cv_func__finitel_use=no
69439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69440 ac_ext=c
69441 ac_cpp='$CPP $CPPFLAGS'
69442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69451 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69453 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69454 for ac_func in _finitel
69455 do :
69456 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69457 if test "x$ac_cv_func__finitel" = x""yes; then :
69458 cat >>confdefs.h <<_ACEOF
69459 #define HAVE__FINITEL 1
69460 _ACEOF
69463 done
69471 LIBS="$ac_save_LIBS"
69472 CXXFLAGS="$ac_save_CXXFLAGS"
69475 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69476 ac_save_CXXFLAGS="$CXXFLAGS"
69477 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69481 $as_echo_n "checking for strtold declaration... " >&6; }
69482 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69483 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69484 $as_echo_n "(cached) " >&6
69485 else
69488 ac_ext=cpp
69489 ac_cpp='$CXXCPP $CPPFLAGS'
69490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69495 /* end confdefs.h. */
69496 #include <stdlib.h>
69498 main ()
69500 strtold(0, 0);
69502 return 0;
69504 _ACEOF
69505 if ac_fn_cxx_try_compile "$LINENO"; then :
69506 glibcxx_cv_func_strtold_use=yes
69507 else
69508 glibcxx_cv_func_strtold_use=no
69510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69511 ac_ext=c
69512 ac_cpp='$CPP $CPPFLAGS'
69513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69522 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69523 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69524 for ac_func in strtold
69525 do :
69526 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69527 if test "x$ac_cv_func_strtold" = x""yes; then :
69528 cat >>confdefs.h <<_ACEOF
69529 #define HAVE_STRTOLD 1
69530 _ACEOF
69533 done
69540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69541 $as_echo_n "checking for strtof declaration... " >&6; }
69542 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69543 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69544 $as_echo_n "(cached) " >&6
69545 else
69548 ac_ext=cpp
69549 ac_cpp='$CXXCPP $CPPFLAGS'
69550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69555 /* end confdefs.h. */
69556 #include <stdlib.h>
69558 main ()
69560 strtof(0, 0);
69562 return 0;
69564 _ACEOF
69565 if ac_fn_cxx_try_compile "$LINENO"; then :
69566 glibcxx_cv_func_strtof_use=yes
69567 else
69568 glibcxx_cv_func_strtof_use=no
69570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69571 ac_ext=c
69572 ac_cpp='$CPP $CPPFLAGS'
69573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69582 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69583 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69584 for ac_func in strtof
69585 do :
69586 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69587 if test "x$ac_cv_func_strtof" = x""yes; then :
69588 cat >>confdefs.h <<_ACEOF
69589 #define HAVE_STRTOF 1
69590 _ACEOF
69593 done
69600 CXXFLAGS="$ac_save_CXXFLAGS"
69603 *-vxworks)
69604 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69606 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69608 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69610 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69612 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69614 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69616 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69618 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69620 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69622 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69624 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69626 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69628 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69630 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69632 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69634 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69636 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69638 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69640 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69642 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69646 as_fn_error "No support for this host/target combination." "$LINENO" 5
69648 esac
69652 # At some point, we should differentiate between architectures
69653 # like x86, which have long double versions, and alpha/powerpc/etc.,
69654 # which don't. For the time being, punt.
69655 if test x"long_double_math_on_this_cpu" = x"yes"; then
69656 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69658 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69660 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69662 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69664 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69666 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69668 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69670 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69672 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69674 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69676 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69678 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69680 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69682 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69684 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69686 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69688 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69690 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69692 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69694 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69696 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69698 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69700 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69705 # Check for _Unwind_GetIPInfo.
69708 # Check whether --with-system-libunwind was given.
69709 if test "${with_system_libunwind+set}" = set; then :
69710 withval=$with_system_libunwind;
69713 # If system-libunwind was not specifically set, pick a default setting.
69714 if test x$with_system_libunwind = x; then
69715 case ${target} in
69716 ia64-*-hpux*) with_system_libunwind=yes ;;
69717 *) with_system_libunwind=no ;;
69718 esac
69720 # Based on system-libunwind and target, do we have ipinfo?
69721 if test x$with_system_libunwind = xyes; then
69722 case ${target} in
69723 ia64-*-*) have_unwind_getipinfo=no ;;
69724 *) have_unwind_getipinfo=yes ;;
69725 esac
69726 else
69727 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69729 case ${target} in
69730 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69731 *) have_unwind_getipinfo=yes ;;
69732 esac
69736 if test x$have_unwind_getipinfo = xyes; then
69738 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69743 # Check whether --enable-linux-futex was given.
69744 if test "${enable_linux_futex+set}" = set; then :
69745 enableval=$enable_linux_futex;
69746 case "$enableval" in
69747 yes|no|default) ;;
69748 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69749 esac
69751 else
69752 enable_linux_futex=default
69756 case "$target" in
69757 *-linux*)
69758 case "$enable_linux_futex" in
69759 default)
69760 # If headers don't have gettid/futex syscalls definition, then
69761 # default to no, otherwise there will be compile time failures.
69762 # Otherwise, default to yes. If we don't detect we are
69763 # compiled/linked against NPTL and not cross-compiling, check
69764 # if programs are run by default against NPTL and if not, issue
69765 # a warning.
69766 enable_linux_futex=no
69767 if test x$gcc_no_link = xyes; then
69768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69771 /* end confdefs.h. */
69772 #include <sys/syscall.h>
69773 int lk;
69775 main ()
69777 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69779 return 0;
69781 _ACEOF
69782 if ac_fn_c_try_link "$LINENO"; then :
69783 save_LIBS="$LIBS"
69784 LIBS="-lpthread $LIBS"
69785 if test x$gcc_no_link = xyes; then
69786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69789 /* end confdefs.h. */
69790 #ifndef _GNU_SOURCE
69791 #define _GNU_SOURCE 1
69792 #endif
69793 #include <pthread.h>
69794 pthread_t th; void *status;
69796 main ()
69798 pthread_tryjoin_np (th, &status);
69800 return 0;
69802 _ACEOF
69803 if ac_fn_c_try_link "$LINENO"; then :
69804 enable_linux_futex=yes
69805 else
69806 if test x$cross_compiling = xno; then
69807 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69808 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69810 If so, please configure with --disable-linux-futex" >&5
69811 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69812 If so, please configure with --disable-linux-futex" >&2;}
69815 enable_linux_futex=yes
69817 rm -f core conftest.err conftest.$ac_objext \
69818 conftest$ac_exeext conftest.$ac_ext
69819 LIBS="$save_LIBS"
69821 rm -f core conftest.err conftest.$ac_objext \
69822 conftest$ac_exeext conftest.$ac_ext
69824 yes)
69825 if test x$gcc_no_link = xyes; then
69826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69829 /* end confdefs.h. */
69830 #include <sys/syscall.h>
69831 int lk;
69833 main ()
69835 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69837 return 0;
69839 _ACEOF
69840 if ac_fn_c_try_link "$LINENO"; then :
69842 else
69843 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69845 rm -f core conftest.err conftest.$ac_objext \
69846 conftest$ac_exeext conftest.$ac_ext
69848 esac
69851 enable_linux_futex=no
69853 esac
69854 if test x$enable_linux_futex = xyes; then
69856 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69863 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69865 acx_cv_header_stdint=stddef.h
69866 acx_cv_header_stdint_kind="(already complete)"
69867 for i in stdint.h $inttype_headers; do
69868 unset ac_cv_type_uintptr_t
69869 unset ac_cv_type_uintmax_t
69870 unset ac_cv_type_int_least32_t
69871 unset ac_cv_type_int_fast32_t
69872 unset ac_cv_type_uint64_t
69873 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69874 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69875 #include <$i>
69877 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69878 acx_cv_header_stdint=$i
69879 else
69880 continue
69883 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69884 #include <$i>
69886 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69888 else
69889 acx_cv_header_stdint_kind="(mostly complete)"
69892 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69893 #include <$i>
69895 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69897 else
69898 acx_cv_header_stdint_kind="(mostly complete)"
69901 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69902 #include <$i>
69904 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69906 else
69907 acx_cv_header_stdint_kind="(mostly complete)"
69910 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69911 #include <$i>
69913 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69915 else
69916 acx_cv_header_stdint_kind="(lacks uint64_t)"
69919 break
69920 done
69921 if test "$acx_cv_header_stdint" = stddef.h; then
69922 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69923 for i in stdint.h $inttype_headers; do
69924 unset ac_cv_type_uintptr_t
69925 unset ac_cv_type_uint32_t
69926 unset ac_cv_type_uint64_t
69927 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69928 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69929 #include <$i>
69931 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69932 acx_cv_header_stdint=$i
69933 else
69934 continue
69937 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69938 #include <$i>
69940 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69944 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69945 #include <$i>
69947 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69951 break
69952 done
69954 if test "$acx_cv_header_stdint" = stddef.h; then
69955 acx_cv_header_stdint_kind="(u_intXX_t style)"
69956 for i in sys/types.h $inttype_headers; do
69957 unset ac_cv_type_u_int32_t
69958 unset ac_cv_type_u_int64_t
69959 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69960 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69961 #include <$i>
69963 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69964 acx_cv_header_stdint=$i
69965 else
69966 continue
69969 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69970 #include <$i>
69972 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69976 break
69977 done
69979 if test "$acx_cv_header_stdint" = stddef.h; then
69980 acx_cv_header_stdint_kind="(using manual detection)"
69983 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69984 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69985 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69986 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69987 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69989 # ----------------- Summarize what we found so far
69991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69992 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69994 case `$as_basename -- include/gstdint.h ||
69995 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69996 Xinclude/gstdint.h : 'X\(//\)$' \| \
69997 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69998 $as_echo X/include/gstdint.h |
69999 sed '/^.*\/\([^/][^/]*\)\/*$/{
70000 s//\1/
70003 /^X\/\(\/\/\)$/{
70004 s//\1/
70007 /^X\/\(\/\).*/{
70008 s//\1/
70011 s/.*/./; q'` in
70012 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70013 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70014 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70015 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70016 *) ;;
70017 esac
70019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
70020 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
70022 # ----------------- done included file, check C basic types --------
70024 # Lacking an uintptr_t? Test size of void *
70025 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
70026 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
70027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70029 # This bug is HP SR number 8606223364.
70030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
70031 $as_echo_n "checking size of void *... " >&6; }
70032 if test "${ac_cv_sizeof_void_p+set}" = set; then :
70033 $as_echo_n "(cached) " >&6
70034 else
70035 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
70037 else
70038 if test "$ac_cv_type_void_p" = yes; then
70039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70041 { as_fn_set_status 77
70042 as_fn_error "cannot compute sizeof (void *)
70043 See \`config.log' for more details." "$LINENO" 5; }; }
70044 else
70045 ac_cv_sizeof_void_p=0
70050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
70051 $as_echo "$ac_cv_sizeof_void_p" >&6; }
70055 cat >>confdefs.h <<_ACEOF
70056 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
70057 _ACEOF
70060 esac
70062 # Lacking an uint64_t? Test size of long
70063 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
70064 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
70065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70067 # This bug is HP SR number 8606223364.
70068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
70069 $as_echo_n "checking size of long... " >&6; }
70070 if test "${ac_cv_sizeof_long+set}" = set; then :
70071 $as_echo_n "(cached) " >&6
70072 else
70073 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70075 else
70076 if test "$ac_cv_type_long" = yes; then
70077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70079 { as_fn_set_status 77
70080 as_fn_error "cannot compute sizeof (long)
70081 See \`config.log' for more details." "$LINENO" 5; }; }
70082 else
70083 ac_cv_sizeof_long=0
70088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70089 $as_echo "$ac_cv_sizeof_long" >&6; }
70093 cat >>confdefs.h <<_ACEOF
70094 #define SIZEOF_LONG $ac_cv_sizeof_long
70095 _ACEOF
70098 esac
70100 if test $acx_cv_header_stdint = stddef.h; then
70101 # Lacking a good header? Test size of everything and deduce all types.
70102 # The cast to long int works around a bug in the HP C Compiler
70103 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70104 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70105 # This bug is HP SR number 8606223364.
70106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70107 $as_echo_n "checking size of int... " >&6; }
70108 if test "${ac_cv_sizeof_int+set}" = set; then :
70109 $as_echo_n "(cached) " >&6
70110 else
70111 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70113 else
70114 if test "$ac_cv_type_int" = yes; then
70115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70117 { as_fn_set_status 77
70118 as_fn_error "cannot compute sizeof (int)
70119 See \`config.log' for more details." "$LINENO" 5; }; }
70120 else
70121 ac_cv_sizeof_int=0
70126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70127 $as_echo "$ac_cv_sizeof_int" >&6; }
70131 cat >>confdefs.h <<_ACEOF
70132 #define SIZEOF_INT $ac_cv_sizeof_int
70133 _ACEOF
70136 # The cast to long int works around a bug in the HP C Compiler
70137 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70138 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70139 # This bug is HP SR number 8606223364.
70140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70141 $as_echo_n "checking size of short... " >&6; }
70142 if test "${ac_cv_sizeof_short+set}" = set; then :
70143 $as_echo_n "(cached) " >&6
70144 else
70145 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70147 else
70148 if test "$ac_cv_type_short" = yes; then
70149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70151 { as_fn_set_status 77
70152 as_fn_error "cannot compute sizeof (short)
70153 See \`config.log' for more details." "$LINENO" 5; }; }
70154 else
70155 ac_cv_sizeof_short=0
70160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70161 $as_echo "$ac_cv_sizeof_short" >&6; }
70165 cat >>confdefs.h <<_ACEOF
70166 #define SIZEOF_SHORT $ac_cv_sizeof_short
70167 _ACEOF
70170 # The cast to long int works around a bug in the HP C Compiler
70171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70173 # This bug is HP SR number 8606223364.
70174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70175 $as_echo_n "checking size of char... " >&6; }
70176 if test "${ac_cv_sizeof_char+set}" = set; then :
70177 $as_echo_n "(cached) " >&6
70178 else
70179 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70181 else
70182 if test "$ac_cv_type_char" = yes; then
70183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70185 { as_fn_set_status 77
70186 as_fn_error "cannot compute sizeof (char)
70187 See \`config.log' for more details." "$LINENO" 5; }; }
70188 else
70189 ac_cv_sizeof_char=0
70194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70195 $as_echo "$ac_cv_sizeof_char" >&6; }
70199 cat >>confdefs.h <<_ACEOF
70200 #define SIZEOF_CHAR $ac_cv_sizeof_char
70201 _ACEOF
70205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70206 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70207 case "$ac_cv_sizeof_char" in
70208 1) acx_cv_type_int8_t=char ;;
70209 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70210 esac
70211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70212 $as_echo "$acx_cv_type_int8_t" >&6; }
70214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70215 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70216 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70217 2:*) acx_cv_type_int16_t=int ;;
70218 *:2) acx_cv_type_int16_t=short ;;
70219 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70220 esac
70221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70222 $as_echo "$acx_cv_type_int16_t" >&6; }
70224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70225 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70226 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70227 4:*) acx_cv_type_int32_t=int ;;
70228 *:4) acx_cv_type_int32_t=long ;;
70229 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70230 esac
70231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70232 $as_echo "$acx_cv_type_int32_t" >&6; }
70235 # These tests are here to make the output prettier
70237 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70238 case "$ac_cv_sizeof_long" in
70239 8) acx_cv_type_int64_t=long ;;
70240 esac
70241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70242 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70244 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70247 # Now we can use the above types
70249 if test "$ac_cv_type_uintptr_t" != yes; then
70250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70251 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70252 case $ac_cv_sizeof_void_p in
70253 2) acx_cv_type_intptr_t=int16_t ;;
70254 4) acx_cv_type_intptr_t=int32_t ;;
70255 8) acx_cv_type_intptr_t=int64_t ;;
70256 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70257 esac
70258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70259 $as_echo "$acx_cv_type_intptr_t" >&6; }
70262 # ----------------- done all checks, emit header -------------
70263 ac_config_commands="$ac_config_commands include/gstdint.h"
70269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70270 $as_echo_n "checking for GNU c++filt... " >&6; }
70271 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70272 $as_echo_n "(cached) " >&6
70273 else
70274 if test -z "$CXXFILT"; then
70275 ac_path_CXXFILT_found=false
70276 # Loop through the user's path and test for each of PROGNAME-LIST
70277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70278 for as_dir in $PATH
70280 IFS=$as_save_IFS
70281 test -z "$as_dir" && as_dir=.
70282 for ac_prog in c++filt gc++filt; do
70283 for ac_exec_ext in '' $ac_executable_extensions; do
70284 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70285 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70286 # Check for GNU $ac_path_CXXFILT
70287 case `"$ac_path_CXXFILT" --version 2>&1` in
70288 *GNU*)
70289 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70290 esac
70292 $ac_path_CXXFILT_found && break 3
70293 done
70294 done
70295 done
70296 IFS=$as_save_IFS
70297 if test -z "$ac_cv_path_CXXFILT"; then
70300 else
70301 ac_cv_path_CXXFILT=$CXXFILT
70305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70306 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70307 CXXFILT=$ac_cv_path_CXXFILT
70311 # Check whether --enable-symvers was given.
70312 if test "${enable_symvers+set}" = set; then :
70313 enableval=$enable_symvers;
70314 case "$enableval" in
70315 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70316 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70317 esac
70319 else
70320 enable_symvers=yes
70325 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70326 # don't know enough about $LD to do tricks...
70328 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70329 # with extern "C++" in version scripts.
70332 # Turn a 'yes' into a suitable default.
70333 if test x$enable_symvers = xyes ; then
70334 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70335 enable_symvers=no
70336 else
70337 if test $with_gnu_ld = yes ; then
70338 case ${target_os} in
70339 hpux*)
70340 enable_symvers=no ;;
70342 enable_symvers=gnu ;;
70343 esac
70344 else
70345 case ${target_os} in
70346 darwin*)
70347 enable_symvers=darwin ;;
70348 # Sun symbol versioning exists since Solaris 2.5.
70349 solaris2.[5-9]* | solaris2.1[0-9]*)
70350 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70351 # version scripts, so disable symbol versioning if none can be
70352 # found.
70353 if test -z "$ac_cv_path_CXXFILT"; then
70354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70355 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70357 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70359 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70360 enable_symvers=no
70361 else
70362 enable_symvers=sun
70366 enable_symvers=no ;;
70367 esac
70372 # Check to see if 'darwin' or 'darwin-export' can win.
70373 if test x$enable_symvers = xdarwin-export ; then
70374 enable_symvers=darwin
70377 # Check if 'sun' was requested on non-Solaris 2 platforms.
70378 if test x$enable_symvers = xsun ; then
70379 case ${target_os} in
70380 solaris2*)
70381 # All fine.
70384 # Unlikely to work.
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70386 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70388 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70390 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70391 enable_symvers=no
70393 esac
70396 # Check to see if 'gnu' can win.
70397 if test $enable_symvers = gnu ||
70398 test $enable_symvers = gnu-versioned-namespace ||
70399 test $enable_symvers = sun; then
70400 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70402 $as_echo_n "checking for shared libgcc... " >&6; }
70403 ac_save_CFLAGS="$CFLAGS"
70404 CFLAGS=' -lgcc_s'
70405 if test x$gcc_no_link = xyes; then
70406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70409 /* end confdefs.h. */
70412 main ()
70414 return 0;
70416 return 0;
70418 _ACEOF
70419 if ac_fn_c_try_link "$LINENO"; then :
70420 glibcxx_shared_libgcc=yes
70421 else
70422 glibcxx_shared_libgcc=no
70424 rm -f core conftest.err conftest.$ac_objext \
70425 conftest$ac_exeext conftest.$ac_ext
70426 CFLAGS="$ac_save_CFLAGS"
70427 if test $glibcxx_shared_libgcc = no; then
70428 cat > conftest.c <<EOF
70429 int main (void) { return 0; }
70431 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70432 -shared -shared-libgcc -o conftest.so \
70433 conftest.c -v 2>&1 >/dev/null \
70434 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70435 rm -f conftest.c conftest.so
70436 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70437 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70438 if test x$gcc_no_link = xyes; then
70439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70442 /* end confdefs.h. */
70445 main ()
70447 return 0;
70449 return 0;
70451 _ACEOF
70452 if ac_fn_c_try_link "$LINENO"; then :
70453 glibcxx_shared_libgcc=yes
70455 rm -f core conftest.err conftest.$ac_objext \
70456 conftest$ac_exeext conftest.$ac_ext
70457 CFLAGS="$ac_save_CFLAGS"
70460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70461 $as_echo "$glibcxx_shared_libgcc" >&6; }
70463 # For GNU ld, we need at least this version. The format is described in
70464 # GLIBCXX_CHECK_LINKER_FEATURES above.
70465 glibcxx_min_gnu_ld_version=21400
70467 # If no shared libgcc, can't win.
70468 if test $glibcxx_shared_libgcc != yes; then
70469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70470 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70472 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70474 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70475 enable_symvers=no
70476 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70477 : All interesting versions of Sun ld support sun style symbol versioning.
70478 elif test $with_gnu_ld != yes ; then
70479 # just fail for now
70480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70481 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70483 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70485 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70486 enable_symvers=no
70487 elif test $glibcxx_ld_is_gold = yes ; then
70488 : All versions of gold support symbol versioning.
70489 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70490 # The right tools, the right setup, but too old. Fallbacks?
70491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70492 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70494 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70496 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70498 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70500 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70501 enable_symvers=no
70505 # For libtool versioning info, format is CURRENT:REVISION:AGE
70506 libtool_VERSION=6:18:0
70508 # Everything parsed; figure out what files and settings to use.
70509 case $enable_symvers in
70511 SYMVER_FILE=config/abi/pre/none.ver
70513 gnu)
70514 SYMVER_FILE=config/abi/pre/gnu.ver
70516 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70519 gnu-versioned-namespace)
70520 libtool_VERSION=7:0:0
70521 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70523 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70526 darwin)
70527 SYMVER_FILE=config/abi/pre/gnu.ver
70529 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70532 sun)
70533 SYMVER_FILE=config/abi/pre/gnu.ver
70535 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70538 esac
70540 if test x$enable_symvers != xno ; then
70542 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70547 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70548 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70549 $as_echo_n "(cached) " >&6
70550 else
70552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70553 /* end confdefs.h. */
70554 void foo (void); __asm (".symver foo, bar@SYMVER");
70556 main ()
70560 return 0;
70562 _ACEOF
70563 if ac_fn_c_try_compile "$LINENO"; then :
70564 glibcxx_cv_have_as_symver_directive=yes
70565 else
70566 glibcxx_cv_have_as_symver_directive=no
70568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70571 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70572 if test $glibcxx_cv_have_as_symver_directive = yes; then
70574 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70585 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70586 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70588 if test $enable_symvers != no ; then
70589 case ${target_os} in
70590 # The Solaris 2 runtime linker doesn't support the GNU extension of
70591 # binding the same symbol to different versions
70592 solaris2*)
70594 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70597 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70600 esac
70603 # Now, set up compatibility support, if any.
70604 # In addition, need this to deal with std::size_t mangling in
70605 # src/compatibility.cc. In a perfect world, could use
70606 # typeid(std::size_t).name()[0] to do direct substitution.
70607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70608 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70609 ac_save_CFLAGS="$CFLAGS"
70610 CFLAGS="-Werror"
70611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70612 /* end confdefs.h. */
70615 main ()
70617 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70619 return 0;
70621 _ACEOF
70622 if ac_fn_c_try_compile "$LINENO"; then :
70623 glibcxx_size_t_is_i=yes
70624 else
70625 glibcxx_size_t_is_i=no
70627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70628 CFLAGS=$ac_save_CFLAGS
70629 if test "$glibcxx_size_t_is_i" = yes; then
70631 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70635 $as_echo "$glibcxx_size_t_is_i" >&6; }
70637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70638 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70639 ac_save_CFLAGS="$CFLAGS"
70640 CFLAGS="-Werror"
70641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70642 /* end confdefs.h. */
70645 main ()
70647 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70649 return 0;
70651 _ACEOF
70652 if ac_fn_c_try_compile "$LINENO"; then :
70653 glibcxx_ptrdiff_t_is_i=yes
70654 else
70655 glibcxx_ptrdiff_t_is_i=no
70657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70658 CFLAGS=$ac_save_CFLAGS
70659 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70661 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70665 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70670 # Check whether --enable-libstdcxx-visibility was given.
70671 if test "${enable_libstdcxx_visibility+set}" = set; then :
70672 enableval=$enable_libstdcxx_visibility;
70673 case "$enableval" in
70674 yes|no) ;;
70675 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70676 esac
70678 else
70679 enable_libstdcxx_visibility=yes
70684 if test x$enable_libstdcxx_visibility = xyes ; then
70685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70686 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70687 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70688 $as_echo_n "(cached) " >&6
70689 else
70691 save_CFLAGS="$CFLAGS"
70692 CFLAGS="$CFLAGS -Werror"
70693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70694 /* end confdefs.h. */
70695 void __attribute__((visibility("hidden"))) foo(void) { }
70697 main ()
70701 return 0;
70703 _ACEOF
70704 if ac_fn_c_try_compile "$LINENO"; then :
70705 glibcxx_cv_have_attribute_visibility=yes
70706 else
70707 glibcxx_cv_have_attribute_visibility=no
70709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70710 CFLAGS="$save_CFLAGS"
70712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70713 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70714 if test $glibcxx_cv_have_attribute_visibility = no; then
70715 enable_libstdcxx_visibility=no
70720 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70721 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70724 ac_ldbl_compat=no
70725 case "$target" in
70726 powerpc*-*-linux* | \
70727 sparc*-*-linux* | \
70728 s390*-*-linux* | \
70729 alpha*-*-linux*)
70730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70731 /* end confdefs.h. */
70734 main ()
70737 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70738 #error no need for long double compatibility
70739 #endif
70742 return 0;
70744 _ACEOF
70745 if ac_fn_c_try_compile "$LINENO"; then :
70746 ac_ldbl_compat=yes
70747 else
70748 ac_ldbl_compat=no
70750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70751 if test "$ac_ldbl_compat" = yes; then
70753 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70755 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70757 esac
70760 # Check if assembler supports disabling hardware capability support.
70762 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70764 ac_save_CFLAGS="$CFLAGS"
70765 CFLAGS="$CFLAGS -Wa,-nH"
70767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70768 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70770 /* end confdefs.h. */
70773 main ()
70775 return 0;
70777 return 0;
70779 _ACEOF
70780 if ac_fn_c_try_compile "$LINENO"; then :
70781 ac_hwcap_flags=yes
70782 else
70783 ac_hwcap_flags=no
70785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70786 if test "$ac_hwcap_flags" = "yes"; then
70787 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70790 $as_echo "$ac_hwcap_flags" >&6; }
70792 CFLAGS="$ac_save_CFLAGS"
70797 # Check if assembler supports rdrand opcode.
70799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70800 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70801 if test "${ac_cv_x86_rdrand+set}" = set; then :
70802 $as_echo_n "(cached) " >&6
70803 else
70805 ac_cv_x86_rdrand=no
70806 case "$target" in
70807 i?86-*-* | \
70808 x86_64-*-*)
70809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70810 /* end confdefs.h. */
70813 main ()
70815 asm("rdrand %eax");
70817 return 0;
70819 _ACEOF
70820 if ac_fn_c_try_compile "$LINENO"; then :
70821 ac_cv_x86_rdrand=yes
70822 else
70823 ac_cv_x86_rdrand=no
70825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70826 esac
70830 if test $ac_cv_x86_rdrand = yes; then
70832 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70836 $as_echo "$ac_cv_x86_rdrand" >&6; }
70839 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70841 if $GLIBCXX_IS_NATIVE ; then
70842 # Do checks for resource limit functions.
70844 setrlimit_have_headers=yes
70845 for ac_header in unistd.h sys/time.h sys/resource.h
70846 do :
70847 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70848 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70849 eval as_val=\$$as_ac_Header
70850 if test "x$as_val" = x""yes; then :
70851 cat >>confdefs.h <<_ACEOF
70852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70853 _ACEOF
70855 else
70856 setrlimit_have_headers=no
70859 done
70861 # If don't have the headers, then we can't run the tests now, and we
70862 # won't be seeing any of these during testsuite compilation.
70863 if test $setrlimit_have_headers = yes; then
70864 # Can't do these in a loop, else the resulting syntax is wrong.
70866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70867 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70869 /* end confdefs.h. */
70870 #include <unistd.h>
70871 #include <sys/time.h>
70872 #include <sys/resource.h>
70875 main ()
70877 int f = RLIMIT_DATA ;
70879 return 0;
70881 _ACEOF
70882 if ac_fn_c_try_compile "$LINENO"; then :
70883 glibcxx_mresult=1
70884 else
70885 glibcxx_mresult=0
70887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70889 cat >>confdefs.h <<_ACEOF
70890 #define HAVE_LIMIT_DATA $glibcxx_mresult
70891 _ACEOF
70893 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70895 $as_echo "$res" >&6; }
70898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70899 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70901 /* end confdefs.h. */
70902 #include <unistd.h>
70903 #include <sys/time.h>
70904 #include <sys/resource.h>
70907 main ()
70909 int f = RLIMIT_RSS ;
70911 return 0;
70913 _ACEOF
70914 if ac_fn_c_try_compile "$LINENO"; then :
70915 glibcxx_mresult=1
70916 else
70917 glibcxx_mresult=0
70919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70921 cat >>confdefs.h <<_ACEOF
70922 #define HAVE_LIMIT_RSS $glibcxx_mresult
70923 _ACEOF
70925 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70927 $as_echo "$res" >&6; }
70930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70931 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70933 /* end confdefs.h. */
70934 #include <unistd.h>
70935 #include <sys/time.h>
70936 #include <sys/resource.h>
70939 main ()
70941 int f = RLIMIT_VMEM ;
70943 return 0;
70945 _ACEOF
70946 if ac_fn_c_try_compile "$LINENO"; then :
70947 glibcxx_mresult=1
70948 else
70949 glibcxx_mresult=0
70951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70953 cat >>confdefs.h <<_ACEOF
70954 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70955 _ACEOF
70957 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70959 $as_echo "$res" >&6; }
70962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70963 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70965 /* end confdefs.h. */
70966 #include <unistd.h>
70967 #include <sys/time.h>
70968 #include <sys/resource.h>
70971 main ()
70973 int f = RLIMIT_AS ;
70975 return 0;
70977 _ACEOF
70978 if ac_fn_c_try_compile "$LINENO"; then :
70979 glibcxx_mresult=1
70980 else
70981 glibcxx_mresult=0
70983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70985 cat >>confdefs.h <<_ACEOF
70986 #define HAVE_LIMIT_AS $glibcxx_mresult
70987 _ACEOF
70989 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70991 $as_echo "$res" >&6; }
70994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70995 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70997 /* end confdefs.h. */
70998 #include <unistd.h>
70999 #include <sys/time.h>
71000 #include <sys/resource.h>
71003 main ()
71005 int f = RLIMIT_FSIZE ;
71007 return 0;
71009 _ACEOF
71010 if ac_fn_c_try_compile "$LINENO"; then :
71011 glibcxx_mresult=1
71012 else
71013 glibcxx_mresult=0
71015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71017 cat >>confdefs.h <<_ACEOF
71018 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
71019 _ACEOF
71021 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71023 $as_echo "$res" >&6; }
71026 # Check for rlimit, setrlimit.
71027 if test "${glibcxx_cv_setrlimit+set}" = set; then :
71028 $as_echo_n "(cached) " >&6
71029 else
71031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71032 /* end confdefs.h. */
71033 #include <unistd.h>
71034 #include <sys/time.h>
71035 #include <sys/resource.h>
71038 main ()
71040 struct rlimit r;
71041 setrlimit(0, &r);
71043 return 0;
71045 _ACEOF
71046 if ac_fn_c_try_compile "$LINENO"; then :
71047 glibcxx_cv_setrlimit=yes
71048 else
71049 glibcxx_cv_setrlimit=no
71051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
71058 $as_echo_n "checking for testsuite resource limits support... " >&6; }
71059 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
71060 ac_res_limits=yes
71062 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
71064 else
71065 ac_res_limits=no
71067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
71068 $as_echo "$ac_res_limits" >&6; }
71071 # Look for setenv, so that extended locale tests can be performed.
71073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71074 $as_echo_n "checking for setenv declaration... " >&6; }
71075 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71076 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71077 $as_echo_n "(cached) " >&6
71078 else
71081 ac_ext=cpp
71082 ac_cpp='$CXXCPP $CPPFLAGS'
71083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71088 /* end confdefs.h. */
71089 #include <stdlib.h>
71091 main ()
71093 setenv(0, 0, 0);
71095 return 0;
71097 _ACEOF
71098 if ac_fn_cxx_try_compile "$LINENO"; then :
71099 glibcxx_cv_func_setenv_use=yes
71100 else
71101 glibcxx_cv_func_setenv_use=no
71103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71104 ac_ext=c
71105 ac_cpp='$CPP $CPPFLAGS'
71106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71115 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71116 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71117 for ac_func in setenv
71118 do :
71119 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71120 if test "x$ac_cv_func_setenv" = x""yes; then :
71121 cat >>confdefs.h <<_ACEOF
71122 #define HAVE_SETENV 1
71123 _ACEOF
71126 done
71132 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71133 test $enable_symvers != no; then
71134 case "$host" in
71135 *-*-cygwin*)
71136 enable_abi_check=no ;;
71138 enable_abi_check=yes ;;
71139 esac
71140 else
71141 # Only build this as native, since automake does not understand
71142 # CXX_FOR_BUILD.
71143 enable_abi_check=no
71146 # Export file names for ABI checking.
71147 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71149 baseline_subdir_switch="$abi_baseline_subdir_switch"
71153 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71155 # Check whether --enable-libstdcxx-threads was given.
71156 if test "${enable_libstdcxx_threads+set}" = set; then :
71157 enableval=$enable_libstdcxx_threads;
71158 case "$enableval" in
71159 yes|no) ;;
71160 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71161 esac
71163 else
71164 enable_libstdcxx_threads=auto
71169 if test x$enable_libstdcxx_threads = xauto ||
71170 test x$enable_libstdcxx_threads = xyes; then
71173 ac_ext=cpp
71174 ac_cpp='$CXXCPP $CPPFLAGS'
71175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71180 ac_save_CXXFLAGS="$CXXFLAGS"
71181 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71182 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71184 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71185 case $target_thread_file in
71186 posix)
71187 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71188 esac
71190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71191 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71194 /* end confdefs.h. */
71195 #include <unistd.h>
71197 main ()
71200 // In case of POSIX threads check _POSIX_TIMEOUTS.
71201 #if (defined(_PTHREADS) \
71202 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71203 #error
71204 #endif
71207 return 0;
71209 _ACEOF
71210 if ac_fn_cxx_try_compile "$LINENO"; then :
71211 ac_gthread_use_mutex_timedlock=1
71212 else
71213 ac_gthread_use_mutex_timedlock=0
71215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71218 cat >>confdefs.h <<_ACEOF
71219 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71220 _ACEOF
71223 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71224 else res_mutex_timedlock=no ; fi
71225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71226 $as_echo "$res_mutex_timedlock" >&6; }
71228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71229 $as_echo_n "checking for gthreads library... " >&6; }
71231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71232 /* end confdefs.h. */
71233 #include "gthr.h"
71235 main ()
71238 #ifndef __GTHREADS_CXX0X
71239 #error
71240 #endif
71243 return 0;
71245 _ACEOF
71246 if ac_fn_cxx_try_compile "$LINENO"; then :
71247 case $target_os in
71248 # gthreads support breaks symbol versioning on Solaris 9 (PR
71249 # libstdc++/52189).
71250 solaris2.9*)
71251 if test x$enable_symvers = xno; then
71252 ac_has_gthreads=yes
71253 elif test x$enable_libstdcxx_threads = xyes; then
71254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71255 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71257 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71258 ac_has_gthreads=yes
71259 else
71260 ac_has_gthreads=no
71264 ac_has_gthreads=yes
71266 esac
71267 else
71268 ac_has_gthreads=no
71270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71271 else
71272 ac_has_gthreads=no
71275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71276 $as_echo "$ac_has_gthreads" >&6; }
71278 if test x"$ac_has_gthreads" = x"yes"; then
71280 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71284 CXXFLAGS="$ac_save_CXXFLAGS"
71285 ac_ext=c
71286 ac_cpp='$CPP $CPPFLAGS'
71287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71293 # Define documentation rules conditionally.
71295 # See if makeinfo has been installed and is modern enough
71296 # that we can use it.
71298 # Extract the first word of "makeinfo", so it can be a program name with args.
71299 set dummy makeinfo; ac_word=$2
71300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71301 $as_echo_n "checking for $ac_word... " >&6; }
71302 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71303 $as_echo_n "(cached) " >&6
71304 else
71305 if test -n "$MAKEINFO"; then
71306 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71307 else
71308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71309 for as_dir in $PATH
71311 IFS=$as_save_IFS
71312 test -z "$as_dir" && as_dir=.
71313 for ac_exec_ext in '' $ac_executable_extensions; do
71314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71315 ac_cv_prog_MAKEINFO="makeinfo"
71316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71317 break 2
71319 done
71320 done
71321 IFS=$as_save_IFS
71325 MAKEINFO=$ac_cv_prog_MAKEINFO
71326 if test -n "$MAKEINFO"; then
71327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71328 $as_echo "$MAKEINFO" >&6; }
71329 else
71330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71331 $as_echo "no" >&6; }
71335 if test -n "$MAKEINFO"; then
71336 # Found it, now check the version.
71337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71338 $as_echo_n "checking for modern makeinfo... " >&6; }
71339 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71340 $as_echo_n "(cached) " >&6
71341 else
71342 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71343 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71345 case $ac_prog_version in
71346 '') gcc_cv_prog_makeinfo_modern=no;;
71347 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71348 *) gcc_cv_prog_makeinfo_modern=no;;
71349 esac
71352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71353 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71354 else
71355 gcc_cv_prog_makeinfo_modern=no
71357 if test $gcc_cv_prog_makeinfo_modern = no; then
71358 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71361 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71362 BUILD_INFO_TRUE=
71363 BUILD_INFO_FALSE='#'
71364 else
71365 BUILD_INFO_TRUE='#'
71366 BUILD_INFO_FALSE=
71370 # Check for doxygen
71371 # Extract the first word of "doxygen", so it can be a program name with args.
71372 set dummy doxygen; ac_word=$2
71373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71374 $as_echo_n "checking for $ac_word... " >&6; }
71375 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71376 $as_echo_n "(cached) " >&6
71377 else
71378 if test -n "$DOXYGEN"; then
71379 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71380 else
71381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71382 for as_dir in $PATH
71384 IFS=$as_save_IFS
71385 test -z "$as_dir" && as_dir=.
71386 for ac_exec_ext in '' $ac_executable_extensions; do
71387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71388 ac_cv_prog_DOXYGEN="yes"
71389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71390 break 2
71392 done
71393 done
71394 IFS=$as_save_IFS
71396 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71399 DOXYGEN=$ac_cv_prog_DOXYGEN
71400 if test -n "$DOXYGEN"; then
71401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71402 $as_echo "$DOXYGEN" >&6; }
71403 else
71404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71405 $as_echo "no" >&6; }
71409 # Extract the first word of "dot", so it can be a program name with args.
71410 set dummy dot; ac_word=$2
71411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71412 $as_echo_n "checking for $ac_word... " >&6; }
71413 if test "${ac_cv_prog_DOT+set}" = set; then :
71414 $as_echo_n "(cached) " >&6
71415 else
71416 if test -n "$DOT"; then
71417 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71418 else
71419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71420 for as_dir in $PATH
71422 IFS=$as_save_IFS
71423 test -z "$as_dir" && as_dir=.
71424 for ac_exec_ext in '' $ac_executable_extensions; do
71425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71426 ac_cv_prog_DOT="yes"
71427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71428 break 2
71430 done
71431 done
71432 IFS=$as_save_IFS
71434 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71437 DOT=$ac_cv_prog_DOT
71438 if test -n "$DOT"; then
71439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71440 $as_echo "$DOT" >&6; }
71441 else
71442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71443 $as_echo "no" >&6; }
71448 # Check for docbook
71449 # Extract the first word of "xsltproc", so it can be a program name with args.
71450 set dummy xsltproc; ac_word=$2
71451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71452 $as_echo_n "checking for $ac_word... " >&6; }
71453 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71454 $as_echo_n "(cached) " >&6
71455 else
71456 if test -n "$XSLTPROC"; then
71457 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71458 else
71459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71460 for as_dir in $PATH
71462 IFS=$as_save_IFS
71463 test -z "$as_dir" && as_dir=.
71464 for ac_exec_ext in '' $ac_executable_extensions; do
71465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71466 ac_cv_prog_XSLTPROC="yes"
71467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71468 break 2
71470 done
71471 done
71472 IFS=$as_save_IFS
71474 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71477 XSLTPROC=$ac_cv_prog_XSLTPROC
71478 if test -n "$XSLTPROC"; then
71479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71480 $as_echo "$XSLTPROC" >&6; }
71481 else
71482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71483 $as_echo "no" >&6; }
71487 # Extract the first word of "xmllint", so it can be a program name with args.
71488 set dummy xmllint; ac_word=$2
71489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71490 $as_echo_n "checking for $ac_word... " >&6; }
71491 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71492 $as_echo_n "(cached) " >&6
71493 else
71494 if test -n "$XMLLINT"; then
71495 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71496 else
71497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71498 for as_dir in $PATH
71500 IFS=$as_save_IFS
71501 test -z "$as_dir" && as_dir=.
71502 for ac_exec_ext in '' $ac_executable_extensions; do
71503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71504 ac_cv_prog_XMLLINT="yes"
71505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71506 break 2
71508 done
71509 done
71510 IFS=$as_save_IFS
71512 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71515 XMLLINT=$ac_cv_prog_XMLLINT
71516 if test -n "$XMLLINT"; then
71517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71518 $as_echo "$XMLLINT" >&6; }
71519 else
71520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71521 $as_echo "no" >&6; }
71527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71528 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71529 glibcxx_stylesheets=no
71530 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
71531 glibcxx_stylesheets=yes
71533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71534 $as_echo "$glibcxx_stylesheets" >&6; }
71536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71537 $as_echo_n "checking for local stylesheet directory... " >&6; }
71538 glibcxx_local_stylesheets=no
71539 if test x"$glibcxx_stylesheets" = x"yes"; then
71540 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71541 glibcxx_local_stylesheets=yes
71542 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71544 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71545 glibcxx_local_stylesheets=yes
71546 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71548 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
71549 glibcxx_local_stylesheets=yes
71550 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
71553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71554 $as_echo "$glibcxx_local_stylesheets" >&6; }
71556 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71558 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71559 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71560 else
71561 glibcxx_stylesheets=no
71564 # Check for epub3 dependencies.
71565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71566 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71567 glibcxx_epub_stylesheets=no
71568 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71569 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71570 glibcxx_epub_stylesheets=yes
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71574 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71575 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71576 BUILD_EPUB_TRUE=
71577 BUILD_EPUB_FALSE='#'
71578 else
71579 BUILD_EPUB_TRUE='#'
71580 BUILD_EPUB_FALSE=
71586 # Check for xml/html dependencies.
71587 if test $ac_cv_prog_DOXYGEN = "yes" &&
71588 test $ac_cv_prog_DOT = "yes" &&
71589 test $ac_cv_prog_XSLTPROC = "yes" &&
71590 test $ac_cv_prog_XMLLINT = "yes" &&
71591 test $glibcxx_stylesheets = "yes"; then
71592 BUILD_XML_TRUE=
71593 BUILD_XML_FALSE='#'
71594 else
71595 BUILD_XML_TRUE='#'
71596 BUILD_XML_FALSE=
71600 if test $ac_cv_prog_DOXYGEN = "yes" &&
71601 test $ac_cv_prog_DOT = "yes" &&
71602 test $ac_cv_prog_XSLTPROC = "yes" &&
71603 test $ac_cv_prog_XMLLINT = "yes" &&
71604 test $glibcxx_stylesheets = "yes"; then
71605 BUILD_HTML_TRUE=
71606 BUILD_HTML_FALSE='#'
71607 else
71608 BUILD_HTML_TRUE='#'
71609 BUILD_HTML_FALSE=
71613 # Check for man dependencies.
71614 if test $ac_cv_prog_DOXYGEN = "yes" &&
71615 test $ac_cv_prog_DOT = "yes"; then
71616 BUILD_MAN_TRUE=
71617 BUILD_MAN_FALSE='#'
71618 else
71619 BUILD_MAN_TRUE='#'
71620 BUILD_MAN_FALSE=
71624 # Check for pdf dependencies.
71625 # Extract the first word of "dblatex", so it can be a program name with args.
71626 set dummy dblatex; ac_word=$2
71627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71628 $as_echo_n "checking for $ac_word... " >&6; }
71629 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71630 $as_echo_n "(cached) " >&6
71631 else
71632 if test -n "$DBLATEX"; then
71633 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71634 else
71635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71636 for as_dir in $PATH
71638 IFS=$as_save_IFS
71639 test -z "$as_dir" && as_dir=.
71640 for ac_exec_ext in '' $ac_executable_extensions; do
71641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71642 ac_cv_prog_DBLATEX="yes"
71643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71644 break 2
71646 done
71647 done
71648 IFS=$as_save_IFS
71650 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71653 DBLATEX=$ac_cv_prog_DBLATEX
71654 if test -n "$DBLATEX"; then
71655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71656 $as_echo "$DBLATEX" >&6; }
71657 else
71658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71659 $as_echo "no" >&6; }
71663 # Extract the first word of "pdflatex", so it can be a program name with args.
71664 set dummy pdflatex; ac_word=$2
71665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71666 $as_echo_n "checking for $ac_word... " >&6; }
71667 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71668 $as_echo_n "(cached) " >&6
71669 else
71670 if test -n "$PDFLATEX"; then
71671 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71672 else
71673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71674 for as_dir in $PATH
71676 IFS=$as_save_IFS
71677 test -z "$as_dir" && as_dir=.
71678 for ac_exec_ext in '' $ac_executable_extensions; do
71679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71680 ac_cv_prog_PDFLATEX="yes"
71681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71682 break 2
71684 done
71685 done
71686 IFS=$as_save_IFS
71688 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71691 PDFLATEX=$ac_cv_prog_PDFLATEX
71692 if test -n "$PDFLATEX"; then
71693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71694 $as_echo "$PDFLATEX" >&6; }
71695 else
71696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71697 $as_echo "no" >&6; }
71701 if test $ac_cv_prog_DBLATEX = "yes" &&
71702 test $ac_cv_prog_PDFLATEX = "yes"; then
71703 BUILD_PDF_TRUE=
71704 BUILD_PDF_FALSE='#'
71705 else
71706 BUILD_PDF_TRUE='#'
71707 BUILD_PDF_FALSE=
71712 # Propagate the target-specific source directories through the build chain.
71713 ATOMICITY_SRCDIR=config/${atomicity_dir}
71714 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71715 ATOMIC_FLAGS=${atomic_flags}
71716 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71717 OS_INC_SRCDIR=config/${os_include_dir}
71718 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71719 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71720 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71721 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
71733 # Determine cross-compile flags and AM_CONDITIONALs.
71734 #AC_SUBST(GLIBCXX_IS_NATIVE)
71735 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71736 if test $is_hosted = yes; then
71737 GLIBCXX_HOSTED_TRUE=
71738 GLIBCXX_HOSTED_FALSE='#'
71739 else
71740 GLIBCXX_HOSTED_TRUE='#'
71741 GLIBCXX_HOSTED_FALSE=
71745 if test $enable_libstdcxx_pch = yes; then
71746 GLIBCXX_BUILD_PCH_TRUE=
71747 GLIBCXX_BUILD_PCH_FALSE='#'
71748 else
71749 GLIBCXX_BUILD_PCH_TRUE='#'
71750 GLIBCXX_BUILD_PCH_FALSE=
71754 if test $enable_cheaders = c; then
71755 GLIBCXX_C_HEADERS_C_TRUE=
71756 GLIBCXX_C_HEADERS_C_FALSE='#'
71757 else
71758 GLIBCXX_C_HEADERS_C_TRUE='#'
71759 GLIBCXX_C_HEADERS_C_FALSE=
71763 if test $enable_cheaders = c_std; then
71764 GLIBCXX_C_HEADERS_C_STD_TRUE=
71765 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71766 else
71767 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71768 GLIBCXX_C_HEADERS_C_STD_FALSE=
71772 if test $enable_cheaders = c_global; then
71773 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71774 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71775 else
71776 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71777 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71781 if test $c_compatibility = yes; then
71782 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71783 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71784 else
71785 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71786 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71790 if test $enable_libstdcxx_debug = yes; then
71791 GLIBCXX_BUILD_DEBUG_TRUE=
71792 GLIBCXX_BUILD_DEBUG_FALSE='#'
71793 else
71794 GLIBCXX_BUILD_DEBUG_TRUE='#'
71795 GLIBCXX_BUILD_DEBUG_FALSE=
71799 if test $enable_extern_template = yes; then
71800 ENABLE_EXTERN_TEMPLATE_TRUE=
71801 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71802 else
71803 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71804 ENABLE_EXTERN_TEMPLATE_FALSE=
71808 if test $python_mod_dir != no; then
71809 ENABLE_PYTHONDIR_TRUE=
71810 ENABLE_PYTHONDIR_FALSE='#'
71811 else
71812 ENABLE_PYTHONDIR_TRUE='#'
71813 ENABLE_PYTHONDIR_FALSE=
71817 if test $enable_werror = yes; then
71818 ENABLE_WERROR_TRUE=
71819 ENABLE_WERROR_FALSE='#'
71820 else
71821 ENABLE_WERROR_TRUE='#'
71822 ENABLE_WERROR_FALSE=
71826 if test $enable_symvers != no; then
71827 ENABLE_SYMVERS_TRUE=
71828 ENABLE_SYMVERS_FALSE='#'
71829 else
71830 ENABLE_SYMVERS_TRUE='#'
71831 ENABLE_SYMVERS_FALSE=
71835 if test $enable_symvers = gnu; then
71836 ENABLE_SYMVERS_GNU_TRUE=
71837 ENABLE_SYMVERS_GNU_FALSE='#'
71838 else
71839 ENABLE_SYMVERS_GNU_TRUE='#'
71840 ENABLE_SYMVERS_GNU_FALSE=
71844 if test $enable_symvers = gnu-versioned-namespace; then
71845 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71846 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71847 else
71848 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71849 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71853 if test $enable_symvers = darwin; then
71854 ENABLE_SYMVERS_DARWIN_TRUE=
71855 ENABLE_SYMVERS_DARWIN_FALSE='#'
71856 else
71857 ENABLE_SYMVERS_DARWIN_TRUE='#'
71858 ENABLE_SYMVERS_DARWIN_FALSE=
71862 if test $enable_symvers = sun; then
71863 ENABLE_SYMVERS_SUN_TRUE=
71864 ENABLE_SYMVERS_SUN_FALSE='#'
71865 else
71866 ENABLE_SYMVERS_SUN_TRUE='#'
71867 ENABLE_SYMVERS_SUN_FALSE=
71871 if test $enable_libstdcxx_visibility = yes; then
71872 ENABLE_VISIBILITY_TRUE=
71873 ENABLE_VISIBILITY_FALSE='#'
71874 else
71875 ENABLE_VISIBILITY_TRUE='#'
71876 ENABLE_VISIBILITY_FALSE=
71880 if test $ac_ldbl_compat = yes; then
71881 GLIBCXX_LDBL_COMPAT_TRUE=
71882 GLIBCXX_LDBL_COMPAT_FALSE='#'
71883 else
71884 GLIBCXX_LDBL_COMPAT_TRUE='#'
71885 GLIBCXX_LDBL_COMPAT_FALSE=
71891 cat >confcache <<\_ACEOF
71892 # This file is a shell script that caches the results of configure
71893 # tests run on this system so they can be shared between configure
71894 # scripts and configure runs, see configure's option --config-cache.
71895 # It is not useful on other systems. If it contains results you don't
71896 # want to keep, you may remove or edit it.
71898 # config.status only pays attention to the cache file if you give it
71899 # the --recheck option to rerun configure.
71901 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71902 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71903 # following values.
71905 _ACEOF
71907 # The following way of writing the cache mishandles newlines in values,
71908 # but we know of no workaround that is simple, portable, and efficient.
71909 # So, we kill variables containing newlines.
71910 # Ultrix sh set writes to stderr and can't be redirected directly,
71911 # and sets the high bit in the cache file unless we assign to the vars.
71913 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71914 eval ac_val=\$$ac_var
71915 case $ac_val in #(
71916 *${as_nl}*)
71917 case $ac_var in #(
71918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71920 esac
71921 case $ac_var in #(
71922 _ | IFS | as_nl) ;; #(
71923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71924 *) { eval $ac_var=; unset $ac_var;} ;;
71925 esac ;;
71926 esac
71927 done
71929 (set) 2>&1 |
71930 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71931 *${as_nl}ac_space=\ *)
71932 # `set' does not quote correctly, so add quotes: double-quote
71933 # substitution turns \\\\ into \\, and sed turns \\ into \.
71934 sed -n \
71935 "s/'/'\\\\''/g;
71936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71937 ;; #(
71939 # `set' quotes correctly as required by POSIX, so do not add quotes.
71940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71942 esac |
71943 sort
71945 sed '
71946 /^ac_cv_env_/b end
71947 t clear
71948 :clear
71949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71950 t end
71951 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71952 :end' >>confcache
71953 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71954 if test -w "$cache_file"; then
71955 test "x$cache_file" != "x/dev/null" &&
71956 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71957 $as_echo "$as_me: updating cache $cache_file" >&6;}
71958 cat confcache >$cache_file
71959 else
71960 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71961 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71964 rm -f confcache
71966 if test ${multilib} = yes; then
71967 multilib_arg="--enable-multilib"
71968 else
71969 multilib_arg=
71972 # Export all the install information.
71974 glibcxx_toolexecdir=no
71975 glibcxx_toolexeclibdir=no
71976 glibcxx_prefixdir=$prefix
71978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71979 $as_echo_n "checking for gxx-include-dir... " >&6; }
71981 # Check whether --with-gxx-include-dir was given.
71982 if test "${with_gxx_include_dir+set}" = set; then :
71983 withval=$with_gxx_include_dir; case "$withval" in
71984 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71985 no) gxx_include_dir=no ;;
71986 *) gxx_include_dir=$withval ;;
71987 esac
71988 else
71989 gxx_include_dir=no
71992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71993 $as_echo "$gxx_include_dir" >&6; }
71995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71996 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71997 # Check whether --enable-version-specific-runtime-libs was given.
71998 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71999 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
72000 yes) version_specific_libs=yes ;;
72001 no) version_specific_libs=no ;;
72002 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
72003 esac
72004 else
72005 version_specific_libs=no
72008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
72009 $as_echo "$version_specific_libs" >&6; }
72011 # Default case for install directory for include files.
72012 if test $version_specific_libs = no && test $gxx_include_dir = no; then
72013 gxx_include_dir='include/c++/${gcc_version}'
72014 if test -n "$with_cross_host" &&
72015 test x"$with_cross_host" != x"no"; then
72016 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
72017 else
72018 gxx_include_dir='${prefix}/'"$gxx_include_dir"
72022 # Version-specific runtime libs processing.
72023 if test $version_specific_libs = yes; then
72024 # Need the gcc compiler version to know where to install libraries
72025 # and header files if --enable-version-specific-runtime-libs option
72026 # is selected. FIXME: these variables are misnamed, there are
72027 # no executables installed in _toolexecdir or _toolexeclibdir.
72028 if test x"$gxx_include_dir" = x"no"; then
72029 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
72031 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72032 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
72035 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
72036 # Install a library built with a cross compiler in tooldir, not libdir.
72037 if test x"$glibcxx_toolexecdir" = x"no"; then
72038 if test -n "$with_cross_host" &&
72039 test x"$with_cross_host" != x"no"; then
72040 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
72041 glibcxx_toolexeclibdir='${toolexecdir}/lib'
72042 else
72043 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72044 glibcxx_toolexeclibdir='${libdir}'
72046 multi_os_directory=`$CXX -print-multi-os-directory`
72047 case $multi_os_directory in
72048 .) ;; # Avoid trailing /.
72049 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
72050 esac
72053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
72054 $as_echo_n "checking for install location... " >&6; }
72055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72056 $as_echo "$gxx_include_dir" >&6; }
72064 # Export all the include and flag information to Makefiles.
72066 # Used for every C++ compile we perform.
72067 GLIBCXX_INCLUDES="\
72068 -I$glibcxx_builddir/include/$host_alias \
72069 -I$glibcxx_builddir/include \
72070 -I$glibcxx_srcdir/libsupc++"
72072 # For Canadian crosses, pick this up too.
72073 if test $CANADIAN = yes; then
72074 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72077 # Stuff in the actual top level. Currently only used by libsupc++ to
72078 # get unwind* headers from the libgcc dir.
72079 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72080 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72082 # Now, export this to all the little Makefiles....
72087 # Optimization flags that are probably a good idea for thrill-seekers. Just
72088 # uncomment the lines below and make, everything else is ready to go...
72089 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72090 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72093 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72097 ac_config_files="$ac_config_files Makefile"
72099 ac_config_files="$ac_config_files scripts/testsuite_flags"
72101 ac_config_files="$ac_config_files scripts/extract_symvers"
72103 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72106 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72107 # that multilib installs will end up installed in the correct place.
72108 # The testsuite needs it for multilib-aware ABI baseline files.
72109 # To work around this not being passed down from config-ml.in ->
72110 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72111 # append it here. Only modify Makefiles that have just been created.
72113 # Also, get rid of this simulated-VPATH thing that automake does.
72114 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
72117 ac_config_commands="$ac_config_commands generate-headers"
72120 cat >confcache <<\_ACEOF
72121 # This file is a shell script that caches the results of configure
72122 # tests run on this system so they can be shared between configure
72123 # scripts and configure runs, see configure's option --config-cache.
72124 # It is not useful on other systems. If it contains results you don't
72125 # want to keep, you may remove or edit it.
72127 # config.status only pays attention to the cache file if you give it
72128 # the --recheck option to rerun configure.
72130 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72131 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72132 # following values.
72134 _ACEOF
72136 # The following way of writing the cache mishandles newlines in values,
72137 # but we know of no workaround that is simple, portable, and efficient.
72138 # So, we kill variables containing newlines.
72139 # Ultrix sh set writes to stderr and can't be redirected directly,
72140 # and sets the high bit in the cache file unless we assign to the vars.
72142 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72143 eval ac_val=\$$ac_var
72144 case $ac_val in #(
72145 *${as_nl}*)
72146 case $ac_var in #(
72147 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72148 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72149 esac
72150 case $ac_var in #(
72151 _ | IFS | as_nl) ;; #(
72152 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72153 *) { eval $ac_var=; unset $ac_var;} ;;
72154 esac ;;
72155 esac
72156 done
72158 (set) 2>&1 |
72159 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72160 *${as_nl}ac_space=\ *)
72161 # `set' does not quote correctly, so add quotes: double-quote
72162 # substitution turns \\\\ into \\, and sed turns \\ into \.
72163 sed -n \
72164 "s/'/'\\\\''/g;
72165 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72166 ;; #(
72168 # `set' quotes correctly as required by POSIX, so do not add quotes.
72169 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72171 esac |
72172 sort
72174 sed '
72175 /^ac_cv_env_/b end
72176 t clear
72177 :clear
72178 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72179 t end
72180 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72181 :end' >>confcache
72182 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72183 if test -w "$cache_file"; then
72184 test "x$cache_file" != "x/dev/null" &&
72185 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72186 $as_echo "$as_me: updating cache $cache_file" >&6;}
72187 cat confcache >$cache_file
72188 else
72189 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72190 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72193 rm -f confcache
72195 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72196 # Let make expand exec_prefix.
72197 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72199 DEFS=-DHAVE_CONFIG_H
72201 ac_libobjs=
72202 ac_ltlibobjs=
72203 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72204 # 1. Remove the extension, and $U if already installed.
72205 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72206 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72207 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72208 # will be set to the directory where LIBOBJS objects are built.
72209 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72210 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72211 done
72212 LIBOBJS=$ac_libobjs
72214 LTLIBOBJS=$ac_ltlibobjs
72217 if test -n "$EXEEXT"; then
72218 am__EXEEXT_TRUE=
72219 am__EXEEXT_FALSE='#'
72220 else
72221 am__EXEEXT_TRUE='#'
72222 am__EXEEXT_FALSE=
72225 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72226 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72229 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72230 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72233 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72234 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72237 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72238 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72241 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72242 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72245 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72246 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72249 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72250 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72253 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72254 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72257 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72258 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72261 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72262 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72265 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72266 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72269 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72270 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72273 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72274 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72277 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72278 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72281 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72282 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72285 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72286 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72289 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72290 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72293 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72294 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72297 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72298 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72301 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72302 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72305 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72306 as_fn_error "conditional \"BUILD_XML\" was never defined.
72307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72309 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72310 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72313 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72314 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72317 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72318 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72322 : ${CONFIG_STATUS=./config.status}
72323 ac_write_fail=0
72324 ac_clean_files_save=$ac_clean_files
72325 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72326 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72327 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72328 as_write_fail=0
72329 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72330 #! $SHELL
72331 # Generated by $as_me.
72332 # Run this file to recreate the current configuration.
72333 # Compiler output produced by configure, useful for debugging
72334 # configure, is in config.log if it exists.
72336 debug=false
72337 ac_cs_recheck=false
72338 ac_cs_silent=false
72340 SHELL=\${CONFIG_SHELL-$SHELL}
72341 export SHELL
72342 _ASEOF
72343 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72344 ## -------------------- ##
72345 ## M4sh Initialization. ##
72346 ## -------------------- ##
72348 # Be more Bourne compatible
72349 DUALCASE=1; export DUALCASE # for MKS sh
72350 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72351 emulate sh
72352 NULLCMD=:
72353 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72354 # is contrary to our usage. Disable this feature.
72355 alias -g '${1+"$@"}'='"$@"'
72356 setopt NO_GLOB_SUBST
72357 else
72358 case `(set -o) 2>/dev/null` in #(
72359 *posix*) :
72360 set -o posix ;; #(
72361 *) :
72363 esac
72367 as_nl='
72369 export as_nl
72370 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72371 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72372 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72373 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72374 # Prefer a ksh shell builtin over an external printf program on Solaris,
72375 # but without wasting forks for bash or zsh.
72376 if test -z "$BASH_VERSION$ZSH_VERSION" \
72377 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72378 as_echo='print -r --'
72379 as_echo_n='print -rn --'
72380 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72381 as_echo='printf %s\n'
72382 as_echo_n='printf %s'
72383 else
72384 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72385 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72386 as_echo_n='/usr/ucb/echo -n'
72387 else
72388 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72389 as_echo_n_body='eval
72390 arg=$1;
72391 case $arg in #(
72392 *"$as_nl"*)
72393 expr "X$arg" : "X\\(.*\\)$as_nl";
72394 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72395 esac;
72396 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72398 export as_echo_n_body
72399 as_echo_n='sh -c $as_echo_n_body as_echo'
72401 export as_echo_body
72402 as_echo='sh -c $as_echo_body as_echo'
72405 # The user is always right.
72406 if test "${PATH_SEPARATOR+set}" != set; then
72407 PATH_SEPARATOR=:
72408 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72409 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72410 PATH_SEPARATOR=';'
72415 # IFS
72416 # We need space, tab and new line, in precisely that order. Quoting is
72417 # there to prevent editors from complaining about space-tab.
72418 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72419 # splitting by setting IFS to empty value.)
72420 IFS=" "" $as_nl"
72422 # Find who we are. Look in the path if we contain no directory separator.
72423 case $0 in #((
72424 *[\\/]* ) as_myself=$0 ;;
72425 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72426 for as_dir in $PATH
72428 IFS=$as_save_IFS
72429 test -z "$as_dir" && as_dir=.
72430 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72431 done
72432 IFS=$as_save_IFS
72435 esac
72436 # We did not find ourselves, most probably we were run as `sh COMMAND'
72437 # in which case we are not to be found in the path.
72438 if test "x$as_myself" = x; then
72439 as_myself=$0
72441 if test ! -f "$as_myself"; then
72442 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72443 exit 1
72446 # Unset variables that we do not need and which cause bugs (e.g. in
72447 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72448 # suppresses any "Segmentation fault" message there. '((' could
72449 # trigger a bug in pdksh 5.2.14.
72450 for as_var in BASH_ENV ENV MAIL MAILPATH
72451 do eval test x\${$as_var+set} = xset \
72452 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72453 done
72454 PS1='$ '
72455 PS2='> '
72456 PS4='+ '
72458 # NLS nuisances.
72459 LC_ALL=C
72460 export LC_ALL
72461 LANGUAGE=C
72462 export LANGUAGE
72464 # CDPATH.
72465 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72468 # as_fn_error ERROR [LINENO LOG_FD]
72469 # ---------------------------------
72470 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72471 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72472 # script with status $?, using 1 if that was 0.
72473 as_fn_error ()
72475 as_status=$?; test $as_status -eq 0 && as_status=1
72476 if test "$3"; then
72477 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72478 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72480 $as_echo "$as_me: error: $1" >&2
72481 as_fn_exit $as_status
72482 } # as_fn_error
72485 # as_fn_set_status STATUS
72486 # -----------------------
72487 # Set $? to STATUS, without forking.
72488 as_fn_set_status ()
72490 return $1
72491 } # as_fn_set_status
72493 # as_fn_exit STATUS
72494 # -----------------
72495 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72496 as_fn_exit ()
72498 set +e
72499 as_fn_set_status $1
72500 exit $1
72501 } # as_fn_exit
72503 # as_fn_unset VAR
72504 # ---------------
72505 # Portably unset VAR.
72506 as_fn_unset ()
72508 { eval $1=; unset $1;}
72510 as_unset=as_fn_unset
72511 # as_fn_append VAR VALUE
72512 # ----------------------
72513 # Append the text in VALUE to the end of the definition contained in VAR. Take
72514 # advantage of any shell optimizations that allow amortized linear growth over
72515 # repeated appends, instead of the typical quadratic growth present in naive
72516 # implementations.
72517 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72518 eval 'as_fn_append ()
72520 eval $1+=\$2
72522 else
72523 as_fn_append ()
72525 eval $1=\$$1\$2
72527 fi # as_fn_append
72529 # as_fn_arith ARG...
72530 # ------------------
72531 # Perform arithmetic evaluation on the ARGs, and store the result in the
72532 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72533 # must be portable across $(()) and expr.
72534 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72535 eval 'as_fn_arith ()
72537 as_val=$(( $* ))
72539 else
72540 as_fn_arith ()
72542 as_val=`expr "$@" || test $? -eq 1`
72544 fi # as_fn_arith
72547 if expr a : '\(a\)' >/dev/null 2>&1 &&
72548 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72549 as_expr=expr
72550 else
72551 as_expr=false
72554 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72555 as_basename=basename
72556 else
72557 as_basename=false
72560 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72561 as_dirname=dirname
72562 else
72563 as_dirname=false
72566 as_me=`$as_basename -- "$0" ||
72567 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72568 X"$0" : 'X\(//\)$' \| \
72569 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72570 $as_echo X/"$0" |
72571 sed '/^.*\/\([^/][^/]*\)\/*$/{
72572 s//\1/
72575 /^X\/\(\/\/\)$/{
72576 s//\1/
72579 /^X\/\(\/\).*/{
72580 s//\1/
72583 s/.*/./; q'`
72585 # Avoid depending upon Character Ranges.
72586 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72587 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72588 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72589 as_cr_digits='0123456789'
72590 as_cr_alnum=$as_cr_Letters$as_cr_digits
72592 ECHO_C= ECHO_N= ECHO_T=
72593 case `echo -n x` in #(((((
72594 -n*)
72595 case `echo 'xy\c'` in
72596 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72597 xy) ECHO_C='\c';;
72598 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72599 ECHO_T=' ';;
72600 esac;;
72602 ECHO_N='-n';;
72603 esac
72605 rm -f conf$$ conf$$.exe conf$$.file
72606 if test -d conf$$.dir; then
72607 rm -f conf$$.dir/conf$$.file
72608 else
72609 rm -f conf$$.dir
72610 mkdir conf$$.dir 2>/dev/null
72612 if (echo >conf$$.file) 2>/dev/null; then
72613 if ln -s conf$$.file conf$$ 2>/dev/null; then
72614 as_ln_s='ln -s'
72615 # ... but there are two gotchas:
72616 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72617 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72618 # In both cases, we have to default to `cp -p'.
72619 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72620 as_ln_s='cp -p'
72621 elif ln conf$$.file conf$$ 2>/dev/null; then
72622 as_ln_s=ln
72623 else
72624 as_ln_s='cp -p'
72626 else
72627 as_ln_s='cp -p'
72629 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72630 rmdir conf$$.dir 2>/dev/null
72633 # as_fn_mkdir_p
72634 # -------------
72635 # Create "$as_dir" as a directory, including parents if necessary.
72636 as_fn_mkdir_p ()
72639 case $as_dir in #(
72640 -*) as_dir=./$as_dir;;
72641 esac
72642 test -d "$as_dir" || eval $as_mkdir_p || {
72643 as_dirs=
72644 while :; do
72645 case $as_dir in #(
72646 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72647 *) as_qdir=$as_dir;;
72648 esac
72649 as_dirs="'$as_qdir' $as_dirs"
72650 as_dir=`$as_dirname -- "$as_dir" ||
72651 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72652 X"$as_dir" : 'X\(//\)[^/]' \| \
72653 X"$as_dir" : 'X\(//\)$' \| \
72654 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72655 $as_echo X"$as_dir" |
72656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72657 s//\1/
72660 /^X\(\/\/\)[^/].*/{
72661 s//\1/
72664 /^X\(\/\/\)$/{
72665 s//\1/
72668 /^X\(\/\).*/{
72669 s//\1/
72672 s/.*/./; q'`
72673 test -d "$as_dir" && break
72674 done
72675 test -z "$as_dirs" || eval "mkdir $as_dirs"
72676 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72679 } # as_fn_mkdir_p
72680 if mkdir -p . 2>/dev/null; then
72681 as_mkdir_p='mkdir -p "$as_dir"'
72682 else
72683 test -d ./-p && rmdir ./-p
72684 as_mkdir_p=false
72687 if test -x / >/dev/null 2>&1; then
72688 as_test_x='test -x'
72689 else
72690 if ls -dL / >/dev/null 2>&1; then
72691 as_ls_L_option=L
72692 else
72693 as_ls_L_option=
72695 as_test_x='
72696 eval sh -c '\''
72697 if test -d "$1"; then
72698 test -d "$1/.";
72699 else
72700 case $1 in #(
72701 -*)set "./$1";;
72702 esac;
72703 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72704 ???[sx]*):;;*)false;;esac;fi
72705 '\'' sh
72708 as_executable_p=$as_test_x
72710 # Sed expression to map a string onto a valid CPP name.
72711 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72713 # Sed expression to map a string onto a valid variable name.
72714 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72717 exec 6>&1
72718 ## ----------------------------------- ##
72719 ## Main body of $CONFIG_STATUS script. ##
72720 ## ----------------------------------- ##
72721 _ASEOF
72722 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72725 # Save the log message, to keep $0 and so on meaningful, and to
72726 # report actual input values of CONFIG_FILES etc. instead of their
72727 # values after options handling.
72728 ac_log="
72729 This file was extended by package-unused $as_me version-unused, which was
72730 generated by GNU Autoconf 2.64. Invocation command line was
72732 CONFIG_FILES = $CONFIG_FILES
72733 CONFIG_HEADERS = $CONFIG_HEADERS
72734 CONFIG_LINKS = $CONFIG_LINKS
72735 CONFIG_COMMANDS = $CONFIG_COMMANDS
72736 $ $0 $@
72738 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72741 _ACEOF
72743 case $ac_config_files in *"
72744 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72745 esac
72747 case $ac_config_headers in *"
72748 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72749 esac
72752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72753 # Files that config.status was made for.
72754 config_files="$ac_config_files"
72755 config_headers="$ac_config_headers"
72756 config_commands="$ac_config_commands"
72758 _ACEOF
72760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72761 ac_cs_usage="\
72762 \`$as_me' instantiates files and other configuration actions
72763 from templates according to the current configuration. Unless the files
72764 and actions are specified as TAGs, all are instantiated by default.
72766 Usage: $0 [OPTION]... [TAG]...
72768 -h, --help print this help, then exit
72769 -V, --version print version number and configuration settings, then exit
72770 -q, --quiet, --silent
72771 do not print progress messages
72772 -d, --debug don't remove temporary files
72773 --recheck update $as_me by reconfiguring in the same conditions
72774 --file=FILE[:TEMPLATE]
72775 instantiate the configuration file FILE
72776 --header=FILE[:TEMPLATE]
72777 instantiate the configuration header FILE
72779 Configuration files:
72780 $config_files
72782 Configuration headers:
72783 $config_headers
72785 Configuration commands:
72786 $config_commands
72788 Report bugs to the package provider."
72790 _ACEOF
72791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72792 ac_cs_version="\\
72793 package-unused config.status version-unused
72794 configured by $0, generated by GNU Autoconf 2.64,
72795 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72797 Copyright (C) 2009 Free Software Foundation, Inc.
72798 This config.status script is free software; the Free Software Foundation
72799 gives unlimited permission to copy, distribute and modify it."
72801 ac_pwd='$ac_pwd'
72802 srcdir='$srcdir'
72803 INSTALL='$INSTALL'
72804 MKDIR_P='$MKDIR_P'
72805 AWK='$AWK'
72806 test -n "\$AWK" || AWK=awk
72807 _ACEOF
72809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72810 # The default lists apply if the user does not specify any file.
72811 ac_need_defaults=:
72812 while test $# != 0
72814 case $1 in
72815 --*=*)
72816 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72817 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72818 ac_shift=:
72821 ac_option=$1
72822 ac_optarg=$2
72823 ac_shift=shift
72825 esac
72827 case $ac_option in
72828 # Handling of the options.
72829 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72830 ac_cs_recheck=: ;;
72831 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72832 $as_echo "$ac_cs_version"; exit ;;
72833 --debug | --debu | --deb | --de | --d | -d )
72834 debug=: ;;
72835 --file | --fil | --fi | --f )
72836 $ac_shift
72837 case $ac_optarg in
72838 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72839 esac
72840 as_fn_append CONFIG_FILES " '$ac_optarg'"
72841 ac_need_defaults=false;;
72842 --header | --heade | --head | --hea )
72843 $ac_shift
72844 case $ac_optarg in
72845 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72846 esac
72847 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72848 ac_need_defaults=false;;
72849 --he | --h)
72850 # Conflict between --help and --header
72851 as_fn_error "ambiguous option: \`$1'
72852 Try \`$0 --help' for more information.";;
72853 --help | --hel | -h )
72854 $as_echo "$ac_cs_usage"; exit ;;
72855 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72856 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72857 ac_cs_silent=: ;;
72859 # This is an error.
72860 -*) as_fn_error "unrecognized option: \`$1'
72861 Try \`$0 --help' for more information." ;;
72863 *) as_fn_append ac_config_targets " $1"
72864 ac_need_defaults=false ;;
72866 esac
72867 shift
72868 done
72870 ac_configure_extra_args=
72872 if $ac_cs_silent; then
72873 exec 6>/dev/null
72874 ac_configure_extra_args="$ac_configure_extra_args --silent"
72877 _ACEOF
72878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72879 if \$ac_cs_recheck; then
72880 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72881 shift
72882 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72883 CONFIG_SHELL='$SHELL'
72884 export CONFIG_SHELL
72885 exec "\$@"
72888 _ACEOF
72889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72890 exec 5>>config.log
72892 echo
72893 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72894 ## Running $as_me. ##
72895 _ASBOX
72896 $as_echo "$ac_log"
72897 } >&5
72899 _ACEOF
72900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72902 # INIT-COMMANDS
72905 srcdir="$srcdir"
72906 host="$host"
72907 target="$target"
72908 with_multisubdir="$with_multisubdir"
72909 with_multisrctop="$with_multisrctop"
72910 with_target_subdir="$with_target_subdir"
72911 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72912 multi_basedir="$multi_basedir"
72913 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72914 CC="$CC"
72915 CXX="$CXX"
72916 GFORTRAN="$GFORTRAN"
72917 GCJ="$GCJ"
72920 # The HP-UX ksh and POSIX shell print the target directory to stdout
72921 # if CDPATH is set.
72922 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72924 sed_quote_subst='$sed_quote_subst'
72925 double_quote_subst='$double_quote_subst'
72926 delay_variable_subst='$delay_variable_subst'
72927 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72928 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72929 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72930 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72931 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72932 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72933 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72934 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72935 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72936 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72937 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72938 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72939 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72940 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72941 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72942 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72943 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72944 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72945 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72946 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72947 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72948 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72949 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72950 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72951 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72952 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72953 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72954 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72955 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72956 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72957 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72958 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72959 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72960 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72961 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72962 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72963 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72964 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72965 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72966 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72967 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72968 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72969 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72970 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72971 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72972 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72973 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72974 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72975 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"`'
72976 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72977 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72978 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72979 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72980 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72981 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72982 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72983 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72984 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72985 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72986 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72987 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72988 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72989 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72990 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72991 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72992 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72993 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72994 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72995 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72996 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72997 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72998 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72999 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
73000 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73001 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
73002 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73003 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
73004 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
73005 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
73006 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
73007 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
73008 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
73009 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
73010 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
73011 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
73012 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
73013 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
73014 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
73015 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
73016 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
73017 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
73018 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
73019 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
73020 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
73021 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
73022 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
73023 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
73024 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
73025 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
73026 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
73027 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
73028 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
73029 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
73030 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
73031 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
73032 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
73033 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
73034 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73035 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73036 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
73037 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
73038 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
73039 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
73040 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
73041 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
73042 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
73043 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
73044 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
73045 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
73046 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
73047 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
73048 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
73049 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
73050 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
73051 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
73052 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
73053 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
73054 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
73055 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73056 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73057 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
73058 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
73059 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
73060 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
73061 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
73062 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
73063 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73064 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73065 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73066 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73067 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73068 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73069 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73070 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73071 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73072 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73073 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73074 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73075 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73076 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73077 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73078 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73079 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73080 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73081 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73082 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73083 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73084 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73085 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73086 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73087 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73088 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73089 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73090 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73091 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73092 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73093 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73094 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73095 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73096 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73097 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73098 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73099 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73100 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73101 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73103 LTCC='$LTCC'
73104 LTCFLAGS='$LTCFLAGS'
73105 compiler='$compiler_DEFAULT'
73107 # A function that is used when there is no print builtin or printf.
73108 func_fallback_echo ()
73110 eval 'cat <<_LTECHO_EOF
73112 _LTECHO_EOF'
73115 # Quote evaled strings.
73116 for var in SHELL \
73117 ECHO \
73118 SED \
73119 GREP \
73120 EGREP \
73121 FGREP \
73122 LD \
73123 NM \
73124 LN_S \
73125 lt_SP2NL \
73126 lt_NL2SP \
73127 reload_flag \
73128 OBJDUMP \
73129 deplibs_check_method \
73130 file_magic_cmd \
73131 AR \
73132 AR_FLAGS \
73133 STRIP \
73134 RANLIB \
73135 CC \
73136 CFLAGS \
73137 compiler \
73138 lt_cv_sys_global_symbol_pipe \
73139 lt_cv_sys_global_symbol_to_cdecl \
73140 lt_cv_sys_global_symbol_to_c_name_address \
73141 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73142 lt_prog_compiler_no_builtin_flag \
73143 lt_prog_compiler_wl \
73144 lt_prog_compiler_pic \
73145 lt_prog_compiler_static \
73146 lt_cv_prog_compiler_c_o \
73147 need_locks \
73148 DSYMUTIL \
73149 NMEDIT \
73150 LIPO \
73151 OTOOL \
73152 OTOOL64 \
73153 shrext_cmds \
73154 export_dynamic_flag_spec \
73155 whole_archive_flag_spec \
73156 compiler_needs_object \
73157 with_gnu_ld \
73158 allow_undefined_flag \
73159 no_undefined_flag \
73160 hardcode_libdir_flag_spec \
73161 hardcode_libdir_flag_spec_ld \
73162 hardcode_libdir_separator \
73163 fix_srcfile_path \
73164 exclude_expsyms \
73165 include_expsyms \
73166 file_list_spec \
73167 variables_saved_for_relink \
73168 libname_spec \
73169 library_names_spec \
73170 soname_spec \
73171 install_override_mode \
73172 finish_eval \
73173 old_striplib \
73174 striplib \
73175 compiler_lib_search_dirs \
73176 predep_objects \
73177 postdep_objects \
73178 predeps \
73179 postdeps \
73180 compiler_lib_search_path \
73181 LD_CXX \
73182 reload_flag_CXX \
73183 compiler_CXX \
73184 lt_prog_compiler_no_builtin_flag_CXX \
73185 lt_prog_compiler_wl_CXX \
73186 lt_prog_compiler_pic_CXX \
73187 lt_prog_compiler_static_CXX \
73188 lt_cv_prog_compiler_c_o_CXX \
73189 export_dynamic_flag_spec_CXX \
73190 whole_archive_flag_spec_CXX \
73191 compiler_needs_object_CXX \
73192 with_gnu_ld_CXX \
73193 allow_undefined_flag_CXX \
73194 no_undefined_flag_CXX \
73195 hardcode_libdir_flag_spec_CXX \
73196 hardcode_libdir_flag_spec_ld_CXX \
73197 hardcode_libdir_separator_CXX \
73198 fix_srcfile_path_CXX \
73199 exclude_expsyms_CXX \
73200 include_expsyms_CXX \
73201 file_list_spec_CXX \
73202 compiler_lib_search_dirs_CXX \
73203 predep_objects_CXX \
73204 postdep_objects_CXX \
73205 predeps_CXX \
73206 postdeps_CXX \
73207 compiler_lib_search_path_CXX; do
73208 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73209 *[\\\\\\\`\\"\\\$]*)
73210 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73213 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73215 esac
73216 done
73218 # Double-quote double-evaled strings.
73219 for var in reload_cmds \
73220 old_postinstall_cmds \
73221 old_postuninstall_cmds \
73222 old_archive_cmds \
73223 extract_expsyms_cmds \
73224 old_archive_from_new_cmds \
73225 old_archive_from_expsyms_cmds \
73226 archive_cmds \
73227 archive_expsym_cmds \
73228 module_cmds \
73229 module_expsym_cmds \
73230 export_symbols_cmds \
73231 prelink_cmds \
73232 postinstall_cmds \
73233 postuninstall_cmds \
73234 finish_cmds \
73235 sys_lib_search_path_spec \
73236 sys_lib_dlsearch_path_spec \
73237 reload_cmds_CXX \
73238 old_archive_cmds_CXX \
73239 old_archive_from_new_cmds_CXX \
73240 old_archive_from_expsyms_cmds_CXX \
73241 archive_cmds_CXX \
73242 archive_expsym_cmds_CXX \
73243 module_cmds_CXX \
73244 module_expsym_cmds_CXX \
73245 export_symbols_cmds_CXX \
73246 prelink_cmds_CXX; do
73247 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73248 *[\\\\\\\`\\"\\\$]*)
73249 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73252 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73254 esac
73255 done
73257 ac_aux_dir='$ac_aux_dir'
73258 xsi_shell='$xsi_shell'
73259 lt_shell_append='$lt_shell_append'
73261 # See if we are running on zsh, and set the options which allow our
73262 # commands through without removal of \ escapes INIT.
73263 if test -n "\${ZSH_VERSION+set}" ; then
73264 setopt NO_GLOB_SUBST
73268 PACKAGE='$PACKAGE'
73269 VERSION='$VERSION'
73270 TIMESTAMP='$TIMESTAMP'
73271 RM='$RM'
73272 ofile='$ofile'
73279 GCC="$GCC"
73280 CC="$CC"
73281 acx_cv_header_stdint="$acx_cv_header_stdint"
73282 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73283 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73284 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73285 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73286 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73287 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73288 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73289 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73290 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73291 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73292 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73293 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73294 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73297 _ACEOF
73299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73301 # Handling of arguments.
73302 for ac_config_target in $ac_config_targets
73304 case $ac_config_target in
73305 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73306 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73307 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73308 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73309 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73310 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73311 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73312 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73313 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73314 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73315 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73316 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73317 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73318 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73319 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73320 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73321 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73322 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73324 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73325 esac
73326 done
73329 # If the user did not use the arguments to specify the items to instantiate,
73330 # then the envvar interface is used. Set only those that are not.
73331 # We use the long form for the default assignment because of an extremely
73332 # bizarre bug on SunOS 4.1.3.
73333 if $ac_need_defaults; then
73334 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73335 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73336 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73339 # Have a temporary directory for convenience. Make it in the build tree
73340 # simply because there is no reason against having it here, and in addition,
73341 # creating and moving files from /tmp can sometimes cause problems.
73342 # Hook for its removal unless debugging.
73343 # Note that there is a small window in which the directory will not be cleaned:
73344 # after its creation but before its name has been assigned to `$tmp'.
73345 $debug ||
73347 tmp=
73348 trap 'exit_status=$?
73349 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73351 trap 'as_fn_exit 1' 1 2 13 15
73353 # Create a (secure) tmp directory for tmp files.
73356 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73357 test -n "$tmp" && test -d "$tmp"
73358 } ||
73360 tmp=./conf$$-$RANDOM
73361 (umask 077 && mkdir "$tmp")
73362 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73364 # Set up the scripts for CONFIG_FILES section.
73365 # No need to generate them if there are no CONFIG_FILES.
73366 # This happens for instance with `./config.status config.h'.
73367 if test -n "$CONFIG_FILES"; then
73370 ac_cr=`echo X | tr X '\015'`
73371 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73372 # But we know of no other shell where ac_cr would be empty at this
73373 # point, so we can use a bashism as a fallback.
73374 if test "x$ac_cr" = x; then
73375 eval ac_cr=\$\'\\r\'
73377 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73378 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73379 ac_cs_awk_cr='\r'
73380 else
73381 ac_cs_awk_cr=$ac_cr
73384 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73385 _ACEOF
73389 echo "cat >conf$$subs.awk <<_ACEOF" &&
73390 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73391 echo "_ACEOF"
73392 } >conf$$subs.sh ||
73393 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73394 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73395 ac_delim='%!_!# '
73396 for ac_last_try in false false false false false :; do
73397 . ./conf$$subs.sh ||
73398 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73400 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73401 if test $ac_delim_n = $ac_delim_num; then
73402 break
73403 elif $ac_last_try; then
73404 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73405 else
73406 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73408 done
73409 rm -f conf$$subs.sh
73411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73412 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73413 _ACEOF
73414 sed -n '
73416 s/^/S["/; s/!.*/"]=/
73419 s/^[^!]*!//
73420 :repl
73421 t repl
73422 s/'"$ac_delim"'$//
73423 t delim
73426 s/\(.\{148\}\).*/\1/
73427 t more1
73428 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73431 b repl
73432 :more1
73433 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73436 s/.\{148\}//
73437 t nl
73438 :delim
73440 s/\(.\{148\}\).*/\1/
73441 t more2
73442 s/["\\]/\\&/g; s/^/"/; s/$/"/
73445 :more2
73446 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73449 s/.\{148\}//
73450 t delim
73451 ' <conf$$subs.awk | sed '
73452 /^[^""]/{
73454 s/\n//
73456 ' >>$CONFIG_STATUS || ac_write_fail=1
73457 rm -f conf$$subs.awk
73458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73459 _ACAWK
73460 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73461 for (key in S) S_is_set[key] = 1
73462 FS = "\a"
73466 line = $ 0
73467 nfields = split(line, field, "@")
73468 substed = 0
73469 len = length(field[1])
73470 for (i = 2; i < nfields; i++) {
73471 key = field[i]
73472 keylen = length(key)
73473 if (S_is_set[key]) {
73474 value = S[key]
73475 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73476 len += length(value) + length(field[++i])
73477 substed = 1
73478 } else
73479 len += 1 + keylen
73482 print line
73485 _ACAWK
73486 _ACEOF
73487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73488 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73489 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73490 else
73492 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73493 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73494 _ACEOF
73496 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73497 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73498 # trailing colons and then remove the whole line if VPATH becomes empty
73499 # (actually we leave an empty line to preserve line numbers).
73500 if test "x$srcdir" = x.; then
73501 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73502 s/:*\$(srcdir):*/:/
73503 s/:*\${srcdir}:*/:/
73504 s/:*@srcdir@:*/:/
73505 s/^\([^=]*=[ ]*\):*/\1/
73506 s/:*$//
73507 s/^[^=]*=[ ]*$//
73511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73512 fi # test -n "$CONFIG_FILES"
73514 # Set up the scripts for CONFIG_HEADERS section.
73515 # No need to generate them if there are no CONFIG_HEADERS.
73516 # This happens for instance with `./config.status Makefile'.
73517 if test -n "$CONFIG_HEADERS"; then
73518 cat >"$tmp/defines.awk" <<\_ACAWK ||
73519 BEGIN {
73520 _ACEOF
73522 # Transform confdefs.h into an awk script `defines.awk', embedded as
73523 # here-document in config.status, that substitutes the proper values into
73524 # config.h.in to produce config.h.
73526 # Create a delimiter string that does not exist in confdefs.h, to ease
73527 # handling of long lines.
73528 ac_delim='%!_!# '
73529 for ac_last_try in false false :; do
73530 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73531 if test -z "$ac_t"; then
73532 break
73533 elif $ac_last_try; then
73534 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73535 else
73536 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73538 done
73540 # For the awk script, D is an array of macro values keyed by name,
73541 # likewise P contains macro parameters if any. Preserve backslash
73542 # newline sequences.
73544 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73545 sed -n '
73546 s/.\{148\}/&'"$ac_delim"'/g
73547 t rset
73548 :rset
73549 s/^[ ]*#[ ]*define[ ][ ]*/ /
73550 t def
73552 :def
73553 s/\\$//
73554 t bsnl
73555 s/["\\]/\\&/g
73556 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73557 D["\1"]=" \3"/p
73558 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73560 :bsnl
73561 s/["\\]/\\&/g
73562 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73563 D["\1"]=" \3\\\\\\n"\\/p
73564 t cont
73565 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73566 t cont
73568 :cont
73570 s/.\{148\}/&'"$ac_delim"'/g
73571 t clear
73572 :clear
73573 s/\\$//
73574 t bsnlc
73575 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73577 :bsnlc
73578 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73579 b cont
73580 ' <confdefs.h | sed '
73581 s/'"$ac_delim"'/"\\\
73582 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73585 for (key in D) D_is_set[key] = 1
73586 FS = "\a"
73588 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73589 line = \$ 0
73590 split(line, arg, " ")
73591 if (arg[1] == "#") {
73592 defundef = arg[2]
73593 mac1 = arg[3]
73594 } else {
73595 defundef = substr(arg[1], 2)
73596 mac1 = arg[2]
73598 split(mac1, mac2, "(") #)
73599 macro = mac2[1]
73600 prefix = substr(line, 1, index(line, defundef) - 1)
73601 if (D_is_set[macro]) {
73602 # Preserve the white space surrounding the "#".
73603 print prefix "define", macro P[macro] D[macro]
73604 next
73605 } else {
73606 # Replace #undef with comments. This is necessary, for example,
73607 # in the case of _POSIX_SOURCE, which is predefined and required
73608 # on some systems where configure will not decide to define it.
73609 if (defundef == "undef") {
73610 print "/*", prefix defundef, macro, "*/"
73611 next
73615 { print }
73616 _ACAWK
73617 _ACEOF
73618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73619 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73620 fi # test -n "$CONFIG_HEADERS"
73623 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73624 shift
73625 for ac_tag
73627 case $ac_tag in
73628 :[FHLC]) ac_mode=$ac_tag; continue;;
73629 esac
73630 case $ac_mode$ac_tag in
73631 :[FHL]*:*);;
73632 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73633 :[FH]-) ac_tag=-:-;;
73634 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73635 esac
73636 ac_save_IFS=$IFS
73637 IFS=:
73638 set x $ac_tag
73639 IFS=$ac_save_IFS
73640 shift
73641 ac_file=$1
73642 shift
73644 case $ac_mode in
73645 :L) ac_source=$1;;
73646 :[FH])
73647 ac_file_inputs=
73648 for ac_f
73650 case $ac_f in
73651 -) ac_f="$tmp/stdin";;
73652 *) # Look for the file first in the build tree, then in the source tree
73653 # (if the path is not absolute). The absolute path cannot be DOS-style,
73654 # because $ac_f cannot contain `:'.
73655 test -f "$ac_f" ||
73656 case $ac_f in
73657 [\\/$]*) false;;
73658 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73659 esac ||
73660 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73661 esac
73662 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73663 as_fn_append ac_file_inputs " '$ac_f'"
73664 done
73666 # Let's still pretend it is `configure' which instantiates (i.e., don't
73667 # use $as_me), people would be surprised to read:
73668 # /* config.h. Generated by config.status. */
73669 configure_input='Generated from '`
73670 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73671 `' by configure.'
73672 if test x"$ac_file" != x-; then
73673 configure_input="$ac_file. $configure_input"
73674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73675 $as_echo "$as_me: creating $ac_file" >&6;}
73677 # Neutralize special characters interpreted by sed in replacement strings.
73678 case $configure_input in #(
73679 *\&* | *\|* | *\\* )
73680 ac_sed_conf_input=`$as_echo "$configure_input" |
73681 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73682 *) ac_sed_conf_input=$configure_input;;
73683 esac
73685 case $ac_tag in
73686 *:-:* | *:-) cat >"$tmp/stdin" \
73687 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73688 esac
73690 esac
73692 ac_dir=`$as_dirname -- "$ac_file" ||
73693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73694 X"$ac_file" : 'X\(//\)[^/]' \| \
73695 X"$ac_file" : 'X\(//\)$' \| \
73696 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73697 $as_echo X"$ac_file" |
73698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73699 s//\1/
73702 /^X\(\/\/\)[^/].*/{
73703 s//\1/
73706 /^X\(\/\/\)$/{
73707 s//\1/
73710 /^X\(\/\).*/{
73711 s//\1/
73714 s/.*/./; q'`
73715 as_dir="$ac_dir"; as_fn_mkdir_p
73716 ac_builddir=.
73718 case "$ac_dir" in
73719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73722 # A ".." for each directory in $ac_dir_suffix.
73723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73724 case $ac_top_builddir_sub in
73725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73727 esac ;;
73728 esac
73729 ac_abs_top_builddir=$ac_pwd
73730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73731 # for backward compatibility:
73732 ac_top_builddir=$ac_top_build_prefix
73734 case $srcdir in
73735 .) # We are building in place.
73736 ac_srcdir=.
73737 ac_top_srcdir=$ac_top_builddir_sub
73738 ac_abs_top_srcdir=$ac_pwd ;;
73739 [\\/]* | ?:[\\/]* ) # Absolute name.
73740 ac_srcdir=$srcdir$ac_dir_suffix;
73741 ac_top_srcdir=$srcdir
73742 ac_abs_top_srcdir=$srcdir ;;
73743 *) # Relative name.
73744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73745 ac_top_srcdir=$ac_top_build_prefix$srcdir
73746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73747 esac
73748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73751 case $ac_mode in
73754 # CONFIG_FILE
73757 case $INSTALL in
73758 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73759 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73760 esac
73761 ac_MKDIR_P=$MKDIR_P
73762 case $MKDIR_P in
73763 [\\/$]* | ?:[\\/]* ) ;;
73764 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73765 esac
73766 _ACEOF
73768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73769 # If the template does not know about datarootdir, expand it.
73770 # FIXME: This hack should be removed a few years after 2.60.
73771 ac_datarootdir_hack=; ac_datarootdir_seen=
73772 ac_sed_dataroot='
73773 /datarootdir/ {
73777 /@datadir@/p
73778 /@docdir@/p
73779 /@infodir@/p
73780 /@localedir@/p
73781 /@mandir@/p'
73782 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73783 *datarootdir*) ac_datarootdir_seen=yes;;
73784 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73786 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73787 _ACEOF
73788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73789 ac_datarootdir_hack='
73790 s&@datadir@&$datadir&g
73791 s&@docdir@&$docdir&g
73792 s&@infodir@&$infodir&g
73793 s&@localedir@&$localedir&g
73794 s&@mandir@&$mandir&g
73795 s&\\\${datarootdir}&$datarootdir&g' ;;
73796 esac
73797 _ACEOF
73799 # Neutralize VPATH when `$srcdir' = `.'.
73800 # Shell code in configure.ac might set extrasub.
73801 # FIXME: do we really want to maintain this feature?
73802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73803 ac_sed_extra="$ac_vpsub
73804 $extrasub
73805 _ACEOF
73806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73809 s|@configure_input@|$ac_sed_conf_input|;t t
73810 s&@top_builddir@&$ac_top_builddir_sub&;t t
73811 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73812 s&@srcdir@&$ac_srcdir&;t t
73813 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73814 s&@top_srcdir@&$ac_top_srcdir&;t t
73815 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73816 s&@builddir@&$ac_builddir&;t t
73817 s&@abs_builddir@&$ac_abs_builddir&;t t
73818 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73819 s&@INSTALL@&$ac_INSTALL&;t t
73820 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73821 $ac_datarootdir_hack
73823 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73824 || as_fn_error "could not create $ac_file" "$LINENO" 5
73826 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73827 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73828 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73830 which seems to be undefined. Please make sure it is defined." >&5
73831 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73832 which seems to be undefined. Please make sure it is defined." >&2;}
73834 rm -f "$tmp/stdin"
73835 case $ac_file in
73836 -) cat "$tmp/out" && rm -f "$tmp/out";;
73837 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73838 esac \
73839 || as_fn_error "could not create $ac_file" "$LINENO" 5
73843 # CONFIG_HEADER
73845 if test x"$ac_file" != x-; then
73847 $as_echo "/* $configure_input */" \
73848 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73849 } >"$tmp/config.h" \
73850 || as_fn_error "could not create $ac_file" "$LINENO" 5
73851 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73852 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73853 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73854 else
73855 rm -f "$ac_file"
73856 mv "$tmp/config.h" "$ac_file" \
73857 || as_fn_error "could not create $ac_file" "$LINENO" 5
73859 else
73860 $as_echo "/* $configure_input */" \
73861 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73862 || as_fn_error "could not create -" "$LINENO" 5
73864 # Compute "$ac_file"'s index in $config_headers.
73865 _am_arg="$ac_file"
73866 _am_stamp_count=1
73867 for _am_header in $config_headers :; do
73868 case $_am_header in
73869 $_am_arg | $_am_arg:* )
73870 break ;;
73872 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73873 esac
73874 done
73875 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73876 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73877 X"$_am_arg" : 'X\(//\)[^/]' \| \
73878 X"$_am_arg" : 'X\(//\)$' \| \
73879 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73880 $as_echo X"$_am_arg" |
73881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73882 s//\1/
73885 /^X\(\/\/\)[^/].*/{
73886 s//\1/
73889 /^X\(\/\/\)$/{
73890 s//\1/
73893 /^X\(\/\).*/{
73894 s//\1/
73897 s/.*/./; q'`/stamp-h$_am_stamp_count
73900 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73901 $as_echo "$as_me: executing $ac_file commands" >&6;}
73903 esac
73906 case $ac_file$ac_mode in
73907 "default-1":C)
73908 # Only add multilib support code if we just rebuilt the top-level
73909 # Makefile.
73910 case " $CONFIG_FILES " in
73911 *" Makefile "*)
73912 ac_file=Makefile . ${multi_basedir}/config-ml.in
73914 esac ;;
73915 "libtool":C)
73917 # See if we are running on zsh, and set the options which allow our
73918 # commands through without removal of \ escapes.
73919 if test -n "${ZSH_VERSION+set}" ; then
73920 setopt NO_GLOB_SUBST
73923 cfgfile="${ofile}T"
73924 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73925 $RM "$cfgfile"
73927 cat <<_LT_EOF >> "$cfgfile"
73928 #! $SHELL
73930 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73931 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73932 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73933 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73935 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73936 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73937 # Written by Gordon Matzigkeit, 1996
73939 # This file is part of GNU Libtool.
73941 # GNU Libtool is free software; you can redistribute it and/or
73942 # modify it under the terms of the GNU General Public License as
73943 # published by the Free Software Foundation; either version 2 of
73944 # the License, or (at your option) any later version.
73946 # As a special exception to the GNU General Public License,
73947 # if you distribute this file as part of a program or library that
73948 # is built using GNU Libtool, you may include this file under the
73949 # same distribution terms that you use for the rest of that program.
73951 # GNU Libtool is distributed in the hope that it will be useful,
73952 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73953 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73954 # GNU General Public License for more details.
73956 # You should have received a copy of the GNU General Public License
73957 # along with GNU Libtool; see the file COPYING. If not, a copy
73958 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73959 # obtained by writing to the Free Software Foundation, Inc.,
73960 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73963 # The names of the tagged configurations supported by this script.
73964 available_tags="CXX "
73966 # ### BEGIN LIBTOOL CONFIG
73968 # Which release of libtool.m4 was used?
73969 macro_version=$macro_version
73970 macro_revision=$macro_revision
73972 # Whether or not to build shared libraries.
73973 build_libtool_libs=$enable_shared
73975 # Whether or not to build static libraries.
73976 build_old_libs=$enable_static
73978 # What type of objects to build.
73979 pic_mode=$pic_mode
73981 # Whether or not to optimize for fast installation.
73982 fast_install=$enable_fast_install
73984 # Shell to use when invoking shell scripts.
73985 SHELL=$lt_SHELL
73987 # An echo program that protects backslashes.
73988 ECHO=$lt_ECHO
73990 # The host system.
73991 host_alias=$host_alias
73992 host=$host
73993 host_os=$host_os
73995 # The build system.
73996 build_alias=$build_alias
73997 build=$build
73998 build_os=$build_os
74000 # A sed program that does not truncate output.
74001 SED=$lt_SED
74003 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
74004 Xsed="\$SED -e 1s/^X//"
74006 # A grep program that handles long lines.
74007 GREP=$lt_GREP
74009 # An ERE matcher.
74010 EGREP=$lt_EGREP
74012 # A literal string matcher.
74013 FGREP=$lt_FGREP
74015 # A BSD- or MS-compatible name lister.
74016 NM=$lt_NM
74018 # Whether we need soft or hard links.
74019 LN_S=$lt_LN_S
74021 # What is the maximum length of a command?
74022 max_cmd_len=$max_cmd_len
74024 # Object file suffix (normally "o").
74025 objext=$ac_objext
74027 # Executable file suffix (normally "").
74028 exeext=$exeext
74030 # whether the shell understands "unset".
74031 lt_unset=$lt_unset
74033 # turn spaces into newlines.
74034 SP2NL=$lt_lt_SP2NL
74036 # turn newlines into spaces.
74037 NL2SP=$lt_lt_NL2SP
74039 # An object symbol dumper.
74040 OBJDUMP=$lt_OBJDUMP
74042 # Method to check whether dependent libraries are shared objects.
74043 deplibs_check_method=$lt_deplibs_check_method
74045 # Command to use when deplibs_check_method == "file_magic".
74046 file_magic_cmd=$lt_file_magic_cmd
74048 # The archiver.
74049 AR=$lt_AR
74050 AR_FLAGS=$lt_AR_FLAGS
74052 # A symbol stripping program.
74053 STRIP=$lt_STRIP
74055 # Commands used to install an old-style archive.
74056 RANLIB=$lt_RANLIB
74057 old_postinstall_cmds=$lt_old_postinstall_cmds
74058 old_postuninstall_cmds=$lt_old_postuninstall_cmds
74060 # Whether to use a lock for old archive extraction.
74061 lock_old_archive_extraction=$lock_old_archive_extraction
74063 # A C compiler.
74064 LTCC=$lt_CC
74066 # LTCC compiler flags.
74067 LTCFLAGS=$lt_CFLAGS
74069 # Take the output of nm and produce a listing of raw symbols and C names.
74070 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
74072 # Transform the output of nm in a proper C declaration.
74073 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74075 # Transform the output of nm in a C name address pair.
74076 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74078 # Transform the output of nm in a C name address pair when lib prefix is needed.
74079 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74081 # The name of the directory that contains temporary libtool files.
74082 objdir=$objdir
74084 # Used to examine libraries when file_magic_cmd begins with "file".
74085 MAGIC_CMD=$MAGIC_CMD
74087 # Must we lock files when doing compilation?
74088 need_locks=$lt_need_locks
74090 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74091 DSYMUTIL=$lt_DSYMUTIL
74093 # Tool to change global to local symbols on Mac OS X.
74094 NMEDIT=$lt_NMEDIT
74096 # Tool to manipulate fat objects and archives on Mac OS X.
74097 LIPO=$lt_LIPO
74099 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74100 OTOOL=$lt_OTOOL
74102 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74103 OTOOL64=$lt_OTOOL64
74105 # Old archive suffix (normally "a").
74106 libext=$libext
74108 # Shared library suffix (normally ".so").
74109 shrext_cmds=$lt_shrext_cmds
74111 # The commands to extract the exported symbol list from a shared archive.
74112 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74114 # Variables whose values should be saved in libtool wrapper scripts and
74115 # restored at link time.
74116 variables_saved_for_relink=$lt_variables_saved_for_relink
74118 # Do we need the "lib" prefix for modules?
74119 need_lib_prefix=$need_lib_prefix
74121 # Do we need a version for libraries?
74122 need_version=$need_version
74124 # Library versioning type.
74125 version_type=$version_type
74127 # Shared library runtime path variable.
74128 runpath_var=$runpath_var
74130 # Shared library path variable.
74131 shlibpath_var=$shlibpath_var
74133 # Is shlibpath searched before the hard-coded library search path?
74134 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74136 # Format of library name prefix.
74137 libname_spec=$lt_libname_spec
74139 # List of archive names. First name is the real one, the rest are links.
74140 # The last name is the one that the linker finds with -lNAME
74141 library_names_spec=$lt_library_names_spec
74143 # The coded name of the library, if different from the real name.
74144 soname_spec=$lt_soname_spec
74146 # Permission mode override for installation of shared libraries.
74147 install_override_mode=$lt_install_override_mode
74149 # Command to use after installation of a shared archive.
74150 postinstall_cmds=$lt_postinstall_cmds
74152 # Command to use after uninstallation of a shared archive.
74153 postuninstall_cmds=$lt_postuninstall_cmds
74155 # Commands used to finish a libtool library installation in a directory.
74156 finish_cmds=$lt_finish_cmds
74158 # As "finish_cmds", except a single script fragment to be evaled but
74159 # not shown.
74160 finish_eval=$lt_finish_eval
74162 # Whether we should hardcode library paths into libraries.
74163 hardcode_into_libs=$hardcode_into_libs
74165 # Compile-time system search path for libraries.
74166 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74168 # Run-time system search path for libraries.
74169 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74171 # Whether dlopen is supported.
74172 dlopen_support=$enable_dlopen
74174 # Whether dlopen of programs is supported.
74175 dlopen_self=$enable_dlopen_self
74177 # Whether dlopen of statically linked programs is supported.
74178 dlopen_self_static=$enable_dlopen_self_static
74180 # Commands to strip libraries.
74181 old_striplib=$lt_old_striplib
74182 striplib=$lt_striplib
74185 # The linker used to build libraries.
74186 LD=$lt_LD
74188 # How to create reloadable object files.
74189 reload_flag=$lt_reload_flag
74190 reload_cmds=$lt_reload_cmds
74192 # Commands used to build an old-style archive.
74193 old_archive_cmds=$lt_old_archive_cmds
74195 # A language specific compiler.
74196 CC=$lt_compiler
74198 # Is the compiler the GNU compiler?
74199 with_gcc=$GCC
74201 # Compiler flag to turn off builtin functions.
74202 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74204 # How to pass a linker flag through the compiler.
74205 wl=$lt_lt_prog_compiler_wl
74207 # Additional compiler flags for building library objects.
74208 pic_flag=$lt_lt_prog_compiler_pic
74210 # Compiler flag to prevent dynamic linking.
74211 link_static_flag=$lt_lt_prog_compiler_static
74213 # Does compiler simultaneously support -c and -o options?
74214 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74216 # Whether or not to add -lc for building shared libraries.
74217 build_libtool_need_lc=$archive_cmds_need_lc
74219 # Whether or not to disallow shared libs when runtime libs are static.
74220 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74222 # Compiler flag to allow reflexive dlopens.
74223 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74225 # Compiler flag to generate shared objects directly from archives.
74226 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74228 # Whether the compiler copes with passing no objects directly.
74229 compiler_needs_object=$lt_compiler_needs_object
74231 # Create an old-style archive from a shared archive.
74232 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74234 # Create a temporary old-style archive to link instead of a shared archive.
74235 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74237 # Commands used to build a shared archive.
74238 archive_cmds=$lt_archive_cmds
74239 archive_expsym_cmds=$lt_archive_expsym_cmds
74241 # Commands used to build a loadable module if different from building
74242 # a shared archive.
74243 module_cmds=$lt_module_cmds
74244 module_expsym_cmds=$lt_module_expsym_cmds
74246 # Whether we are building with GNU ld or not.
74247 with_gnu_ld=$lt_with_gnu_ld
74249 # Flag that allows shared libraries with undefined symbols to be built.
74250 allow_undefined_flag=$lt_allow_undefined_flag
74252 # Flag that enforces no undefined symbols.
74253 no_undefined_flag=$lt_no_undefined_flag
74255 # Flag to hardcode \$libdir into a binary during linking.
74256 # This must work even if \$libdir does not exist
74257 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74259 # If ld is used when linking, flag to hardcode \$libdir into a binary
74260 # during linking. This must work even if \$libdir does not exist.
74261 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74263 # Whether we need a single "-rpath" flag with a separated argument.
74264 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74266 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74267 # DIR into the resulting binary.
74268 hardcode_direct=$hardcode_direct
74270 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74271 # DIR into the resulting binary and the resulting library dependency is
74272 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74273 # library is relocated.
74274 hardcode_direct_absolute=$hardcode_direct_absolute
74276 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74277 # into the resulting binary.
74278 hardcode_minus_L=$hardcode_minus_L
74280 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74281 # into the resulting binary.
74282 hardcode_shlibpath_var=$hardcode_shlibpath_var
74284 # Set to "yes" if building a shared library automatically hardcodes DIR
74285 # into the library and all subsequent libraries and executables linked
74286 # against it.
74287 hardcode_automatic=$hardcode_automatic
74289 # Set to yes if linker adds runtime paths of dependent libraries
74290 # to runtime path list.
74291 inherit_rpath=$inherit_rpath
74293 # Whether libtool must link a program against all its dependency libraries.
74294 link_all_deplibs=$link_all_deplibs
74296 # Fix the shell variable \$srcfile for the compiler.
74297 fix_srcfile_path=$lt_fix_srcfile_path
74299 # Set to "yes" if exported symbols are required.
74300 always_export_symbols=$always_export_symbols
74302 # The commands to list exported symbols.
74303 export_symbols_cmds=$lt_export_symbols_cmds
74305 # Symbols that should not be listed in the preloaded symbols.
74306 exclude_expsyms=$lt_exclude_expsyms
74308 # Symbols that must always be exported.
74309 include_expsyms=$lt_include_expsyms
74311 # Commands necessary for linking programs (against libraries) with templates.
74312 prelink_cmds=$lt_prelink_cmds
74314 # Specify filename containing input files.
74315 file_list_spec=$lt_file_list_spec
74317 # How to hardcode a shared library path into an executable.
74318 hardcode_action=$hardcode_action
74320 # The directories searched by this compiler when creating a shared library.
74321 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74323 # Dependencies to place before and after the objects being linked to
74324 # create a shared library.
74325 predep_objects=$lt_predep_objects
74326 postdep_objects=$lt_postdep_objects
74327 predeps=$lt_predeps
74328 postdeps=$lt_postdeps
74330 # The library search path used internally by the compiler when linking
74331 # a shared library.
74332 compiler_lib_search_path=$lt_compiler_lib_search_path
74334 # ### END LIBTOOL CONFIG
74336 _LT_EOF
74338 case $host_os in
74339 aix3*)
74340 cat <<\_LT_EOF >> "$cfgfile"
74341 # AIX sometimes has problems with the GCC collect2 program. For some
74342 # reason, if we set the COLLECT_NAMES environment variable, the problems
74343 # vanish in a puff of smoke.
74344 if test "X${COLLECT_NAMES+set}" != Xset; then
74345 COLLECT_NAMES=
74346 export COLLECT_NAMES
74348 _LT_EOF
74350 esac
74353 ltmain="$ac_aux_dir/ltmain.sh"
74356 # We use sed instead of cat because bash on DJGPP gets confused if
74357 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74358 # text mode, it properly converts lines to CR/LF. This bash problem
74359 # is reportedly fixed, but why not run on old versions too?
74360 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74361 || (rm -f "$cfgfile"; exit 1)
74363 case $xsi_shell in
74364 yes)
74365 cat << \_LT_EOF >> "$cfgfile"
74367 # func_dirname file append nondir_replacement
74368 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74369 # otherwise set result to NONDIR_REPLACEMENT.
74370 func_dirname ()
74372 case ${1} in
74373 */*) func_dirname_result="${1%/*}${2}" ;;
74374 * ) func_dirname_result="${3}" ;;
74375 esac
74378 # func_basename file
74379 func_basename ()
74381 func_basename_result="${1##*/}"
74384 # func_dirname_and_basename file append nondir_replacement
74385 # perform func_basename and func_dirname in a single function
74386 # call:
74387 # dirname: Compute the dirname of FILE. If nonempty,
74388 # add APPEND to the result, otherwise set result
74389 # to NONDIR_REPLACEMENT.
74390 # value returned in "$func_dirname_result"
74391 # basename: Compute filename of FILE.
74392 # value retuned in "$func_basename_result"
74393 # Implementation must be kept synchronized with func_dirname
74394 # and func_basename. For efficiency, we do not delegate to
74395 # those functions but instead duplicate the functionality here.
74396 func_dirname_and_basename ()
74398 case ${1} in
74399 */*) func_dirname_result="${1%/*}${2}" ;;
74400 * ) func_dirname_result="${3}" ;;
74401 esac
74402 func_basename_result="${1##*/}"
74405 # func_stripname prefix suffix name
74406 # strip PREFIX and SUFFIX off of NAME.
74407 # PREFIX and SUFFIX must not contain globbing or regex special
74408 # characters, hashes, percent signs, but SUFFIX may contain a leading
74409 # dot (in which case that matches only a dot).
74410 func_stripname ()
74412 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74413 # positional parameters, so assign one to ordinary parameter first.
74414 func_stripname_result=${3}
74415 func_stripname_result=${func_stripname_result#"${1}"}
74416 func_stripname_result=${func_stripname_result%"${2}"}
74419 # func_opt_split
74420 func_opt_split ()
74422 func_opt_split_opt=${1%%=*}
74423 func_opt_split_arg=${1#*=}
74426 # func_lo2o object
74427 func_lo2o ()
74429 case ${1} in
74430 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74431 *) func_lo2o_result=${1} ;;
74432 esac
74435 # func_xform libobj-or-source
74436 func_xform ()
74438 func_xform_result=${1%.*}.lo
74441 # func_arith arithmetic-term...
74442 func_arith ()
74444 func_arith_result=$(( $* ))
74447 # func_len string
74448 # STRING may not start with a hyphen.
74449 func_len ()
74451 func_len_result=${#1}
74454 _LT_EOF
74456 *) # Bourne compatible functions.
74457 cat << \_LT_EOF >> "$cfgfile"
74459 # func_dirname file append nondir_replacement
74460 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74461 # otherwise set result to NONDIR_REPLACEMENT.
74462 func_dirname ()
74464 # Extract subdirectory from the argument.
74465 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74466 if test "X$func_dirname_result" = "X${1}"; then
74467 func_dirname_result="${3}"
74468 else
74469 func_dirname_result="$func_dirname_result${2}"
74473 # func_basename file
74474 func_basename ()
74476 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74480 # func_stripname prefix suffix name
74481 # strip PREFIX and SUFFIX off of NAME.
74482 # PREFIX and SUFFIX must not contain globbing or regex special
74483 # characters, hashes, percent signs, but SUFFIX may contain a leading
74484 # dot (in which case that matches only a dot).
74485 # func_strip_suffix prefix name
74486 func_stripname ()
74488 case ${2} in
74489 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74490 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74491 esac
74494 # sed scripts:
74495 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74496 my_sed_long_arg='1s/^-[^=]*=//'
74498 # func_opt_split
74499 func_opt_split ()
74501 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74502 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74505 # func_lo2o object
74506 func_lo2o ()
74508 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74511 # func_xform libobj-or-source
74512 func_xform ()
74514 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74517 # func_arith arithmetic-term...
74518 func_arith ()
74520 func_arith_result=`expr "$@"`
74523 # func_len string
74524 # STRING may not start with a hyphen.
74525 func_len ()
74527 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74530 _LT_EOF
74531 esac
74533 case $lt_shell_append in
74534 yes)
74535 cat << \_LT_EOF >> "$cfgfile"
74537 # func_append var value
74538 # Append VALUE to the end of shell variable VAR.
74539 func_append ()
74541 eval "$1+=\$2"
74543 _LT_EOF
74546 cat << \_LT_EOF >> "$cfgfile"
74548 # func_append var value
74549 # Append VALUE to the end of shell variable VAR.
74550 func_append ()
74552 eval "$1=\$$1\$2"
74555 _LT_EOF
74557 esac
74560 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74561 || (rm -f "$cfgfile"; exit 1)
74563 mv -f "$cfgfile" "$ofile" ||
74564 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74565 chmod +x "$ofile"
74568 cat <<_LT_EOF >> "$ofile"
74570 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74572 # The linker used to build libraries.
74573 LD=$lt_LD_CXX
74575 # How to create reloadable object files.
74576 reload_flag=$lt_reload_flag_CXX
74577 reload_cmds=$lt_reload_cmds_CXX
74579 # Commands used to build an old-style archive.
74580 old_archive_cmds=$lt_old_archive_cmds_CXX
74582 # A language specific compiler.
74583 CC=$lt_compiler_CXX
74585 # Is the compiler the GNU compiler?
74586 with_gcc=$GCC_CXX
74588 # Compiler flag to turn off builtin functions.
74589 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74591 # How to pass a linker flag through the compiler.
74592 wl=$lt_lt_prog_compiler_wl_CXX
74594 # Additional compiler flags for building library objects.
74595 pic_flag=$lt_lt_prog_compiler_pic_CXX
74597 # Compiler flag to prevent dynamic linking.
74598 link_static_flag=$lt_lt_prog_compiler_static_CXX
74600 # Does compiler simultaneously support -c and -o options?
74601 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74603 # Whether or not to add -lc for building shared libraries.
74604 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74606 # Whether or not to disallow shared libs when runtime libs are static.
74607 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74609 # Compiler flag to allow reflexive dlopens.
74610 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74612 # Compiler flag to generate shared objects directly from archives.
74613 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74615 # Whether the compiler copes with passing no objects directly.
74616 compiler_needs_object=$lt_compiler_needs_object_CXX
74618 # Create an old-style archive from a shared archive.
74619 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74621 # Create a temporary old-style archive to link instead of a shared archive.
74622 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74624 # Commands used to build a shared archive.
74625 archive_cmds=$lt_archive_cmds_CXX
74626 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74628 # Commands used to build a loadable module if different from building
74629 # a shared archive.
74630 module_cmds=$lt_module_cmds_CXX
74631 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74633 # Whether we are building with GNU ld or not.
74634 with_gnu_ld=$lt_with_gnu_ld_CXX
74636 # Flag that allows shared libraries with undefined symbols to be built.
74637 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74639 # Flag that enforces no undefined symbols.
74640 no_undefined_flag=$lt_no_undefined_flag_CXX
74642 # Flag to hardcode \$libdir into a binary during linking.
74643 # This must work even if \$libdir does not exist
74644 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74646 # If ld is used when linking, flag to hardcode \$libdir into a binary
74647 # during linking. This must work even if \$libdir does not exist.
74648 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74650 # Whether we need a single "-rpath" flag with a separated argument.
74651 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74653 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74654 # DIR into the resulting binary.
74655 hardcode_direct=$hardcode_direct_CXX
74657 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74658 # DIR into the resulting binary and the resulting library dependency is
74659 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74660 # library is relocated.
74661 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74663 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74664 # into the resulting binary.
74665 hardcode_minus_L=$hardcode_minus_L_CXX
74667 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74668 # into the resulting binary.
74669 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74671 # Set to "yes" if building a shared library automatically hardcodes DIR
74672 # into the library and all subsequent libraries and executables linked
74673 # against it.
74674 hardcode_automatic=$hardcode_automatic_CXX
74676 # Set to yes if linker adds runtime paths of dependent libraries
74677 # to runtime path list.
74678 inherit_rpath=$inherit_rpath_CXX
74680 # Whether libtool must link a program against all its dependency libraries.
74681 link_all_deplibs=$link_all_deplibs_CXX
74683 # Fix the shell variable \$srcfile for the compiler.
74684 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74686 # Set to "yes" if exported symbols are required.
74687 always_export_symbols=$always_export_symbols_CXX
74689 # The commands to list exported symbols.
74690 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74692 # Symbols that should not be listed in the preloaded symbols.
74693 exclude_expsyms=$lt_exclude_expsyms_CXX
74695 # Symbols that must always be exported.
74696 include_expsyms=$lt_include_expsyms_CXX
74698 # Commands necessary for linking programs (against libraries) with templates.
74699 prelink_cmds=$lt_prelink_cmds_CXX
74701 # Specify filename containing input files.
74702 file_list_spec=$lt_file_list_spec_CXX
74704 # How to hardcode a shared library path into an executable.
74705 hardcode_action=$hardcode_action_CXX
74707 # The directories searched by this compiler when creating a shared library.
74708 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74710 # Dependencies to place before and after the objects being linked to
74711 # create a shared library.
74712 predep_objects=$lt_predep_objects_CXX
74713 postdep_objects=$lt_postdep_objects_CXX
74714 predeps=$lt_predeps_CXX
74715 postdeps=$lt_postdeps_CXX
74717 # The library search path used internally by the compiler when linking
74718 # a shared library.
74719 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74721 # ### END LIBTOOL TAG CONFIG: CXX
74722 _LT_EOF
74725 "include/gstdint.h":C)
74726 if test "$GCC" = yes; then
74727 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74728 else
74729 echo "/* generated for $CC */" > tmp-stdint.h
74732 sed 's/^ *//' >> tmp-stdint.h <<EOF
74734 #ifndef GCC_GENERATED_STDINT_H
74735 #define GCC_GENERATED_STDINT_H 1
74737 #include <sys/types.h>
74740 if test "$acx_cv_header_stdint" != stdint.h; then
74741 echo "#include <stddef.h>" >> tmp-stdint.h
74743 if test "$acx_cv_header_stdint" != stddef.h; then
74744 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74747 sed 's/^ *//' >> tmp-stdint.h <<EOF
74748 /* glibc uses these symbols as guards to prevent redefinitions. */
74749 #ifdef __int8_t_defined
74750 #define _INT8_T
74751 #define _INT16_T
74752 #define _INT32_T
74753 #endif
74754 #ifdef __uint32_t_defined
74755 #define _UINT32_T
74756 #endif
74760 # ----------------- done header, emit basic int types -------------
74761 if test "$acx_cv_header_stdint" = stddef.h; then
74762 sed 's/^ *//' >> tmp-stdint.h <<EOF
74764 #ifndef _UINT8_T
74765 #define _UINT8_T
74766 #ifndef __uint8_t_defined
74767 #define __uint8_t_defined
74768 #ifndef uint8_t
74769 typedef unsigned $acx_cv_type_int8_t uint8_t;
74770 #endif
74771 #endif
74772 #endif
74774 #ifndef _UINT16_T
74775 #define _UINT16_T
74776 #ifndef __uint16_t_defined
74777 #define __uint16_t_defined
74778 #ifndef uint16_t
74779 typedef unsigned $acx_cv_type_int16_t uint16_t;
74780 #endif
74781 #endif
74782 #endif
74784 #ifndef _UINT32_T
74785 #define _UINT32_T
74786 #ifndef __uint32_t_defined
74787 #define __uint32_t_defined
74788 #ifndef uint32_t
74789 typedef unsigned $acx_cv_type_int32_t uint32_t;
74790 #endif
74791 #endif
74792 #endif
74794 #ifndef _INT8_T
74795 #define _INT8_T
74796 #ifndef __int8_t_defined
74797 #define __int8_t_defined
74798 #ifndef int8_t
74799 typedef $acx_cv_type_int8_t int8_t;
74800 #endif
74801 #endif
74802 #endif
74804 #ifndef _INT16_T
74805 #define _INT16_T
74806 #ifndef __int16_t_defined
74807 #define __int16_t_defined
74808 #ifndef int16_t
74809 typedef $acx_cv_type_int16_t int16_t;
74810 #endif
74811 #endif
74812 #endif
74814 #ifndef _INT32_T
74815 #define _INT32_T
74816 #ifndef __int32_t_defined
74817 #define __int32_t_defined
74818 #ifndef int32_t
74819 typedef $acx_cv_type_int32_t int32_t;
74820 #endif
74821 #endif
74822 #endif
74824 elif test "$ac_cv_type_u_int32_t" = yes; then
74825 sed 's/^ *//' >> tmp-stdint.h <<EOF
74827 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74828 #ifndef _INT8_T
74829 #define _INT8_T
74830 #endif
74831 #ifndef _INT16_T
74832 #define _INT16_T
74833 #endif
74834 #ifndef _INT32_T
74835 #define _INT32_T
74836 #endif
74838 #ifndef _UINT8_T
74839 #define _UINT8_T
74840 #ifndef __uint8_t_defined
74841 #define __uint8_t_defined
74842 #ifndef uint8_t
74843 typedef u_int8_t uint8_t;
74844 #endif
74845 #endif
74846 #endif
74848 #ifndef _UINT16_T
74849 #define _UINT16_T
74850 #ifndef __uint16_t_defined
74851 #define __uint16_t_defined
74852 #ifndef uint16_t
74853 typedef u_int16_t uint16_t;
74854 #endif
74855 #endif
74856 #endif
74858 #ifndef _UINT32_T
74859 #define _UINT32_T
74860 #ifndef __uint32_t_defined
74861 #define __uint32_t_defined
74862 #ifndef uint32_t
74863 typedef u_int32_t uint32_t;
74864 #endif
74865 #endif
74866 #endif
74868 else
74869 sed 's/^ *//' >> tmp-stdint.h <<EOF
74871 /* Some systems have guard macros to prevent redefinitions, define them. */
74872 #ifndef _INT8_T
74873 #define _INT8_T
74874 #endif
74875 #ifndef _INT16_T
74876 #define _INT16_T
74877 #endif
74878 #ifndef _INT32_T
74879 #define _INT32_T
74880 #endif
74881 #ifndef _UINT8_T
74882 #define _UINT8_T
74883 #endif
74884 #ifndef _UINT16_T
74885 #define _UINT16_T
74886 #endif
74887 #ifndef _UINT32_T
74888 #define _UINT32_T
74889 #endif
74893 # ------------- done basic int types, emit int64_t types ------------
74894 if test "$ac_cv_type_uint64_t" = yes; then
74895 sed 's/^ *//' >> tmp-stdint.h <<EOF
74897 /* system headers have good uint64_t and int64_t */
74898 #ifndef _INT64_T
74899 #define _INT64_T
74900 #endif
74901 #ifndef _UINT64_T
74902 #define _UINT64_T
74903 #endif
74905 elif test "$ac_cv_type_u_int64_t" = yes; then
74906 sed 's/^ *//' >> tmp-stdint.h <<EOF
74908 /* system headers have an u_int64_t (and int64_t) */
74909 #ifndef _INT64_T
74910 #define _INT64_T
74911 #endif
74912 #ifndef _UINT64_T
74913 #define _UINT64_T
74914 #ifndef __uint64_t_defined
74915 #define __uint64_t_defined
74916 #ifndef uint64_t
74917 typedef u_int64_t uint64_t;
74918 #endif
74919 #endif
74920 #endif
74922 elif test -n "$acx_cv_type_int64_t"; then
74923 sed 's/^ *//' >> tmp-stdint.h <<EOF
74925 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74926 #ifndef _INT64_T
74927 #define _INT64_T
74928 #ifndef int64_t
74929 typedef $acx_cv_type_int64_t int64_t;
74930 #endif
74931 #endif
74932 #ifndef _UINT64_T
74933 #define _UINT64_T
74934 #ifndef __uint64_t_defined
74935 #define __uint64_t_defined
74936 #ifndef uint64_t
74937 typedef unsigned $acx_cv_type_int64_t uint64_t;
74938 #endif
74939 #endif
74940 #endif
74942 else
74943 sed 's/^ *//' >> tmp-stdint.h <<EOF
74945 /* some common heuristics for int64_t, using compiler-specific tests */
74946 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74947 #ifndef _INT64_T
74948 #define _INT64_T
74949 #ifndef __int64_t_defined
74950 #ifndef int64_t
74951 typedef long long int64_t;
74952 #endif
74953 #endif
74954 #endif
74955 #ifndef _UINT64_T
74956 #define _UINT64_T
74957 #ifndef uint64_t
74958 typedef unsigned long long uint64_t;
74959 #endif
74960 #endif
74962 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74963 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74964 does not implement __extension__. But that compiler doesn't define
74965 __GNUC_MINOR__. */
74966 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74967 # define __extension__
74968 # endif
74970 # ifndef _INT64_T
74971 # define _INT64_T
74972 # ifndef int64_t
74973 __extension__ typedef long long int64_t;
74974 # endif
74975 # endif
74976 # ifndef _UINT64_T
74977 # define _UINT64_T
74978 # ifndef uint64_t
74979 __extension__ typedef unsigned long long uint64_t;
74980 # endif
74981 # endif
74983 #elif !defined __STRICT_ANSI__
74984 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74986 # ifndef _INT64_T
74987 # define _INT64_T
74988 # ifndef int64_t
74989 typedef __int64 int64_t;
74990 # endif
74991 # endif
74992 # ifndef _UINT64_T
74993 # define _UINT64_T
74994 # ifndef uint64_t
74995 typedef unsigned __int64 uint64_t;
74996 # endif
74997 # endif
74998 # endif /* compiler */
75000 #endif /* ANSI version */
75004 # ------------- done int64_t types, emit intptr types ------------
75005 if test "$ac_cv_type_uintptr_t" != yes; then
75006 sed 's/^ *//' >> tmp-stdint.h <<EOF
75008 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
75009 #ifndef __uintptr_t_defined
75010 #ifndef uintptr_t
75011 typedef u$acx_cv_type_intptr_t uintptr_t;
75012 #endif
75013 #endif
75014 #ifndef __intptr_t_defined
75015 #ifndef intptr_t
75016 typedef $acx_cv_type_intptr_t intptr_t;
75017 #endif
75018 #endif
75022 # ------------- done intptr types, emit int_least types ------------
75023 if test "$ac_cv_type_int_least32_t" != yes; then
75024 sed 's/^ *//' >> tmp-stdint.h <<EOF
75026 /* Define int_least types */
75027 typedef int8_t int_least8_t;
75028 typedef int16_t int_least16_t;
75029 typedef int32_t int_least32_t;
75030 #ifdef _INT64_T
75031 typedef int64_t int_least64_t;
75032 #endif
75034 typedef uint8_t uint_least8_t;
75035 typedef uint16_t uint_least16_t;
75036 typedef uint32_t uint_least32_t;
75037 #ifdef _UINT64_T
75038 typedef uint64_t uint_least64_t;
75039 #endif
75043 # ------------- done intptr types, emit int_fast types ------------
75044 if test "$ac_cv_type_int_fast32_t" != yes; then
75045 sed 's/^ *//' >> tmp-stdint.h <<EOF
75047 /* Define int_fast types. short is often slow */
75048 typedef int8_t int_fast8_t;
75049 typedef int int_fast16_t;
75050 typedef int32_t int_fast32_t;
75051 #ifdef _INT64_T
75052 typedef int64_t int_fast64_t;
75053 #endif
75055 typedef uint8_t uint_fast8_t;
75056 typedef unsigned int uint_fast16_t;
75057 typedef uint32_t uint_fast32_t;
75058 #ifdef _UINT64_T
75059 typedef uint64_t uint_fast64_t;
75060 #endif
75064 if test "$ac_cv_type_uintmax_t" != yes; then
75065 sed 's/^ *//' >> tmp-stdint.h <<EOF
75067 /* Define intmax based on what we found */
75068 #ifndef intmax_t
75069 #ifdef _INT64_T
75070 typedef int64_t intmax_t;
75071 #else
75072 typedef long intmax_t;
75073 #endif
75074 #endif
75075 #ifndef uintmax_t
75076 #ifdef _UINT64_T
75077 typedef uint64_t uintmax_t;
75078 #else
75079 typedef unsigned long uintmax_t;
75080 #endif
75081 #endif
75085 sed 's/^ *//' >> tmp-stdint.h <<EOF
75087 #endif /* GCC_GENERATED_STDINT_H */
75090 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75091 rm -f tmp-stdint.h
75092 else
75093 mv -f tmp-stdint.h include/gstdint.h
75097 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75098 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75099 "include/Makefile":F) cat > vpsed$$ << \_EOF
75100 s!`test -f '$<' || echo '$(srcdir)/'`!!
75101 _EOF
75102 sed -f vpsed$$ $ac_file > tmp$$
75103 mv tmp$$ $ac_file
75104 rm vpsed$$
75105 echo 'MULTISUBDIR =' >> $ac_file
75106 ml_norecursion=yes
75107 . ${multi_basedir}/config-ml.in
75108 { ml_norecursion=; unset ml_norecursion;}
75110 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75111 s!`test -f '$<' || echo '$(srcdir)/'`!!
75112 _EOF
75113 sed -f vpsed$$ $ac_file > tmp$$
75114 mv tmp$$ $ac_file
75115 rm vpsed$$
75116 echo 'MULTISUBDIR =' >> $ac_file
75117 ml_norecursion=yes
75118 . ${multi_basedir}/config-ml.in
75119 { ml_norecursion=; unset ml_norecursion;}
75121 "python/Makefile":F) cat > vpsed$$ << \_EOF
75122 s!`test -f '$<' || echo '$(srcdir)/'`!!
75123 _EOF
75124 sed -f vpsed$$ $ac_file > tmp$$
75125 mv tmp$$ $ac_file
75126 rm vpsed$$
75127 echo 'MULTISUBDIR =' >> $ac_file
75128 ml_norecursion=yes
75129 . ${multi_basedir}/config-ml.in
75130 { ml_norecursion=; unset ml_norecursion;}
75132 "src/Makefile":F) cat > vpsed$$ << \_EOF
75133 s!`test -f '$<' || echo '$(srcdir)/'`!!
75134 _EOF
75135 sed -f vpsed$$ $ac_file > tmp$$
75136 mv tmp$$ $ac_file
75137 rm vpsed$$
75138 echo 'MULTISUBDIR =' >> $ac_file
75139 ml_norecursion=yes
75140 . ${multi_basedir}/config-ml.in
75141 { ml_norecursion=; unset ml_norecursion;}
75143 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75144 s!`test -f '$<' || echo '$(srcdir)/'`!!
75145 _EOF
75146 sed -f vpsed$$ $ac_file > tmp$$
75147 mv tmp$$ $ac_file
75148 rm vpsed$$
75149 echo 'MULTISUBDIR =' >> $ac_file
75150 ml_norecursion=yes
75151 . ${multi_basedir}/config-ml.in
75152 { ml_norecursion=; unset ml_norecursion;}
75154 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75155 s!`test -f '$<' || echo '$(srcdir)/'`!!
75156 _EOF
75157 sed -f vpsed$$ $ac_file > tmp$$
75158 mv tmp$$ $ac_file
75159 rm vpsed$$
75160 echo 'MULTISUBDIR =' >> $ac_file
75161 ml_norecursion=yes
75162 . ${multi_basedir}/config-ml.in
75163 { ml_norecursion=; unset ml_norecursion;}
75165 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75166 s!`test -f '$<' || echo '$(srcdir)/'`!!
75167 _EOF
75168 sed -f vpsed$$ $ac_file > tmp$$
75169 mv tmp$$ $ac_file
75170 rm vpsed$$
75171 echo 'MULTISUBDIR =' >> $ac_file
75172 ml_norecursion=yes
75173 . ${multi_basedir}/config-ml.in
75174 { ml_norecursion=; unset ml_norecursion;}
75176 "po/Makefile":F) cat > vpsed$$ << \_EOF
75177 s!`test -f '$<' || echo '$(srcdir)/'`!!
75178 _EOF
75179 sed -f vpsed$$ $ac_file > tmp$$
75180 mv tmp$$ $ac_file
75181 rm vpsed$$
75182 echo 'MULTISUBDIR =' >> $ac_file
75183 ml_norecursion=yes
75184 . ${multi_basedir}/config-ml.in
75185 { ml_norecursion=; unset ml_norecursion;}
75187 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75188 s!`test -f '$<' || echo '$(srcdir)/'`!!
75189 _EOF
75190 sed -f vpsed$$ $ac_file > tmp$$
75191 mv tmp$$ $ac_file
75192 rm vpsed$$
75193 echo 'MULTISUBDIR =' >> $ac_file
75194 ml_norecursion=yes
75195 . ${multi_basedir}/config-ml.in
75196 { ml_norecursion=; unset ml_norecursion;}
75198 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75200 esac
75201 done # for ac_tag
75204 as_fn_exit 0
75205 _ACEOF
75206 ac_clean_files=$ac_clean_files_save
75208 test $ac_write_fail = 0 ||
75209 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75212 # configure is writing to config.log, and then calls config.status.
75213 # config.status does its own redirection, appending to config.log.
75214 # Unfortunately, on DOS this fails, as config.log is still kept open
75215 # by configure, so config.status won't be able to write to it; its
75216 # output is simply discarded. So we exec the FD to /dev/null,
75217 # effectively closing config.log, so it can be properly (re)opened and
75218 # appended to by config.status. When coming back to configure, we
75219 # need to make the FD available again.
75220 if test "$no_create" != yes; then
75221 ac_cs_success=:
75222 ac_config_status_args=
75223 test "$silent" = yes &&
75224 ac_config_status_args="$ac_config_status_args --quiet"
75225 exec 5>/dev/null
75226 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75227 exec 5>>config.log
75228 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75229 # would make configure fail if this is the last instruction.
75230 $ac_cs_success || as_fn_exit $?
75232 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75234 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}