make __stl_prime_list in comdat
[official-gcc.git] / libstdc++-v3 / configure
blob428cdc5bd805076260956f4b7d8a7a5a4dda3b48
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_subdir_switch
643 baseline_dir
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SOL2_FALSE
650 ENABLE_SYMVERS_SOL2_TRUE
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_EXTERN_TEMPLATE_FALSE
670 ENABLE_EXTERN_TEMPLATE_TRUE
671 EXTRA_CXX_FLAGS
672 ENABLE_PARALLEL_FALSE
673 ENABLE_PARALLEL_TRUE
674 GLIBCXX_BUILD_DEBUG_FALSE
675 GLIBCXX_BUILD_DEBUG_TRUE
676 DEBUG_FLAGS
677 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
678 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
679 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
680 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
681 GLIBCXX_C_HEADERS_C_STD_FALSE
682 GLIBCXX_C_HEADERS_C_STD_TRUE
683 GLIBCXX_C_HEADERS_C_FALSE
684 GLIBCXX_C_HEADERS_C_TRUE
685 C_INCLUDE_DIR
686 ALLOCATOR_NAME
687 ALLOCATOR_H
688 CLOCALE_INTERNAL_H
689 CLOCALE_CC
690 CTIME_CC
691 CTIME_H
692 CNUMERIC_CC
693 CMONEY_CC
694 CMESSAGES_CC
695 CCTYPE_CC
696 CCOLLATE_CC
697 CCODECVT_CC
698 CMESSAGES_H
699 CLOCALE_H
700 USE_NLS
701 glibcxx_localedir
702 glibcxx_POFILES
703 glibcxx_MOFILES
704 check_msgfmt
705 BASIC_FILE_CC
706 BASIC_FILE_H
707 CSTDIO_H
708 SECTION_FLAGS
709 WERROR
710 glibcxx_PCHFLAGS
711 GLIBCXX_BUILD_PCH_FALSE
712 GLIBCXX_BUILD_PCH_TRUE
713 GLIBCXX_HOSTED_FALSE
714 GLIBCXX_HOSTED_TRUE
715 enable_static
716 enable_shared
717 lt_host_flags
718 CXXCPP
719 OTOOL64
720 OTOOL
721 LIPO
722 NMEDIT
723 DSYMUTIL
724 OBJDUMP
726 ac_ct_DUMPBIN
727 DUMPBIN
729 FGREP
731 LIBTOOL
732 EGREP
733 GREP
735 MAINT
736 MAINTAINER_MODE_FALSE
737 MAINTAINER_MODE_TRUE
738 RANLIB
741 LN_S
742 toplevel_srcdir
743 toplevel_builddir
744 glibcxx_srcdir
745 glibcxx_builddir
746 ac_ct_CXX
747 CXXFLAGS
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
756 am__untar
757 am__tar
758 AMTAR
759 am__leading_dot
760 SET_MAKE
762 mkdir_p
763 MKDIR_P
764 INSTALL_STRIP_PROGRAM
765 STRIP
766 install_sh
767 MAKEINFO
768 AUTOHEADER
769 AUTOMAKE
770 AUTOCONF
771 ACLOCAL
772 VERSION
773 PACKAGE
774 CYGPATH_W
775 am__isrc
776 INSTALL_DATA
777 INSTALL_SCRIPT
778 INSTALL_PROGRAM
779 target_os
780 target_vendor
781 target_cpu
782 target
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 multi_basedir
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_multilib
834 with_target_subdir
835 with_cross_host
836 with_newlib
837 enable_maintainer_mode
838 enable_shared
839 enable_static
840 with_pic
841 enable_fast_install
842 with_gnu_ld
843 enable_libtool_lock
844 enable_hosted_libstdcxx
845 enable_sjlj_exceptions
846 enable_libstdcxx_pch
847 enable_cstdio
848 enable_clocale
849 enable_nls
850 enable_libstdcxx_allocator
851 enable_cheaders
852 enable_long_long
853 enable_wchar_t
854 enable_c99
855 enable_concept_checks
856 enable_libstdcxx_debug_flags
857 enable_libstdcxx_debug
858 enable_cxx_flags
859 enable_fully_dynamic_string
860 enable_extern_template
861 enable_libstdcxx_time
862 enable_tls
863 enable_rpath
864 with_libiconv_prefix
865 with_system_libunwind
866 enable_linux_futex
867 enable_symvers
868 enable_visibility
869 with_gxx_include_dir
870 enable_version_specific_runtime_libs
872 ac_precious_vars='build_alias
873 host_alias
874 target_alias
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
881 CXXFLAGS
884 CXXCPP
885 CXXFILT'
888 # Initialize some variables set by options.
889 ac_init_help=
890 ac_init_version=false
891 ac_unrecognized_opts=
892 ac_unrecognized_sep=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
895 cache_file=/dev/null
896 exec_prefix=NONE
897 no_create=
898 no_recursion=
899 prefix=NONE
900 program_prefix=NONE
901 program_suffix=NONE
902 program_transform_name=s,x,x,
903 silent=
904 site=
905 srcdir=
906 verbose=
907 x_includes=NONE
908 x_libraries=NONE
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir='${exec_prefix}/bin'
917 sbindir='${exec_prefix}/sbin'
918 libexecdir='${exec_prefix}/libexec'
919 datarootdir='${prefix}/share'
920 datadir='${datarootdir}'
921 sysconfdir='${prefix}/etc'
922 sharedstatedir='${prefix}/com'
923 localstatedir='${prefix}/var'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/include'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
936 ac_prev=
937 ac_dashdash=
938 for ac_option
940 # If the previous option needs an argument, assign it.
941 if test -n "$ac_prev"; then
942 eval $ac_prev=\$ac_option
943 ac_prev=
944 continue
947 case $ac_option in
948 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 *) ac_optarg=yes ;;
950 esac
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
956 ac_dashdash=yes ;;
958 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 ac_prev=bindir ;;
960 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 bindir=$ac_optarg ;;
963 -build | --build | --buil | --bui | --bu)
964 ac_prev=build_alias ;;
965 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 build_alias=$ac_optarg ;;
968 -cache-file | --cache-file | --cache-fil | --cache-fi \
969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970 ac_prev=cache_file ;;
971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 cache_file=$ac_optarg ;;
975 --config-cache | -C)
976 cache_file=config.cache ;;
978 -datadir | --datadir | --datadi | --datad)
979 ac_prev=datadir ;;
980 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 datadir=$ac_optarg ;;
983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984 | --dataroo | --dataro | --datar)
985 ac_prev=datarootdir ;;
986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 datarootdir=$ac_optarg ;;
990 -disable-* | --disable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 as_fn_error "invalid feature name: $ac_useropt"
995 ac_useropt_orig=$ac_useropt
996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
999 "enable_$ac_useropt"
1000 "*) ;;
1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1003 esac
1004 eval enable_$ac_useropt=no ;;
1006 -docdir | --docdir | --docdi | --doc | --do)
1007 ac_prev=docdir ;;
1008 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 docdir=$ac_optarg ;;
1011 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 ac_prev=dvidir ;;
1013 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 dvidir=$ac_optarg ;;
1016 -enable-* | --enable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=\$ac_optarg ;;
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1043 with_gas=yes ;;
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 ac_prev=htmldir ;;
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 | --ht=*)
1061 htmldir=$ac_optarg ;;
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 ac_prev=infodir ;;
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1075 -libdir | --libdir | --libdi | --libd)
1076 ac_prev=libdir ;;
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 ac_prev=mandir ;;
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1106 with_fp=no ;;
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1110 no_create=yes ;;
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 no_recursion=yes ;;
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 ac_prev=prefix ;;
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 ac_prev=pdfdir ;;
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1166 -psdir | --psdir | --psdi | --psd | --ps)
1167 ac_prev=psdir ;;
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 psdir=$ac_optarg ;;
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1173 silent=yes ;;
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 ac_prev=sbindir ;;
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 | --sbi=* | --sb=*)
1179 sbindir=$ac_optarg ;;
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1184 | --sha | --sh)
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 | --sha=* | --sh=*)
1190 sharedstatedir=$ac_optarg ;;
1192 -site | --site | --sit)
1193 ac_prev=site ;;
1194 -site=* | --site=* | --sit=*)
1195 site=$ac_optarg ;;
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 ac_prev=srcdir ;;
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 verbose=yes ;;
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1220 -with-* | --with-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1229 "with_$ac_useropt"
1230 "*) ;;
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1233 esac
1234 eval with_$ac_useropt=\$ac_optarg ;;
1236 -without-* | --without-*)
1237 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1245 "with_$ac_useropt"
1246 "*) ;;
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1249 esac
1250 eval with_$ac_useropt=no ;;
1252 --x)
1253 # Obsolete; use --with-x.
1254 with_x=yes ;;
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev=x_includes ;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes=$ac_optarg ;;
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev=x_libraries ;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries=$ac_optarg ;;
1270 -*) as_fn_error "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information."
1274 *=*)
1275 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' | [0-9]* | *[!_$as_cr_alnum]* )
1279 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280 esac
1281 eval $ac_envvar=\$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1292 esac
1293 done
1295 if test -n "$ac_prev"; then
1296 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error "missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1302 no) ;;
1303 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305 esac
1308 # Check all directory arguments for consistency.
1309 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val=\$$ac_var
1315 # Remove trailing slashes.
1316 case $ac_val in
1317 */ )
1318 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\$ac_val;;
1320 esac
1321 # Be sure to have absolute directory names.
1322 case $ac_val in
1323 [\\/$]* | ?:[\\/]* ) continue;;
1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325 esac
1326 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338 if test "x$build_alias" = x; then
1339 cross_compiling=maybe
1340 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341 If a cross compiler is detected then cross compile mode will be used." >&2
1342 elif test "x$build_alias" != "x$host_alias"; then
1343 cross_compiling=yes
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1350 test "$silent" = yes && exec 6>/dev/null
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error "pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 s//\1/
1375 /^X\(\/\/\)[^/].*/{
1376 s//\1/
1379 /^X\(\/\/\)$/{
1380 s//\1/
1383 /^X\(\/\).*/{
1384 s//\1/
1387 s/.*/./; q'`
1388 srcdir=$ac_confdir
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 srcdir=..
1392 else
1393 ac_srcdir_defaulted=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402 pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 srcdir=.
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_${ac_var}_value=\$${ac_var}
1416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1426 cat <<_ACEOF
1427 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1436 Configuration:
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 [PREFIX]
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1480 _ACEOF
1482 cat <<\_ACEOF
1484 Program names:
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1489 System types:
1490 --build=BUILD configure for building on BUILD [guessed]
1491 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 --target=TARGET configure for building compilers for TARGET [HOST]
1493 _ACEOF
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short | recursive ) echo "Configuration of package-unused version-unused:";;
1499 esac
1500 cat <<\_ACEOF
1502 Optional Features:
1503 --disable-option-checking ignore unrecognized --enable/--with options
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-multilib build many library versions (default)
1507 --enable-maintainer-mode enable make rules and dependencies not useful
1508 (and sometimes confusing) to the casual installer
1509 --enable-shared[=PKGS] build shared libraries [default=yes]
1510 --enable-static[=PKGS] build static libraries [default=yes]
1511 --enable-fast-install[=PKGS]
1512 optimize for fast installation [default=yes]
1513 --disable-libtool-lock avoid locking (might break parallel builds)
1514 --disable-hosted-libstdcxx
1515 only build freestanding C++ runtime support
1516 --enable-sjlj-exceptions
1517 force use of builtin_setjmp for exceptions
1518 [default=auto]
1519 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1520 [default=$is_hosted]
1521 --enable-cstdio[=PACKAGE]
1522 use target-specific I/O package [default=stdio]
1523 --enable-clocale[=MODEL]
1524 use MODEL for target locale package [default=auto]
1525 --enable-nls use Native Language Support (default)
1526 --enable-libstdcxx-allocator[=KIND]
1527 use KIND for target std::allocator base
1528 [default=auto]
1529 --enable-cheaders[=KIND]
1530 construct "C" headers for g++ [default=$c_model]
1531 --enable-long-long enable template specializations for 'long long'
1532 [default=yes]
1533 --enable-wchar_t enable template specializations for 'wchar_t'
1534 [default=yes]
1535 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1536 --enable-concept-checks use Boost-derived template checks [default=no]
1537 --enable-libstdcxx-debug-flags=FLAGS
1538 pass compiler FLAGS when building debug library
1539 [default="-g3 -O0"]
1540 --enable-libstdcxx-debug
1541 build extra debug library [default=no]
1542 --enable-cxx-flags=FLAGS
1543 pass compiler FLAGS when building library [default=]
1544 --enable-fully-dynamic-string
1545 do not put empty strings in per-process static
1546 memory [default=no]
1547 --enable-extern-template
1548 enable extern template [default=yes]
1549 --enable-libstdcxx-time[=KIND]
1550 use KIND for check type [default=no]
1551 --enable-tls Use thread-local storage [default=yes]
1552 --disable-rpath do not hardcode runtime library paths
1553 --enable-linux-futex use the Linux futex system call [default=default]
1554 --enable-symvers[=STYLE]
1555 enables symbol versioning of the shared library
1556 [default=yes]
1557 --enable-visibility enables visibility safe usage [default=yes]
1558 --enable-version-specific-runtime-libs
1559 Specify that runtime libraries should be installed
1560 in a compiler-specific directory
1562 Optional Packages:
1563 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1564 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1565 --with-target-subdir=SUBDIR
1566 configuring in a subdirectory
1567 --with-cross-host=HOST configuring with a cross compiler
1568 --with-newlib assume newlib as a system C library
1569 --with-pic try to use only PIC/non-PIC objects [default=use
1570 both]
1571 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1572 --with-gnu-ld assume the C compiler uses GNU ld default=no
1573 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1574 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1575 --with-system-libunwind use installed libunwind
1576 --with-gxx-include-dir=DIR
1577 installation directory for include files
1579 Some influential environment variables:
1580 CC C compiler command
1581 CFLAGS C compiler flags
1582 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1583 nonstandard directory <lib dir>
1584 LIBS libraries to pass to the linker, e.g. -l<library>
1585 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1586 you have headers in a nonstandard directory <include dir>
1587 CXX C++ compiler command
1588 CXXFLAGS C++ compiler flags
1589 CPP C preprocessor
1590 CXXCPP C++ preprocessor
1591 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1592 `c++filt', `gc++filt' on PATH.
1594 Use these variables to override the choices made by `configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1597 Report bugs to the package provider.
1598 _ACEOF
1599 ac_status=$?
1602 if test "$ac_init_help" = "recursive"; then
1603 # If there are subdirs, report their specific --help.
1604 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605 test -d "$ac_dir" ||
1606 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607 continue
1608 ac_builddir=.
1610 case "$ac_dir" in
1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1614 # A ".." for each directory in $ac_dir_suffix.
1615 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1616 case $ac_top_builddir_sub in
1617 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 esac ;;
1620 esac
1621 ac_abs_top_builddir=$ac_pwd
1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623 # for backward compatibility:
1624 ac_top_builddir=$ac_top_build_prefix
1626 case $srcdir in
1627 .) # We are building in place.
1628 ac_srcdir=.
1629 ac_top_srcdir=$ac_top_builddir_sub
1630 ac_abs_top_srcdir=$ac_pwd ;;
1631 [\\/]* | ?:[\\/]* ) # Absolute name.
1632 ac_srcdir=$srcdir$ac_dir_suffix;
1633 ac_top_srcdir=$srcdir
1634 ac_abs_top_srcdir=$srcdir ;;
1635 *) # Relative name.
1636 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637 ac_top_srcdir=$ac_top_build_prefix$srcdir
1638 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 esac
1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1642 cd "$ac_dir" || { ac_status=$?; continue; }
1643 # Check for guested configure.
1644 if test -f "$ac_srcdir/configure.gnu"; then
1645 echo &&
1646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647 elif test -f "$ac_srcdir/configure"; then
1648 echo &&
1649 $SHELL "$ac_srcdir/configure" --help=recursive
1650 else
1651 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 fi || ac_status=$?
1653 cd "$ac_pwd" || { ac_status=$?; break; }
1654 done
1657 test -n "$ac_init_help" && exit $ac_status
1658 if $ac_init_version; then
1659 cat <<\_ACEOF
1660 package-unused configure version-unused
1661 generated by GNU Autoconf 2.64
1663 Copyright (C) 2009 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1666 _ACEOF
1667 exit
1670 ## ------------------------ ##
1671 ## Autoconf initialization. ##
1672 ## ------------------------ ##
1674 # ac_fn_c_try_compile LINENO
1675 # --------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_c_try_compile ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext
1681 if { { ac_try="$ac_compile"
1682 case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_compile") 2>conftest.err
1689 ac_status=$?
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest.$ac_objext; then :
1700 ac_retval=0
1701 else
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1705 ac_retval=1
1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708 return $ac_retval
1710 } # ac_fn_c_try_compile
1712 # ac_fn_cxx_try_compile LINENO
1713 # ----------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_cxx_try_compile ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_cxx_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=1
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1748 } # ac_fn_cxx_try_compile
1750 # ac_fn_c_try_cpp LINENO
1751 # ----------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_cpp ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_cpp conftest.$ac_ext"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764 ac_status=$?
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } >/dev/null && {
1772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 }; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1780 ac_retval=1
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 return $ac_retval
1785 } # ac_fn_c_try_cpp
1787 # ac_fn_c_try_link LINENO
1788 # -----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_link ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 rm -f conftest.$ac_objext conftest$ac_exeext
1794 if { { ac_try="$ac_link"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest$ac_exeext && {
1813 test "$cross_compiling" = yes ||
1814 $as_test_x conftest$ac_exeext
1815 }; then :
1816 ac_retval=0
1817 else
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1821 ac_retval=1
1823 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825 # interfere with the next link command; also delete a directory that is
1826 # left behind by Apple's compiler. We do this before executing the actions.
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829 return $ac_retval
1831 } # ac_fn_c_try_link
1833 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1834 # -------------------------------------------------------
1835 # Tests whether HEADER exists and can be compiled using the include files in
1836 # INCLUDES, setting the cache variable VAR accordingly.
1837 ac_fn_c_check_header_compile ()
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1843 $as_echo_n "(cached) " >&6
1844 else
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1848 #include <$2>
1849 _ACEOF
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851 eval "$3=yes"
1852 else
1853 eval "$3=no"
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 eval ac_res=\$$3
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862 } # ac_fn_c_check_header_compile
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1868 ac_fn_c_try_run ()
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 if { { ac_try="$ac_link"
1872 case "(($ac_try" in
1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1875 esac
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_link") 2>&5
1879 ac_status=$?
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882 { { case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_try") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; }; }; then :
1892 ac_retval=0
1893 else
1894 $as_echo "$as_me: program exited with status $ac_status" >&5
1895 $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1898 ac_retval=$ac_status
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 return $ac_retval
1904 } # ac_fn_c_try_run
1906 # ac_fn_c_check_func LINENO FUNC VAR
1907 # ----------------------------------
1908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 ac_fn_c_check_func ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 $as_echo_n "(cached) " >&6
1916 else
1917 if test x$gcc_no_link = xyes; then
1918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1924 #define $2 innocuous_$2
1926 /* System header to define __stub macros and hopefully few prototypes,
1927 which can conflict with char $2 (); below.
1928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929 <limits.h> exists even on freestanding compilers. */
1931 #ifdef __STDC__
1932 # include <limits.h>
1933 #else
1934 # include <assert.h>
1935 #endif
1937 #undef $2
1939 /* Override any GCC internal prototype to avoid an error.
1940 Use char because int might match the return type of a GCC
1941 builtin and then its argument prototype would still apply. */
1942 #ifdef __cplusplus
1943 extern "C"
1944 #endif
1945 char $2 ();
1946 /* The GNU C library defines this for functions which it implements
1947 to always fail with ENOSYS. Some functions are actually named
1948 something starting with __ and the normal name is an alias. */
1949 #if defined __stub_$2 || defined __stub___$2
1950 choke me
1951 #endif
1954 main ()
1956 return $2 ();
1958 return 0;
1960 _ACEOF
1961 if ac_fn_c_try_link "$LINENO"; then :
1962 eval "$3=yes"
1963 else
1964 eval "$3=no"
1966 rm -f core conftest.err conftest.$ac_objext \
1967 conftest$ac_exeext conftest.$ac_ext
1969 eval ac_res=\$$3
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974 } # ac_fn_c_check_func
1976 # ac_fn_cxx_try_cpp LINENO
1977 # ------------------------
1978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_cpp ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if { { ac_try="$ac_cpp conftest.$ac_ext"
1983 case "(($ac_try" in
1984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990 ac_status=$?
1991 if test -s conftest.err; then
1992 grep -v '^ *+' conftest.err >conftest.er1
1993 cat conftest.er1 >&5
1994 mv -f conftest.er1 conftest.err
1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; } >/dev/null && {
1998 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1999 test ! -s conftest.err
2000 }; then :
2001 ac_retval=0
2002 else
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2006 ac_retval=1
2008 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 return $ac_retval
2011 } # ac_fn_cxx_try_cpp
2013 # ac_fn_cxx_try_link LINENO
2014 # -------------------------
2015 # Try to link conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_link ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 rm -f conftest.$ac_objext conftest$ac_exeext
2020 if { { ac_try="$ac_link"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_link") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } && {
2036 test -z "$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 } && test -s conftest$ac_exeext && {
2039 test "$cross_compiling" = yes ||
2040 $as_test_x conftest$ac_exeext
2041 }; then :
2042 ac_retval=0
2043 else
2044 $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2047 ac_retval=1
2049 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2050 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2051 # interfere with the next link command; also delete a directory that is
2052 # left behind by Apple's compiler. We do this before executing the actions.
2053 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2054 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055 return $ac_retval
2057 } # ac_fn_cxx_try_link
2059 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2060 # -------------------------------------------------------
2061 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2062 # the include files in INCLUDES and setting the cache variable VAR
2063 # accordingly.
2064 ac_fn_c_check_header_mongrel ()
2066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071 $as_echo_n "(cached) " >&6
2073 eval ac_res=\$$3
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 else
2077 # Is the header compilable?
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2079 $as_echo_n "checking $2 usability... " >&6; }
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2083 #include <$2>
2084 _ACEOF
2085 if ac_fn_c_try_compile "$LINENO"; then :
2086 ac_header_compiler=yes
2087 else
2088 ac_header_compiler=no
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2092 $as_echo "$ac_header_compiler" >&6; }
2094 # Is the header present?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2096 $as_echo_n "checking $2 presence... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2099 #include <$2>
2100 _ACEOF
2101 if ac_fn_c_try_cpp "$LINENO"; then :
2102 ac_header_preproc=yes
2103 else
2104 ac_header_preproc=no
2106 rm -f conftest.err conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2108 $as_echo "$ac_header_preproc" >&6; }
2110 # So? What about this header?
2111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2112 yes:no: )
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2114 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2116 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118 no:yes:* )
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2120 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2122 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2124 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2126 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2130 esac
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2132 $as_echo_n "checking for $2... " >&6; }
2133 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2134 $as_echo_n "(cached) " >&6
2135 else
2136 eval "$3=\$ac_header_compiler"
2138 eval ac_res=\$$3
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2142 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2144 } # ac_fn_c_check_header_mongrel
2146 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2147 # ---------------------------------------------------------
2148 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2149 # the include files in INCLUDES and setting the cache variable VAR
2150 # accordingly.
2151 ac_fn_cxx_check_header_mongrel ()
2153 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2154 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2160 eval ac_res=\$$3
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 else
2164 # Is the header compilable?
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2166 $as_echo_n "checking $2 usability... " >&6; }
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2170 #include <$2>
2171 _ACEOF
2172 if ac_fn_cxx_try_compile "$LINENO"; then :
2173 ac_header_compiler=yes
2174 else
2175 ac_header_compiler=no
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2179 $as_echo "$ac_header_compiler" >&6; }
2181 # Is the header present?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2183 $as_echo_n "checking $2 presence... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 #include <$2>
2187 _ACEOF
2188 if ac_fn_cxx_try_cpp "$LINENO"; then :
2189 ac_header_preproc=yes
2190 else
2191 ac_header_preproc=no
2193 rm -f conftest.err conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2195 $as_echo "$ac_header_preproc" >&6; }
2197 # So? What about this header?
2198 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2199 yes:no: )
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2201 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2203 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205 no:yes:* )
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2207 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2209 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2211 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2213 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2217 esac
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2219 $as_echo_n "checking for $2... " >&6; }
2220 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2221 $as_echo_n "(cached) " >&6
2222 else
2223 eval "$3=\$ac_header_compiler"
2225 eval ac_res=\$$3
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2229 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2231 } # ac_fn_cxx_check_header_mongrel
2233 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2234 # --------------------------------------------
2235 # Tries to find the compile-time value of EXPR in a program that includes
2236 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2237 # computed
2238 ac_fn_c_compute_int ()
2240 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2241 if test "$cross_compiling" = yes; then
2242 # Depending upon the size, compute the lo and hi bounds.
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h. */
2247 main ()
2249 static int test_array [1 - 2 * !(($2) >= 0)];
2250 test_array [0] = 0
2253 return 0;
2255 _ACEOF
2256 if ac_fn_c_try_compile "$LINENO"; then :
2257 ac_lo=0 ac_mid=0
2258 while :; do
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2263 main ()
2265 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2266 test_array [0] = 0
2269 return 0;
2271 _ACEOF
2272 if ac_fn_c_try_compile "$LINENO"; then :
2273 ac_hi=$ac_mid; break
2274 else
2275 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2276 if test $ac_lo -le $ac_mid; then
2277 ac_lo= ac_hi=
2278 break
2280 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283 done
2284 else
2285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2289 main ()
2291 static int test_array [1 - 2 * !(($2) < 0)];
2292 test_array [0] = 0
2295 return 0;
2297 _ACEOF
2298 if ac_fn_c_try_compile "$LINENO"; then :
2299 ac_hi=-1 ac_mid=-1
2300 while :; do
2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2305 main ()
2307 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2308 test_array [0] = 0
2311 return 0;
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315 ac_lo=$ac_mid; break
2316 else
2317 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2318 if test $ac_mid -le $ac_hi; then
2319 ac_lo= ac_hi=
2320 break
2322 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 done
2326 else
2327 ac_lo= ac_hi=
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 # Binary search between lo and hi bounds.
2333 while test "x$ac_lo" != "x$ac_hi"; do
2334 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2339 main ()
2341 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2342 test_array [0] = 0
2345 return 0;
2347 _ACEOF
2348 if ac_fn_c_try_compile "$LINENO"; then :
2349 ac_hi=$ac_mid
2350 else
2351 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 case $ac_lo in #((
2356 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2357 '') ac_retval=1 ;;
2358 esac
2359 else
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2363 static long int longval () { return $2; }
2364 static unsigned long int ulongval () { return $2; }
2365 #include <stdio.h>
2366 #include <stdlib.h>
2368 main ()
2371 FILE *f = fopen ("conftest.val", "w");
2372 if (! f)
2373 return 1;
2374 if (($2) < 0)
2376 long int i = longval ();
2377 if (i != ($2))
2378 return 1;
2379 fprintf (f, "%ld", i);
2381 else
2383 unsigned long int i = ulongval ();
2384 if (i != ($2))
2385 return 1;
2386 fprintf (f, "%lu", i);
2388 /* Do not output a trailing newline, as this causes \r\n confusion
2389 on some platforms. */
2390 return ferror (f) || fclose (f) != 0;
2393 return 0;
2395 _ACEOF
2396 if ac_fn_c_try_run "$LINENO"; then :
2397 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2398 else
2399 ac_retval=1
2401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2402 conftest.$ac_objext conftest.beam conftest.$ac_ext
2403 rm -f conftest.val
2406 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407 return $ac_retval
2409 } # ac_fn_c_compute_int
2411 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2412 # -------------------------------------------
2413 # Tests whether TYPE exists after having included INCLUDES, setting cache
2414 # variable VAR accordingly.
2415 ac_fn_c_check_type ()
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2419 $as_echo_n "checking for $2... " >&6; }
2420 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2421 $as_echo_n "(cached) " >&6
2422 else
2423 eval "$3=no"
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2428 main ()
2430 if (sizeof ($2))
2431 return 0;
2433 return 0;
2435 _ACEOF
2436 if ac_fn_c_try_compile "$LINENO"; then :
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h. */
2441 main ()
2443 if (sizeof (($2)))
2444 return 0;
2446 return 0;
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2451 else
2452 eval "$3=yes"
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 eval ac_res=\$$3
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2460 $as_echo "$ac_res" >&6; }
2461 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2463 } # ac_fn_c_check_type
2464 cat >config.log <<_ACEOF
2465 This file contains any messages produced by compilers while
2466 running configure, to aid debugging if configure makes a mistake.
2468 It was created by package-unused $as_me version-unused, which was
2469 generated by GNU Autoconf 2.64. Invocation command line was
2471 $ $0 $@
2473 _ACEOF
2474 exec 5>>config.log
2476 cat <<_ASUNAME
2477 ## --------- ##
2478 ## Platform. ##
2479 ## --------- ##
2481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2488 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2490 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2491 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2493 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2494 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2495 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2496 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2498 _ASUNAME
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 for as_dir in $PATH
2503 IFS=$as_save_IFS
2504 test -z "$as_dir" && as_dir=.
2505 $as_echo "PATH: $as_dir"
2506 done
2507 IFS=$as_save_IFS
2509 } >&5
2511 cat >&5 <<_ACEOF
2514 ## ----------- ##
2515 ## Core tests. ##
2516 ## ----------- ##
2518 _ACEOF
2521 # Keep a trace of the command line.
2522 # Strip out --no-create and --no-recursion so they do not pile up.
2523 # Strip out --silent because we don't want to record it for future runs.
2524 # Also quote any args containing shell meta-characters.
2525 # Make two passes to allow for proper duplicate-argument suppression.
2526 ac_configure_args=
2527 ac_configure_args0=
2528 ac_configure_args1=
2529 ac_must_keep_next=false
2530 for ac_pass in 1 2
2532 for ac_arg
2534 case $ac_arg in
2535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2537 | -silent | --silent | --silen | --sile | --sil)
2538 continue ;;
2539 *\'*)
2540 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2541 esac
2542 case $ac_pass in
2543 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2545 as_fn_append ac_configure_args1 " '$ac_arg'"
2546 if test $ac_must_keep_next = true; then
2547 ac_must_keep_next=false # Got value, back to normal.
2548 else
2549 case $ac_arg in
2550 *=* | --config-cache | -C | -disable-* | --disable-* \
2551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2553 | -with-* | --with-* | -without-* | --without-* | --x)
2554 case "$ac_configure_args0 " in
2555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2556 esac
2558 -* ) ac_must_keep_next=true ;;
2559 esac
2561 as_fn_append ac_configure_args " '$ac_arg'"
2563 esac
2564 done
2565 done
2566 { ac_configure_args0=; unset ac_configure_args0;}
2567 { ac_configure_args1=; unset ac_configure_args1;}
2569 # When interrupted or exit'd, cleanup temporary files, and complete
2570 # config.log. We remove comments because anyway the quotes in there
2571 # would cause problems or look ugly.
2572 # WARNING: Use '\'' to represent an apostrophe within the trap.
2573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2574 trap 'exit_status=$?
2575 # Save into config.log some information that might help in debugging.
2577 echo
2579 cat <<\_ASBOX
2580 ## ---------------- ##
2581 ## Cache variables. ##
2582 ## ---------------- ##
2583 _ASBOX
2584 echo
2585 # The following way of writing the cache mishandles newlines in values,
2587 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2588 eval ac_val=\$$ac_var
2589 case $ac_val in #(
2590 *${as_nl}*)
2591 case $ac_var in #(
2592 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2594 esac
2595 case $ac_var in #(
2596 _ | IFS | as_nl) ;; #(
2597 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2598 *) { eval $ac_var=; unset $ac_var;} ;;
2599 esac ;;
2600 esac
2601 done
2602 (set) 2>&1 |
2603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2604 *${as_nl}ac_space=\ *)
2605 sed -n \
2606 "s/'\''/'\''\\\\'\'''\''/g;
2607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2608 ;; #(
2610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2612 esac |
2613 sort
2615 echo
2617 cat <<\_ASBOX
2618 ## ----------------- ##
2619 ## Output variables. ##
2620 ## ----------------- ##
2621 _ASBOX
2622 echo
2623 for ac_var in $ac_subst_vars
2625 eval ac_val=\$$ac_var
2626 case $ac_val in
2627 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2628 esac
2629 $as_echo "$ac_var='\''$ac_val'\''"
2630 done | sort
2631 echo
2633 if test -n "$ac_subst_files"; then
2634 cat <<\_ASBOX
2635 ## ------------------- ##
2636 ## File substitutions. ##
2637 ## ------------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_files
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2651 if test -s confdefs.h; then
2652 cat <<\_ASBOX
2653 ## ----------- ##
2654 ## confdefs.h. ##
2655 ## ----------- ##
2656 _ASBOX
2657 echo
2658 cat confdefs.h
2659 echo
2661 test "$ac_signal" != 0 &&
2662 $as_echo "$as_me: caught signal $ac_signal"
2663 $as_echo "$as_me: exit $exit_status"
2664 } >&5
2665 rm -f core *.core core.conftest.* &&
2666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2667 exit $exit_status
2669 for ac_signal in 1 2 13 15; do
2670 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2671 done
2672 ac_signal=0
2674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2675 rm -f -r conftest* confdefs.h
2677 $as_echo "/* confdefs.h */" > confdefs.h
2679 # Predefined preprocessor variables.
2681 cat >>confdefs.h <<_ACEOF
2682 #define PACKAGE_NAME "$PACKAGE_NAME"
2683 _ACEOF
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2687 _ACEOF
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2691 _ACEOF
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_STRING "$PACKAGE_STRING"
2695 _ACEOF
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2699 _ACEOF
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_URL "$PACKAGE_URL"
2703 _ACEOF
2706 # Let the site file select an alternate cache file if it wants to.
2707 # Prefer an explicitly selected file to automatically selected ones.
2708 ac_site_file1=NONE
2709 ac_site_file2=NONE
2710 if test -n "$CONFIG_SITE"; then
2711 ac_site_file1=$CONFIG_SITE
2712 elif test "x$prefix" != xNONE; then
2713 ac_site_file1=$prefix/share/config.site
2714 ac_site_file2=$prefix/etc/config.site
2715 else
2716 ac_site_file1=$ac_default_prefix/share/config.site
2717 ac_site_file2=$ac_default_prefix/etc/config.site
2719 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2721 test "x$ac_site_file" = xNONE && continue
2722 if test -r "$ac_site_file"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2724 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2725 sed 's/^/| /' "$ac_site_file" >&5
2726 . "$ac_site_file"
2728 done
2730 if test -r "$cache_file"; then
2731 # Some versions of bash will fail to source /dev/null (special
2732 # files actually), so we avoid doing that.
2733 if test -f "$cache_file"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2735 $as_echo "$as_me: loading cache $cache_file" >&6;}
2736 case $cache_file in
2737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2738 *) . "./$cache_file";;
2739 esac
2741 else
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2743 $as_echo "$as_me: creating cache $cache_file" >&6;}
2744 >$cache_file
2747 # Check that the precious variables saved in the cache have kept the same
2748 # value.
2749 ac_cache_corrupted=false
2750 for ac_var in $ac_precious_vars; do
2751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2752 eval ac_new_set=\$ac_env_${ac_var}_set
2753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2754 eval ac_new_val=\$ac_env_${ac_var}_value
2755 case $ac_old_set,$ac_new_set in
2756 set,)
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2759 ac_cache_corrupted=: ;;
2760 ,set)
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2763 ac_cache_corrupted=: ;;
2764 ,);;
2766 if test "x$ac_old_val" != "x$ac_new_val"; then
2767 # differences in whitespace do not lead to failure.
2768 ac_old_val_w=`echo x $ac_old_val`
2769 ac_new_val_w=`echo x $ac_new_val`
2770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2773 ac_cache_corrupted=:
2774 else
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2777 eval $ac_var=\$ac_old_val
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2783 fi;;
2784 esac
2785 # Pass precious variables to config.status.
2786 if test "$ac_new_set" = set; then
2787 case $ac_new_val in
2788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2789 *) ac_arg=$ac_var=$ac_new_val ;;
2790 esac
2791 case " $ac_configure_args " in
2792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2793 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2794 esac
2796 done
2797 if $ac_cache_corrupted; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2802 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2804 ## -------------------- ##
2805 ## Main body of script. ##
2806 ## -------------------- ##
2808 ac_ext=c
2809 ac_cpp='$CPP $CPPFLAGS'
2810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2819 ac_config_headers="$ac_config_headers config.h"
2822 # This works around the fact that libtool configuration may change LD
2823 # for this particular configuration, but some shells, instead of
2824 # keeping the changes in LD private, export them just because LD is
2825 # exported. Only used at the end of this file.
2826 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2828 # Find the rest of the source tree framework.
2829 # Default to --enable-multilib
2830 # Check whether --enable-multilib was given.
2831 if test "${enable_multilib+set}" = set; then :
2832 enableval=$enable_multilib; case "$enableval" in
2833 yes) multilib=yes ;;
2834 no) multilib=no ;;
2835 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2836 esac
2837 else
2838 multilib=yes
2842 # We may get other options which we leave undocumented:
2843 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2844 # See config-ml.in if you want the gory details.
2846 if test "$srcdir" = "."; then
2847 if test "$with_target_subdir" != "."; then
2848 multi_basedir="$srcdir/$with_multisrctop../.."
2849 else
2850 multi_basedir="$srcdir/$with_multisrctop.."
2852 else
2853 multi_basedir="$srcdir/.."
2857 # Even if the default multilib is not a cross compilation,
2858 # it may be that some of the other multilibs are.
2859 if test $cross_compiling = no && test $multilib = yes \
2860 && test "x${with_multisubdir}" != x ; then
2861 cross_compiling=maybe
2864 ac_config_commands="$ac_config_commands default-1"
2867 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2869 # You will slowly go insane if you do not grok the following fact: when
2870 # building v3 as part of the compiler, the top-level /target/ becomes the
2871 # library's /host/. configure then causes --target to default to --host,
2872 # exactly like any other package using autoconf. Therefore, 'target' and
2873 # 'host' will always be the same. This makes sense both for native and
2874 # cross compilers, just think about it for a little while. :-)
2876 # Also, if v3 is being configured as part of a cross compiler, the top-level
2877 # configure script will pass the "real" host as $with_cross_host.
2879 # Do not delete or change the following two lines. For why, see
2880 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2881 ac_aux_dir=
2882 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2883 for ac_t in install-sh install.sh shtool; do
2884 if test -f "$ac_dir/$ac_t"; then
2885 ac_aux_dir=$ac_dir
2886 ac_install_sh="$ac_aux_dir/$ac_t -c"
2887 break 2
2889 done
2890 done
2891 if test -z "$ac_aux_dir"; then
2892 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2895 # These three variables are undocumented and unsupported,
2896 # and are intended to be withdrawn in a future Autoconf release.
2897 # They can cause serious problems if a builder's source tree is in a directory
2898 # whose full name contains unusual characters.
2899 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2900 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2901 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2904 # Make sure we can run config.sub.
2905 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2906 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2909 $as_echo_n "checking build system type... " >&6; }
2910 if test "${ac_cv_build+set}" = set; then :
2911 $as_echo_n "(cached) " >&6
2912 else
2913 ac_build_alias=$build_alias
2914 test "x$ac_build_alias" = x &&
2915 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2916 test "x$ac_build_alias" = x &&
2917 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2918 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2919 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2923 $as_echo "$ac_cv_build" >&6; }
2924 case $ac_cv_build in
2925 *-*-*) ;;
2926 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2927 esac
2928 build=$ac_cv_build
2929 ac_save_IFS=$IFS; IFS='-'
2930 set x $ac_cv_build
2931 shift
2932 build_cpu=$1
2933 build_vendor=$2
2934 shift; shift
2935 # Remember, the first character of IFS is used to create $*,
2936 # except with old shells:
2937 build_os=$*
2938 IFS=$ac_save_IFS
2939 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2943 $as_echo_n "checking host system type... " >&6; }
2944 if test "${ac_cv_host+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 if test "x$host_alias" = x; then
2948 ac_cv_host=$ac_cv_build
2949 else
2950 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2951 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2956 $as_echo "$ac_cv_host" >&6; }
2957 case $ac_cv_host in
2958 *-*-*) ;;
2959 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2960 esac
2961 host=$ac_cv_host
2962 ac_save_IFS=$IFS; IFS='-'
2963 set x $ac_cv_host
2964 shift
2965 host_cpu=$1
2966 host_vendor=$2
2967 shift; shift
2968 # Remember, the first character of IFS is used to create $*,
2969 # except with old shells:
2970 host_os=$*
2971 IFS=$ac_save_IFS
2972 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2976 $as_echo_n "checking target system type... " >&6; }
2977 if test "${ac_cv_target+set}" = set; then :
2978 $as_echo_n "(cached) " >&6
2979 else
2980 if test "x$target_alias" = x; then
2981 ac_cv_target=$ac_cv_host
2982 else
2983 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2984 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2989 $as_echo "$ac_cv_target" >&6; }
2990 case $ac_cv_target in
2991 *-*-*) ;;
2992 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2993 esac
2994 target=$ac_cv_target
2995 ac_save_IFS=$IFS; IFS='-'
2996 set x $ac_cv_target
2997 shift
2998 target_cpu=$1
2999 target_vendor=$2
3000 shift; shift
3001 # Remember, the first character of IFS is used to create $*,
3002 # except with old shells:
3003 target_os=$*
3004 IFS=$ac_save_IFS
3005 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3008 # The aliases save the names the user supplied, while $host etc.
3009 # will get canonicalized.
3010 test -n "$target_alias" &&
3011 test "$program_prefix$program_suffix$program_transform_name" = \
3012 NONENONEs,x,x, &&
3013 program_prefix=${target_alias}-
3015 target_alias=${target_alias-$host_alias}
3017 # Handy for debugging:
3018 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3020 if test "$build" != "$host"; then
3021 # We are being configured with some form of cross compiler.
3022 GLIBCXX_IS_NATIVE=false
3023 case "$host","$target" in
3024 # Darwin crosses can use the host system's libraries and headers,
3025 # because of the fat library support. Of course, it must be the
3026 # same version of Darwin on both sides. Allow the user to
3027 # just say --target=foo-darwin without a version number to mean
3028 # "the version on this system".
3029 *-*-darwin*,*-*-darwin*)
3030 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3031 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3032 if test $hostos = $targetos -o $targetos = darwin ; then
3033 GLIBCXX_IS_NATIVE=true
3040 esac
3041 else
3042 GLIBCXX_IS_NATIVE=true
3045 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3046 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3047 # 1.x: minimum required version
3048 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3049 # of other PACKAGE_* variables will, however, and there's nothing
3050 # we can do about that; they come from AC_INIT).
3051 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3052 # file in the top srcdir, etc, etc), so stop complaining.
3053 # no-dependencies: turns off auto dependency generation (just for now)
3054 # no-dist: we don't want 'dist' and related rules.
3055 # -Wall: turns on all automake warnings...
3056 # -Wno-portability: ...except this one, since GNU make is now required.
3057 am__api_version='1.11'
3059 # Find a good install program. We prefer a C program (faster),
3060 # so one script is as good as another. But avoid the broken or
3061 # incompatible versions:
3062 # SysV /etc/install, /usr/sbin/install
3063 # SunOS /usr/etc/install
3064 # IRIX /sbin/install
3065 # AIX /bin/install
3066 # AmigaOS /C/install, which installs bootblocks on floppy discs
3067 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3068 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3069 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3070 # OS/2's system install, which has a completely different semantic
3071 # ./install, which can be erroneously created by make from ./install.sh.
3072 # Reject install programs that cannot install multiple files.
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3074 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3075 if test -z "$INSTALL"; then
3076 if test "${ac_cv_path_install+set}" = set; then :
3077 $as_echo_n "(cached) " >&6
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3082 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=.
3084 # Account for people who put trailing slashes in PATH elements.
3085 case $as_dir/ in #((
3086 ./ | .// | /[cC]/* | \
3087 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3088 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3089 /usr/ucb/* ) ;;
3091 # OSF1 and SCO ODT 3.0 have their own names for install.
3092 # Don't use installbsd from OSF since it installs stuff as root
3093 # by default.
3094 for ac_prog in ginstall scoinst install; do
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3097 if test $ac_prog = install &&
3098 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3099 # AIX install. It has an incompatible calling convention.
3101 elif test $ac_prog = install &&
3102 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3103 # program-specific install script used by HP pwplus--don't use.
3105 else
3106 rm -rf conftest.one conftest.two conftest.dir
3107 echo one > conftest.one
3108 echo two > conftest.two
3109 mkdir conftest.dir
3110 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3111 test -s conftest.one && test -s conftest.two &&
3112 test -s conftest.dir/conftest.one &&
3113 test -s conftest.dir/conftest.two
3114 then
3115 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3116 break 3
3120 done
3121 done
3123 esac
3125 done
3126 IFS=$as_save_IFS
3128 rm -rf conftest.one conftest.two conftest.dir
3131 if test "${ac_cv_path_install+set}" = set; then
3132 INSTALL=$ac_cv_path_install
3133 else
3134 # As a last resort, use the slow shell script. Don't cache a
3135 # value for INSTALL within a source directory, because that will
3136 # break other packages using the cache if that directory is
3137 # removed, or if the value is a relative name.
3138 INSTALL=$ac_install_sh
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3142 $as_echo "$INSTALL" >&6; }
3144 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3145 # It thinks the first close brace ends the variable substitution.
3146 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3148 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3150 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3153 $as_echo_n "checking whether build environment is sane... " >&6; }
3154 # Just in case
3155 sleep 1
3156 echo timestamp > conftest.file
3157 # Reject unsafe characters in $srcdir or the absolute working directory
3158 # name. Accept space and tab only in the latter.
3159 am_lf='
3161 case `pwd` in
3162 *[\\\"\#\$\&\'\`$am_lf]*)
3163 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3164 esac
3165 case $srcdir in
3166 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3167 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3168 esac
3170 # Do `set' in a subshell so we don't clobber the current shell's
3171 # arguments. Must try -L first in case configure is actually a
3172 # symlink; some systems play weird games with the mod time of symlinks
3173 # (eg FreeBSD returns the mod time of the symlink's containing
3174 # directory).
3175 if (
3176 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3177 if test "$*" = "X"; then
3178 # -L didn't work.
3179 set X `ls -t "$srcdir/configure" conftest.file`
3181 rm -f conftest.file
3182 if test "$*" != "X $srcdir/configure conftest.file" \
3183 && test "$*" != "X conftest.file $srcdir/configure"; then
3185 # If neither matched, then we have a broken ls. This can happen
3186 # if, for instance, CONFIG_SHELL is bash and it inherits a
3187 # broken ls alias from the environment. This has actually
3188 # happened. Such a system could not be considered "sane".
3189 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3190 alias in your environment" "$LINENO" 5
3193 test "$2" = conftest.file
3195 then
3196 # Ok.
3198 else
3199 as_fn_error "newly created file is older than distributed files!
3200 Check your system clock" "$LINENO" 5
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203 $as_echo "yes" >&6; }
3204 test "$program_prefix" != NONE &&
3205 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3206 # Use a double $ so make ignores it.
3207 test "$program_suffix" != NONE &&
3208 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3209 # Double any \ or $.
3210 # By default was `s,x,x', remove it if useless.
3211 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3212 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3214 # expand $ac_aux_dir to an absolute path
3215 am_aux_dir=`cd $ac_aux_dir && pwd`
3217 if test x"${MISSING+set}" != xset; then
3218 case $am_aux_dir in
3219 *\ * | *\ *)
3220 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3222 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3223 esac
3225 # Use eval to expand $SHELL
3226 if eval "$MISSING --run true"; then
3227 am_missing_run="$MISSING --run "
3228 else
3229 am_missing_run=
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3231 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3234 if test x"${install_sh}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3239 install_sh="\${SHELL} $am_aux_dir/install-sh"
3240 esac
3243 # Installed binaries are usually stripped using `strip' when the user
3244 # run `make install-strip'. However `strip' might not be the right
3245 # tool to use in cross-compilation environments, therefore Automake
3246 # will honor the `STRIP' environment variable to overrule this program.
3247 if test "$cross_compiling" != no; then
3248 if test -n "$ac_tool_prefix"; then
3249 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3250 set dummy ${ac_tool_prefix}strip; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if test "${ac_cv_prog_STRIP+set}" = set; then :
3254 $as_echo_n "(cached) " >&6
3255 else
3256 if test -n "$STRIP"; then
3257 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3262 IFS=$as_save_IFS
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 break 2
3270 done
3271 done
3272 IFS=$as_save_IFS
3276 STRIP=$ac_cv_prog_STRIP
3277 if test -n "$STRIP"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3279 $as_echo "$STRIP" >&6; }
3280 else
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3287 if test -z "$ac_cv_prog_STRIP"; then
3288 ac_ct_STRIP=$STRIP
3289 # Extract the first word of "strip", so it can be a program name with args.
3290 set dummy strip; ac_word=$2
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292 $as_echo_n "checking for $ac_word... " >&6; }
3293 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3295 else
3296 if test -n "$ac_ct_STRIP"; then
3297 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3298 else
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3302 IFS=$as_save_IFS
3303 test -z "$as_dir" && as_dir=.
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3306 ac_cv_prog_ac_ct_STRIP="strip"
3307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 break 2
3310 done
3311 done
3312 IFS=$as_save_IFS
3316 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3317 if test -n "$ac_ct_STRIP"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3319 $as_echo "$ac_ct_STRIP" >&6; }
3320 else
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 $as_echo "no" >&6; }
3325 if test "x$ac_ct_STRIP" = x; then
3326 STRIP=":"
3327 else
3328 case $cross_compiling:$ac_tool_warned in
3329 yes:)
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3332 ac_tool_warned=yes ;;
3333 esac
3334 STRIP=$ac_ct_STRIP
3336 else
3337 STRIP="$ac_cv_prog_STRIP"
3341 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3344 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3345 if test -z "$MKDIR_P"; then
3346 if test "${ac_cv_path_mkdir+set}" = set; then :
3347 $as_echo_n "(cached) " >&6
3348 else
3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3352 IFS=$as_save_IFS
3353 test -z "$as_dir" && as_dir=.
3354 for ac_prog in mkdir gmkdir; do
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3357 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3358 'mkdir (GNU coreutils) '* | \
3359 'mkdir (coreutils) '* | \
3360 'mkdir (fileutils) '4.1*)
3361 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3362 break 3;;
3363 esac
3364 done
3365 done
3366 done
3367 IFS=$as_save_IFS
3371 if test "${ac_cv_path_mkdir+set}" = set; then
3372 MKDIR_P="$ac_cv_path_mkdir -p"
3373 else
3374 # As a last resort, use the slow shell script. Don't cache a
3375 # value for MKDIR_P within a source directory, because that will
3376 # break other packages using the cache if that directory is
3377 # removed, or if the value is a relative name.
3378 test -d ./--version && rmdir ./--version
3379 MKDIR_P="$ac_install_sh -d"
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3383 $as_echo "$MKDIR_P" >&6; }
3385 mkdir_p="$MKDIR_P"
3386 case $mkdir_p in
3387 [\\/$]* | ?:[\\/]*) ;;
3388 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3389 esac
3391 for ac_prog in gawk mawk nawk awk
3393 # Extract the first word of "$ac_prog", so it can be a program name with args.
3394 set dummy $ac_prog; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if test "${ac_cv_prog_AWK+set}" = set; then :
3398 $as_echo_n "(cached) " >&6
3399 else
3400 if test -n "$AWK"; then
3401 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3406 IFS=$as_save_IFS
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_AWK="$ac_prog"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 break 2
3414 done
3415 done
3416 IFS=$as_save_IFS
3420 AWK=$ac_cv_prog_AWK
3421 if test -n "$AWK"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3423 $as_echo "$AWK" >&6; }
3424 else
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3430 test -n "$AWK" && break
3431 done
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3434 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3435 set x ${MAKE-make}
3436 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3437 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3438 $as_echo_n "(cached) " >&6
3439 else
3440 cat >conftest.make <<\_ACEOF
3441 SHELL = /bin/sh
3442 all:
3443 @echo '@@@%%%=$(MAKE)=@@@%%%'
3444 _ACEOF
3445 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3446 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3447 *@@@%%%=?*=@@@%%%*)
3448 eval ac_cv_prog_make_${ac_make}_set=yes;;
3450 eval ac_cv_prog_make_${ac_make}_set=no;;
3451 esac
3452 rm -f conftest.make
3454 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3456 $as_echo "yes" >&6; }
3457 SET_MAKE=
3458 else
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461 SET_MAKE="MAKE=${MAKE-make}"
3464 rm -rf .tst 2>/dev/null
3465 mkdir .tst 2>/dev/null
3466 if test -d .tst; then
3467 am__leading_dot=.
3468 else
3469 am__leading_dot=_
3471 rmdir .tst 2>/dev/null
3473 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3474 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3475 # is not polluted with repeated "-I."
3476 am__isrc=' -I$(srcdir)'
3477 # test to see if srcdir already configured
3478 if test -f $srcdir/config.status; then
3479 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3483 # test whether we have cygpath
3484 if test -z "$CYGPATH_W"; then
3485 if (cygpath --version) >/dev/null 2>/dev/null; then
3486 CYGPATH_W='cygpath -w'
3487 else
3488 CYGPATH_W=echo
3493 # Define the identity of the package.
3494 PACKAGE='libstdc++'
3495 VERSION='version-unused'
3498 # Some tools Automake needs.
3500 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3503 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3506 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3509 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3512 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3514 # We need awk for the "check" target. The system "awk" is bad on
3515 # some platforms.
3516 # Always define AMTAR for backward compatibility.
3518 AMTAR=${AMTAR-"${am_missing_run}tar"}
3520 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3529 # -fno-builtin must be present here so that a non-conflicting form of
3530 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3532 save_CXXFLAGS="$CXXFLAGS"
3533 CXXFLAGS="$CXXFLAGS -fno-builtin"
3534 ac_ext=c
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 if test -n "$ac_tool_prefix"; then
3540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if test "${ac_cv_prog_CC+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3546 else
3547 if test -n "$CC"; then
3548 ac_cv_prog_CC="$CC" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 break 2
3561 done
3562 done
3563 IFS=$as_save_IFS
3567 CC=$ac_cv_prog_CC
3568 if test -n "$CC"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3570 $as_echo "$CC" >&6; }
3571 else
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3578 if test -z "$ac_cv_prog_CC"; then
3579 ac_ct_CC=$CC
3580 # Extract the first word of "gcc", so it can be a program name with args.
3581 set dummy gcc; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3585 $as_echo_n "(cached) " >&6
3586 else
3587 if test -n "$ac_ct_CC"; then
3588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3589 else
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3593 IFS=$as_save_IFS
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 ac_cv_prog_ac_ct_CC="gcc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599 break 2
3601 done
3602 done
3603 IFS=$as_save_IFS
3607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3608 if test -n "$ac_ct_CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3610 $as_echo "$ac_ct_CC" >&6; }
3611 else
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3616 if test "x$ac_ct_CC" = x; then
3617 CC=""
3618 else
3619 case $cross_compiling:$ac_tool_warned in
3620 yes:)
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3623 ac_tool_warned=yes ;;
3624 esac
3625 CC=$ac_ct_CC
3627 else
3628 CC="$ac_cv_prog_CC"
3631 if test -z "$CC"; then
3632 if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3634 set dummy ${ac_tool_prefix}cc; ac_word=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if test "${ac_cv_prog_CC+set}" = set; then :
3638 $as_echo_n "(cached) " >&6
3639 else
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC="$CC" # Let the user override the test.
3642 else
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 for as_dir in $PATH
3646 IFS=$as_save_IFS
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 ac_cv_prog_CC="${ac_tool_prefix}cc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 break 2
3654 done
3655 done
3656 IFS=$as_save_IFS
3660 CC=$ac_cv_prog_CC
3661 if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3664 else
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3672 if test -z "$CC"; then
3673 # Extract the first word of "cc", so it can be a program name with args.
3674 set dummy cc; ac_word=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if test "${ac_cv_prog_CC+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3679 else
3680 if test -n "$CC"; then
3681 ac_cv_prog_CC="$CC" # Let the user override the test.
3682 else
3683 ac_prog_rejected=no
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3692 ac_prog_rejected=yes
3693 continue
3695 ac_cv_prog_CC="cc"
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 break 2
3699 done
3700 done
3701 IFS=$as_save_IFS
3703 if test $ac_prog_rejected = yes; then
3704 # We found a bogon in the path, so make sure we never use it.
3705 set dummy $ac_cv_prog_CC
3706 shift
3707 if test $# != 0; then
3708 # We chose a different compiler from the bogus one.
3709 # However, it has the same basename, so the bogon will be chosen
3710 # first if we set CC to just the basename; use the full file name.
3711 shift
3712 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3717 CC=$ac_cv_prog_CC
3718 if test -n "$CC"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3720 $as_echo "$CC" >&6; }
3721 else
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3728 if test -z "$CC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 for ac_prog in cl.exe
3732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if test "${ac_cv_prog_CC+set}" = set; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3745 IFS=$as_save_IFS
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 break 2
3753 done
3754 done
3755 IFS=$as_save_IFS
3759 CC=$ac_cv_prog_CC
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3769 test -n "$CC" && break
3770 done
3772 if test -z "$CC"; then
3773 ac_ct_CC=$CC
3774 for ac_prog in cl.exe
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy $ac_prog; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 if test -n "$ac_ct_CC"; then
3784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3785 else
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH
3789 IFS=$as_save_IFS
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3793 ac_cv_prog_ac_ct_CC="$ac_prog"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 break 2
3797 done
3798 done
3799 IFS=$as_save_IFS
3803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3804 if test -n "$ac_ct_CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 $as_echo "$ac_ct_CC" >&6; }
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3813 test -n "$ac_ct_CC" && break
3814 done
3816 if test "x$ac_ct_CC" = x; then
3817 CC=""
3818 else
3819 case $cross_compiling:$ac_tool_warned in
3820 yes:)
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned=yes ;;
3824 esac
3825 CC=$ac_ct_CC
3832 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 as_fn_error "no acceptable C compiler found in \$PATH
3835 See \`config.log' for more details." "$LINENO" 5; }
3837 # Provide some information about the compiler.
3838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3839 set X $ac_compile
3840 ac_compiler=$2
3841 for ac_option in --version -v -V -qversion; do
3842 { { ac_try="$ac_compiler $ac_option >&5"
3843 case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3846 esac
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3850 ac_status=$?
3851 if test -s conftest.err; then
3852 sed '10a\
3853 ... rest of stderr output deleted ...
3854 10q' conftest.err >conftest.er1
3855 cat conftest.er1 >&5
3856 rm -f conftest.er1 conftest.err
3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }
3860 done
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3866 main ()
3870 return 0;
3872 _ACEOF
3873 # FIXME: Cleanup?
3874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3875 (eval $ac_link) 2>&5
3876 ac_status=$?
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }; then :
3879 gcc_no_link=no
3880 else
3881 gcc_no_link=yes
3883 if test x$gcc_no_link = xyes; then
3884 # Setting cross_compile will disable run tests; it will
3885 # also disable AC_CHECK_FILE but that's generally
3886 # correct if we can't link.
3887 cross_compiling=yes
3888 EXEEXT=
3889 else
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3894 main ()
3898 return 0;
3900 _ACEOF
3901 ac_clean_files_save=$ac_clean_files
3902 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3903 # Try to create an executable without -o first, disregard a.out.
3904 # It will help us diagnose broken compilers, and finding out an intuition
3905 # of exeext.
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3907 $as_echo_n "checking for C compiler default output file name... " >&6; }
3908 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3910 # The possible output files:
3911 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3913 ac_rmfiles=
3914 for ac_file in $ac_files
3916 case $ac_file in
3917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3918 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3919 esac
3920 done
3921 rm -f $ac_rmfiles
3923 if { { ac_try="$ac_link_default"
3924 case "(($ac_try" in
3925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3927 esac
3928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3929 $as_echo "$ac_try_echo"; } >&5
3930 (eval "$ac_link_default") 2>&5
3931 ac_status=$?
3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933 test $ac_status = 0; }; then :
3934 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3935 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3936 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3937 # so that the user can short-circuit this test for compilers unknown to
3938 # Autoconf.
3939 for ac_file in $ac_files ''
3941 test -f "$ac_file" || continue
3942 case $ac_file in
3943 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3945 [ab].out )
3946 # We found the default executable, but exeext='' is most
3947 # certainly right.
3948 break;;
3949 *.* )
3950 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3951 then :; else
3952 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3954 # We set ac_cv_exeext here because the later test for it is not
3955 # safe: cross compilers may not add the suffix if given an `-o'
3956 # argument, so we may need to know it at that point already.
3957 # Even if this section looks crufty: it has the advantage of
3958 # actually working.
3959 break;;
3961 break;;
3962 esac
3963 done
3964 test "$ac_cv_exeext" = no && ac_cv_exeext=
3966 else
3967 ac_file=''
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3970 $as_echo "$ac_file" >&6; }
3971 if test -z "$ac_file"; then :
3972 $as_echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3977 { as_fn_set_status 77
3978 as_fn_error "C compiler cannot create executables
3979 See \`config.log' for more details." "$LINENO" 5; }; }
3981 ac_exeext=$ac_cv_exeext
3983 # Check that the compiler produces executables we can run. If not, either
3984 # the compiler is broken, or we cross compile.
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3986 $as_echo_n "checking whether the C compiler works... " >&6; }
3987 # If not cross compiling, check that we can run a simple program.
3988 if test "$cross_compiling" != yes; then
3989 if { ac_try='./$ac_file'
3990 { { case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3993 esac
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_try") 2>&5
3997 ac_status=$?
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }; }; then
4000 cross_compiling=no
4001 else
4002 if test "$cross_compiling" = maybe; then
4003 cross_compiling=yes
4004 else
4005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 as_fn_error "cannot run C compiled programs.
4008 If you meant to cross compile, use \`--host'.
4009 See \`config.log' for more details." "$LINENO" 5; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 $as_echo "yes" >&6; }
4016 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4017 ac_clean_files=$ac_clean_files_save
4018 # Check that the compiler produces executables we can run. If not, either
4019 # the compiler is broken, or we cross compile.
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4021 $as_echo_n "checking whether we are cross compiling... " >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4023 $as_echo "$cross_compiling" >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4026 $as_echo_n "checking for suffix of executables... " >&6; }
4027 if { { ac_try="$ac_link"
4028 case "(($ac_try" in
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4031 esac
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_link") 2>&5
4035 ac_status=$?
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; then :
4038 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4039 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4040 # work properly (i.e., refer to `conftest.exe'), while it won't with
4041 # `rm'.
4042 for ac_file in conftest.exe conftest conftest.*; do
4043 test -f "$ac_file" || continue
4044 case $ac_file in
4045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4046 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4047 break;;
4048 * ) break;;
4049 esac
4050 done
4051 else
4052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 as_fn_error "cannot compute suffix of executables: cannot compile and link
4055 See \`config.log' for more details." "$LINENO" 5; }
4057 rm -f conftest$ac_cv_exeext
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4059 $as_echo "$ac_cv_exeext" >&6; }
4061 rm -f conftest.$ac_ext
4062 EXEEXT=$ac_cv_exeext
4063 ac_exeext=$EXEEXT
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4066 $as_echo_n "checking for suffix of object files... " >&6; }
4067 if test "${ac_cv_objext+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4069 else
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4074 main ()
4078 return 0;
4080 _ACEOF
4081 rm -f conftest.o conftest.obj
4082 if { { ac_try="$ac_compile"
4083 case "(($ac_try" in
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4086 esac
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 $as_echo "$ac_try_echo"; } >&5
4089 (eval "$ac_compile") 2>&5
4090 ac_status=$?
4091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }; then :
4093 for ac_file in conftest.o conftest.obj conftest.*; do
4094 test -f "$ac_file" || continue;
4095 case $ac_file in
4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4097 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4098 break;;
4099 esac
4100 done
4101 else
4102 $as_echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.$ac_ext >&5
4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4107 as_fn_error "cannot compute suffix of object files: cannot compile
4108 See \`config.log' for more details." "$LINENO" 5; }
4110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4113 $as_echo "$ac_cv_objext" >&6; }
4114 OBJEXT=$ac_cv_objext
4115 ac_objext=$OBJEXT
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4117 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4118 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4120 else
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4125 main ()
4127 #ifndef __GNUC__
4128 choke me
4129 #endif
4132 return 0;
4134 _ACEOF
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136 ac_compiler_gnu=yes
4137 else
4138 ac_compiler_gnu=no
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4145 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4146 if test $ac_compiler_gnu = yes; then
4147 GCC=yes
4148 else
4149 GCC=
4151 ac_test_CFLAGS=${CFLAGS+set}
4152 ac_save_CFLAGS=$CFLAGS
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4154 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4155 if test "${ac_cv_prog_cc_g+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 ac_save_c_werror_flag=$ac_c_werror_flag
4159 ac_c_werror_flag=yes
4160 ac_cv_prog_cc_g=no
4161 CFLAGS="-g"
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4166 main ()
4170 return 0;
4172 _ACEOF
4173 if ac_fn_c_try_compile "$LINENO"; then :
4174 ac_cv_prog_cc_g=yes
4175 else
4176 CFLAGS=""
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4181 main ()
4185 return 0;
4187 _ACEOF
4188 if ac_fn_c_try_compile "$LINENO"; then :
4190 else
4191 ac_c_werror_flag=$ac_save_c_werror_flag
4192 CFLAGS="-g"
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205 ac_cv_prog_cc_g=yes
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 ac_c_werror_flag=$ac_save_c_werror_flag
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4215 $as_echo "$ac_cv_prog_cc_g" >&6; }
4216 if test "$ac_test_CFLAGS" = set; then
4217 CFLAGS=$ac_save_CFLAGS
4218 elif test $ac_cv_prog_cc_g = yes; then
4219 if test "$GCC" = yes; then
4220 CFLAGS="-g -O2"
4221 else
4222 CFLAGS="-g"
4224 else
4225 if test "$GCC" = yes; then
4226 CFLAGS="-O2"
4227 else
4228 CFLAGS=
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4232 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4233 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4234 $as_echo_n "(cached) " >&6
4235 else
4236 ac_cv_prog_cc_c89=no
4237 ac_save_CC=$CC
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4240 #include <stdarg.h>
4241 #include <stdio.h>
4242 #include <sys/types.h>
4243 #include <sys/stat.h>
4244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4245 struct buf { int x; };
4246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4247 static char *e (p, i)
4248 char **p;
4249 int i;
4251 return p[i];
4253 static char *f (char * (*g) (char **, int), char **p, ...)
4255 char *s;
4256 va_list v;
4257 va_start (v,p);
4258 s = g (p, va_arg (v,int));
4259 va_end (v);
4260 return s;
4263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4264 function prototypes and stuff, but not '\xHH' hex character constants.
4265 These don't provoke an error unfortunately, instead are silently treated
4266 as 'x'. The following induces an error, until -std is added to get
4267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4268 array size at least. It's necessary to write '\x00'==0 to get something
4269 that's true only with -std. */
4270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4272 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4273 inside strings and character constants. */
4274 #define FOO(x) 'x'
4275 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4277 int test (int i, double x);
4278 struct s1 {int (*f) (int a);};
4279 struct s2 {int (*f) (double a);};
4280 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4281 int argc;
4282 char **argv;
4284 main ()
4286 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4288 return 0;
4290 _ACEOF
4291 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4292 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4294 CC="$ac_save_CC $ac_arg"
4295 if ac_fn_c_try_compile "$LINENO"; then :
4296 ac_cv_prog_cc_c89=$ac_arg
4298 rm -f core conftest.err conftest.$ac_objext
4299 test "x$ac_cv_prog_cc_c89" != "xno" && break
4300 done
4301 rm -f conftest.$ac_ext
4302 CC=$ac_save_CC
4305 # AC_CACHE_VAL
4306 case "x$ac_cv_prog_cc_c89" in
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4309 $as_echo "none needed" >&6; } ;;
4310 xno)
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4312 $as_echo "unsupported" >&6; } ;;
4314 CC="$CC $ac_cv_prog_cc_c89"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4316 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4317 esac
4318 if test "x$ac_cv_prog_cc_c89" != xno; then :
4322 ac_ext=c
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 ac_ext=cpp
4329 ac_cpp='$CXXCPP $CPPFLAGS'
4330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4333 if test -z "$CXX"; then
4334 if test -n "$CCC"; then
4335 CXX=$CCC
4336 else
4337 if test -n "$ac_tool_prefix"; then
4338 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4340 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4341 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if test "${ac_cv_prog_CXX+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 if test -n "$CXX"; then
4348 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4349 else
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 for as_dir in $PATH
4353 IFS=$as_save_IFS
4354 test -z "$as_dir" && as_dir=.
4355 for ac_exec_ext in '' $ac_executable_extensions; do
4356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4357 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4359 break 2
4361 done
4362 done
4363 IFS=$as_save_IFS
4367 CXX=$ac_cv_prog_CXX
4368 if test -n "$CXX"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4370 $as_echo "$CXX" >&6; }
4371 else
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4377 test -n "$CXX" && break
4378 done
4380 if test -z "$CXX"; then
4381 ac_ct_CXX=$CXX
4382 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4384 # Extract the first word of "$ac_prog", so it can be a program name with args.
4385 set dummy $ac_prog; ac_word=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4389 $as_echo_n "(cached) " >&6
4390 else
4391 if test -n "$ac_ct_CXX"; then
4392 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4393 else
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH
4397 IFS=$as_save_IFS
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4401 ac_cv_prog_ac_ct_CXX="$ac_prog"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 break 2
4405 done
4406 done
4407 IFS=$as_save_IFS
4411 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4412 if test -n "$ac_ct_CXX"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4414 $as_echo "$ac_ct_CXX" >&6; }
4415 else
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4421 test -n "$ac_ct_CXX" && break
4422 done
4424 if test "x$ac_ct_CXX" = x; then
4425 CXX="g++"
4426 else
4427 case $cross_compiling:$ac_tool_warned in
4428 yes:)
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4431 ac_tool_warned=yes ;;
4432 esac
4433 CXX=$ac_ct_CXX
4439 # Provide some information about the compiler.
4440 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4441 set X $ac_compile
4442 ac_compiler=$2
4443 for ac_option in --version -v -V -qversion; do
4444 { { ac_try="$ac_compiler $ac_option >&5"
4445 case "(($ac_try" in
4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4448 esac
4449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4450 $as_echo "$ac_try_echo"; } >&5
4451 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4452 ac_status=$?
4453 if test -s conftest.err; then
4454 sed '10a\
4455 ... rest of stderr output deleted ...
4456 10q' conftest.err >conftest.er1
4457 cat conftest.er1 >&5
4458 rm -f conftest.er1 conftest.err
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }
4462 done
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4465 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4466 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4473 main ()
4475 #ifndef __GNUC__
4476 choke me
4477 #endif
4480 return 0;
4482 _ACEOF
4483 if ac_fn_cxx_try_compile "$LINENO"; then :
4484 ac_compiler_gnu=yes
4485 else
4486 ac_compiler_gnu=no
4488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4493 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4494 if test $ac_compiler_gnu = yes; then
4495 GXX=yes
4496 else
4497 GXX=
4499 ac_test_CXXFLAGS=${CXXFLAGS+set}
4500 ac_save_CXXFLAGS=$CXXFLAGS
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4502 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4503 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4507 ac_cxx_werror_flag=yes
4508 ac_cv_prog_cxx_g=no
4509 CXXFLAGS="-g"
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4514 main ()
4518 return 0;
4520 _ACEOF
4521 if ac_fn_cxx_try_compile "$LINENO"; then :
4522 ac_cv_prog_cxx_g=yes
4523 else
4524 CXXFLAGS=""
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 main ()
4533 return 0;
4535 _ACEOF
4536 if ac_fn_cxx_try_compile "$LINENO"; then :
4538 else
4539 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4540 CXXFLAGS="-g"
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4545 main ()
4549 return 0;
4551 _ACEOF
4552 if ac_fn_cxx_try_compile "$LINENO"; then :
4553 ac_cv_prog_cxx_g=yes
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4563 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4564 if test "$ac_test_CXXFLAGS" = set; then
4565 CXXFLAGS=$ac_save_CXXFLAGS
4566 elif test $ac_cv_prog_cxx_g = yes; then
4567 if test "$GXX" = yes; then
4568 CXXFLAGS="-g -O2"
4569 else
4570 CXXFLAGS="-g"
4572 else
4573 if test "$GXX" = yes; then
4574 CXXFLAGS="-O2"
4575 else
4576 CXXFLAGS=
4579 ac_ext=c
4580 ac_cpp='$CPP $CPPFLAGS'
4581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4585 CXXFLAGS="$save_CXXFLAGS"
4587 # Runs configure.host, and assorted other critical bits. Sets
4588 # up critical shell variables.
4590 ac_ext=c
4591 ac_cpp='$CPP $CPPFLAGS'
4592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4596 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4597 # On Suns, sometimes $CPP names a directory.
4598 if test -n "$CPP" && test -d "$CPP"; then
4599 CPP=
4601 if test -z "$CPP"; then
4602 if test "${ac_cv_prog_CPP+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 # Double quotes because CPP needs to be expanded
4606 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4608 ac_preproc_ok=false
4609 for ac_c_preproc_warn_flag in '' yes
4611 # Use a header file that comes with gcc, so configuring glibc
4612 # with a fresh cross-compiler works.
4613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4614 # <limits.h> exists even on freestanding compilers.
4615 # On the NeXT, cc -E runs the code through the compiler's parser,
4616 # not just through cpp. "Syntax error" is here to catch this case.
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4619 #ifdef __STDC__
4620 # include <limits.h>
4621 #else
4622 # include <assert.h>
4623 #endif
4624 Syntax error
4625 _ACEOF
4626 if ac_fn_c_try_cpp "$LINENO"; then :
4628 else
4629 # Broken: fails on valid input.
4630 continue
4632 rm -f conftest.err conftest.$ac_ext
4634 # OK, works on sane cases. Now check whether nonexistent headers
4635 # can be detected and how.
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4638 #include <ac_nonexistent.h>
4639 _ACEOF
4640 if ac_fn_c_try_cpp "$LINENO"; then :
4641 # Broken: success on invalid input.
4642 continue
4643 else
4644 # Passes both tests.
4645 ac_preproc_ok=:
4646 break
4648 rm -f conftest.err conftest.$ac_ext
4650 done
4651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4652 rm -f conftest.err conftest.$ac_ext
4653 if $ac_preproc_ok; then :
4654 break
4657 done
4658 ac_cv_prog_CPP=$CPP
4661 CPP=$ac_cv_prog_CPP
4662 else
4663 ac_cv_prog_CPP=$CPP
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4666 $as_echo "$CPP" >&6; }
4667 ac_preproc_ok=false
4668 for ac_c_preproc_warn_flag in '' yes
4670 # Use a header file that comes with gcc, so configuring glibc
4671 # with a fresh cross-compiler works.
4672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4673 # <limits.h> exists even on freestanding compilers.
4674 # On the NeXT, cc -E runs the code through the compiler's parser,
4675 # not just through cpp. "Syntax error" is here to catch this case.
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4678 #ifdef __STDC__
4679 # include <limits.h>
4680 #else
4681 # include <assert.h>
4682 #endif
4683 Syntax error
4684 _ACEOF
4685 if ac_fn_c_try_cpp "$LINENO"; then :
4687 else
4688 # Broken: fails on valid input.
4689 continue
4691 rm -f conftest.err conftest.$ac_ext
4693 # OK, works on sane cases. Now check whether nonexistent headers
4694 # can be detected and how.
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4697 #include <ac_nonexistent.h>
4698 _ACEOF
4699 if ac_fn_c_try_cpp "$LINENO"; then :
4700 # Broken: success on invalid input.
4701 continue
4702 else
4703 # Passes both tests.
4704 ac_preproc_ok=:
4705 break
4707 rm -f conftest.err conftest.$ac_ext
4709 done
4710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4711 rm -f conftest.err conftest.$ac_ext
4712 if $ac_preproc_ok; then :
4714 else
4715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4717 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4718 See \`config.log' for more details." "$LINENO" 5; }
4721 ac_ext=c
4722 ac_cpp='$CPP $CPPFLAGS'
4723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4729 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4730 if test "${ac_cv_path_GREP+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4732 else
4733 if test -z "$GREP"; then
4734 ac_path_GREP_found=false
4735 # Loop through the user's path and test for each of PROGNAME-LIST
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4739 IFS=$as_save_IFS
4740 test -z "$as_dir" && as_dir=.
4741 for ac_prog in grep ggrep; do
4742 for ac_exec_ext in '' $ac_executable_extensions; do
4743 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4744 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4745 # Check for GNU ac_path_GREP and select it if it is found.
4746 # Check for GNU $ac_path_GREP
4747 case `"$ac_path_GREP" --version 2>&1` in
4748 *GNU*)
4749 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4751 ac_count=0
4752 $as_echo_n 0123456789 >"conftest.in"
4753 while :
4755 cat "conftest.in" "conftest.in" >"conftest.tmp"
4756 mv "conftest.tmp" "conftest.in"
4757 cp "conftest.in" "conftest.nl"
4758 $as_echo 'GREP' >> "conftest.nl"
4759 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4760 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4761 as_fn_arith $ac_count + 1 && ac_count=$as_val
4762 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4763 # Best one so far, save it but keep looking for a better one
4764 ac_cv_path_GREP="$ac_path_GREP"
4765 ac_path_GREP_max=$ac_count
4767 # 10*(2^10) chars as input seems more than enough
4768 test $ac_count -gt 10 && break
4769 done
4770 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4771 esac
4773 $ac_path_GREP_found && break 3
4774 done
4775 done
4776 done
4777 IFS=$as_save_IFS
4778 if test -z "$ac_cv_path_GREP"; then
4779 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4781 else
4782 ac_cv_path_GREP=$GREP
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4787 $as_echo "$ac_cv_path_GREP" >&6; }
4788 GREP="$ac_cv_path_GREP"
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4792 $as_echo_n "checking for egrep... " >&6; }
4793 if test "${ac_cv_path_EGREP+set}" = set; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4797 then ac_cv_path_EGREP="$GREP -E"
4798 else
4799 if test -z "$EGREP"; then
4800 ac_path_EGREP_found=false
4801 # Loop through the user's path and test for each of PROGNAME-LIST
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4805 IFS=$as_save_IFS
4806 test -z "$as_dir" && as_dir=.
4807 for ac_prog in egrep; do
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4810 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4811 # Check for GNU ac_path_EGREP and select it if it is found.
4812 # Check for GNU $ac_path_EGREP
4813 case `"$ac_path_EGREP" --version 2>&1` in
4814 *GNU*)
4815 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4817 ac_count=0
4818 $as_echo_n 0123456789 >"conftest.in"
4819 while :
4821 cat "conftest.in" "conftest.in" >"conftest.tmp"
4822 mv "conftest.tmp" "conftest.in"
4823 cp "conftest.in" "conftest.nl"
4824 $as_echo 'EGREP' >> "conftest.nl"
4825 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4826 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4827 as_fn_arith $ac_count + 1 && ac_count=$as_val
4828 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4829 # Best one so far, save it but keep looking for a better one
4830 ac_cv_path_EGREP="$ac_path_EGREP"
4831 ac_path_EGREP_max=$ac_count
4833 # 10*(2^10) chars as input seems more than enough
4834 test $ac_count -gt 10 && break
4835 done
4836 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4837 esac
4839 $ac_path_EGREP_found && break 3
4840 done
4841 done
4842 done
4843 IFS=$as_save_IFS
4844 if test -z "$ac_cv_path_EGREP"; then
4845 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4847 else
4848 ac_cv_path_EGREP=$EGREP
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4854 $as_echo "$ac_cv_path_EGREP" >&6; }
4855 EGREP="$ac_cv_path_EGREP"
4859 # Keep these sync'd with the list in Makefile.am. The first provides an
4860 # expandable list at autoconf time; the second provides an expandable list
4861 # (i.e., shell variable) at configure time.
4863 SUBDIRS='include libsupc++ python src doc po testsuite'
4865 # These need to be absolute paths, yet at the same time need to
4866 # canonicalize only relative paths, because then amd will not unmount
4867 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4868 glibcxx_builddir=`${PWDCMD-pwd}`
4869 case $srcdir in
4870 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4871 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4872 esac
4873 toplevel_builddir=${glibcxx_builddir}/..
4874 toplevel_srcdir=${glibcxx_srcdir}/..
4880 # We use these options to decide which functions to include. They are
4881 # set from the top level.
4883 # Check whether --with-target-subdir was given.
4884 if test "${with_target_subdir+set}" = set; then :
4885 withval=$with_target_subdir;
4890 # Check whether --with-cross-host was given.
4891 if test "${with_cross_host+set}" = set; then :
4892 withval=$with_cross_host;
4897 # Check whether --with-newlib was given.
4898 if test "${with_newlib+set}" = set; then :
4899 withval=$with_newlib;
4903 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4904 # available). Uncomment the next line to force a particular method.
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4906 $as_echo_n "checking whether ln -s works... " >&6; }
4907 LN_S=$as_ln_s
4908 if test "$LN_S" = "ln -s"; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4910 $as_echo "yes" >&6; }
4911 else
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4913 $as_echo "no, using $LN_S" >&6; }
4916 #LN_S='cp -p'
4918 if test -n "$ac_tool_prefix"; then
4919 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4920 set dummy ${ac_tool_prefix}as; ac_word=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if test "${ac_cv_prog_AS+set}" = set; then :
4924 $as_echo_n "(cached) " >&6
4925 else
4926 if test -n "$AS"; then
4927 ac_cv_prog_AS="$AS" # Let the user override the test.
4928 else
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 for as_dir in $PATH
4932 IFS=$as_save_IFS
4933 test -z "$as_dir" && as_dir=.
4934 for ac_exec_ext in '' $ac_executable_extensions; do
4935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4936 ac_cv_prog_AS="${ac_tool_prefix}as"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 break 2
4940 done
4941 done
4942 IFS=$as_save_IFS
4946 AS=$ac_cv_prog_AS
4947 if test -n "$AS"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4949 $as_echo "$AS" >&6; }
4950 else
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4957 if test -z "$ac_cv_prog_AS"; then
4958 ac_ct_AS=$AS
4959 # Extract the first word of "as", so it can be a program name with args.
4960 set dummy as; ac_word=$2
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962 $as_echo_n "checking for $ac_word... " >&6; }
4963 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4964 $as_echo_n "(cached) " >&6
4965 else
4966 if test -n "$ac_ct_AS"; then
4967 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4968 else
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 for as_dir in $PATH
4972 IFS=$as_save_IFS
4973 test -z "$as_dir" && as_dir=.
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4976 ac_cv_prog_ac_ct_AS="as"
4977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978 break 2
4980 done
4981 done
4982 IFS=$as_save_IFS
4986 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4987 if test -n "$ac_ct_AS"; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4989 $as_echo "$ac_ct_AS" >&6; }
4990 else
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4995 if test "x$ac_ct_AS" = x; then
4996 AS=""
4997 else
4998 case $cross_compiling:$ac_tool_warned in
4999 yes:)
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5002 ac_tool_warned=yes ;;
5003 esac
5004 AS=$ac_ct_AS
5006 else
5007 AS="$ac_cv_prog_AS"
5010 if test -n "$ac_tool_prefix"; then
5011 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5012 set dummy ${ac_tool_prefix}ar; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_AR+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$AR"; then
5019 ac_cv_prog_AR="$AR" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_AR="${ac_tool_prefix}ar"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5032 done
5033 done
5034 IFS=$as_save_IFS
5038 AR=$ac_cv_prog_AR
5039 if test -n "$AR"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5041 $as_echo "$AR" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5049 if test -z "$ac_cv_prog_AR"; then
5050 ac_ct_AR=$AR
5051 # Extract the first word of "ar", so it can be a program name with args.
5052 set dummy ar; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$ac_ct_AR"; then
5059 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_ac_ct_AR="ar"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5072 done
5073 done
5074 IFS=$as_save_IFS
5078 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5079 if test -n "$ac_ct_AR"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5081 $as_echo "$ac_ct_AR" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5087 if test "x$ac_ct_AR" = x; then
5088 AR=""
5089 else
5090 case $cross_compiling:$ac_tool_warned in
5091 yes:)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5094 ac_tool_warned=yes ;;
5095 esac
5096 AR=$ac_ct_AR
5098 else
5099 AR="$ac_cv_prog_AR"
5102 if test -n "$ac_tool_prefix"; then
5103 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$RANLIB"; then
5111 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5124 done
5125 done
5126 IFS=$as_save_IFS
5130 RANLIB=$ac_cv_prog_RANLIB
5131 if test -n "$RANLIB"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5133 $as_echo "$RANLIB" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5141 if test -z "$ac_cv_prog_RANLIB"; then
5142 ac_ct_RANLIB=$RANLIB
5143 # Extract the first word of "ranlib", so it can be a program name with args.
5144 set dummy ranlib; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$ac_ct_RANLIB"; then
5151 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_RANLIB="ranlib"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5164 done
5165 done
5166 IFS=$as_save_IFS
5170 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5171 if test -n "$ac_ct_RANLIB"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5173 $as_echo "$ac_ct_RANLIB" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5179 if test "x$ac_ct_RANLIB" = x; then
5180 RANLIB="ranlib-not-found-in-path-error"
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 RANLIB=$ac_ct_RANLIB
5190 else
5191 RANLIB="$ac_cv_prog_RANLIB"
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5197 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5198 # Check whether --enable-maintainer-mode was given.
5199 if test "${enable_maintainer_mode+set}" = set; then :
5200 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5201 else
5202 USE_MAINTAINER_MODE=no
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5206 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5207 if test $USE_MAINTAINER_MODE = yes; then
5208 MAINTAINER_MODE_TRUE=
5209 MAINTAINER_MODE_FALSE='#'
5210 else
5211 MAINTAINER_MODE_TRUE='#'
5212 MAINTAINER_MODE_FALSE=
5215 MAINT=$MAINTAINER_MODE_TRUE
5219 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5220 # which are themselves conditionally expanded.
5221 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5222 ## other macros from doing the same. This should be automated.) -pme
5224 # Check for C library flavor since GNU/Linux platforms use different
5225 # configuration directories depending on the C library in use.
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5229 #include <stdio.h>
5230 #if __UCLIBC__
5231 _using_uclibc
5232 #endif
5234 _ACEOF
5235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5236 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5237 uclibc=yes
5238 else
5239 uclibc=no
5241 rm -f conftest*
5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5247 #include <stdio.h>
5248 #if __BIONIC__
5249 _using_bionic
5250 #endif
5252 _ACEOF
5253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5254 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5255 bionic=yes
5256 else
5257 bionic=no
5259 rm -f conftest*
5262 # Find platform-specific directories containing configuration info.
5263 # Also possibly modify flags used elsewhere, as needed by the platform.
5265 . $glibcxx_srcdir/configure.host
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5267 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5269 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5273 if test "x${with_newlib}" != "xyes"; then
5274 enable_dlopen=yes
5279 case `pwd` in
5280 *\ * | *\ *)
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5282 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5283 esac
5287 macro_version='2.2.7a'
5288 macro_revision='1.3134'
5302 ltmain="$ac_aux_dir/ltmain.sh"
5304 # Backslashify metacharacters that are still active within
5305 # double-quoted strings.
5306 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5308 # Same as above, but do not quote variable references.
5309 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5311 # Sed substitution to delay expansion of an escaped shell variable in a
5312 # double_quote_subst'ed string.
5313 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5315 # Sed substitution to delay expansion of an escaped single quote.
5316 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5318 # Sed substitution to avoid accidental globbing in evaled expressions
5319 no_glob_subst='s/\*/\\\*/g'
5321 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5322 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5323 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5326 $as_echo_n "checking how to print strings... " >&6; }
5327 # Test print first, because it will be a builtin if present.
5328 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5329 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5330 ECHO='print -r --'
5331 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5332 ECHO='printf %s\n'
5333 else
5334 # Use this function as a fallback that always works.
5335 func_fallback_echo ()
5337 eval 'cat <<_LTECHO_EOF
5339 _LTECHO_EOF'
5341 ECHO='func_fallback_echo'
5344 # func_echo_all arg...
5345 # Invoke $ECHO with all args, space-separated.
5346 func_echo_all ()
5348 $ECHO ""
5351 case "$ECHO" in
5352 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5353 $as_echo "printf" >&6; } ;;
5354 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5355 $as_echo "print -r" >&6; } ;;
5356 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5357 $as_echo "cat" >&6; } ;;
5358 esac
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5374 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5375 if test "${ac_cv_path_SED+set}" = set; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5379 for ac_i in 1 2 3 4 5 6 7; do
5380 ac_script="$ac_script$as_nl$ac_script"
5381 done
5382 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5383 { ac_script=; unset ac_script;}
5384 if test -z "$SED"; then
5385 ac_path_SED_found=false
5386 # Loop through the user's path and test for each of PROGNAME-LIST
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_prog in sed gsed; do
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5395 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5396 # Check for GNU ac_path_SED and select it if it is found.
5397 # Check for GNU $ac_path_SED
5398 case `"$ac_path_SED" --version 2>&1` in
5399 *GNU*)
5400 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5402 ac_count=0
5403 $as_echo_n 0123456789 >"conftest.in"
5404 while :
5406 cat "conftest.in" "conftest.in" >"conftest.tmp"
5407 mv "conftest.tmp" "conftest.in"
5408 cp "conftest.in" "conftest.nl"
5409 $as_echo '' >> "conftest.nl"
5410 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5411 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5412 as_fn_arith $ac_count + 1 && ac_count=$as_val
5413 if test $ac_count -gt ${ac_path_SED_max-0}; then
5414 # Best one so far, save it but keep looking for a better one
5415 ac_cv_path_SED="$ac_path_SED"
5416 ac_path_SED_max=$ac_count
5418 # 10*(2^10) chars as input seems more than enough
5419 test $ac_count -gt 10 && break
5420 done
5421 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5422 esac
5424 $ac_path_SED_found && break 3
5425 done
5426 done
5427 done
5428 IFS=$as_save_IFS
5429 if test -z "$ac_cv_path_SED"; then
5430 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5432 else
5433 ac_cv_path_SED=$SED
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5438 $as_echo "$ac_cv_path_SED" >&6; }
5439 SED="$ac_cv_path_SED"
5440 rm -f conftest.sed
5442 test -z "$SED" && SED=sed
5443 Xsed="$SED -e 1s/^X//"
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5456 $as_echo_n "checking for fgrep... " >&6; }
5457 if test "${ac_cv_path_FGREP+set}" = set; then :
5458 $as_echo_n "(cached) " >&6
5459 else
5460 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5461 then ac_cv_path_FGREP="$GREP -F"
5462 else
5463 if test -z "$FGREP"; then
5464 ac_path_FGREP_found=false
5465 # Loop through the user's path and test for each of PROGNAME-LIST
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5469 IFS=$as_save_IFS
5470 test -z "$as_dir" && as_dir=.
5471 for ac_prog in fgrep; do
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5474 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5475 # Check for GNU ac_path_FGREP and select it if it is found.
5476 # Check for GNU $ac_path_FGREP
5477 case `"$ac_path_FGREP" --version 2>&1` in
5478 *GNU*)
5479 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5481 ac_count=0
5482 $as_echo_n 0123456789 >"conftest.in"
5483 while :
5485 cat "conftest.in" "conftest.in" >"conftest.tmp"
5486 mv "conftest.tmp" "conftest.in"
5487 cp "conftest.in" "conftest.nl"
5488 $as_echo 'FGREP' >> "conftest.nl"
5489 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5490 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5491 as_fn_arith $ac_count + 1 && ac_count=$as_val
5492 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5493 # Best one so far, save it but keep looking for a better one
5494 ac_cv_path_FGREP="$ac_path_FGREP"
5495 ac_path_FGREP_max=$ac_count
5497 # 10*(2^10) chars as input seems more than enough
5498 test $ac_count -gt 10 && break
5499 done
5500 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5501 esac
5503 $ac_path_FGREP_found && break 3
5504 done
5505 done
5506 done
5507 IFS=$as_save_IFS
5508 if test -z "$ac_cv_path_FGREP"; then
5509 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5511 else
5512 ac_cv_path_FGREP=$FGREP
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5518 $as_echo "$ac_cv_path_FGREP" >&6; }
5519 FGREP="$ac_cv_path_FGREP"
5522 test -z "$GREP" && GREP=grep
5542 # Check whether --with-gnu-ld was given.
5543 if test "${with_gnu_ld+set}" = set; then :
5544 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5545 else
5546 with_gnu_ld=no
5549 ac_prog=ld
5550 if test "$GCC" = yes; then
5551 # Check if gcc -print-prog-name=ld gives a path.
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5553 $as_echo_n "checking for ld used by $CC... " >&6; }
5554 case $host in
5555 *-*-mingw*)
5556 # gcc leaves a trailing carriage return which upsets mingw
5557 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5559 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5560 esac
5561 case $ac_prog in
5562 # Accept absolute paths.
5563 [\\/]* | ?:[\\/]*)
5564 re_direlt='/[^/][^/]*/\.\./'
5565 # Canonicalize the pathname of ld
5566 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5567 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5568 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5569 done
5570 test -z "$LD" && LD="$ac_prog"
5573 # If it fails, then pretend we aren't using GCC.
5574 ac_prog=ld
5577 # If it is relative, then search for the first ld in PATH.
5578 with_gnu_ld=unknown
5580 esac
5581 elif test "$with_gnu_ld" = yes; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5583 $as_echo_n "checking for GNU ld... " >&6; }
5584 else
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5586 $as_echo_n "checking for non-GNU ld... " >&6; }
5588 if test "${lt_cv_path_LD+set}" = set; then :
5589 $as_echo_n "(cached) " >&6
5590 else
5591 if test -z "$LD"; then
5592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5593 for ac_dir in $PATH; do
5594 IFS="$lt_save_ifs"
5595 test -z "$ac_dir" && ac_dir=.
5596 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5597 lt_cv_path_LD="$ac_dir/$ac_prog"
5598 # Check to see if the program is GNU ld. I'd rather use --version,
5599 # but apparently some variants of GNU ld only accept -v.
5600 # Break only if it was the GNU/non-GNU ld that we prefer.
5601 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5602 *GNU* | *'with BFD'*)
5603 test "$with_gnu_ld" != no && break
5606 test "$with_gnu_ld" != yes && break
5608 esac
5610 done
5611 IFS="$lt_save_ifs"
5612 else
5613 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5617 LD="$lt_cv_path_LD"
5618 if test -n "$LD"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5620 $as_echo "$LD" >&6; }
5621 else
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5625 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5627 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5628 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5629 $as_echo_n "(cached) " >&6
5630 else
5631 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5632 case `$LD -v 2>&1 </dev/null` in
5633 *GNU* | *'with BFD'*)
5634 lt_cv_prog_gnu_ld=yes
5637 lt_cv_prog_gnu_ld=no
5639 esac
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5642 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5643 with_gnu_ld=$lt_cv_prog_gnu_ld
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5654 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5655 if test "${lt_cv_path_NM+set}" = set; then :
5656 $as_echo_n "(cached) " >&6
5657 else
5658 if test -n "$NM"; then
5659 # Let the user override the test.
5660 lt_cv_path_NM="$NM"
5661 else
5662 lt_nm_to_check="${ac_tool_prefix}nm"
5663 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5664 lt_nm_to_check="$lt_nm_to_check nm"
5666 for lt_tmp_nm in $lt_nm_to_check; do
5667 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5668 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5669 IFS="$lt_save_ifs"
5670 test -z "$ac_dir" && ac_dir=.
5671 tmp_nm="$ac_dir/$lt_tmp_nm"
5672 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5673 # Check to see if the nm accepts a BSD-compat flag.
5674 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5675 # nm: unknown option "B" ignored
5676 # Tru64's nm complains that /dev/null is an invalid object file
5677 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5678 */dev/null* | *'Invalid file or object type'*)
5679 lt_cv_path_NM="$tmp_nm -B"
5680 break
5683 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5684 */dev/null*)
5685 lt_cv_path_NM="$tmp_nm -p"
5686 break
5689 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5690 continue # so that we can try to find one that supports BSD flags
5692 esac
5694 esac
5696 done
5697 IFS="$lt_save_ifs"
5698 done
5699 : ${lt_cv_path_NM=no}
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5703 $as_echo "$lt_cv_path_NM" >&6; }
5704 if test "$lt_cv_path_NM" != "no"; then
5705 NM="$lt_cv_path_NM"
5706 else
5707 # Didn't find any BSD compatible name lister, look for dumpbin.
5708 if test -n "$DUMPBIN"; then :
5709 # Let the user override the test.
5710 else
5711 if test -n "$ac_tool_prefix"; then
5712 for ac_prog in dumpbin "link -dump"
5714 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5715 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$DUMPBIN"; then
5722 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5731 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 DUMPBIN=$ac_cv_prog_DUMPBIN
5742 if test -n "$DUMPBIN"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5744 $as_echo "$DUMPBIN" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5751 test -n "$DUMPBIN" && break
5752 done
5754 if test -z "$DUMPBIN"; then
5755 ac_ct_DUMPBIN=$DUMPBIN
5756 for ac_prog in dumpbin "link -dump"
5758 # Extract the first word of "$ac_prog", so it can be a program name with args.
5759 set dummy $ac_prog; ac_word=$2
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5761 $as_echo_n "checking for $ac_word... " >&6; }
5762 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5763 $as_echo_n "(cached) " >&6
5764 else
5765 if test -n "$ac_ct_DUMPBIN"; then
5766 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5767 else
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 for as_dir in $PATH
5771 IFS=$as_save_IFS
5772 test -z "$as_dir" && as_dir=.
5773 for ac_exec_ext in '' $ac_executable_extensions; do
5774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5775 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777 break 2
5779 done
5780 done
5781 IFS=$as_save_IFS
5785 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5786 if test -n "$ac_ct_DUMPBIN"; then
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5788 $as_echo "$ac_ct_DUMPBIN" >&6; }
5789 else
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5791 $as_echo "no" >&6; }
5795 test -n "$ac_ct_DUMPBIN" && break
5796 done
5798 if test "x$ac_ct_DUMPBIN" = x; then
5799 DUMPBIN=":"
5800 else
5801 case $cross_compiling:$ac_tool_warned in
5802 yes:)
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5805 ac_tool_warned=yes ;;
5806 esac
5807 DUMPBIN=$ac_ct_DUMPBIN
5811 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5812 *COFF*)
5813 DUMPBIN="$DUMPBIN -symbols"
5816 DUMPBIN=:
5818 esac
5821 if test "$DUMPBIN" != ":"; then
5822 NM="$DUMPBIN"
5825 test -z "$NM" && NM=nm
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5833 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5834 if test "${lt_cv_nm_interface+set}" = set; then :
5835 $as_echo_n "(cached) " >&6
5836 else
5837 lt_cv_nm_interface="BSD nm"
5838 echo "int some_variable = 0;" > conftest.$ac_ext
5839 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5840 (eval "$ac_compile" 2>conftest.err)
5841 cat conftest.err >&5
5842 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5843 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5844 cat conftest.err >&5
5845 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5846 cat conftest.out >&5
5847 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5848 lt_cv_nm_interface="MS dumpbin"
5850 rm -f conftest*
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5853 $as_echo "$lt_cv_nm_interface" >&6; }
5855 # find the maximum length of command line arguments
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5857 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5858 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5862 teststring="ABCD"
5864 case $build_os in
5865 msdosdjgpp*)
5866 # On DJGPP, this test can blow up pretty badly due to problems in libc
5867 # (any single argument exceeding 2000 bytes causes a buffer overrun
5868 # during glob expansion). Even if it were fixed, the result of this
5869 # check would be larger than it should be.
5870 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5873 gnu*)
5874 # Under GNU Hurd, this test is not required because there is
5875 # no limit to the length of command line arguments.
5876 # Libtool will interpret -1 as no limit whatsoever
5877 lt_cv_sys_max_cmd_len=-1;
5880 cygwin* | mingw* | cegcc*)
5881 # On Win9x/ME, this test blows up -- it succeeds, but takes
5882 # about 5 minutes as the teststring grows exponentially.
5883 # Worse, since 9x/ME are not pre-emptively multitasking,
5884 # you end up with a "frozen" computer, even though with patience
5885 # the test eventually succeeds (with a max line length of 256k).
5886 # Instead, let's just punt: use the minimum linelength reported by
5887 # all of the supported platforms: 8192 (on NT/2K/XP).
5888 lt_cv_sys_max_cmd_len=8192;
5891 mint*)
5892 # On MiNT this can take a long time and run out of memory.
5893 lt_cv_sys_max_cmd_len=8192;
5896 amigaos*)
5897 # On AmigaOS with pdksh, this test takes hours, literally.
5898 # So we just punt and use a minimum line length of 8192.
5899 lt_cv_sys_max_cmd_len=8192;
5902 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5903 # This has been around since 386BSD, at least. Likely further.
5904 if test -x /sbin/sysctl; then
5905 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5906 elif test -x /usr/sbin/sysctl; then
5907 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5908 else
5909 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5911 # And add a safety zone
5912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5916 interix*)
5917 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5918 lt_cv_sys_max_cmd_len=196608
5921 osf*)
5922 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5923 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5924 # nice to cause kernel panics so lets avoid the loop below.
5925 # First set a reasonable default.
5926 lt_cv_sys_max_cmd_len=16384
5928 if test -x /sbin/sysconfig; then
5929 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5930 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5931 esac
5934 sco3.2v5*)
5935 lt_cv_sys_max_cmd_len=102400
5937 sysv5* | sco5v6* | sysv4.2uw2*)
5938 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5939 if test -n "$kargmax"; then
5940 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5941 else
5942 lt_cv_sys_max_cmd_len=32768
5946 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5947 if test -n "$lt_cv_sys_max_cmd_len"; then
5948 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5950 else
5951 # Make teststring a little bigger before we do anything with it.
5952 # a 1K string should be a reasonable start.
5953 for i in 1 2 3 4 5 6 7 8 ; do
5954 teststring=$teststring$teststring
5955 done
5956 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5957 # If test is not a shell built-in, we'll probably end up computing a
5958 # maximum length that is only half of the actual maximum length, but
5959 # we can't tell.
5960 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5961 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5962 test $i != 17 # 1/2 MB should be enough
5964 i=`expr $i + 1`
5965 teststring=$teststring$teststring
5966 done
5967 # Only check the string length outside the loop.
5968 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5969 teststring=
5970 # Add a significant safety factor because C++ compilers can tack on
5971 # massive amounts of additional arguments before passing them to the
5972 # linker. It appears as though 1/2 is a usable value.
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5976 esac
5980 if test -n $lt_cv_sys_max_cmd_len ; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5982 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5983 else
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5985 $as_echo "none" >&6; }
5987 max_cmd_len=$lt_cv_sys_max_cmd_len
5994 : ${CP="cp -f"}
5995 : ${MV="mv -f"}
5996 : ${RM="rm -f"}
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5999 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6000 # Try some XSI features
6001 xsi_shell=no
6002 ( _lt_dummy="a/b/c"
6003 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6004 = c,a/b,, \
6005 && eval 'test $(( 1 + 1 )) -eq 2 \
6006 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6007 && xsi_shell=yes
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6009 $as_echo "$xsi_shell" >&6; }
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6013 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6014 lt_shell_append=no
6015 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6016 >/dev/null 2>&1 \
6017 && lt_shell_append=yes
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6019 $as_echo "$lt_shell_append" >&6; }
6022 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6023 lt_unset=unset
6024 else
6025 lt_unset=false
6032 # test EBCDIC or ASCII
6033 case `echo X|tr X '\101'` in
6034 A) # ASCII based system
6035 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6036 lt_SP2NL='tr \040 \012'
6037 lt_NL2SP='tr \015\012 \040\040'
6039 *) # EBCDIC based system
6040 lt_SP2NL='tr \100 \n'
6041 lt_NL2SP='tr \r\n \100\100'
6043 esac
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6054 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6055 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6056 $as_echo_n "(cached) " >&6
6057 else
6058 lt_cv_ld_reload_flag='-r'
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6061 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6062 reload_flag=$lt_cv_ld_reload_flag
6063 case $reload_flag in
6064 "" | " "*) ;;
6065 *) reload_flag=" $reload_flag" ;;
6066 esac
6067 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6068 case $host_os in
6069 darwin*)
6070 if test "$GCC" = yes; then
6071 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6072 else
6073 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6076 esac
6086 if test -n "$ac_tool_prefix"; then
6087 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6088 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6090 $as_echo_n "checking for $ac_word... " >&6; }
6091 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6092 $as_echo_n "(cached) " >&6
6093 else
6094 if test -n "$OBJDUMP"; then
6095 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 OBJDUMP=$ac_cv_prog_OBJDUMP
6115 if test -n "$OBJDUMP"; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6117 $as_echo "$OBJDUMP" >&6; }
6118 else
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6125 if test -z "$ac_cv_prog_OBJDUMP"; then
6126 ac_ct_OBJDUMP=$OBJDUMP
6127 # Extract the first word of "objdump", so it can be a program name with args.
6128 set dummy objdump; ac_word=$2
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6130 $as_echo_n "checking for $ac_word... " >&6; }
6131 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6132 $as_echo_n "(cached) " >&6
6133 else
6134 if test -n "$ac_ct_OBJDUMP"; then
6135 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6136 else
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 for as_dir in $PATH
6140 IFS=$as_save_IFS
6141 test -z "$as_dir" && as_dir=.
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6144 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6146 break 2
6148 done
6149 done
6150 IFS=$as_save_IFS
6154 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6155 if test -n "$ac_ct_OBJDUMP"; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6157 $as_echo "$ac_ct_OBJDUMP" >&6; }
6158 else
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6160 $as_echo "no" >&6; }
6163 if test "x$ac_ct_OBJDUMP" = x; then
6164 OBJDUMP="false"
6165 else
6166 case $cross_compiling:$ac_tool_warned in
6167 yes:)
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6170 ac_tool_warned=yes ;;
6171 esac
6172 OBJDUMP=$ac_ct_OBJDUMP
6174 else
6175 OBJDUMP="$ac_cv_prog_OBJDUMP"
6178 test -z "$OBJDUMP" && OBJDUMP=objdump
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6189 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6190 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6191 $as_echo_n "(cached) " >&6
6192 else
6193 lt_cv_file_magic_cmd='$MAGIC_CMD'
6194 lt_cv_file_magic_test_file=
6195 lt_cv_deplibs_check_method='unknown'
6196 # Need to set the preceding variable on all platforms that support
6197 # interlibrary dependencies.
6198 # 'none' -- dependencies not supported.
6199 # `unknown' -- same as none, but documents that we really don't know.
6200 # 'pass_all' -- all dependencies passed with no checks.
6201 # 'test_compile' -- check by making test program.
6202 # 'file_magic [[regex]]' -- check by looking for files in library path
6203 # which responds to the $file_magic_cmd with a given extended regex.
6204 # If you have `file' or equivalent on your system and you're not sure
6205 # whether `pass_all' will *always* work, you probably want this one.
6207 case $host_os in
6208 aix[4-9]*)
6209 lt_cv_deplibs_check_method=pass_all
6212 beos*)
6213 lt_cv_deplibs_check_method=pass_all
6216 bsdi[45]*)
6217 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6218 lt_cv_file_magic_cmd='/usr/bin/file -L'
6219 lt_cv_file_magic_test_file=/shlib/libc.so
6222 cygwin*)
6223 # func_win32_libid is a shell function defined in ltmain.sh
6224 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6225 lt_cv_file_magic_cmd='func_win32_libid'
6228 mingw* | pw32*)
6229 # Base MSYS/MinGW do not provide the 'file' command needed by
6230 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6231 # unless we find 'file', for example because we are cross-compiling.
6232 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6233 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6234 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6235 lt_cv_file_magic_cmd='func_win32_libid'
6236 else
6237 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6238 lt_cv_file_magic_cmd='$OBJDUMP -f'
6242 cegcc*)
6243 # use the weaker test based on 'objdump'. See mingw*.
6244 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6245 lt_cv_file_magic_cmd='$OBJDUMP -f'
6248 darwin* | rhapsody*)
6249 lt_cv_deplibs_check_method=pass_all
6252 freebsd* | dragonfly*)
6253 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6254 case $host_cpu in
6255 i*86 )
6256 # Not sure whether the presence of OpenBSD here was a mistake.
6257 # Let's accept both of them until this is cleared up.
6258 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6259 lt_cv_file_magic_cmd=/usr/bin/file
6260 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6262 esac
6263 else
6264 lt_cv_deplibs_check_method=pass_all
6268 gnu*)
6269 lt_cv_deplibs_check_method=pass_all
6272 haiku*)
6273 lt_cv_deplibs_check_method=pass_all
6276 hpux10.20* | hpux11*)
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 case $host_cpu in
6279 ia64*)
6280 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6281 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6283 hppa*64*)
6284 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]'
6285 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6288 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6289 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6291 esac
6294 interix[3-9]*)
6295 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6296 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6299 irix5* | irix6* | nonstopux*)
6300 case $LD in
6301 *-32|*"-32 ") libmagic=32-bit;;
6302 *-n32|*"-n32 ") libmagic=N32;;
6303 *-64|*"-64 ") libmagic=64-bit;;
6304 *) libmagic=never-match;;
6305 esac
6306 lt_cv_deplibs_check_method=pass_all
6309 # This must be Linux ELF.
6310 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6311 lt_cv_deplibs_check_method=pass_all
6314 netbsd*)
6315 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6316 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6317 else
6318 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6322 newos6*)
6323 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6324 lt_cv_file_magic_cmd=/usr/bin/file
6325 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6328 *nto* | *qnx*)
6329 lt_cv_deplibs_check_method=pass_all
6332 openbsd*)
6333 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6335 else
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6340 osf3* | osf4* | osf5*)
6341 lt_cv_deplibs_check_method=pass_all
6344 rdos*)
6345 lt_cv_deplibs_check_method=pass_all
6348 solaris*)
6349 lt_cv_deplibs_check_method=pass_all
6352 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6353 lt_cv_deplibs_check_method=pass_all
6356 sysv4 | sysv4.3*)
6357 case $host_vendor in
6358 motorola)
6359 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]'
6360 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6362 ncr)
6363 lt_cv_deplibs_check_method=pass_all
6365 sequent)
6366 lt_cv_file_magic_cmd='/bin/file'
6367 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6369 sni)
6370 lt_cv_file_magic_cmd='/bin/file'
6371 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6372 lt_cv_file_magic_test_file=/lib/libc.so
6374 siemens)
6375 lt_cv_deplibs_check_method=pass_all
6378 lt_cv_deplibs_check_method=pass_all
6380 esac
6383 tpf*)
6384 lt_cv_deplibs_check_method=pass_all
6386 esac
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6390 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6391 file_magic_cmd=$lt_cv_file_magic_cmd
6392 deplibs_check_method=$lt_cv_deplibs_check_method
6393 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6406 if test -n "$ac_tool_prefix"; then
6407 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6408 set dummy ${ac_tool_prefix}ar; ac_word=$2
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6410 $as_echo_n "checking for $ac_word... " >&6; }
6411 if test "${ac_cv_prog_AR+set}" = set; then :
6412 $as_echo_n "(cached) " >&6
6413 else
6414 if test -n "$AR"; then
6415 ac_cv_prog_AR="$AR" # Let the user override the test.
6416 else
6417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418 for as_dir in $PATH
6420 IFS=$as_save_IFS
6421 test -z "$as_dir" && as_dir=.
6422 for ac_exec_ext in '' $ac_executable_extensions; do
6423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6424 ac_cv_prog_AR="${ac_tool_prefix}ar"
6425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6426 break 2
6428 done
6429 done
6430 IFS=$as_save_IFS
6434 AR=$ac_cv_prog_AR
6435 if test -n "$AR"; then
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6437 $as_echo "$AR" >&6; }
6438 else
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6440 $as_echo "no" >&6; }
6445 if test -z "$ac_cv_prog_AR"; then
6446 ac_ct_AR=$AR
6447 # Extract the first word of "ar", so it can be a program name with args.
6448 set dummy ar; ac_word=$2
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6450 $as_echo_n "checking for $ac_word... " >&6; }
6451 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6452 $as_echo_n "(cached) " >&6
6453 else
6454 if test -n "$ac_ct_AR"; then
6455 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6456 else
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 for as_dir in $PATH
6460 IFS=$as_save_IFS
6461 test -z "$as_dir" && as_dir=.
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6464 ac_cv_prog_ac_ct_AR="ar"
6465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 break 2
6468 done
6469 done
6470 IFS=$as_save_IFS
6474 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6475 if test -n "$ac_ct_AR"; then
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6477 $as_echo "$ac_ct_AR" >&6; }
6478 else
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480 $as_echo "no" >&6; }
6483 if test "x$ac_ct_AR" = x; then
6484 AR="false"
6485 else
6486 case $cross_compiling:$ac_tool_warned in
6487 yes:)
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6490 ac_tool_warned=yes ;;
6491 esac
6492 AR=$ac_ct_AR
6494 else
6495 AR="$ac_cv_prog_AR"
6498 test -z "$AR" && AR=ar
6499 test -z "$AR_FLAGS" && AR_FLAGS=cru
6511 if test -n "$ac_tool_prefix"; then
6512 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6513 set dummy ${ac_tool_prefix}strip; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if test "${ac_cv_prog_STRIP+set}" = set; then :
6517 $as_echo_n "(cached) " >&6
6518 else
6519 if test -n "$STRIP"; then
6520 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6521 else
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 for as_dir in $PATH
6525 IFS=$as_save_IFS
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531 break 2
6533 done
6534 done
6535 IFS=$as_save_IFS
6539 STRIP=$ac_cv_prog_STRIP
6540 if test -n "$STRIP"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6542 $as_echo "$STRIP" >&6; }
6543 else
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6550 if test -z "$ac_cv_prog_STRIP"; then
6551 ac_ct_STRIP=$STRIP
6552 # Extract the first word of "strip", so it can be a program name with args.
6553 set dummy strip; ac_word=$2
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555 $as_echo_n "checking for $ac_word... " >&6; }
6556 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6557 $as_echo_n "(cached) " >&6
6558 else
6559 if test -n "$ac_ct_STRIP"; then
6560 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6561 else
6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563 for as_dir in $PATH
6565 IFS=$as_save_IFS
6566 test -z "$as_dir" && as_dir=.
6567 for ac_exec_ext in '' $ac_executable_extensions; do
6568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6569 ac_cv_prog_ac_ct_STRIP="strip"
6570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 break 2
6573 done
6574 done
6575 IFS=$as_save_IFS
6579 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6580 if test -n "$ac_ct_STRIP"; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6582 $as_echo "$ac_ct_STRIP" >&6; }
6583 else
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 $as_echo "no" >&6; }
6588 if test "x$ac_ct_STRIP" = x; then
6589 STRIP=":"
6590 else
6591 case $cross_compiling:$ac_tool_warned in
6592 yes:)
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6595 ac_tool_warned=yes ;;
6596 esac
6597 STRIP=$ac_ct_STRIP
6599 else
6600 STRIP="$ac_cv_prog_STRIP"
6603 test -z "$STRIP" && STRIP=:
6610 if test -n "$ac_tool_prefix"; then
6611 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6612 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 $as_echo_n "checking for $ac_word... " >&6; }
6615 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6616 $as_echo_n "(cached) " >&6
6617 else
6618 if test -n "$RANLIB"; then
6619 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6620 else
6621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6622 for as_dir in $PATH
6624 IFS=$as_save_IFS
6625 test -z "$as_dir" && as_dir=.
6626 for ac_exec_ext in '' $ac_executable_extensions; do
6627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6628 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 break 2
6632 done
6633 done
6634 IFS=$as_save_IFS
6638 RANLIB=$ac_cv_prog_RANLIB
6639 if test -n "$RANLIB"; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6641 $as_echo "$RANLIB" >&6; }
6642 else
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6649 if test -z "$ac_cv_prog_RANLIB"; then
6650 ac_ct_RANLIB=$RANLIB
6651 # Extract the first word of "ranlib", so it can be a program name with args.
6652 set dummy ranlib; ac_word=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6656 $as_echo_n "(cached) " >&6
6657 else
6658 if test -n "$ac_ct_RANLIB"; then
6659 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6660 else
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 for as_dir in $PATH
6664 IFS=$as_save_IFS
6665 test -z "$as_dir" && as_dir=.
6666 for ac_exec_ext in '' $ac_executable_extensions; do
6667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6668 ac_cv_prog_ac_ct_RANLIB="ranlib"
6669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 break 2
6672 done
6673 done
6674 IFS=$as_save_IFS
6678 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6679 if test -n "$ac_ct_RANLIB"; then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6681 $as_echo "$ac_ct_RANLIB" >&6; }
6682 else
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6687 if test "x$ac_ct_RANLIB" = x; then
6688 RANLIB=":"
6689 else
6690 case $cross_compiling:$ac_tool_warned in
6691 yes:)
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6694 ac_tool_warned=yes ;;
6695 esac
6696 RANLIB=$ac_ct_RANLIB
6698 else
6699 RANLIB="$ac_cv_prog_RANLIB"
6702 test -z "$RANLIB" && RANLIB=:
6709 # Determine commands to create old-style static archives.
6710 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6711 old_postinstall_cmds='chmod 644 $oldlib'
6712 old_postuninstall_cmds=
6714 if test -n "$RANLIB"; then
6715 case $host_os in
6716 openbsd*)
6717 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6720 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6722 esac
6723 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6726 case $host_os in
6727 darwin*)
6728 lock_old_archive_extraction=yes ;;
6730 lock_old_archive_extraction=no ;;
6731 esac
6771 # If no C compiler was specified, use CC.
6772 LTCC=${LTCC-"$CC"}
6774 # If no C compiler flags were specified, use CFLAGS.
6775 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6777 # Allow CC to be a program name with arguments.
6778 compiler=$CC
6781 # Check for command to grab the raw symbol name followed by C symbol from nm.
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6783 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6784 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6785 $as_echo_n "(cached) " >&6
6786 else
6788 # These are sane defaults that work on at least a few old systems.
6789 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6791 # Character class describing NM global symbol codes.
6792 symcode='[BCDEGRST]'
6794 # Regexp to match symbols that can be accessed directly from C.
6795 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6797 # Define system-specific variables.
6798 case $host_os in
6799 aix*)
6800 symcode='[BCDT]'
6802 cygwin* | mingw* | pw32* | cegcc*)
6803 symcode='[ABCDGISTW]'
6805 hpux*)
6806 if test "$host_cpu" = ia64; then
6807 symcode='[ABCDEGRST]'
6810 irix* | nonstopux*)
6811 symcode='[BCDEGRST]'
6813 osf*)
6814 symcode='[BCDEGQRST]'
6816 solaris*)
6817 symcode='[BDRT]'
6819 sco3.2v5*)
6820 symcode='[DT]'
6822 sysv4.2uw2*)
6823 symcode='[DT]'
6825 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6826 symcode='[ABDT]'
6828 sysv4)
6829 symcode='[DFNSTU]'
6831 esac
6833 # If we're using GNU nm, then use its standard symbol codes.
6834 case `$NM -V 2>&1` in
6835 *GNU* | *'with BFD'*)
6836 symcode='[ABCDGIRSTW]' ;;
6837 esac
6839 # Transform an extracted symbol line into a proper C declaration.
6840 # Some systems (esp. on ia64) link data and code symbols differently,
6841 # so use this general approach.
6842 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6844 # Transform an extracted symbol line into symbol name and symbol address
6845 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6846 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'"
6848 # Handle CRLF in mingw tool chain
6849 opt_cr=
6850 case $build_os in
6851 mingw*)
6852 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6854 esac
6856 # Try without a prefix underscore, then with it.
6857 for ac_symprfx in "" "_"; do
6859 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6860 symxfrm="\\1 $ac_symprfx\\2 \\2"
6862 # Write the raw and C identifiers.
6863 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6864 # Fake it for dumpbin and say T for any non-static function
6865 # and D for any global variable.
6866 # Also find C++ and __fastcall symbols from MSVC++,
6867 # which start with @ or ?.
6868 lt_cv_sys_global_symbol_pipe="$AWK '"\
6869 " {last_section=section; section=\$ 3};"\
6870 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6871 " \$ 0!~/External *\|/{next};"\
6872 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6873 " {if(hide[section]) next};"\
6874 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6875 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6876 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6877 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6878 " ' prfx=^$ac_symprfx"
6879 else
6880 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6883 # Check to see that the pipe works correctly.
6884 pipe_works=no
6886 rm -f conftest*
6887 cat > conftest.$ac_ext <<_LT_EOF
6888 #ifdef __cplusplus
6889 extern "C" {
6890 #endif
6891 char nm_test_var;
6892 void nm_test_func(void);
6893 void nm_test_func(void){}
6894 #ifdef __cplusplus
6896 #endif
6897 int main(){nm_test_var='a';nm_test_func();return(0);}
6898 _LT_EOF
6900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6901 (eval $ac_compile) 2>&5
6902 ac_status=$?
6903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6904 test $ac_status = 0; }; then
6905 # Now try to grab the symbols.
6906 nlist=conftest.nm
6907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6908 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6909 ac_status=$?
6910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6911 test $ac_status = 0; } && test -s "$nlist"; then
6912 # Try sorting and uniquifying the output.
6913 if sort "$nlist" | uniq > "$nlist"T; then
6914 mv -f "$nlist"T "$nlist"
6915 else
6916 rm -f "$nlist"T
6919 # Make sure that we snagged all the symbols we need.
6920 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6921 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6922 cat <<_LT_EOF > conftest.$ac_ext
6923 #ifdef __cplusplus
6924 extern "C" {
6925 #endif
6927 _LT_EOF
6928 # Now generate the symbol file.
6929 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6931 cat <<_LT_EOF >> conftest.$ac_ext
6933 /* The mapping between symbol names and symbols. */
6934 const struct {
6935 const char *name;
6936 void *address;
6938 lt__PROGRAM__LTX_preloaded_symbols[] =
6940 { "@PROGRAM@", (void *) 0 },
6941 _LT_EOF
6942 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6943 cat <<\_LT_EOF >> conftest.$ac_ext
6944 {0, (void *) 0}
6947 /* This works around a problem in FreeBSD linker */
6948 #ifdef FREEBSD_WORKAROUND
6949 static const void *lt_preloaded_setup() {
6950 return lt__PROGRAM__LTX_preloaded_symbols;
6952 #endif
6954 #ifdef __cplusplus
6956 #endif
6957 _LT_EOF
6958 # Now try linking the two files.
6959 mv conftest.$ac_objext conftstm.$ac_objext
6960 lt_save_LIBS="$LIBS"
6961 lt_save_CFLAGS="$CFLAGS"
6962 LIBS="conftstm.$ac_objext"
6963 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6965 (eval $ac_link) 2>&5
6966 ac_status=$?
6967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6968 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6969 pipe_works=yes
6971 LIBS="$lt_save_LIBS"
6972 CFLAGS="$lt_save_CFLAGS"
6973 else
6974 echo "cannot find nm_test_func in $nlist" >&5
6976 else
6977 echo "cannot find nm_test_var in $nlist" >&5
6979 else
6980 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6982 else
6983 echo "$progname: failed program was:" >&5
6984 cat conftest.$ac_ext >&5
6986 rm -rf conftest* conftst*
6988 # Do not use the global_symbol_pipe unless it works.
6989 if test "$pipe_works" = yes; then
6990 break
6991 else
6992 lt_cv_sys_global_symbol_pipe=
6994 done
6998 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6999 lt_cv_sys_global_symbol_to_cdecl=
7001 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7003 $as_echo "failed" >&6; }
7004 else
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7006 $as_echo "ok" >&6; }
7030 # Check whether --enable-libtool-lock was given.
7031 if test "${enable_libtool_lock+set}" = set; then :
7032 enableval=$enable_libtool_lock;
7035 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7037 # Some flags need to be propagated to the compiler or linker for good
7038 # libtool support.
7039 case $host in
7040 ia64-*-hpux*)
7041 # Find out which ABI we are using.
7042 echo 'int i;' > conftest.$ac_ext
7043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7044 (eval $ac_compile) 2>&5
7045 ac_status=$?
7046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7047 test $ac_status = 0; }; then
7048 case `/usr/bin/file conftest.$ac_objext` in
7049 *ELF-32*)
7050 HPUX_IA64_MODE="32"
7052 *ELF-64*)
7053 HPUX_IA64_MODE="64"
7055 esac
7057 rm -rf conftest*
7059 *-*-irix6*)
7060 # Find out which ABI we are using.
7061 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7063 (eval $ac_compile) 2>&5
7064 ac_status=$?
7065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7066 test $ac_status = 0; }; then
7067 if test "$lt_cv_prog_gnu_ld" = yes; then
7068 case `/usr/bin/file conftest.$ac_objext` in
7069 *32-bit*)
7070 LD="${LD-ld} -melf32bsmip"
7072 *N32*)
7073 LD="${LD-ld} -melf32bmipn32"
7075 *64-bit*)
7076 LD="${LD-ld} -melf64bmip"
7078 esac
7079 else
7080 case `/usr/bin/file conftest.$ac_objext` in
7081 *32-bit*)
7082 LD="${LD-ld} -32"
7084 *N32*)
7085 LD="${LD-ld} -n32"
7087 *64-bit*)
7088 LD="${LD-ld} -64"
7090 esac
7093 rm -rf conftest*
7096 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7097 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7098 # Find out which ABI we are using.
7099 echo 'int i;' > conftest.$ac_ext
7100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7101 (eval $ac_compile) 2>&5
7102 ac_status=$?
7103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7104 test $ac_status = 0; }; then
7105 case `/usr/bin/file conftest.o` in
7106 *32-bit*)
7107 case $host in
7108 x86_64-*kfreebsd*-gnu)
7109 LD="${LD-ld} -m elf_i386_fbsd"
7111 x86_64-*linux*)
7112 LD="${LD-ld} -m elf_i386"
7114 ppc64-*linux*|powerpc64-*linux*)
7115 LD="${LD-ld} -m elf32ppclinux"
7117 s390x-*linux*)
7118 LD="${LD-ld} -m elf_s390"
7120 sparc64-*linux*)
7121 LD="${LD-ld} -m elf32_sparc"
7123 esac
7125 *64-bit*)
7126 case $host in
7127 x86_64-*kfreebsd*-gnu)
7128 LD="${LD-ld} -m elf_x86_64_fbsd"
7130 x86_64-*linux*)
7131 LD="${LD-ld} -m elf_x86_64"
7133 ppc*-*linux*|powerpc*-*linux*)
7134 LD="${LD-ld} -m elf64ppc"
7136 s390*-*linux*|s390*-*tpf*)
7137 LD="${LD-ld} -m elf64_s390"
7139 sparc*-*linux*)
7140 LD="${LD-ld} -m elf64_sparc"
7142 esac
7144 esac
7146 rm -rf conftest*
7149 *-*-sco3.2v5*)
7150 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7151 SAVE_CFLAGS="$CFLAGS"
7152 CFLAGS="$CFLAGS -belf"
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7154 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7155 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7156 $as_echo_n "(cached) " >&6
7157 else
7158 ac_ext=c
7159 ac_cpp='$CPP $CPPFLAGS'
7160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7164 if test x$gcc_no_link = xyes; then
7165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7168 /* end confdefs.h. */
7171 main ()
7175 return 0;
7177 _ACEOF
7178 if ac_fn_c_try_link "$LINENO"; then :
7179 lt_cv_cc_needs_belf=yes
7180 else
7181 lt_cv_cc_needs_belf=no
7183 rm -f core conftest.err conftest.$ac_objext \
7184 conftest$ac_exeext conftest.$ac_ext
7185 ac_ext=c
7186 ac_cpp='$CPP $CPPFLAGS'
7187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7193 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7194 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7195 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7196 CFLAGS="$SAVE_CFLAGS"
7199 sparc*-*solaris*)
7200 # Find out which ABI we are using.
7201 echo 'int i;' > conftest.$ac_ext
7202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7203 (eval $ac_compile) 2>&5
7204 ac_status=$?
7205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7206 test $ac_status = 0; }; then
7207 case `/usr/bin/file conftest.o` in
7208 *64-bit*)
7209 case $lt_cv_prog_gnu_ld in
7210 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7212 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7213 LD="${LD-ld} -64"
7216 esac
7218 esac
7220 rm -rf conftest*
7222 esac
7224 need_locks="$enable_libtool_lock"
7227 case $host_os in
7228 rhapsody* | darwin*)
7229 if test -n "$ac_tool_prefix"; then
7230 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7231 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233 $as_echo_n "checking for $ac_word... " >&6; }
7234 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7235 $as_echo_n "(cached) " >&6
7236 else
7237 if test -n "$DSYMUTIL"; then
7238 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7239 else
7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 for as_dir in $PATH
7243 IFS=$as_save_IFS
7244 test -z "$as_dir" && as_dir=.
7245 for ac_exec_ext in '' $ac_executable_extensions; do
7246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7247 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 break 2
7251 done
7252 done
7253 IFS=$as_save_IFS
7257 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7258 if test -n "$DSYMUTIL"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7260 $as_echo "$DSYMUTIL" >&6; }
7261 else
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7268 if test -z "$ac_cv_prog_DSYMUTIL"; then
7269 ac_ct_DSYMUTIL=$DSYMUTIL
7270 # Extract the first word of "dsymutil", so it can be a program name with args.
7271 set dummy dsymutil; ac_word=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 if test -n "$ac_ct_DSYMUTIL"; then
7278 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7279 else
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $PATH
7283 IFS=$as_save_IFS
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 break 2
7291 done
7292 done
7293 IFS=$as_save_IFS
7297 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7298 if test -n "$ac_ct_DSYMUTIL"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7300 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7301 else
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7306 if test "x$ac_ct_DSYMUTIL" = x; then
7307 DSYMUTIL=":"
7308 else
7309 case $cross_compiling:$ac_tool_warned in
7310 yes:)
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7313 ac_tool_warned=yes ;;
7314 esac
7315 DSYMUTIL=$ac_ct_DSYMUTIL
7317 else
7318 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7321 if test -n "$ac_tool_prefix"; then
7322 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7323 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$NMEDIT"; then
7330 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7339 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 NMEDIT=$ac_cv_prog_NMEDIT
7350 if test -n "$NMEDIT"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7352 $as_echo "$NMEDIT" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7360 if test -z "$ac_cv_prog_NMEDIT"; then
7361 ac_ct_NMEDIT=$NMEDIT
7362 # Extract the first word of "nmedit", so it can be a program name with args.
7363 set dummy nmedit; ac_word=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7367 $as_echo_n "(cached) " >&6
7368 else
7369 if test -n "$ac_ct_NMEDIT"; then
7370 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7371 else
7372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 for as_dir in $PATH
7375 IFS=$as_save_IFS
7376 test -z "$as_dir" && as_dir=.
7377 for ac_exec_ext in '' $ac_executable_extensions; do
7378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7379 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 break 2
7383 done
7384 done
7385 IFS=$as_save_IFS
7389 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7390 if test -n "$ac_ct_NMEDIT"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7392 $as_echo "$ac_ct_NMEDIT" >&6; }
7393 else
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 if test "x$ac_ct_NMEDIT" = x; then
7399 NMEDIT=":"
7400 else
7401 case $cross_compiling:$ac_tool_warned in
7402 yes:)
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned=yes ;;
7406 esac
7407 NMEDIT=$ac_ct_NMEDIT
7409 else
7410 NMEDIT="$ac_cv_prog_NMEDIT"
7413 if test -n "$ac_tool_prefix"; then
7414 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7415 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if test "${ac_cv_prog_LIPO+set}" = set; then :
7419 $as_echo_n "(cached) " >&6
7420 else
7421 if test -n "$LIPO"; then
7422 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7427 IFS=$as_save_IFS
7428 test -z "$as_dir" && as_dir=.
7429 for ac_exec_ext in '' $ac_executable_extensions; do
7430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7431 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 break 2
7435 done
7436 done
7437 IFS=$as_save_IFS
7441 LIPO=$ac_cv_prog_LIPO
7442 if test -n "$LIPO"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7444 $as_echo "$LIPO" >&6; }
7445 else
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7452 if test -z "$ac_cv_prog_LIPO"; then
7453 ac_ct_LIPO=$LIPO
7454 # Extract the first word of "lipo", so it can be a program name with args.
7455 set dummy lipo; ac_word=$2
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7457 $as_echo_n "checking for $ac_word... " >&6; }
7458 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7459 $as_echo_n "(cached) " >&6
7460 else
7461 if test -n "$ac_ct_LIPO"; then
7462 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7463 else
7464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7465 for as_dir in $PATH
7467 IFS=$as_save_IFS
7468 test -z "$as_dir" && as_dir=.
7469 for ac_exec_ext in '' $ac_executable_extensions; do
7470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7471 ac_cv_prog_ac_ct_LIPO="lipo"
7472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 break 2
7475 done
7476 done
7477 IFS=$as_save_IFS
7481 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7482 if test -n "$ac_ct_LIPO"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7484 $as_echo "$ac_ct_LIPO" >&6; }
7485 else
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7490 if test "x$ac_ct_LIPO" = x; then
7491 LIPO=":"
7492 else
7493 case $cross_compiling:$ac_tool_warned in
7494 yes:)
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7497 ac_tool_warned=yes ;;
7498 esac
7499 LIPO=$ac_ct_LIPO
7501 else
7502 LIPO="$ac_cv_prog_LIPO"
7505 if test -n "$ac_tool_prefix"; then
7506 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7507 set dummy ${ac_tool_prefix}otool; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7511 $as_echo_n "(cached) " >&6
7512 else
7513 if test -n "$OTOOL"; then
7514 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7515 else
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517 for as_dir in $PATH
7519 IFS=$as_save_IFS
7520 test -z "$as_dir" && as_dir=.
7521 for ac_exec_ext in '' $ac_executable_extensions; do
7522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7523 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525 break 2
7527 done
7528 done
7529 IFS=$as_save_IFS
7533 OTOOL=$ac_cv_prog_OTOOL
7534 if test -n "$OTOOL"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7536 $as_echo "$OTOOL" >&6; }
7537 else
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7544 if test -z "$ac_cv_prog_OTOOL"; then
7545 ac_ct_OTOOL=$OTOOL
7546 # Extract the first word of "otool", so it can be a program name with args.
7547 set dummy otool; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 if test -n "$ac_ct_OTOOL"; then
7554 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7555 else
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 for as_dir in $PATH
7559 IFS=$as_save_IFS
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7563 ac_cv_prog_ac_ct_OTOOL="otool"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7565 break 2
7567 done
7568 done
7569 IFS=$as_save_IFS
7573 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7574 if test -n "$ac_ct_OTOOL"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7576 $as_echo "$ac_ct_OTOOL" >&6; }
7577 else
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7582 if test "x$ac_ct_OTOOL" = x; then
7583 OTOOL=":"
7584 else
7585 case $cross_compiling:$ac_tool_warned in
7586 yes:)
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589 ac_tool_warned=yes ;;
7590 esac
7591 OTOOL=$ac_ct_OTOOL
7593 else
7594 OTOOL="$ac_cv_prog_OTOOL"
7597 if test -n "$ac_tool_prefix"; then
7598 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7599 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7601 $as_echo_n "checking for $ac_word... " >&6; }
7602 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7603 $as_echo_n "(cached) " >&6
7604 else
7605 if test -n "$OTOOL64"; then
7606 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7607 else
7608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7609 for as_dir in $PATH
7611 IFS=$as_save_IFS
7612 test -z "$as_dir" && as_dir=.
7613 for ac_exec_ext in '' $ac_executable_extensions; do
7614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7615 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7617 break 2
7619 done
7620 done
7621 IFS=$as_save_IFS
7625 OTOOL64=$ac_cv_prog_OTOOL64
7626 if test -n "$OTOOL64"; then
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7628 $as_echo "$OTOOL64" >&6; }
7629 else
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7631 $as_echo "no" >&6; }
7636 if test -z "$ac_cv_prog_OTOOL64"; then
7637 ac_ct_OTOOL64=$OTOOL64
7638 # Extract the first word of "otool64", so it can be a program name with args.
7639 set dummy otool64; ac_word=$2
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7641 $as_echo_n "checking for $ac_word... " >&6; }
7642 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7643 $as_echo_n "(cached) " >&6
7644 else
7645 if test -n "$ac_ct_OTOOL64"; then
7646 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7647 else
7648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649 for as_dir in $PATH
7651 IFS=$as_save_IFS
7652 test -z "$as_dir" && as_dir=.
7653 for ac_exec_ext in '' $ac_executable_extensions; do
7654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7655 ac_cv_prog_ac_ct_OTOOL64="otool64"
7656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7657 break 2
7659 done
7660 done
7661 IFS=$as_save_IFS
7665 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7666 if test -n "$ac_ct_OTOOL64"; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7668 $as_echo "$ac_ct_OTOOL64" >&6; }
7669 else
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671 $as_echo "no" >&6; }
7674 if test "x$ac_ct_OTOOL64" = x; then
7675 OTOOL64=":"
7676 else
7677 case $cross_compiling:$ac_tool_warned in
7678 yes:)
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7681 ac_tool_warned=yes ;;
7682 esac
7683 OTOOL64=$ac_ct_OTOOL64
7685 else
7686 OTOOL64="$ac_cv_prog_OTOOL64"
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7716 $as_echo_n "checking for -single_module linker flag... " >&6; }
7717 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7718 $as_echo_n "(cached) " >&6
7719 else
7720 lt_cv_apple_cc_single_mod=no
7721 if test -z "${LT_MULTI_MODULE}"; then
7722 # By default we will add the -single_module flag. You can override
7723 # by either setting the environment variable LT_MULTI_MODULE
7724 # non-empty at configure time, or by adding -multi_module to the
7725 # link flags.
7726 rm -rf libconftest.dylib*
7727 echo "int foo(void){return 1;}" > conftest.c
7728 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7729 -dynamiclib -Wl,-single_module conftest.c" >&5
7730 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7731 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7732 _lt_result=$?
7733 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7734 lt_cv_apple_cc_single_mod=yes
7735 else
7736 cat conftest.err >&5
7738 rm -rf libconftest.dylib*
7739 rm -f conftest.*
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7743 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7745 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7746 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7747 $as_echo_n "(cached) " >&6
7748 else
7749 lt_cv_ld_exported_symbols_list=no
7750 save_LDFLAGS=$LDFLAGS
7751 echo "_main" > conftest.sym
7752 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7753 if test x$gcc_no_link = xyes; then
7754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7760 main ()
7764 return 0;
7766 _ACEOF
7767 if ac_fn_c_try_link "$LINENO"; then :
7768 lt_cv_ld_exported_symbols_list=yes
7769 else
7770 lt_cv_ld_exported_symbols_list=no
7772 rm -f core conftest.err conftest.$ac_objext \
7773 conftest$ac_exeext conftest.$ac_ext
7774 LDFLAGS="$save_LDFLAGS"
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7778 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7780 $as_echo_n "checking for -force_load linker flag... " >&6; }
7781 if test "${lt_cv_ld_force_load+set}" = set; then :
7782 $as_echo_n "(cached) " >&6
7783 else
7784 lt_cv_ld_force_load=no
7785 cat > conftest.c << _LT_EOF
7786 int forced_loaded() { return 2;}
7787 _LT_EOF
7788 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7789 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7790 echo "$AR cru libconftest.a conftest.o" >&5
7791 $AR cru libconftest.a conftest.o 2>&5
7792 cat > conftest.c << _LT_EOF
7793 int main() { return 0;}
7794 _LT_EOF
7795 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7796 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7797 _lt_result=$?
7798 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7799 lt_cv_ld_force_load=yes
7800 else
7801 cat conftest.err >&5
7803 rm -f conftest.err libconftest.a conftest conftest.c
7804 rm -rf conftest.dSYM
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7808 $as_echo "$lt_cv_ld_force_load" >&6; }
7809 case $host_os in
7810 rhapsody* | darwin1.[012])
7811 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7812 darwin1.*)
7813 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7814 darwin*) # darwin 5.x on
7815 # if running on 10.5 or later, the deployment target defaults
7816 # to the OS version, if on x86, and 10.4, the deployment
7817 # target defaults to 10.4. Don't you love it?
7818 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7819 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7820 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7821 10.[012]*)
7822 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7823 10.*)
7824 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7825 esac
7827 esac
7828 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7829 _lt_dar_single_mod='$single_module'
7831 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7832 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7833 else
7834 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7836 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7837 _lt_dsymutil='~$DSYMUTIL $lib || :'
7838 else
7839 _lt_dsymutil=
7842 esac
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7845 $as_echo_n "checking for ANSI C header files... " >&6; }
7846 if test "${ac_cv_header_stdc+set}" = set; then :
7847 $as_echo_n "(cached) " >&6
7848 else
7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7851 #include <stdlib.h>
7852 #include <stdarg.h>
7853 #include <string.h>
7854 #include <float.h>
7857 main ()
7861 return 0;
7863 _ACEOF
7864 if ac_fn_c_try_compile "$LINENO"; then :
7865 ac_cv_header_stdc=yes
7866 else
7867 ac_cv_header_stdc=no
7869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7871 if test $ac_cv_header_stdc = yes; then
7872 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h. */
7875 #include <string.h>
7877 _ACEOF
7878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7879 $EGREP "memchr" >/dev/null 2>&1; then :
7881 else
7882 ac_cv_header_stdc=no
7884 rm -f conftest*
7888 if test $ac_cv_header_stdc = yes; then
7889 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h. */
7892 #include <stdlib.h>
7894 _ACEOF
7895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7896 $EGREP "free" >/dev/null 2>&1; then :
7898 else
7899 ac_cv_header_stdc=no
7901 rm -f conftest*
7905 if test $ac_cv_header_stdc = yes; then
7906 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7907 if test "$cross_compiling" = yes; then :
7909 else
7910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7911 /* end confdefs.h. */
7912 #include <ctype.h>
7913 #include <stdlib.h>
7914 #if ((' ' & 0x0FF) == 0x020)
7915 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7916 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7917 #else
7918 # define ISLOWER(c) \
7919 (('a' <= (c) && (c) <= 'i') \
7920 || ('j' <= (c) && (c) <= 'r') \
7921 || ('s' <= (c) && (c) <= 'z'))
7922 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7923 #endif
7925 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7927 main ()
7929 int i;
7930 for (i = 0; i < 256; i++)
7931 if (XOR (islower (i), ISLOWER (i))
7932 || toupper (i) != TOUPPER (i))
7933 return 2;
7934 return 0;
7936 _ACEOF
7937 if ac_fn_c_try_run "$LINENO"; then :
7939 else
7940 ac_cv_header_stdc=no
7942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7943 conftest.$ac_objext conftest.beam conftest.$ac_ext
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7949 $as_echo "$ac_cv_header_stdc" >&6; }
7950 if test $ac_cv_header_stdc = yes; then
7952 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7956 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7957 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7958 inttypes.h stdint.h unistd.h
7959 do :
7960 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7961 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7963 eval as_val=\$$as_ac_Header
7964 if test "x$as_val" = x""yes; then :
7965 cat >>confdefs.h <<_ACEOF
7966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7967 _ACEOF
7971 done
7974 for ac_header in dlfcn.h
7975 do :
7976 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7978 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7979 cat >>confdefs.h <<_ACEOF
7980 #define HAVE_DLFCN_H 1
7981 _ACEOF
7985 done
7992 # Set options
7997 enable_win32_dll=no
8000 # Check whether --enable-shared was given.
8001 if test "${enable_shared+set}" = set; then :
8002 enableval=$enable_shared; p=${PACKAGE-default}
8003 case $enableval in
8004 yes) enable_shared=yes ;;
8005 no) enable_shared=no ;;
8007 enable_shared=no
8008 # Look at the argument we got. We use all the common list separators.
8009 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8010 for pkg in $enableval; do
8011 IFS="$lt_save_ifs"
8012 if test "X$pkg" = "X$p"; then
8013 enable_shared=yes
8015 done
8016 IFS="$lt_save_ifs"
8018 esac
8019 else
8020 enable_shared=yes
8031 # Check whether --enable-static was given.
8032 if test "${enable_static+set}" = set; then :
8033 enableval=$enable_static; p=${PACKAGE-default}
8034 case $enableval in
8035 yes) enable_static=yes ;;
8036 no) enable_static=no ;;
8038 enable_static=no
8039 # Look at the argument we got. We use all the common list separators.
8040 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8041 for pkg in $enableval; do
8042 IFS="$lt_save_ifs"
8043 if test "X$pkg" = "X$p"; then
8044 enable_static=yes
8046 done
8047 IFS="$lt_save_ifs"
8049 esac
8050 else
8051 enable_static=yes
8063 # Check whether --with-pic was given.
8064 if test "${with_pic+set}" = set; then :
8065 withval=$with_pic; pic_mode="$withval"
8066 else
8067 pic_mode=default
8071 test -z "$pic_mode" && pic_mode=default
8079 # Check whether --enable-fast-install was given.
8080 if test "${enable_fast_install+set}" = set; then :
8081 enableval=$enable_fast_install; p=${PACKAGE-default}
8082 case $enableval in
8083 yes) enable_fast_install=yes ;;
8084 no) enable_fast_install=no ;;
8086 enable_fast_install=no
8087 # Look at the argument we got. We use all the common list separators.
8088 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8089 for pkg in $enableval; do
8090 IFS="$lt_save_ifs"
8091 if test "X$pkg" = "X$p"; then
8092 enable_fast_install=yes
8094 done
8095 IFS="$lt_save_ifs"
8097 esac
8098 else
8099 enable_fast_install=yes
8112 # This can be used to rebuild libtool when needed
8113 LIBTOOL_DEPS="$ltmain"
8115 # Always use our own libtool.
8116 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8143 test -z "$LN_S" && LN_S="ln -s"
8158 if test -n "${ZSH_VERSION+set}" ; then
8159 setopt NO_GLOB_SUBST
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8163 $as_echo_n "checking for objdir... " >&6; }
8164 if test "${lt_cv_objdir+set}" = set; then :
8165 $as_echo_n "(cached) " >&6
8166 else
8167 rm -f .libs 2>/dev/null
8168 mkdir .libs 2>/dev/null
8169 if test -d .libs; then
8170 lt_cv_objdir=.libs
8171 else
8172 # MS-DOS does not allow filenames that begin with a dot.
8173 lt_cv_objdir=_libs
8175 rmdir .libs 2>/dev/null
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8178 $as_echo "$lt_cv_objdir" >&6; }
8179 objdir=$lt_cv_objdir
8185 cat >>confdefs.h <<_ACEOF
8186 #define LT_OBJDIR "$lt_cv_objdir/"
8187 _ACEOF
8192 case $host_os in
8193 aix3*)
8194 # AIX sometimes has problems with the GCC collect2 program. For some
8195 # reason, if we set the COLLECT_NAMES environment variable, the problems
8196 # vanish in a puff of smoke.
8197 if test "X${COLLECT_NAMES+set}" != Xset; then
8198 COLLECT_NAMES=
8199 export COLLECT_NAMES
8202 esac
8204 # Global variables:
8205 ofile=libtool
8206 can_build_shared=yes
8208 # All known linkers require a `.a' archive for static linking (except MSVC,
8209 # which needs '.lib').
8210 libext=a
8212 with_gnu_ld="$lt_cv_prog_gnu_ld"
8214 old_CC="$CC"
8215 old_CFLAGS="$CFLAGS"
8217 # Set sane defaults for various variables
8218 test -z "$CC" && CC=cc
8219 test -z "$LTCC" && LTCC=$CC
8220 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8221 test -z "$LD" && LD=ld
8222 test -z "$ac_objext" && ac_objext=o
8224 for cc_temp in $compiler""; do
8225 case $cc_temp in
8226 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8227 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8228 \-*) ;;
8229 *) break;;
8230 esac
8231 done
8232 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8235 # Only perform the check for file, if the check method requires it
8236 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8237 case $deplibs_check_method in
8238 file_magic*)
8239 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8241 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8242 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 case $MAGIC_CMD in
8246 [\\/*] | ?:[\\/]*)
8247 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8250 lt_save_MAGIC_CMD="$MAGIC_CMD"
8251 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8252 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8253 for ac_dir in $ac_dummy; do
8254 IFS="$lt_save_ifs"
8255 test -z "$ac_dir" && ac_dir=.
8256 if test -f $ac_dir/${ac_tool_prefix}file; then
8257 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8258 if test -n "$file_magic_test_file"; then
8259 case $deplibs_check_method in
8260 "file_magic "*)
8261 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8262 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8263 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8264 $EGREP "$file_magic_regex" > /dev/null; then
8266 else
8267 cat <<_LT_EOF 1>&2
8269 *** Warning: the command libtool uses to detect shared libraries,
8270 *** $file_magic_cmd, produces output that libtool cannot recognize.
8271 *** The result is that libtool may fail to recognize shared libraries
8272 *** as such. This will affect the creation of libtool libraries that
8273 *** depend on shared libraries, but programs linked with such libtool
8274 *** libraries will work regardless of this problem. Nevertheless, you
8275 *** may want to report the problem to your system manager and/or to
8276 *** bug-libtool@gnu.org
8278 _LT_EOF
8279 fi ;;
8280 esac
8282 break
8284 done
8285 IFS="$lt_save_ifs"
8286 MAGIC_CMD="$lt_save_MAGIC_CMD"
8288 esac
8291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8292 if test -n "$MAGIC_CMD"; then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8294 $as_echo "$MAGIC_CMD" >&6; }
8295 else
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297 $as_echo "no" >&6; }
8304 if test -z "$lt_cv_path_MAGIC_CMD"; then
8305 if test -n "$ac_tool_prefix"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8307 $as_echo_n "checking for file... " >&6; }
8308 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8309 $as_echo_n "(cached) " >&6
8310 else
8311 case $MAGIC_CMD in
8312 [\\/*] | ?:[\\/]*)
8313 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8316 lt_save_MAGIC_CMD="$MAGIC_CMD"
8317 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8318 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8319 for ac_dir in $ac_dummy; do
8320 IFS="$lt_save_ifs"
8321 test -z "$ac_dir" && ac_dir=.
8322 if test -f $ac_dir/file; then
8323 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8324 if test -n "$file_magic_test_file"; then
8325 case $deplibs_check_method in
8326 "file_magic "*)
8327 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8328 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8329 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8330 $EGREP "$file_magic_regex" > /dev/null; then
8332 else
8333 cat <<_LT_EOF 1>&2
8335 *** Warning: the command libtool uses to detect shared libraries,
8336 *** $file_magic_cmd, produces output that libtool cannot recognize.
8337 *** The result is that libtool may fail to recognize shared libraries
8338 *** as such. This will affect the creation of libtool libraries that
8339 *** depend on shared libraries, but programs linked with such libtool
8340 *** libraries will work regardless of this problem. Nevertheless, you
8341 *** may want to report the problem to your system manager and/or to
8342 *** bug-libtool@gnu.org
8344 _LT_EOF
8345 fi ;;
8346 esac
8348 break
8350 done
8351 IFS="$lt_save_ifs"
8352 MAGIC_CMD="$lt_save_MAGIC_CMD"
8354 esac
8357 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8358 if test -n "$MAGIC_CMD"; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8360 $as_echo "$MAGIC_CMD" >&6; }
8361 else
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 $as_echo "no" >&6; }
8367 else
8368 MAGIC_CMD=:
8374 esac
8376 # Use C for the default configuration in the libtool script
8378 lt_save_CC="$CC"
8379 ac_ext=c
8380 ac_cpp='$CPP $CPPFLAGS'
8381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8386 # Source file extension for C test sources.
8387 ac_ext=c
8389 # Object file extension for compiled C test sources.
8390 objext=o
8391 objext=$objext
8393 # Code to be used in simple compile tests
8394 lt_simple_compile_test_code="int some_variable = 0;"
8396 # Code to be used in simple link tests
8397 lt_simple_link_test_code='int main(){return(0);}'
8405 # If no C compiler was specified, use CC.
8406 LTCC=${LTCC-"$CC"}
8408 # If no C compiler flags were specified, use CFLAGS.
8409 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8411 # Allow CC to be a program name with arguments.
8412 compiler=$CC
8414 # Save the default compiler, since it gets overwritten when the other
8415 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8416 compiler_DEFAULT=$CC
8418 # save warnings/boilerplate of simple test code
8419 ac_outfile=conftest.$ac_objext
8420 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8421 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8422 _lt_compiler_boilerplate=`cat conftest.err`
8423 $RM conftest*
8425 ac_outfile=conftest.$ac_objext
8426 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8427 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8428 _lt_linker_boilerplate=`cat conftest.err`
8429 $RM -r conftest*
8432 ## CAVEAT EMPTOR:
8433 ## There is no encapsulation within the following macros, do not change
8434 ## the running order or otherwise move them around unless you know exactly
8435 ## what you are doing...
8436 if test -n "$compiler"; then
8438 lt_prog_compiler_no_builtin_flag=
8440 if test "$GCC" = yes; then
8441 case $cc_basename in
8442 nvcc*)
8443 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8445 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8446 esac
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8449 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8450 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 lt_cv_prog_compiler_rtti_exceptions=no
8454 ac_outfile=conftest.$ac_objext
8455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8456 lt_compiler_flag="-fno-rtti -fno-exceptions"
8457 # Insert the option either (1) after the last *FLAGS variable, or
8458 # (2) before a word containing "conftest.", or (3) at the end.
8459 # Note that $ac_compile itself does not contain backslashes and begins
8460 # with a dollar sign (not a hyphen), so the echo should work correctly.
8461 # The option is referenced via a variable to avoid confusing sed.
8462 lt_compile=`echo "$ac_compile" | $SED \
8463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8465 -e 's:$: $lt_compiler_flag:'`
8466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8467 (eval "$lt_compile" 2>conftest.err)
8468 ac_status=$?
8469 cat conftest.err >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 if (exit $ac_status) && test -s "$ac_outfile"; then
8472 # The compiler can only warn and ignore the option if not recognized
8473 # So say no if there are warnings other than the usual output.
8474 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8475 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8476 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8477 lt_cv_prog_compiler_rtti_exceptions=yes
8480 $RM conftest*
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8484 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8486 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8487 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8488 else
8499 lt_prog_compiler_wl=
8500 lt_prog_compiler_pic=
8501 lt_prog_compiler_static=
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8504 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8506 if test "$GCC" = yes; then
8507 lt_prog_compiler_wl='-Wl,'
8508 lt_prog_compiler_static='-static'
8510 case $host_os in
8511 aix*)
8512 # All AIX code is PIC.
8513 if test "$host_cpu" = ia64; then
8514 # AIX 5 now supports IA64 processor
8515 lt_prog_compiler_static='-Bstatic'
8519 amigaos*)
8520 case $host_cpu in
8521 powerpc)
8522 # see comment about AmigaOS4 .so support
8523 lt_prog_compiler_pic='-fPIC'
8525 m68k)
8526 # FIXME: we need at least 68020 code to build shared libraries, but
8527 # adding the `-m68020' flag to GCC prevents building anything better,
8528 # like `-m68040'.
8529 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8531 esac
8534 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8535 # PIC is the default for these OSes.
8538 mingw* | cygwin* | pw32* | os2* | cegcc*)
8539 # This hack is so that the source file can tell whether it is being
8540 # built for inclusion in a dll (and should export symbols for example).
8541 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8542 # (--disable-auto-import) libraries
8543 lt_prog_compiler_pic='-DDLL_EXPORT'
8546 darwin* | rhapsody*)
8547 # PIC is the default on this platform
8548 # Common symbols not allowed in MH_DYLIB files
8549 lt_prog_compiler_pic='-fno-common'
8552 haiku*)
8553 # PIC is the default for Haiku.
8554 # The "-static" flag exists, but is broken.
8555 lt_prog_compiler_static=
8558 hpux*)
8559 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8560 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8561 # sets the default TLS model and affects inlining.
8562 case $host_cpu in
8563 hppa*64*)
8564 # +Z the default
8567 lt_prog_compiler_pic='-fPIC'
8569 esac
8572 interix[3-9]*)
8573 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8574 # Instead, we relocate shared libraries at runtime.
8577 msdosdjgpp*)
8578 # Just because we use GCC doesn't mean we suddenly get shared libraries
8579 # on systems that don't support them.
8580 lt_prog_compiler_can_build_shared=no
8581 enable_shared=no
8584 *nto* | *qnx*)
8585 # QNX uses GNU C++, but need to define -shared option too, otherwise
8586 # it will coredump.
8587 lt_prog_compiler_pic='-fPIC -shared'
8590 sysv4*MP*)
8591 if test -d /usr/nec; then
8592 lt_prog_compiler_pic=-Kconform_pic
8597 lt_prog_compiler_pic='-fPIC'
8599 esac
8601 case $cc_basename in
8602 nvcc*) # Cuda Compiler Driver 2.2
8603 lt_prog_compiler_wl='-Xlinker '
8604 lt_prog_compiler_pic='-Xcompiler -fPIC'
8606 esac
8607 else
8608 # PORTME Check for flag to pass linker flags through the system compiler.
8609 case $host_os in
8610 aix*)
8611 lt_prog_compiler_wl='-Wl,'
8612 if test "$host_cpu" = ia64; then
8613 # AIX 5 now supports IA64 processor
8614 lt_prog_compiler_static='-Bstatic'
8615 else
8616 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8620 mingw* | cygwin* | pw32* | os2* | cegcc*)
8621 # This hack is so that the source file can tell whether it is being
8622 # built for inclusion in a dll (and should export symbols for example).
8623 lt_prog_compiler_pic='-DDLL_EXPORT'
8626 hpux9* | hpux10* | hpux11*)
8627 lt_prog_compiler_wl='-Wl,'
8628 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8629 # not for PA HP-UX.
8630 case $host_cpu in
8631 hppa*64*|ia64*)
8632 # +Z the default
8635 lt_prog_compiler_pic='+Z'
8637 esac
8638 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8639 lt_prog_compiler_static='${wl}-a ${wl}archive'
8642 irix5* | irix6* | nonstopux*)
8643 lt_prog_compiler_wl='-Wl,'
8644 # PIC (with -KPIC) is the default.
8645 lt_prog_compiler_static='-non_shared'
8648 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8649 case $cc_basename in
8650 # old Intel for x86_64 which still supported -KPIC.
8651 ecc*)
8652 lt_prog_compiler_wl='-Wl,'
8653 lt_prog_compiler_pic='-KPIC'
8654 lt_prog_compiler_static='-static'
8656 # icc used to be incompatible with GCC.
8657 # ICC 10 doesn't accept -KPIC any more.
8658 icc* | ifort*)
8659 lt_prog_compiler_wl='-Wl,'
8660 lt_prog_compiler_pic='-fPIC'
8661 lt_prog_compiler_static='-static'
8663 # Lahey Fortran 8.1.
8664 lf95*)
8665 lt_prog_compiler_wl='-Wl,'
8666 lt_prog_compiler_pic='--shared'
8667 lt_prog_compiler_static='--static'
8669 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8670 # Portland Group compilers (*not* the Pentium gcc compiler,
8671 # which looks to be a dead project)
8672 lt_prog_compiler_wl='-Wl,'
8673 lt_prog_compiler_pic='-fpic'
8674 lt_prog_compiler_static='-Bstatic'
8676 ccc*)
8677 lt_prog_compiler_wl='-Wl,'
8678 # All Alpha code is PIC.
8679 lt_prog_compiler_static='-non_shared'
8681 xl* | bgxl* | bgf* | mpixl*)
8682 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8683 lt_prog_compiler_wl='-Wl,'
8684 lt_prog_compiler_pic='-qpic'
8685 lt_prog_compiler_static='-qstaticlink'
8688 case `$CC -V 2>&1 | sed 5q` in
8689 *Sun\ F* | *Sun*Fortran*)
8690 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8691 lt_prog_compiler_pic='-KPIC'
8692 lt_prog_compiler_static='-Bstatic'
8693 lt_prog_compiler_wl=''
8695 *Sun\ C*)
8696 # Sun C 5.9
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-Bstatic'
8699 lt_prog_compiler_wl='-Wl,'
8701 esac
8703 esac
8706 newsos6)
8707 lt_prog_compiler_pic='-KPIC'
8708 lt_prog_compiler_static='-Bstatic'
8711 *nto* | *qnx*)
8712 # QNX uses GNU C++, but need to define -shared option too, otherwise
8713 # it will coredump.
8714 lt_prog_compiler_pic='-fPIC -shared'
8717 osf3* | osf4* | osf5*)
8718 lt_prog_compiler_wl='-Wl,'
8719 # All OSF/1 code is PIC.
8720 lt_prog_compiler_static='-non_shared'
8723 rdos*)
8724 lt_prog_compiler_static='-non_shared'
8727 solaris*)
8728 lt_prog_compiler_pic='-KPIC'
8729 lt_prog_compiler_static='-Bstatic'
8730 case $cc_basename in
8731 f77* | f90* | f95*)
8732 lt_prog_compiler_wl='-Qoption ld ';;
8734 lt_prog_compiler_wl='-Wl,';;
8735 esac
8738 sunos4*)
8739 lt_prog_compiler_wl='-Qoption ld '
8740 lt_prog_compiler_pic='-PIC'
8741 lt_prog_compiler_static='-Bstatic'
8744 sysv4 | sysv4.2uw2* | sysv4.3*)
8745 lt_prog_compiler_wl='-Wl,'
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8750 sysv4*MP*)
8751 if test -d /usr/nec ;then
8752 lt_prog_compiler_pic='-Kconform_pic'
8753 lt_prog_compiler_static='-Bstatic'
8757 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8758 lt_prog_compiler_wl='-Wl,'
8759 lt_prog_compiler_pic='-KPIC'
8760 lt_prog_compiler_static='-Bstatic'
8763 unicos*)
8764 lt_prog_compiler_wl='-Wl,'
8765 lt_prog_compiler_can_build_shared=no
8768 uts4*)
8769 lt_prog_compiler_pic='-pic'
8770 lt_prog_compiler_static='-Bstatic'
8774 lt_prog_compiler_can_build_shared=no
8776 esac
8779 case $host_os in
8780 # For platforms which do not support PIC, -DPIC is meaningless:
8781 *djgpp*)
8782 lt_prog_compiler_pic=
8785 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8787 esac
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8789 $as_echo "$lt_prog_compiler_pic" >&6; }
8797 # Check to make sure the PIC flag actually works.
8799 if test -n "$lt_prog_compiler_pic"; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8801 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8802 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8803 $as_echo_n "(cached) " >&6
8804 else
8805 lt_cv_prog_compiler_pic_works=no
8806 ac_outfile=conftest.$ac_objext
8807 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8808 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8809 # Insert the option either (1) after the last *FLAGS variable, or
8810 # (2) before a word containing "conftest.", or (3) at the end.
8811 # Note that $ac_compile itself does not contain backslashes and begins
8812 # with a dollar sign (not a hyphen), so the echo should work correctly.
8813 # The option is referenced via a variable to avoid confusing sed.
8814 lt_compile=`echo "$ac_compile" | $SED \
8815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8817 -e 's:$: $lt_compiler_flag:'`
8818 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8819 (eval "$lt_compile" 2>conftest.err)
8820 ac_status=$?
8821 cat conftest.err >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 if (exit $ac_status) && test -s "$ac_outfile"; then
8824 # The compiler can only warn and ignore the option if not recognized
8825 # So say no if there are warnings other than the usual output.
8826 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8828 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8829 lt_cv_prog_compiler_pic_works=yes
8832 $RM conftest*
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8836 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8838 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8839 case $lt_prog_compiler_pic in
8840 "" | " "*) ;;
8841 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8842 esac
8843 else
8844 lt_prog_compiler_pic=
8845 lt_prog_compiler_can_build_shared=no
8856 # Check to make sure the static flag actually works.
8858 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8860 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8861 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8862 $as_echo_n "(cached) " >&6
8863 else
8864 lt_cv_prog_compiler_static_works=no
8865 save_LDFLAGS="$LDFLAGS"
8866 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8867 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8868 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8869 # The linker can only warn and ignore the option if not recognized
8870 # So say no if there are warnings
8871 if test -s conftest.err; then
8872 # Append any errors to the config.log.
8873 cat conftest.err 1>&5
8874 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8875 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8876 if diff conftest.exp conftest.er2 >/dev/null; then
8877 lt_cv_prog_compiler_static_works=yes
8879 else
8880 lt_cv_prog_compiler_static_works=yes
8883 $RM -r conftest*
8884 LDFLAGS="$save_LDFLAGS"
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8888 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8890 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8892 else
8893 lt_prog_compiler_static=
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8903 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8904 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8905 $as_echo_n "(cached) " >&6
8906 else
8907 lt_cv_prog_compiler_c_o=no
8908 $RM -r conftest 2>/dev/null
8909 mkdir conftest
8910 cd conftest
8911 mkdir out
8912 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8914 lt_compiler_flag="-o out/conftest2.$ac_objext"
8915 # Insert the option either (1) after the last *FLAGS variable, or
8916 # (2) before a word containing "conftest.", or (3) at the end.
8917 # Note that $ac_compile itself does not contain backslashes and begins
8918 # with a dollar sign (not a hyphen), so the echo should work correctly.
8919 lt_compile=`echo "$ac_compile" | $SED \
8920 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8921 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8922 -e 's:$: $lt_compiler_flag:'`
8923 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8924 (eval "$lt_compile" 2>out/conftest.err)
8925 ac_status=$?
8926 cat out/conftest.err >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8929 then
8930 # The compiler can only warn and ignore the option if not recognized
8931 # So say no if there are warnings
8932 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8933 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8934 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8935 lt_cv_prog_compiler_c_o=yes
8938 chmod u+w . 2>&5
8939 $RM conftest*
8940 # SGI C++ compiler will create directory out/ii_files/ for
8941 # template instantiation
8942 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8943 $RM out/* && rmdir out
8944 cd ..
8945 $RM -r conftest
8946 $RM conftest*
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8950 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8958 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8959 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8960 $as_echo_n "(cached) " >&6
8961 else
8962 lt_cv_prog_compiler_c_o=no
8963 $RM -r conftest 2>/dev/null
8964 mkdir conftest
8965 cd conftest
8966 mkdir out
8967 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8969 lt_compiler_flag="-o out/conftest2.$ac_objext"
8970 # Insert the option either (1) after the last *FLAGS variable, or
8971 # (2) before a word containing "conftest.", or (3) at the end.
8972 # Note that $ac_compile itself does not contain backslashes and begins
8973 # with a dollar sign (not a hyphen), so the echo should work correctly.
8974 lt_compile=`echo "$ac_compile" | $SED \
8975 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8976 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8977 -e 's:$: $lt_compiler_flag:'`
8978 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8979 (eval "$lt_compile" 2>out/conftest.err)
8980 ac_status=$?
8981 cat out/conftest.err >&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8984 then
8985 # The compiler can only warn and ignore the option if not recognized
8986 # So say no if there are warnings
8987 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8988 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8989 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8990 lt_cv_prog_compiler_c_o=yes
8993 chmod u+w . 2>&5
8994 $RM conftest*
8995 # SGI C++ compiler will create directory out/ii_files/ for
8996 # template instantiation
8997 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8998 $RM out/* && rmdir out
8999 cd ..
9000 $RM -r conftest
9001 $RM conftest*
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9005 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9010 hard_links="nottested"
9011 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9012 # do not overwrite the value of need_locks provided by the user
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9014 $as_echo_n "checking if we can lock with hard links... " >&6; }
9015 hard_links=yes
9016 $RM conftest*
9017 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9018 touch conftest.a
9019 ln conftest.a conftest.b 2>&5 || hard_links=no
9020 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9022 $as_echo "$hard_links" >&6; }
9023 if test "$hard_links" = no; then
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9025 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9026 need_locks=warn
9028 else
9029 need_locks=no
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9038 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9040 runpath_var=
9041 allow_undefined_flag=
9042 always_export_symbols=no
9043 archive_cmds=
9044 archive_expsym_cmds=
9045 compiler_needs_object=no
9046 enable_shared_with_static_runtimes=no
9047 export_dynamic_flag_spec=
9048 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9049 hardcode_automatic=no
9050 hardcode_direct=no
9051 hardcode_direct_absolute=no
9052 hardcode_libdir_flag_spec=
9053 hardcode_libdir_flag_spec_ld=
9054 hardcode_libdir_separator=
9055 hardcode_minus_L=no
9056 hardcode_shlibpath_var=unsupported
9057 inherit_rpath=no
9058 link_all_deplibs=unknown
9059 module_cmds=
9060 module_expsym_cmds=
9061 old_archive_from_new_cmds=
9062 old_archive_from_expsyms_cmds=
9063 thread_safe_flag_spec=
9064 whole_archive_flag_spec=
9065 # include_expsyms should be a list of space-separated symbols to be *always*
9066 # included in the symbol list
9067 include_expsyms=
9068 # exclude_expsyms can be an extended regexp of symbols to exclude
9069 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9070 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9071 # as well as any symbol that contains `d'.
9072 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9073 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9074 # platforms (ab)use it in PIC code, but their linkers get confused if
9075 # the symbol is explicitly referenced. Since portable code cannot
9076 # rely on this symbol name, it's probably fine to never include it in
9077 # preloaded symbol tables.
9078 # Exclude shared library initialization/finalization symbols.
9079 extract_expsyms_cmds=
9081 case $host_os in
9082 cygwin* | mingw* | pw32* | cegcc*)
9083 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9084 # When not using gcc, we currently assume that we are using
9085 # Microsoft Visual C++.
9086 if test "$GCC" != yes; then
9087 with_gnu_ld=no
9090 interix*)
9091 # we just hope/assume this is gcc and not c89 (= MSVC++)
9092 with_gnu_ld=yes
9094 openbsd*)
9095 with_gnu_ld=no
9097 esac
9099 ld_shlibs=yes
9101 # On some targets, GNU ld is compatible enough with the native linker
9102 # that we're better off using the native interface for both.
9103 lt_use_gnu_ld_interface=no
9104 if test "$with_gnu_ld" = yes; then
9105 case $host_os in
9106 aix*)
9107 # The AIX port of GNU ld has always aspired to compatibility
9108 # with the native linker. However, as the warning in the GNU ld
9109 # block says, versions before 2.19.5* couldn't really create working
9110 # shared libraries, regardless of the interface used.
9111 case `$LD -v 2>&1` in
9112 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9113 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9114 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9116 lt_use_gnu_ld_interface=yes
9118 esac
9121 lt_use_gnu_ld_interface=yes
9123 esac
9126 if test "$lt_use_gnu_ld_interface" = yes; then
9127 # If archive_cmds runs LD, not CC, wlarc should be empty
9128 wlarc='${wl}'
9130 # Set some defaults for GNU ld with shared library support. These
9131 # are reset later if shared libraries are not supported. Putting them
9132 # here allows them to be overridden if necessary.
9133 runpath_var=LD_RUN_PATH
9134 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9135 export_dynamic_flag_spec='${wl}--export-dynamic'
9136 # ancient GNU ld didn't support --whole-archive et. al.
9137 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9138 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9139 else
9140 whole_archive_flag_spec=
9142 supports_anon_versioning=no
9143 case `$LD -v 2>&1` in
9144 *GNU\ gold*) supports_anon_versioning=yes ;;
9145 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9146 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9147 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9148 *\ 2.11.*) ;; # other 2.11 versions
9149 *) supports_anon_versioning=yes ;;
9150 esac
9152 # See if GNU ld supports shared libraries.
9153 case $host_os in
9154 aix[3-9]*)
9155 # On AIX/PPC, the GNU linker is very broken
9156 if test "$host_cpu" != ia64; then
9157 ld_shlibs=no
9158 cat <<_LT_EOF 1>&2
9160 *** Warning: the GNU linker, at least up to release 2.19, is reported
9161 *** to be unable to reliably create shared libraries on AIX.
9162 *** Therefore, libtool is disabling shared libraries support. If you
9163 *** really care for shared libraries, you may want to install binutils
9164 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9165 *** You will then need to restart the configuration process.
9167 _LT_EOF
9171 amigaos*)
9172 case $host_cpu in
9173 powerpc)
9174 # see comment about AmigaOS4 .so support
9175 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9176 archive_expsym_cmds=''
9178 m68k)
9179 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)'
9180 hardcode_libdir_flag_spec='-L$libdir'
9181 hardcode_minus_L=yes
9183 esac
9186 beos*)
9187 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9188 allow_undefined_flag=unsupported
9189 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9190 # support --undefined. This deserves some investigation. FIXME
9191 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192 else
9193 ld_shlibs=no
9197 cygwin* | mingw* | pw32* | cegcc*)
9198 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9199 # as there is no search path for DLLs.
9200 hardcode_libdir_flag_spec='-L$libdir'
9201 export_dynamic_flag_spec='${wl}--export-all-symbols'
9202 allow_undefined_flag=unsupported
9203 always_export_symbols=no
9204 enable_shared_with_static_runtimes=yes
9205 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9207 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9208 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9209 # If the export-symbols file already is a .def file (1st line
9210 # is EXPORTS), use it as is; otherwise, prepend...
9211 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9212 cp $export_symbols $output_objdir/$soname.def;
9213 else
9214 echo EXPORTS > $output_objdir/$soname.def;
9215 cat $export_symbols >> $output_objdir/$soname.def;
9217 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9218 else
9219 ld_shlibs=no
9223 haiku*)
9224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9225 link_all_deplibs=yes
9228 interix[3-9]*)
9229 hardcode_direct=no
9230 hardcode_shlibpath_var=no
9231 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9232 export_dynamic_flag_spec='${wl}-E'
9233 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9234 # Instead, shared libraries are loaded at an image base (0x10000000 by
9235 # default) and relocated if they conflict, which is a slow very memory
9236 # consuming and fragmenting process. To avoid this, we pick a random,
9237 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9238 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9239 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9240 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'
9243 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9244 tmp_diet=no
9245 if test "$host_os" = linux-dietlibc; then
9246 case $cc_basename in
9247 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9248 esac
9250 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9251 && test "$tmp_diet" = no
9252 then
9253 tmp_addflag=
9254 tmp_sharedflag='-shared'
9255 case $cc_basename,$host_cpu in
9256 pgcc*) # Portland Group C compiler
9257 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'
9258 tmp_addflag=' $pic_flag'
9260 pgf77* | pgf90* | pgf95* | pgfortran*)
9261 # Portland Group f77 and f90 compilers
9262 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'
9263 tmp_addflag=' $pic_flag -Mnomain' ;;
9264 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9265 tmp_addflag=' -i_dynamic' ;;
9266 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9267 tmp_addflag=' -i_dynamic -nofor_main' ;;
9268 ifc* | ifort*) # Intel Fortran compiler
9269 tmp_addflag=' -nofor_main' ;;
9270 lf95*) # Lahey Fortran 8.1
9271 whole_archive_flag_spec=
9272 tmp_sharedflag='--shared' ;;
9273 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9274 tmp_sharedflag='-qmkshrobj'
9275 tmp_addflag= ;;
9276 nvcc*) # Cuda Compiler Driver 2.2
9277 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'
9278 compiler_needs_object=yes
9280 esac
9281 case `$CC -V 2>&1 | sed 5q` in
9282 *Sun\ C*) # Sun C 5.9
9283 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'
9284 compiler_needs_object=yes
9285 tmp_sharedflag='-G' ;;
9286 *Sun\ F*) # Sun Fortran 8.3
9287 tmp_sharedflag='-G' ;;
9288 esac
9289 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9291 if test "x$supports_anon_versioning" = xyes; then
9292 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9293 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9294 echo "local: *; };" >> $output_objdir/$libname.ver~
9295 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9298 case $cc_basename in
9299 xlf* | bgf* | bgxlf* | mpixlf*)
9300 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9301 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9302 hardcode_libdir_flag_spec=
9303 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9304 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9305 if test "x$supports_anon_versioning" = xyes; then
9306 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9307 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9308 echo "local: *; };" >> $output_objdir/$libname.ver~
9309 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9312 esac
9313 else
9314 ld_shlibs=no
9318 netbsd*)
9319 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9320 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9321 wlarc=
9322 else
9323 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9324 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9328 solaris*)
9329 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9330 ld_shlibs=no
9331 cat <<_LT_EOF 1>&2
9333 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9334 *** create shared libraries on Solaris systems. Therefore, libtool
9335 *** is disabling shared libraries support. We urge you to upgrade GNU
9336 *** binutils to release 2.9.1 or newer. Another option is to modify
9337 *** your PATH or compiler configuration so that the native linker is
9338 *** used, and then restart.
9340 _LT_EOF
9341 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9342 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9344 else
9345 ld_shlibs=no
9349 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9350 case `$LD -v 2>&1` in
9351 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9352 ld_shlibs=no
9353 cat <<_LT_EOF 1>&2
9355 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9356 *** reliably create shared libraries on SCO systems. Therefore, libtool
9357 *** is disabling shared libraries support. We urge you to upgrade GNU
9358 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9359 *** your PATH or compiler configuration so that the native linker is
9360 *** used, and then restart.
9362 _LT_EOF
9365 # For security reasons, it is highly recommended that you always
9366 # use absolute paths for naming shared libraries, and exclude the
9367 # DT_RUNPATH tag from executables and libraries. But doing so
9368 # requires that you compile everything twice, which is a pain.
9369 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9370 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9371 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9372 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9373 else
9374 ld_shlibs=no
9377 esac
9380 sunos4*)
9381 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9382 wlarc=
9383 hardcode_direct=yes
9384 hardcode_shlibpath_var=no
9388 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9389 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9390 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9391 else
9392 ld_shlibs=no
9395 esac
9397 if test "$ld_shlibs" = no; then
9398 runpath_var=
9399 hardcode_libdir_flag_spec=
9400 export_dynamic_flag_spec=
9401 whole_archive_flag_spec=
9403 else
9404 # PORTME fill in a description of your system's linker (not GNU ld)
9405 case $host_os in
9406 aix3*)
9407 allow_undefined_flag=unsupported
9408 always_export_symbols=yes
9409 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'
9410 # Note: this linker hardcodes the directories in LIBPATH if there
9411 # are no directories specified by -L.
9412 hardcode_minus_L=yes
9413 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9414 # Neither direct hardcoding nor static linking is supported with a
9415 # broken collect2.
9416 hardcode_direct=unsupported
9420 aix[4-9]*)
9421 if test "$host_cpu" = ia64; then
9422 # On IA64, the linker does run time linking by default, so we don't
9423 # have to do anything special.
9424 aix_use_runtimelinking=no
9425 exp_sym_flag='-Bexport'
9426 no_entry_flag=""
9427 else
9428 # If we're using GNU nm, then we don't want the "-C" option.
9429 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9430 # Also, AIX nm treats weak defined symbols like other global
9431 # defined symbols, whereas GNU nm marks them as "W".
9432 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9433 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'
9434 else
9435 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'
9437 aix_use_runtimelinking=no
9439 # Test if we are trying to use run time linking or normal
9440 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9441 # need to do runtime linking.
9442 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9443 for ld_flag in $LDFLAGS; do
9444 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9445 aix_use_runtimelinking=yes
9446 break
9448 done
9450 esac
9452 exp_sym_flag='-bexport'
9453 no_entry_flag='-bnoentry'
9456 # When large executables or shared objects are built, AIX ld can
9457 # have problems creating the table of contents. If linking a library
9458 # or program results in "error TOC overflow" add -mminimal-toc to
9459 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9460 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9462 archive_cmds=''
9463 hardcode_direct=yes
9464 hardcode_direct_absolute=yes
9465 hardcode_libdir_separator=':'
9466 link_all_deplibs=yes
9467 file_list_spec='${wl}-f,'
9469 if test "$GCC" = yes; then
9470 case $host_os in aix4.[012]|aix4.[012].*)
9471 # We only want to do this on AIX 4.2 and lower, the check
9472 # below for broken collect2 doesn't work under 4.3+
9473 collect2name=`${CC} -print-prog-name=collect2`
9474 if test -f "$collect2name" &&
9475 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9476 then
9477 # We have reworked collect2
9479 else
9480 # We have old collect2
9481 hardcode_direct=unsupported
9482 # It fails to find uninstalled libraries when the uninstalled
9483 # path is not listed in the libpath. Setting hardcode_minus_L
9484 # to unsupported forces relinking
9485 hardcode_minus_L=yes
9486 hardcode_libdir_flag_spec='-L$libdir'
9487 hardcode_libdir_separator=
9490 esac
9491 shared_flag='-shared'
9492 if test "$aix_use_runtimelinking" = yes; then
9493 shared_flag="$shared_flag "'${wl}-G'
9495 else
9496 # not using gcc
9497 if test "$host_cpu" = ia64; then
9498 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9499 # chokes on -Wl,-G. The following line is correct:
9500 shared_flag='-G'
9501 else
9502 if test "$aix_use_runtimelinking" = yes; then
9503 shared_flag='${wl}-G'
9504 else
9505 shared_flag='${wl}-bM:SRE'
9510 export_dynamic_flag_spec='${wl}-bexpall'
9511 # It seems that -bexpall does not export symbols beginning with
9512 # underscore (_), so it is better to generate a list of symbols to export.
9513 always_export_symbols=yes
9514 if test "$aix_use_runtimelinking" = yes; then
9515 # Warning - without using the other runtime loading flags (-brtl),
9516 # -berok will link without error, but may produce a broken library.
9517 allow_undefined_flag='-berok'
9518 # Determine the default libpath from the value encoded in an
9519 # empty executable.
9520 if test x$gcc_no_link = xyes; then
9521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9527 main ()
9531 return 0;
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"; then :
9536 lt_aix_libpath_sed='
9537 /Import File Strings/,/^$/ {
9538 /^0/ {
9539 s/^0 *\(.*\)$/\1/
9543 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9544 # Check for a 64-bit object if we didn't find anything.
9545 if test -z "$aix_libpath"; then
9546 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9549 rm -f core conftest.err conftest.$ac_objext \
9550 conftest$ac_exeext conftest.$ac_ext
9551 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9553 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9554 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"
9555 else
9556 if test "$host_cpu" = ia64; then
9557 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9558 allow_undefined_flag="-z nodefs"
9559 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"
9560 else
9561 # Determine the default libpath from the value encoded in an
9562 # empty executable.
9563 if test x$gcc_no_link = xyes; then
9564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9570 main ()
9574 return 0;
9576 _ACEOF
9577 if ac_fn_c_try_link "$LINENO"; then :
9579 lt_aix_libpath_sed='
9580 /Import File Strings/,/^$/ {
9581 /^0/ {
9582 s/^0 *\(.*\)$/\1/
9586 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9587 # Check for a 64-bit object if we didn't find anything.
9588 if test -z "$aix_libpath"; then
9589 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9592 rm -f core conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9594 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9596 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9597 # Warning - without using the other run time loading flags,
9598 # -berok will link without error, but may produce a broken library.
9599 no_undefined_flag=' ${wl}-bernotok'
9600 allow_undefined_flag=' ${wl}-berok'
9601 if test "$with_gnu_ld" = yes; then
9602 # We only use this code for GNU lds that support --whole-archive.
9603 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9604 else
9605 # Exported symbols can be pulled into shared objects from archives
9606 whole_archive_flag_spec='$convenience'
9608 archive_cmds_need_lc=yes
9609 # This is similar to how AIX traditionally builds its shared libraries.
9610 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'
9615 amigaos*)
9616 case $host_cpu in
9617 powerpc)
9618 # see comment about AmigaOS4 .so support
9619 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9620 archive_expsym_cmds=''
9622 m68k)
9623 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)'
9624 hardcode_libdir_flag_spec='-L$libdir'
9625 hardcode_minus_L=yes
9627 esac
9630 bsdi[45]*)
9631 export_dynamic_flag_spec=-rdynamic
9634 cygwin* | mingw* | pw32* | cegcc*)
9635 # When not using gcc, we currently assume that we are using
9636 # Microsoft Visual C++.
9637 # hardcode_libdir_flag_spec is actually meaningless, as there is
9638 # no search path for DLLs.
9639 hardcode_libdir_flag_spec=' '
9640 allow_undefined_flag=unsupported
9641 # Tell ltmain to make .lib files, not .a files.
9642 libext=lib
9643 # Tell ltmain to make .dll files, not .so files.
9644 shrext_cmds=".dll"
9645 # FIXME: Setting linknames here is a bad hack.
9646 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9647 # The linker will automatically build a .lib file if we build a DLL.
9648 old_archive_from_new_cmds='true'
9649 # FIXME: Should let the user specify the lib program.
9650 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9651 fix_srcfile_path='`cygpath -w "$srcfile"`'
9652 enable_shared_with_static_runtimes=yes
9655 darwin* | rhapsody*)
9658 archive_cmds_need_lc=no
9659 hardcode_direct=no
9660 hardcode_automatic=yes
9661 hardcode_shlibpath_var=unsupported
9662 if test "$lt_cv_ld_force_load" = "yes"; then
9663 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\"`'
9664 else
9665 whole_archive_flag_spec=''
9667 link_all_deplibs=yes
9668 allow_undefined_flag="$_lt_dar_allow_undefined"
9669 case $cc_basename in
9670 ifort*) _lt_dar_can_shared=yes ;;
9671 *) _lt_dar_can_shared=$GCC ;;
9672 esac
9673 if test "$_lt_dar_can_shared" = "yes"; then
9674 output_verbose_link_cmd=func_echo_all
9675 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9676 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9677 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}"
9678 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}"
9680 else
9681 ld_shlibs=no
9686 dgux*)
9687 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9688 hardcode_libdir_flag_spec='-L$libdir'
9689 hardcode_shlibpath_var=no
9692 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9693 # support. Future versions do this automatically, but an explicit c++rt0.o
9694 # does not break anything, and helps significantly (at the cost of a little
9695 # extra space).
9696 freebsd2.2*)
9697 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9698 hardcode_libdir_flag_spec='-R$libdir'
9699 hardcode_direct=yes
9700 hardcode_shlibpath_var=no
9703 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9704 freebsd2*)
9705 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9706 hardcode_direct=yes
9707 hardcode_minus_L=yes
9708 hardcode_shlibpath_var=no
9711 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9712 freebsd* | dragonfly*)
9713 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9714 hardcode_libdir_flag_spec='-R$libdir'
9715 hardcode_direct=yes
9716 hardcode_shlibpath_var=no
9719 hpux9*)
9720 if test "$GCC" = yes; then
9721 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'
9722 else
9723 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'
9725 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9726 hardcode_libdir_separator=:
9727 hardcode_direct=yes
9729 # hardcode_minus_L: Not really in the search PATH,
9730 # but as the default location of the library.
9731 hardcode_minus_L=yes
9732 export_dynamic_flag_spec='${wl}-E'
9735 hpux10*)
9736 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9737 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9738 else
9739 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9741 if test "$with_gnu_ld" = no; then
9742 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9743 hardcode_libdir_flag_spec_ld='+b $libdir'
9744 hardcode_libdir_separator=:
9745 hardcode_direct=yes
9746 hardcode_direct_absolute=yes
9747 export_dynamic_flag_spec='${wl}-E'
9748 # hardcode_minus_L: Not really in the search PATH,
9749 # but as the default location of the library.
9750 hardcode_minus_L=yes
9754 hpux11*)
9755 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9756 case $host_cpu in
9757 hppa*64*)
9758 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9760 ia64*)
9761 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9764 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9766 esac
9767 else
9768 case $host_cpu in
9769 hppa*64*)
9770 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9772 ia64*)
9773 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9777 # Older versions of the 11.00 compiler do not understand -b yet
9778 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9780 $as_echo_n "checking if $CC understands -b... " >&6; }
9781 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9782 $as_echo_n "(cached) " >&6
9783 else
9784 lt_cv_prog_compiler__b=no
9785 save_LDFLAGS="$LDFLAGS"
9786 LDFLAGS="$LDFLAGS -b"
9787 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9788 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9789 # The linker can only warn and ignore the option if not recognized
9790 # So say no if there are warnings
9791 if test -s conftest.err; then
9792 # Append any errors to the config.log.
9793 cat conftest.err 1>&5
9794 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9795 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9796 if diff conftest.exp conftest.er2 >/dev/null; then
9797 lt_cv_prog_compiler__b=yes
9799 else
9800 lt_cv_prog_compiler__b=yes
9803 $RM -r conftest*
9804 LDFLAGS="$save_LDFLAGS"
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9808 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9810 if test x"$lt_cv_prog_compiler__b" = xyes; then
9811 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9812 else
9813 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9817 esac
9819 if test "$with_gnu_ld" = no; then
9820 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9821 hardcode_libdir_separator=:
9823 case $host_cpu in
9824 hppa*64*|ia64*)
9825 hardcode_direct=no
9826 hardcode_shlibpath_var=no
9829 hardcode_direct=yes
9830 hardcode_direct_absolute=yes
9831 export_dynamic_flag_spec='${wl}-E'
9833 # hardcode_minus_L: Not really in the search PATH,
9834 # but as the default location of the library.
9835 hardcode_minus_L=yes
9837 esac
9841 irix5* | irix6* | nonstopux*)
9842 if test "$GCC" = yes; then
9843 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'
9844 # Try to use the -exported_symbol ld option, if it does not
9845 # work, assume that -exports_file does not work either and
9846 # implicitly export all symbols.
9847 save_LDFLAGS="$LDFLAGS"
9848 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9849 if test x$gcc_no_link = xyes; then
9850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9854 int foo(void) {}
9855 _ACEOF
9856 if ac_fn_c_try_link "$LINENO"; then :
9857 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'
9860 rm -f core conftest.err conftest.$ac_objext \
9861 conftest$ac_exeext conftest.$ac_ext
9862 LDFLAGS="$save_LDFLAGS"
9863 else
9864 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'
9865 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'
9867 archive_cmds_need_lc='no'
9868 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9869 hardcode_libdir_separator=:
9870 inherit_rpath=yes
9871 link_all_deplibs=yes
9874 netbsd*)
9875 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9876 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9877 else
9878 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9880 hardcode_libdir_flag_spec='-R$libdir'
9881 hardcode_direct=yes
9882 hardcode_shlibpath_var=no
9885 newsos6)
9886 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9887 hardcode_direct=yes
9888 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9889 hardcode_libdir_separator=:
9890 hardcode_shlibpath_var=no
9893 *nto* | *qnx*)
9896 openbsd*)
9897 if test -f /usr/libexec/ld.so; then
9898 hardcode_direct=yes
9899 hardcode_shlibpath_var=no
9900 hardcode_direct_absolute=yes
9901 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9902 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9903 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9904 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9905 export_dynamic_flag_spec='${wl}-E'
9906 else
9907 case $host_os in
9908 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9909 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9910 hardcode_libdir_flag_spec='-R$libdir'
9913 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9914 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9916 esac
9918 else
9919 ld_shlibs=no
9923 os2*)
9924 hardcode_libdir_flag_spec='-L$libdir'
9925 hardcode_minus_L=yes
9926 allow_undefined_flag=unsupported
9927 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'
9928 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9931 osf3*)
9932 if test "$GCC" = yes; then
9933 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9934 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'
9935 else
9936 allow_undefined_flag=' -expect_unresolved \*'
9937 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'
9939 archive_cmds_need_lc='no'
9940 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9941 hardcode_libdir_separator=:
9944 osf4* | osf5*) # as osf3* with the addition of -msym flag
9945 if test "$GCC" = yes; then
9946 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9947 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'
9948 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9949 else
9950 allow_undefined_flag=' -expect_unresolved \*'
9951 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'
9952 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~
9953 $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'
9955 # Both c and cxx compiler support -rpath directly
9956 hardcode_libdir_flag_spec='-rpath $libdir'
9958 archive_cmds_need_lc='no'
9959 hardcode_libdir_separator=:
9962 solaris*)
9963 no_undefined_flag=' -z defs'
9964 if test "$GCC" = yes; then
9965 wlarc='${wl}'
9966 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9967 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9968 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9969 else
9970 case `$CC -V 2>&1` in
9971 *"Compilers 5.0"*)
9972 wlarc=''
9973 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9974 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9975 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9978 wlarc='${wl}'
9979 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9980 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9981 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9983 esac
9985 hardcode_libdir_flag_spec='-R$libdir'
9986 hardcode_shlibpath_var=no
9987 case $host_os in
9988 solaris2.[0-5] | solaris2.[0-5].*) ;;
9990 # The compiler driver will combine and reorder linker options,
9991 # but understands `-z linker_flag'. GCC discards it without `$wl',
9992 # but is careful enough not to reorder.
9993 # Supported since Solaris 2.6 (maybe 2.5.1?)
9994 if test "$GCC" = yes; then
9995 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9996 else
9997 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10000 esac
10001 link_all_deplibs=yes
10004 sunos4*)
10005 if test "x$host_vendor" = xsequent; then
10006 # Use $CC to link under sequent, because it throws in some extra .o
10007 # files that make .init and .fini sections work.
10008 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10009 else
10010 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_libdir_flag_spec='-L$libdir'
10013 hardcode_direct=yes
10014 hardcode_minus_L=yes
10015 hardcode_shlibpath_var=no
10018 sysv4)
10019 case $host_vendor in
10020 sni)
10021 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10022 hardcode_direct=yes # is this really true???
10024 siemens)
10025 ## LD is ld it makes a PLAMLIB
10026 ## CC just makes a GrossModule.
10027 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10028 reload_cmds='$CC -r -o $output$reload_objs'
10029 hardcode_direct=no
10031 motorola)
10032 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10033 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10035 esac
10036 runpath_var='LD_RUN_PATH'
10037 hardcode_shlibpath_var=no
10040 sysv4.3*)
10041 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10042 hardcode_shlibpath_var=no
10043 export_dynamic_flag_spec='-Bexport'
10046 sysv4*MP*)
10047 if test -d /usr/nec; then
10048 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10049 hardcode_shlibpath_var=no
10050 runpath_var=LD_RUN_PATH
10051 hardcode_runpath_var=yes
10052 ld_shlibs=yes
10056 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10057 no_undefined_flag='${wl}-z,text'
10058 archive_cmds_need_lc=no
10059 hardcode_shlibpath_var=no
10060 runpath_var='LD_RUN_PATH'
10062 if test "$GCC" = yes; then
10063 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10064 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 else
10066 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10071 sysv5* | sco3.2v5* | sco5v6*)
10072 # Note: We can NOT use -z defs as we might desire, because we do not
10073 # link with -lc, and that would cause any symbols used from libc to
10074 # always be unresolved, which means just about no library would
10075 # ever link correctly. If we're not using GNU ld we use -z text
10076 # though, which does catch some bad symbols but isn't as heavy-handed
10077 # as -z defs.
10078 no_undefined_flag='${wl}-z,text'
10079 allow_undefined_flag='${wl}-z,nodefs'
10080 archive_cmds_need_lc=no
10081 hardcode_shlibpath_var=no
10082 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10083 hardcode_libdir_separator=':'
10084 link_all_deplibs=yes
10085 export_dynamic_flag_spec='${wl}-Bexport'
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 uts4*)
10098 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10099 hardcode_libdir_flag_spec='-L$libdir'
10100 hardcode_shlibpath_var=no
10104 ld_shlibs=no
10106 esac
10108 if test x$host_vendor = xsni; then
10109 case $host in
10110 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10111 export_dynamic_flag_spec='${wl}-Blargedynsym'
10113 esac
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10118 $as_echo "$ld_shlibs" >&6; }
10119 test "$ld_shlibs" = no && can_build_shared=no
10121 with_gnu_ld=$with_gnu_ld
10138 # Do we need to explicitly link libc?
10140 case "x$archive_cmds_need_lc" in
10141 x|xyes)
10142 # Assume -lc should be added
10143 archive_cmds_need_lc=yes
10145 if test "$enable_shared" = yes && test "$GCC" = yes; then
10146 case $archive_cmds in
10147 *'~'*)
10148 # FIXME: we may have to deal with multi-command sequences.
10150 '$CC '*)
10151 # Test whether the compiler implicitly links with -lc since on some
10152 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10153 # to ld, don't add -lc before -lgcc.
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10155 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10156 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10157 $as_echo_n "(cached) " >&6
10158 else
10159 $RM conftest*
10160 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10162 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10163 (eval $ac_compile) 2>&5
10164 ac_status=$?
10165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10166 test $ac_status = 0; } 2>conftest.err; then
10167 soname=conftest
10168 lib=conftest
10169 libobjs=conftest.$ac_objext
10170 deplibs=
10171 wl=$lt_prog_compiler_wl
10172 pic_flag=$lt_prog_compiler_pic
10173 compiler_flags=-v
10174 linker_flags=-v
10175 verstring=
10176 output_objdir=.
10177 libname=conftest
10178 lt_save_allow_undefined_flag=$allow_undefined_flag
10179 allow_undefined_flag=
10180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10181 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10182 ac_status=$?
10183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10184 test $ac_status = 0; }
10185 then
10186 lt_cv_archive_cmds_need_lc=no
10187 else
10188 lt_cv_archive_cmds_need_lc=yes
10190 allow_undefined_flag=$lt_save_allow_undefined_flag
10191 else
10192 cat conftest.err 1>&5
10194 $RM conftest*
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10198 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10199 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10201 esac
10204 esac
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10363 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10365 if test "$GCC" = yes; then
10366 case $host_os in
10367 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10368 *) lt_awk_arg="/^libraries:/" ;;
10369 esac
10370 case $host_os in
10371 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10372 *) lt_sed_strip_eq="s,=/,/,g" ;;
10373 esac
10374 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10375 case $lt_search_path_spec in
10376 *\;*)
10377 # if the path contains ";" then we assume it to be the separator
10378 # otherwise default to the standard path separator (i.e. ":") - it is
10379 # assumed that no part of a normal pathname contains ";" but that should
10380 # okay in the real world where ";" in dirpaths is itself problematic.
10381 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10384 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10386 esac
10387 # Ok, now we have the path, separated by spaces, we can step through it
10388 # and add multilib dir if necessary.
10389 lt_tmp_lt_search_path_spec=
10390 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10391 for lt_sys_path in $lt_search_path_spec; do
10392 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10393 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10394 else
10395 test -d "$lt_sys_path" && \
10396 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10398 done
10399 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10400 BEGIN {RS=" "; FS="/|\n";} {
10401 lt_foo="";
10402 lt_count=0;
10403 for (lt_i = NF; lt_i > 0; lt_i--) {
10404 if ($lt_i != "" && $lt_i != ".") {
10405 if ($lt_i == "..") {
10406 lt_count++;
10407 } else {
10408 if (lt_count == 0) {
10409 lt_foo="/" $lt_i lt_foo;
10410 } else {
10411 lt_count--;
10416 if (lt_foo != "") { lt_freq[lt_foo]++; }
10417 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10419 # AWK program above erroneously prepends '/' to C:/dos/paths
10420 # for these hosts.
10421 case $host_os in
10422 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10423 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10424 esac
10425 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10426 else
10427 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10429 library_names_spec=
10430 libname_spec='lib$name'
10431 soname_spec=
10432 shrext_cmds=".so"
10433 postinstall_cmds=
10434 postuninstall_cmds=
10435 finish_cmds=
10436 finish_eval=
10437 shlibpath_var=
10438 shlibpath_overrides_runpath=unknown
10439 version_type=none
10440 dynamic_linker="$host_os ld.so"
10441 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10442 need_lib_prefix=unknown
10443 hardcode_into_libs=no
10445 # when you set need_version to no, make sure it does not cause -set_version
10446 # flags to be left without arguments
10447 need_version=unknown
10449 case $host_os in
10450 aix3*)
10451 version_type=linux
10452 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10453 shlibpath_var=LIBPATH
10455 # AIX 3 has no versioning support, so we append a major version to the name.
10456 soname_spec='${libname}${release}${shared_ext}$major'
10459 aix[4-9]*)
10460 version_type=linux
10461 need_lib_prefix=no
10462 need_version=no
10463 hardcode_into_libs=yes
10464 if test "$host_cpu" = ia64; then
10465 # AIX 5 supports IA64
10466 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10467 shlibpath_var=LD_LIBRARY_PATH
10468 else
10469 # With GCC up to 2.95.x, collect2 would create an import file
10470 # for dependence libraries. The import file would start with
10471 # the line `#! .'. This would cause the generated library to
10472 # depend on `.', always an invalid library. This was fixed in
10473 # development snapshots of GCC prior to 3.0.
10474 case $host_os in
10475 aix4 | aix4.[01] | aix4.[01].*)
10476 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10477 echo ' yes '
10478 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10480 else
10481 can_build_shared=no
10484 esac
10485 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10486 # soname into executable. Probably we can add versioning support to
10487 # collect2, so additional links can be useful in future.
10488 if test "$aix_use_runtimelinking" = yes; then
10489 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10490 # instead of lib<name>.a to let people know that these are not
10491 # typical AIX shared libraries.
10492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493 else
10494 # We preserve .a as extension for shared libraries through AIX4.2
10495 # and later when we are not doing run time linking.
10496 library_names_spec='${libname}${release}.a $libname.a'
10497 soname_spec='${libname}${release}${shared_ext}$major'
10499 shlibpath_var=LIBPATH
10503 amigaos*)
10504 case $host_cpu in
10505 powerpc)
10506 # Since July 2007 AmigaOS4 officially supports .so libraries.
10507 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 m68k)
10511 library_names_spec='$libname.ixlibrary $libname.a'
10512 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10513 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'
10515 esac
10518 beos*)
10519 library_names_spec='${libname}${shared_ext}'
10520 dynamic_linker="$host_os ld.so"
10521 shlibpath_var=LIBRARY_PATH
10524 bsdi[45]*)
10525 version_type=linux
10526 need_version=no
10527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528 soname_spec='${libname}${release}${shared_ext}$major'
10529 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10530 shlibpath_var=LD_LIBRARY_PATH
10531 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10532 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10533 # the default ld.so.conf also contains /usr/contrib/lib and
10534 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10535 # libtool to hard-code these into programs
10538 cygwin* | mingw* | pw32* | cegcc*)
10539 version_type=windows
10540 shrext_cmds=".dll"
10541 need_version=no
10542 need_lib_prefix=no
10544 case $GCC,$host_os in
10545 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10546 library_names_spec='$libname.dll.a'
10547 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10548 postinstall_cmds='base_file=`basename \${file}`~
10549 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10550 dldir=$destdir/`dirname \$dlpath`~
10551 test -d \$dldir || mkdir -p \$dldir~
10552 $install_prog $dir/$dlname \$dldir/$dlname~
10553 chmod a+x \$dldir/$dlname~
10554 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10555 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10557 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10558 dlpath=$dir/\$dldll~
10559 $RM \$dlpath'
10560 shlibpath_overrides_runpath=yes
10562 case $host_os in
10563 cygwin*)
10564 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10565 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10569 mingw* | cegcc*)
10570 # MinGW DLLs use traditional 'lib' prefix
10571 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10573 pw32*)
10574 # pw32 DLLs use 'pw' prefix rather than 'lib'
10575 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10577 esac
10581 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10583 esac
10584 dynamic_linker='Win32 ld.exe'
10585 # FIXME: first we should search . and the directory the executable is in
10586 shlibpath_var=PATH
10589 darwin* | rhapsody*)
10590 dynamic_linker="$host_os dyld"
10591 version_type=darwin
10592 need_lib_prefix=no
10593 need_version=no
10594 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10595 soname_spec='${libname}${release}${major}$shared_ext'
10596 shlibpath_overrides_runpath=yes
10597 shlibpath_var=DYLD_LIBRARY_PATH
10598 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10600 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10601 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10604 dgux*)
10605 version_type=linux
10606 need_lib_prefix=no
10607 need_version=no
10608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10609 soname_spec='${libname}${release}${shared_ext}$major'
10610 shlibpath_var=LD_LIBRARY_PATH
10613 freebsd* | dragonfly*)
10614 # DragonFly does not have aout. When/if they implement a new
10615 # versioning mechanism, adjust this.
10616 if test -x /usr/bin/objformat; then
10617 objformat=`/usr/bin/objformat`
10618 else
10619 case $host_os in
10620 freebsd[123]*) objformat=aout ;;
10621 *) objformat=elf ;;
10622 esac
10624 version_type=freebsd-$objformat
10625 case $version_type in
10626 freebsd-elf*)
10627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10628 need_version=no
10629 need_lib_prefix=no
10631 freebsd-*)
10632 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10633 need_version=yes
10635 esac
10636 shlibpath_var=LD_LIBRARY_PATH
10637 case $host_os in
10638 freebsd2*)
10639 shlibpath_overrides_runpath=yes
10641 freebsd3.[01]* | freebsdelf3.[01]*)
10642 shlibpath_overrides_runpath=yes
10643 hardcode_into_libs=yes
10645 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10646 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10647 shlibpath_overrides_runpath=no
10648 hardcode_into_libs=yes
10650 *) # from 4.6 on, and DragonFly
10651 shlibpath_overrides_runpath=yes
10652 hardcode_into_libs=yes
10654 esac
10657 gnu*)
10658 version_type=linux
10659 need_lib_prefix=no
10660 need_version=no
10661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10662 soname_spec='${libname}${release}${shared_ext}$major'
10663 shlibpath_var=LD_LIBRARY_PATH
10664 hardcode_into_libs=yes
10667 haiku*)
10668 version_type=linux
10669 need_lib_prefix=no
10670 need_version=no
10671 dynamic_linker="$host_os runtime_loader"
10672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10673 soname_spec='${libname}${release}${shared_ext}$major'
10674 shlibpath_var=LIBRARY_PATH
10675 shlibpath_overrides_runpath=yes
10676 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10677 hardcode_into_libs=yes
10680 hpux9* | hpux10* | hpux11*)
10681 # Give a soname corresponding to the major version so that dld.sl refuses to
10682 # link against other versions.
10683 version_type=sunos
10684 need_lib_prefix=no
10685 need_version=no
10686 case $host_cpu in
10687 ia64*)
10688 shrext_cmds='.so'
10689 hardcode_into_libs=yes
10690 dynamic_linker="$host_os dld.so"
10691 shlibpath_var=LD_LIBRARY_PATH
10692 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694 soname_spec='${libname}${release}${shared_ext}$major'
10695 if test "X$HPUX_IA64_MODE" = X32; then
10696 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10697 else
10698 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10700 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10702 hppa*64*)
10703 shrext_cmds='.sl'
10704 hardcode_into_libs=yes
10705 dynamic_linker="$host_os dld.sl"
10706 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10707 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10709 soname_spec='${libname}${release}${shared_ext}$major'
10710 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10711 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10714 shrext_cmds='.sl'
10715 dynamic_linker="$host_os dld.sl"
10716 shlibpath_var=SHLIB_PATH
10717 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10721 esac
10722 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10723 postinstall_cmds='chmod 555 $lib'
10724 # or fails outright, so override atomically:
10725 install_override_mode=555
10728 interix[3-9]*)
10729 version_type=linux
10730 need_lib_prefix=no
10731 need_version=no
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10735 shlibpath_var=LD_LIBRARY_PATH
10736 shlibpath_overrides_runpath=no
10737 hardcode_into_libs=yes
10740 irix5* | irix6* | nonstopux*)
10741 case $host_os in
10742 nonstopux*) version_type=nonstopux ;;
10744 if test "$lt_cv_prog_gnu_ld" = yes; then
10745 version_type=linux
10746 else
10747 version_type=irix
10748 fi ;;
10749 esac
10750 need_lib_prefix=no
10751 need_version=no
10752 soname_spec='${libname}${release}${shared_ext}$major'
10753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10754 case $host_os in
10755 irix5* | nonstopux*)
10756 libsuff= shlibsuff=
10759 case $LD in # libtool.m4 will add one of these switches to LD
10760 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10761 libsuff= shlibsuff= libmagic=32-bit;;
10762 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10763 libsuff=32 shlibsuff=N32 libmagic=N32;;
10764 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10765 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10766 *) libsuff= shlibsuff= libmagic=never-match;;
10767 esac
10769 esac
10770 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10771 shlibpath_overrides_runpath=no
10772 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10773 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10774 hardcode_into_libs=yes
10777 # No shared lib support for Linux oldld, aout, or coff.
10778 linux*oldld* | linux*aout* | linux*coff*)
10779 dynamic_linker=no
10782 # This must be Linux ELF.
10783 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10784 version_type=linux
10785 need_lib_prefix=no
10786 need_version=no
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10788 soname_spec='${libname}${release}${shared_ext}$major'
10789 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10790 shlibpath_var=LD_LIBRARY_PATH
10791 shlibpath_overrides_runpath=no
10793 # Some binutils ld are patched to set DT_RUNPATH
10794 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10795 $as_echo_n "(cached) " >&6
10796 else
10797 lt_cv_shlibpath_overrides_runpath=no
10798 save_LDFLAGS=$LDFLAGS
10799 save_libdir=$libdir
10800 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10801 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10802 if test x$gcc_no_link = xyes; then
10803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10809 main ()
10813 return 0;
10815 _ACEOF
10816 if ac_fn_c_try_link "$LINENO"; then :
10817 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10818 lt_cv_shlibpath_overrides_runpath=yes
10821 rm -f core conftest.err conftest.$ac_objext \
10822 conftest$ac_exeext conftest.$ac_ext
10823 LDFLAGS=$save_LDFLAGS
10824 libdir=$save_libdir
10828 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10830 # This implies no fast_install, which is unacceptable.
10831 # Some rework will be needed to allow for fast_install
10832 # before this can be enabled.
10833 hardcode_into_libs=yes
10835 # Append ld.so.conf contents to the search path
10836 if test -f /etc/ld.so.conf; then
10837 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' ' '`
10838 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10841 # We used to test for /lib/ld.so.1 and disable shared libraries on
10842 # powerpc, because MkLinux only supported shared libraries with the
10843 # GNU dynamic linker. Since this was broken with cross compilers,
10844 # most powerpc-linux boxes support dynamic linking these days and
10845 # people can always --disable-shared, the test was removed, and we
10846 # assume the GNU/Linux dynamic linker is in use.
10847 dynamic_linker='GNU/Linux ld.so'
10850 netbsd*)
10851 version_type=sunos
10852 need_lib_prefix=no
10853 need_version=no
10854 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10856 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10857 dynamic_linker='NetBSD (a.out) ld.so'
10858 else
10859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10860 soname_spec='${libname}${release}${shared_ext}$major'
10861 dynamic_linker='NetBSD ld.elf_so'
10863 shlibpath_var=LD_LIBRARY_PATH
10864 shlibpath_overrides_runpath=yes
10865 hardcode_into_libs=yes
10868 newsos6)
10869 version_type=linux
10870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10871 shlibpath_var=LD_LIBRARY_PATH
10872 shlibpath_overrides_runpath=yes
10875 *nto* | *qnx*)
10876 version_type=qnx
10877 need_lib_prefix=no
10878 need_version=no
10879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10880 soname_spec='${libname}${release}${shared_ext}$major'
10881 shlibpath_var=LD_LIBRARY_PATH
10882 shlibpath_overrides_runpath=no
10883 hardcode_into_libs=yes
10884 dynamic_linker='ldqnx.so'
10887 openbsd*)
10888 version_type=sunos
10889 sys_lib_dlsearch_path_spec="/usr/lib"
10890 need_lib_prefix=no
10891 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10892 case $host_os in
10893 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10894 *) need_version=no ;;
10895 esac
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10897 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10898 shlibpath_var=LD_LIBRARY_PATH
10899 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10900 case $host_os in
10901 openbsd2.[89] | openbsd2.[89].*)
10902 shlibpath_overrides_runpath=no
10905 shlibpath_overrides_runpath=yes
10907 esac
10908 else
10909 shlibpath_overrides_runpath=yes
10913 os2*)
10914 libname_spec='$name'
10915 shrext_cmds=".dll"
10916 need_lib_prefix=no
10917 library_names_spec='$libname${shared_ext} $libname.a'
10918 dynamic_linker='OS/2 ld.exe'
10919 shlibpath_var=LIBPATH
10922 osf3* | osf4* | osf5*)
10923 version_type=osf
10924 need_lib_prefix=no
10925 need_version=no
10926 soname_spec='${libname}${release}${shared_ext}$major'
10927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10928 shlibpath_var=LD_LIBRARY_PATH
10929 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10930 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10933 rdos*)
10934 dynamic_linker=no
10937 solaris*)
10938 version_type=linux
10939 need_lib_prefix=no
10940 need_version=no
10941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942 soname_spec='${libname}${release}${shared_ext}$major'
10943 shlibpath_var=LD_LIBRARY_PATH
10944 shlibpath_overrides_runpath=yes
10945 hardcode_into_libs=yes
10946 # ldd complains unless libraries are executable
10947 postinstall_cmds='chmod +x $lib'
10950 sunos4*)
10951 version_type=sunos
10952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10953 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 shlibpath_overrides_runpath=yes
10956 if test "$with_gnu_ld" = yes; then
10957 need_lib_prefix=no
10959 need_version=yes
10962 sysv4 | sysv4.3*)
10963 version_type=linux
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10965 soname_spec='${libname}${release}${shared_ext}$major'
10966 shlibpath_var=LD_LIBRARY_PATH
10967 case $host_vendor in
10968 sni)
10969 shlibpath_overrides_runpath=no
10970 need_lib_prefix=no
10971 runpath_var=LD_RUN_PATH
10973 siemens)
10974 need_lib_prefix=no
10976 motorola)
10977 need_lib_prefix=no
10978 need_version=no
10979 shlibpath_overrides_runpath=no
10980 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10982 esac
10985 sysv4*MP*)
10986 if test -d /usr/nec ;then
10987 version_type=linux
10988 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10989 soname_spec='$libname${shared_ext}.$major'
10990 shlibpath_var=LD_LIBRARY_PATH
10994 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10995 version_type=freebsd-elf
10996 need_lib_prefix=no
10997 need_version=no
10998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10999 soname_spec='${libname}${release}${shared_ext}$major'
11000 shlibpath_var=LD_LIBRARY_PATH
11001 shlibpath_overrides_runpath=yes
11002 hardcode_into_libs=yes
11003 if test "$with_gnu_ld" = yes; then
11004 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11005 else
11006 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11007 case $host_os in
11008 sco3.2v5*)
11009 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11011 esac
11013 sys_lib_dlsearch_path_spec='/usr/lib'
11016 tpf*)
11017 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11018 version_type=linux
11019 need_lib_prefix=no
11020 need_version=no
11021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11022 shlibpath_var=LD_LIBRARY_PATH
11023 shlibpath_overrides_runpath=no
11024 hardcode_into_libs=yes
11027 uts4*)
11028 version_type=linux
11029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11030 soname_spec='${libname}${release}${shared_ext}$major'
11031 shlibpath_var=LD_LIBRARY_PATH
11035 dynamic_linker=no
11037 esac
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11039 $as_echo "$dynamic_linker" >&6; }
11040 test "$dynamic_linker" = no && can_build_shared=no
11042 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11043 if test "$GCC" = yes; then
11044 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11047 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11048 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11050 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11051 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11146 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11147 hardcode_action=
11148 if test -n "$hardcode_libdir_flag_spec" ||
11149 test -n "$runpath_var" ||
11150 test "X$hardcode_automatic" = "Xyes" ; then
11152 # We can hardcode non-existent directories.
11153 if test "$hardcode_direct" != no &&
11154 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11155 # have to relink, otherwise we might link with an installed library
11156 # when we should be linking with a yet-to-be-installed one
11157 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11158 test "$hardcode_minus_L" != no; then
11159 # Linking always hardcodes the temporary library directory.
11160 hardcode_action=relink
11161 else
11162 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11163 hardcode_action=immediate
11165 else
11166 # We cannot hardcode anything, or else we can only hardcode existing
11167 # directories.
11168 hardcode_action=unsupported
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11171 $as_echo "$hardcode_action" >&6; }
11173 if test "$hardcode_action" = relink ||
11174 test "$inherit_rpath" = yes; then
11175 # Fast installation is not supported
11176 enable_fast_install=no
11177 elif test "$shlibpath_overrides_runpath" = yes ||
11178 test "$enable_shared" = no; then
11179 # Fast installation is not necessary
11180 enable_fast_install=needless
11188 if test "x$enable_dlopen" != xyes; then
11189 enable_dlopen=unknown
11190 enable_dlopen_self=unknown
11191 enable_dlopen_self_static=unknown
11192 else
11193 lt_cv_dlopen=no
11194 lt_cv_dlopen_libs=
11196 case $host_os in
11197 beos*)
11198 lt_cv_dlopen="load_add_on"
11199 lt_cv_dlopen_libs=
11200 lt_cv_dlopen_self=yes
11203 mingw* | pw32* | cegcc*)
11204 lt_cv_dlopen="LoadLibrary"
11205 lt_cv_dlopen_libs=
11208 cygwin*)
11209 lt_cv_dlopen="dlopen"
11210 lt_cv_dlopen_libs=
11213 darwin*)
11214 # if libdl is installed we need to link against it
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11216 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11217 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11218 $as_echo_n "(cached) " >&6
11219 else
11220 ac_check_lib_save_LIBS=$LIBS
11221 LIBS="-ldl $LIBS"
11222 if test x$gcc_no_link = xyes; then
11223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11231 #ifdef __cplusplus
11232 extern "C"
11233 #endif
11234 char dlopen ();
11236 main ()
11238 return dlopen ();
11240 return 0;
11242 _ACEOF
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_dl_dlopen=yes
11245 else
11246 ac_cv_lib_dl_dlopen=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11253 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11254 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11255 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11256 else
11258 lt_cv_dlopen="dyld"
11259 lt_cv_dlopen_libs=
11260 lt_cv_dlopen_self=yes
11267 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11268 if test "x$ac_cv_func_shl_load" = x""yes; then :
11269 lt_cv_dlopen="shl_load"
11270 else
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11272 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11273 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_lib_save_LIBS=$LIBS
11277 LIBS="-ldld $LIBS"
11278 if test x$gcc_no_link = xyes; then
11279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11284 /* Override any GCC internal prototype to avoid an error.
11285 Use char because int might match the return type of a GCC
11286 builtin and then its argument prototype would still apply. */
11287 #ifdef __cplusplus
11288 extern "C"
11289 #endif
11290 char shl_load ();
11292 main ()
11294 return shl_load ();
11296 return 0;
11298 _ACEOF
11299 if ac_fn_c_try_link "$LINENO"; then :
11300 ac_cv_lib_dld_shl_load=yes
11301 else
11302 ac_cv_lib_dld_shl_load=no
11304 rm -f core conftest.err conftest.$ac_objext \
11305 conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_lib_save_LIBS
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11309 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11310 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11311 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11312 else
11313 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11314 if test "x$ac_cv_func_dlopen" = x""yes; then :
11315 lt_cv_dlopen="dlopen"
11316 else
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11318 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11319 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11320 $as_echo_n "(cached) " >&6
11321 else
11322 ac_check_lib_save_LIBS=$LIBS
11323 LIBS="-ldl $LIBS"
11324 if test x$gcc_no_link = xyes; then
11325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11333 #ifdef __cplusplus
11334 extern "C"
11335 #endif
11336 char dlopen ();
11338 main ()
11340 return dlopen ();
11342 return 0;
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"; then :
11346 ac_cv_lib_dl_dlopen=yes
11347 else
11348 ac_cv_lib_dl_dlopen=no
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11355 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11356 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11357 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11358 else
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11360 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11361 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11362 $as_echo_n "(cached) " >&6
11363 else
11364 ac_check_lib_save_LIBS=$LIBS
11365 LIBS="-lsvld $LIBS"
11366 if test x$gcc_no_link = xyes; then
11367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11372 /* Override any GCC internal prototype to avoid an error.
11373 Use char because int might match the return type of a GCC
11374 builtin and then its argument prototype would still apply. */
11375 #ifdef __cplusplus
11376 extern "C"
11377 #endif
11378 char dlopen ();
11380 main ()
11382 return dlopen ();
11384 return 0;
11386 _ACEOF
11387 if ac_fn_c_try_link "$LINENO"; then :
11388 ac_cv_lib_svld_dlopen=yes
11389 else
11390 ac_cv_lib_svld_dlopen=no
11392 rm -f core conftest.err conftest.$ac_objext \
11393 conftest$ac_exeext conftest.$ac_ext
11394 LIBS=$ac_check_lib_save_LIBS
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11397 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11398 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11399 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11400 else
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11402 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11403 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11404 $as_echo_n "(cached) " >&6
11405 else
11406 ac_check_lib_save_LIBS=$LIBS
11407 LIBS="-ldld $LIBS"
11408 if test x$gcc_no_link = xyes; then
11409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char dld_link ();
11422 main ()
11424 return dld_link ();
11426 return 0;
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 ac_cv_lib_dld_dld_link=yes
11431 else
11432 ac_cv_lib_dld_dld_link=no
11434 rm -f core conftest.err conftest.$ac_objext \
11435 conftest$ac_exeext conftest.$ac_ext
11436 LIBS=$ac_check_lib_save_LIBS
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11439 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11440 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11441 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11460 esac
11462 if test "x$lt_cv_dlopen" != xno; then
11463 enable_dlopen=yes
11464 else
11465 enable_dlopen=no
11468 case $lt_cv_dlopen in
11469 dlopen)
11470 save_CPPFLAGS="$CPPFLAGS"
11471 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11473 save_LDFLAGS="$LDFLAGS"
11474 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11476 save_LIBS="$LIBS"
11477 LIBS="$lt_cv_dlopen_libs $LIBS"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11480 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11481 if test "${lt_cv_dlopen_self+set}" = set; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 if test "$cross_compiling" = yes; then :
11485 lt_cv_dlopen_self=cross
11486 else
11487 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11488 lt_status=$lt_dlunknown
11489 cat > conftest.$ac_ext <<_LT_EOF
11490 #line 11490 "configure"
11491 #include "confdefs.h"
11493 #if HAVE_DLFCN_H
11494 #include <dlfcn.h>
11495 #endif
11497 #include <stdio.h>
11499 #ifdef RTLD_GLOBAL
11500 # define LT_DLGLOBAL RTLD_GLOBAL
11501 #else
11502 # ifdef DL_GLOBAL
11503 # define LT_DLGLOBAL DL_GLOBAL
11504 # else
11505 # define LT_DLGLOBAL 0
11506 # endif
11507 #endif
11509 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11510 find out it does not work in some platform. */
11511 #ifndef LT_DLLAZY_OR_NOW
11512 # ifdef RTLD_LAZY
11513 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11514 # else
11515 # ifdef DL_LAZY
11516 # define LT_DLLAZY_OR_NOW DL_LAZY
11517 # else
11518 # ifdef RTLD_NOW
11519 # define LT_DLLAZY_OR_NOW RTLD_NOW
11520 # else
11521 # ifdef DL_NOW
11522 # define LT_DLLAZY_OR_NOW DL_NOW
11523 # else
11524 # define LT_DLLAZY_OR_NOW 0
11525 # endif
11526 # endif
11527 # endif
11528 # endif
11529 #endif
11531 /* When -fvisbility=hidden is used, assume the code has been annotated
11532 correspondingly for the symbols needed. */
11533 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11534 void fnord () __attribute__((visibility("default")));
11535 #endif
11537 void fnord () { int i=42; }
11538 int main ()
11540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11541 int status = $lt_dlunknown;
11543 if (self)
11545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11546 else
11548 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11549 else puts (dlerror ());
11551 /* dlclose (self); */
11553 else
11554 puts (dlerror ());
11556 return status;
11558 _LT_EOF
11559 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11560 (eval $ac_link) 2>&5
11561 ac_status=$?
11562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11563 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11564 (./conftest; exit; ) >&5 2>/dev/null
11565 lt_status=$?
11566 case x$lt_status in
11567 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11568 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11569 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11570 esac
11571 else :
11572 # compilation failed
11573 lt_cv_dlopen_self=no
11576 rm -fr conftest*
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11581 $as_echo "$lt_cv_dlopen_self" >&6; }
11583 if test "x$lt_cv_dlopen_self" = xyes; then
11584 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11586 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11587 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11588 $as_echo_n "(cached) " >&6
11589 else
11590 if test "$cross_compiling" = yes; then :
11591 lt_cv_dlopen_self_static=cross
11592 else
11593 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11594 lt_status=$lt_dlunknown
11595 cat > conftest.$ac_ext <<_LT_EOF
11596 #line 11596 "configure"
11597 #include "confdefs.h"
11599 #if HAVE_DLFCN_H
11600 #include <dlfcn.h>
11601 #endif
11603 #include <stdio.h>
11605 #ifdef RTLD_GLOBAL
11606 # define LT_DLGLOBAL RTLD_GLOBAL
11607 #else
11608 # ifdef DL_GLOBAL
11609 # define LT_DLGLOBAL DL_GLOBAL
11610 # else
11611 # define LT_DLGLOBAL 0
11612 # endif
11613 #endif
11615 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11616 find out it does not work in some platform. */
11617 #ifndef LT_DLLAZY_OR_NOW
11618 # ifdef RTLD_LAZY
11619 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11620 # else
11621 # ifdef DL_LAZY
11622 # define LT_DLLAZY_OR_NOW DL_LAZY
11623 # else
11624 # ifdef RTLD_NOW
11625 # define LT_DLLAZY_OR_NOW RTLD_NOW
11626 # else
11627 # ifdef DL_NOW
11628 # define LT_DLLAZY_OR_NOW DL_NOW
11629 # else
11630 # define LT_DLLAZY_OR_NOW 0
11631 # endif
11632 # endif
11633 # endif
11634 # endif
11635 #endif
11637 /* When -fvisbility=hidden is used, assume the code has been annotated
11638 correspondingly for the symbols needed. */
11639 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11640 void fnord () __attribute__((visibility("default")));
11641 #endif
11643 void fnord () { int i=42; }
11644 int main ()
11646 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11647 int status = $lt_dlunknown;
11649 if (self)
11651 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11652 else
11654 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11655 else puts (dlerror ());
11657 /* dlclose (self); */
11659 else
11660 puts (dlerror ());
11662 return status;
11664 _LT_EOF
11665 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11666 (eval $ac_link) 2>&5
11667 ac_status=$?
11668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11669 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11670 (./conftest; exit; ) >&5 2>/dev/null
11671 lt_status=$?
11672 case x$lt_status in
11673 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11674 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11675 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11676 esac
11677 else :
11678 # compilation failed
11679 lt_cv_dlopen_self_static=no
11682 rm -fr conftest*
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11687 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11690 CPPFLAGS="$save_CPPFLAGS"
11691 LDFLAGS="$save_LDFLAGS"
11692 LIBS="$save_LIBS"
11694 esac
11696 case $lt_cv_dlopen_self in
11697 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11698 *) enable_dlopen_self=unknown ;;
11699 esac
11701 case $lt_cv_dlopen_self_static in
11702 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11703 *) enable_dlopen_self_static=unknown ;;
11704 esac
11723 striplib=
11724 old_striplib=
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11726 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11727 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11728 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11729 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11731 $as_echo "yes" >&6; }
11732 else
11733 # FIXME - insert some real tests, host_os isn't really good enough
11734 case $host_os in
11735 darwin*)
11736 if test -n "$STRIP" ; then
11737 striplib="$STRIP -x"
11738 old_striplib="$STRIP -S"
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11740 $as_echo "yes" >&6; }
11741 else
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748 $as_echo "no" >&6; }
11750 esac
11764 # Report which library types will actually be built
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11766 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11768 $as_echo "$can_build_shared" >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11771 $as_echo_n "checking whether to build shared libraries... " >&6; }
11772 test "$can_build_shared" = "no" && enable_shared=no
11774 # On AIX, shared libraries and static libraries use the same namespace, and
11775 # are all built from PIC.
11776 case $host_os in
11777 aix3*)
11778 test "$enable_shared" = yes && enable_static=no
11779 if test -n "$RANLIB"; then
11780 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11781 postinstall_cmds='$RANLIB $lib'
11785 aix[4-9]*)
11786 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11787 test "$enable_shared" = yes && enable_static=no
11790 esac
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11792 $as_echo "$enable_shared" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11795 $as_echo_n "checking whether to build static libraries... " >&6; }
11796 # Make sure either enable_shared or enable_static is yes.
11797 test "$enable_shared" = yes || enable_static=yes
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11799 $as_echo "$enable_static" >&6; }
11805 ac_ext=c
11806 ac_cpp='$CPP $CPPFLAGS'
11807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11811 CC="$lt_save_CC"
11813 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11814 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11815 (test "X$CXX" != "Xg++"))) ; then
11816 ac_ext=cpp
11817 ac_cpp='$CXXCPP $CPPFLAGS'
11818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11822 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11823 if test -z "$CXXCPP"; then
11824 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11825 $as_echo_n "(cached) " >&6
11826 else
11827 # Double quotes because CXXCPP needs to be expanded
11828 for CXXCPP in "$CXX -E" "/lib/cpp"
11830 ac_preproc_ok=false
11831 for ac_cxx_preproc_warn_flag in '' yes
11833 # Use a header file that comes with gcc, so configuring glibc
11834 # with a fresh cross-compiler works.
11835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11836 # <limits.h> exists even on freestanding compilers.
11837 # On the NeXT, cc -E runs the code through the compiler's parser,
11838 # not just through cpp. "Syntax error" is here to catch this case.
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11841 #ifdef __STDC__
11842 # include <limits.h>
11843 #else
11844 # include <assert.h>
11845 #endif
11846 Syntax error
11847 _ACEOF
11848 if ac_fn_cxx_try_cpp "$LINENO"; then :
11850 else
11851 # Broken: fails on valid input.
11852 continue
11854 rm -f conftest.err conftest.$ac_ext
11856 # OK, works on sane cases. Now check whether nonexistent headers
11857 # can be detected and how.
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11860 #include <ac_nonexistent.h>
11861 _ACEOF
11862 if ac_fn_cxx_try_cpp "$LINENO"; then :
11863 # Broken: success on invalid input.
11864 continue
11865 else
11866 # Passes both tests.
11867 ac_preproc_ok=:
11868 break
11870 rm -f conftest.err conftest.$ac_ext
11872 done
11873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11874 rm -f conftest.err conftest.$ac_ext
11875 if $ac_preproc_ok; then :
11876 break
11879 done
11880 ac_cv_prog_CXXCPP=$CXXCPP
11883 CXXCPP=$ac_cv_prog_CXXCPP
11884 else
11885 ac_cv_prog_CXXCPP=$CXXCPP
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11888 $as_echo "$CXXCPP" >&6; }
11889 ac_preproc_ok=false
11890 for ac_cxx_preproc_warn_flag in '' yes
11892 # Use a header file that comes with gcc, so configuring glibc
11893 # with a fresh cross-compiler works.
11894 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11895 # <limits.h> exists even on freestanding compilers.
11896 # On the NeXT, cc -E runs the code through the compiler's parser,
11897 # not just through cpp. "Syntax error" is here to catch this case.
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11900 #ifdef __STDC__
11901 # include <limits.h>
11902 #else
11903 # include <assert.h>
11904 #endif
11905 Syntax error
11906 _ACEOF
11907 if ac_fn_cxx_try_cpp "$LINENO"; then :
11909 else
11910 # Broken: fails on valid input.
11911 continue
11913 rm -f conftest.err conftest.$ac_ext
11915 # OK, works on sane cases. Now check whether nonexistent headers
11916 # can be detected and how.
11917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11919 #include <ac_nonexistent.h>
11920 _ACEOF
11921 if ac_fn_cxx_try_cpp "$LINENO"; then :
11922 # Broken: success on invalid input.
11923 continue
11924 else
11925 # Passes both tests.
11926 ac_preproc_ok=:
11927 break
11929 rm -f conftest.err conftest.$ac_ext
11931 done
11932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11933 rm -f conftest.err conftest.$ac_ext
11934 if $ac_preproc_ok; then :
11936 else
11937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11939 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11940 See \`config.log' for more details." "$LINENO" 5; }
11943 ac_ext=c
11944 ac_cpp='$CPP $CPPFLAGS'
11945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11949 else
11950 _lt_caught_CXX_error=yes
11953 ac_ext=cpp
11954 ac_cpp='$CXXCPP $CPPFLAGS'
11955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11959 archive_cmds_need_lc_CXX=no
11960 allow_undefined_flag_CXX=
11961 always_export_symbols_CXX=no
11962 archive_expsym_cmds_CXX=
11963 compiler_needs_object_CXX=no
11964 export_dynamic_flag_spec_CXX=
11965 hardcode_direct_CXX=no
11966 hardcode_direct_absolute_CXX=no
11967 hardcode_libdir_flag_spec_CXX=
11968 hardcode_libdir_flag_spec_ld_CXX=
11969 hardcode_libdir_separator_CXX=
11970 hardcode_minus_L_CXX=no
11971 hardcode_shlibpath_var_CXX=unsupported
11972 hardcode_automatic_CXX=no
11973 inherit_rpath_CXX=no
11974 module_cmds_CXX=
11975 module_expsym_cmds_CXX=
11976 link_all_deplibs_CXX=unknown
11977 old_archive_cmds_CXX=$old_archive_cmds
11978 reload_flag_CXX=$reload_flag
11979 reload_cmds_CXX=$reload_cmds
11980 no_undefined_flag_CXX=
11981 whole_archive_flag_spec_CXX=
11982 enable_shared_with_static_runtimes_CXX=no
11984 # Source file extension for C++ test sources.
11985 ac_ext=cpp
11987 # Object file extension for compiled C++ test sources.
11988 objext=o
11989 objext_CXX=$objext
11991 # No sense in running all these tests if we already determined that
11992 # the CXX compiler isn't working. Some variables (like enable_shared)
11993 # are currently assumed to apply to all compilers on this platform,
11994 # and will be corrupted by setting them based on a non-working compiler.
11995 if test "$_lt_caught_CXX_error" != yes; then
11996 # Code to be used in simple compile tests
11997 lt_simple_compile_test_code="int some_variable = 0;"
11999 # Code to be used in simple link tests
12000 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12002 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12009 # If no C compiler was specified, use CC.
12010 LTCC=${LTCC-"$CC"}
12012 # If no C compiler flags were specified, use CFLAGS.
12013 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12015 # Allow CC to be a program name with arguments.
12016 compiler=$CC
12019 # save warnings/boilerplate of simple test code
12020 ac_outfile=conftest.$ac_objext
12021 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12022 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12023 _lt_compiler_boilerplate=`cat conftest.err`
12024 $RM conftest*
12026 ac_outfile=conftest.$ac_objext
12027 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12028 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12029 _lt_linker_boilerplate=`cat conftest.err`
12030 $RM -r conftest*
12033 # Allow CC to be a program name with arguments.
12034 lt_save_CC=$CC
12035 lt_save_LD=$LD
12036 lt_save_GCC=$GCC
12037 GCC=$GXX
12038 lt_save_with_gnu_ld=$with_gnu_ld
12039 lt_save_path_LD=$lt_cv_path_LD
12040 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12041 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12042 else
12043 $as_unset lt_cv_prog_gnu_ld
12045 if test -n "${lt_cv_path_LDCXX+set}"; then
12046 lt_cv_path_LD=$lt_cv_path_LDCXX
12047 else
12048 $as_unset lt_cv_path_LD
12050 test -z "${LDCXX+set}" || LD=$LDCXX
12051 CC=${CXX-"c++"}
12052 compiler=$CC
12053 compiler_CXX=$CC
12054 for cc_temp in $compiler""; do
12055 case $cc_temp in
12056 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12057 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12058 \-*) ;;
12059 *) break;;
12060 esac
12061 done
12062 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12065 if test -n "$compiler"; then
12066 # We don't want -fno-exception when compiling C++ code, so set the
12067 # no_builtin_flag separately
12068 if test "$GXX" = yes; then
12069 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12070 else
12071 lt_prog_compiler_no_builtin_flag_CXX=
12074 if test "$GXX" = yes; then
12075 # Set up default GNU C++ configuration
12079 # Check whether --with-gnu-ld was given.
12080 if test "${with_gnu_ld+set}" = set; then :
12081 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12082 else
12083 with_gnu_ld=no
12086 ac_prog=ld
12087 if test "$GCC" = yes; then
12088 # Check if gcc -print-prog-name=ld gives a path.
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12090 $as_echo_n "checking for ld used by $CC... " >&6; }
12091 case $host in
12092 *-*-mingw*)
12093 # gcc leaves a trailing carriage return which upsets mingw
12094 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12096 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12097 esac
12098 case $ac_prog in
12099 # Accept absolute paths.
12100 [\\/]* | ?:[\\/]*)
12101 re_direlt='/[^/][^/]*/\.\./'
12102 # Canonicalize the pathname of ld
12103 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12104 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12105 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12106 done
12107 test -z "$LD" && LD="$ac_prog"
12110 # If it fails, then pretend we aren't using GCC.
12111 ac_prog=ld
12114 # If it is relative, then search for the first ld in PATH.
12115 with_gnu_ld=unknown
12117 esac
12118 elif test "$with_gnu_ld" = yes; then
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12120 $as_echo_n "checking for GNU ld... " >&6; }
12121 else
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12123 $as_echo_n "checking for non-GNU ld... " >&6; }
12125 if test "${lt_cv_path_LD+set}" = set; then :
12126 $as_echo_n "(cached) " >&6
12127 else
12128 if test -z "$LD"; then
12129 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12130 for ac_dir in $PATH; do
12131 IFS="$lt_save_ifs"
12132 test -z "$ac_dir" && ac_dir=.
12133 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12134 lt_cv_path_LD="$ac_dir/$ac_prog"
12135 # Check to see if the program is GNU ld. I'd rather use --version,
12136 # but apparently some variants of GNU ld only accept -v.
12137 # Break only if it was the GNU/non-GNU ld that we prefer.
12138 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12139 *GNU* | *'with BFD'*)
12140 test "$with_gnu_ld" != no && break
12143 test "$with_gnu_ld" != yes && break
12145 esac
12147 done
12148 IFS="$lt_save_ifs"
12149 else
12150 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12154 LD="$lt_cv_path_LD"
12155 if test -n "$LD"; then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12157 $as_echo "$LD" >&6; }
12158 else
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12162 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12164 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12165 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12166 $as_echo_n "(cached) " >&6
12167 else
12168 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12169 case `$LD -v 2>&1 </dev/null` in
12170 *GNU* | *'with BFD'*)
12171 lt_cv_prog_gnu_ld=yes
12174 lt_cv_prog_gnu_ld=no
12176 esac
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12179 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12180 with_gnu_ld=$lt_cv_prog_gnu_ld
12188 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12189 # archiving commands below assume that GNU ld is being used.
12190 if test "$with_gnu_ld" = yes; then
12191 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12192 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'
12194 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12195 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12197 # If archive_cmds runs LD, not CC, wlarc should be empty
12198 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12199 # investigate it a little bit more. (MM)
12200 wlarc='${wl}'
12202 # ancient GNU ld didn't support --whole-archive et. al.
12203 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12204 $GREP 'no-whole-archive' > /dev/null; then
12205 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12206 else
12207 whole_archive_flag_spec_CXX=
12209 else
12210 with_gnu_ld=no
12211 wlarc=
12213 # A generic and very simple default shared library creation
12214 # command for GNU C++ for the case where it uses the native
12215 # linker, instead of GNU ld. If possible, this setting should
12216 # overridden to take advantage of the native linker features on
12217 # the platform it is being used on.
12218 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12221 # Commands to make compiler produce verbose output that lists
12222 # what "hidden" libraries, object files and flags are used when
12223 # linking a shared library.
12224 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12226 else
12227 GXX=no
12228 with_gnu_ld=no
12229 wlarc=
12232 # PORTME: fill in a description of your system's C++ link characteristics
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12234 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12235 ld_shlibs_CXX=yes
12236 case $host_os in
12237 aix3*)
12238 # FIXME: insert proper C++ library support
12239 ld_shlibs_CXX=no
12241 aix[4-9]*)
12242 if test "$host_cpu" = ia64; then
12243 # On IA64, the linker does run time linking by default, so we don't
12244 # have to do anything special.
12245 aix_use_runtimelinking=no
12246 exp_sym_flag='-Bexport'
12247 no_entry_flag=""
12248 else
12249 aix_use_runtimelinking=no
12251 # Test if we are trying to use run time linking or normal
12252 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12253 # need to do runtime linking.
12254 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12255 for ld_flag in $LDFLAGS; do
12256 case $ld_flag in
12257 *-brtl*)
12258 aix_use_runtimelinking=yes
12259 break
12261 esac
12262 done
12264 esac
12266 exp_sym_flag='-bexport'
12267 no_entry_flag='-bnoentry'
12270 # When large executables or shared objects are built, AIX ld can
12271 # have problems creating the table of contents. If linking a library
12272 # or program results in "error TOC overflow" add -mminimal-toc to
12273 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12274 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12276 archive_cmds_CXX=''
12277 hardcode_direct_CXX=yes
12278 hardcode_direct_absolute_CXX=yes
12279 hardcode_libdir_separator_CXX=':'
12280 link_all_deplibs_CXX=yes
12281 file_list_spec_CXX='${wl}-f,'
12283 if test "$GXX" = yes; then
12284 case $host_os in aix4.[012]|aix4.[012].*)
12285 # We only want to do this on AIX 4.2 and lower, the check
12286 # below for broken collect2 doesn't work under 4.3+
12287 collect2name=`${CC} -print-prog-name=collect2`
12288 if test -f "$collect2name" &&
12289 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12290 then
12291 # We have reworked collect2
12293 else
12294 # We have old collect2
12295 hardcode_direct_CXX=unsupported
12296 # It fails to find uninstalled libraries when the uninstalled
12297 # path is not listed in the libpath. Setting hardcode_minus_L
12298 # to unsupported forces relinking
12299 hardcode_minus_L_CXX=yes
12300 hardcode_libdir_flag_spec_CXX='-L$libdir'
12301 hardcode_libdir_separator_CXX=
12303 esac
12304 shared_flag='-shared'
12305 if test "$aix_use_runtimelinking" = yes; then
12306 shared_flag="$shared_flag "'${wl}-G'
12308 else
12309 # not using gcc
12310 if test "$host_cpu" = ia64; then
12311 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12312 # chokes on -Wl,-G. The following line is correct:
12313 shared_flag='-G'
12314 else
12315 if test "$aix_use_runtimelinking" = yes; then
12316 shared_flag='${wl}-G'
12317 else
12318 shared_flag='${wl}-bM:SRE'
12323 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12324 # It seems that -bexpall does not export symbols beginning with
12325 # underscore (_), so it is better to generate a list of symbols to
12326 # export.
12327 always_export_symbols_CXX=yes
12328 if test "$aix_use_runtimelinking" = yes; then
12329 # Warning - without using the other runtime loading flags (-brtl),
12330 # -berok will link without error, but may produce a broken library.
12331 allow_undefined_flag_CXX='-berok'
12332 # Determine the default libpath from the value encoded in an empty
12333 # executable.
12334 if test x$gcc_no_link = xyes; then
12335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12341 main ()
12345 return 0;
12347 _ACEOF
12348 if ac_fn_cxx_try_link "$LINENO"; then :
12350 lt_aix_libpath_sed='
12351 /Import File Strings/,/^$/ {
12352 /^0/ {
12353 s/^0 *\(.*\)$/\1/
12357 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12358 # Check for a 64-bit object if we didn't find anything.
12359 if test -z "$aix_libpath"; then
12360 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12363 rm -f core conftest.err conftest.$ac_objext \
12364 conftest$ac_exeext conftest.$ac_ext
12365 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12367 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12369 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"
12370 else
12371 if test "$host_cpu" = ia64; then
12372 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12373 allow_undefined_flag_CXX="-z nodefs"
12374 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"
12375 else
12376 # Determine the default libpath from the value encoded in an
12377 # empty executable.
12378 if test x$gcc_no_link = xyes; then
12379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12385 main ()
12389 return 0;
12391 _ACEOF
12392 if ac_fn_cxx_try_link "$LINENO"; then :
12394 lt_aix_libpath_sed='
12395 /Import File Strings/,/^$/ {
12396 /^0/ {
12397 s/^0 *\(.*\)$/\1/
12401 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 # Check for a 64-bit object if we didn't find anything.
12403 if test -z "$aix_libpath"; then
12404 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12409 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12411 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12412 # Warning - without using the other run time loading flags,
12413 # -berok will link without error, but may produce a broken library.
12414 no_undefined_flag_CXX=' ${wl}-bernotok'
12415 allow_undefined_flag_CXX=' ${wl}-berok'
12416 if test "$with_gnu_ld" = yes; then
12417 # We only use this code for GNU lds that support --whole-archive.
12418 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12419 else
12420 # Exported symbols can be pulled into shared objects from archives
12421 whole_archive_flag_spec_CXX='$convenience'
12423 archive_cmds_need_lc_CXX=yes
12424 # This is similar to how AIX traditionally builds its shared
12425 # libraries.
12426 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'
12431 beos*)
12432 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12433 allow_undefined_flag_CXX=unsupported
12434 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12435 # support --undefined. This deserves some investigation. FIXME
12436 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12437 else
12438 ld_shlibs_CXX=no
12442 chorus*)
12443 case $cc_basename in
12445 # FIXME: insert proper C++ library support
12446 ld_shlibs_CXX=no
12448 esac
12451 cygwin* | mingw* | pw32* | cegcc*)
12452 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12453 # as there is no search path for DLLs.
12454 hardcode_libdir_flag_spec_CXX='-L$libdir'
12455 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12456 allow_undefined_flag_CXX=unsupported
12457 always_export_symbols_CXX=no
12458 enable_shared_with_static_runtimes_CXX=yes
12460 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12461 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'
12462 # If the export-symbols file already is a .def file (1st line
12463 # is EXPORTS), use it as is; otherwise, prepend...
12464 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12465 cp $export_symbols $output_objdir/$soname.def;
12466 else
12467 echo EXPORTS > $output_objdir/$soname.def;
12468 cat $export_symbols >> $output_objdir/$soname.def;
12470 $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'
12471 else
12472 ld_shlibs_CXX=no
12475 darwin* | rhapsody*)
12478 archive_cmds_need_lc_CXX=no
12479 hardcode_direct_CXX=no
12480 hardcode_automatic_CXX=yes
12481 hardcode_shlibpath_var_CXX=unsupported
12482 if test "$lt_cv_ld_force_load" = "yes"; then
12483 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\"`'
12484 else
12485 whole_archive_flag_spec_CXX=''
12487 link_all_deplibs_CXX=yes
12488 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12489 case $cc_basename in
12490 ifort*) _lt_dar_can_shared=yes ;;
12491 *) _lt_dar_can_shared=$GCC ;;
12492 esac
12493 if test "$_lt_dar_can_shared" = "yes"; then
12494 output_verbose_link_cmd=func_echo_all
12495 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}"
12496 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12497 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}"
12498 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}"
12499 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12500 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}"
12501 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}"
12504 else
12505 ld_shlibs_CXX=no
12510 dgux*)
12511 case $cc_basename in
12512 ec++*)
12513 # FIXME: insert proper C++ library support
12514 ld_shlibs_CXX=no
12516 ghcx*)
12517 # Green Hills C++ Compiler
12518 # FIXME: insert proper C++ library support
12519 ld_shlibs_CXX=no
12522 # FIXME: insert proper C++ library support
12523 ld_shlibs_CXX=no
12525 esac
12528 freebsd[12]*)
12529 # C++ shared libraries reported to be fairly broken before
12530 # switch to ELF
12531 ld_shlibs_CXX=no
12534 freebsd-elf*)
12535 archive_cmds_need_lc_CXX=no
12538 freebsd* | dragonfly*)
12539 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12540 # conventions
12541 ld_shlibs_CXX=yes
12544 gnu*)
12547 haiku*)
12548 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12549 link_all_deplibs_CXX=yes
12552 hpux9*)
12553 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12554 hardcode_libdir_separator_CXX=:
12555 export_dynamic_flag_spec_CXX='${wl}-E'
12556 hardcode_direct_CXX=yes
12557 hardcode_minus_L_CXX=yes # Not in the search PATH,
12558 # but as the default
12559 # location of the library.
12561 case $cc_basename in
12562 CC*)
12563 # FIXME: insert proper C++ library support
12564 ld_shlibs_CXX=no
12566 aCC*)
12567 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'
12568 # Commands to make compiler produce verbose output that lists
12569 # what "hidden" libraries, object files and flags are used when
12570 # linking a shared library.
12572 # There doesn't appear to be a way to prevent this compiler from
12573 # explicitly linking system object files so we need to strip them
12574 # from the output so that they don't get included in the library
12575 # dependencies.
12576 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"'
12579 if test "$GXX" = yes; then
12580 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'
12581 else
12582 # FIXME: insert proper C++ library support
12583 ld_shlibs_CXX=no
12586 esac
12589 hpux10*|hpux11*)
12590 if test $with_gnu_ld = no; then
12591 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12592 hardcode_libdir_separator_CXX=:
12594 case $host_cpu in
12595 hppa*64*|ia64*)
12598 export_dynamic_flag_spec_CXX='${wl}-E'
12600 esac
12602 case $host_cpu in
12603 hppa*64*|ia64*)
12604 hardcode_direct_CXX=no
12605 hardcode_shlibpath_var_CXX=no
12608 hardcode_direct_CXX=yes
12609 hardcode_direct_absolute_CXX=yes
12610 hardcode_minus_L_CXX=yes # Not in the search PATH,
12611 # but as the default
12612 # location of the library.
12614 esac
12616 case $cc_basename in
12617 CC*)
12618 # FIXME: insert proper C++ library support
12619 ld_shlibs_CXX=no
12621 aCC*)
12622 case $host_cpu in
12623 hppa*64*)
12624 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12626 ia64*)
12627 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12630 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12632 esac
12633 # Commands to make compiler produce verbose output that lists
12634 # what "hidden" libraries, object files and flags are used when
12635 # linking a shared library.
12637 # There doesn't appear to be a way to prevent this compiler from
12638 # explicitly linking system object files so we need to strip them
12639 # from the output so that they don't get included in the library
12640 # dependencies.
12641 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"'
12644 if test "$GXX" = yes; then
12645 if test $with_gnu_ld = no; then
12646 case $host_cpu in
12647 hppa*64*)
12648 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12650 ia64*)
12651 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654 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'
12656 esac
12658 else
12659 # FIXME: insert proper C++ library support
12660 ld_shlibs_CXX=no
12663 esac
12666 interix[3-9]*)
12667 hardcode_direct_CXX=no
12668 hardcode_shlibpath_var_CXX=no
12669 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12670 export_dynamic_flag_spec_CXX='${wl}-E'
12671 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12672 # Instead, shared libraries are loaded at an image base (0x10000000 by
12673 # default) and relocated if they conflict, which is a slow very memory
12674 # consuming and fragmenting process. To avoid this, we pick a random,
12675 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12676 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12677 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'
12678 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'
12680 irix5* | irix6*)
12681 case $cc_basename in
12682 CC*)
12683 # SGI C++
12684 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'
12686 # Archives containing C++ object files must be created using
12687 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12688 # necessary to make sure instantiated templates are included
12689 # in the archive.
12690 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12693 if test "$GXX" = yes; then
12694 if test "$with_gnu_ld" = no; then
12695 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12696 else
12697 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'
12700 link_all_deplibs_CXX=yes
12702 esac
12703 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12704 hardcode_libdir_separator_CXX=:
12705 inherit_rpath_CXX=yes
12708 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12709 case $cc_basename in
12710 KCC*)
12711 # Kuck and Associates, Inc. (KAI) C++ Compiler
12713 # KCC will only create a shared library if the output file
12714 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12715 # to its proper name (with version) after linking.
12716 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'
12717 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'
12718 # Commands to make compiler produce verbose output that lists
12719 # what "hidden" libraries, object files and flags are used when
12720 # linking a shared library.
12722 # There doesn't appear to be a way to prevent this compiler from
12723 # explicitly linking system object files so we need to strip them
12724 # from the output so that they don't get included in the library
12725 # dependencies.
12726 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"'
12728 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12729 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12731 # Archives containing C++ object files must be created using
12732 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12733 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12735 icpc* | ecpc* )
12736 # Intel C++
12737 with_gnu_ld=yes
12738 # version 8.0 and above of icpc choke on multiply defined symbols
12739 # if we add $predep_objects and $postdep_objects, however 7.1 and
12740 # earlier do not add the objects themselves.
12741 case `$CC -V 2>&1` in
12742 *"Version 7."*)
12743 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12744 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'
12746 *) # Version 8.0 or newer
12747 tmp_idyn=
12748 case $host_cpu in
12749 ia64*) tmp_idyn=' -i_dynamic';;
12750 esac
12751 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12752 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'
12754 esac
12755 archive_cmds_need_lc_CXX=no
12756 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12757 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12758 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12760 pgCC* | pgcpp*)
12761 # Portland Group C++ compiler
12762 case `$CC -V` in
12763 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12764 prelink_cmds_CXX='tpldir=Template.dir~
12765 rm -rf $tpldir~
12766 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12767 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12768 old_archive_cmds_CXX='tpldir=Template.dir~
12769 rm -rf $tpldir~
12770 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12771 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12772 $RANLIB $oldlib'
12773 archive_cmds_CXX='tpldir=Template.dir~
12774 rm -rf $tpldir~
12775 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12776 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12777 archive_expsym_cmds_CXX='tpldir=Template.dir~
12778 rm -rf $tpldir~
12779 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12780 $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'
12782 *) # Version 6 and above use weak symbols
12783 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12784 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'
12786 esac
12788 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12789 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12790 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'
12792 cxx*)
12793 # Compaq C++
12794 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12795 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'
12797 runpath_var=LD_RUN_PATH
12798 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12799 hardcode_libdir_separator_CXX=:
12801 # Commands to make compiler produce verbose output that lists
12802 # what "hidden" libraries, object files and flags are used when
12803 # linking a shared library.
12805 # There doesn't appear to be a way to prevent this compiler from
12806 # explicitly linking system object files so we need to strip them
12807 # from the output so that they don't get included in the library
12808 # dependencies.
12809 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'
12811 xl* | mpixl* | bgxl*)
12812 # IBM XL 8.0 on PPC, with GNU ld
12813 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12814 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12815 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12816 if test "x$supports_anon_versioning" = xyes; then
12817 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12818 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12819 echo "local: *; };" >> $output_objdir/$libname.ver~
12820 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12824 case `$CC -V 2>&1 | sed 5q` in
12825 *Sun\ C*)
12826 # Sun C++ 5.9
12827 no_undefined_flag_CXX=' -zdefs'
12828 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12829 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'
12830 hardcode_libdir_flag_spec_CXX='-R$libdir'
12831 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'
12832 compiler_needs_object_CXX=yes
12834 # Not sure whether something based on
12835 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12836 # would be better.
12837 output_verbose_link_cmd='func_echo_all'
12839 # Archives containing C++ object files must be created using
12840 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12841 # necessary to make sure instantiated templates are included
12842 # in the archive.
12843 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12845 esac
12847 esac
12850 lynxos*)
12851 # FIXME: insert proper C++ library support
12852 ld_shlibs_CXX=no
12855 m88k*)
12856 # FIXME: insert proper C++ library support
12857 ld_shlibs_CXX=no
12860 mvs*)
12861 case $cc_basename in
12862 cxx*)
12863 # FIXME: insert proper C++ library support
12864 ld_shlibs_CXX=no
12867 # FIXME: insert proper C++ library support
12868 ld_shlibs_CXX=no
12870 esac
12873 netbsd*)
12874 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12875 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12876 wlarc=
12877 hardcode_libdir_flag_spec_CXX='-R$libdir'
12878 hardcode_direct_CXX=yes
12879 hardcode_shlibpath_var_CXX=no
12881 # Workaround some broken pre-1.5 toolchains
12882 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12885 *nto* | *qnx*)
12886 ld_shlibs_CXX=yes
12889 openbsd2*)
12890 # C++ shared libraries are fairly broken
12891 ld_shlibs_CXX=no
12894 openbsd*)
12895 if test -f /usr/libexec/ld.so; then
12896 hardcode_direct_CXX=yes
12897 hardcode_shlibpath_var_CXX=no
12898 hardcode_direct_absolute_CXX=yes
12899 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12900 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12901 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12902 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12903 export_dynamic_flag_spec_CXX='${wl}-E'
12904 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12906 output_verbose_link_cmd=func_echo_all
12907 else
12908 ld_shlibs_CXX=no
12912 osf3* | osf4* | osf5*)
12913 case $cc_basename in
12914 KCC*)
12915 # Kuck and Associates, Inc. (KAI) C++ Compiler
12917 # KCC will only create a shared library if the output file
12918 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12919 # to its proper name (with version) after linking.
12920 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'
12922 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12923 hardcode_libdir_separator_CXX=:
12925 # Archives containing C++ object files must be created using
12926 # the KAI C++ compiler.
12927 case $host in
12928 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12929 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12930 esac
12932 RCC*)
12933 # Rational C++ 2.4.1
12934 # FIXME: insert proper C++ library support
12935 ld_shlibs_CXX=no
12937 cxx*)
12938 case $host in
12939 osf3*)
12940 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12941 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'
12942 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12945 allow_undefined_flag_CXX=' -expect_unresolved \*'
12946 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'
12947 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12948 echo "-hidden">> $lib.exp~
12949 $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~
12950 $RM $lib.exp'
12951 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12953 esac
12955 hardcode_libdir_separator_CXX=:
12957 # Commands to make compiler produce verbose output that lists
12958 # what "hidden" libraries, object files and flags are used when
12959 # linking a shared library.
12961 # There doesn't appear to be a way to prevent this compiler from
12962 # explicitly linking system object files so we need to strip them
12963 # from the output so that they don't get included in the library
12964 # dependencies.
12965 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"'
12968 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12969 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12970 case $host in
12971 osf3*)
12972 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'
12975 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'
12977 esac
12979 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12980 hardcode_libdir_separator_CXX=:
12982 # Commands to make compiler produce verbose output that lists
12983 # what "hidden" libraries, object files and flags are used when
12984 # linking a shared library.
12985 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12987 else
12988 # FIXME: insert proper C++ library support
12989 ld_shlibs_CXX=no
12992 esac
12995 psos*)
12996 # FIXME: insert proper C++ library support
12997 ld_shlibs_CXX=no
13000 sunos4*)
13001 case $cc_basename in
13002 CC*)
13003 # Sun C++ 4.x
13004 # FIXME: insert proper C++ library support
13005 ld_shlibs_CXX=no
13007 lcc*)
13008 # Lucid
13009 # FIXME: insert proper C++ library support
13010 ld_shlibs_CXX=no
13013 # FIXME: insert proper C++ library support
13014 ld_shlibs_CXX=no
13016 esac
13019 solaris*)
13020 case $cc_basename in
13021 CC*)
13022 # Sun C++ 4.2, 5.x and Centerline C++
13023 archive_cmds_need_lc_CXX=yes
13024 no_undefined_flag_CXX=' -zdefs'
13025 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13026 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13027 $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'
13029 hardcode_libdir_flag_spec_CXX='-R$libdir'
13030 hardcode_shlibpath_var_CXX=no
13031 case $host_os in
13032 solaris2.[0-5] | solaris2.[0-5].*) ;;
13034 # The compiler driver will combine and reorder linker options,
13035 # but understands `-z linker_flag'.
13036 # Supported since Solaris 2.6 (maybe 2.5.1?)
13037 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13039 esac
13040 link_all_deplibs_CXX=yes
13042 output_verbose_link_cmd='func_echo_all'
13044 # Archives containing C++ object files must be created using
13045 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13046 # necessary to make sure instantiated templates are included
13047 # in the archive.
13048 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13050 gcx*)
13051 # Green Hills C++ Compiler
13052 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13054 # The C++ compiler must be used to create the archive.
13055 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13058 # GNU C++ compiler with Solaris linker
13059 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13060 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13061 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13062 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13063 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13064 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13066 # Commands to make compiler produce verbose output that lists
13067 # what "hidden" libraries, object files and flags are used when
13068 # linking a shared library.
13069 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13070 else
13071 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13072 # platform.
13073 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13074 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13075 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13077 # Commands to make compiler produce verbose output that lists
13078 # what "hidden" libraries, object files and flags are used when
13079 # linking a shared library.
13080 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13083 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13084 case $host_os in
13085 solaris2.[0-5] | solaris2.[0-5].*) ;;
13087 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13089 esac
13092 esac
13095 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13096 no_undefined_flag_CXX='${wl}-z,text'
13097 archive_cmds_need_lc_CXX=no
13098 hardcode_shlibpath_var_CXX=no
13099 runpath_var='LD_RUN_PATH'
13101 case $cc_basename in
13102 CC*)
13103 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13104 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110 esac
13113 sysv5* | sco3.2v5* | sco5v6*)
13114 # Note: We can NOT use -z defs as we might desire, because we do not
13115 # link with -lc, and that would cause any symbols used from libc to
13116 # always be unresolved, which means just about no library would
13117 # ever link correctly. If we're not using GNU ld we use -z text
13118 # though, which does catch some bad symbols but isn't as heavy-handed
13119 # as -z defs.
13120 no_undefined_flag_CXX='${wl}-z,text'
13121 allow_undefined_flag_CXX='${wl}-z,nodefs'
13122 archive_cmds_need_lc_CXX=no
13123 hardcode_shlibpath_var_CXX=no
13124 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13125 hardcode_libdir_separator_CXX=':'
13126 link_all_deplibs_CXX=yes
13127 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13128 runpath_var='LD_RUN_PATH'
13130 case $cc_basename in
13131 CC*)
13132 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13135 '"$old_archive_cmds_CXX"
13136 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13137 '"$reload_cmds_CXX"
13140 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 esac
13146 tandem*)
13147 case $cc_basename in
13148 NCC*)
13149 # NonStop-UX NCC 3.20
13150 # FIXME: insert proper C++ library support
13151 ld_shlibs_CXX=no
13154 # FIXME: insert proper C++ library support
13155 ld_shlibs_CXX=no
13157 esac
13160 vxworks*)
13161 # FIXME: insert proper C++ library support
13162 ld_shlibs_CXX=no
13166 # FIXME: insert proper C++ library support
13167 ld_shlibs_CXX=no
13169 esac
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13172 $as_echo "$ld_shlibs_CXX" >&6; }
13173 test "$ld_shlibs_CXX" = no && can_build_shared=no
13175 GCC_CXX="$GXX"
13176 LD_CXX="$LD"
13178 ## CAVEAT EMPTOR:
13179 ## There is no encapsulation within the following macros, do not change
13180 ## the running order or otherwise move them around unless you know exactly
13181 ## what you are doing...
13182 # Dependencies to place before and after the object being linked:
13183 predep_objects_CXX=
13184 postdep_objects_CXX=
13185 predeps_CXX=
13186 postdeps_CXX=
13187 compiler_lib_search_path_CXX=
13189 cat > conftest.$ac_ext <<_LT_EOF
13190 class Foo
13192 public:
13193 Foo (void) { a = 0; }
13194 private:
13195 int a;
13197 _LT_EOF
13199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13200 (eval $ac_compile) 2>&5
13201 ac_status=$?
13202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13203 test $ac_status = 0; }; then
13204 # Parse the compiler output and extract the necessary
13205 # objects, libraries and library flags.
13207 # Sentinel used to keep track of whether or not we are before
13208 # the conftest object file.
13209 pre_test_object_deps_done=no
13211 for p in `eval "$output_verbose_link_cmd"`; do
13212 case $p in
13214 -L* | -R* | -l*)
13215 # Some compilers place space between "-{L,R}" and the path.
13216 # Remove the space.
13217 if test $p = "-L" ||
13218 test $p = "-R"; then
13219 prev=$p
13220 continue
13221 else
13222 prev=
13225 if test "$pre_test_object_deps_done" = no; then
13226 case $p in
13227 -L* | -R*)
13228 # Internal compiler library paths should come after those
13229 # provided the user. The postdeps already come after the
13230 # user supplied libs so there is no need to process them.
13231 if test -z "$compiler_lib_search_path_CXX"; then
13232 compiler_lib_search_path_CXX="${prev}${p}"
13233 else
13234 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13237 # The "-l" case would never come before the object being
13238 # linked, so don't bother handling this case.
13239 esac
13240 else
13241 if test -z "$postdeps_CXX"; then
13242 postdeps_CXX="${prev}${p}"
13243 else
13244 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13249 *.$objext)
13250 # This assumes that the test object file only shows up
13251 # once in the compiler output.
13252 if test "$p" = "conftest.$objext"; then
13253 pre_test_object_deps_done=yes
13254 continue
13257 if test "$pre_test_object_deps_done" = no; then
13258 if test -z "$predep_objects_CXX"; then
13259 predep_objects_CXX="$p"
13260 else
13261 predep_objects_CXX="$predep_objects_CXX $p"
13263 else
13264 if test -z "$postdep_objects_CXX"; then
13265 postdep_objects_CXX="$p"
13266 else
13267 postdep_objects_CXX="$postdep_objects_CXX $p"
13272 *) ;; # Ignore the rest.
13274 esac
13275 done
13277 # Clean up.
13278 rm -f a.out a.exe
13279 else
13280 echo "libtool.m4: error: problem compiling CXX test program"
13283 $RM -f confest.$objext
13285 # PORTME: override above test on systems where it is broken
13286 case $host_os in
13287 interix[3-9]*)
13288 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13289 # hack all around it, let's just trust "g++" to DTRT.
13290 predep_objects_CXX=
13291 postdep_objects_CXX=
13292 postdeps_CXX=
13295 linux*)
13296 case `$CC -V 2>&1 | sed 5q` in
13297 *Sun\ C*)
13298 # Sun C++ 5.9
13300 # The more standards-conforming stlport4 library is
13301 # incompatible with the Cstd library. Avoid specifying
13302 # it if it's in CXXFLAGS. Ignore libCrun as
13303 # -library=stlport4 depends on it.
13304 case " $CXX $CXXFLAGS " in
13305 *" -library=stlport4 "*)
13306 solaris_use_stlport4=yes
13308 esac
13310 if test "$solaris_use_stlport4" != yes; then
13311 postdeps_CXX='-library=Cstd -library=Crun'
13314 esac
13317 solaris*)
13318 case $cc_basename in
13319 CC*)
13320 # The more standards-conforming stlport4 library is
13321 # incompatible with the Cstd library. Avoid specifying
13322 # it if it's in CXXFLAGS. Ignore libCrun as
13323 # -library=stlport4 depends on it.
13324 case " $CXX $CXXFLAGS " in
13325 *" -library=stlport4 "*)
13326 solaris_use_stlport4=yes
13328 esac
13330 # Adding this requires a known-good setup of shared libraries for
13331 # Sun compiler versions before 5.6, else PIC objects from an old
13332 # archive will be linked into the output, leading to subtle bugs.
13333 if test "$solaris_use_stlport4" != yes; then
13334 postdeps_CXX='-library=Cstd -library=Crun'
13337 esac
13339 esac
13342 case " $postdeps_CXX " in
13343 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13344 esac
13345 compiler_lib_search_dirs_CXX=
13346 if test -n "${compiler_lib_search_path_CXX}"; then
13347 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13380 lt_prog_compiler_wl_CXX=
13381 lt_prog_compiler_pic_CXX=
13382 lt_prog_compiler_static_CXX=
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13385 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13387 # C++ specific cases for pic, static, wl, etc.
13388 if test "$GXX" = yes; then
13389 lt_prog_compiler_wl_CXX='-Wl,'
13390 lt_prog_compiler_static_CXX='-static'
13392 case $host_os in
13393 aix*)
13394 # All AIX code is PIC.
13395 if test "$host_cpu" = ia64; then
13396 # AIX 5 now supports IA64 processor
13397 lt_prog_compiler_static_CXX='-Bstatic'
13401 amigaos*)
13402 case $host_cpu in
13403 powerpc)
13404 # see comment about AmigaOS4 .so support
13405 lt_prog_compiler_pic_CXX='-fPIC'
13407 m68k)
13408 # FIXME: we need at least 68020 code to build shared libraries, but
13409 # adding the `-m68020' flag to GCC prevents building anything better,
13410 # like `-m68040'.
13411 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13413 esac
13416 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13417 # PIC is the default for these OSes.
13419 mingw* | cygwin* | os2* | pw32* | cegcc*)
13420 # This hack is so that the source file can tell whether it is being
13421 # built for inclusion in a dll (and should export symbols for example).
13422 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13423 # (--disable-auto-import) libraries
13424 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13426 darwin* | rhapsody*)
13427 # PIC is the default on this platform
13428 # Common symbols not allowed in MH_DYLIB files
13429 lt_prog_compiler_pic_CXX='-fno-common'
13431 *djgpp*)
13432 # DJGPP does not support shared libraries at all
13433 lt_prog_compiler_pic_CXX=
13435 haiku*)
13436 # PIC is the default for Haiku.
13437 # The "-static" flag exists, but is broken.
13438 lt_prog_compiler_static_CXX=
13440 interix[3-9]*)
13441 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13442 # Instead, we relocate shared libraries at runtime.
13444 sysv4*MP*)
13445 if test -d /usr/nec; then
13446 lt_prog_compiler_pic_CXX=-Kconform_pic
13449 hpux*)
13450 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13451 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13452 # sets the default TLS model and affects inlining.
13453 case $host_cpu in
13454 hppa*64*)
13457 lt_prog_compiler_pic_CXX='-fPIC'
13459 esac
13461 *qnx* | *nto*)
13462 # QNX uses GNU C++, but need to define -shared option too, otherwise
13463 # it will coredump.
13464 lt_prog_compiler_pic_CXX='-fPIC -shared'
13467 lt_prog_compiler_pic_CXX='-fPIC'
13469 esac
13470 else
13471 case $host_os in
13472 aix[4-9]*)
13473 # All AIX code is PIC.
13474 if test "$host_cpu" = ia64; then
13475 # AIX 5 now supports IA64 processor
13476 lt_prog_compiler_static_CXX='-Bstatic'
13477 else
13478 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13481 chorus*)
13482 case $cc_basename in
13483 cxch68*)
13484 # Green Hills C++ Compiler
13485 # _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"
13487 esac
13489 dgux*)
13490 case $cc_basename in
13491 ec++*)
13492 lt_prog_compiler_pic_CXX='-KPIC'
13494 ghcx*)
13495 # Green Hills C++ Compiler
13496 lt_prog_compiler_pic_CXX='-pic'
13500 esac
13502 freebsd* | dragonfly*)
13503 # FreeBSD uses GNU C++
13505 hpux9* | hpux10* | hpux11*)
13506 case $cc_basename in
13507 CC*)
13508 lt_prog_compiler_wl_CXX='-Wl,'
13509 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13510 if test "$host_cpu" != ia64; then
13511 lt_prog_compiler_pic_CXX='+Z'
13514 aCC*)
13515 lt_prog_compiler_wl_CXX='-Wl,'
13516 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13517 case $host_cpu in
13518 hppa*64*|ia64*)
13519 # +Z the default
13522 lt_prog_compiler_pic_CXX='+Z'
13524 esac
13528 esac
13530 interix*)
13531 # This is c89, which is MS Visual C++ (no shared libs)
13532 # Anyone wants to do a port?
13534 irix5* | irix6* | nonstopux*)
13535 case $cc_basename in
13536 CC*)
13537 lt_prog_compiler_wl_CXX='-Wl,'
13538 lt_prog_compiler_static_CXX='-non_shared'
13539 # CC pic flag -KPIC is the default.
13543 esac
13545 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13546 case $cc_basename in
13547 KCC*)
13548 # KAI C++ Compiler
13549 lt_prog_compiler_wl_CXX='--backend -Wl,'
13550 lt_prog_compiler_pic_CXX='-fPIC'
13552 ecpc* )
13553 # old Intel C++ for x86_64 which still supported -KPIC.
13554 lt_prog_compiler_wl_CXX='-Wl,'
13555 lt_prog_compiler_pic_CXX='-KPIC'
13556 lt_prog_compiler_static_CXX='-static'
13558 icpc* )
13559 # Intel C++, used to be incompatible with GCC.
13560 # ICC 10 doesn't accept -KPIC any more.
13561 lt_prog_compiler_wl_CXX='-Wl,'
13562 lt_prog_compiler_pic_CXX='-fPIC'
13563 lt_prog_compiler_static_CXX='-static'
13565 pgCC* | pgcpp*)
13566 # Portland Group C++ compiler
13567 lt_prog_compiler_wl_CXX='-Wl,'
13568 lt_prog_compiler_pic_CXX='-fpic'
13569 lt_prog_compiler_static_CXX='-Bstatic'
13571 cxx*)
13572 # Compaq C++
13573 # Make sure the PIC flag is empty. It appears that all Alpha
13574 # Linux and Compaq Tru64 Unix objects are PIC.
13575 lt_prog_compiler_pic_CXX=
13576 lt_prog_compiler_static_CXX='-non_shared'
13578 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13579 # IBM XL 8.0, 9.0 on PPC and BlueGene
13580 lt_prog_compiler_wl_CXX='-Wl,'
13581 lt_prog_compiler_pic_CXX='-qpic'
13582 lt_prog_compiler_static_CXX='-qstaticlink'
13585 case `$CC -V 2>&1 | sed 5q` in
13586 *Sun\ C*)
13587 # Sun C++ 5.9
13588 lt_prog_compiler_pic_CXX='-KPIC'
13589 lt_prog_compiler_static_CXX='-Bstatic'
13590 lt_prog_compiler_wl_CXX='-Qoption ld '
13592 esac
13594 esac
13596 lynxos*)
13598 m88k*)
13600 mvs*)
13601 case $cc_basename in
13602 cxx*)
13603 lt_prog_compiler_pic_CXX='-W c,exportall'
13607 esac
13609 netbsd*)
13611 *qnx* | *nto*)
13612 # QNX uses GNU C++, but need to define -shared option too, otherwise
13613 # it will coredump.
13614 lt_prog_compiler_pic_CXX='-fPIC -shared'
13616 osf3* | osf4* | osf5*)
13617 case $cc_basename in
13618 KCC*)
13619 lt_prog_compiler_wl_CXX='--backend -Wl,'
13621 RCC*)
13622 # Rational C++ 2.4.1
13623 lt_prog_compiler_pic_CXX='-pic'
13625 cxx*)
13626 # Digital/Compaq C++
13627 lt_prog_compiler_wl_CXX='-Wl,'
13628 # Make sure the PIC flag is empty. It appears that all Alpha
13629 # Linux and Compaq Tru64 Unix objects are PIC.
13630 lt_prog_compiler_pic_CXX=
13631 lt_prog_compiler_static_CXX='-non_shared'
13635 esac
13637 psos*)
13639 solaris*)
13640 case $cc_basename in
13641 CC*)
13642 # Sun C++ 4.2, 5.x and Centerline C++
13643 lt_prog_compiler_pic_CXX='-KPIC'
13644 lt_prog_compiler_static_CXX='-Bstatic'
13645 lt_prog_compiler_wl_CXX='-Qoption ld '
13647 gcx*)
13648 # Green Hills C++ Compiler
13649 lt_prog_compiler_pic_CXX='-PIC'
13653 esac
13655 sunos4*)
13656 case $cc_basename in
13657 CC*)
13658 # Sun C++ 4.x
13659 lt_prog_compiler_pic_CXX='-pic'
13660 lt_prog_compiler_static_CXX='-Bstatic'
13662 lcc*)
13663 # Lucid
13664 lt_prog_compiler_pic_CXX='-pic'
13668 esac
13670 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13671 case $cc_basename in
13672 CC*)
13673 lt_prog_compiler_wl_CXX='-Wl,'
13674 lt_prog_compiler_pic_CXX='-KPIC'
13675 lt_prog_compiler_static_CXX='-Bstatic'
13677 esac
13679 tandem*)
13680 case $cc_basename in
13681 NCC*)
13682 # NonStop-UX NCC 3.20
13683 lt_prog_compiler_pic_CXX='-KPIC'
13687 esac
13689 vxworks*)
13692 lt_prog_compiler_can_build_shared_CXX=no
13694 esac
13697 case $host_os in
13698 # For platforms which do not support PIC, -DPIC is meaningless:
13699 *djgpp*)
13700 lt_prog_compiler_pic_CXX=
13703 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13705 esac
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13707 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13712 # Check to make sure the PIC flag actually works.
13714 if test -n "$lt_prog_compiler_pic_CXX"; then
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13716 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13717 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13718 $as_echo_n "(cached) " >&6
13719 else
13720 lt_cv_prog_compiler_pic_works_CXX=no
13721 ac_outfile=conftest.$ac_objext
13722 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13723 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13724 # Insert the option either (1) after the last *FLAGS variable, or
13725 # (2) before a word containing "conftest.", or (3) at the end.
13726 # Note that $ac_compile itself does not contain backslashes and begins
13727 # with a dollar sign (not a hyphen), so the echo should work correctly.
13728 # The option is referenced via a variable to avoid confusing sed.
13729 lt_compile=`echo "$ac_compile" | $SED \
13730 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13731 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13732 -e 's:$: $lt_compiler_flag:'`
13733 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13734 (eval "$lt_compile" 2>conftest.err)
13735 ac_status=$?
13736 cat conftest.err >&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 if (exit $ac_status) && test -s "$ac_outfile"; then
13739 # The compiler can only warn and ignore the option if not recognized
13740 # So say no if there are warnings other than the usual output.
13741 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13742 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13743 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13744 lt_cv_prog_compiler_pic_works_CXX=yes
13747 $RM conftest*
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13751 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13753 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13754 case $lt_prog_compiler_pic_CXX in
13755 "" | " "*) ;;
13756 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13757 esac
13758 else
13759 lt_prog_compiler_pic_CXX=
13760 lt_prog_compiler_can_build_shared_CXX=no
13768 # Check to make sure the static flag actually works.
13770 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13772 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13773 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13774 $as_echo_n "(cached) " >&6
13775 else
13776 lt_cv_prog_compiler_static_works_CXX=no
13777 save_LDFLAGS="$LDFLAGS"
13778 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13779 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13780 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13781 # The linker can only warn and ignore the option if not recognized
13782 # So say no if there are warnings
13783 if test -s conftest.err; then
13784 # Append any errors to the config.log.
13785 cat conftest.err 1>&5
13786 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13787 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13788 if diff conftest.exp conftest.er2 >/dev/null; then
13789 lt_cv_prog_compiler_static_works_CXX=yes
13791 else
13792 lt_cv_prog_compiler_static_works_CXX=yes
13795 $RM -r conftest*
13796 LDFLAGS="$save_LDFLAGS"
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13800 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13802 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13804 else
13805 lt_prog_compiler_static_CXX=
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13812 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13813 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 lt_cv_prog_compiler_c_o_CXX=no
13817 $RM -r conftest 2>/dev/null
13818 mkdir conftest
13819 cd conftest
13820 mkdir out
13821 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13823 lt_compiler_flag="-o out/conftest2.$ac_objext"
13824 # Insert the option either (1) after the last *FLAGS variable, or
13825 # (2) before a word containing "conftest.", or (3) at the end.
13826 # Note that $ac_compile itself does not contain backslashes and begins
13827 # with a dollar sign (not a hyphen), so the echo should work correctly.
13828 lt_compile=`echo "$ac_compile" | $SED \
13829 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13830 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13831 -e 's:$: $lt_compiler_flag:'`
13832 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13833 (eval "$lt_compile" 2>out/conftest.err)
13834 ac_status=$?
13835 cat out/conftest.err >&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13838 then
13839 # The compiler can only warn and ignore the option if not recognized
13840 # So say no if there are warnings
13841 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13842 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13843 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13844 lt_cv_prog_compiler_c_o_CXX=yes
13847 chmod u+w . 2>&5
13848 $RM conftest*
13849 # SGI C++ compiler will create directory out/ii_files/ for
13850 # template instantiation
13851 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13852 $RM out/* && rmdir out
13853 cd ..
13854 $RM -r conftest
13855 $RM conftest*
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13859 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13864 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13865 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 lt_cv_prog_compiler_c_o_CXX=no
13869 $RM -r conftest 2>/dev/null
13870 mkdir conftest
13871 cd conftest
13872 mkdir out
13873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13875 lt_compiler_flag="-o out/conftest2.$ac_objext"
13876 # Insert the option either (1) after the last *FLAGS variable, or
13877 # (2) before a word containing "conftest.", or (3) at the end.
13878 # Note that $ac_compile itself does not contain backslashes and begins
13879 # with a dollar sign (not a hyphen), so the echo should work correctly.
13880 lt_compile=`echo "$ac_compile" | $SED \
13881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13883 -e 's:$: $lt_compiler_flag:'`
13884 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13885 (eval "$lt_compile" 2>out/conftest.err)
13886 ac_status=$?
13887 cat out/conftest.err >&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13890 then
13891 # The compiler can only warn and ignore the option if not recognized
13892 # So say no if there are warnings
13893 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13894 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13895 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13896 lt_cv_prog_compiler_c_o_CXX=yes
13899 chmod u+w . 2>&5
13900 $RM conftest*
13901 # SGI C++ compiler will create directory out/ii_files/ for
13902 # template instantiation
13903 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13904 $RM out/* && rmdir out
13905 cd ..
13906 $RM -r conftest
13907 $RM conftest*
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13911 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13916 hard_links="nottested"
13917 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13918 # do not overwrite the value of need_locks provided by the user
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13920 $as_echo_n "checking if we can lock with hard links... " >&6; }
13921 hard_links=yes
13922 $RM conftest*
13923 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13924 touch conftest.a
13925 ln conftest.a conftest.b 2>&5 || hard_links=no
13926 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13928 $as_echo "$hard_links" >&6; }
13929 if test "$hard_links" = no; then
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13931 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13932 need_locks=warn
13934 else
13935 need_locks=no
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13941 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13943 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13944 case $host_os in
13945 aix[4-9]*)
13946 # If we're using GNU nm, then we don't want the "-C" option.
13947 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13948 # Also, AIX nm treats weak defined symbols like other global defined
13949 # symbols, whereas GNU nm marks them as "W".
13950 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13951 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'
13952 else
13953 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'
13956 pw32*)
13957 export_symbols_cmds_CXX="$ltdll_cmds"
13959 cygwin* | mingw* | cegcc*)
13960 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'
13963 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13965 esac
13966 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13969 $as_echo "$ld_shlibs_CXX" >&6; }
13970 test "$ld_shlibs_CXX" = no && can_build_shared=no
13972 with_gnu_ld_CXX=$with_gnu_ld
13980 # Do we need to explicitly link libc?
13982 case "x$archive_cmds_need_lc_CXX" in
13983 x|xyes)
13984 # Assume -lc should be added
13985 archive_cmds_need_lc_CXX=yes
13987 if test "$enable_shared" = yes && test "$GCC" = yes; then
13988 case $archive_cmds_CXX in
13989 *'~'*)
13990 # FIXME: we may have to deal with multi-command sequences.
13992 '$CC '*)
13993 # Test whether the compiler implicitly links with -lc since on some
13994 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13995 # to ld, don't add -lc before -lgcc.
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13997 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13998 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13999 $as_echo_n "(cached) " >&6
14000 else
14001 $RM conftest*
14002 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14005 (eval $ac_compile) 2>&5
14006 ac_status=$?
14007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14008 test $ac_status = 0; } 2>conftest.err; then
14009 soname=conftest
14010 lib=conftest
14011 libobjs=conftest.$ac_objext
14012 deplibs=
14013 wl=$lt_prog_compiler_wl_CXX
14014 pic_flag=$lt_prog_compiler_pic_CXX
14015 compiler_flags=-v
14016 linker_flags=-v
14017 verstring=
14018 output_objdir=.
14019 libname=conftest
14020 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14021 allow_undefined_flag_CXX=
14022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14023 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14024 ac_status=$?
14025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14026 test $ac_status = 0; }
14027 then
14028 lt_cv_archive_cmds_need_lc_CXX=no
14029 else
14030 lt_cv_archive_cmds_need_lc_CXX=yes
14032 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14033 else
14034 cat conftest.err 1>&5
14036 $RM conftest*
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14040 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14041 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14043 esac
14046 esac
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14112 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14114 library_names_spec=
14115 libname_spec='lib$name'
14116 soname_spec=
14117 shrext_cmds=".so"
14118 postinstall_cmds=
14119 postuninstall_cmds=
14120 finish_cmds=
14121 finish_eval=
14122 shlibpath_var=
14123 shlibpath_overrides_runpath=unknown
14124 version_type=none
14125 dynamic_linker="$host_os ld.so"
14126 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14127 need_lib_prefix=unknown
14128 hardcode_into_libs=no
14130 # when you set need_version to no, make sure it does not cause -set_version
14131 # flags to be left without arguments
14132 need_version=unknown
14134 case $host_os in
14135 aix3*)
14136 version_type=linux
14137 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14138 shlibpath_var=LIBPATH
14140 # AIX 3 has no versioning support, so we append a major version to the name.
14141 soname_spec='${libname}${release}${shared_ext}$major'
14144 aix[4-9]*)
14145 version_type=linux
14146 need_lib_prefix=no
14147 need_version=no
14148 hardcode_into_libs=yes
14149 if test "$host_cpu" = ia64; then
14150 # AIX 5 supports IA64
14151 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14152 shlibpath_var=LD_LIBRARY_PATH
14153 else
14154 # With GCC up to 2.95.x, collect2 would create an import file
14155 # for dependence libraries. The import file would start with
14156 # the line `#! .'. This would cause the generated library to
14157 # depend on `.', always an invalid library. This was fixed in
14158 # development snapshots of GCC prior to 3.0.
14159 case $host_os in
14160 aix4 | aix4.[01] | aix4.[01].*)
14161 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14162 echo ' yes '
14163 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14165 else
14166 can_build_shared=no
14169 esac
14170 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14171 # soname into executable. Probably we can add versioning support to
14172 # collect2, so additional links can be useful in future.
14173 if test "$aix_use_runtimelinking" = yes; then
14174 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14175 # instead of lib<name>.a to let people know that these are not
14176 # typical AIX shared libraries.
14177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14178 else
14179 # We preserve .a as extension for shared libraries through AIX4.2
14180 # and later when we are not doing run time linking.
14181 library_names_spec='${libname}${release}.a $libname.a'
14182 soname_spec='${libname}${release}${shared_ext}$major'
14184 shlibpath_var=LIBPATH
14188 amigaos*)
14189 case $host_cpu in
14190 powerpc)
14191 # Since July 2007 AmigaOS4 officially supports .so libraries.
14192 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14195 m68k)
14196 library_names_spec='$libname.ixlibrary $libname.a'
14197 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14198 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'
14200 esac
14203 beos*)
14204 library_names_spec='${libname}${shared_ext}'
14205 dynamic_linker="$host_os ld.so"
14206 shlibpath_var=LIBRARY_PATH
14209 bsdi[45]*)
14210 version_type=linux
14211 need_version=no
14212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14213 soname_spec='${libname}${release}${shared_ext}$major'
14214 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14215 shlibpath_var=LD_LIBRARY_PATH
14216 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14217 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14218 # the default ld.so.conf also contains /usr/contrib/lib and
14219 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14220 # libtool to hard-code these into programs
14223 cygwin* | mingw* | pw32* | cegcc*)
14224 version_type=windows
14225 shrext_cmds=".dll"
14226 need_version=no
14227 need_lib_prefix=no
14229 case $GCC,$host_os in
14230 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14231 library_names_spec='$libname.dll.a'
14232 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14233 postinstall_cmds='base_file=`basename \${file}`~
14234 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14235 dldir=$destdir/`dirname \$dlpath`~
14236 test -d \$dldir || mkdir -p \$dldir~
14237 $install_prog $dir/$dlname \$dldir/$dlname~
14238 chmod a+x \$dldir/$dlname~
14239 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14240 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14242 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14243 dlpath=$dir/\$dldll~
14244 $RM \$dlpath'
14245 shlibpath_overrides_runpath=yes
14247 case $host_os in
14248 cygwin*)
14249 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14250 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14253 mingw* | cegcc*)
14254 # MinGW DLLs use traditional 'lib' prefix
14255 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14257 pw32*)
14258 # pw32 DLLs use 'pw' prefix rather than 'lib'
14259 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14261 esac
14265 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14267 esac
14268 dynamic_linker='Win32 ld.exe'
14269 # FIXME: first we should search . and the directory the executable is in
14270 shlibpath_var=PATH
14273 darwin* | rhapsody*)
14274 dynamic_linker="$host_os dyld"
14275 version_type=darwin
14276 need_lib_prefix=no
14277 need_version=no
14278 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14279 soname_spec='${libname}${release}${major}$shared_ext'
14280 shlibpath_overrides_runpath=yes
14281 shlibpath_var=DYLD_LIBRARY_PATH
14282 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14284 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14287 dgux*)
14288 version_type=linux
14289 need_lib_prefix=no
14290 need_version=no
14291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14292 soname_spec='${libname}${release}${shared_ext}$major'
14293 shlibpath_var=LD_LIBRARY_PATH
14296 freebsd* | dragonfly*)
14297 # DragonFly does not have aout. When/if they implement a new
14298 # versioning mechanism, adjust this.
14299 if test -x /usr/bin/objformat; then
14300 objformat=`/usr/bin/objformat`
14301 else
14302 case $host_os in
14303 freebsd[123]*) objformat=aout ;;
14304 *) objformat=elf ;;
14305 esac
14307 version_type=freebsd-$objformat
14308 case $version_type in
14309 freebsd-elf*)
14310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14311 need_version=no
14312 need_lib_prefix=no
14314 freebsd-*)
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14316 need_version=yes
14318 esac
14319 shlibpath_var=LD_LIBRARY_PATH
14320 case $host_os in
14321 freebsd2*)
14322 shlibpath_overrides_runpath=yes
14324 freebsd3.[01]* | freebsdelf3.[01]*)
14325 shlibpath_overrides_runpath=yes
14326 hardcode_into_libs=yes
14328 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14329 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14330 shlibpath_overrides_runpath=no
14331 hardcode_into_libs=yes
14333 *) # from 4.6 on, and DragonFly
14334 shlibpath_overrides_runpath=yes
14335 hardcode_into_libs=yes
14337 esac
14340 gnu*)
14341 version_type=linux
14342 need_lib_prefix=no
14343 need_version=no
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14345 soname_spec='${libname}${release}${shared_ext}$major'
14346 shlibpath_var=LD_LIBRARY_PATH
14347 hardcode_into_libs=yes
14350 haiku*)
14351 version_type=linux
14352 need_lib_prefix=no
14353 need_version=no
14354 dynamic_linker="$host_os runtime_loader"
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14356 soname_spec='${libname}${release}${shared_ext}$major'
14357 shlibpath_var=LIBRARY_PATH
14358 shlibpath_overrides_runpath=yes
14359 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14360 hardcode_into_libs=yes
14363 hpux9* | hpux10* | hpux11*)
14364 # Give a soname corresponding to the major version so that dld.sl refuses to
14365 # link against other versions.
14366 version_type=sunos
14367 need_lib_prefix=no
14368 need_version=no
14369 case $host_cpu in
14370 ia64*)
14371 shrext_cmds='.so'
14372 hardcode_into_libs=yes
14373 dynamic_linker="$host_os dld.so"
14374 shlibpath_var=LD_LIBRARY_PATH
14375 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14377 soname_spec='${libname}${release}${shared_ext}$major'
14378 if test "X$HPUX_IA64_MODE" = X32; then
14379 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14380 else
14381 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14383 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14385 hppa*64*)
14386 shrext_cmds='.sl'
14387 hardcode_into_libs=yes
14388 dynamic_linker="$host_os dld.sl"
14389 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14390 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14392 soname_spec='${libname}${release}${shared_ext}$major'
14393 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14394 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14397 shrext_cmds='.sl'
14398 dynamic_linker="$host_os dld.sl"
14399 shlibpath_var=SHLIB_PATH
14400 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14404 esac
14405 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14406 postinstall_cmds='chmod 555 $lib'
14407 # or fails outright, so override atomically:
14408 install_override_mode=555
14411 interix[3-9]*)
14412 version_type=linux
14413 need_lib_prefix=no
14414 need_version=no
14415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14416 soname_spec='${libname}${release}${shared_ext}$major'
14417 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14418 shlibpath_var=LD_LIBRARY_PATH
14419 shlibpath_overrides_runpath=no
14420 hardcode_into_libs=yes
14423 irix5* | irix6* | nonstopux*)
14424 case $host_os in
14425 nonstopux*) version_type=nonstopux ;;
14427 if test "$lt_cv_prog_gnu_ld" = yes; then
14428 version_type=linux
14429 else
14430 version_type=irix
14431 fi ;;
14432 esac
14433 need_lib_prefix=no
14434 need_version=no
14435 soname_spec='${libname}${release}${shared_ext}$major'
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14437 case $host_os in
14438 irix5* | nonstopux*)
14439 libsuff= shlibsuff=
14442 case $LD in # libtool.m4 will add one of these switches to LD
14443 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14444 libsuff= shlibsuff= libmagic=32-bit;;
14445 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14446 libsuff=32 shlibsuff=N32 libmagic=N32;;
14447 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14448 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14449 *) libsuff= shlibsuff= libmagic=never-match;;
14450 esac
14452 esac
14453 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14454 shlibpath_overrides_runpath=no
14455 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14456 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14457 hardcode_into_libs=yes
14460 # No shared lib support for Linux oldld, aout, or coff.
14461 linux*oldld* | linux*aout* | linux*coff*)
14462 dynamic_linker=no
14465 # This must be Linux ELF.
14466 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14467 version_type=linux
14468 need_lib_prefix=no
14469 need_version=no
14470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14471 soname_spec='${libname}${release}${shared_ext}$major'
14472 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14473 shlibpath_var=LD_LIBRARY_PATH
14474 shlibpath_overrides_runpath=no
14476 # Some binutils ld are patched to set DT_RUNPATH
14477 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14478 $as_echo_n "(cached) " >&6
14479 else
14480 lt_cv_shlibpath_overrides_runpath=no
14481 save_LDFLAGS=$LDFLAGS
14482 save_libdir=$libdir
14483 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14484 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14485 if test x$gcc_no_link = xyes; then
14486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14492 main ()
14496 return 0;
14498 _ACEOF
14499 if ac_fn_cxx_try_link "$LINENO"; then :
14500 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14501 lt_cv_shlibpath_overrides_runpath=yes
14504 rm -f core conftest.err conftest.$ac_objext \
14505 conftest$ac_exeext conftest.$ac_ext
14506 LDFLAGS=$save_LDFLAGS
14507 libdir=$save_libdir
14511 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14513 # This implies no fast_install, which is unacceptable.
14514 # Some rework will be needed to allow for fast_install
14515 # before this can be enabled.
14516 hardcode_into_libs=yes
14518 # Append ld.so.conf contents to the search path
14519 if test -f /etc/ld.so.conf; then
14520 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' ' '`
14521 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14524 # We used to test for /lib/ld.so.1 and disable shared libraries on
14525 # powerpc, because MkLinux only supported shared libraries with the
14526 # GNU dynamic linker. Since this was broken with cross compilers,
14527 # most powerpc-linux boxes support dynamic linking these days and
14528 # people can always --disable-shared, the test was removed, and we
14529 # assume the GNU/Linux dynamic linker is in use.
14530 dynamic_linker='GNU/Linux ld.so'
14533 netbsd*)
14534 version_type=sunos
14535 need_lib_prefix=no
14536 need_version=no
14537 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14539 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14540 dynamic_linker='NetBSD (a.out) ld.so'
14541 else
14542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14543 soname_spec='${libname}${release}${shared_ext}$major'
14544 dynamic_linker='NetBSD ld.elf_so'
14546 shlibpath_var=LD_LIBRARY_PATH
14547 shlibpath_overrides_runpath=yes
14548 hardcode_into_libs=yes
14551 newsos6)
14552 version_type=linux
14553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14554 shlibpath_var=LD_LIBRARY_PATH
14555 shlibpath_overrides_runpath=yes
14558 *nto* | *qnx*)
14559 version_type=qnx
14560 need_lib_prefix=no
14561 need_version=no
14562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14563 soname_spec='${libname}${release}${shared_ext}$major'
14564 shlibpath_var=LD_LIBRARY_PATH
14565 shlibpath_overrides_runpath=no
14566 hardcode_into_libs=yes
14567 dynamic_linker='ldqnx.so'
14570 openbsd*)
14571 version_type=sunos
14572 sys_lib_dlsearch_path_spec="/usr/lib"
14573 need_lib_prefix=no
14574 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14575 case $host_os in
14576 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14577 *) need_version=no ;;
14578 esac
14579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14580 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14583 case $host_os in
14584 openbsd2.[89] | openbsd2.[89].*)
14585 shlibpath_overrides_runpath=no
14588 shlibpath_overrides_runpath=yes
14590 esac
14591 else
14592 shlibpath_overrides_runpath=yes
14596 os2*)
14597 libname_spec='$name'
14598 shrext_cmds=".dll"
14599 need_lib_prefix=no
14600 library_names_spec='$libname${shared_ext} $libname.a'
14601 dynamic_linker='OS/2 ld.exe'
14602 shlibpath_var=LIBPATH
14605 osf3* | osf4* | osf5*)
14606 version_type=osf
14607 need_lib_prefix=no
14608 need_version=no
14609 soname_spec='${libname}${release}${shared_ext}$major'
14610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14611 shlibpath_var=LD_LIBRARY_PATH
14612 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14613 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14616 rdos*)
14617 dynamic_linker=no
14620 solaris*)
14621 version_type=linux
14622 need_lib_prefix=no
14623 need_version=no
14624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14625 soname_spec='${libname}${release}${shared_ext}$major'
14626 shlibpath_var=LD_LIBRARY_PATH
14627 shlibpath_overrides_runpath=yes
14628 hardcode_into_libs=yes
14629 # ldd complains unless libraries are executable
14630 postinstall_cmds='chmod +x $lib'
14633 sunos4*)
14634 version_type=sunos
14635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14636 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14637 shlibpath_var=LD_LIBRARY_PATH
14638 shlibpath_overrides_runpath=yes
14639 if test "$with_gnu_ld" = yes; then
14640 need_lib_prefix=no
14642 need_version=yes
14645 sysv4 | sysv4.3*)
14646 version_type=linux
14647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14648 soname_spec='${libname}${release}${shared_ext}$major'
14649 shlibpath_var=LD_LIBRARY_PATH
14650 case $host_vendor in
14651 sni)
14652 shlibpath_overrides_runpath=no
14653 need_lib_prefix=no
14654 runpath_var=LD_RUN_PATH
14656 siemens)
14657 need_lib_prefix=no
14659 motorola)
14660 need_lib_prefix=no
14661 need_version=no
14662 shlibpath_overrides_runpath=no
14663 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14665 esac
14668 sysv4*MP*)
14669 if test -d /usr/nec ;then
14670 version_type=linux
14671 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14672 soname_spec='$libname${shared_ext}.$major'
14673 shlibpath_var=LD_LIBRARY_PATH
14677 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14678 version_type=freebsd-elf
14679 need_lib_prefix=no
14680 need_version=no
14681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14682 soname_spec='${libname}${release}${shared_ext}$major'
14683 shlibpath_var=LD_LIBRARY_PATH
14684 shlibpath_overrides_runpath=yes
14685 hardcode_into_libs=yes
14686 if test "$with_gnu_ld" = yes; then
14687 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14688 else
14689 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14690 case $host_os in
14691 sco3.2v5*)
14692 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14694 esac
14696 sys_lib_dlsearch_path_spec='/usr/lib'
14699 tpf*)
14700 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14701 version_type=linux
14702 need_lib_prefix=no
14703 need_version=no
14704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14705 shlibpath_var=LD_LIBRARY_PATH
14706 shlibpath_overrides_runpath=no
14707 hardcode_into_libs=yes
14710 uts4*)
14711 version_type=linux
14712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14713 soname_spec='${libname}${release}${shared_ext}$major'
14714 shlibpath_var=LD_LIBRARY_PATH
14718 dynamic_linker=no
14720 esac
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14722 $as_echo "$dynamic_linker" >&6; }
14723 test "$dynamic_linker" = no && can_build_shared=no
14725 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14726 if test "$GCC" = yes; then
14727 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14730 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14731 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14733 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14734 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14775 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14776 hardcode_action_CXX=
14777 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14778 test -n "$runpath_var_CXX" ||
14779 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14781 # We can hardcode non-existent directories.
14782 if test "$hardcode_direct_CXX" != no &&
14783 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14784 # have to relink, otherwise we might link with an installed library
14785 # when we should be linking with a yet-to-be-installed one
14786 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14787 test "$hardcode_minus_L_CXX" != no; then
14788 # Linking always hardcodes the temporary library directory.
14789 hardcode_action_CXX=relink
14790 else
14791 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14792 hardcode_action_CXX=immediate
14794 else
14795 # We cannot hardcode anything, or else we can only hardcode existing
14796 # directories.
14797 hardcode_action_CXX=unsupported
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14800 $as_echo "$hardcode_action_CXX" >&6; }
14802 if test "$hardcode_action_CXX" = relink ||
14803 test "$inherit_rpath_CXX" = yes; then
14804 # Fast installation is not supported
14805 enable_fast_install=no
14806 elif test "$shlibpath_overrides_runpath" = yes ||
14807 test "$enable_shared" = no; then
14808 # Fast installation is not necessary
14809 enable_fast_install=needless
14818 fi # test -n "$compiler"
14820 CC=$lt_save_CC
14821 LDCXX=$LD
14822 LD=$lt_save_LD
14823 GCC=$lt_save_GCC
14824 with_gnu_ld=$lt_save_with_gnu_ld
14825 lt_cv_path_LDCXX=$lt_cv_path_LD
14826 lt_cv_path_LD=$lt_save_path_LD
14827 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14828 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14829 fi # test "$_lt_caught_CXX_error" != yes
14831 ac_ext=c
14832 ac_cpp='$CPP $CPPFLAGS'
14833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14849 ac_config_commands="$ac_config_commands libtool"
14854 # Only expand once:
14860 case $host in
14861 *-cygwin* | *-mingw*)
14862 # 'host' will be top-level target in the case of a target lib,
14863 # we must compare to with_cross_host to decide if this is a native
14864 # or cross-compiler and select where to install dlls appropriately.
14865 if test -n "$with_cross_host" &&
14866 test x"$with_cross_host" != x"no"; then
14867 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14868 else
14869 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14873 lt_host_flags=
14875 esac
14882 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14883 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14885 # Possibly disable most of the library.
14886 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14887 ## than just ignoring the results. Faster /and/ more correct, win win.
14889 # Check whether --enable-hosted-libstdcxx was given.
14890 if test "${enable_hosted_libstdcxx+set}" = set; then :
14891 enableval=$enable_hosted_libstdcxx;
14892 else
14893 case "$host" in
14894 arm*-*-symbianelf*)
14895 enable_hosted_libstdcxx=no
14898 enable_hosted_libstdcxx=yes
14900 esac
14903 if test "$enable_hosted_libstdcxx" = no; then
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14905 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14906 is_hosted=no
14907 hosted_define=0
14908 enable_abi_check=no
14909 enable_libstdcxx_pch=no
14910 else
14911 is_hosted=yes
14912 hosted_define=1
14916 cat >>confdefs.h <<_ACEOF
14917 #define _GLIBCXX_HOSTED $hosted_define
14918 _ACEOF
14922 # Enable compiler support that doesn't require linking.
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14925 $as_echo_n "checking for exception model to use... " >&6; }
14927 ac_ext=cpp
14928 ac_cpp='$CXXCPP $CPPFLAGS'
14929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14933 # Check whether --enable-sjlj-exceptions was given.
14934 if test "${enable_sjlj_exceptions+set}" = set; then :
14935 enableval=$enable_sjlj_exceptions;
14936 case "$enableval" in
14937 yes|no|auto) ;;
14938 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14939 esac
14941 else
14942 enable_sjlj_exceptions=auto
14947 if test $enable_sjlj_exceptions = auto; then
14948 # Botheration. Now we've got to detect the exception model. Link tests
14949 # against libgcc.a are problematic since we've not been given proper -L
14950 # bits for single-tree newlib and libgloss.
14952 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14953 cat > conftest.$ac_ext << EOF
14954 #line 14954 "configure"
14955 struct S { ~S(); };
14956 void bar();
14957 void foo()
14959 S s;
14960 bar();
14963 old_CXXFLAGS="$CXXFLAGS"
14964 CXXFLAGS=-S
14965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14966 (eval $ac_compile) 2>&5
14967 ac_status=$?
14968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14969 test $ac_status = 0; }; then
14970 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14971 enable_sjlj_exceptions=yes
14972 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14973 enable_sjlj_exceptions=no
14974 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14975 enable_sjlj_exceptions=no
14978 CXXFLAGS="$old_CXXFLAGS"
14979 rm -f conftest*
14982 # This is a tad weird, for hysterical raisins. We have to map
14983 # enable/disable to two different models.
14984 case $enable_sjlj_exceptions in
14985 yes)
14987 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14989 ac_exception_model_name=sjlj
14992 ac_exception_model_name="call frame"
14995 as_fn_error "unable to detect exception model" "$LINENO" 5
14997 esac
14998 ac_ext=c
14999 ac_cpp='$CPP $CPPFLAGS'
15000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15005 $as_echo "$ac_exception_model_name" >&6; }
15008 # Check whether --enable-libstdcxx-pch was given.
15009 if test "${enable_libstdcxx_pch+set}" = set; then :
15010 enableval=$enable_libstdcxx_pch;
15011 case "$enableval" in
15012 yes|no) ;;
15013 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15014 esac
15016 else
15017 enable_libstdcxx_pch=$is_hosted
15021 if test $enable_libstdcxx_pch = yes; then
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15023 $as_echo_n "checking for compiler with PCH support... " >&6; }
15024 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15025 $as_echo_n "(cached) " >&6
15026 else
15027 ac_save_CXXFLAGS="$CXXFLAGS"
15028 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15030 ac_ext=cpp
15031 ac_cpp='$CXXCPP $CPPFLAGS'
15032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15036 echo '#include <math.h>' > conftest.h
15037 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15038 -o conftest.h.gch 1>&5 2>&1 &&
15039 echo '#error "pch failed"' > conftest.h &&
15040 echo '#include "conftest.h"' > conftest.cc &&
15041 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15042 then
15043 glibcxx_cv_prog_CXX_pch=yes
15044 else
15045 glibcxx_cv_prog_CXX_pch=no
15047 rm -f conftest*
15048 CXXFLAGS=$ac_save_CXXFLAGS
15049 ac_ext=c
15050 ac_cpp='$CPP $CPPFLAGS'
15051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15058 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15059 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15063 $as_echo_n "checking for enabled PCH... " >&6; }
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15065 $as_echo "$enable_libstdcxx_pch" >&6; }
15068 if test $enable_libstdcxx_pch = yes; then
15069 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15070 else
15071 glibcxx_PCHFLAGS=""
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15077 $as_echo_n "checking for thread model used by GCC... " >&6; }
15078 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15080 $as_echo "$target_thread_file" >&6; }
15084 ac_ext=cpp
15085 ac_cpp='$CXXCPP $CPPFLAGS'
15086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15090 old_CXXFLAGS="$CXXFLAGS"
15092 # Do link tests if possible, instead asm tests, limited to some platforms
15093 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15094 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15095 atomic_builtins_link_tests=no
15096 if test x$gcc_no_link != xyes; then
15097 # Can do link tests. Limit to some tested platforms
15098 case "$host" in
15099 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15100 atomic_builtins_link_tests=yes
15102 esac
15105 if test x$atomic_builtins_link_tests = xyes; then
15107 # Do link tests.
15109 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15112 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15113 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15114 $as_echo_n "(cached) " >&6
15115 else
15117 if test x$gcc_no_link = xyes; then
15118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15124 main ()
15126 typedef bool atomic_type;
15127 atomic_type c1;
15128 atomic_type c2;
15129 const atomic_type c3(0);
15130 __sync_fetch_and_add(&c1, c2);
15131 __sync_val_compare_and_swap(&c1, c3, c2);
15132 __sync_lock_test_and_set(&c1, c3);
15133 __sync_lock_release(&c1);
15134 __sync_synchronize();
15136 return 0;
15138 _ACEOF
15139 if ac_fn_cxx_try_link "$LINENO"; then :
15140 glibcxx_cv_atomic_bool=yes
15141 else
15142 glibcxx_cv_atomic_bool=no
15144 rm -f core conftest.err conftest.$ac_objext \
15145 conftest$ac_exeext conftest.$ac_ext
15149 if test $glibcxx_cv_atomic_bool = yes; then
15151 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15155 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15158 $as_echo_n "checking for atomic builtins for short... " >&6; }
15159 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15163 if test x$gcc_no_link = xyes; then
15164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15170 main ()
15172 typedef short atomic_type;
15173 atomic_type c1;
15174 atomic_type c2;
15175 const atomic_type c3(0);
15176 __sync_fetch_and_add(&c1, c2);
15177 __sync_val_compare_and_swap(&c1, c3, c2);
15178 __sync_lock_test_and_set(&c1, c3);
15179 __sync_lock_release(&c1);
15180 __sync_synchronize();
15182 return 0;
15184 _ACEOF
15185 if ac_fn_cxx_try_link "$LINENO"; then :
15186 glibcxx_cv_atomic_short=yes
15187 else
15188 glibcxx_cv_atomic_short=no
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15195 if test $glibcxx_cv_atomic_short = yes; then
15197 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15201 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15204 $as_echo_n "checking for atomic builtins for int... " >&6; }
15205 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15206 $as_echo_n "(cached) " >&6
15207 else
15209 if test x$gcc_no_link = xyes; then
15210 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15216 main ()
15218 typedef int atomic_type;
15219 atomic_type c1;
15220 atomic_type c2;
15221 const atomic_type c3(0);
15222 __sync_fetch_and_add(&c1, c2);
15223 __sync_val_compare_and_swap(&c1, c3, c2);
15224 __sync_lock_test_and_set(&c1, c3);
15225 __sync_lock_release(&c1);
15226 __sync_synchronize();
15228 return 0;
15230 _ACEOF
15231 if ac_fn_cxx_try_link "$LINENO"; then :
15232 glibcxx_cv_atomic_int=yes
15233 else
15234 glibcxx_cv_atomic_int=no
15236 rm -f core conftest.err conftest.$ac_objext \
15237 conftest$ac_exeext conftest.$ac_ext
15241 if test $glibcxx_cv_atomic_int = yes; then
15243 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15247 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15250 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15251 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15252 $as_echo_n "(cached) " >&6
15253 else
15255 if test x$gcc_no_link = xyes; then
15256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h. */
15262 main ()
15264 typedef long long atomic_type;
15265 atomic_type c1;
15266 atomic_type c2;
15267 const atomic_type c3(0);
15268 __sync_fetch_and_add(&c1, c2);
15269 __sync_val_compare_and_swap(&c1, c3, c2);
15270 __sync_lock_test_and_set(&c1, c3);
15271 __sync_lock_release(&c1);
15272 __sync_synchronize();
15274 return 0;
15276 _ACEOF
15277 if ac_fn_cxx_try_link "$LINENO"; then :
15278 glibcxx_cv_atomic_long_long=yes
15279 else
15280 glibcxx_cv_atomic_long_long=no
15282 rm -f core conftest.err conftest.$ac_objext \
15283 conftest$ac_exeext conftest.$ac_ext
15287 if test $glibcxx_cv_atomic_long_long = yes; then
15289 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15293 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15295 else
15297 # Do asm tests.
15299 # Compile unoptimized.
15300 CXXFLAGS='-O0 -S'
15302 # Fake what AC_TRY_COMPILE does.
15304 cat > conftest.$ac_ext << EOF
15305 #line 15305 "configure"
15306 int main()
15308 typedef bool atomic_type;
15309 atomic_type c1;
15310 atomic_type c2;
15311 const atomic_type c3(0);
15312 __sync_fetch_and_add(&c1, c2);
15313 __sync_val_compare_and_swap(&c1, c3, c2);
15314 __sync_lock_test_and_set(&c1, c3);
15315 __sync_lock_release(&c1);
15316 __sync_synchronize();
15317 return 0;
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15322 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15324 (eval $ac_compile) 2>&5
15325 ac_status=$?
15326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15327 test $ac_status = 0; }; then
15328 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15329 glibcxx_cv_atomic_bool=no
15330 else
15332 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15334 glibcxx_cv_atomic_bool=yes
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15338 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15339 rm -f conftest*
15341 cat > conftest.$ac_ext << EOF
15342 #line 15342 "configure"
15343 int main()
15345 typedef short atomic_type;
15346 atomic_type c1;
15347 atomic_type c2;
15348 const atomic_type c3(0);
15349 __sync_fetch_and_add(&c1, c2);
15350 __sync_val_compare_and_swap(&c1, c3, c2);
15351 __sync_lock_test_and_set(&c1, c3);
15352 __sync_lock_release(&c1);
15353 __sync_synchronize();
15354 return 0;
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15359 $as_echo_n "checking for atomic builtins for short... " >&6; }
15360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15361 (eval $ac_compile) 2>&5
15362 ac_status=$?
15363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15364 test $ac_status = 0; }; then
15365 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15366 glibcxx_cv_atomic_short=no
15367 else
15369 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15371 glibcxx_cv_atomic_short=yes
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15375 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15376 rm -f conftest*
15378 cat > conftest.$ac_ext << EOF
15379 #line 15379 "configure"
15380 int main()
15382 // NB: _Atomic_word not necessarily int.
15383 typedef int atomic_type;
15384 atomic_type c1;
15385 atomic_type c2;
15386 const atomic_type c3(0);
15387 __sync_fetch_and_add(&c1, c2);
15388 __sync_val_compare_and_swap(&c1, c3, c2);
15389 __sync_lock_test_and_set(&c1, c3);
15390 __sync_lock_release(&c1);
15391 __sync_synchronize();
15392 return 0;
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15397 $as_echo_n "checking for atomic builtins for int... " >&6; }
15398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15399 (eval $ac_compile) 2>&5
15400 ac_status=$?
15401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15402 test $ac_status = 0; }; then
15403 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15404 glibcxx_cv_atomic_int=no
15405 else
15407 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15409 glibcxx_cv_atomic_int=yes
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15413 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15414 rm -f conftest*
15416 cat > conftest.$ac_ext << EOF
15417 #line 15417 "configure"
15418 int main()
15420 typedef long long atomic_type;
15421 atomic_type c1;
15422 atomic_type c2;
15423 const atomic_type c3(0);
15424 __sync_fetch_and_add(&c1, c2);
15425 __sync_val_compare_and_swap(&c1, c3, c2);
15426 __sync_lock_test_and_set(&c1, c3);
15427 __sync_lock_release(&c1);
15428 __sync_synchronize();
15429 return 0;
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15434 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15436 (eval $ac_compile) 2>&5
15437 ac_status=$?
15438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15439 test $ac_status = 0; }; then
15440 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15441 glibcxx_cv_atomic_long_long=no
15442 else
15444 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15446 glibcxx_cv_atomic_long_long=yes
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15450 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15451 rm -f conftest*
15455 CXXFLAGS="$old_CXXFLAGS"
15456 ac_ext=c
15457 ac_cpp='$CPP $CPPFLAGS'
15458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15463 # Set atomicity_dir to builtins if either of above tests pass.
15464 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15465 atomicity_dir=cpu/generic/atomicity_builtins
15468 # If still generic, set to mutex.
15469 if test $atomicity_dir = "cpu/generic" ; then
15470 atomicity_dir=cpu/generic/atomicity_mutex
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15472 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15473 if test "x$target_thread_file" = xsingle; then
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15475 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15477 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15478 else
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15480 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15482 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15489 # Fake what AC_TRY_COMPILE does, without linking as this is
15490 # unnecessary for this test.
15492 cat > conftest.$ac_ext << EOF
15493 #line 15493 "configure"
15494 int main()
15496 _Decimal32 d1;
15497 _Decimal64 d2;
15498 _Decimal128 d3;
15499 return 0;
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15504 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15506 (eval $ac_compile) 2>&5
15507 ac_status=$?
15508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15509 test $ac_status = 0; }; then
15511 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15513 enable_dfp=yes
15514 else
15515 enable_dfp=no
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15518 $as_echo "$enable_dfp" >&6; }
15519 rm -f conftest*
15524 ac_ext=cpp
15525 ac_cpp='$CXXCPP $CPPFLAGS'
15526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15531 # Fake what AC_TRY_COMPILE does, without linking as this is
15532 # unnecessary for this test.
15534 cat > conftest.$ac_ext << EOF
15535 #line 15535 "configure"
15536 template<typename T1, typename T2>
15537 struct same
15538 { typedef T2 type; };
15540 template<typename T>
15541 struct same<T, T>;
15543 int main()
15545 typename same<long, __int128>::type i1;
15546 typename same<long long, __int128>::type i2;
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15551 $as_echo_n "checking for __int128... " >&6; }
15552 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15553 (eval $ac_compile) 2>&5
15554 ac_status=$?
15555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15556 test $ac_status = 0; }; then
15558 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15560 enable_int128=yes
15561 else
15562 enable_int128=no
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15565 $as_echo "$enable_int128" >&6; }
15566 rm -f conftest*
15568 cat > conftest.$ac_ext << EOF
15569 #line 15569 "configure"
15570 template<typename T1, typename T2>
15571 struct same
15572 { typedef T2 type; };
15574 template<typename T>
15575 struct same<T, T>;
15577 int main()
15579 typename same<double, __float128>::type f1;
15580 typename same<long double, __float128>::type f2;
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15585 $as_echo_n "checking for __float128... " >&6; }
15586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15590 test $ac_status = 0; }; then
15592 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15594 enable_float128=yes
15595 else
15596 enable_float128=no
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15599 $as_echo "$enable_float128" >&6; }
15600 rm -f conftest*
15602 ac_ext=c
15603 ac_cpp='$CPP $CPPFLAGS'
15604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15610 # Checks for compiler support that doesn't require linking.
15612 # All these tests are for C++; save the language and the compiler flags.
15613 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15614 # found in GLIBCXX_CONFIGURE.
15616 ac_ext=cpp
15617 ac_cpp='$CXXCPP $CPPFLAGS'
15618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15622 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15623 ac_save_CXXFLAGS="$CXXFLAGS"
15625 # Check for maintainer-mode bits.
15626 if test x"$USE_MAINTAINER_MODE" = xno; then
15627 WERROR=''
15628 else
15629 WERROR='-Werror'
15632 # Check for -ffunction-sections -fdata-sections
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15634 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15635 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15637 /* end confdefs.h. */
15638 int foo; void bar() { };
15640 main ()
15644 return 0;
15646 _ACEOF
15647 if ac_fn_cxx_try_compile "$LINENO"; then :
15648 ac_fdsections=yes
15649 else
15650 ac_fdsections=no
15652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15653 if test "$ac_test_CXXFLAGS" = set; then
15654 CXXFLAGS="$ac_save_CXXFLAGS"
15655 else
15656 # this is the suspicious part
15657 CXXFLAGS=''
15659 if test x"$ac_fdsections" = x"yes"; then
15660 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15663 $as_echo "$ac_fdsections" >&6; }
15665 ac_ext=c
15666 ac_cpp='$CPP $CPPFLAGS'
15667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15675 # Enable all the variable C++ runtime options that don't require linking.
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15678 $as_echo_n "checking for underlying I/O to use... " >&6; }
15679 # Check whether --enable-cstdio was given.
15680 if test "${enable_cstdio+set}" = set; then :
15681 enableval=$enable_cstdio;
15682 case "$enableval" in
15683 stdio) ;;
15684 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15685 esac
15687 else
15688 enable_cstdio=stdio
15693 # Now that libio has been removed, you can have any color you want as long
15694 # as it's black. This is one big no-op until other packages are added, but
15695 # showing the framework never hurts.
15696 case ${enable_cstdio} in
15697 stdio)
15698 CSTDIO_H=config/io/c_io_stdio.h
15699 BASIC_FILE_H=config/io/basic_file_stdio.h
15700 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15702 $as_echo "stdio" >&6; }
15704 esac
15711 # Check whether --enable-clocale was given.
15712 if test "${enable_clocale+set}" = set; then :
15713 enableval=$enable_clocale;
15714 case "$enableval" in
15715 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15716 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15717 esac
15719 else
15720 enable_clocale=auto
15725 # Deal with gettext issues. Default to not using it (=no) until we detect
15726 # support for it later. Let the user turn it off via --e/d, but let that
15727 # default to on for easier handling.
15728 USE_NLS=no
15729 # Check whether --enable-nls was given.
15730 if test "${enable_nls+set}" = set; then :
15731 enableval=$enable_nls;
15732 else
15733 enable_nls=yes
15737 # Either a known package, or "auto"
15738 if test $enable_clocale = no || test $enable_clocale = yes; then
15739 enable_clocale=auto
15741 enable_clocale_flag=$enable_clocale
15743 # Probe for locale model to use if none specified.
15744 # Default to "generic".
15745 if test $enable_clocale_flag = auto; then
15746 case ${target_os} in
15747 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15748 enable_clocale_flag=gnu
15750 darwin* | freebsd*)
15751 enable_clocale_flag=darwin
15754 if test x"$with_newlib" = x"yes"; then
15755 enable_clocale_flag=newlib
15756 else
15757 enable_clocale_flag=generic
15760 esac
15763 # Sanity check model, and test for special functionality.
15764 if test $enable_clocale_flag = gnu; then
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15768 #include <features.h>
15769 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15770 _GLIBCXX_ok
15771 #endif
15773 _ACEOF
15774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15775 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15776 enable_clocale_flag=gnu
15777 else
15778 enable_clocale_flag=generic
15780 rm -f conftest*
15783 # Set it to scream when it hurts.
15784 ac_save_CFLAGS="$CFLAGS"
15785 CFLAGS="-Wimplicit-function-declaration -Werror"
15787 # Use strxfrm_l if available.
15788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15789 /* end confdefs.h. */
15790 #define _GNU_SOURCE 1
15791 #include <string.h>
15792 #include <locale.h>
15794 main ()
15796 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15798 return 0;
15800 _ACEOF
15801 if ac_fn_c_try_compile "$LINENO"; then :
15803 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15808 # Use strerror_l if available.
15809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15811 #define _GNU_SOURCE 1
15812 #include <string.h>
15813 #include <locale.h>
15815 main ()
15817 __locale_t loc; strerror_l(5, loc);
15819 return 0;
15821 _ACEOF
15822 if ac_fn_c_try_compile "$LINENO"; then :
15824 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15829 CFLAGS="$ac_save_CFLAGS"
15832 # Perhaps use strerror_r if available, and strerror_l isn't.
15833 ac_save_CFLAGS="$CFLAGS"
15834 CFLAGS="-Wimplicit-function-declaration -Werror"
15835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15837 #define _GNU_SOURCE 1
15838 #include <string.h>
15839 #include <locale.h>
15841 main ()
15843 char s[128]; strerror_r(5, s, 128);
15845 return 0;
15847 _ACEOF
15848 if ac_fn_c_try_compile "$LINENO"; then :
15850 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15854 CFLAGS="$ac_save_CFLAGS"
15856 # Set configure bits for specified locale package
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15858 $as_echo_n "checking for C locale to use... " >&6; }
15859 case ${enable_clocale_flag} in
15860 generic)
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15862 $as_echo "generic" >&6; }
15864 CLOCALE_H=config/locale/generic/c_locale.h
15865 CLOCALE_CC=config/locale/generic/c_locale.cc
15866 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15867 CCOLLATE_CC=config/locale/generic/collate_members.cc
15868 CCTYPE_CC=config/locale/generic/ctype_members.cc
15869 CMESSAGES_H=config/locale/generic/messages_members.h
15870 CMESSAGES_CC=config/locale/generic/messages_members.cc
15871 CMONEY_CC=config/locale/generic/monetary_members.cc
15872 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15873 CTIME_H=config/locale/generic/time_members.h
15874 CTIME_CC=config/locale/generic/time_members.cc
15875 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15877 darwin)
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15879 $as_echo "darwin or freebsd" >&6; }
15881 CLOCALE_H=config/locale/generic/c_locale.h
15882 CLOCALE_CC=config/locale/generic/c_locale.cc
15883 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15884 CCOLLATE_CC=config/locale/generic/collate_members.cc
15885 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15886 CMESSAGES_H=config/locale/generic/messages_members.h
15887 CMESSAGES_CC=config/locale/generic/messages_members.cc
15888 CMONEY_CC=config/locale/generic/monetary_members.cc
15889 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15890 CTIME_H=config/locale/generic/time_members.h
15891 CTIME_CC=config/locale/generic/time_members.cc
15892 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15895 gnu)
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15897 $as_echo "gnu" >&6; }
15899 # Declare intention to use gettext, and add support for specific
15900 # languages.
15901 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15902 ALL_LINGUAS="de fr"
15904 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15905 # Extract the first word of "msgfmt", so it can be a program name with args.
15906 set dummy msgfmt; ac_word=$2
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15908 $as_echo_n "checking for $ac_word... " >&6; }
15909 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15910 $as_echo_n "(cached) " >&6
15911 else
15912 if test -n "$check_msgfmt"; then
15913 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15914 else
15915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15916 for as_dir in $PATH
15918 IFS=$as_save_IFS
15919 test -z "$as_dir" && as_dir=.
15920 for ac_exec_ext in '' $ac_executable_extensions; do
15921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15922 ac_cv_prog_check_msgfmt="yes"
15923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15924 break 2
15926 done
15927 done
15928 IFS=$as_save_IFS
15930 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15933 check_msgfmt=$ac_cv_prog_check_msgfmt
15934 if test -n "$check_msgfmt"; then
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15936 $as_echo "$check_msgfmt" >&6; }
15937 else
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15939 $as_echo "no" >&6; }
15943 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15944 USE_NLS=yes
15946 # Export the build objects.
15947 for ling in $ALL_LINGUAS; do \
15948 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15949 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15950 done
15954 CLOCALE_H=config/locale/gnu/c_locale.h
15955 CLOCALE_CC=config/locale/gnu/c_locale.cc
15956 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15957 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15958 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15959 CMESSAGES_H=config/locale/gnu/messages_members.h
15960 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15961 CMONEY_CC=config/locale/gnu/monetary_members.cc
15962 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15963 CTIME_H=config/locale/gnu/time_members.h
15964 CTIME_CC=config/locale/gnu/time_members.cc
15965 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15967 ieee_1003.1-2001)
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15969 $as_echo "IEEE 1003.1" >&6; }
15971 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15972 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15973 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15974 CCOLLATE_CC=config/locale/generic/collate_members.cc
15975 CCTYPE_CC=config/locale/generic/ctype_members.cc
15976 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15977 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15978 CMONEY_CC=config/locale/generic/monetary_members.cc
15979 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15980 CTIME_H=config/locale/generic/time_members.h
15981 CTIME_CC=config/locale/generic/time_members.cc
15982 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15984 newlib)
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15986 $as_echo "newlib" >&6; }
15988 CLOCALE_H=config/locale/generic/c_locale.h
15989 CLOCALE_CC=config/locale/generic/c_locale.cc
15990 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15991 CCOLLATE_CC=config/locale/generic/collate_members.cc
15992 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15993 CMESSAGES_H=config/locale/generic/messages_members.h
15994 CMESSAGES_CC=config/locale/generic/messages_members.cc
15995 CMONEY_CC=config/locale/generic/monetary_members.cc
15996 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15997 CTIME_H=config/locale/generic/time_members.h
15998 CTIME_CC=config/locale/generic/time_members.cc
15999 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16001 esac
16003 # This is where the testsuite looks for locale catalogs, using the
16004 # -DLOCALEDIR define during testsuite compilation.
16005 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16008 # A standalone libintl (e.g., GNU libintl) may be in use.
16009 if test $USE_NLS = yes; then
16010 for ac_header in libintl.h
16011 do :
16012 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16013 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_LIBINTL_H 1
16016 _ACEOF
16018 else
16019 USE_NLS=no
16022 done
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16025 $as_echo_n "checking for library containing gettext... " >&6; }
16026 if test "${ac_cv_search_gettext+set}" = set; then :
16027 $as_echo_n "(cached) " >&6
16028 else
16029 ac_func_search_save_LIBS=$LIBS
16030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16031 /* end confdefs.h. */
16033 /* Override any GCC internal prototype to avoid an error.
16034 Use char because int might match the return type of a GCC
16035 builtin and then its argument prototype would still apply. */
16036 #ifdef __cplusplus
16037 extern "C"
16038 #endif
16039 char gettext ();
16041 main ()
16043 return gettext ();
16045 return 0;
16047 _ACEOF
16048 for ac_lib in '' intl; do
16049 if test -z "$ac_lib"; then
16050 ac_res="none required"
16051 else
16052 ac_res=-l$ac_lib
16053 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16055 if test x$gcc_no_link = xyes; then
16056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16058 if ac_fn_c_try_link "$LINENO"; then :
16059 ac_cv_search_gettext=$ac_res
16061 rm -f core conftest.err conftest.$ac_objext \
16062 conftest$ac_exeext
16063 if test "${ac_cv_search_gettext+set}" = set; then :
16064 break
16066 done
16067 if test "${ac_cv_search_gettext+set}" = set; then :
16069 else
16070 ac_cv_search_gettext=no
16072 rm conftest.$ac_ext
16073 LIBS=$ac_func_search_save_LIBS
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16076 $as_echo "$ac_cv_search_gettext" >&6; }
16077 ac_res=$ac_cv_search_gettext
16078 if test "$ac_res" != no; then :
16079 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16081 else
16082 USE_NLS=no
16086 if test $USE_NLS = yes; then
16088 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16108 $as_echo_n "checking for std::allocator base class... " >&6; }
16109 # Check whether --enable-libstdcxx-allocator was given.
16110 if test "${enable_libstdcxx_allocator+set}" = set; then :
16111 enableval=$enable_libstdcxx_allocator;
16112 case "$enableval" in
16113 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16114 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16115 esac
16117 else
16118 enable_libstdcxx_allocator=auto
16123 # If they didn't use this option switch, or if they specified --enable
16124 # with no specific model, we'll have to look for one. If they
16125 # specified --disable (???), do likewise.
16126 if test $enable_libstdcxx_allocator = no ||
16127 test $enable_libstdcxx_allocator = yes;
16128 then
16129 enable_libstdcxx_allocator=auto
16132 # Either a known package, or "auto". Auto implies the default choice
16133 # for a particular platform.
16134 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16136 # Probe for host-specific support if no specific model is specified.
16137 # Default to "new".
16138 if test $enable_libstdcxx_allocator_flag = auto; then
16139 case ${target_os} in
16140 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16141 enable_libstdcxx_allocator_flag=new
16144 enable_libstdcxx_allocator_flag=new
16146 esac
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16149 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16152 # Set configure bits for specified locale package
16153 case ${enable_libstdcxx_allocator_flag} in
16154 bitmap)
16155 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16156 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16158 malloc)
16159 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16160 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16163 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16164 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16166 new)
16167 ALLOCATOR_H=config/allocator/new_allocator_base.h
16168 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16170 pool)
16171 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16172 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16174 esac
16180 # Check whether --enable-cheaders was given.
16181 if test "${enable_cheaders+set}" = set; then :
16182 enableval=$enable_cheaders;
16183 case "$enableval" in
16184 c|c_std|c_global) ;;
16185 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16186 esac
16188 else
16189 enable_cheaders=$c_model
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16194 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16196 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16198 # Allow overrides to configure.host here.
16199 if test $enable_cheaders = c_global; then
16200 c_compatibility=yes
16209 # Check whether --enable-long-long was given.
16210 if test "${enable_long_long+set}" = set; then :
16211 enableval=$enable_long_long;
16212 case "$enableval" in
16213 yes|no) ;;
16214 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16215 esac
16217 else
16218 enable_long_long=yes
16222 if test $enable_long_long = yes; then
16224 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16228 $as_echo_n "checking for enabled long long specializations... " >&6; }
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16230 $as_echo "$enable_long_long" >&6; }
16233 # Check whether --enable-wchar_t was given.
16234 if test "${enable_wchar_t+set}" = set; then :
16235 enableval=$enable_wchar_t;
16236 case "$enableval" in
16237 yes|no) ;;
16238 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16239 esac
16241 else
16242 enable_wchar_t=yes
16247 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16248 for ac_header in wchar.h
16249 do :
16250 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16251 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16252 cat >>confdefs.h <<_ACEOF
16253 #define HAVE_WCHAR_H 1
16254 _ACEOF
16255 ac_has_wchar_h=yes
16256 else
16257 ac_has_wchar_h=no
16260 done
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16263 $as_echo_n "checking for mbstate_t... " >&6; }
16264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16265 /* end confdefs.h. */
16266 #include <wchar.h>
16268 main ()
16270 mbstate_t teststate;
16272 return 0;
16274 _ACEOF
16275 if ac_fn_c_try_compile "$LINENO"; then :
16276 have_mbstate_t=yes
16277 else
16278 have_mbstate_t=no
16280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16282 $as_echo "$have_mbstate_t" >&6; }
16283 if test x"$have_mbstate_t" = xyes; then
16285 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16289 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16290 # ac_has_wchar_h.
16291 for ac_header in wctype.h
16292 do :
16293 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16294 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_WCTYPE_H 1
16297 _ACEOF
16298 ac_has_wctype_h=yes
16299 else
16300 ac_has_wctype_h=no
16303 done
16306 if test x"$enable_wchar_t" = x"yes"; then
16309 ac_ext=cpp
16310 ac_cpp='$CXXCPP $CPPFLAGS'
16311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16316 if test x"$ac_has_wchar_h" = xyes &&
16317 test x"$ac_has_wctype_h" = xyes; then
16318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16319 /* end confdefs.h. */
16320 #include <wchar.h>
16321 #include <stddef.h>
16322 wint_t i;
16323 long l = WEOF;
16324 long j = WCHAR_MIN;
16325 long k = WCHAR_MAX;
16326 namespace test
16328 using ::btowc;
16329 using ::fgetwc;
16330 using ::fgetws;
16331 using ::fputwc;
16332 using ::fputws;
16333 using ::fwide;
16334 using ::fwprintf;
16335 using ::fwscanf;
16336 using ::getwc;
16337 using ::getwchar;
16338 using ::mbrlen;
16339 using ::mbrtowc;
16340 using ::mbsinit;
16341 using ::mbsrtowcs;
16342 using ::putwc;
16343 using ::putwchar;
16344 using ::swprintf;
16345 using ::swscanf;
16346 using ::ungetwc;
16347 using ::vfwprintf;
16348 using ::vswprintf;
16349 using ::vwprintf;
16350 using ::wcrtomb;
16351 using ::wcscat;
16352 using ::wcschr;
16353 using ::wcscmp;
16354 using ::wcscoll;
16355 using ::wcscpy;
16356 using ::wcscspn;
16357 using ::wcsftime;
16358 using ::wcslen;
16359 using ::wcsncat;
16360 using ::wcsncmp;
16361 using ::wcsncpy;
16362 using ::wcspbrk;
16363 using ::wcsrchr;
16364 using ::wcsrtombs;
16365 using ::wcsspn;
16366 using ::wcsstr;
16367 using ::wcstod;
16368 using ::wcstok;
16369 using ::wcstol;
16370 using ::wcstoul;
16371 using ::wcsxfrm;
16372 using ::wctob;
16373 using ::wmemchr;
16374 using ::wmemcmp;
16375 using ::wmemcpy;
16376 using ::wmemmove;
16377 using ::wmemset;
16378 using ::wprintf;
16379 using ::wscanf;
16383 main ()
16387 return 0;
16389 _ACEOF
16390 if ac_fn_cxx_try_compile "$LINENO"; then :
16392 else
16393 enable_wchar_t=no
16395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16396 else
16397 enable_wchar_t=no
16400 ac_ext=c
16401 ac_cpp='$CPP $CPPFLAGS'
16402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16408 if test x"$enable_wchar_t" = x"yes"; then
16410 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16415 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16417 $as_echo "$enable_wchar_t" >&6; }
16421 # Check whether --enable-c99 was given.
16422 if test "${enable_c99+set}" = set; then :
16423 enableval=$enable_c99;
16424 case "$enableval" in
16425 yes|no) ;;
16426 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16427 esac
16429 else
16430 enable_c99=yes
16435 if test x"$enable_c99" = x"yes"; then
16438 ac_ext=cpp
16439 ac_cpp='$CXXCPP $CPPFLAGS'
16440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16445 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16446 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16447 # spuriously enabled.
16448 # Long term, -std=c++0x could be even better, could manage to explicitely
16449 # request C99 facilities to the underlying C headers.
16450 ac_save_CXXFLAGS="$CXXFLAGS"
16451 CXXFLAGS="$CXXFLAGS -std=c++98"
16452 ac_save_LIBS="$LIBS"
16453 ac_save_gcc_no_link="$gcc_no_link"
16455 if test x$gcc_no_link != xyes; then
16456 # Use -fno-exceptions to that the C driver can link these tests without
16457 # hitting undefined references to personality routines.
16458 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16460 $as_echo_n "checking for sin in -lm... " >&6; }
16461 if test "${ac_cv_lib_m_sin+set}" = set; then :
16462 $as_echo_n "(cached) " >&6
16463 else
16464 ac_check_lib_save_LIBS=$LIBS
16465 LIBS="-lm $LIBS"
16466 if test x$gcc_no_link = xyes; then
16467 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16470 /* end confdefs.h. */
16472 /* Override any GCC internal prototype to avoid an error.
16473 Use char because int might match the return type of a GCC
16474 builtin and then its argument prototype would still apply. */
16475 #ifdef __cplusplus
16476 extern "C"
16477 #endif
16478 char sin ();
16480 main ()
16482 return sin ();
16484 return 0;
16486 _ACEOF
16487 if ac_fn_cxx_try_link "$LINENO"; then :
16488 ac_cv_lib_m_sin=yes
16489 else
16490 ac_cv_lib_m_sin=no
16492 rm -f core conftest.err conftest.$ac_objext \
16493 conftest$ac_exeext conftest.$ac_ext
16494 LIBS=$ac_check_lib_save_LIBS
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16497 $as_echo "$ac_cv_lib_m_sin" >&6; }
16498 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16500 LIBS="$LIBS -lm"
16502 else
16504 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16505 gcc_no_link=yes
16511 # Check for the existence of <math.h> functions used if C99 is enabled.
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16513 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16514 if test "${glibcxx_cv_c99_math+set}" = set; then :
16515 $as_echo_n "(cached) " >&6
16516 else
16518 if test x$gcc_no_link = xyes; then
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 #include <math.h>
16522 volatile double d1, d2;
16523 volatile int i;
16525 main ()
16527 i = fpclassify(d1);
16528 i = isfinite(d1);
16529 i = isinf(d1);
16530 i = isnan(d1);
16531 i = isnormal(d1);
16532 i = signbit(d1);
16533 i = isgreater(d1, d2);
16534 i = isgreaterequal(d1, d2);
16535 i = isless(d1, d2);
16536 i = islessequal(d1, d2);
16537 i = islessgreater(d1, d2);
16538 i = islessgreater(d1, d2);
16539 i = isunordered(d1, d2);
16542 return 0;
16544 _ACEOF
16545 if ac_fn_cxx_try_compile "$LINENO"; then :
16546 glibcxx_cv_c99_math=yes
16547 else
16548 glibcxx_cv_c99_math=no
16550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16551 else
16552 if test x$gcc_no_link = xyes; then
16553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16557 #include <math.h>
16558 volatile double d1, d2;
16559 volatile int i;
16561 main ()
16563 i = fpclassify(d1);
16564 i = isfinite(d1);
16565 i = isinf(d1);
16566 i = isnan(d1);
16567 i = isnormal(d1);
16568 i = signbit(d1);
16569 i = isgreater(d1, d2);
16570 i = isgreaterequal(d1, d2);
16571 i = isless(d1, d2);
16572 i = islessequal(d1, d2);
16573 i = islessgreater(d1, d2);
16574 i = islessgreater(d1, d2);
16575 i = isunordered(d1, d2);
16578 return 0;
16580 _ACEOF
16581 if ac_fn_cxx_try_link "$LINENO"; then :
16582 glibcxx_cv_c99_math=yes
16583 else
16584 glibcxx_cv_c99_math=no
16586 rm -f core conftest.err conftest.$ac_objext \
16587 conftest$ac_exeext conftest.$ac_ext
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16593 $as_echo "$glibcxx_cv_c99_math" >&6; }
16594 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16596 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16600 # Check for the existence of <complex.h> complex math functions.
16601 # This is necessary even though libstdc++ uses the builtin versions
16602 # of these functions, because if the builtin cannot be used, a reference
16603 # to the library function is emitted.
16604 for ac_header in tgmath.h
16605 do :
16606 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16607 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16608 cat >>confdefs.h <<_ACEOF
16609 #define HAVE_TGMATH_H 1
16610 _ACEOF
16611 ac_has_tgmath_h=yes
16612 else
16613 ac_has_tgmath_h=no
16616 done
16618 for ac_header in complex.h
16619 do :
16620 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16621 if test "x$ac_cv_header_complex_h" = x""yes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_COMPLEX_H 1
16624 _ACEOF
16625 ac_has_complex_h=yes
16626 else
16627 ac_has_complex_h=no
16630 done
16632 glibcxx_cv_c99_complex=no;
16633 if test x"$ac_has_complex_h" = x"yes"; then
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16635 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16636 if test x$gcc_no_link = xyes; then
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16639 #include <complex.h>
16640 typedef __complex__ float float_type;
16641 typedef __complex__ double double_type;
16642 typedef __complex__ long double ld_type;
16643 volatile float_type tmpf;
16644 volatile double_type tmpd;
16645 volatile ld_type tmpld;
16646 volatile float f;
16647 volatile double d;
16648 volatile long double ld;
16650 main ()
16652 f = cabsf(tmpf);
16653 f = cargf(tmpf);
16654 tmpf = ccosf(tmpf);
16655 tmpf = ccoshf(tmpf);
16656 tmpf = cexpf(tmpf);
16657 tmpf = clogf(tmpf);
16658 tmpf = csinf(tmpf);
16659 tmpf = csinhf(tmpf);
16660 tmpf = csqrtf(tmpf);
16661 tmpf = ctanf(tmpf);
16662 tmpf = ctanhf(tmpf);
16663 tmpf = cpowf(tmpf, tmpf);
16664 tmpf = cprojf(tmpf);
16665 d = cabs(tmpd);
16666 d = carg(tmpd);
16667 tmpd = ccos(tmpd);
16668 tmpd = ccosh(tmpd);
16669 tmpd = cexp(tmpd);
16670 tmpd = clog(tmpd);
16671 tmpd = csin(tmpd);
16672 tmpd = csinh(tmpd);
16673 tmpd = csqrt(tmpd);
16674 tmpd = ctan(tmpd);
16675 tmpd = ctanh(tmpd);
16676 tmpd = cpow(tmpd, tmpd);
16677 tmpd = cproj(tmpd);
16678 ld = cabsl(tmpld);
16679 ld = cargl(tmpld);
16680 tmpld = ccosl(tmpld);
16681 tmpld = ccoshl(tmpld);
16682 tmpld = cexpl(tmpld);
16683 tmpld = clogl(tmpld);
16684 tmpld = csinl(tmpld);
16685 tmpld = csinhl(tmpld);
16686 tmpld = csqrtl(tmpld);
16687 tmpld = ctanl(tmpld);
16688 tmpld = ctanhl(tmpld);
16689 tmpld = cpowl(tmpld, tmpld);
16690 tmpld = cprojl(tmpld);
16693 return 0;
16695 _ACEOF
16696 if ac_fn_cxx_try_compile "$LINENO"; then :
16697 glibcxx_cv_c99_complex=yes
16698 else
16699 glibcxx_cv_c99_complex=no
16701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16702 else
16703 if test x$gcc_no_link = xyes; then
16704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16708 #include <complex.h>
16709 typedef __complex__ float float_type;
16710 typedef __complex__ double double_type;
16711 typedef __complex__ long double ld_type;
16712 volatile float_type tmpf;
16713 volatile double_type tmpd;
16714 volatile ld_type tmpld;
16715 volatile float f;
16716 volatile double d;
16717 volatile long double ld;
16719 main ()
16721 f = cabsf(tmpf);
16722 f = cargf(tmpf);
16723 tmpf = ccosf(tmpf);
16724 tmpf = ccoshf(tmpf);
16725 tmpf = cexpf(tmpf);
16726 tmpf = clogf(tmpf);
16727 tmpf = csinf(tmpf);
16728 tmpf = csinhf(tmpf);
16729 tmpf = csqrtf(tmpf);
16730 tmpf = ctanf(tmpf);
16731 tmpf = ctanhf(tmpf);
16732 tmpf = cpowf(tmpf, tmpf);
16733 tmpf = cprojf(tmpf);
16734 d = cabs(tmpd);
16735 d = carg(tmpd);
16736 tmpd = ccos(tmpd);
16737 tmpd = ccosh(tmpd);
16738 tmpd = cexp(tmpd);
16739 tmpd = clog(tmpd);
16740 tmpd = csin(tmpd);
16741 tmpd = csinh(tmpd);
16742 tmpd = csqrt(tmpd);
16743 tmpd = ctan(tmpd);
16744 tmpd = ctanh(tmpd);
16745 tmpd = cpow(tmpd, tmpd);
16746 tmpd = cproj(tmpd);
16747 ld = cabsl(tmpld);
16748 ld = cargl(tmpld);
16749 tmpld = ccosl(tmpld);
16750 tmpld = ccoshl(tmpld);
16751 tmpld = cexpl(tmpld);
16752 tmpld = clogl(tmpld);
16753 tmpld = csinl(tmpld);
16754 tmpld = csinhl(tmpld);
16755 tmpld = csqrtl(tmpld);
16756 tmpld = ctanl(tmpld);
16757 tmpld = ctanhl(tmpld);
16758 tmpld = cpowl(tmpld, tmpld);
16759 tmpld = cprojl(tmpld);
16762 return 0;
16764 _ACEOF
16765 if ac_fn_cxx_try_link "$LINENO"; then :
16766 glibcxx_cv_c99_complex=yes
16767 else
16768 glibcxx_cv_c99_complex=no
16770 rm -f core conftest.err conftest.$ac_objext \
16771 conftest$ac_exeext conftest.$ac_ext
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16775 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16776 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16778 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16782 # Check for the existence in <stdio.h> of vscanf, et. al.
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16784 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16785 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16786 $as_echo_n "(cached) " >&6
16787 else
16789 if test x$gcc_no_link = xyes; then
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h. */
16792 #include <stdio.h>
16793 #include <stdarg.h>
16794 void foo(char* fmt, ...)
16796 va_list args; va_start(args, fmt);
16797 vfscanf(stderr, "%i", args);
16798 vscanf("%i", args);
16799 vsnprintf(fmt, 0, "%i", args);
16800 vsscanf(fmt, "%i", args);
16803 main ()
16805 snprintf("12", 0, "%i");
16807 return 0;
16809 _ACEOF
16810 if ac_fn_cxx_try_compile "$LINENO"; then :
16811 glibcxx_cv_c99_stdio=yes
16812 else
16813 glibcxx_cv_c99_stdio=no
16815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16816 else
16817 if test x$gcc_no_link = xyes; then
16818 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16822 #include <stdio.h>
16823 #include <stdarg.h>
16824 void foo(char* fmt, ...)
16826 va_list args; va_start(args, fmt);
16827 vfscanf(stderr, "%i", args);
16828 vscanf("%i", args);
16829 vsnprintf(fmt, 0, "%i", args);
16830 vsscanf(fmt, "%i", args);
16833 main ()
16835 snprintf("12", 0, "%i");
16837 return 0;
16839 _ACEOF
16840 if ac_fn_cxx_try_link "$LINENO"; then :
16841 glibcxx_cv_c99_stdio=yes
16842 else
16843 glibcxx_cv_c99_stdio=no
16845 rm -f core conftest.err conftest.$ac_objext \
16846 conftest$ac_exeext conftest.$ac_ext
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16852 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16854 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16856 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16857 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16858 $as_echo_n "(cached) " >&6
16859 else
16861 if test x$gcc_no_link = xyes; then
16862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16864 #include <stdlib.h>
16865 volatile float f;
16866 volatile long double ld;
16867 volatile unsigned long long ll;
16868 lldiv_t mydivt;
16870 main ()
16872 char* tmp;
16873 f = strtof("gnu", &tmp);
16874 ld = strtold("gnu", &tmp);
16875 ll = strtoll("gnu", &tmp, 10);
16876 ll = strtoull("gnu", &tmp, 10);
16877 ll = llabs(10);
16878 mydivt = lldiv(10,1);
16879 ll = mydivt.quot;
16880 ll = mydivt.rem;
16881 ll = atoll("10");
16882 _Exit(0);
16885 return 0;
16887 _ACEOF
16888 if ac_fn_cxx_try_compile "$LINENO"; then :
16889 glibcxx_cv_c99_stdlib=yes
16890 else
16891 glibcxx_cv_c99_stdlib=no
16893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16894 else
16895 if test x$gcc_no_link = xyes; then
16896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 #include <stdlib.h>
16901 volatile float f;
16902 volatile long double ld;
16903 volatile unsigned long long ll;
16904 lldiv_t mydivt;
16906 main ()
16908 char* tmp;
16909 f = strtof("gnu", &tmp);
16910 ld = strtold("gnu", &tmp);
16911 ll = strtoll("gnu", &tmp, 10);
16912 ll = strtoull("gnu", &tmp, 10);
16913 ll = llabs(10);
16914 mydivt = lldiv(10,1);
16915 ll = mydivt.quot;
16916 ll = mydivt.rem;
16917 ll = atoll("10");
16918 _Exit(0);
16921 return 0;
16923 _ACEOF
16924 if ac_fn_cxx_try_link "$LINENO"; then :
16925 glibcxx_cv_c99_stdlib=yes
16926 else
16927 glibcxx_cv_c99_stdlib=no
16929 rm -f core conftest.err conftest.$ac_objext \
16930 conftest$ac_exeext conftest.$ac_ext
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16936 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16938 # Check for the existence in <wchar.h> of wcstold, etc.
16939 glibcxx_cv_c99_wchar=no;
16940 if test x"$ac_has_wchar_h" = xyes &&
16941 test x"$ac_has_wctype_h" = xyes; then
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16943 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <wchar.h>
16947 namespace test
16949 using ::wcstold;
16950 using ::wcstoll;
16951 using ::wcstoull;
16955 main ()
16959 return 0;
16961 _ACEOF
16962 if ac_fn_cxx_try_compile "$LINENO"; then :
16963 glibcxx_cv_c99_wchar=yes
16964 else
16965 glibcxx_cv_c99_wchar=no
16967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16969 # Checks for wide character functions that may not be present.
16970 # Injection of these is wrapped with guard macros.
16971 # NB: only put functions here, instead of immediately above, if
16972 # absolutely necessary.
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #include <wchar.h>
16976 namespace test { using ::vfwscanf; }
16978 main ()
16982 return 0;
16984 _ACEOF
16985 if ac_fn_cxx_try_compile "$LINENO"; then :
16987 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #include <wchar.h>
16995 namespace test { using ::vswscanf; }
16997 main ()
17001 return 0;
17003 _ACEOF
17004 if ac_fn_cxx_try_compile "$LINENO"; then :
17006 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 #include <wchar.h>
17014 namespace test { using ::vwscanf; }
17016 main ()
17020 return 0;
17022 _ACEOF
17023 if ac_fn_cxx_try_compile "$LINENO"; then :
17025 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #include <wchar.h>
17033 namespace test { using ::wcstof; }
17035 main ()
17039 return 0;
17041 _ACEOF
17042 if ac_fn_cxx_try_compile "$LINENO"; then :
17044 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17051 #include <wctype.h>
17053 main ()
17055 wint_t t; int i = iswblank(t);
17057 return 0;
17059 _ACEOF
17060 if ac_fn_cxx_try_compile "$LINENO"; then :
17062 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17068 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17071 # Option parsed, now set things appropriately.
17072 if test x"$glibcxx_cv_c99_math" = x"no" ||
17073 test x"$glibcxx_cv_c99_complex" = x"no" ||
17074 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17075 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17076 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17077 enable_c99=no;
17078 else
17080 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17084 gcc_no_link="$ac_save_gcc_no_link"
17085 LIBS="$ac_save_LIBS"
17086 CXXFLAGS="$ac_save_CXXFLAGS"
17087 ac_ext=c
17088 ac_cpp='$CPP $CPPFLAGS'
17089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17096 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17098 $as_echo "$enable_c99" >&6; }
17101 # Check whether --enable-concept-checks was given.
17102 if test "${enable_concept_checks+set}" = set; then :
17103 enableval=$enable_concept_checks;
17104 case "$enableval" in
17105 yes|no) ;;
17106 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17107 esac
17109 else
17110 enable_concept_checks=no
17114 if test $enable_concept_checks = yes; then
17116 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17121 # Check whether --enable-libstdcxx-debug-flags was given.
17122 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17123 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17124 xno | x) enable_libstdcxx_debug_flags= ;;
17125 x-*) ;;
17126 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17127 esac
17128 else
17129 enable_libstdcxx_debug_flags="-g3 -O0"
17134 # Option parsed, now set things appropriately
17135 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17139 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17143 $as_echo_n "checking for additional debug build... " >&6; }
17144 # Check whether --enable-libstdcxx-debug was given.
17145 if test "${enable_libstdcxx_debug+set}" = set; then :
17146 enableval=$enable_libstdcxx_debug;
17147 case "$enableval" in
17148 yes|no) ;;
17149 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17150 esac
17152 else
17153 enable_libstdcxx_debug=no
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17158 $as_echo "$enable_libstdcxx_debug" >&6; }
17163 enable_parallel=no;
17165 # See if configured libgomp/omp.h exists. (libgomp may be in
17166 # noconfigdirs but not explicitly disabled.)
17167 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17168 enable_parallel=yes;
17169 else
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17171 $as_echo "$as_me: target-libgomp not built" >&6;}
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17175 $as_echo_n "checking for parallel mode support... " >&6; }
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17177 $as_echo "$enable_parallel" >&6; }
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17181 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17182 # Check whether --enable-cxx-flags was given.
17183 if test "${enable_cxx_flags+set}" = set; then :
17184 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17185 xno | x) enable_cxx_flags= ;;
17186 x-*) ;;
17187 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17188 esac
17189 else
17190 enable_cxx_flags=
17195 # Run through flags (either default or command-line) and set anything
17196 # extra (e.g., #defines) that must accompany particular g++ options.
17197 if test -n "$enable_cxx_flags"; then
17198 for f in $enable_cxx_flags; do
17199 case "$f" in
17200 -fhonor-std) ;;
17201 -*) ;;
17202 *) # and we're trying to pass /what/ exactly?
17203 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17204 esac
17205 done
17208 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17210 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17214 # Check whether --enable-fully-dynamic-string was given.
17215 if test "${enable_fully_dynamic_string+set}" = set; then :
17216 enableval=$enable_fully_dynamic_string;
17217 case "$enableval" in
17218 yes|no) ;;
17219 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17220 esac
17222 else
17223 enable_fully_dynamic_string=no
17227 if test $enable_fully_dynamic_string = yes; then
17228 enable_fully_dynamic_string_def=1
17229 else
17230 enable_fully_dynamic_string_def=0
17233 cat >>confdefs.h <<_ACEOF
17234 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17235 _ACEOF
17240 # Check whether --enable-extern-template was given.
17241 if test "${enable_extern_template+set}" = set; then :
17242 enableval=$enable_extern_template;
17243 case "$enableval" in
17244 yes|no) ;;
17245 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17246 esac
17248 else
17249 enable_extern_template=yes
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17255 $as_echo_n "checking for extern template support... " >&6; }
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17257 $as_echo "$enable_extern_template" >&6; }
17262 # Checks for operating systems support that doesn't require linking.
17266 ac_ext=cpp
17267 ac_cpp='$CXXCPP $CPPFLAGS'
17268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17273 case "$host" in
17274 *-*-solaris2.*)
17275 # Solaris 8 FCS only had an overload for double std::abs(double) in
17276 # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
17277 # introduced the full set also found from Solaris 9 onwards.
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17279 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17280 if test "${glibcxx_cv_abs_float+set}" = set; then :
17281 $as_echo_n "(cached) " >&6
17282 else
17284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h. */
17286 #include <math.h>
17287 namespace std {
17288 inline float abs(float __x)
17289 { return __builtin_fabsf(__x); }
17292 _ACEOF
17293 if ac_fn_cxx_try_compile "$LINENO"; then :
17294 glibcxx_cv_abs_float=no
17295 else
17296 glibcxx_cv_abs_float=yes
17299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17303 # autoheader cannot handle indented templates.
17307 if test $glibcxx_cv_abs_float = yes; then
17308 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17310 else
17311 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17315 $as_echo "$glibcxx_cv_abs_float" >&6; }
17317 esac
17319 ac_ext=c
17320 ac_cpp='$CPP $CPPFLAGS'
17321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17329 ac_ext=cpp
17330 ac_cpp='$CXXCPP $CPPFLAGS'
17331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17336 case "$host" in
17337 *-*-solaris2.*)
17338 # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17339 # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
17340 # (SPARC) and 109608-02 (x86) introduced them.
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17342 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17343 if test "${glibcxx_cv_abs_long+set}" = set; then :
17344 $as_echo_n "(cached) " >&6
17345 else
17347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17349 #include <stdlib.h>
17350 namespace std {
17351 inline long
17352 abs(long __i) { return labs(__i); }
17355 _ACEOF
17356 if ac_fn_cxx_try_compile "$LINENO"; then :
17357 glibcxx_cv_abs_long=no
17358 else
17359 glibcxx_cv_abs_long=yes
17362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17366 # autoheader cannot handle indented templates.
17368 if test $glibcxx_cv_abs_long = yes; then
17369 $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17373 $as_echo "$glibcxx_cv_abs_long" >&6; }
17375 esac
17377 ac_ext=c
17378 ac_cpp='$CPP $CPPFLAGS'
17379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17387 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17388 if test "${glibcxx_cv_system_error1+set}" = set; then :
17389 $as_echo_n "(cached) " >&6
17390 else
17392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17394 #include <errno.h>
17396 main ()
17398 int i = EOWNERDEAD;
17400 return 0;
17402 _ACEOF
17403 if ac_fn_c_try_compile "$LINENO"; then :
17404 glibcxx_cv_system_error1=yes
17405 else
17406 glibcxx_cv_system_error1=no
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17413 $as_echo "$glibcxx_cv_system_error1" >&6; }
17414 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17416 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17420 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17421 if test "${glibcxx_cv_system_error2+set}" = set; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426 /* end confdefs.h. */
17427 #include <errno.h>
17429 main ()
17431 int i = ENOTRECOVERABLE;
17433 return 0;
17435 _ACEOF
17436 if ac_fn_c_try_compile "$LINENO"; then :
17437 glibcxx_cv_system_error2=yes
17438 else
17439 glibcxx_cv_system_error2=no
17441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17446 $as_echo "$glibcxx_cv_system_error2" >&6; }
17447 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17449 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17453 $as_echo_n "checking for ENOLINK... " >&6; }
17454 if test "${glibcxx_cv_system_error3+set}" = set; then :
17455 $as_echo_n "(cached) " >&6
17456 else
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17460 #include <errno.h>
17462 main ()
17464 int i = ENOLINK;
17466 return 0;
17468 _ACEOF
17469 if ac_fn_c_try_compile "$LINENO"; then :
17470 glibcxx_cv_system_error3=yes
17471 else
17472 glibcxx_cv_system_error3=no
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17479 $as_echo "$glibcxx_cv_system_error3" >&6; }
17480 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17482 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17486 $as_echo_n "checking for EPROTO... " >&6; }
17487 if test "${glibcxx_cv_system_error4+set}" = set; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #include <errno.h>
17495 main ()
17497 int i = EPROTO;
17499 return 0;
17501 _ACEOF
17502 if ac_fn_c_try_compile "$LINENO"; then :
17503 glibcxx_cv_system_error4=yes
17504 else
17505 glibcxx_cv_system_error4=no
17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17512 $as_echo "$glibcxx_cv_system_error4" >&6; }
17513 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17515 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17519 $as_echo_n "checking for ENODATA... " >&6; }
17520 if test "${glibcxx_cv_system_error5+set}" = set; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17526 #include <errno.h>
17528 main ()
17530 int i = ENODATA;
17532 return 0;
17534 _ACEOF
17535 if ac_fn_c_try_compile "$LINENO"; then :
17536 glibcxx_cv_system_error5=yes
17537 else
17538 glibcxx_cv_system_error5=no
17540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17545 $as_echo "$glibcxx_cv_system_error5" >&6; }
17546 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17548 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17552 $as_echo_n "checking for ENOSR... " >&6; }
17553 if test "${glibcxx_cv_system_error6+set}" = set; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17559 #include <errno.h>
17561 main ()
17563 int i = ENOSR;
17565 return 0;
17567 _ACEOF
17568 if ac_fn_c_try_compile "$LINENO"; then :
17569 glibcxx_cv_system_error6=yes
17570 else
17571 glibcxx_cv_system_error6=no
17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17578 $as_echo "$glibcxx_cv_system_error6" >&6; }
17579 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17581 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17585 $as_echo_n "checking for ENOSTR... " >&6; }
17586 if test "${glibcxx_cv_system_error7+set}" = set; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 #include <errno.h>
17594 main ()
17596 int i = ENOSTR;
17598 return 0;
17600 _ACEOF
17601 if ac_fn_c_try_compile "$LINENO"; then :
17602 glibcxx_cv_system_error7=yes
17603 else
17604 glibcxx_cv_system_error7=no
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17611 $as_echo "$glibcxx_cv_system_error7" >&6; }
17612 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17614 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17618 $as_echo_n "checking for ETIME... " >&6; }
17619 if test "${glibcxx_cv_system_error8+set}" = set; then :
17620 $as_echo_n "(cached) " >&6
17621 else
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 #include <errno.h>
17627 main ()
17629 int i = ETIME;
17631 return 0;
17633 _ACEOF
17634 if ac_fn_c_try_compile "$LINENO"; then :
17635 glibcxx_cv_system_error8=yes
17636 else
17637 glibcxx_cv_system_error8=no
17639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17644 $as_echo "$glibcxx_cv_system_error8" >&6; }
17645 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17647 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17651 $as_echo_n "checking for EBADMSG... " >&6; }
17652 if test "${glibcxx_cv_system_error9+set}" = set; then :
17653 $as_echo_n "(cached) " >&6
17654 else
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <errno.h>
17660 main ()
17662 int i = EBADMSG;
17664 return 0;
17666 _ACEOF
17667 if ac_fn_c_try_compile "$LINENO"; then :
17668 glibcxx_cv_system_error9=yes
17669 else
17670 glibcxx_cv_system_error9=no
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17677 $as_echo "$glibcxx_cv_system_error9" >&6; }
17678 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17680 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17684 $as_echo_n "checking for ECANCELED... " >&6; }
17685 if test "${glibcxx_cv_system_error10+set}" = set; then :
17686 $as_echo_n "(cached) " >&6
17687 else
17689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17690 /* end confdefs.h. */
17691 #include <errno.h>
17693 main ()
17695 int i = ECANCELED;
17697 return 0;
17699 _ACEOF
17700 if ac_fn_c_try_compile "$LINENO"; then :
17701 glibcxx_cv_system_error10=yes
17702 else
17703 glibcxx_cv_system_error10=no
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17710 $as_echo "$glibcxx_cv_system_error10" >&6; }
17711 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17713 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17717 $as_echo_n "checking for EOVERFLOW... " >&6; }
17718 if test "${glibcxx_cv_system_error11+set}" = set; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h. */
17724 #include <errno.h>
17726 main ()
17728 int i = EOVERFLOW;
17730 return 0;
17732 _ACEOF
17733 if ac_fn_c_try_compile "$LINENO"; then :
17734 glibcxx_cv_system_error11=yes
17735 else
17736 glibcxx_cv_system_error11=no
17738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17743 $as_echo "$glibcxx_cv_system_error11" >&6; }
17744 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17746 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17750 $as_echo_n "checking for ENOTSUP... " >&6; }
17751 if test "${glibcxx_cv_system_error12+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <errno.h>
17759 main ()
17761 int i = ENOTSUP;
17763 return 0;
17765 _ACEOF
17766 if ac_fn_c_try_compile "$LINENO"; then :
17767 glibcxx_cv_system_error12=yes
17768 else
17769 glibcxx_cv_system_error12=no
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17776 $as_echo "$glibcxx_cv_system_error12" >&6; }
17777 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17779 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17783 $as_echo_n "checking for EIDRM... " >&6; }
17784 if test "${glibcxx_cv_system_error13+set}" = set; then :
17785 $as_echo_n "(cached) " >&6
17786 else
17788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17789 /* end confdefs.h. */
17790 #include <errno.h>
17792 main ()
17794 int i = EIDRM;
17796 return 0;
17798 _ACEOF
17799 if ac_fn_c_try_compile "$LINENO"; then :
17800 glibcxx_cv_system_error13=yes
17801 else
17802 glibcxx_cv_system_error13=no
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17809 $as_echo "$glibcxx_cv_system_error13" >&6; }
17810 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17812 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17816 $as_echo_n "checking for ETXTBSY... " >&6; }
17817 if test "${glibcxx_cv_system_error14+set}" = set; then :
17818 $as_echo_n "(cached) " >&6
17819 else
17821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17822 /* end confdefs.h. */
17823 #include <errno.h>
17825 main ()
17827 int i = ETXTBSY;
17829 return 0;
17831 _ACEOF
17832 if ac_fn_c_try_compile "$LINENO"; then :
17833 glibcxx_cv_system_error14=yes
17834 else
17835 glibcxx_cv_system_error14=no
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17842 $as_echo "$glibcxx_cv_system_error14" >&6; }
17843 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17845 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17849 $as_echo_n "checking for ECHILD... " >&6; }
17850 if test "${glibcxx_cv_system_error15+set}" = set; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 #include <errno.h>
17858 main ()
17860 int i = ECHILD;
17862 return 0;
17864 _ACEOF
17865 if ac_fn_c_try_compile "$LINENO"; then :
17866 glibcxx_cv_system_error15=yes
17867 else
17868 glibcxx_cv_system_error15=no
17870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17875 $as_echo "$glibcxx_cv_system_error15" >&6; }
17876 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17878 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17882 $as_echo_n "checking for ENOSPC... " >&6; }
17883 if test "${glibcxx_cv_system_error16+set}" = set; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17889 #include <errno.h>
17891 main ()
17893 int i = ENOSPC;
17895 return 0;
17897 _ACEOF
17898 if ac_fn_c_try_compile "$LINENO"; then :
17899 glibcxx_cv_system_error16=yes
17900 else
17901 glibcxx_cv_system_error16=no
17903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17908 $as_echo "$glibcxx_cv_system_error16" >&6; }
17909 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17911 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17915 $as_echo_n "checking for EPERM... " >&6; }
17916 if test "${glibcxx_cv_system_error17+set}" = set; then :
17917 $as_echo_n "(cached) " >&6
17918 else
17920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921 /* end confdefs.h. */
17922 #include <errno.h>
17924 main ()
17926 int i = EPERM;
17928 return 0;
17930 _ACEOF
17931 if ac_fn_c_try_compile "$LINENO"; then :
17932 glibcxx_cv_system_error17=yes
17933 else
17934 glibcxx_cv_system_error17=no
17936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17941 $as_echo "$glibcxx_cv_system_error17" >&6; }
17942 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17944 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17948 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17949 if test "${glibcxx_cv_system_error18+set}" = set; then :
17950 $as_echo_n "(cached) " >&6
17951 else
17953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17955 #include <errno.h>
17957 main ()
17959 int i = ETIMEDOUT;
17961 return 0;
17963 _ACEOF
17964 if ac_fn_c_try_compile "$LINENO"; then :
17965 glibcxx_cv_system_error18=yes
17966 else
17967 glibcxx_cv_system_error18=no
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17974 $as_echo "$glibcxx_cv_system_error18" >&6; }
17975 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17977 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17981 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17982 if test "${glibcxx_cv_system_error19+set}" = set; then :
17983 $as_echo_n "(cached) " >&6
17984 else
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17988 #include <errno.h>
17990 main ()
17992 int i = EWOULDBLOCK;
17994 return 0;
17996 _ACEOF
17997 if ac_fn_c_try_compile "$LINENO"; then :
17998 glibcxx_cv_system_error19=yes
17999 else
18000 glibcxx_cv_system_error19=no
18002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18007 $as_echo "$glibcxx_cv_system_error19" >&6; }
18008 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18010 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18016 # For the streamoff typedef.
18020 ac_ext=cpp
18021 ac_cpp='$CXXCPP $CPPFLAGS'
18022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18028 $as_echo_n "checking for int64_t... " >&6; }
18029 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18030 $as_echo_n "(cached) " >&6
18031 else
18033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18035 #include <stdint.h>
18037 main ()
18039 int64_t var;
18041 return 0;
18043 _ACEOF
18044 if ac_fn_cxx_try_compile "$LINENO"; then :
18045 glibcxx_cv_INT64_T=yes
18046 else
18047 glibcxx_cv_INT64_T=no
18049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18054 if test $glibcxx_cv_INT64_T = yes; then
18056 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18059 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18062 $as_echo_n "checking for int64_t as long... " >&6; }
18063 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18064 $as_echo_n "(cached) " >&6
18065 else
18067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h. */
18069 #include <stdint.h>
18070 template<typename, typename> struct same { enum { value = -1 }; };
18071 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18072 int array[same<int64_t, long>::value];
18074 main ()
18078 return 0;
18080 _ACEOF
18081 if ac_fn_cxx_try_compile "$LINENO"; then :
18082 glibcxx_cv_int64_t_long=yes
18083 else
18084 glibcxx_cv_int64_t_long=no
18086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18091 if test $glibcxx_cv_int64_t_long = yes; then
18093 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18096 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18100 $as_echo_n "checking for int64_t as long long... " >&6; }
18101 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18102 $as_echo_n "(cached) " >&6
18103 else
18105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18106 /* end confdefs.h. */
18107 #include <stdint.h>
18108 template<typename, typename> struct same { enum { value = -1 }; };
18109 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18110 int array[same<int64_t, long long>::value];
18112 main ()
18116 return 0;
18118 _ACEOF
18119 if ac_fn_cxx_try_compile "$LINENO"; then :
18120 glibcxx_cv_int64_t_long_long=yes
18121 else
18122 glibcxx_cv_int64_t_long_long=no
18124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18129 if test $glibcxx_cv_int64_t_long_long = yes; then
18131 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18134 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18138 ac_ext=c
18139 ac_cpp='$CPP $CPPFLAGS'
18140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18146 # For LFS support.
18149 ac_ext=cpp
18150 ac_cpp='$CXXCPP $CPPFLAGS'
18151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18155 ac_save_CXXFLAGS="$CXXFLAGS"
18156 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18158 $as_echo_n "checking for LFS support... " >&6; }
18159 if test "${glibcxx_cv_LFS+set}" = set; then :
18160 $as_echo_n "(cached) " >&6
18161 else
18163 if test x$gcc_no_link = xyes; then
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18166 #include <unistd.h>
18167 #include <stdio.h>
18168 #include <sys/stat.h>
18171 main ()
18173 FILE* fp;
18174 fopen64("t", "w");
18175 fseeko64(fp, 0, SEEK_CUR);
18176 ftello64(fp);
18177 lseek64(1, 0, SEEK_CUR);
18178 struct stat64 buf;
18179 fstat64(1, &buf);
18181 return 0;
18183 _ACEOF
18184 if ac_fn_cxx_try_compile "$LINENO"; then :
18185 glibcxx_cv_LFS=yes
18186 else
18187 glibcxx_cv_LFS=no
18189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190 else
18191 if test x$gcc_no_link = xyes; then
18192 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18195 /* end confdefs.h. */
18196 #include <unistd.h>
18197 #include <stdio.h>
18198 #include <sys/stat.h>
18201 main ()
18203 FILE* fp;
18204 fopen64("t", "w");
18205 fseeko64(fp, 0, SEEK_CUR);
18206 ftello64(fp);
18207 lseek64(1, 0, SEEK_CUR);
18208 struct stat64 buf;
18209 fstat64(1, &buf);
18211 return 0;
18213 _ACEOF
18214 if ac_fn_cxx_try_link "$LINENO"; then :
18215 glibcxx_cv_LFS=yes
18216 else
18217 glibcxx_cv_LFS=no
18219 rm -f core conftest.err conftest.$ac_objext \
18220 conftest$ac_exeext conftest.$ac_ext
18225 if test $glibcxx_cv_LFS = yes; then
18227 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18231 $as_echo "$glibcxx_cv_LFS" >&6; }
18232 CXXFLAGS="$ac_save_CXXFLAGS"
18233 ac_ext=c
18234 ac_cpp='$CPP $CPPFLAGS'
18235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18241 # For showmanyc_helper().
18242 for ac_header in sys/ioctl.h sys/filio.h
18243 do :
18244 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18245 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18246 eval as_val=\$$as_ac_Header
18247 if test "x$as_val" = x""yes; then :
18248 cat >>confdefs.h <<_ACEOF
18249 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18250 _ACEOF
18254 done
18259 ac_ext=cpp
18260 ac_cpp='$CXXCPP $CPPFLAGS'
18261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18265 ac_save_CXXFLAGS="$CXXFLAGS"
18266 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18269 $as_echo_n "checking for poll... " >&6; }
18270 if test "${glibcxx_cv_POLL+set}" = set; then :
18271 $as_echo_n "(cached) " >&6
18272 else
18274 if test x$gcc_no_link = xyes; then
18275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18276 /* end confdefs.h. */
18277 #include <poll.h>
18279 main ()
18281 struct pollfd pfd[1];
18282 pfd[0].events = POLLIN;
18283 poll(pfd, 1, 0);
18285 return 0;
18287 _ACEOF
18288 if ac_fn_cxx_try_compile "$LINENO"; then :
18289 glibcxx_cv_POLL=yes
18290 else
18291 glibcxx_cv_POLL=no
18293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294 else
18295 if test x$gcc_no_link = xyes; then
18296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18300 #include <poll.h>
18302 main ()
18304 struct pollfd pfd[1];
18305 pfd[0].events = POLLIN;
18306 poll(pfd, 1, 0);
18308 return 0;
18310 _ACEOF
18311 if ac_fn_cxx_try_link "$LINENO"; then :
18312 glibcxx_cv_POLL=yes
18313 else
18314 glibcxx_cv_POLL=no
18316 rm -f core conftest.err conftest.$ac_objext \
18317 conftest$ac_exeext conftest.$ac_ext
18322 if test $glibcxx_cv_POLL = yes; then
18324 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18328 $as_echo "$glibcxx_cv_POLL" >&6; }
18330 CXXFLAGS="$ac_save_CXXFLAGS"
18331 ac_ext=c
18332 ac_cpp='$CPP $CPPFLAGS'
18333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18341 ac_ext=cpp
18342 ac_cpp='$CXXCPP $CPPFLAGS'
18343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18347 ac_save_CXXFLAGS="$CXXFLAGS"
18348 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18351 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18352 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18353 $as_echo_n "(cached) " >&6
18354 else
18356 if test x$gcc_no_link = xyes; then
18357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h. */
18359 #include <sys/stat.h>
18361 main ()
18363 struct stat buffer;
18364 fstat(0, &buffer);
18365 S_ISREG(buffer.st_mode);
18367 return 0;
18369 _ACEOF
18370 if ac_fn_cxx_try_compile "$LINENO"; then :
18371 glibcxx_cv_S_ISREG=yes
18372 else
18373 glibcxx_cv_S_ISREG=no
18375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18376 else
18377 if test x$gcc_no_link = xyes; then
18378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h. */
18382 #include <sys/stat.h>
18384 main ()
18386 struct stat buffer;
18387 fstat(0, &buffer);
18388 S_ISREG(buffer.st_mode);
18390 return 0;
18392 _ACEOF
18393 if ac_fn_cxx_try_link "$LINENO"; then :
18394 glibcxx_cv_S_ISREG=yes
18395 else
18396 glibcxx_cv_S_ISREG=no
18398 rm -f core conftest.err conftest.$ac_objext \
18399 conftest$ac_exeext conftest.$ac_ext
18404 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18408 if test x$gcc_no_link = xyes; then
18409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18410 /* end confdefs.h. */
18411 #include <sys/stat.h>
18413 main ()
18415 struct stat buffer;
18416 fstat(0, &buffer);
18417 S_IFREG & buffer.st_mode;
18419 return 0;
18421 _ACEOF
18422 if ac_fn_cxx_try_compile "$LINENO"; then :
18423 glibcxx_cv_S_IFREG=yes
18424 else
18425 glibcxx_cv_S_IFREG=no
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428 else
18429 if test x$gcc_no_link = xyes; then
18430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18434 #include <sys/stat.h>
18436 main ()
18438 struct stat buffer;
18439 fstat(0, &buffer);
18440 S_IFREG & buffer.st_mode;
18442 return 0;
18444 _ACEOF
18445 if ac_fn_cxx_try_link "$LINENO"; then :
18446 glibcxx_cv_S_IFREG=yes
18447 else
18448 glibcxx_cv_S_IFREG=no
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18456 res=no
18457 if test $glibcxx_cv_S_ISREG = yes; then
18459 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18461 res=S_ISREG
18462 elif test $glibcxx_cv_S_IFREG = yes; then
18464 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18466 res=S_IFREG
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18469 $as_echo "$res" >&6; }
18471 CXXFLAGS="$ac_save_CXXFLAGS"
18472 ac_ext=c
18473 ac_cpp='$CPP $CPPFLAGS'
18474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18480 # For xsputn_2().
18481 for ac_header in sys/uio.h
18482 do :
18483 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18484 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18485 cat >>confdefs.h <<_ACEOF
18486 #define HAVE_SYS_UIO_H 1
18487 _ACEOF
18491 done
18496 ac_ext=cpp
18497 ac_cpp='$CXXCPP $CPPFLAGS'
18498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18502 ac_save_CXXFLAGS="$CXXFLAGS"
18503 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18506 $as_echo_n "checking for writev... " >&6; }
18507 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18508 $as_echo_n "(cached) " >&6
18509 else
18511 if test x$gcc_no_link = xyes; then
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18514 #include <sys/uio.h>
18516 main ()
18518 struct iovec iov[2];
18519 writev(0, iov, 0);
18521 return 0;
18523 _ACEOF
18524 if ac_fn_cxx_try_compile "$LINENO"; then :
18525 glibcxx_cv_WRITEV=yes
18526 else
18527 glibcxx_cv_WRITEV=no
18529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530 else
18531 if test x$gcc_no_link = xyes; then
18532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18536 #include <sys/uio.h>
18538 main ()
18540 struct iovec iov[2];
18541 writev(0, iov, 0);
18543 return 0;
18545 _ACEOF
18546 if ac_fn_cxx_try_link "$LINENO"; then :
18547 glibcxx_cv_WRITEV=yes
18548 else
18549 glibcxx_cv_WRITEV=no
18551 rm -f core conftest.err conftest.$ac_objext \
18552 conftest$ac_exeext conftest.$ac_ext
18557 if test $glibcxx_cv_WRITEV = yes; then
18559 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18563 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18565 CXXFLAGS="$ac_save_CXXFLAGS"
18566 ac_ext=c
18567 ac_cpp='$CPP $CPPFLAGS'
18568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18574 # For C99 support to TR1.
18578 ac_ext=cpp
18579 ac_cpp='$CXXCPP $CPPFLAGS'
18580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18585 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18586 # undefined and fake C99 facilities may be spuriously enabled.
18587 ac_save_CXXFLAGS="$CXXFLAGS"
18588 CXXFLAGS="$CXXFLAGS -std=c++98"
18590 # Check for the existence of <complex.h> complex math functions used
18591 # by tr1/complex.
18592 for ac_header in complex.h
18593 do :
18594 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18595 if test "x$ac_cv_header_complex_h" = x""yes; then :
18596 cat >>confdefs.h <<_ACEOF
18597 #define HAVE_COMPLEX_H 1
18598 _ACEOF
18599 ac_has_complex_h=yes
18600 else
18601 ac_has_complex_h=no
18604 done
18606 ac_c99_complex_tr1=no;
18607 if test x"$ac_has_complex_h" = x"yes"; then
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18609 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 #include <complex.h>
18614 main ()
18616 typedef __complex__ float float_type; float_type tmpf;
18617 cacosf(tmpf);
18618 casinf(tmpf);
18619 catanf(tmpf);
18620 cacoshf(tmpf);
18621 casinhf(tmpf);
18622 catanhf(tmpf);
18623 typedef __complex__ double double_type; double_type tmpd;
18624 cacos(tmpd);
18625 casin(tmpd);
18626 catan(tmpd);
18627 cacosh(tmpd);
18628 casinh(tmpd);
18629 catanh(tmpd);
18630 typedef __complex__ long double ld_type; ld_type tmpld;
18631 cacosl(tmpld);
18632 casinl(tmpld);
18633 catanl(tmpld);
18634 cacoshl(tmpld);
18635 casinhl(tmpld);
18636 catanhl(tmpld);
18639 return 0;
18641 _ACEOF
18642 if ac_fn_cxx_try_compile "$LINENO"; then :
18643 ac_c99_complex_tr1=yes
18644 else
18645 ac_c99_complex_tr1=no
18647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18650 $as_echo "$ac_c99_complex_tr1" >&6; }
18651 if test x"$ac_c99_complex_tr1" = x"yes"; then
18653 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18657 # Check for the existence of <ctype.h> functions.
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18659 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18660 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18661 $as_echo_n "(cached) " >&6
18662 else
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 #include <ctype.h>
18668 main ()
18670 int ch;
18671 int ret;
18672 ret = isblank(ch);
18675 return 0;
18677 _ACEOF
18678 if ac_fn_cxx_try_compile "$LINENO"; then :
18679 glibcxx_cv_c99_ctype_tr1=yes
18680 else
18681 glibcxx_cv_c99_ctype_tr1=no
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18688 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18689 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18691 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18695 # Check for the existence of <fenv.h> functions.
18696 for ac_header in fenv.h
18697 do :
18698 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18699 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18700 cat >>confdefs.h <<_ACEOF
18701 #define HAVE_FENV_H 1
18702 _ACEOF
18703 ac_has_fenv_h=yes
18704 else
18705 ac_has_fenv_h=no
18708 done
18710 ac_c99_fenv_tr1=no;
18711 if test x"$ac_has_fenv_h" = x"yes"; then
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18713 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18716 #include <fenv.h>
18718 main ()
18720 int except, mode;
18721 fexcept_t* pflag;
18722 fenv_t* penv;
18723 int ret;
18724 ret = feclearexcept(except);
18725 ret = fegetexceptflag(pflag, except);
18726 ret = feraiseexcept(except);
18727 ret = fesetexceptflag(pflag, except);
18728 ret = fetestexcept(except);
18729 ret = fegetround();
18730 ret = fesetround(mode);
18731 ret = fegetenv(penv);
18732 ret = feholdexcept(penv);
18733 ret = fesetenv(penv);
18734 ret = feupdateenv(penv);
18737 return 0;
18739 _ACEOF
18740 if ac_fn_cxx_try_compile "$LINENO"; then :
18741 ac_c99_fenv_tr1=yes
18742 else
18743 ac_c99_fenv_tr1=no
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18748 $as_echo "$ac_c99_fenv_tr1" >&6; }
18749 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18751 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18755 # Check for the existence of <stdint.h> types.
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18757 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18758 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18759 $as_echo_n "(cached) " >&6
18760 else
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18764 #define __STDC_LIMIT_MACROS
18765 #define __STDC_CONSTANT_MACROS
18766 #include <stdint.h>
18768 main ()
18770 typedef int8_t my_int8_t;
18771 my_int8_t i8 = INT8_MIN;
18772 i8 = INT8_MAX;
18773 typedef int16_t my_int16_t;
18774 my_int16_t i16 = INT16_MIN;
18775 i16 = INT16_MAX;
18776 typedef int32_t my_int32_t;
18777 my_int32_t i32 = INT32_MIN;
18778 i32 = INT32_MAX;
18779 typedef int64_t my_int64_t;
18780 my_int64_t i64 = INT64_MIN;
18781 i64 = INT64_MAX;
18782 typedef int_fast8_t my_int_fast8_t;
18783 my_int_fast8_t if8 = INT_FAST8_MIN;
18784 if8 = INT_FAST8_MAX;
18785 typedef int_fast16_t my_int_fast16_t;
18786 my_int_fast16_t if16 = INT_FAST16_MIN;
18787 if16 = INT_FAST16_MAX;
18788 typedef int_fast32_t my_int_fast32_t;
18789 my_int_fast32_t if32 = INT_FAST32_MIN;
18790 if32 = INT_FAST32_MAX;
18791 typedef int_fast64_t my_int_fast64_t;
18792 my_int_fast64_t if64 = INT_FAST64_MIN;
18793 if64 = INT_FAST64_MAX;
18794 typedef int_least8_t my_int_least8_t;
18795 my_int_least8_t il8 = INT_LEAST8_MIN;
18796 il8 = INT_LEAST8_MAX;
18797 typedef int_least16_t my_int_least16_t;
18798 my_int_least16_t il16 = INT_LEAST16_MIN;
18799 il16 = INT_LEAST16_MAX;
18800 typedef int_least32_t my_int_least32_t;
18801 my_int_least32_t il32 = INT_LEAST32_MIN;
18802 il32 = INT_LEAST32_MAX;
18803 typedef int_least64_t my_int_least64_t;
18804 my_int_least64_t il64 = INT_LEAST64_MIN;
18805 il64 = INT_LEAST64_MAX;
18806 typedef intmax_t my_intmax_t;
18807 my_intmax_t im = INTMAX_MAX;
18808 im = INTMAX_MIN;
18809 typedef intptr_t my_intptr_t;
18810 my_intptr_t ip = INTPTR_MAX;
18811 ip = INTPTR_MIN;
18812 typedef uint8_t my_uint8_t;
18813 my_uint8_t ui8 = UINT8_MAX;
18814 ui8 = UINT8_MAX;
18815 typedef uint16_t my_uint16_t;
18816 my_uint16_t ui16 = UINT16_MAX;
18817 ui16 = UINT16_MAX;
18818 typedef uint32_t my_uint32_t;
18819 my_uint32_t ui32 = UINT32_MAX;
18820 ui32 = UINT32_MAX;
18821 typedef uint64_t my_uint64_t;
18822 my_uint64_t ui64 = UINT64_MAX;
18823 ui64 = UINT64_MAX;
18824 typedef uint_fast8_t my_uint_fast8_t;
18825 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18826 uif8 = UINT_FAST8_MAX;
18827 typedef uint_fast16_t my_uint_fast16_t;
18828 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18829 uif16 = UINT_FAST16_MAX;
18830 typedef uint_fast32_t my_uint_fast32_t;
18831 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18832 uif32 = UINT_FAST32_MAX;
18833 typedef uint_fast64_t my_uint_fast64_t;
18834 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18835 uif64 = UINT_FAST64_MAX;
18836 typedef uint_least8_t my_uint_least8_t;
18837 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18838 uil8 = UINT_LEAST8_MAX;
18839 typedef uint_least16_t my_uint_least16_t;
18840 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18841 uil16 = UINT_LEAST16_MAX;
18842 typedef uint_least32_t my_uint_least32_t;
18843 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18844 uil32 = UINT_LEAST32_MAX;
18845 typedef uint_least64_t my_uint_least64_t;
18846 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18847 uil64 = UINT_LEAST64_MAX;
18848 typedef uintmax_t my_uintmax_t;
18849 my_uintmax_t uim = UINTMAX_MAX;
18850 uim = UINTMAX_MAX;
18851 typedef uintptr_t my_uintptr_t;
18852 my_uintptr_t uip = UINTPTR_MAX;
18853 uip = UINTPTR_MAX;
18856 return 0;
18858 _ACEOF
18859 if ac_fn_cxx_try_compile "$LINENO"; then :
18860 glibcxx_cv_c99_stdint_tr1=yes
18861 else
18862 glibcxx_cv_c99_stdint_tr1=no
18864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18869 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18870 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18872 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18876 # Check for the existence of <math.h> functions.
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18878 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18879 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18880 $as_echo_n "(cached) " >&6
18881 else
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 #include <math.h>
18887 main ()
18889 typedef double_t my_double_t;
18890 typedef float_t my_float_t;
18891 acosh(0.0);
18892 acoshf(0.0f);
18893 acoshl(0.0l);
18894 asinh(0.0);
18895 asinhf(0.0f);
18896 asinhl(0.0l);
18897 atanh(0.0);
18898 atanhf(0.0f);
18899 atanhl(0.0l);
18900 cbrt(0.0);
18901 cbrtf(0.0f);
18902 cbrtl(0.0l);
18903 copysign(0.0, 0.0);
18904 copysignf(0.0f, 0.0f);
18905 copysignl(0.0l, 0.0l);
18906 erf(0.0);
18907 erff(0.0f);
18908 erfl(0.0l);
18909 erfc(0.0);
18910 erfcf(0.0f);
18911 erfcl(0.0l);
18912 exp2(0.0);
18913 exp2f(0.0f);
18914 exp2l(0.0l);
18915 expm1(0.0);
18916 expm1f(0.0f);
18917 expm1l(0.0l);
18918 fdim(0.0, 0.0);
18919 fdimf(0.0f, 0.0f);
18920 fdiml(0.0l, 0.0l);
18921 fma(0.0, 0.0, 0.0);
18922 fmaf(0.0f, 0.0f, 0.0f);
18923 fmal(0.0l, 0.0l, 0.0l);
18924 fmax(0.0, 0.0);
18925 fmaxf(0.0f, 0.0f);
18926 fmaxl(0.0l, 0.0l);
18927 fmin(0.0, 0.0);
18928 fminf(0.0f, 0.0f);
18929 fminl(0.0l, 0.0l);
18930 hypot(0.0, 0.0);
18931 hypotf(0.0f, 0.0f);
18932 hypotl(0.0l, 0.0l);
18933 ilogb(0.0);
18934 ilogbf(0.0f);
18935 ilogbl(0.0l);
18936 lgamma(0.0);
18937 lgammaf(0.0f);
18938 lgammal(0.0l);
18939 llrint(0.0);
18940 llrintf(0.0f);
18941 llrintl(0.0l);
18942 llround(0.0);
18943 llroundf(0.0f);
18944 llroundl(0.0l);
18945 log1p(0.0);
18946 log1pf(0.0f);
18947 log1pl(0.0l);
18948 log2(0.0);
18949 log2f(0.0f);
18950 log2l(0.0l);
18951 logb(0.0);
18952 logbf(0.0f);
18953 logbl(0.0l);
18954 lrint(0.0);
18955 lrintf(0.0f);
18956 lrintl(0.0l);
18957 lround(0.0);
18958 lroundf(0.0f);
18959 lroundl(0.0l);
18960 nan(0);
18961 nanf(0);
18962 nanl(0);
18963 nearbyint(0.0);
18964 nearbyintf(0.0f);
18965 nearbyintl(0.0l);
18966 nextafter(0.0, 0.0);
18967 nextafterf(0.0f, 0.0f);
18968 nextafterl(0.0l, 0.0l);
18969 nexttoward(0.0, 0.0);
18970 nexttowardf(0.0f, 0.0f);
18971 nexttowardl(0.0l, 0.0l);
18972 remainder(0.0, 0.0);
18973 remainderf(0.0f, 0.0f);
18974 remainderl(0.0l, 0.0l);
18975 remquo(0.0, 0.0, 0);
18976 remquof(0.0f, 0.0f, 0);
18977 remquol(0.0l, 0.0l, 0);
18978 rint(0.0);
18979 rintf(0.0f);
18980 rintl(0.0l);
18981 round(0.0);
18982 roundf(0.0f);
18983 roundl(0.0l);
18984 scalbln(0.0, 0l);
18985 scalblnf(0.0f, 0l);
18986 scalblnl(0.0l, 0l);
18987 scalbn(0.0, 0);
18988 scalbnf(0.0f, 0);
18989 scalbnl(0.0l, 0);
18990 tgamma(0.0);
18991 tgammaf(0.0f);
18992 tgammal(0.0l);
18993 trunc(0.0);
18994 truncf(0.0f);
18995 truncl(0.0l);
18998 return 0;
19000 _ACEOF
19001 if ac_fn_cxx_try_compile "$LINENO"; then :
19002 glibcxx_cv_c99_math_tr1=yes
19003 else
19004 glibcxx_cv_c99_math_tr1=no
19006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19011 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19012 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19014 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19018 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19019 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19020 ac_c99_inttypes_tr1=no;
19021 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19023 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19026 #include <inttypes.h>
19028 main ()
19030 intmax_t i, numer, denom, base;
19031 const char* s;
19032 char** endptr;
19033 intmax_t ret = imaxabs(i);
19034 imaxdiv_t dret = imaxdiv(numer, denom);
19035 ret = strtoimax(s, endptr, base);
19036 uintmax_t uret = strtoumax(s, endptr, base);
19039 return 0;
19041 _ACEOF
19042 if ac_fn_cxx_try_compile "$LINENO"; then :
19043 ac_c99_inttypes_tr1=yes
19044 else
19045 ac_c99_inttypes_tr1=no
19047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19050 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19051 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19053 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19057 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19058 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19059 ac_c99_inttypes_wchar_t_tr1=no;
19060 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19062 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h. */
19065 #include <inttypes.h>
19067 main ()
19069 intmax_t base;
19070 const wchar_t* s;
19071 wchar_t** endptr;
19072 intmax_t ret = wcstoimax(s, endptr, base);
19073 uintmax_t uret = wcstoumax(s, endptr, base);
19076 return 0;
19078 _ACEOF
19079 if ac_fn_cxx_try_compile "$LINENO"; then :
19080 ac_c99_inttypes_wchar_t_tr1=yes
19081 else
19082 ac_c99_inttypes_wchar_t_tr1=no
19084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19087 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19088 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19090 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19094 # Check for the existence of the <stdbool.h> header.
19095 for ac_header in stdbool.h
19096 do :
19097 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19098 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19099 cat >>confdefs.h <<_ACEOF
19100 #define HAVE_STDBOOL_H 1
19101 _ACEOF
19105 done
19108 CXXFLAGS="$ac_save_CXXFLAGS"
19109 ac_ext=c
19110 ac_cpp='$CPP $CPPFLAGS'
19111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19117 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19121 $as_echo_n "checking for the value of EOF... " >&6; }
19122 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19123 $as_echo_n "(cached) " >&6
19124 else
19126 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19128 else
19129 as_fn_error "computing EOF failed" "$LINENO" 5
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19135 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19137 cat >>confdefs.h <<_ACEOF
19138 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19139 _ACEOF
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19143 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19144 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19145 $as_echo_n "(cached) " >&6
19146 else
19148 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19150 else
19151 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19157 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19159 cat >>confdefs.h <<_ACEOF
19160 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19161 _ACEOF
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19165 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19166 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19167 $as_echo_n "(cached) " >&6
19168 else
19170 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19172 else
19173 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19179 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19181 cat >>confdefs.h <<_ACEOF
19182 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19183 _ACEOF
19187 # For gettimeofday support.
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19191 $as_echo_n "checking for gettimeofday... " >&6; }
19194 ac_ext=cpp
19195 ac_cpp='$CXXCPP $CPPFLAGS'
19196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19200 ac_save_CXXFLAGS="$CXXFLAGS"
19201 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19203 ac_has_gettimeofday=no;
19204 for ac_header in sys/time.h
19205 do :
19206 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19207 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19208 cat >>confdefs.h <<_ACEOF
19209 #define HAVE_SYS_TIME_H 1
19210 _ACEOF
19211 ac_has_sys_time_h=yes
19212 else
19213 ac_has_sys_time_h=no
19216 done
19218 if test x"$ac_has_sys_time_h" = x"yes"; then
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19220 $as_echo_n "checking for gettimeofday... " >&6; }
19221 if test x$gcc_no_link = xyes; then
19222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h. */
19224 #include <sys/time.h>
19226 main ()
19228 timeval tv; gettimeofday(&tv, 0);
19230 return 0;
19232 _ACEOF
19233 if ac_fn_cxx_try_compile "$LINENO"; then :
19234 ac_has_gettimeofday=yes
19235 else
19236 ac_has_gettimeofday=no
19238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19239 else
19240 if test x$gcc_no_link = xyes; then
19241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19244 /* end confdefs.h. */
19245 #include <sys/time.h>
19247 main ()
19249 timeval tv; gettimeofday(&tv, 0);
19251 return 0;
19253 _ACEOF
19254 if ac_fn_cxx_try_link "$LINENO"; then :
19255 ac_has_gettimeofday=yes
19256 else
19257 ac_has_gettimeofday=no
19259 rm -f core conftest.err conftest.$ac_objext \
19260 conftest$ac_exeext conftest.$ac_ext
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19264 $as_echo "$ac_has_gettimeofday" >&6; }
19267 if test x"$ac_has_gettimeofday" = x"yes"; then
19269 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19273 CXXFLAGS="$ac_save_CXXFLAGS"
19274 ac_ext=c
19275 ac_cpp='$CPP $CPPFLAGS'
19276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19282 # For clock_gettime, nanosleep and sched_yield support.
19283 # NB: The default is [no], because otherwise it requires linking.
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19287 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19288 # Check whether --enable-libstdcxx-time was given.
19289 if test "${enable_libstdcxx_time+set}" = set; then :
19290 enableval=$enable_libstdcxx_time;
19291 case "$enableval" in
19292 yes|no|rt) ;;
19293 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19294 esac
19296 else
19297 enable_libstdcxx_time=no
19303 ac_ext=cpp
19304 ac_cpp='$CXXCPP $CPPFLAGS'
19305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19309 ac_save_CXXFLAGS="$CXXFLAGS"
19310 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19311 ac_save_LIBS="$LIBS"
19313 ac_has_clock_monotonic=no
19314 ac_has_clock_realtime=no
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19316 $as_echo "$enable_libstdcxx_time" >&6; }
19318 if test x"$enable_libstdcxx_time" != x"no"; then
19320 if test x"$enable_libstdcxx_time" = x"rt"; then
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19322 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19323 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19324 $as_echo_n "(cached) " >&6
19325 else
19326 ac_func_search_save_LIBS=$LIBS
19327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19330 /* Override any GCC internal prototype to avoid an error.
19331 Use char because int might match the return type of a GCC
19332 builtin and then its argument prototype would still apply. */
19333 #ifdef __cplusplus
19334 extern "C"
19335 #endif
19336 char clock_gettime ();
19338 main ()
19340 return clock_gettime ();
19342 return 0;
19344 _ACEOF
19345 for ac_lib in '' rt posix4; do
19346 if test -z "$ac_lib"; then
19347 ac_res="none required"
19348 else
19349 ac_res=-l$ac_lib
19350 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19352 if test x$gcc_no_link = xyes; then
19353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19355 if ac_fn_cxx_try_link "$LINENO"; then :
19356 ac_cv_search_clock_gettime=$ac_res
19358 rm -f core conftest.err conftest.$ac_objext \
19359 conftest$ac_exeext
19360 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19361 break
19363 done
19364 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19366 else
19367 ac_cv_search_clock_gettime=no
19369 rm conftest.$ac_ext
19370 LIBS=$ac_func_search_save_LIBS
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19373 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19374 ac_res=$ac_cv_search_clock_gettime
19375 if test "$ac_res" != no; then :
19376 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19381 $as_echo_n "checking for library containing nanosleep... " >&6; }
19382 if test "${ac_cv_search_nanosleep+set}" = set; then :
19383 $as_echo_n "(cached) " >&6
19384 else
19385 ac_func_search_save_LIBS=$LIBS
19386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19387 /* end confdefs.h. */
19389 /* Override any GCC internal prototype to avoid an error.
19390 Use char because int might match the return type of a GCC
19391 builtin and then its argument prototype would still apply. */
19392 #ifdef __cplusplus
19393 extern "C"
19394 #endif
19395 char nanosleep ();
19397 main ()
19399 return nanosleep ();
19401 return 0;
19403 _ACEOF
19404 for ac_lib in '' rt posix4; do
19405 if test -z "$ac_lib"; then
19406 ac_res="none required"
19407 else
19408 ac_res=-l$ac_lib
19409 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19411 if test x$gcc_no_link = xyes; then
19412 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19414 if ac_fn_cxx_try_link "$LINENO"; then :
19415 ac_cv_search_nanosleep=$ac_res
19417 rm -f core conftest.err conftest.$ac_objext \
19418 conftest$ac_exeext
19419 if test "${ac_cv_search_nanosleep+set}" = set; then :
19420 break
19422 done
19423 if test "${ac_cv_search_nanosleep+set}" = set; then :
19425 else
19426 ac_cv_search_nanosleep=no
19428 rm conftest.$ac_ext
19429 LIBS=$ac_func_search_save_LIBS
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19432 $as_echo "$ac_cv_search_nanosleep" >&6; }
19433 ac_res=$ac_cv_search_nanosleep
19434 if test "$ac_res" != no; then :
19435 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19439 else
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19441 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19442 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19443 $as_echo_n "(cached) " >&6
19444 else
19445 ac_func_search_save_LIBS=$LIBS
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19449 /* Override any GCC internal prototype to avoid an error.
19450 Use char because int might match the return type of a GCC
19451 builtin and then its argument prototype would still apply. */
19452 #ifdef __cplusplus
19453 extern "C"
19454 #endif
19455 char clock_gettime ();
19457 main ()
19459 return clock_gettime ();
19461 return 0;
19463 _ACEOF
19464 for ac_lib in '' posix4; do
19465 if test -z "$ac_lib"; then
19466 ac_res="none required"
19467 else
19468 ac_res=-l$ac_lib
19469 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19471 if test x$gcc_no_link = xyes; then
19472 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19474 if ac_fn_cxx_try_link "$LINENO"; then :
19475 ac_cv_search_clock_gettime=$ac_res
19477 rm -f core conftest.err conftest.$ac_objext \
19478 conftest$ac_exeext
19479 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19480 break
19482 done
19483 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19485 else
19486 ac_cv_search_clock_gettime=no
19488 rm conftest.$ac_ext
19489 LIBS=$ac_func_search_save_LIBS
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19492 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19493 ac_res=$ac_cv_search_clock_gettime
19494 if test "$ac_res" != no; then :
19495 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19500 $as_echo_n "checking for library containing nanosleep... " >&6; }
19501 if test "${ac_cv_search_nanosleep+set}" = set; then :
19502 $as_echo_n "(cached) " >&6
19503 else
19504 ac_func_search_save_LIBS=$LIBS
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19508 /* Override any GCC internal prototype to avoid an error.
19509 Use char because int might match the return type of a GCC
19510 builtin and then its argument prototype would still apply. */
19511 #ifdef __cplusplus
19512 extern "C"
19513 #endif
19514 char nanosleep ();
19516 main ()
19518 return nanosleep ();
19520 return 0;
19522 _ACEOF
19523 for ac_lib in '' posix4; do
19524 if test -z "$ac_lib"; then
19525 ac_res="none required"
19526 else
19527 ac_res=-l$ac_lib
19528 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19530 if test x$gcc_no_link = xyes; then
19531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19533 if ac_fn_cxx_try_link "$LINENO"; then :
19534 ac_cv_search_nanosleep=$ac_res
19536 rm -f core conftest.err conftest.$ac_objext \
19537 conftest$ac_exeext
19538 if test "${ac_cv_search_nanosleep+set}" = set; then :
19539 break
19541 done
19542 if test "${ac_cv_search_nanosleep+set}" = set; then :
19544 else
19545 ac_cv_search_nanosleep=no
19547 rm conftest.$ac_ext
19548 LIBS=$ac_func_search_save_LIBS
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19551 $as_echo "$ac_cv_search_nanosleep" >&6; }
19552 ac_res=$ac_cv_search_nanosleep
19553 if test "$ac_res" != no; then :
19554 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19560 case "$ac_cv_search_clock_gettime" in
19561 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19563 esac
19564 case "$ac_cv_search_nanosleep" in
19565 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19567 esac
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19570 $as_echo_n "checking for library containing sched_yield... " >&6; }
19571 if test "${ac_cv_search_sched_yield+set}" = set; then :
19572 $as_echo_n "(cached) " >&6
19573 else
19574 ac_func_search_save_LIBS=$LIBS
19575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19578 /* Override any GCC internal prototype to avoid an error.
19579 Use char because int might match the return type of a GCC
19580 builtin and then its argument prototype would still apply. */
19581 #ifdef __cplusplus
19582 extern "C"
19583 #endif
19584 char sched_yield ();
19586 main ()
19588 return sched_yield ();
19590 return 0;
19592 _ACEOF
19593 for ac_lib in '' rt posix4; do
19594 if test -z "$ac_lib"; then
19595 ac_res="none required"
19596 else
19597 ac_res=-l$ac_lib
19598 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19600 if test x$gcc_no_link = xyes; then
19601 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19603 if ac_fn_cxx_try_link "$LINENO"; then :
19604 ac_cv_search_sched_yield=$ac_res
19606 rm -f core conftest.err conftest.$ac_objext \
19607 conftest$ac_exeext
19608 if test "${ac_cv_search_sched_yield+set}" = set; then :
19609 break
19611 done
19612 if test "${ac_cv_search_sched_yield+set}" = set; then :
19614 else
19615 ac_cv_search_sched_yield=no
19617 rm conftest.$ac_ext
19618 LIBS=$ac_func_search_save_LIBS
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19621 $as_echo "$ac_cv_search_sched_yield" >&6; }
19622 ac_res=$ac_cv_search_sched_yield
19623 if test "$ac_res" != no; then :
19624 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19629 case "$ac_cv_search_sched_yield" in
19630 -lposix4*)
19631 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19633 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19636 -lrt*)
19637 if test x"$enable_libstdcxx_time" = x"rt"; then
19638 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19640 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19646 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19649 esac
19651 for ac_header in unistd.h
19652 do :
19653 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19654 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19655 cat >>confdefs.h <<_ACEOF
19656 #define HAVE_UNISTD_H 1
19657 _ACEOF
19658 ac_has_unistd_h=yes
19659 else
19660 ac_has_unistd_h=no
19663 done
19666 if test x"$ac_has_unistd_h" = x"yes"; then
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19668 $as_echo_n "checking for monotonic clock... " >&6; }
19669 if test x$gcc_no_link = xyes; then
19670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19674 #include <unistd.h>
19675 #include <time.h>
19678 main ()
19680 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19681 timespec tp;
19682 #endif
19683 clock_gettime(CLOCK_MONOTONIC, &tp);
19686 return 0;
19688 _ACEOF
19689 if ac_fn_cxx_try_link "$LINENO"; then :
19690 ac_has_clock_monotonic=yes
19691 else
19692 ac_has_clock_monotonic=no
19694 rm -f core conftest.err conftest.$ac_objext \
19695 conftest$ac_exeext conftest.$ac_ext
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19698 $as_echo "$ac_has_clock_monotonic" >&6; }
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19701 $as_echo_n "checking for realtime clock... " >&6; }
19702 if test x$gcc_no_link = xyes; then
19703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h. */
19707 #include <unistd.h>
19708 #include <time.h>
19711 main ()
19713 #if _POSIX_TIMERS > 0
19714 timespec tp;
19715 #endif
19716 clock_gettime(CLOCK_REALTIME, &tp);
19719 return 0;
19721 _ACEOF
19722 if ac_fn_cxx_try_link "$LINENO"; then :
19723 ac_has_clock_realtime=yes
19724 else
19725 ac_has_clock_realtime=no
19727 rm -f core conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext conftest.$ac_ext
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19731 $as_echo "$ac_has_clock_realtime" >&6; }
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19734 $as_echo_n "checking for nanosleep... " >&6; }
19735 if test x$gcc_no_link = xyes; then
19736 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19739 /* end confdefs.h. */
19740 #include <unistd.h>
19741 #include <time.h>
19744 main ()
19746 #if _POSIX_TIMERS > 0
19747 timespec tp;
19748 #endif
19749 nanosleep(&tp, 0);
19752 return 0;
19754 _ACEOF
19755 if ac_fn_cxx_try_link "$LINENO"; then :
19756 ac_has_nanosleep=yes
19757 else
19758 ac_has_nanosleep=no
19760 rm -f core conftest.err conftest.$ac_objext \
19761 conftest$ac_exeext conftest.$ac_ext
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19764 $as_echo "$ac_has_nanosleep" >&6; }
19768 if test x"$ac_has_clock_monotonic" = x"yes"; then
19770 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19774 if test x"$ac_has_clock_realtime" = x"yes"; then
19776 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19780 if test x"$ac_has_nanosleep" = x"yes"; then
19782 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19788 CXXFLAGS="$ac_save_CXXFLAGS"
19789 LIBS="$ac_save_LIBS"
19790 ac_ext=c
19791 ac_cpp='$CPP $CPPFLAGS'
19792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19798 # For gthread support
19801 ac_ext=cpp
19802 ac_cpp='$CXXCPP $CPPFLAGS'
19803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19808 ac_save_CXXFLAGS="$CXXFLAGS"
19809 CXXFLAGS="$CXXFLAGS -fno-exceptions \
19810 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
19812 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19813 case $target_thread_file in
19814 posix)
19815 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19816 esac
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
19819 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19822 /* end confdefs.h. */
19823 #include <unistd.h>
19825 main ()
19828 // In case of POSIX threads check _POSIX_TIMEOUTS.
19829 #if (defined(_PTHREADS) \
19830 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19831 #error
19832 #endif
19835 return 0;
19837 _ACEOF
19838 if ac_fn_cxx_try_compile "$LINENO"; then :
19839 ac_gthread_use_mutex_timedlock=1
19840 else
19841 ac_gthread_use_mutex_timedlock=0
19843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19846 cat >>confdefs.h <<_ACEOF
19847 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19848 _ACEOF
19851 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19852 else res_mutex_timedlock=no ; fi
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19854 $as_echo "$res_mutex_timedlock" >&6; }
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19857 $as_echo_n "checking for gthreads library... " >&6; }
19859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19860 /* end confdefs.h. */
19861 #include "gthr.h"
19863 main ()
19866 #ifndef __GTHREADS_CXX0X
19867 #error
19868 #endif
19871 return 0;
19873 _ACEOF
19874 if ac_fn_cxx_try_compile "$LINENO"; then :
19875 ac_has_gthreads=yes
19876 else
19877 ac_has_gthreads=no
19879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19882 $as_echo "$ac_has_gthreads" >&6; }
19884 if test x"$ac_has_gthreads" = x"yes"; then
19886 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19890 CXXFLAGS="$ac_save_CXXFLAGS"
19891 ac_ext=c
19892 ac_cpp='$CPP $CPPFLAGS'
19893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19900 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19901 if test "x$ac_cv_header_locale_h" = x""yes; then :
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19904 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19905 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19906 $as_echo_n "(cached) " >&6
19907 else
19908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19909 /* end confdefs.h. */
19910 #include <locale.h>
19912 main ()
19914 return LC_MESSAGES
19916 return 0;
19918 _ACEOF
19919 if ac_fn_c_try_compile "$LINENO"; then :
19920 ac_cv_val_LC_MESSAGES=yes
19921 else
19922 ac_cv_val_LC_MESSAGES=no
19924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19927 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19928 if test $ac_cv_val_LC_MESSAGES = yes; then
19930 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19939 # For hardware_concurrency
19940 for ac_header in sys/sysinfo.h
19941 do :
19942 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19943 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19944 cat >>confdefs.h <<_ACEOF
19945 #define HAVE_SYS_SYSINFO_H 1
19946 _ACEOF
19950 done
19955 ac_ext=cpp
19956 ac_cpp='$CXXCPP $CPPFLAGS'
19957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19961 ac_save_CXXFLAGS="$CXXFLAGS"
19962 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19965 $as_echo_n "checking for get_nprocs... " >&6; }
19966 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19967 $as_echo_n "(cached) " >&6
19968 else
19970 if test x$gcc_no_link = xyes; then
19971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19972 /* end confdefs.h. */
19973 #include <sys/sysinfo.h>
19975 main ()
19977 int n = get_nprocs();
19979 return 0;
19981 _ACEOF
19982 if ac_fn_cxx_try_compile "$LINENO"; then :
19983 glibcxx_cv_GET_NPROCS=yes
19984 else
19985 glibcxx_cv_GET_NPROCS=no
19987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19988 else
19989 if test x$gcc_no_link = xyes; then
19990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19993 /* end confdefs.h. */
19994 #include <sys/sysinfo.h>
19996 main ()
19998 int n = get_nprocs();
20000 return 0;
20002 _ACEOF
20003 if ac_fn_cxx_try_link "$LINENO"; then :
20004 glibcxx_cv_GET_NPROCS=yes
20005 else
20006 glibcxx_cv_GET_NPROCS=no
20008 rm -f core conftest.err conftest.$ac_objext \
20009 conftest$ac_exeext conftest.$ac_ext
20014 if test $glibcxx_cv_GET_NPROCS = yes; then
20016 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20020 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20022 CXXFLAGS="$ac_save_CXXFLAGS"
20023 ac_ext=c
20024 ac_cpp='$CPP $CPPFLAGS'
20025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20030 for ac_header in unistd.h
20031 do :
20032 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20033 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20034 cat >>confdefs.h <<_ACEOF
20035 #define HAVE_UNISTD_H 1
20036 _ACEOF
20040 done
20045 ac_ext=cpp
20046 ac_cpp='$CXXCPP $CPPFLAGS'
20047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20051 ac_save_CXXFLAGS="$CXXFLAGS"
20052 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20055 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20056 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20057 $as_echo_n "(cached) " >&6
20058 else
20060 if test x$gcc_no_link = xyes; then
20061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20062 /* end confdefs.h. */
20063 #include <unistd.h>
20065 main ()
20067 int n = sysconf(_SC_NPROCESSORS_ONLN);
20069 return 0;
20071 _ACEOF
20072 if ac_fn_cxx_try_compile "$LINENO"; then :
20073 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20074 else
20075 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20078 else
20079 if test x$gcc_no_link = xyes; then
20080 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20084 #include <unistd.h>
20086 main ()
20088 int n = sysconf(_SC_NPROCESSORS_ONLN);
20090 return 0;
20092 _ACEOF
20093 if ac_fn_cxx_try_link "$LINENO"; then :
20094 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20095 else
20096 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20098 rm -f core conftest.err conftest.$ac_objext \
20099 conftest$ac_exeext conftest.$ac_ext
20104 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20106 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20110 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20112 CXXFLAGS="$ac_save_CXXFLAGS"
20113 ac_ext=c
20114 ac_cpp='$CPP $CPPFLAGS'
20115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20121 # Check for available headers.
20122 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20123 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20124 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20125 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20126 wchar.h wctype.h
20127 do :
20128 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20129 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20130 eval as_val=\$$as_ac_Header
20131 if test "x$as_val" = x""yes; then :
20132 cat >>confdefs.h <<_ACEOF
20133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20134 _ACEOF
20138 done
20141 # Only do link tests if native. Else, hardcode.
20142 if $GLIBCXX_IS_NATIVE; then
20144 # We can do more elaborate tests that assume a working linker.
20145 CANADIAN=no
20149 # Check whether --with-gnu-ld was given.
20150 if test "${with_gnu_ld+set}" = set; then :
20151 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20152 else
20153 with_gnu_ld=no
20156 ac_prog=ld
20157 if test "$GCC" = yes; then
20158 # Check if gcc -print-prog-name=ld gives a path.
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20160 $as_echo_n "checking for ld used by $CC... " >&6; }
20161 case $host in
20162 *-*-mingw*)
20163 # gcc leaves a trailing carriage return which upsets mingw
20164 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20166 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20167 esac
20168 case $ac_prog in
20169 # Accept absolute paths.
20170 [\\/]* | ?:[\\/]*)
20171 re_direlt='/[^/][^/]*/\.\./'
20172 # Canonicalize the pathname of ld
20173 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20174 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20175 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20176 done
20177 test -z "$LD" && LD="$ac_prog"
20180 # If it fails, then pretend we aren't using GCC.
20181 ac_prog=ld
20184 # If it is relative, then search for the first ld in PATH.
20185 with_gnu_ld=unknown
20187 esac
20188 elif test "$with_gnu_ld" = yes; then
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20190 $as_echo_n "checking for GNU ld... " >&6; }
20191 else
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20193 $as_echo_n "checking for non-GNU ld... " >&6; }
20195 if test "${lt_cv_path_LD+set}" = set; then :
20196 $as_echo_n "(cached) " >&6
20197 else
20198 if test -z "$LD"; then
20199 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20200 for ac_dir in $PATH; do
20201 IFS="$lt_save_ifs"
20202 test -z "$ac_dir" && ac_dir=.
20203 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20204 lt_cv_path_LD="$ac_dir/$ac_prog"
20205 # Check to see if the program is GNU ld. I'd rather use --version,
20206 # but apparently some variants of GNU ld only accept -v.
20207 # Break only if it was the GNU/non-GNU ld that we prefer.
20208 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20209 *GNU* | *'with BFD'*)
20210 test "$with_gnu_ld" != no && break
20213 test "$with_gnu_ld" != yes && break
20215 esac
20217 done
20218 IFS="$lt_save_ifs"
20219 else
20220 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20224 LD="$lt_cv_path_LD"
20225 if test -n "$LD"; then
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20227 $as_echo "$LD" >&6; }
20228 else
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20230 $as_echo "no" >&6; }
20232 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20234 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20235 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20236 $as_echo_n "(cached) " >&6
20237 else
20238 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20239 case `$LD -v 2>&1 </dev/null` in
20240 *GNU* | *'with BFD'*)
20241 lt_cv_prog_gnu_ld=yes
20244 lt_cv_prog_gnu_ld=no
20246 esac
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20249 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20250 with_gnu_ld=$lt_cv_prog_gnu_ld
20258 # If we're not using GNU ld, then there's no point in even trying these
20259 # tests. Check for that first. We should have already tested for gld
20260 # by now (in libtool), but require it now just to be safe...
20261 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20262 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20266 # The name set by libtool depends on the version of libtool. Shame on us
20267 # for depending on an impl detail, but c'est la vie. Older versions used
20268 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20269 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20270 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20271 # set (hence we're using an older libtool), then set it.
20272 if test x${with_gnu_ld+set} != xset; then
20273 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20274 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20275 with_gnu_ld=no
20276 else
20277 with_gnu_ld=$ac_cv_prog_gnu_ld
20281 # Start by getting the version number. I think the libtool test already
20282 # does some of this, but throws away the result.
20283 glibcxx_ld_is_gold=no
20284 if test x"$with_gnu_ld" = x"yes"; then
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20286 $as_echo_n "checking for ld version... " >&6; }
20288 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20289 glibcxx_ld_is_gold=yes
20291 ldver=`$LD --version 2>/dev/null |
20292 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'`
20294 glibcxx_gnu_ld_version=`echo $ldver | \
20295 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20297 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20300 # Set --gc-sections.
20301 glibcxx_have_gc_sections=no
20302 if test "$glibcxx_ld_is_gold" = "yes"; then
20303 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20304 glibcxx_have_gc_sections=yes
20306 else
20307 glibcxx_gcsections_min_ld=21602
20308 if test x"$with_gnu_ld" = x"yes" &&
20309 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20310 glibcxx_have_gc_sections=yes
20313 if test "$glibcxx_have_gc_sections" = "yes"; then
20314 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20315 # NB: This flag only works reliably after 2.16.1. Configure tests
20316 # for this are difficult, so hard wire a value that should work.
20318 ac_test_CFLAGS="${CFLAGS+set}"
20319 ac_save_CFLAGS="$CFLAGS"
20320 CFLAGS='-Wl,--gc-sections'
20322 # Check for -Wl,--gc-sections
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20324 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20325 if test x$gcc_no_link = xyes; then
20326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20329 /* end confdefs.h. */
20330 int one(void) { return 1; }
20331 int two(void) { return 2; }
20334 main ()
20336 two();
20338 return 0;
20340 _ACEOF
20341 if ac_fn_c_try_link "$LINENO"; then :
20342 ac_gcsections=yes
20343 else
20344 ac_gcsections=no
20346 rm -f core conftest.err conftest.$ac_objext \
20347 conftest$ac_exeext conftest.$ac_ext
20348 if test "$ac_gcsections" = "yes"; then
20349 rm -f conftest.c
20350 touch conftest.c
20351 if $CC -c conftest.c; then
20352 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20353 grep "Warning: gc-sections option ignored" > /dev/null; then
20354 ac_gcsections=no
20357 rm -f conftest.c conftest.o conftest
20359 if test "$ac_gcsections" = "yes"; then
20360 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20363 $as_echo "$ac_gcsections" >&6; }
20365 if test "$ac_test_CFLAGS" = set; then
20366 CFLAGS="$ac_save_CFLAGS"
20367 else
20368 # this is the suspicious part
20369 CFLAGS=''
20373 # Set -z,relro.
20374 # Note this is only for shared objects.
20375 ac_ld_relro=no
20376 if test x"$with_gnu_ld" = x"yes"; then
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20378 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20379 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20380 if test -n "$cxx_z_relo"; then
20381 OPT_LDFLAGS="-Wl,-z,relro"
20382 ac_ld_relro=yes
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20385 $as_echo "$ac_ld_relro" >&6; }
20388 # Set linker optimization flags.
20389 if test x"$with_gnu_ld" = x"yes"; then
20390 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20397 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20398 ac_save_CXXFLAGS="$CXXFLAGS"
20399 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20402 $as_echo_n "checking for sin in -lm... " >&6; }
20403 if test "${ac_cv_lib_m_sin+set}" = set; then :
20404 $as_echo_n "(cached) " >&6
20405 else
20406 ac_check_lib_save_LIBS=$LIBS
20407 LIBS="-lm $LIBS"
20408 if test x$gcc_no_link = xyes; then
20409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h. */
20414 /* Override any GCC internal prototype to avoid an error.
20415 Use char because int might match the return type of a GCC
20416 builtin and then its argument prototype would still apply. */
20417 #ifdef __cplusplus
20418 extern "C"
20419 #endif
20420 char sin ();
20422 main ()
20424 return sin ();
20426 return 0;
20428 _ACEOF
20429 if ac_fn_c_try_link "$LINENO"; then :
20430 ac_cv_lib_m_sin=yes
20431 else
20432 ac_cv_lib_m_sin=no
20434 rm -f core conftest.err conftest.$ac_objext \
20435 conftest$ac_exeext conftest.$ac_ext
20436 LIBS=$ac_check_lib_save_LIBS
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20439 $as_echo "$ac_cv_lib_m_sin" >&6; }
20440 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20441 libm="-lm"
20444 ac_save_LIBS="$LIBS"
20445 LIBS="$LIBS $libm"
20449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20450 $as_echo_n "checking for isinf declaration... " >&6; }
20451 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20452 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20453 $as_echo_n "(cached) " >&6
20454 else
20457 ac_ext=cpp
20458 ac_cpp='$CXXCPP $CPPFLAGS'
20459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20464 /* end confdefs.h. */
20465 #include <math.h>
20466 #ifdef HAVE_IEEEFP_H
20467 #include <ieeefp.h>
20468 #endif
20471 main ()
20473 isinf(0);
20475 return 0;
20477 _ACEOF
20478 if ac_fn_cxx_try_compile "$LINENO"; then :
20479 glibcxx_cv_func_isinf_use=yes
20480 else
20481 glibcxx_cv_func_isinf_use=no
20483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20484 ac_ext=c
20485 ac_cpp='$CPP $CPPFLAGS'
20486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20495 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20497 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20498 for ac_func in isinf
20499 do :
20500 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20501 if test "x$ac_cv_func_isinf" = x""yes; then :
20502 cat >>confdefs.h <<_ACEOF
20503 #define HAVE_ISINF 1
20504 _ACEOF
20507 done
20509 else
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20512 $as_echo_n "checking for _isinf declaration... " >&6; }
20513 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20514 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20515 $as_echo_n "(cached) " >&6
20516 else
20519 ac_ext=cpp
20520 ac_cpp='$CXXCPP $CPPFLAGS'
20521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20526 /* end confdefs.h. */
20527 #include <math.h>
20528 #ifdef HAVE_IEEEFP_H
20529 #include <ieeefp.h>
20530 #endif
20533 main ()
20535 _isinf(0);
20537 return 0;
20539 _ACEOF
20540 if ac_fn_cxx_try_compile "$LINENO"; then :
20541 glibcxx_cv_func__isinf_use=yes
20542 else
20543 glibcxx_cv_func__isinf_use=no
20545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 ac_ext=c
20547 ac_cpp='$CPP $CPPFLAGS'
20548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20557 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20559 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20560 for ac_func in _isinf
20561 do :
20562 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20563 if test "x$ac_cv_func__isinf" = x""yes; then :
20564 cat >>confdefs.h <<_ACEOF
20565 #define HAVE__ISINF 1
20566 _ACEOF
20569 done
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20579 $as_echo_n "checking for isnan declaration... " >&6; }
20580 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20581 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20582 $as_echo_n "(cached) " >&6
20583 else
20586 ac_ext=cpp
20587 ac_cpp='$CXXCPP $CPPFLAGS'
20588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h. */
20594 #include <math.h>
20595 #ifdef HAVE_IEEEFP_H
20596 #include <ieeefp.h>
20597 #endif
20600 main ()
20602 isnan(0);
20604 return 0;
20606 _ACEOF
20607 if ac_fn_cxx_try_compile "$LINENO"; then :
20608 glibcxx_cv_func_isnan_use=yes
20609 else
20610 glibcxx_cv_func_isnan_use=no
20612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20613 ac_ext=c
20614 ac_cpp='$CPP $CPPFLAGS'
20615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20624 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20626 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20627 for ac_func in isnan
20628 do :
20629 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20630 if test "x$ac_cv_func_isnan" = x""yes; then :
20631 cat >>confdefs.h <<_ACEOF
20632 #define HAVE_ISNAN 1
20633 _ACEOF
20636 done
20638 else
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20641 $as_echo_n "checking for _isnan declaration... " >&6; }
20642 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20643 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20644 $as_echo_n "(cached) " >&6
20645 else
20648 ac_ext=cpp
20649 ac_cpp='$CXXCPP $CPPFLAGS'
20650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20655 /* end confdefs.h. */
20656 #include <math.h>
20657 #ifdef HAVE_IEEEFP_H
20658 #include <ieeefp.h>
20659 #endif
20662 main ()
20664 _isnan(0);
20666 return 0;
20668 _ACEOF
20669 if ac_fn_cxx_try_compile "$LINENO"; then :
20670 glibcxx_cv_func__isnan_use=yes
20671 else
20672 glibcxx_cv_func__isnan_use=no
20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20675 ac_ext=c
20676 ac_cpp='$CPP $CPPFLAGS'
20677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20686 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20688 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20689 for ac_func in _isnan
20690 do :
20691 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20692 if test "x$ac_cv_func__isnan" = x""yes; then :
20693 cat >>confdefs.h <<_ACEOF
20694 #define HAVE__ISNAN 1
20695 _ACEOF
20698 done
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20708 $as_echo_n "checking for finite declaration... " >&6; }
20709 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20710 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20711 $as_echo_n "(cached) " >&6
20712 else
20715 ac_ext=cpp
20716 ac_cpp='$CXXCPP $CPPFLAGS'
20717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20723 #include <math.h>
20724 #ifdef HAVE_IEEEFP_H
20725 #include <ieeefp.h>
20726 #endif
20729 main ()
20731 finite(0);
20733 return 0;
20735 _ACEOF
20736 if ac_fn_cxx_try_compile "$LINENO"; then :
20737 glibcxx_cv_func_finite_use=yes
20738 else
20739 glibcxx_cv_func_finite_use=no
20741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20742 ac_ext=c
20743 ac_cpp='$CPP $CPPFLAGS'
20744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20753 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20755 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20756 for ac_func in finite
20757 do :
20758 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20759 if test "x$ac_cv_func_finite" = x""yes; then :
20760 cat >>confdefs.h <<_ACEOF
20761 #define HAVE_FINITE 1
20762 _ACEOF
20765 done
20767 else
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20770 $as_echo_n "checking for _finite declaration... " >&6; }
20771 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20772 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20773 $as_echo_n "(cached) " >&6
20774 else
20777 ac_ext=cpp
20778 ac_cpp='$CXXCPP $CPPFLAGS'
20779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20784 /* end confdefs.h. */
20785 #include <math.h>
20786 #ifdef HAVE_IEEEFP_H
20787 #include <ieeefp.h>
20788 #endif
20791 main ()
20793 _finite(0);
20795 return 0;
20797 _ACEOF
20798 if ac_fn_cxx_try_compile "$LINENO"; then :
20799 glibcxx_cv_func__finite_use=yes
20800 else
20801 glibcxx_cv_func__finite_use=no
20803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20804 ac_ext=c
20805 ac_cpp='$CPP $CPPFLAGS'
20806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20815 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20817 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20818 for ac_func in _finite
20819 do :
20820 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20821 if test "x$ac_cv_func__finite" = x""yes; then :
20822 cat >>confdefs.h <<_ACEOF
20823 #define HAVE__FINITE 1
20824 _ACEOF
20827 done
20836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20837 $as_echo_n "checking for sincos declaration... " >&6; }
20838 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20839 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20840 $as_echo_n "(cached) " >&6
20841 else
20844 ac_ext=cpp
20845 ac_cpp='$CXXCPP $CPPFLAGS'
20846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20852 #include <math.h>
20854 main ()
20856 sincos(0, 0, 0);
20858 return 0;
20860 _ACEOF
20861 if ac_fn_cxx_try_compile "$LINENO"; then :
20862 glibcxx_cv_func_sincos_use=yes
20863 else
20864 glibcxx_cv_func_sincos_use=no
20866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20867 ac_ext=c
20868 ac_cpp='$CPP $CPPFLAGS'
20869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20878 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20880 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20881 for ac_func in sincos
20882 do :
20883 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20884 if test "x$ac_cv_func_sincos" = x""yes; then :
20885 cat >>confdefs.h <<_ACEOF
20886 #define HAVE_SINCOS 1
20887 _ACEOF
20890 done
20892 else
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20895 $as_echo_n "checking for _sincos declaration... " >&6; }
20896 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20897 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20898 $as_echo_n "(cached) " >&6
20899 else
20902 ac_ext=cpp
20903 ac_cpp='$CXXCPP $CPPFLAGS'
20904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20909 /* end confdefs.h. */
20910 #include <math.h>
20912 main ()
20914 _sincos(0, 0, 0);
20916 return 0;
20918 _ACEOF
20919 if ac_fn_cxx_try_compile "$LINENO"; then :
20920 glibcxx_cv_func__sincos_use=yes
20921 else
20922 glibcxx_cv_func__sincos_use=no
20924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20925 ac_ext=c
20926 ac_cpp='$CPP $CPPFLAGS'
20927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20936 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20938 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20939 for ac_func in _sincos
20940 do :
20941 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20942 if test "x$ac_cv_func__sincos" = x""yes; then :
20943 cat >>confdefs.h <<_ACEOF
20944 #define HAVE__SINCOS 1
20945 _ACEOF
20948 done
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20958 $as_echo_n "checking for fpclass declaration... " >&6; }
20959 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20960 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20961 $as_echo_n "(cached) " >&6
20962 else
20965 ac_ext=cpp
20966 ac_cpp='$CXXCPP $CPPFLAGS'
20967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20972 /* end confdefs.h. */
20973 #include <math.h>
20974 #ifdef HAVE_IEEEFP_H
20975 #include <ieeefp.h>
20976 #endif
20979 main ()
20981 fpclass(0);
20983 return 0;
20985 _ACEOF
20986 if ac_fn_cxx_try_compile "$LINENO"; then :
20987 glibcxx_cv_func_fpclass_use=yes
20988 else
20989 glibcxx_cv_func_fpclass_use=no
20991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20992 ac_ext=c
20993 ac_cpp='$CPP $CPPFLAGS'
20994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21003 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21005 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21006 for ac_func in fpclass
21007 do :
21008 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21009 if test "x$ac_cv_func_fpclass" = x""yes; then :
21010 cat >>confdefs.h <<_ACEOF
21011 #define HAVE_FPCLASS 1
21012 _ACEOF
21015 done
21017 else
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21020 $as_echo_n "checking for _fpclass declaration... " >&6; }
21021 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21022 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21023 $as_echo_n "(cached) " >&6
21024 else
21027 ac_ext=cpp
21028 ac_cpp='$CXXCPP $CPPFLAGS'
21029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21034 /* end confdefs.h. */
21035 #include <math.h>
21036 #ifdef HAVE_IEEEFP_H
21037 #include <ieeefp.h>
21038 #endif
21041 main ()
21043 _fpclass(0);
21045 return 0;
21047 _ACEOF
21048 if ac_fn_cxx_try_compile "$LINENO"; then :
21049 glibcxx_cv_func__fpclass_use=yes
21050 else
21051 glibcxx_cv_func__fpclass_use=no
21053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21054 ac_ext=c
21055 ac_cpp='$CPP $CPPFLAGS'
21056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21065 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21067 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21068 for ac_func in _fpclass
21069 do :
21070 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21071 if test "x$ac_cv_func__fpclass" = x""yes; then :
21072 cat >>confdefs.h <<_ACEOF
21073 #define HAVE__FPCLASS 1
21074 _ACEOF
21077 done
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21087 $as_echo_n "checking for qfpclass declaration... " >&6; }
21088 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21089 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21090 $as_echo_n "(cached) " >&6
21091 else
21094 ac_ext=cpp
21095 ac_cpp='$CXXCPP $CPPFLAGS'
21096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21101 /* end confdefs.h. */
21102 #include <math.h>
21103 #ifdef HAVE_IEEEFP_H
21104 #include <ieeefp.h>
21105 #endif
21108 main ()
21110 qfpclass(0);
21112 return 0;
21114 _ACEOF
21115 if ac_fn_cxx_try_compile "$LINENO"; then :
21116 glibcxx_cv_func_qfpclass_use=yes
21117 else
21118 glibcxx_cv_func_qfpclass_use=no
21120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121 ac_ext=c
21122 ac_cpp='$CPP $CPPFLAGS'
21123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21132 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21134 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21135 for ac_func in qfpclass
21136 do :
21137 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21138 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21139 cat >>confdefs.h <<_ACEOF
21140 #define HAVE_QFPCLASS 1
21141 _ACEOF
21144 done
21146 else
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21149 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21150 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21151 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21152 $as_echo_n "(cached) " >&6
21153 else
21156 ac_ext=cpp
21157 ac_cpp='$CXXCPP $CPPFLAGS'
21158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21163 /* end confdefs.h. */
21164 #include <math.h>
21165 #ifdef HAVE_IEEEFP_H
21166 #include <ieeefp.h>
21167 #endif
21170 main ()
21172 _qfpclass(0);
21174 return 0;
21176 _ACEOF
21177 if ac_fn_cxx_try_compile "$LINENO"; then :
21178 glibcxx_cv_func__qfpclass_use=yes
21179 else
21180 glibcxx_cv_func__qfpclass_use=no
21182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21183 ac_ext=c
21184 ac_cpp='$CPP $CPPFLAGS'
21185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21194 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21196 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21197 for ac_func in _qfpclass
21198 do :
21199 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21200 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21201 cat >>confdefs.h <<_ACEOF
21202 #define HAVE__QFPCLASS 1
21203 _ACEOF
21206 done
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21216 $as_echo_n "checking for hypot declaration... " >&6; }
21217 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21218 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21219 $as_echo_n "(cached) " >&6
21220 else
21223 ac_ext=cpp
21224 ac_cpp='$CXXCPP $CPPFLAGS'
21225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21230 /* end confdefs.h. */
21231 #include <math.h>
21233 main ()
21235 hypot(0, 0);
21237 return 0;
21239 _ACEOF
21240 if ac_fn_cxx_try_compile "$LINENO"; then :
21241 glibcxx_cv_func_hypot_use=yes
21242 else
21243 glibcxx_cv_func_hypot_use=no
21245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21246 ac_ext=c
21247 ac_cpp='$CPP $CPPFLAGS'
21248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21257 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21259 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21260 for ac_func in hypot
21261 do :
21262 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21263 if test "x$ac_cv_func_hypot" = x""yes; then :
21264 cat >>confdefs.h <<_ACEOF
21265 #define HAVE_HYPOT 1
21266 _ACEOF
21269 done
21271 else
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21274 $as_echo_n "checking for _hypot declaration... " >&6; }
21275 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21276 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21277 $as_echo_n "(cached) " >&6
21278 else
21281 ac_ext=cpp
21282 ac_cpp='$CXXCPP $CPPFLAGS'
21283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21288 /* end confdefs.h. */
21289 #include <math.h>
21291 main ()
21293 _hypot(0, 0);
21295 return 0;
21297 _ACEOF
21298 if ac_fn_cxx_try_compile "$LINENO"; then :
21299 glibcxx_cv_func__hypot_use=yes
21300 else
21301 glibcxx_cv_func__hypot_use=no
21303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21304 ac_ext=c
21305 ac_cpp='$CPP $CPPFLAGS'
21306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21315 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21317 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21318 for ac_func in _hypot
21319 do :
21320 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21321 if test "x$ac_cv_func__hypot" = x""yes; then :
21322 cat >>confdefs.h <<_ACEOF
21323 #define HAVE__HYPOT 1
21324 _ACEOF
21327 done
21336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21337 $as_echo_n "checking for float trig functions... " >&6; }
21338 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21339 $as_echo_n "(cached) " >&6
21340 else
21343 ac_ext=cpp
21344 ac_cpp='$CXXCPP $CPPFLAGS'
21345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21350 /* end confdefs.h. */
21351 #include <math.h>
21353 main ()
21355 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21357 return 0;
21359 _ACEOF
21360 if ac_fn_cxx_try_compile "$LINENO"; then :
21361 glibcxx_cv_func_float_trig_use=yes
21362 else
21363 glibcxx_cv_func_float_trig_use=no
21365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21366 ac_ext=c
21367 ac_cpp='$CPP $CPPFLAGS'
21368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21375 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21376 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21377 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21378 do :
21379 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21380 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21381 eval as_val=\$$as_ac_var
21382 if test "x$as_val" = x""yes; then :
21383 cat >>confdefs.h <<_ACEOF
21384 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21385 _ACEOF
21388 done
21390 else
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21392 $as_echo_n "checking for _float trig functions... " >&6; }
21393 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21394 $as_echo_n "(cached) " >&6
21395 else
21398 ac_ext=cpp
21399 ac_cpp='$CXXCPP $CPPFLAGS'
21400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21405 /* end confdefs.h. */
21406 #include <math.h>
21408 main ()
21410 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21412 return 0;
21414 _ACEOF
21415 if ac_fn_cxx_try_compile "$LINENO"; then :
21416 glibcxx_cv_func__float_trig_use=yes
21417 else
21418 glibcxx_cv_func__float_trig_use=no
21420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21421 ac_ext=c
21422 ac_cpp='$CPP $CPPFLAGS'
21423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21430 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21431 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21432 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21433 do :
21434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21436 eval as_val=\$$as_ac_var
21437 if test "x$as_val" = x""yes; then :
21438 cat >>confdefs.h <<_ACEOF
21439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21440 _ACEOF
21443 done
21452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21453 $as_echo_n "checking for float round functions... " >&6; }
21454 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21455 $as_echo_n "(cached) " >&6
21456 else
21459 ac_ext=cpp
21460 ac_cpp='$CXXCPP $CPPFLAGS'
21461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21466 /* end confdefs.h. */
21467 #include <math.h>
21469 main ()
21471 ceilf (0); floorf (0);
21473 return 0;
21475 _ACEOF
21476 if ac_fn_cxx_try_compile "$LINENO"; then :
21477 glibcxx_cv_func_float_round_use=yes
21478 else
21479 glibcxx_cv_func_float_round_use=no
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21482 ac_ext=c
21483 ac_cpp='$CPP $CPPFLAGS'
21484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21491 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21492 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21493 for ac_func in ceilf floorf
21494 do :
21495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21497 eval as_val=\$$as_ac_var
21498 if test "x$as_val" = x""yes; then :
21499 cat >>confdefs.h <<_ACEOF
21500 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21501 _ACEOF
21504 done
21506 else
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21508 $as_echo_n "checking for _float round functions... " >&6; }
21509 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21510 $as_echo_n "(cached) " >&6
21511 else
21514 ac_ext=cpp
21515 ac_cpp='$CXXCPP $CPPFLAGS'
21516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21521 /* end confdefs.h. */
21522 #include <math.h>
21524 main ()
21526 _ceilf (0); _floorf (0);
21528 return 0;
21530 _ACEOF
21531 if ac_fn_cxx_try_compile "$LINENO"; then :
21532 glibcxx_cv_func__float_round_use=yes
21533 else
21534 glibcxx_cv_func__float_round_use=no
21536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21537 ac_ext=c
21538 ac_cpp='$CPP $CPPFLAGS'
21539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21546 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21547 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21548 for ac_func in _ceilf _floorf
21549 do :
21550 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21551 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21552 eval as_val=\$$as_ac_var
21553 if test "x$as_val" = x""yes; then :
21554 cat >>confdefs.h <<_ACEOF
21555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21556 _ACEOF
21559 done
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21570 $as_echo_n "checking for expf declaration... " >&6; }
21571 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21572 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21573 $as_echo_n "(cached) " >&6
21574 else
21577 ac_ext=cpp
21578 ac_cpp='$CXXCPP $CPPFLAGS'
21579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21584 /* end confdefs.h. */
21585 #include <math.h>
21586 #ifdef HAVE_IEEEFP_H
21587 #include <ieeefp.h>
21588 #endif
21591 main ()
21593 expf(0);
21595 return 0;
21597 _ACEOF
21598 if ac_fn_cxx_try_compile "$LINENO"; then :
21599 glibcxx_cv_func_expf_use=yes
21600 else
21601 glibcxx_cv_func_expf_use=no
21603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21604 ac_ext=c
21605 ac_cpp='$CPP $CPPFLAGS'
21606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21615 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21617 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21618 for ac_func in expf
21619 do :
21620 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21621 if test "x$ac_cv_func_expf" = x""yes; then :
21622 cat >>confdefs.h <<_ACEOF
21623 #define HAVE_EXPF 1
21624 _ACEOF
21627 done
21629 else
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21632 $as_echo_n "checking for _expf declaration... " >&6; }
21633 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21634 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21635 $as_echo_n "(cached) " >&6
21636 else
21639 ac_ext=cpp
21640 ac_cpp='$CXXCPP $CPPFLAGS'
21641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21646 /* end confdefs.h. */
21647 #include <math.h>
21648 #ifdef HAVE_IEEEFP_H
21649 #include <ieeefp.h>
21650 #endif
21653 main ()
21655 _expf(0);
21657 return 0;
21659 _ACEOF
21660 if ac_fn_cxx_try_compile "$LINENO"; then :
21661 glibcxx_cv_func__expf_use=yes
21662 else
21663 glibcxx_cv_func__expf_use=no
21665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21666 ac_ext=c
21667 ac_cpp='$CPP $CPPFLAGS'
21668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21677 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21679 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21680 for ac_func in _expf
21681 do :
21682 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21683 if test "x$ac_cv_func__expf" = x""yes; then :
21684 cat >>confdefs.h <<_ACEOF
21685 #define HAVE__EXPF 1
21686 _ACEOF
21689 done
21698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21699 $as_echo_n "checking for isnanf declaration... " >&6; }
21700 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21701 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21702 $as_echo_n "(cached) " >&6
21703 else
21706 ac_ext=cpp
21707 ac_cpp='$CXXCPP $CPPFLAGS'
21708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21713 /* end confdefs.h. */
21714 #include <math.h>
21715 #ifdef HAVE_IEEEFP_H
21716 #include <ieeefp.h>
21717 #endif
21720 main ()
21722 isnanf(0);
21724 return 0;
21726 _ACEOF
21727 if ac_fn_cxx_try_compile "$LINENO"; then :
21728 glibcxx_cv_func_isnanf_use=yes
21729 else
21730 glibcxx_cv_func_isnanf_use=no
21732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21733 ac_ext=c
21734 ac_cpp='$CPP $CPPFLAGS'
21735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21744 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21746 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21747 for ac_func in isnanf
21748 do :
21749 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21750 if test "x$ac_cv_func_isnanf" = x""yes; then :
21751 cat >>confdefs.h <<_ACEOF
21752 #define HAVE_ISNANF 1
21753 _ACEOF
21756 done
21758 else
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21761 $as_echo_n "checking for _isnanf declaration... " >&6; }
21762 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21763 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21764 $as_echo_n "(cached) " >&6
21765 else
21768 ac_ext=cpp
21769 ac_cpp='$CXXCPP $CPPFLAGS'
21770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21775 /* end confdefs.h. */
21776 #include <math.h>
21777 #ifdef HAVE_IEEEFP_H
21778 #include <ieeefp.h>
21779 #endif
21782 main ()
21784 _isnanf(0);
21786 return 0;
21788 _ACEOF
21789 if ac_fn_cxx_try_compile "$LINENO"; then :
21790 glibcxx_cv_func__isnanf_use=yes
21791 else
21792 glibcxx_cv_func__isnanf_use=no
21794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21795 ac_ext=c
21796 ac_cpp='$CPP $CPPFLAGS'
21797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21806 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21808 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21809 for ac_func in _isnanf
21810 do :
21811 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21812 if test "x$ac_cv_func__isnanf" = x""yes; then :
21813 cat >>confdefs.h <<_ACEOF
21814 #define HAVE__ISNANF 1
21815 _ACEOF
21818 done
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21828 $as_echo_n "checking for isinff declaration... " >&6; }
21829 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21830 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21831 $as_echo_n "(cached) " >&6
21832 else
21835 ac_ext=cpp
21836 ac_cpp='$CXXCPP $CPPFLAGS'
21837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21842 /* end confdefs.h. */
21843 #include <math.h>
21844 #ifdef HAVE_IEEEFP_H
21845 #include <ieeefp.h>
21846 #endif
21849 main ()
21851 isinff(0);
21853 return 0;
21855 _ACEOF
21856 if ac_fn_cxx_try_compile "$LINENO"; then :
21857 glibcxx_cv_func_isinff_use=yes
21858 else
21859 glibcxx_cv_func_isinff_use=no
21861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21862 ac_ext=c
21863 ac_cpp='$CPP $CPPFLAGS'
21864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21873 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21875 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21876 for ac_func in isinff
21877 do :
21878 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21879 if test "x$ac_cv_func_isinff" = x""yes; then :
21880 cat >>confdefs.h <<_ACEOF
21881 #define HAVE_ISINFF 1
21882 _ACEOF
21885 done
21887 else
21889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21890 $as_echo_n "checking for _isinff declaration... " >&6; }
21891 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21892 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21893 $as_echo_n "(cached) " >&6
21894 else
21897 ac_ext=cpp
21898 ac_cpp='$CXXCPP $CPPFLAGS'
21899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21904 /* end confdefs.h. */
21905 #include <math.h>
21906 #ifdef HAVE_IEEEFP_H
21907 #include <ieeefp.h>
21908 #endif
21911 main ()
21913 _isinff(0);
21915 return 0;
21917 _ACEOF
21918 if ac_fn_cxx_try_compile "$LINENO"; then :
21919 glibcxx_cv_func__isinff_use=yes
21920 else
21921 glibcxx_cv_func__isinff_use=no
21923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21924 ac_ext=c
21925 ac_cpp='$CPP $CPPFLAGS'
21926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21935 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21937 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21938 for ac_func in _isinff
21939 do :
21940 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21941 if test "x$ac_cv_func__isinff" = x""yes; then :
21942 cat >>confdefs.h <<_ACEOF
21943 #define HAVE__ISINFF 1
21944 _ACEOF
21947 done
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21957 $as_echo_n "checking for atan2f declaration... " >&6; }
21958 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21959 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21960 $as_echo_n "(cached) " >&6
21961 else
21964 ac_ext=cpp
21965 ac_cpp='$CXXCPP $CPPFLAGS'
21966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21971 /* end confdefs.h. */
21972 #include <math.h>
21974 main ()
21976 atan2f(0, 0);
21978 return 0;
21980 _ACEOF
21981 if ac_fn_cxx_try_compile "$LINENO"; then :
21982 glibcxx_cv_func_atan2f_use=yes
21983 else
21984 glibcxx_cv_func_atan2f_use=no
21986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21987 ac_ext=c
21988 ac_cpp='$CPP $CPPFLAGS'
21989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21998 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22000 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22001 for ac_func in atan2f
22002 do :
22003 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22004 if test "x$ac_cv_func_atan2f" = x""yes; then :
22005 cat >>confdefs.h <<_ACEOF
22006 #define HAVE_ATAN2F 1
22007 _ACEOF
22010 done
22012 else
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22015 $as_echo_n "checking for _atan2f declaration... " >&6; }
22016 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22017 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22018 $as_echo_n "(cached) " >&6
22019 else
22022 ac_ext=cpp
22023 ac_cpp='$CXXCPP $CPPFLAGS'
22024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22029 /* end confdefs.h. */
22030 #include <math.h>
22032 main ()
22034 _atan2f(0, 0);
22036 return 0;
22038 _ACEOF
22039 if ac_fn_cxx_try_compile "$LINENO"; then :
22040 glibcxx_cv_func__atan2f_use=yes
22041 else
22042 glibcxx_cv_func__atan2f_use=no
22044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22045 ac_ext=c
22046 ac_cpp='$CPP $CPPFLAGS'
22047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22056 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22058 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22059 for ac_func in _atan2f
22060 do :
22061 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22062 if test "x$ac_cv_func__atan2f" = x""yes; then :
22063 cat >>confdefs.h <<_ACEOF
22064 #define HAVE__ATAN2F 1
22065 _ACEOF
22068 done
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22078 $as_echo_n "checking for fabsf declaration... " >&6; }
22079 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22080 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22081 $as_echo_n "(cached) " >&6
22082 else
22085 ac_ext=cpp
22086 ac_cpp='$CXXCPP $CPPFLAGS'
22087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22092 /* end confdefs.h. */
22093 #include <math.h>
22094 #ifdef HAVE_IEEEFP_H
22095 #include <ieeefp.h>
22096 #endif
22099 main ()
22101 fabsf(0);
22103 return 0;
22105 _ACEOF
22106 if ac_fn_cxx_try_compile "$LINENO"; then :
22107 glibcxx_cv_func_fabsf_use=yes
22108 else
22109 glibcxx_cv_func_fabsf_use=no
22111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22112 ac_ext=c
22113 ac_cpp='$CPP $CPPFLAGS'
22114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22123 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22125 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22126 for ac_func in fabsf
22127 do :
22128 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22129 if test "x$ac_cv_func_fabsf" = x""yes; then :
22130 cat >>confdefs.h <<_ACEOF
22131 #define HAVE_FABSF 1
22132 _ACEOF
22135 done
22137 else
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22140 $as_echo_n "checking for _fabsf declaration... " >&6; }
22141 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22142 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22143 $as_echo_n "(cached) " >&6
22144 else
22147 ac_ext=cpp
22148 ac_cpp='$CXXCPP $CPPFLAGS'
22149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22154 /* end confdefs.h. */
22155 #include <math.h>
22156 #ifdef HAVE_IEEEFP_H
22157 #include <ieeefp.h>
22158 #endif
22161 main ()
22163 _fabsf(0);
22165 return 0;
22167 _ACEOF
22168 if ac_fn_cxx_try_compile "$LINENO"; then :
22169 glibcxx_cv_func__fabsf_use=yes
22170 else
22171 glibcxx_cv_func__fabsf_use=no
22173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22174 ac_ext=c
22175 ac_cpp='$CPP $CPPFLAGS'
22176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22185 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22187 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22188 for ac_func in _fabsf
22189 do :
22190 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22191 if test "x$ac_cv_func__fabsf" = x""yes; then :
22192 cat >>confdefs.h <<_ACEOF
22193 #define HAVE__FABSF 1
22194 _ACEOF
22197 done
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22207 $as_echo_n "checking for fmodf declaration... " >&6; }
22208 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22209 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22210 $as_echo_n "(cached) " >&6
22211 else
22214 ac_ext=cpp
22215 ac_cpp='$CXXCPP $CPPFLAGS'
22216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22221 /* end confdefs.h. */
22222 #include <math.h>
22224 main ()
22226 fmodf(0, 0);
22228 return 0;
22230 _ACEOF
22231 if ac_fn_cxx_try_compile "$LINENO"; then :
22232 glibcxx_cv_func_fmodf_use=yes
22233 else
22234 glibcxx_cv_func_fmodf_use=no
22236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22237 ac_ext=c
22238 ac_cpp='$CPP $CPPFLAGS'
22239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22248 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22250 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22251 for ac_func in fmodf
22252 do :
22253 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22254 if test "x$ac_cv_func_fmodf" = x""yes; then :
22255 cat >>confdefs.h <<_ACEOF
22256 #define HAVE_FMODF 1
22257 _ACEOF
22260 done
22262 else
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22265 $as_echo_n "checking for _fmodf declaration... " >&6; }
22266 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22267 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22268 $as_echo_n "(cached) " >&6
22269 else
22272 ac_ext=cpp
22273 ac_cpp='$CXXCPP $CPPFLAGS'
22274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22279 /* end confdefs.h. */
22280 #include <math.h>
22282 main ()
22284 _fmodf(0, 0);
22286 return 0;
22288 _ACEOF
22289 if ac_fn_cxx_try_compile "$LINENO"; then :
22290 glibcxx_cv_func__fmodf_use=yes
22291 else
22292 glibcxx_cv_func__fmodf_use=no
22294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22295 ac_ext=c
22296 ac_cpp='$CPP $CPPFLAGS'
22297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22306 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22308 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22309 for ac_func in _fmodf
22310 do :
22311 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22312 if test "x$ac_cv_func__fmodf" = x""yes; then :
22313 cat >>confdefs.h <<_ACEOF
22314 #define HAVE__FMODF 1
22315 _ACEOF
22318 done
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22328 $as_echo_n "checking for frexpf declaration... " >&6; }
22329 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22330 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22331 $as_echo_n "(cached) " >&6
22332 else
22335 ac_ext=cpp
22336 ac_cpp='$CXXCPP $CPPFLAGS'
22337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22342 /* end confdefs.h. */
22343 #include <math.h>
22345 main ()
22347 frexpf(0, 0);
22349 return 0;
22351 _ACEOF
22352 if ac_fn_cxx_try_compile "$LINENO"; then :
22353 glibcxx_cv_func_frexpf_use=yes
22354 else
22355 glibcxx_cv_func_frexpf_use=no
22357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22358 ac_ext=c
22359 ac_cpp='$CPP $CPPFLAGS'
22360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22369 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22371 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22372 for ac_func in frexpf
22373 do :
22374 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22375 if test "x$ac_cv_func_frexpf" = x""yes; then :
22376 cat >>confdefs.h <<_ACEOF
22377 #define HAVE_FREXPF 1
22378 _ACEOF
22381 done
22383 else
22385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22386 $as_echo_n "checking for _frexpf declaration... " >&6; }
22387 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22388 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22389 $as_echo_n "(cached) " >&6
22390 else
22393 ac_ext=cpp
22394 ac_cpp='$CXXCPP $CPPFLAGS'
22395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22400 /* end confdefs.h. */
22401 #include <math.h>
22403 main ()
22405 _frexpf(0, 0);
22407 return 0;
22409 _ACEOF
22410 if ac_fn_cxx_try_compile "$LINENO"; then :
22411 glibcxx_cv_func__frexpf_use=yes
22412 else
22413 glibcxx_cv_func__frexpf_use=no
22415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22416 ac_ext=c
22417 ac_cpp='$CPP $CPPFLAGS'
22418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22427 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22429 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22430 for ac_func in _frexpf
22431 do :
22432 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22433 if test "x$ac_cv_func__frexpf" = x""yes; then :
22434 cat >>confdefs.h <<_ACEOF
22435 #define HAVE__FREXPF 1
22436 _ACEOF
22439 done
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22449 $as_echo_n "checking for hypotf declaration... " >&6; }
22450 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22451 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22452 $as_echo_n "(cached) " >&6
22453 else
22456 ac_ext=cpp
22457 ac_cpp='$CXXCPP $CPPFLAGS'
22458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22463 /* end confdefs.h. */
22464 #include <math.h>
22466 main ()
22468 hypotf(0, 0);
22470 return 0;
22472 _ACEOF
22473 if ac_fn_cxx_try_compile "$LINENO"; then :
22474 glibcxx_cv_func_hypotf_use=yes
22475 else
22476 glibcxx_cv_func_hypotf_use=no
22478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22479 ac_ext=c
22480 ac_cpp='$CPP $CPPFLAGS'
22481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22490 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22492 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22493 for ac_func in hypotf
22494 do :
22495 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22496 if test "x$ac_cv_func_hypotf" = x""yes; then :
22497 cat >>confdefs.h <<_ACEOF
22498 #define HAVE_HYPOTF 1
22499 _ACEOF
22502 done
22504 else
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22507 $as_echo_n "checking for _hypotf declaration... " >&6; }
22508 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22509 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22510 $as_echo_n "(cached) " >&6
22511 else
22514 ac_ext=cpp
22515 ac_cpp='$CXXCPP $CPPFLAGS'
22516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22521 /* end confdefs.h. */
22522 #include <math.h>
22524 main ()
22526 _hypotf(0, 0);
22528 return 0;
22530 _ACEOF
22531 if ac_fn_cxx_try_compile "$LINENO"; then :
22532 glibcxx_cv_func__hypotf_use=yes
22533 else
22534 glibcxx_cv_func__hypotf_use=no
22536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22537 ac_ext=c
22538 ac_cpp='$CPP $CPPFLAGS'
22539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22548 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22550 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22551 for ac_func in _hypotf
22552 do :
22553 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22554 if test "x$ac_cv_func__hypotf" = x""yes; then :
22555 cat >>confdefs.h <<_ACEOF
22556 #define HAVE__HYPOTF 1
22557 _ACEOF
22560 done
22569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22570 $as_echo_n "checking for ldexpf declaration... " >&6; }
22571 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22572 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22573 $as_echo_n "(cached) " >&6
22574 else
22577 ac_ext=cpp
22578 ac_cpp='$CXXCPP $CPPFLAGS'
22579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22584 /* end confdefs.h. */
22585 #include <math.h>
22587 main ()
22589 ldexpf(0, 0);
22591 return 0;
22593 _ACEOF
22594 if ac_fn_cxx_try_compile "$LINENO"; then :
22595 glibcxx_cv_func_ldexpf_use=yes
22596 else
22597 glibcxx_cv_func_ldexpf_use=no
22599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22600 ac_ext=c
22601 ac_cpp='$CPP $CPPFLAGS'
22602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22611 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22613 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22614 for ac_func in ldexpf
22615 do :
22616 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22617 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22618 cat >>confdefs.h <<_ACEOF
22619 #define HAVE_LDEXPF 1
22620 _ACEOF
22623 done
22625 else
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22628 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22629 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22630 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22631 $as_echo_n "(cached) " >&6
22632 else
22635 ac_ext=cpp
22636 ac_cpp='$CXXCPP $CPPFLAGS'
22637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22642 /* end confdefs.h. */
22643 #include <math.h>
22645 main ()
22647 _ldexpf(0, 0);
22649 return 0;
22651 _ACEOF
22652 if ac_fn_cxx_try_compile "$LINENO"; then :
22653 glibcxx_cv_func__ldexpf_use=yes
22654 else
22655 glibcxx_cv_func__ldexpf_use=no
22657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22658 ac_ext=c
22659 ac_cpp='$CPP $CPPFLAGS'
22660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22669 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22671 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22672 for ac_func in _ldexpf
22673 do :
22674 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22675 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22676 cat >>confdefs.h <<_ACEOF
22677 #define HAVE__LDEXPF 1
22678 _ACEOF
22681 done
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22691 $as_echo_n "checking for logf declaration... " >&6; }
22692 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22693 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22694 $as_echo_n "(cached) " >&6
22695 else
22698 ac_ext=cpp
22699 ac_cpp='$CXXCPP $CPPFLAGS'
22700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22705 /* end confdefs.h. */
22706 #include <math.h>
22707 #ifdef HAVE_IEEEFP_H
22708 #include <ieeefp.h>
22709 #endif
22712 main ()
22714 logf(0);
22716 return 0;
22718 _ACEOF
22719 if ac_fn_cxx_try_compile "$LINENO"; then :
22720 glibcxx_cv_func_logf_use=yes
22721 else
22722 glibcxx_cv_func_logf_use=no
22724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22725 ac_ext=c
22726 ac_cpp='$CPP $CPPFLAGS'
22727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22736 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22738 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22739 for ac_func in logf
22740 do :
22741 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22742 if test "x$ac_cv_func_logf" = x""yes; then :
22743 cat >>confdefs.h <<_ACEOF
22744 #define HAVE_LOGF 1
22745 _ACEOF
22748 done
22750 else
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22753 $as_echo_n "checking for _logf declaration... " >&6; }
22754 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22755 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22756 $as_echo_n "(cached) " >&6
22757 else
22760 ac_ext=cpp
22761 ac_cpp='$CXXCPP $CPPFLAGS'
22762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22767 /* end confdefs.h. */
22768 #include <math.h>
22769 #ifdef HAVE_IEEEFP_H
22770 #include <ieeefp.h>
22771 #endif
22774 main ()
22776 _logf(0);
22778 return 0;
22780 _ACEOF
22781 if ac_fn_cxx_try_compile "$LINENO"; then :
22782 glibcxx_cv_func__logf_use=yes
22783 else
22784 glibcxx_cv_func__logf_use=no
22786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22787 ac_ext=c
22788 ac_cpp='$CPP $CPPFLAGS'
22789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22798 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22800 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22801 for ac_func in _logf
22802 do :
22803 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22804 if test "x$ac_cv_func__logf" = x""yes; then :
22805 cat >>confdefs.h <<_ACEOF
22806 #define HAVE__LOGF 1
22807 _ACEOF
22810 done
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22820 $as_echo_n "checking for log10f declaration... " >&6; }
22821 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22822 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22823 $as_echo_n "(cached) " >&6
22824 else
22827 ac_ext=cpp
22828 ac_cpp='$CXXCPP $CPPFLAGS'
22829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22834 /* end confdefs.h. */
22835 #include <math.h>
22836 #ifdef HAVE_IEEEFP_H
22837 #include <ieeefp.h>
22838 #endif
22841 main ()
22843 log10f(0);
22845 return 0;
22847 _ACEOF
22848 if ac_fn_cxx_try_compile "$LINENO"; then :
22849 glibcxx_cv_func_log10f_use=yes
22850 else
22851 glibcxx_cv_func_log10f_use=no
22853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22854 ac_ext=c
22855 ac_cpp='$CPP $CPPFLAGS'
22856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22865 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22867 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22868 for ac_func in log10f
22869 do :
22870 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22871 if test "x$ac_cv_func_log10f" = x""yes; then :
22872 cat >>confdefs.h <<_ACEOF
22873 #define HAVE_LOG10F 1
22874 _ACEOF
22877 done
22879 else
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22882 $as_echo_n "checking for _log10f declaration... " >&6; }
22883 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22884 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22885 $as_echo_n "(cached) " >&6
22886 else
22889 ac_ext=cpp
22890 ac_cpp='$CXXCPP $CPPFLAGS'
22891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22896 /* end confdefs.h. */
22897 #include <math.h>
22898 #ifdef HAVE_IEEEFP_H
22899 #include <ieeefp.h>
22900 #endif
22903 main ()
22905 _log10f(0);
22907 return 0;
22909 _ACEOF
22910 if ac_fn_cxx_try_compile "$LINENO"; then :
22911 glibcxx_cv_func__log10f_use=yes
22912 else
22913 glibcxx_cv_func__log10f_use=no
22915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22916 ac_ext=c
22917 ac_cpp='$CPP $CPPFLAGS'
22918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22927 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22929 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22930 for ac_func in _log10f
22931 do :
22932 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22933 if test "x$ac_cv_func__log10f" = x""yes; then :
22934 cat >>confdefs.h <<_ACEOF
22935 #define HAVE__LOG10F 1
22936 _ACEOF
22939 done
22948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22949 $as_echo_n "checking for modff declaration... " >&6; }
22950 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22951 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22952 $as_echo_n "(cached) " >&6
22953 else
22956 ac_ext=cpp
22957 ac_cpp='$CXXCPP $CPPFLAGS'
22958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22963 /* end confdefs.h. */
22964 #include <math.h>
22966 main ()
22968 modff(0, 0);
22970 return 0;
22972 _ACEOF
22973 if ac_fn_cxx_try_compile "$LINENO"; then :
22974 glibcxx_cv_func_modff_use=yes
22975 else
22976 glibcxx_cv_func_modff_use=no
22978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22979 ac_ext=c
22980 ac_cpp='$CPP $CPPFLAGS'
22981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22990 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22992 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22993 for ac_func in modff
22994 do :
22995 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22996 if test "x$ac_cv_func_modff" = x""yes; then :
22997 cat >>confdefs.h <<_ACEOF
22998 #define HAVE_MODFF 1
22999 _ACEOF
23002 done
23004 else
23006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23007 $as_echo_n "checking for _modff declaration... " >&6; }
23008 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23009 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23010 $as_echo_n "(cached) " >&6
23011 else
23014 ac_ext=cpp
23015 ac_cpp='$CXXCPP $CPPFLAGS'
23016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23021 /* end confdefs.h. */
23022 #include <math.h>
23024 main ()
23026 _modff(0, 0);
23028 return 0;
23030 _ACEOF
23031 if ac_fn_cxx_try_compile "$LINENO"; then :
23032 glibcxx_cv_func__modff_use=yes
23033 else
23034 glibcxx_cv_func__modff_use=no
23036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23037 ac_ext=c
23038 ac_cpp='$CPP $CPPFLAGS'
23039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23048 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23050 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23051 for ac_func in _modff
23052 do :
23053 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23054 if test "x$ac_cv_func__modff" = x""yes; then :
23055 cat >>confdefs.h <<_ACEOF
23056 #define HAVE__MODFF 1
23057 _ACEOF
23060 done
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23070 $as_echo_n "checking for modf declaration... " >&6; }
23071 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23072 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23073 $as_echo_n "(cached) " >&6
23074 else
23077 ac_ext=cpp
23078 ac_cpp='$CXXCPP $CPPFLAGS'
23079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23084 /* end confdefs.h. */
23085 #include <math.h>
23087 main ()
23089 modf(0, 0);
23091 return 0;
23093 _ACEOF
23094 if ac_fn_cxx_try_compile "$LINENO"; then :
23095 glibcxx_cv_func_modf_use=yes
23096 else
23097 glibcxx_cv_func_modf_use=no
23099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23100 ac_ext=c
23101 ac_cpp='$CPP $CPPFLAGS'
23102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23111 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23113 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23114 for ac_func in modf
23115 do :
23116 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23117 if test "x$ac_cv_func_modf" = x""yes; then :
23118 cat >>confdefs.h <<_ACEOF
23119 #define HAVE_MODF 1
23120 _ACEOF
23123 done
23125 else
23127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23128 $as_echo_n "checking for _modf declaration... " >&6; }
23129 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23130 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23131 $as_echo_n "(cached) " >&6
23132 else
23135 ac_ext=cpp
23136 ac_cpp='$CXXCPP $CPPFLAGS'
23137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23142 /* end confdefs.h. */
23143 #include <math.h>
23145 main ()
23147 _modf(0, 0);
23149 return 0;
23151 _ACEOF
23152 if ac_fn_cxx_try_compile "$LINENO"; then :
23153 glibcxx_cv_func__modf_use=yes
23154 else
23155 glibcxx_cv_func__modf_use=no
23157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158 ac_ext=c
23159 ac_cpp='$CPP $CPPFLAGS'
23160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23169 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23171 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23172 for ac_func in _modf
23173 do :
23174 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23175 if test "x$ac_cv_func__modf" = x""yes; then :
23176 cat >>confdefs.h <<_ACEOF
23177 #define HAVE__MODF 1
23178 _ACEOF
23181 done
23190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23191 $as_echo_n "checking for powf declaration... " >&6; }
23192 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23193 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23194 $as_echo_n "(cached) " >&6
23195 else
23198 ac_ext=cpp
23199 ac_cpp='$CXXCPP $CPPFLAGS'
23200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23205 /* end confdefs.h. */
23206 #include <math.h>
23208 main ()
23210 powf(0, 0);
23212 return 0;
23214 _ACEOF
23215 if ac_fn_cxx_try_compile "$LINENO"; then :
23216 glibcxx_cv_func_powf_use=yes
23217 else
23218 glibcxx_cv_func_powf_use=no
23220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23221 ac_ext=c
23222 ac_cpp='$CPP $CPPFLAGS'
23223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23232 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23234 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23235 for ac_func in powf
23236 do :
23237 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23238 if test "x$ac_cv_func_powf" = x""yes; then :
23239 cat >>confdefs.h <<_ACEOF
23240 #define HAVE_POWF 1
23241 _ACEOF
23244 done
23246 else
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23249 $as_echo_n "checking for _powf declaration... " >&6; }
23250 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23251 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23252 $as_echo_n "(cached) " >&6
23253 else
23256 ac_ext=cpp
23257 ac_cpp='$CXXCPP $CPPFLAGS'
23258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23263 /* end confdefs.h. */
23264 #include <math.h>
23266 main ()
23268 _powf(0, 0);
23270 return 0;
23272 _ACEOF
23273 if ac_fn_cxx_try_compile "$LINENO"; then :
23274 glibcxx_cv_func__powf_use=yes
23275 else
23276 glibcxx_cv_func__powf_use=no
23278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23279 ac_ext=c
23280 ac_cpp='$CPP $CPPFLAGS'
23281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23290 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23292 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23293 for ac_func in _powf
23294 do :
23295 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23296 if test "x$ac_cv_func__powf" = x""yes; then :
23297 cat >>confdefs.h <<_ACEOF
23298 #define HAVE__POWF 1
23299 _ACEOF
23302 done
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23312 $as_echo_n "checking for sqrtf declaration... " >&6; }
23313 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23314 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23315 $as_echo_n "(cached) " >&6
23316 else
23319 ac_ext=cpp
23320 ac_cpp='$CXXCPP $CPPFLAGS'
23321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23326 /* end confdefs.h. */
23327 #include <math.h>
23328 #ifdef HAVE_IEEEFP_H
23329 #include <ieeefp.h>
23330 #endif
23333 main ()
23335 sqrtf(0);
23337 return 0;
23339 _ACEOF
23340 if ac_fn_cxx_try_compile "$LINENO"; then :
23341 glibcxx_cv_func_sqrtf_use=yes
23342 else
23343 glibcxx_cv_func_sqrtf_use=no
23345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23346 ac_ext=c
23347 ac_cpp='$CPP $CPPFLAGS'
23348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23357 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23359 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23360 for ac_func in sqrtf
23361 do :
23362 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23363 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23364 cat >>confdefs.h <<_ACEOF
23365 #define HAVE_SQRTF 1
23366 _ACEOF
23369 done
23371 else
23373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23374 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23375 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23376 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23377 $as_echo_n "(cached) " >&6
23378 else
23381 ac_ext=cpp
23382 ac_cpp='$CXXCPP $CPPFLAGS'
23383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23388 /* end confdefs.h. */
23389 #include <math.h>
23390 #ifdef HAVE_IEEEFP_H
23391 #include <ieeefp.h>
23392 #endif
23395 main ()
23397 _sqrtf(0);
23399 return 0;
23401 _ACEOF
23402 if ac_fn_cxx_try_compile "$LINENO"; then :
23403 glibcxx_cv_func__sqrtf_use=yes
23404 else
23405 glibcxx_cv_func__sqrtf_use=no
23407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23408 ac_ext=c
23409 ac_cpp='$CPP $CPPFLAGS'
23410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23419 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23421 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23422 for ac_func in _sqrtf
23423 do :
23424 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23425 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23426 cat >>confdefs.h <<_ACEOF
23427 #define HAVE__SQRTF 1
23428 _ACEOF
23431 done
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23441 $as_echo_n "checking for sincosf declaration... " >&6; }
23442 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23443 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23444 $as_echo_n "(cached) " >&6
23445 else
23448 ac_ext=cpp
23449 ac_cpp='$CXXCPP $CPPFLAGS'
23450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23455 /* end confdefs.h. */
23456 #include <math.h>
23458 main ()
23460 sincosf(0, 0, 0);
23462 return 0;
23464 _ACEOF
23465 if ac_fn_cxx_try_compile "$LINENO"; then :
23466 glibcxx_cv_func_sincosf_use=yes
23467 else
23468 glibcxx_cv_func_sincosf_use=no
23470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23471 ac_ext=c
23472 ac_cpp='$CPP $CPPFLAGS'
23473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23482 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23484 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23485 for ac_func in sincosf
23486 do :
23487 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23488 if test "x$ac_cv_func_sincosf" = x""yes; then :
23489 cat >>confdefs.h <<_ACEOF
23490 #define HAVE_SINCOSF 1
23491 _ACEOF
23494 done
23496 else
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23499 $as_echo_n "checking for _sincosf declaration... " >&6; }
23500 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23501 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23502 $as_echo_n "(cached) " >&6
23503 else
23506 ac_ext=cpp
23507 ac_cpp='$CXXCPP $CPPFLAGS'
23508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23513 /* end confdefs.h. */
23514 #include <math.h>
23516 main ()
23518 _sincosf(0, 0, 0);
23520 return 0;
23522 _ACEOF
23523 if ac_fn_cxx_try_compile "$LINENO"; then :
23524 glibcxx_cv_func__sincosf_use=yes
23525 else
23526 glibcxx_cv_func__sincosf_use=no
23528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23529 ac_ext=c
23530 ac_cpp='$CPP $CPPFLAGS'
23531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23540 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23542 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23543 for ac_func in _sincosf
23544 do :
23545 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23546 if test "x$ac_cv_func__sincosf" = x""yes; then :
23547 cat >>confdefs.h <<_ACEOF
23548 #define HAVE__SINCOSF 1
23549 _ACEOF
23552 done
23561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23562 $as_echo_n "checking for finitef declaration... " >&6; }
23563 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23564 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23565 $as_echo_n "(cached) " >&6
23566 else
23569 ac_ext=cpp
23570 ac_cpp='$CXXCPP $CPPFLAGS'
23571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23576 /* end confdefs.h. */
23577 #include <math.h>
23578 #ifdef HAVE_IEEEFP_H
23579 #include <ieeefp.h>
23580 #endif
23583 main ()
23585 finitef(0);
23587 return 0;
23589 _ACEOF
23590 if ac_fn_cxx_try_compile "$LINENO"; then :
23591 glibcxx_cv_func_finitef_use=yes
23592 else
23593 glibcxx_cv_func_finitef_use=no
23595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23596 ac_ext=c
23597 ac_cpp='$CPP $CPPFLAGS'
23598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23607 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23609 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23610 for ac_func in finitef
23611 do :
23612 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23613 if test "x$ac_cv_func_finitef" = x""yes; then :
23614 cat >>confdefs.h <<_ACEOF
23615 #define HAVE_FINITEF 1
23616 _ACEOF
23619 done
23621 else
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23624 $as_echo_n "checking for _finitef declaration... " >&6; }
23625 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23626 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23627 $as_echo_n "(cached) " >&6
23628 else
23631 ac_ext=cpp
23632 ac_cpp='$CXXCPP $CPPFLAGS'
23633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23638 /* end confdefs.h. */
23639 #include <math.h>
23640 #ifdef HAVE_IEEEFP_H
23641 #include <ieeefp.h>
23642 #endif
23645 main ()
23647 _finitef(0);
23649 return 0;
23651 _ACEOF
23652 if ac_fn_cxx_try_compile "$LINENO"; then :
23653 glibcxx_cv_func__finitef_use=yes
23654 else
23655 glibcxx_cv_func__finitef_use=no
23657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23658 ac_ext=c
23659 ac_cpp='$CPP $CPPFLAGS'
23660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23669 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23671 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23672 for ac_func in _finitef
23673 do :
23674 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23675 if test "x$ac_cv_func__finitef" = x""yes; then :
23676 cat >>confdefs.h <<_ACEOF
23677 #define HAVE__FINITEF 1
23678 _ACEOF
23681 done
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23691 $as_echo_n "checking for long double trig functions... " >&6; }
23692 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23693 $as_echo_n "(cached) " >&6
23694 else
23697 ac_ext=cpp
23698 ac_cpp='$CXXCPP $CPPFLAGS'
23699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23704 /* end confdefs.h. */
23705 #include <math.h>
23707 main ()
23709 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23711 return 0;
23713 _ACEOF
23714 if ac_fn_cxx_try_compile "$LINENO"; then :
23715 glibcxx_cv_func_long_double_trig_use=yes
23716 else
23717 glibcxx_cv_func_long_double_trig_use=no
23719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23720 ac_ext=c
23721 ac_cpp='$CPP $CPPFLAGS'
23722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23729 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23730 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23731 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23732 do :
23733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23734 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23735 eval as_val=\$$as_ac_var
23736 if test "x$as_val" = x""yes; then :
23737 cat >>confdefs.h <<_ACEOF
23738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23739 _ACEOF
23742 done
23744 else
23745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23746 $as_echo_n "checking for _long double trig functions... " >&6; }
23747 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23748 $as_echo_n "(cached) " >&6
23749 else
23752 ac_ext=cpp
23753 ac_cpp='$CXXCPP $CPPFLAGS'
23754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23759 /* end confdefs.h. */
23760 #include <math.h>
23762 main ()
23764 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23766 return 0;
23768 _ACEOF
23769 if ac_fn_cxx_try_compile "$LINENO"; then :
23770 glibcxx_cv_func__long_double_trig_use=yes
23771 else
23772 glibcxx_cv_func__long_double_trig_use=no
23774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23775 ac_ext=c
23776 ac_cpp='$CPP $CPPFLAGS'
23777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23784 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23785 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23786 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23787 do :
23788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23790 eval as_val=\$$as_ac_var
23791 if test "x$as_val" = x""yes; then :
23792 cat >>confdefs.h <<_ACEOF
23793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23794 _ACEOF
23797 done
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23807 $as_echo_n "checking for long double round functions... " >&6; }
23808 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23809 $as_echo_n "(cached) " >&6
23810 else
23813 ac_ext=cpp
23814 ac_cpp='$CXXCPP $CPPFLAGS'
23815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23820 /* end confdefs.h. */
23821 #include <math.h>
23823 main ()
23825 ceill (0); floorl (0);
23827 return 0;
23829 _ACEOF
23830 if ac_fn_cxx_try_compile "$LINENO"; then :
23831 glibcxx_cv_func_long_double_round_use=yes
23832 else
23833 glibcxx_cv_func_long_double_round_use=no
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23836 ac_ext=c
23837 ac_cpp='$CPP $CPPFLAGS'
23838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23845 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23846 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23847 for ac_func in ceill floorl
23848 do :
23849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23851 eval as_val=\$$as_ac_var
23852 if test "x$as_val" = x""yes; then :
23853 cat >>confdefs.h <<_ACEOF
23854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23855 _ACEOF
23858 done
23860 else
23861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23862 $as_echo_n "checking for _long double round functions... " >&6; }
23863 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23864 $as_echo_n "(cached) " >&6
23865 else
23868 ac_ext=cpp
23869 ac_cpp='$CXXCPP $CPPFLAGS'
23870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23875 /* end confdefs.h. */
23876 #include <math.h>
23878 main ()
23880 _ceill (0); _floorl (0);
23882 return 0;
23884 _ACEOF
23885 if ac_fn_cxx_try_compile "$LINENO"; then :
23886 glibcxx_cv_func__long_double_round_use=yes
23887 else
23888 glibcxx_cv_func__long_double_round_use=no
23890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23891 ac_ext=c
23892 ac_cpp='$CPP $CPPFLAGS'
23893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23900 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23901 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23902 for ac_func in _ceill _floorl
23903 do :
23904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23906 eval as_val=\$$as_ac_var
23907 if test "x$as_val" = x""yes; then :
23908 cat >>confdefs.h <<_ACEOF
23909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23910 _ACEOF
23913 done
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23924 $as_echo_n "checking for isnanl declaration... " >&6; }
23925 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23926 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23927 $as_echo_n "(cached) " >&6
23928 else
23931 ac_ext=cpp
23932 ac_cpp='$CXXCPP $CPPFLAGS'
23933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23938 /* end confdefs.h. */
23939 #include <math.h>
23940 #ifdef HAVE_IEEEFP_H
23941 #include <ieeefp.h>
23942 #endif
23945 main ()
23947 isnanl(0);
23949 return 0;
23951 _ACEOF
23952 if ac_fn_cxx_try_compile "$LINENO"; then :
23953 glibcxx_cv_func_isnanl_use=yes
23954 else
23955 glibcxx_cv_func_isnanl_use=no
23957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23958 ac_ext=c
23959 ac_cpp='$CPP $CPPFLAGS'
23960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23969 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23971 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23972 for ac_func in isnanl
23973 do :
23974 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23975 if test "x$ac_cv_func_isnanl" = x""yes; then :
23976 cat >>confdefs.h <<_ACEOF
23977 #define HAVE_ISNANL 1
23978 _ACEOF
23981 done
23983 else
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23986 $as_echo_n "checking for _isnanl declaration... " >&6; }
23987 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23988 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23989 $as_echo_n "(cached) " >&6
23990 else
23993 ac_ext=cpp
23994 ac_cpp='$CXXCPP $CPPFLAGS'
23995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24000 /* end confdefs.h. */
24001 #include <math.h>
24002 #ifdef HAVE_IEEEFP_H
24003 #include <ieeefp.h>
24004 #endif
24007 main ()
24009 _isnanl(0);
24011 return 0;
24013 _ACEOF
24014 if ac_fn_cxx_try_compile "$LINENO"; then :
24015 glibcxx_cv_func__isnanl_use=yes
24016 else
24017 glibcxx_cv_func__isnanl_use=no
24019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24020 ac_ext=c
24021 ac_cpp='$CPP $CPPFLAGS'
24022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24031 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24033 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24034 for ac_func in _isnanl
24035 do :
24036 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24037 if test "x$ac_cv_func__isnanl" = x""yes; then :
24038 cat >>confdefs.h <<_ACEOF
24039 #define HAVE__ISNANL 1
24040 _ACEOF
24043 done
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24053 $as_echo_n "checking for isinfl declaration... " >&6; }
24054 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24055 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24056 $as_echo_n "(cached) " >&6
24057 else
24060 ac_ext=cpp
24061 ac_cpp='$CXXCPP $CPPFLAGS'
24062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24067 /* end confdefs.h. */
24068 #include <math.h>
24069 #ifdef HAVE_IEEEFP_H
24070 #include <ieeefp.h>
24071 #endif
24074 main ()
24076 isinfl(0);
24078 return 0;
24080 _ACEOF
24081 if ac_fn_cxx_try_compile "$LINENO"; then :
24082 glibcxx_cv_func_isinfl_use=yes
24083 else
24084 glibcxx_cv_func_isinfl_use=no
24086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24087 ac_ext=c
24088 ac_cpp='$CPP $CPPFLAGS'
24089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24098 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24100 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24101 for ac_func in isinfl
24102 do :
24103 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24104 if test "x$ac_cv_func_isinfl" = x""yes; then :
24105 cat >>confdefs.h <<_ACEOF
24106 #define HAVE_ISINFL 1
24107 _ACEOF
24110 done
24112 else
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24115 $as_echo_n "checking for _isinfl declaration... " >&6; }
24116 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24117 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24118 $as_echo_n "(cached) " >&6
24119 else
24122 ac_ext=cpp
24123 ac_cpp='$CXXCPP $CPPFLAGS'
24124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24129 /* end confdefs.h. */
24130 #include <math.h>
24131 #ifdef HAVE_IEEEFP_H
24132 #include <ieeefp.h>
24133 #endif
24136 main ()
24138 _isinfl(0);
24140 return 0;
24142 _ACEOF
24143 if ac_fn_cxx_try_compile "$LINENO"; then :
24144 glibcxx_cv_func__isinfl_use=yes
24145 else
24146 glibcxx_cv_func__isinfl_use=no
24148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24149 ac_ext=c
24150 ac_cpp='$CPP $CPPFLAGS'
24151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24160 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24162 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24163 for ac_func in _isinfl
24164 do :
24165 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24166 if test "x$ac_cv_func__isinfl" = x""yes; then :
24167 cat >>confdefs.h <<_ACEOF
24168 #define HAVE__ISINFL 1
24169 _ACEOF
24172 done
24181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24182 $as_echo_n "checking for atan2l declaration... " >&6; }
24183 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24184 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24185 $as_echo_n "(cached) " >&6
24186 else
24189 ac_ext=cpp
24190 ac_cpp='$CXXCPP $CPPFLAGS'
24191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24196 /* end confdefs.h. */
24197 #include <math.h>
24199 main ()
24201 atan2l(0, 0);
24203 return 0;
24205 _ACEOF
24206 if ac_fn_cxx_try_compile "$LINENO"; then :
24207 glibcxx_cv_func_atan2l_use=yes
24208 else
24209 glibcxx_cv_func_atan2l_use=no
24211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24212 ac_ext=c
24213 ac_cpp='$CPP $CPPFLAGS'
24214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24223 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24225 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24226 for ac_func in atan2l
24227 do :
24228 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24229 if test "x$ac_cv_func_atan2l" = x""yes; then :
24230 cat >>confdefs.h <<_ACEOF
24231 #define HAVE_ATAN2L 1
24232 _ACEOF
24235 done
24237 else
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24240 $as_echo_n "checking for _atan2l declaration... " >&6; }
24241 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24242 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24243 $as_echo_n "(cached) " >&6
24244 else
24247 ac_ext=cpp
24248 ac_cpp='$CXXCPP $CPPFLAGS'
24249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24254 /* end confdefs.h. */
24255 #include <math.h>
24257 main ()
24259 _atan2l(0, 0);
24261 return 0;
24263 _ACEOF
24264 if ac_fn_cxx_try_compile "$LINENO"; then :
24265 glibcxx_cv_func__atan2l_use=yes
24266 else
24267 glibcxx_cv_func__atan2l_use=no
24269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24270 ac_ext=c
24271 ac_cpp='$CPP $CPPFLAGS'
24272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24281 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24283 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24284 for ac_func in _atan2l
24285 do :
24286 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24287 if test "x$ac_cv_func__atan2l" = x""yes; then :
24288 cat >>confdefs.h <<_ACEOF
24289 #define HAVE__ATAN2L 1
24290 _ACEOF
24293 done
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24303 $as_echo_n "checking for expl declaration... " >&6; }
24304 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24305 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24306 $as_echo_n "(cached) " >&6
24307 else
24310 ac_ext=cpp
24311 ac_cpp='$CXXCPP $CPPFLAGS'
24312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24317 /* end confdefs.h. */
24318 #include <math.h>
24319 #ifdef HAVE_IEEEFP_H
24320 #include <ieeefp.h>
24321 #endif
24324 main ()
24326 expl(0);
24328 return 0;
24330 _ACEOF
24331 if ac_fn_cxx_try_compile "$LINENO"; then :
24332 glibcxx_cv_func_expl_use=yes
24333 else
24334 glibcxx_cv_func_expl_use=no
24336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24337 ac_ext=c
24338 ac_cpp='$CPP $CPPFLAGS'
24339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24348 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24350 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24351 for ac_func in expl
24352 do :
24353 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24354 if test "x$ac_cv_func_expl" = x""yes; then :
24355 cat >>confdefs.h <<_ACEOF
24356 #define HAVE_EXPL 1
24357 _ACEOF
24360 done
24362 else
24364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24365 $as_echo_n "checking for _expl declaration... " >&6; }
24366 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24367 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24368 $as_echo_n "(cached) " >&6
24369 else
24372 ac_ext=cpp
24373 ac_cpp='$CXXCPP $CPPFLAGS'
24374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24379 /* end confdefs.h. */
24380 #include <math.h>
24381 #ifdef HAVE_IEEEFP_H
24382 #include <ieeefp.h>
24383 #endif
24386 main ()
24388 _expl(0);
24390 return 0;
24392 _ACEOF
24393 if ac_fn_cxx_try_compile "$LINENO"; then :
24394 glibcxx_cv_func__expl_use=yes
24395 else
24396 glibcxx_cv_func__expl_use=no
24398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24399 ac_ext=c
24400 ac_cpp='$CPP $CPPFLAGS'
24401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24410 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24412 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24413 for ac_func in _expl
24414 do :
24415 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24416 if test "x$ac_cv_func__expl" = x""yes; then :
24417 cat >>confdefs.h <<_ACEOF
24418 #define HAVE__EXPL 1
24419 _ACEOF
24422 done
24431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24432 $as_echo_n "checking for fabsl declaration... " >&6; }
24433 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24434 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24435 $as_echo_n "(cached) " >&6
24436 else
24439 ac_ext=cpp
24440 ac_cpp='$CXXCPP $CPPFLAGS'
24441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24446 /* end confdefs.h. */
24447 #include <math.h>
24448 #ifdef HAVE_IEEEFP_H
24449 #include <ieeefp.h>
24450 #endif
24453 main ()
24455 fabsl(0);
24457 return 0;
24459 _ACEOF
24460 if ac_fn_cxx_try_compile "$LINENO"; then :
24461 glibcxx_cv_func_fabsl_use=yes
24462 else
24463 glibcxx_cv_func_fabsl_use=no
24465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24466 ac_ext=c
24467 ac_cpp='$CPP $CPPFLAGS'
24468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24477 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24479 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24480 for ac_func in fabsl
24481 do :
24482 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24483 if test "x$ac_cv_func_fabsl" = x""yes; then :
24484 cat >>confdefs.h <<_ACEOF
24485 #define HAVE_FABSL 1
24486 _ACEOF
24489 done
24491 else
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24494 $as_echo_n "checking for _fabsl declaration... " >&6; }
24495 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24496 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24497 $as_echo_n "(cached) " >&6
24498 else
24501 ac_ext=cpp
24502 ac_cpp='$CXXCPP $CPPFLAGS'
24503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24508 /* end confdefs.h. */
24509 #include <math.h>
24510 #ifdef HAVE_IEEEFP_H
24511 #include <ieeefp.h>
24512 #endif
24515 main ()
24517 _fabsl(0);
24519 return 0;
24521 _ACEOF
24522 if ac_fn_cxx_try_compile "$LINENO"; then :
24523 glibcxx_cv_func__fabsl_use=yes
24524 else
24525 glibcxx_cv_func__fabsl_use=no
24527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24528 ac_ext=c
24529 ac_cpp='$CPP $CPPFLAGS'
24530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24539 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24541 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24542 for ac_func in _fabsl
24543 do :
24544 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24545 if test "x$ac_cv_func__fabsl" = x""yes; then :
24546 cat >>confdefs.h <<_ACEOF
24547 #define HAVE__FABSL 1
24548 _ACEOF
24551 done
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24561 $as_echo_n "checking for fmodl declaration... " >&6; }
24562 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24563 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24564 $as_echo_n "(cached) " >&6
24565 else
24568 ac_ext=cpp
24569 ac_cpp='$CXXCPP $CPPFLAGS'
24570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24575 /* end confdefs.h. */
24576 #include <math.h>
24578 main ()
24580 fmodl(0, 0);
24582 return 0;
24584 _ACEOF
24585 if ac_fn_cxx_try_compile "$LINENO"; then :
24586 glibcxx_cv_func_fmodl_use=yes
24587 else
24588 glibcxx_cv_func_fmodl_use=no
24590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24591 ac_ext=c
24592 ac_cpp='$CPP $CPPFLAGS'
24593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24602 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24604 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24605 for ac_func in fmodl
24606 do :
24607 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24608 if test "x$ac_cv_func_fmodl" = x""yes; then :
24609 cat >>confdefs.h <<_ACEOF
24610 #define HAVE_FMODL 1
24611 _ACEOF
24614 done
24616 else
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24619 $as_echo_n "checking for _fmodl declaration... " >&6; }
24620 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24621 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24622 $as_echo_n "(cached) " >&6
24623 else
24626 ac_ext=cpp
24627 ac_cpp='$CXXCPP $CPPFLAGS'
24628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24633 /* end confdefs.h. */
24634 #include <math.h>
24636 main ()
24638 _fmodl(0, 0);
24640 return 0;
24642 _ACEOF
24643 if ac_fn_cxx_try_compile "$LINENO"; then :
24644 glibcxx_cv_func__fmodl_use=yes
24645 else
24646 glibcxx_cv_func__fmodl_use=no
24648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24649 ac_ext=c
24650 ac_cpp='$CPP $CPPFLAGS'
24651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24660 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24662 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24663 for ac_func in _fmodl
24664 do :
24665 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24666 if test "x$ac_cv_func__fmodl" = x""yes; then :
24667 cat >>confdefs.h <<_ACEOF
24668 #define HAVE__FMODL 1
24669 _ACEOF
24672 done
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24682 $as_echo_n "checking for frexpl declaration... " >&6; }
24683 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24684 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24685 $as_echo_n "(cached) " >&6
24686 else
24689 ac_ext=cpp
24690 ac_cpp='$CXXCPP $CPPFLAGS'
24691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24696 /* end confdefs.h. */
24697 #include <math.h>
24699 main ()
24701 frexpl(0, 0);
24703 return 0;
24705 _ACEOF
24706 if ac_fn_cxx_try_compile "$LINENO"; then :
24707 glibcxx_cv_func_frexpl_use=yes
24708 else
24709 glibcxx_cv_func_frexpl_use=no
24711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24712 ac_ext=c
24713 ac_cpp='$CPP $CPPFLAGS'
24714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24723 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24725 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24726 for ac_func in frexpl
24727 do :
24728 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24729 if test "x$ac_cv_func_frexpl" = x""yes; then :
24730 cat >>confdefs.h <<_ACEOF
24731 #define HAVE_FREXPL 1
24732 _ACEOF
24735 done
24737 else
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24740 $as_echo_n "checking for _frexpl declaration... " >&6; }
24741 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24742 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24743 $as_echo_n "(cached) " >&6
24744 else
24747 ac_ext=cpp
24748 ac_cpp='$CXXCPP $CPPFLAGS'
24749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24754 /* end confdefs.h. */
24755 #include <math.h>
24757 main ()
24759 _frexpl(0, 0);
24761 return 0;
24763 _ACEOF
24764 if ac_fn_cxx_try_compile "$LINENO"; then :
24765 glibcxx_cv_func__frexpl_use=yes
24766 else
24767 glibcxx_cv_func__frexpl_use=no
24769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24770 ac_ext=c
24771 ac_cpp='$CPP $CPPFLAGS'
24772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24781 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24783 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24784 for ac_func in _frexpl
24785 do :
24786 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24787 if test "x$ac_cv_func__frexpl" = x""yes; then :
24788 cat >>confdefs.h <<_ACEOF
24789 #define HAVE__FREXPL 1
24790 _ACEOF
24793 done
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24803 $as_echo_n "checking for hypotl declaration... " >&6; }
24804 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24805 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24806 $as_echo_n "(cached) " >&6
24807 else
24810 ac_ext=cpp
24811 ac_cpp='$CXXCPP $CPPFLAGS'
24812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24817 /* end confdefs.h. */
24818 #include <math.h>
24820 main ()
24822 hypotl(0, 0);
24824 return 0;
24826 _ACEOF
24827 if ac_fn_cxx_try_compile "$LINENO"; then :
24828 glibcxx_cv_func_hypotl_use=yes
24829 else
24830 glibcxx_cv_func_hypotl_use=no
24832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24833 ac_ext=c
24834 ac_cpp='$CPP $CPPFLAGS'
24835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24844 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24846 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24847 for ac_func in hypotl
24848 do :
24849 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24850 if test "x$ac_cv_func_hypotl" = x""yes; then :
24851 cat >>confdefs.h <<_ACEOF
24852 #define HAVE_HYPOTL 1
24853 _ACEOF
24856 done
24858 else
24860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24861 $as_echo_n "checking for _hypotl declaration... " >&6; }
24862 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24863 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24864 $as_echo_n "(cached) " >&6
24865 else
24868 ac_ext=cpp
24869 ac_cpp='$CXXCPP $CPPFLAGS'
24870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24875 /* end confdefs.h. */
24876 #include <math.h>
24878 main ()
24880 _hypotl(0, 0);
24882 return 0;
24884 _ACEOF
24885 if ac_fn_cxx_try_compile "$LINENO"; then :
24886 glibcxx_cv_func__hypotl_use=yes
24887 else
24888 glibcxx_cv_func__hypotl_use=no
24890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24891 ac_ext=c
24892 ac_cpp='$CPP $CPPFLAGS'
24893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24902 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24904 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24905 for ac_func in _hypotl
24906 do :
24907 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24908 if test "x$ac_cv_func__hypotl" = x""yes; then :
24909 cat >>confdefs.h <<_ACEOF
24910 #define HAVE__HYPOTL 1
24911 _ACEOF
24914 done
24923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24924 $as_echo_n "checking for ldexpl declaration... " >&6; }
24925 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24926 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24927 $as_echo_n "(cached) " >&6
24928 else
24931 ac_ext=cpp
24932 ac_cpp='$CXXCPP $CPPFLAGS'
24933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24938 /* end confdefs.h. */
24939 #include <math.h>
24941 main ()
24943 ldexpl(0, 0);
24945 return 0;
24947 _ACEOF
24948 if ac_fn_cxx_try_compile "$LINENO"; then :
24949 glibcxx_cv_func_ldexpl_use=yes
24950 else
24951 glibcxx_cv_func_ldexpl_use=no
24953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24954 ac_ext=c
24955 ac_cpp='$CPP $CPPFLAGS'
24956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24965 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24967 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24968 for ac_func in ldexpl
24969 do :
24970 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24971 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24972 cat >>confdefs.h <<_ACEOF
24973 #define HAVE_LDEXPL 1
24974 _ACEOF
24977 done
24979 else
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24982 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24983 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24984 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24985 $as_echo_n "(cached) " >&6
24986 else
24989 ac_ext=cpp
24990 ac_cpp='$CXXCPP $CPPFLAGS'
24991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24996 /* end confdefs.h. */
24997 #include <math.h>
24999 main ()
25001 _ldexpl(0, 0);
25003 return 0;
25005 _ACEOF
25006 if ac_fn_cxx_try_compile "$LINENO"; then :
25007 glibcxx_cv_func__ldexpl_use=yes
25008 else
25009 glibcxx_cv_func__ldexpl_use=no
25011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25012 ac_ext=c
25013 ac_cpp='$CPP $CPPFLAGS'
25014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25023 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25025 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25026 for ac_func in _ldexpl
25027 do :
25028 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25029 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25030 cat >>confdefs.h <<_ACEOF
25031 #define HAVE__LDEXPL 1
25032 _ACEOF
25035 done
25044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25045 $as_echo_n "checking for logl declaration... " >&6; }
25046 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25047 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25048 $as_echo_n "(cached) " >&6
25049 else
25052 ac_ext=cpp
25053 ac_cpp='$CXXCPP $CPPFLAGS'
25054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25059 /* end confdefs.h. */
25060 #include <math.h>
25061 #ifdef HAVE_IEEEFP_H
25062 #include <ieeefp.h>
25063 #endif
25066 main ()
25068 logl(0);
25070 return 0;
25072 _ACEOF
25073 if ac_fn_cxx_try_compile "$LINENO"; then :
25074 glibcxx_cv_func_logl_use=yes
25075 else
25076 glibcxx_cv_func_logl_use=no
25078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25079 ac_ext=c
25080 ac_cpp='$CPP $CPPFLAGS'
25081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25090 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25092 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25093 for ac_func in logl
25094 do :
25095 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25096 if test "x$ac_cv_func_logl" = x""yes; then :
25097 cat >>confdefs.h <<_ACEOF
25098 #define HAVE_LOGL 1
25099 _ACEOF
25102 done
25104 else
25106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25107 $as_echo_n "checking for _logl declaration... " >&6; }
25108 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25109 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25110 $as_echo_n "(cached) " >&6
25111 else
25114 ac_ext=cpp
25115 ac_cpp='$CXXCPP $CPPFLAGS'
25116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25121 /* end confdefs.h. */
25122 #include <math.h>
25123 #ifdef HAVE_IEEEFP_H
25124 #include <ieeefp.h>
25125 #endif
25128 main ()
25130 _logl(0);
25132 return 0;
25134 _ACEOF
25135 if ac_fn_cxx_try_compile "$LINENO"; then :
25136 glibcxx_cv_func__logl_use=yes
25137 else
25138 glibcxx_cv_func__logl_use=no
25140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25141 ac_ext=c
25142 ac_cpp='$CPP $CPPFLAGS'
25143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25152 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25154 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25155 for ac_func in _logl
25156 do :
25157 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25158 if test "x$ac_cv_func__logl" = x""yes; then :
25159 cat >>confdefs.h <<_ACEOF
25160 #define HAVE__LOGL 1
25161 _ACEOF
25164 done
25173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25174 $as_echo_n "checking for log10l declaration... " >&6; }
25175 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25176 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25177 $as_echo_n "(cached) " >&6
25178 else
25181 ac_ext=cpp
25182 ac_cpp='$CXXCPP $CPPFLAGS'
25183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25188 /* end confdefs.h. */
25189 #include <math.h>
25190 #ifdef HAVE_IEEEFP_H
25191 #include <ieeefp.h>
25192 #endif
25195 main ()
25197 log10l(0);
25199 return 0;
25201 _ACEOF
25202 if ac_fn_cxx_try_compile "$LINENO"; then :
25203 glibcxx_cv_func_log10l_use=yes
25204 else
25205 glibcxx_cv_func_log10l_use=no
25207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25208 ac_ext=c
25209 ac_cpp='$CPP $CPPFLAGS'
25210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25219 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25221 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25222 for ac_func in log10l
25223 do :
25224 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25225 if test "x$ac_cv_func_log10l" = x""yes; then :
25226 cat >>confdefs.h <<_ACEOF
25227 #define HAVE_LOG10L 1
25228 _ACEOF
25231 done
25233 else
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25236 $as_echo_n "checking for _log10l declaration... " >&6; }
25237 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25238 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25239 $as_echo_n "(cached) " >&6
25240 else
25243 ac_ext=cpp
25244 ac_cpp='$CXXCPP $CPPFLAGS'
25245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25250 /* end confdefs.h. */
25251 #include <math.h>
25252 #ifdef HAVE_IEEEFP_H
25253 #include <ieeefp.h>
25254 #endif
25257 main ()
25259 _log10l(0);
25261 return 0;
25263 _ACEOF
25264 if ac_fn_cxx_try_compile "$LINENO"; then :
25265 glibcxx_cv_func__log10l_use=yes
25266 else
25267 glibcxx_cv_func__log10l_use=no
25269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25270 ac_ext=c
25271 ac_cpp='$CPP $CPPFLAGS'
25272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25281 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25283 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25284 for ac_func in _log10l
25285 do :
25286 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25287 if test "x$ac_cv_func__log10l" = x""yes; then :
25288 cat >>confdefs.h <<_ACEOF
25289 #define HAVE__LOG10L 1
25290 _ACEOF
25293 done
25302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25303 $as_echo_n "checking for modfl declaration... " >&6; }
25304 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25305 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25306 $as_echo_n "(cached) " >&6
25307 else
25310 ac_ext=cpp
25311 ac_cpp='$CXXCPP $CPPFLAGS'
25312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25317 /* end confdefs.h. */
25318 #include <math.h>
25320 main ()
25322 modfl(0, 0);
25324 return 0;
25326 _ACEOF
25327 if ac_fn_cxx_try_compile "$LINENO"; then :
25328 glibcxx_cv_func_modfl_use=yes
25329 else
25330 glibcxx_cv_func_modfl_use=no
25332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25333 ac_ext=c
25334 ac_cpp='$CPP $CPPFLAGS'
25335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25344 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25346 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25347 for ac_func in modfl
25348 do :
25349 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25350 if test "x$ac_cv_func_modfl" = x""yes; then :
25351 cat >>confdefs.h <<_ACEOF
25352 #define HAVE_MODFL 1
25353 _ACEOF
25356 done
25358 else
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25361 $as_echo_n "checking for _modfl declaration... " >&6; }
25362 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25363 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25364 $as_echo_n "(cached) " >&6
25365 else
25368 ac_ext=cpp
25369 ac_cpp='$CXXCPP $CPPFLAGS'
25370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25375 /* end confdefs.h. */
25376 #include <math.h>
25378 main ()
25380 _modfl(0, 0);
25382 return 0;
25384 _ACEOF
25385 if ac_fn_cxx_try_compile "$LINENO"; then :
25386 glibcxx_cv_func__modfl_use=yes
25387 else
25388 glibcxx_cv_func__modfl_use=no
25390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25391 ac_ext=c
25392 ac_cpp='$CPP $CPPFLAGS'
25393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25402 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25404 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25405 for ac_func in _modfl
25406 do :
25407 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25408 if test "x$ac_cv_func__modfl" = x""yes; then :
25409 cat >>confdefs.h <<_ACEOF
25410 #define HAVE__MODFL 1
25411 _ACEOF
25414 done
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25424 $as_echo_n "checking for powl declaration... " >&6; }
25425 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25426 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25427 $as_echo_n "(cached) " >&6
25428 else
25431 ac_ext=cpp
25432 ac_cpp='$CXXCPP $CPPFLAGS'
25433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25438 /* end confdefs.h. */
25439 #include <math.h>
25441 main ()
25443 powl(0, 0);
25445 return 0;
25447 _ACEOF
25448 if ac_fn_cxx_try_compile "$LINENO"; then :
25449 glibcxx_cv_func_powl_use=yes
25450 else
25451 glibcxx_cv_func_powl_use=no
25453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25454 ac_ext=c
25455 ac_cpp='$CPP $CPPFLAGS'
25456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25465 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25467 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25468 for ac_func in powl
25469 do :
25470 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25471 if test "x$ac_cv_func_powl" = x""yes; then :
25472 cat >>confdefs.h <<_ACEOF
25473 #define HAVE_POWL 1
25474 _ACEOF
25477 done
25479 else
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25482 $as_echo_n "checking for _powl declaration... " >&6; }
25483 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25484 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25485 $as_echo_n "(cached) " >&6
25486 else
25489 ac_ext=cpp
25490 ac_cpp='$CXXCPP $CPPFLAGS'
25491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25496 /* end confdefs.h. */
25497 #include <math.h>
25499 main ()
25501 _powl(0, 0);
25503 return 0;
25505 _ACEOF
25506 if ac_fn_cxx_try_compile "$LINENO"; then :
25507 glibcxx_cv_func__powl_use=yes
25508 else
25509 glibcxx_cv_func__powl_use=no
25511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25512 ac_ext=c
25513 ac_cpp='$CPP $CPPFLAGS'
25514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25523 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25525 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25526 for ac_func in _powl
25527 do :
25528 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25529 if test "x$ac_cv_func__powl" = x""yes; then :
25530 cat >>confdefs.h <<_ACEOF
25531 #define HAVE__POWL 1
25532 _ACEOF
25535 done
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25545 $as_echo_n "checking for sqrtl declaration... " >&6; }
25546 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25547 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25548 $as_echo_n "(cached) " >&6
25549 else
25552 ac_ext=cpp
25553 ac_cpp='$CXXCPP $CPPFLAGS'
25554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25559 /* end confdefs.h. */
25560 #include <math.h>
25561 #ifdef HAVE_IEEEFP_H
25562 #include <ieeefp.h>
25563 #endif
25566 main ()
25568 sqrtl(0);
25570 return 0;
25572 _ACEOF
25573 if ac_fn_cxx_try_compile "$LINENO"; then :
25574 glibcxx_cv_func_sqrtl_use=yes
25575 else
25576 glibcxx_cv_func_sqrtl_use=no
25578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25579 ac_ext=c
25580 ac_cpp='$CPP $CPPFLAGS'
25581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25590 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25592 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25593 for ac_func in sqrtl
25594 do :
25595 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25596 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25597 cat >>confdefs.h <<_ACEOF
25598 #define HAVE_SQRTL 1
25599 _ACEOF
25602 done
25604 else
25606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25607 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25608 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25609 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25610 $as_echo_n "(cached) " >&6
25611 else
25614 ac_ext=cpp
25615 ac_cpp='$CXXCPP $CPPFLAGS'
25616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25621 /* end confdefs.h. */
25622 #include <math.h>
25623 #ifdef HAVE_IEEEFP_H
25624 #include <ieeefp.h>
25625 #endif
25628 main ()
25630 _sqrtl(0);
25632 return 0;
25634 _ACEOF
25635 if ac_fn_cxx_try_compile "$LINENO"; then :
25636 glibcxx_cv_func__sqrtl_use=yes
25637 else
25638 glibcxx_cv_func__sqrtl_use=no
25640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25641 ac_ext=c
25642 ac_cpp='$CPP $CPPFLAGS'
25643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25652 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25654 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25655 for ac_func in _sqrtl
25656 do :
25657 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25658 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25659 cat >>confdefs.h <<_ACEOF
25660 #define HAVE__SQRTL 1
25661 _ACEOF
25664 done
25673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25674 $as_echo_n "checking for sincosl declaration... " >&6; }
25675 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25676 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25677 $as_echo_n "(cached) " >&6
25678 else
25681 ac_ext=cpp
25682 ac_cpp='$CXXCPP $CPPFLAGS'
25683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25688 /* end confdefs.h. */
25689 #include <math.h>
25691 main ()
25693 sincosl(0, 0, 0);
25695 return 0;
25697 _ACEOF
25698 if ac_fn_cxx_try_compile "$LINENO"; then :
25699 glibcxx_cv_func_sincosl_use=yes
25700 else
25701 glibcxx_cv_func_sincosl_use=no
25703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25704 ac_ext=c
25705 ac_cpp='$CPP $CPPFLAGS'
25706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25715 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25717 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25718 for ac_func in sincosl
25719 do :
25720 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25721 if test "x$ac_cv_func_sincosl" = x""yes; then :
25722 cat >>confdefs.h <<_ACEOF
25723 #define HAVE_SINCOSL 1
25724 _ACEOF
25727 done
25729 else
25731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25732 $as_echo_n "checking for _sincosl declaration... " >&6; }
25733 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25734 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25735 $as_echo_n "(cached) " >&6
25736 else
25739 ac_ext=cpp
25740 ac_cpp='$CXXCPP $CPPFLAGS'
25741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25746 /* end confdefs.h. */
25747 #include <math.h>
25749 main ()
25751 _sincosl(0, 0, 0);
25753 return 0;
25755 _ACEOF
25756 if ac_fn_cxx_try_compile "$LINENO"; then :
25757 glibcxx_cv_func__sincosl_use=yes
25758 else
25759 glibcxx_cv_func__sincosl_use=no
25761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25762 ac_ext=c
25763 ac_cpp='$CPP $CPPFLAGS'
25764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25773 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25775 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25776 for ac_func in _sincosl
25777 do :
25778 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25779 if test "x$ac_cv_func__sincosl" = x""yes; then :
25780 cat >>confdefs.h <<_ACEOF
25781 #define HAVE__SINCOSL 1
25782 _ACEOF
25785 done
25794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25795 $as_echo_n "checking for finitel declaration... " >&6; }
25796 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25797 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25798 $as_echo_n "(cached) " >&6
25799 else
25802 ac_ext=cpp
25803 ac_cpp='$CXXCPP $CPPFLAGS'
25804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25809 /* end confdefs.h. */
25810 #include <math.h>
25811 #ifdef HAVE_IEEEFP_H
25812 #include <ieeefp.h>
25813 #endif
25816 main ()
25818 finitel(0);
25820 return 0;
25822 _ACEOF
25823 if ac_fn_cxx_try_compile "$LINENO"; then :
25824 glibcxx_cv_func_finitel_use=yes
25825 else
25826 glibcxx_cv_func_finitel_use=no
25828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25829 ac_ext=c
25830 ac_cpp='$CPP $CPPFLAGS'
25831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25840 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25842 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25843 for ac_func in finitel
25844 do :
25845 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25846 if test "x$ac_cv_func_finitel" = x""yes; then :
25847 cat >>confdefs.h <<_ACEOF
25848 #define HAVE_FINITEL 1
25849 _ACEOF
25852 done
25854 else
25856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25857 $as_echo_n "checking for _finitel declaration... " >&6; }
25858 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25859 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25860 $as_echo_n "(cached) " >&6
25861 else
25864 ac_ext=cpp
25865 ac_cpp='$CXXCPP $CPPFLAGS'
25866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25871 /* end confdefs.h. */
25872 #include <math.h>
25873 #ifdef HAVE_IEEEFP_H
25874 #include <ieeefp.h>
25875 #endif
25878 main ()
25880 _finitel(0);
25882 return 0;
25884 _ACEOF
25885 if ac_fn_cxx_try_compile "$LINENO"; then :
25886 glibcxx_cv_func__finitel_use=yes
25887 else
25888 glibcxx_cv_func__finitel_use=no
25890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25891 ac_ext=c
25892 ac_cpp='$CPP $CPPFLAGS'
25893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25902 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25904 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25905 for ac_func in _finitel
25906 do :
25907 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25908 if test "x$ac_cv_func__finitel" = x""yes; then :
25909 cat >>confdefs.h <<_ACEOF
25910 #define HAVE__FINITEL 1
25911 _ACEOF
25914 done
25922 LIBS="$ac_save_LIBS"
25923 CXXFLAGS="$ac_save_CXXFLAGS"
25926 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25927 ac_save_CXXFLAGS="$CXXFLAGS"
25928 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25932 $as_echo_n "checking for strtold declaration... " >&6; }
25933 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25934 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25935 $as_echo_n "(cached) " >&6
25936 else
25939 ac_ext=cpp
25940 ac_cpp='$CXXCPP $CPPFLAGS'
25941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25946 /* end confdefs.h. */
25947 #include <stdlib.h>
25949 main ()
25951 strtold(0, 0);
25953 return 0;
25955 _ACEOF
25956 if ac_fn_cxx_try_compile "$LINENO"; then :
25957 glibcxx_cv_func_strtold_use=yes
25958 else
25959 glibcxx_cv_func_strtold_use=no
25961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25962 ac_ext=c
25963 ac_cpp='$CPP $CPPFLAGS'
25964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25973 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25974 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25975 for ac_func in strtold
25976 do :
25977 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25978 if test "x$ac_cv_func_strtold" = x""yes; then :
25979 cat >>confdefs.h <<_ACEOF
25980 #define HAVE_STRTOLD 1
25981 _ACEOF
25984 done
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25992 $as_echo_n "checking for strtof declaration... " >&6; }
25993 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25994 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25995 $as_echo_n "(cached) " >&6
25996 else
25999 ac_ext=cpp
26000 ac_cpp='$CXXCPP $CPPFLAGS'
26001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26006 /* end confdefs.h. */
26007 #include <stdlib.h>
26009 main ()
26011 strtof(0, 0);
26013 return 0;
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func_strtof_use=yes
26018 else
26019 glibcxx_cv_func_strtof_use=no
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26033 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26034 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26035 for ac_func in strtof
26036 do :
26037 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26038 if test "x$ac_cv_func_strtof" = x""yes; then :
26039 cat >>confdefs.h <<_ACEOF
26040 #define HAVE_STRTOF 1
26041 _ACEOF
26044 done
26051 CXXFLAGS="$ac_save_CXXFLAGS"
26054 # For /dev/random and /dev/urandom for TR1.
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26058 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26059 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26060 $as_echo_n "(cached) " >&6
26061 else
26063 if test -r /dev/random && test -r /dev/urandom; then
26064 glibcxx_cv_random_tr1=yes;
26065 else
26066 glibcxx_cv_random_tr1=no;
26071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26072 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26074 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26076 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26082 # For TLS support.
26085 # Check whether --enable-tls was given.
26086 if test "${enable_tls+set}" = set; then :
26087 enableval=$enable_tls;
26088 case "$enableval" in
26089 yes|no) ;;
26090 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26091 esac
26093 else
26094 enable_tls=yes
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26099 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26100 if test "${gcc_cv_have_tls+set}" = set; then :
26101 $as_echo_n "(cached) " >&6
26102 else
26104 if test "$cross_compiling" = yes; then :
26105 if test x$gcc_no_link = xyes; then
26106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26109 /* end confdefs.h. */
26110 __thread int a; int b; int main() { return a = b; }
26111 _ACEOF
26112 if ac_fn_c_try_link "$LINENO"; then :
26113 chktls_save_LDFLAGS="$LDFLAGS"
26114 case $host in
26115 *-*-linux*)
26116 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26118 esac
26119 chktls_save_CFLAGS="$CFLAGS"
26120 CFLAGS="-fPIC $CFLAGS"
26121 if test x$gcc_no_link = xyes; then
26122 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26125 /* end confdefs.h. */
26126 int f() { return 0; }
26127 _ACEOF
26128 if ac_fn_c_try_link "$LINENO"; then :
26129 if test x$gcc_no_link = xyes; then
26130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26133 /* end confdefs.h. */
26134 __thread int a; int b; int f() { return a = b; }
26135 _ACEOF
26136 if ac_fn_c_try_link "$LINENO"; then :
26137 gcc_cv_have_tls=yes
26138 else
26139 gcc_cv_have_tls=no
26141 rm -f core conftest.err conftest.$ac_objext \
26142 conftest$ac_exeext conftest.$ac_ext
26143 else
26144 gcc_cv_have_tls=yes
26146 rm -f core conftest.err conftest.$ac_objext \
26147 conftest$ac_exeext conftest.$ac_ext
26148 CFLAGS="$chktls_save_CFLAGS"
26149 LDFLAGS="$chktls_save_LDFLAGS"
26150 else
26151 gcc_cv_have_tls=no
26153 rm -f core conftest.err conftest.$ac_objext \
26154 conftest$ac_exeext conftest.$ac_ext
26157 else
26158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26159 /* end confdefs.h. */
26160 __thread int a; int b; int main() { return a = b; }
26161 _ACEOF
26162 if ac_fn_c_try_run "$LINENO"; then :
26163 chktls_save_LDFLAGS="$LDFLAGS"
26164 LDFLAGS="-static $LDFLAGS"
26165 if test x$gcc_no_link = xyes; then
26166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26169 /* end confdefs.h. */
26170 int main() { return 0; }
26171 _ACEOF
26172 if ac_fn_c_try_link "$LINENO"; then :
26173 if test "$cross_compiling" = yes; then :
26174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26176 as_fn_error "cannot run test program while cross compiling
26177 See \`config.log' for more details." "$LINENO" 5; }
26178 else
26179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26180 /* end confdefs.h. */
26181 __thread int a; int b; int main() { return a = b; }
26182 _ACEOF
26183 if ac_fn_c_try_run "$LINENO"; then :
26184 gcc_cv_have_tls=yes
26185 else
26186 gcc_cv_have_tls=no
26188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26189 conftest.$ac_objext conftest.beam conftest.$ac_ext
26192 else
26193 gcc_cv_have_tls=yes
26195 rm -f core conftest.err conftest.$ac_objext \
26196 conftest$ac_exeext conftest.$ac_ext
26197 LDFLAGS="$chktls_save_LDFLAGS"
26198 if test $gcc_cv_have_tls = yes; then
26199 chktls_save_CFLAGS="$CFLAGS"
26200 thread_CFLAGS=failed
26201 for flag in '' '-pthread' '-lpthread'; do
26202 CFLAGS="$flag $chktls_save_CFLAGS"
26203 if test x$gcc_no_link = xyes; then
26204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26207 /* end confdefs.h. */
26208 #include <pthread.h>
26209 void *g(void *d) { return NULL; }
26211 main ()
26213 pthread_t t; pthread_create(&t,NULL,g,NULL);
26215 return 0;
26217 _ACEOF
26218 if ac_fn_c_try_link "$LINENO"; then :
26219 thread_CFLAGS="$flag"
26221 rm -f core conftest.err conftest.$ac_objext \
26222 conftest$ac_exeext conftest.$ac_ext
26223 if test "X$thread_CFLAGS" != Xfailed; then
26224 break
26226 done
26227 CFLAGS="$chktls_save_CFLAGS"
26228 if test "X$thread_CFLAGS" != Xfailed; then
26229 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26230 if test "$cross_compiling" = yes; then :
26231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26233 as_fn_error "cannot run test program while cross compiling
26234 See \`config.log' for more details." "$LINENO" 5; }
26235 else
26236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26237 /* end confdefs.h. */
26238 #include <pthread.h>
26239 __thread int a;
26240 static int *volatile a_in_other_thread;
26241 static void *
26242 thread_func (void *arg)
26244 a_in_other_thread = &a;
26245 return (void *)0;
26248 main ()
26250 pthread_t thread;
26251 void *thread_retval;
26252 int *volatile a_in_main_thread;
26253 a_in_main_thread = &a;
26254 if (pthread_create (&thread, (pthread_attr_t *)0,
26255 thread_func, (void *)0))
26256 return 0;
26257 if (pthread_join (thread, &thread_retval))
26258 return 0;
26259 return (a_in_other_thread == a_in_main_thread);
26261 return 0;
26263 _ACEOF
26264 if ac_fn_c_try_run "$LINENO"; then :
26265 gcc_cv_have_tls=yes
26266 else
26267 gcc_cv_have_tls=no
26269 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26270 conftest.$ac_objext conftest.beam conftest.$ac_ext
26273 CFLAGS="$chktls_save_CFLAGS"
26276 else
26277 gcc_cv_have_tls=no
26279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26280 conftest.$ac_objext conftest.beam conftest.$ac_ext
26284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26285 $as_echo "$gcc_cv_have_tls" >&6; }
26286 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26288 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26292 # For iconv support.
26294 if test "X$prefix" = "XNONE"; then
26295 acl_final_prefix="$ac_default_prefix"
26296 else
26297 acl_final_prefix="$prefix"
26299 if test "X$exec_prefix" = "XNONE"; then
26300 acl_final_exec_prefix='${prefix}'
26301 else
26302 acl_final_exec_prefix="$exec_prefix"
26304 acl_save_prefix="$prefix"
26305 prefix="$acl_final_prefix"
26306 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26307 prefix="$acl_save_prefix"
26310 # Check whether --with-gnu-ld was given.
26311 if test "${with_gnu_ld+set}" = set; then :
26312 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26313 else
26314 with_gnu_ld=no
26317 # Prepare PATH_SEPARATOR.
26318 # The user is always right.
26319 if test "${PATH_SEPARATOR+set}" != set; then
26320 echo "#! /bin/sh" >conf$$.sh
26321 echo "exit 0" >>conf$$.sh
26322 chmod +x conf$$.sh
26323 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26324 PATH_SEPARATOR=';'
26325 else
26326 PATH_SEPARATOR=:
26328 rm -f conf$$.sh
26330 ac_prog=ld
26331 if test "$GCC" = yes; then
26332 # Check if gcc -print-prog-name=ld gives a path.
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26334 $as_echo_n "checking for ld used by GCC... " >&6; }
26335 case $host in
26336 *-*-mingw*)
26337 # gcc leaves a trailing carriage return which upsets mingw
26338 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26340 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26341 esac
26342 case $ac_prog in
26343 # Accept absolute paths.
26344 [\\/]* | [A-Za-z]:[\\/]*)
26345 re_direlt='/[^/][^/]*/\.\./'
26346 # Canonicalize the path of ld
26347 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26348 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26349 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26350 done
26351 test -z "$LD" && LD="$ac_prog"
26354 # If it fails, then pretend we aren't using GCC.
26355 ac_prog=ld
26358 # If it is relative, then search for the first ld in PATH.
26359 with_gnu_ld=unknown
26361 esac
26362 elif test "$with_gnu_ld" = yes; then
26363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26364 $as_echo_n "checking for GNU ld... " >&6; }
26365 else
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26367 $as_echo_n "checking for non-GNU ld... " >&6; }
26369 if test "${acl_cv_path_LD+set}" = set; then :
26370 $as_echo_n "(cached) " >&6
26371 else
26372 if test -z "$LD"; then
26373 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26374 for ac_dir in $PATH; do
26375 test -z "$ac_dir" && ac_dir=.
26376 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26377 acl_cv_path_LD="$ac_dir/$ac_prog"
26378 # Check to see if the program is GNU ld. I'd rather use --version,
26379 # but apparently some GNU ld's only accept -v.
26380 # Break only if it was the GNU/non-GNU ld that we prefer.
26381 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26382 test "$with_gnu_ld" != no && break
26383 else
26384 test "$with_gnu_ld" != yes && break
26387 done
26388 IFS="$ac_save_ifs"
26389 else
26390 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26394 LD="$acl_cv_path_LD"
26395 if test -n "$LD"; then
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26397 $as_echo "$LD" >&6; }
26398 else
26399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26400 $as_echo "no" >&6; }
26402 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26404 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26405 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26406 $as_echo_n "(cached) " >&6
26407 else
26408 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26409 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26410 acl_cv_prog_gnu_ld=yes
26411 else
26412 acl_cv_prog_gnu_ld=no
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26416 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26417 with_gnu_ld=$acl_cv_prog_gnu_ld
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26422 $as_echo_n "checking for shared library run path origin... " >&6; }
26423 if test "${acl_cv_rpath+set}" = set; then :
26424 $as_echo_n "(cached) " >&6
26425 else
26427 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26428 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26429 . ./conftest.sh
26430 rm -f ./conftest.sh
26431 acl_cv_rpath=done
26434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26435 $as_echo "$acl_cv_rpath" >&6; }
26436 wl="$acl_cv_wl"
26437 libext="$acl_cv_libext"
26438 shlibext="$acl_cv_shlibext"
26439 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26440 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26441 hardcode_direct="$acl_cv_hardcode_direct"
26442 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26443 # Check whether --enable-rpath was given.
26444 if test "${enable_rpath+set}" = set; then :
26445 enableval=$enable_rpath; :
26446 else
26447 enable_rpath=yes
26457 use_additional=yes
26459 acl_save_prefix="$prefix"
26460 prefix="$acl_final_prefix"
26461 acl_save_exec_prefix="$exec_prefix"
26462 exec_prefix="$acl_final_exec_prefix"
26464 eval additional_includedir=\"$includedir\"
26465 eval additional_libdir=\"$libdir\"
26467 exec_prefix="$acl_save_exec_prefix"
26468 prefix="$acl_save_prefix"
26471 # Check whether --with-libiconv-prefix was given.
26472 if test "${with_libiconv_prefix+set}" = set; then :
26473 withval=$with_libiconv_prefix;
26474 if test "X$withval" = "Xno"; then
26475 use_additional=no
26476 else
26477 if test "X$withval" = "X"; then
26479 acl_save_prefix="$prefix"
26480 prefix="$acl_final_prefix"
26481 acl_save_exec_prefix="$exec_prefix"
26482 exec_prefix="$acl_final_exec_prefix"
26484 eval additional_includedir=\"$includedir\"
26485 eval additional_libdir=\"$libdir\"
26487 exec_prefix="$acl_save_exec_prefix"
26488 prefix="$acl_save_prefix"
26490 else
26491 additional_includedir="$withval/include"
26492 additional_libdir="$withval/lib"
26498 LIBICONV=
26499 LTLIBICONV=
26500 INCICONV=
26501 rpathdirs=
26502 ltrpathdirs=
26503 names_already_handled=
26504 names_next_round='iconv '
26505 while test -n "$names_next_round"; do
26506 names_this_round="$names_next_round"
26507 names_next_round=
26508 for name in $names_this_round; do
26509 already_handled=
26510 for n in $names_already_handled; do
26511 if test "$n" = "$name"; then
26512 already_handled=yes
26513 break
26515 done
26516 if test -z "$already_handled"; then
26517 names_already_handled="$names_already_handled $name"
26518 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26519 eval value=\"\$HAVE_LIB$uppername\"
26520 if test -n "$value"; then
26521 if test "$value" = yes; then
26522 eval value=\"\$LIB$uppername\"
26523 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26524 eval value=\"\$LTLIB$uppername\"
26525 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26526 else
26529 else
26530 found_dir=
26531 found_la=
26532 found_so=
26533 found_a=
26534 if test $use_additional = yes; then
26535 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26536 found_dir="$additional_libdir"
26537 found_so="$additional_libdir/lib$name.$shlibext"
26538 if test -f "$additional_libdir/lib$name.la"; then
26539 found_la="$additional_libdir/lib$name.la"
26541 else
26542 if test -f "$additional_libdir/lib$name.$libext"; then
26543 found_dir="$additional_libdir"
26544 found_a="$additional_libdir/lib$name.$libext"
26545 if test -f "$additional_libdir/lib$name.la"; then
26546 found_la="$additional_libdir/lib$name.la"
26551 if test "X$found_dir" = "X"; then
26552 for x in $LDFLAGS $LTLIBICONV; do
26554 acl_save_prefix="$prefix"
26555 prefix="$acl_final_prefix"
26556 acl_save_exec_prefix="$exec_prefix"
26557 exec_prefix="$acl_final_exec_prefix"
26558 eval x=\"$x\"
26559 exec_prefix="$acl_save_exec_prefix"
26560 prefix="$acl_save_prefix"
26562 case "$x" in
26563 -L*)
26564 dir=`echo "X$x" | sed -e 's/^X-L//'`
26565 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26566 found_dir="$dir"
26567 found_so="$dir/lib$name.$shlibext"
26568 if test -f "$dir/lib$name.la"; then
26569 found_la="$dir/lib$name.la"
26571 else
26572 if test -f "$dir/lib$name.$libext"; then
26573 found_dir="$dir"
26574 found_a="$dir/lib$name.$libext"
26575 if test -f "$dir/lib$name.la"; then
26576 found_la="$dir/lib$name.la"
26581 esac
26582 if test "X$found_dir" != "X"; then
26583 break
26585 done
26587 if test "X$found_dir" != "X"; then
26588 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26589 if test "X$found_so" != "X"; then
26590 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26591 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26592 else
26593 haveit=
26594 for x in $ltrpathdirs; do
26595 if test "X$x" = "X$found_dir"; then
26596 haveit=yes
26597 break
26599 done
26600 if test -z "$haveit"; then
26601 ltrpathdirs="$ltrpathdirs $found_dir"
26603 if test "$hardcode_direct" = yes; then
26604 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26605 else
26606 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26607 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26608 haveit=
26609 for x in $rpathdirs; do
26610 if test "X$x" = "X$found_dir"; then
26611 haveit=yes
26612 break
26614 done
26615 if test -z "$haveit"; then
26616 rpathdirs="$rpathdirs $found_dir"
26618 else
26619 haveit=
26620 for x in $LDFLAGS $LIBICONV; do
26622 acl_save_prefix="$prefix"
26623 prefix="$acl_final_prefix"
26624 acl_save_exec_prefix="$exec_prefix"
26625 exec_prefix="$acl_final_exec_prefix"
26626 eval x=\"$x\"
26627 exec_prefix="$acl_save_exec_prefix"
26628 prefix="$acl_save_prefix"
26630 if test "X$x" = "X-L$found_dir"; then
26631 haveit=yes
26632 break
26634 done
26635 if test -z "$haveit"; then
26636 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26638 if test "$hardcode_minus_L" != no; then
26639 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26640 else
26641 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26646 else
26647 if test "X$found_a" != "X"; then
26648 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26649 else
26650 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26653 additional_includedir=
26654 case "$found_dir" in
26655 */lib | */lib/)
26656 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26657 additional_includedir="$basedir/include"
26659 esac
26660 if test "X$additional_includedir" != "X"; then
26661 if test "X$additional_includedir" != "X/usr/include"; then
26662 haveit=
26663 if test "X$additional_includedir" = "X/usr/local/include"; then
26664 if test -n "$GCC"; then
26665 case $host_os in
26666 linux*) haveit=yes;;
26667 esac
26670 if test -z "$haveit"; then
26671 for x in $CPPFLAGS $INCICONV; do
26673 acl_save_prefix="$prefix"
26674 prefix="$acl_final_prefix"
26675 acl_save_exec_prefix="$exec_prefix"
26676 exec_prefix="$acl_final_exec_prefix"
26677 eval x=\"$x\"
26678 exec_prefix="$acl_save_exec_prefix"
26679 prefix="$acl_save_prefix"
26681 if test "X$x" = "X-I$additional_includedir"; then
26682 haveit=yes
26683 break
26685 done
26686 if test -z "$haveit"; then
26687 if test -d "$additional_includedir"; then
26688 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26694 if test -n "$found_la"; then
26695 save_libdir="$libdir"
26696 case "$found_la" in
26697 */* | *\\*) . "$found_la" ;;
26698 *) . "./$found_la" ;;
26699 esac
26700 libdir="$save_libdir"
26701 for dep in $dependency_libs; do
26702 case "$dep" in
26703 -L*)
26704 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26705 if test "X$additional_libdir" != "X/usr/lib"; then
26706 haveit=
26707 if test "X$additional_libdir" = "X/usr/local/lib"; then
26708 if test -n "$GCC"; then
26709 case $host_os in
26710 linux*) haveit=yes;;
26711 esac
26714 if test -z "$haveit"; then
26715 haveit=
26716 for x in $LDFLAGS $LIBICONV; do
26718 acl_save_prefix="$prefix"
26719 prefix="$acl_final_prefix"
26720 acl_save_exec_prefix="$exec_prefix"
26721 exec_prefix="$acl_final_exec_prefix"
26722 eval x=\"$x\"
26723 exec_prefix="$acl_save_exec_prefix"
26724 prefix="$acl_save_prefix"
26726 if test "X$x" = "X-L$additional_libdir"; then
26727 haveit=yes
26728 break
26730 done
26731 if test -z "$haveit"; then
26732 if test -d "$additional_libdir"; then
26733 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26736 haveit=
26737 for x in $LDFLAGS $LTLIBICONV; do
26739 acl_save_prefix="$prefix"
26740 prefix="$acl_final_prefix"
26741 acl_save_exec_prefix="$exec_prefix"
26742 exec_prefix="$acl_final_exec_prefix"
26743 eval x=\"$x\"
26744 exec_prefix="$acl_save_exec_prefix"
26745 prefix="$acl_save_prefix"
26747 if test "X$x" = "X-L$additional_libdir"; then
26748 haveit=yes
26749 break
26751 done
26752 if test -z "$haveit"; then
26753 if test -d "$additional_libdir"; then
26754 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26760 -R*)
26761 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26762 if test "$enable_rpath" != no; then
26763 haveit=
26764 for x in $rpathdirs; do
26765 if test "X$x" = "X$dir"; then
26766 haveit=yes
26767 break
26769 done
26770 if test -z "$haveit"; then
26771 rpathdirs="$rpathdirs $dir"
26773 haveit=
26774 for x in $ltrpathdirs; do
26775 if test "X$x" = "X$dir"; then
26776 haveit=yes
26777 break
26779 done
26780 if test -z "$haveit"; then
26781 ltrpathdirs="$ltrpathdirs $dir"
26785 -l*)
26786 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26788 *.la)
26789 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26792 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26793 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26795 esac
26796 done
26798 else
26799 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26800 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26804 done
26805 done
26806 if test "X$rpathdirs" != "X"; then
26807 if test -n "$hardcode_libdir_separator"; then
26808 alldirs=
26809 for found_dir in $rpathdirs; do
26810 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26811 done
26812 acl_save_libdir="$libdir"
26813 libdir="$alldirs"
26814 eval flag=\"$hardcode_libdir_flag_spec\"
26815 libdir="$acl_save_libdir"
26816 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26817 else
26818 for found_dir in $rpathdirs; do
26819 acl_save_libdir="$libdir"
26820 libdir="$found_dir"
26821 eval flag=\"$hardcode_libdir_flag_spec\"
26822 libdir="$acl_save_libdir"
26823 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26824 done
26827 if test "X$ltrpathdirs" != "X"; then
26828 for found_dir in $ltrpathdirs; do
26829 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26830 done
26839 am_save_CPPFLAGS="$CPPFLAGS"
26841 for element in $INCICONV; do
26842 haveit=
26843 for x in $CPPFLAGS; do
26845 acl_save_prefix="$prefix"
26846 prefix="$acl_final_prefix"
26847 acl_save_exec_prefix="$exec_prefix"
26848 exec_prefix="$acl_final_exec_prefix"
26849 eval x=\"$x\"
26850 exec_prefix="$acl_save_exec_prefix"
26851 prefix="$acl_save_prefix"
26853 if test "X$x" = "X$element"; then
26854 haveit=yes
26855 break
26857 done
26858 if test -z "$haveit"; then
26859 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26861 done
26864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26865 $as_echo_n "checking for iconv... " >&6; }
26866 if test "${am_cv_func_iconv+set}" = set; then :
26867 $as_echo_n "(cached) " >&6
26868 else
26870 am_cv_func_iconv="no, consider installing GNU libiconv"
26871 am_cv_lib_iconv=no
26872 if test x$gcc_no_link = xyes; then
26873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26876 /* end confdefs.h. */
26877 #include <stdlib.h>
26878 #include <iconv.h>
26880 main ()
26882 iconv_t cd = iconv_open("","");
26883 iconv(cd,NULL,NULL,NULL,NULL);
26884 iconv_close(cd);
26886 return 0;
26888 _ACEOF
26889 if ac_fn_c_try_link "$LINENO"; then :
26890 am_cv_func_iconv=yes
26892 rm -f core conftest.err conftest.$ac_objext \
26893 conftest$ac_exeext conftest.$ac_ext
26894 if test "$am_cv_func_iconv" != yes; then
26895 am_save_LIBS="$LIBS"
26896 LIBS="$LIBS $LIBICONV"
26897 if test x$gcc_no_link = xyes; then
26898 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26901 /* end confdefs.h. */
26902 #include <stdlib.h>
26903 #include <iconv.h>
26905 main ()
26907 iconv_t cd = iconv_open("","");
26908 iconv(cd,NULL,NULL,NULL,NULL);
26909 iconv_close(cd);
26911 return 0;
26913 _ACEOF
26914 if ac_fn_c_try_link "$LINENO"; then :
26915 am_cv_lib_iconv=yes
26916 am_cv_func_iconv=yes
26918 rm -f core conftest.err conftest.$ac_objext \
26919 conftest$ac_exeext conftest.$ac_ext
26920 LIBS="$am_save_LIBS"
26924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26925 $as_echo "$am_cv_func_iconv" >&6; }
26926 if test "$am_cv_func_iconv" = yes; then
26928 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26931 if test "$am_cv_lib_iconv" = yes; then
26932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26933 $as_echo_n "checking how to link with libiconv... " >&6; }
26934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26935 $as_echo "$LIBICONV" >&6; }
26936 else
26937 CPPFLAGS="$am_save_CPPFLAGS"
26938 LIBICONV=
26939 LTLIBICONV=
26944 if test "$am_cv_func_iconv" = yes; then
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26946 $as_echo_n "checking for iconv declaration... " >&6; }
26947 if test "${am_cv_proto_iconv+set}" = set; then :
26948 $as_echo_n "(cached) " >&6
26949 else
26951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26952 /* end confdefs.h. */
26954 #include <stdlib.h>
26955 #include <iconv.h>
26956 extern
26957 #ifdef __cplusplus
26959 #endif
26960 #if defined(__STDC__) || defined(__cplusplus)
26961 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26962 #else
26963 size_t iconv();
26964 #endif
26967 main ()
26971 return 0;
26973 _ACEOF
26974 if ac_fn_c_try_compile "$LINENO"; then :
26975 am_cv_proto_iconv_arg1=""
26976 else
26977 am_cv_proto_iconv_arg1="const"
26979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26980 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);"
26983 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26985 }$am_cv_proto_iconv" >&5
26986 $as_echo "${ac_t:-
26987 }$am_cv_proto_iconv" >&6; }
26989 cat >>confdefs.h <<_ACEOF
26990 #define ICONV_CONST $am_cv_proto_iconv_arg1
26991 _ACEOF
26996 else
26998 # This lets us hard-code the functionality we know we'll have in the cross
26999 # target environment. "Let" is a sugar-coated word placed on an especially
27000 # dull and tedious hack, actually.
27002 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27003 # that involve linking, can't be used:
27004 # "cannot open sim-crt0.o"
27005 # "cannot open crt0.o"
27006 # etc. All this is because there currently exists no unified, consistent
27007 # way for top level CC information to be passed down to target directories:
27008 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27009 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27010 # crosses can be removed.
27012 # If Canadian cross, then don't pick up tools from the build directory.
27013 # Used only in GLIBCXX_EXPORT_INCLUDES.
27014 if test -n "$with_cross_host" &&
27015 test x"$build_alias" != x"$with_cross_host" &&
27016 test x"$build" != x"$target";
27017 then
27018 CANADIAN=yes
27019 else
27020 CANADIAN=no
27023 # Construct crosses by hand, eliminating bits that need ld...
27024 # GLIBCXX_CHECK_MATH_SUPPORT
27026 # First, test for "known" system libraries. We may be using newlib even
27027 # on a hosted environment.
27028 if test "x${with_newlib}" = "xyes"; then
27029 os_include_dir="os/newlib"
27030 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27033 # GLIBCXX_CHECK_STDLIB_SUPPORT
27034 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27037 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27039 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27041 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27043 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27045 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27047 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27049 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27051 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27053 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27055 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27057 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27059 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27061 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27063 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27065 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27067 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27069 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27071 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27073 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27075 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27077 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27079 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27082 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27084 else
27086 # Base decisions on target environment.
27087 case "${host}" in
27088 arm*-*-symbianelf*)
27089 # This is a freestanding configuration; there is nothing to do here.
27092 mips*-sde-elf*)
27093 # These definitions are for the SDE C library rather than newlib.
27094 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27097 # All these tests are for C++; save the language and the compiler flags.
27098 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27099 # found in GLIBCXX_CONFIGURE.
27101 ac_ext=cpp
27102 ac_cpp='$CXXCPP $CPPFLAGS'
27103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27107 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27108 ac_save_CXXFLAGS="$CXXFLAGS"
27110 # Check for maintainer-mode bits.
27111 if test x"$USE_MAINTAINER_MODE" = xno; then
27112 WERROR=''
27113 else
27114 WERROR='-Werror'
27117 # Check for -ffunction-sections -fdata-sections
27118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27119 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27120 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27122 /* end confdefs.h. */
27123 int foo; void bar() { };
27125 main ()
27129 return 0;
27131 _ACEOF
27132 if ac_fn_cxx_try_compile "$LINENO"; then :
27133 ac_fdsections=yes
27134 else
27135 ac_fdsections=no
27137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27138 if test "$ac_test_CXXFLAGS" = set; then
27139 CXXFLAGS="$ac_save_CXXFLAGS"
27140 else
27141 # this is the suspicious part
27142 CXXFLAGS=''
27144 if test x"$ac_fdsections" = x"yes"; then
27145 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27148 $as_echo "$ac_fdsections" >&6; }
27150 ac_ext=c
27151 ac_cpp='$CPP $CPPFLAGS'
27152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27160 # If we're not using GNU ld, then there's no point in even trying these
27161 # tests. Check for that first. We should have already tested for gld
27162 # by now (in libtool), but require it now just to be safe...
27163 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27164 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27168 # The name set by libtool depends on the version of libtool. Shame on us
27169 # for depending on an impl detail, but c'est la vie. Older versions used
27170 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27171 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27172 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27173 # set (hence we're using an older libtool), then set it.
27174 if test x${with_gnu_ld+set} != xset; then
27175 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27176 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27177 with_gnu_ld=no
27178 else
27179 with_gnu_ld=$ac_cv_prog_gnu_ld
27183 # Start by getting the version number. I think the libtool test already
27184 # does some of this, but throws away the result.
27185 glibcxx_ld_is_gold=no
27186 if test x"$with_gnu_ld" = x"yes"; then
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27188 $as_echo_n "checking for ld version... " >&6; }
27190 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27191 glibcxx_ld_is_gold=yes
27193 ldver=`$LD --version 2>/dev/null |
27194 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'`
27196 glibcxx_gnu_ld_version=`echo $ldver | \
27197 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27199 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27202 # Set --gc-sections.
27203 glibcxx_have_gc_sections=no
27204 if test "$glibcxx_ld_is_gold" = "yes"; then
27205 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27206 glibcxx_have_gc_sections=yes
27208 else
27209 glibcxx_gcsections_min_ld=21602
27210 if test x"$with_gnu_ld" = x"yes" &&
27211 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27212 glibcxx_have_gc_sections=yes
27215 if test "$glibcxx_have_gc_sections" = "yes"; then
27216 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27217 # NB: This flag only works reliably after 2.16.1. Configure tests
27218 # for this are difficult, so hard wire a value that should work.
27220 ac_test_CFLAGS="${CFLAGS+set}"
27221 ac_save_CFLAGS="$CFLAGS"
27222 CFLAGS='-Wl,--gc-sections'
27224 # Check for -Wl,--gc-sections
27225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27226 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27227 if test x$gcc_no_link = xyes; then
27228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27231 /* end confdefs.h. */
27232 int one(void) { return 1; }
27233 int two(void) { return 2; }
27236 main ()
27238 two();
27240 return 0;
27242 _ACEOF
27243 if ac_fn_c_try_link "$LINENO"; then :
27244 ac_gcsections=yes
27245 else
27246 ac_gcsections=no
27248 rm -f core conftest.err conftest.$ac_objext \
27249 conftest$ac_exeext conftest.$ac_ext
27250 if test "$ac_gcsections" = "yes"; then
27251 rm -f conftest.c
27252 touch conftest.c
27253 if $CC -c conftest.c; then
27254 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27255 grep "Warning: gc-sections option ignored" > /dev/null; then
27256 ac_gcsections=no
27259 rm -f conftest.c conftest.o conftest
27261 if test "$ac_gcsections" = "yes"; then
27262 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27265 $as_echo "$ac_gcsections" >&6; }
27267 if test "$ac_test_CFLAGS" = set; then
27268 CFLAGS="$ac_save_CFLAGS"
27269 else
27270 # this is the suspicious part
27271 CFLAGS=''
27275 # Set -z,relro.
27276 # Note this is only for shared objects.
27277 ac_ld_relro=no
27278 if test x"$with_gnu_ld" = x"yes"; then
27279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27280 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27281 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27282 if test -n "$cxx_z_relo"; then
27283 OPT_LDFLAGS="-Wl,-z,relro"
27284 ac_ld_relro=yes
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27287 $as_echo "$ac_ld_relro" >&6; }
27290 # Set linker optimization flags.
27291 if test x"$with_gnu_ld" = x"yes"; then
27292 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27299 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27300 ac_save_CXXFLAGS="$CXXFLAGS"
27301 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27304 $as_echo_n "checking for sin in -lm... " >&6; }
27305 if test "${ac_cv_lib_m_sin+set}" = set; then :
27306 $as_echo_n "(cached) " >&6
27307 else
27308 ac_check_lib_save_LIBS=$LIBS
27309 LIBS="-lm $LIBS"
27310 if test x$gcc_no_link = xyes; then
27311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27314 /* end confdefs.h. */
27316 /* Override any GCC internal prototype to avoid an error.
27317 Use char because int might match the return type of a GCC
27318 builtin and then its argument prototype would still apply. */
27319 #ifdef __cplusplus
27320 extern "C"
27321 #endif
27322 char sin ();
27324 main ()
27326 return sin ();
27328 return 0;
27330 _ACEOF
27331 if ac_fn_c_try_link "$LINENO"; then :
27332 ac_cv_lib_m_sin=yes
27333 else
27334 ac_cv_lib_m_sin=no
27336 rm -f core conftest.err conftest.$ac_objext \
27337 conftest$ac_exeext conftest.$ac_ext
27338 LIBS=$ac_check_lib_save_LIBS
27340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27341 $as_echo "$ac_cv_lib_m_sin" >&6; }
27342 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27343 libm="-lm"
27346 ac_save_LIBS="$LIBS"
27347 LIBS="$LIBS $libm"
27351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27352 $as_echo_n "checking for isinf declaration... " >&6; }
27353 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27354 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27355 $as_echo_n "(cached) " >&6
27356 else
27359 ac_ext=cpp
27360 ac_cpp='$CXXCPP $CPPFLAGS'
27361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27366 /* end confdefs.h. */
27367 #include <math.h>
27368 #ifdef HAVE_IEEEFP_H
27369 #include <ieeefp.h>
27370 #endif
27373 main ()
27375 isinf(0);
27377 return 0;
27379 _ACEOF
27380 if ac_fn_cxx_try_compile "$LINENO"; then :
27381 glibcxx_cv_func_isinf_use=yes
27382 else
27383 glibcxx_cv_func_isinf_use=no
27385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27386 ac_ext=c
27387 ac_cpp='$CPP $CPPFLAGS'
27388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27397 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27399 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27400 for ac_func in isinf
27401 do :
27402 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27403 if test "x$ac_cv_func_isinf" = x""yes; then :
27404 cat >>confdefs.h <<_ACEOF
27405 #define HAVE_ISINF 1
27406 _ACEOF
27409 done
27411 else
27413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27414 $as_echo_n "checking for _isinf declaration... " >&6; }
27415 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27416 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27417 $as_echo_n "(cached) " >&6
27418 else
27421 ac_ext=cpp
27422 ac_cpp='$CXXCPP $CPPFLAGS'
27423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27428 /* end confdefs.h. */
27429 #include <math.h>
27430 #ifdef HAVE_IEEEFP_H
27431 #include <ieeefp.h>
27432 #endif
27435 main ()
27437 _isinf(0);
27439 return 0;
27441 _ACEOF
27442 if ac_fn_cxx_try_compile "$LINENO"; then :
27443 glibcxx_cv_func__isinf_use=yes
27444 else
27445 glibcxx_cv_func__isinf_use=no
27447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27448 ac_ext=c
27449 ac_cpp='$CPP $CPPFLAGS'
27450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27459 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27461 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27462 for ac_func in _isinf
27463 do :
27464 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27465 if test "x$ac_cv_func__isinf" = x""yes; then :
27466 cat >>confdefs.h <<_ACEOF
27467 #define HAVE__ISINF 1
27468 _ACEOF
27471 done
27480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27481 $as_echo_n "checking for isnan declaration... " >&6; }
27482 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27483 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27484 $as_echo_n "(cached) " >&6
27485 else
27488 ac_ext=cpp
27489 ac_cpp='$CXXCPP $CPPFLAGS'
27490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27495 /* end confdefs.h. */
27496 #include <math.h>
27497 #ifdef HAVE_IEEEFP_H
27498 #include <ieeefp.h>
27499 #endif
27502 main ()
27504 isnan(0);
27506 return 0;
27508 _ACEOF
27509 if ac_fn_cxx_try_compile "$LINENO"; then :
27510 glibcxx_cv_func_isnan_use=yes
27511 else
27512 glibcxx_cv_func_isnan_use=no
27514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27515 ac_ext=c
27516 ac_cpp='$CPP $CPPFLAGS'
27517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27526 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27528 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27529 for ac_func in isnan
27530 do :
27531 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27532 if test "x$ac_cv_func_isnan" = x""yes; then :
27533 cat >>confdefs.h <<_ACEOF
27534 #define HAVE_ISNAN 1
27535 _ACEOF
27538 done
27540 else
27542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27543 $as_echo_n "checking for _isnan declaration... " >&6; }
27544 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27545 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27546 $as_echo_n "(cached) " >&6
27547 else
27550 ac_ext=cpp
27551 ac_cpp='$CXXCPP $CPPFLAGS'
27552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27557 /* end confdefs.h. */
27558 #include <math.h>
27559 #ifdef HAVE_IEEEFP_H
27560 #include <ieeefp.h>
27561 #endif
27564 main ()
27566 _isnan(0);
27568 return 0;
27570 _ACEOF
27571 if ac_fn_cxx_try_compile "$LINENO"; then :
27572 glibcxx_cv_func__isnan_use=yes
27573 else
27574 glibcxx_cv_func__isnan_use=no
27576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27577 ac_ext=c
27578 ac_cpp='$CPP $CPPFLAGS'
27579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27588 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27590 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27591 for ac_func in _isnan
27592 do :
27593 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27594 if test "x$ac_cv_func__isnan" = x""yes; then :
27595 cat >>confdefs.h <<_ACEOF
27596 #define HAVE__ISNAN 1
27597 _ACEOF
27600 done
27609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27610 $as_echo_n "checking for finite declaration... " >&6; }
27611 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27612 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27613 $as_echo_n "(cached) " >&6
27614 else
27617 ac_ext=cpp
27618 ac_cpp='$CXXCPP $CPPFLAGS'
27619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27624 /* end confdefs.h. */
27625 #include <math.h>
27626 #ifdef HAVE_IEEEFP_H
27627 #include <ieeefp.h>
27628 #endif
27631 main ()
27633 finite(0);
27635 return 0;
27637 _ACEOF
27638 if ac_fn_cxx_try_compile "$LINENO"; then :
27639 glibcxx_cv_func_finite_use=yes
27640 else
27641 glibcxx_cv_func_finite_use=no
27643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27644 ac_ext=c
27645 ac_cpp='$CPP $CPPFLAGS'
27646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27655 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27657 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27658 for ac_func in finite
27659 do :
27660 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27661 if test "x$ac_cv_func_finite" = x""yes; then :
27662 cat >>confdefs.h <<_ACEOF
27663 #define HAVE_FINITE 1
27664 _ACEOF
27667 done
27669 else
27671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27672 $as_echo_n "checking for _finite declaration... " >&6; }
27673 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27674 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27675 $as_echo_n "(cached) " >&6
27676 else
27679 ac_ext=cpp
27680 ac_cpp='$CXXCPP $CPPFLAGS'
27681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27686 /* end confdefs.h. */
27687 #include <math.h>
27688 #ifdef HAVE_IEEEFP_H
27689 #include <ieeefp.h>
27690 #endif
27693 main ()
27695 _finite(0);
27697 return 0;
27699 _ACEOF
27700 if ac_fn_cxx_try_compile "$LINENO"; then :
27701 glibcxx_cv_func__finite_use=yes
27702 else
27703 glibcxx_cv_func__finite_use=no
27705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27706 ac_ext=c
27707 ac_cpp='$CPP $CPPFLAGS'
27708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27717 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27719 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27720 for ac_func in _finite
27721 do :
27722 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27723 if test "x$ac_cv_func__finite" = x""yes; then :
27724 cat >>confdefs.h <<_ACEOF
27725 #define HAVE__FINITE 1
27726 _ACEOF
27729 done
27738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27739 $as_echo_n "checking for sincos declaration... " >&6; }
27740 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27741 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27742 $as_echo_n "(cached) " >&6
27743 else
27746 ac_ext=cpp
27747 ac_cpp='$CXXCPP $CPPFLAGS'
27748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27753 /* end confdefs.h. */
27754 #include <math.h>
27756 main ()
27758 sincos(0, 0, 0);
27760 return 0;
27762 _ACEOF
27763 if ac_fn_cxx_try_compile "$LINENO"; then :
27764 glibcxx_cv_func_sincos_use=yes
27765 else
27766 glibcxx_cv_func_sincos_use=no
27768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27769 ac_ext=c
27770 ac_cpp='$CPP $CPPFLAGS'
27771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27780 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27782 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27783 for ac_func in sincos
27784 do :
27785 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27786 if test "x$ac_cv_func_sincos" = x""yes; then :
27787 cat >>confdefs.h <<_ACEOF
27788 #define HAVE_SINCOS 1
27789 _ACEOF
27792 done
27794 else
27796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27797 $as_echo_n "checking for _sincos declaration... " >&6; }
27798 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27799 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27800 $as_echo_n "(cached) " >&6
27801 else
27804 ac_ext=cpp
27805 ac_cpp='$CXXCPP $CPPFLAGS'
27806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27811 /* end confdefs.h. */
27812 #include <math.h>
27814 main ()
27816 _sincos(0, 0, 0);
27818 return 0;
27820 _ACEOF
27821 if ac_fn_cxx_try_compile "$LINENO"; then :
27822 glibcxx_cv_func__sincos_use=yes
27823 else
27824 glibcxx_cv_func__sincos_use=no
27826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27827 ac_ext=c
27828 ac_cpp='$CPP $CPPFLAGS'
27829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27838 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27840 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27841 for ac_func in _sincos
27842 do :
27843 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27844 if test "x$ac_cv_func__sincos" = x""yes; then :
27845 cat >>confdefs.h <<_ACEOF
27846 #define HAVE__SINCOS 1
27847 _ACEOF
27850 done
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27860 $as_echo_n "checking for fpclass declaration... " >&6; }
27861 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27862 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27863 $as_echo_n "(cached) " >&6
27864 else
27867 ac_ext=cpp
27868 ac_cpp='$CXXCPP $CPPFLAGS'
27869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27874 /* end confdefs.h. */
27875 #include <math.h>
27876 #ifdef HAVE_IEEEFP_H
27877 #include <ieeefp.h>
27878 #endif
27881 main ()
27883 fpclass(0);
27885 return 0;
27887 _ACEOF
27888 if ac_fn_cxx_try_compile "$LINENO"; then :
27889 glibcxx_cv_func_fpclass_use=yes
27890 else
27891 glibcxx_cv_func_fpclass_use=no
27893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27894 ac_ext=c
27895 ac_cpp='$CPP $CPPFLAGS'
27896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27905 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27907 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27908 for ac_func in fpclass
27909 do :
27910 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27911 if test "x$ac_cv_func_fpclass" = x""yes; then :
27912 cat >>confdefs.h <<_ACEOF
27913 #define HAVE_FPCLASS 1
27914 _ACEOF
27917 done
27919 else
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27922 $as_echo_n "checking for _fpclass declaration... " >&6; }
27923 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27924 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27925 $as_echo_n "(cached) " >&6
27926 else
27929 ac_ext=cpp
27930 ac_cpp='$CXXCPP $CPPFLAGS'
27931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27936 /* end confdefs.h. */
27937 #include <math.h>
27938 #ifdef HAVE_IEEEFP_H
27939 #include <ieeefp.h>
27940 #endif
27943 main ()
27945 _fpclass(0);
27947 return 0;
27949 _ACEOF
27950 if ac_fn_cxx_try_compile "$LINENO"; then :
27951 glibcxx_cv_func__fpclass_use=yes
27952 else
27953 glibcxx_cv_func__fpclass_use=no
27955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27956 ac_ext=c
27957 ac_cpp='$CPP $CPPFLAGS'
27958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27967 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27969 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27970 for ac_func in _fpclass
27971 do :
27972 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27973 if test "x$ac_cv_func__fpclass" = x""yes; then :
27974 cat >>confdefs.h <<_ACEOF
27975 #define HAVE__FPCLASS 1
27976 _ACEOF
27979 done
27988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27989 $as_echo_n "checking for qfpclass declaration... " >&6; }
27990 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27991 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27992 $as_echo_n "(cached) " >&6
27993 else
27996 ac_ext=cpp
27997 ac_cpp='$CXXCPP $CPPFLAGS'
27998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28003 /* end confdefs.h. */
28004 #include <math.h>
28005 #ifdef HAVE_IEEEFP_H
28006 #include <ieeefp.h>
28007 #endif
28010 main ()
28012 qfpclass(0);
28014 return 0;
28016 _ACEOF
28017 if ac_fn_cxx_try_compile "$LINENO"; then :
28018 glibcxx_cv_func_qfpclass_use=yes
28019 else
28020 glibcxx_cv_func_qfpclass_use=no
28022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28023 ac_ext=c
28024 ac_cpp='$CPP $CPPFLAGS'
28025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28034 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28036 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28037 for ac_func in qfpclass
28038 do :
28039 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28040 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28041 cat >>confdefs.h <<_ACEOF
28042 #define HAVE_QFPCLASS 1
28043 _ACEOF
28046 done
28048 else
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28051 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28052 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28053 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28054 $as_echo_n "(cached) " >&6
28055 else
28058 ac_ext=cpp
28059 ac_cpp='$CXXCPP $CPPFLAGS'
28060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28065 /* end confdefs.h. */
28066 #include <math.h>
28067 #ifdef HAVE_IEEEFP_H
28068 #include <ieeefp.h>
28069 #endif
28072 main ()
28074 _qfpclass(0);
28076 return 0;
28078 _ACEOF
28079 if ac_fn_cxx_try_compile "$LINENO"; then :
28080 glibcxx_cv_func__qfpclass_use=yes
28081 else
28082 glibcxx_cv_func__qfpclass_use=no
28084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28085 ac_ext=c
28086 ac_cpp='$CPP $CPPFLAGS'
28087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28096 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28098 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28099 for ac_func in _qfpclass
28100 do :
28101 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28102 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28103 cat >>confdefs.h <<_ACEOF
28104 #define HAVE__QFPCLASS 1
28105 _ACEOF
28108 done
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28118 $as_echo_n "checking for hypot declaration... " >&6; }
28119 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28120 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28121 $as_echo_n "(cached) " >&6
28122 else
28125 ac_ext=cpp
28126 ac_cpp='$CXXCPP $CPPFLAGS'
28127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28132 /* end confdefs.h. */
28133 #include <math.h>
28135 main ()
28137 hypot(0, 0);
28139 return 0;
28141 _ACEOF
28142 if ac_fn_cxx_try_compile "$LINENO"; then :
28143 glibcxx_cv_func_hypot_use=yes
28144 else
28145 glibcxx_cv_func_hypot_use=no
28147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28148 ac_ext=c
28149 ac_cpp='$CPP $CPPFLAGS'
28150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28159 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28161 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28162 for ac_func in hypot
28163 do :
28164 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28165 if test "x$ac_cv_func_hypot" = x""yes; then :
28166 cat >>confdefs.h <<_ACEOF
28167 #define HAVE_HYPOT 1
28168 _ACEOF
28171 done
28173 else
28175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28176 $as_echo_n "checking for _hypot declaration... " >&6; }
28177 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28178 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28179 $as_echo_n "(cached) " >&6
28180 else
28183 ac_ext=cpp
28184 ac_cpp='$CXXCPP $CPPFLAGS'
28185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28190 /* end confdefs.h. */
28191 #include <math.h>
28193 main ()
28195 _hypot(0, 0);
28197 return 0;
28199 _ACEOF
28200 if ac_fn_cxx_try_compile "$LINENO"; then :
28201 glibcxx_cv_func__hypot_use=yes
28202 else
28203 glibcxx_cv_func__hypot_use=no
28205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28206 ac_ext=c
28207 ac_cpp='$CPP $CPPFLAGS'
28208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28217 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28219 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28220 for ac_func in _hypot
28221 do :
28222 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28223 if test "x$ac_cv_func__hypot" = x""yes; then :
28224 cat >>confdefs.h <<_ACEOF
28225 #define HAVE__HYPOT 1
28226 _ACEOF
28229 done
28238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28239 $as_echo_n "checking for float trig functions... " >&6; }
28240 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28241 $as_echo_n "(cached) " >&6
28242 else
28245 ac_ext=cpp
28246 ac_cpp='$CXXCPP $CPPFLAGS'
28247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28252 /* end confdefs.h. */
28253 #include <math.h>
28255 main ()
28257 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28259 return 0;
28261 _ACEOF
28262 if ac_fn_cxx_try_compile "$LINENO"; then :
28263 glibcxx_cv_func_float_trig_use=yes
28264 else
28265 glibcxx_cv_func_float_trig_use=no
28267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28268 ac_ext=c
28269 ac_cpp='$CPP $CPPFLAGS'
28270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28277 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28278 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28279 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28280 do :
28281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28283 eval as_val=\$$as_ac_var
28284 if test "x$as_val" = x""yes; then :
28285 cat >>confdefs.h <<_ACEOF
28286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28287 _ACEOF
28290 done
28292 else
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28294 $as_echo_n "checking for _float trig functions... " >&6; }
28295 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28296 $as_echo_n "(cached) " >&6
28297 else
28300 ac_ext=cpp
28301 ac_cpp='$CXXCPP $CPPFLAGS'
28302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28307 /* end confdefs.h. */
28308 #include <math.h>
28310 main ()
28312 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28314 return 0;
28316 _ACEOF
28317 if ac_fn_cxx_try_compile "$LINENO"; then :
28318 glibcxx_cv_func__float_trig_use=yes
28319 else
28320 glibcxx_cv_func__float_trig_use=no
28322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28323 ac_ext=c
28324 ac_cpp='$CPP $CPPFLAGS'
28325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28332 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28333 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28334 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28335 do :
28336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28338 eval as_val=\$$as_ac_var
28339 if test "x$as_val" = x""yes; then :
28340 cat >>confdefs.h <<_ACEOF
28341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28342 _ACEOF
28345 done
28354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28355 $as_echo_n "checking for float round functions... " >&6; }
28356 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28357 $as_echo_n "(cached) " >&6
28358 else
28361 ac_ext=cpp
28362 ac_cpp='$CXXCPP $CPPFLAGS'
28363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28368 /* end confdefs.h. */
28369 #include <math.h>
28371 main ()
28373 ceilf (0); floorf (0);
28375 return 0;
28377 _ACEOF
28378 if ac_fn_cxx_try_compile "$LINENO"; then :
28379 glibcxx_cv_func_float_round_use=yes
28380 else
28381 glibcxx_cv_func_float_round_use=no
28383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28384 ac_ext=c
28385 ac_cpp='$CPP $CPPFLAGS'
28386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28393 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28394 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28395 for ac_func in ceilf floorf
28396 do :
28397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28399 eval as_val=\$$as_ac_var
28400 if test "x$as_val" = x""yes; then :
28401 cat >>confdefs.h <<_ACEOF
28402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28403 _ACEOF
28406 done
28408 else
28409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28410 $as_echo_n "checking for _float round functions... " >&6; }
28411 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28412 $as_echo_n "(cached) " >&6
28413 else
28416 ac_ext=cpp
28417 ac_cpp='$CXXCPP $CPPFLAGS'
28418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28423 /* end confdefs.h. */
28424 #include <math.h>
28426 main ()
28428 _ceilf (0); _floorf (0);
28430 return 0;
28432 _ACEOF
28433 if ac_fn_cxx_try_compile "$LINENO"; then :
28434 glibcxx_cv_func__float_round_use=yes
28435 else
28436 glibcxx_cv_func__float_round_use=no
28438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28439 ac_ext=c
28440 ac_cpp='$CPP $CPPFLAGS'
28441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28448 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28449 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28450 for ac_func in _ceilf _floorf
28451 do :
28452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28454 eval as_val=\$$as_ac_var
28455 if test "x$as_val" = x""yes; then :
28456 cat >>confdefs.h <<_ACEOF
28457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28458 _ACEOF
28461 done
28471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28472 $as_echo_n "checking for expf declaration... " >&6; }
28473 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28474 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28475 $as_echo_n "(cached) " >&6
28476 else
28479 ac_ext=cpp
28480 ac_cpp='$CXXCPP $CPPFLAGS'
28481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28486 /* end confdefs.h. */
28487 #include <math.h>
28488 #ifdef HAVE_IEEEFP_H
28489 #include <ieeefp.h>
28490 #endif
28493 main ()
28495 expf(0);
28497 return 0;
28499 _ACEOF
28500 if ac_fn_cxx_try_compile "$LINENO"; then :
28501 glibcxx_cv_func_expf_use=yes
28502 else
28503 glibcxx_cv_func_expf_use=no
28505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28506 ac_ext=c
28507 ac_cpp='$CPP $CPPFLAGS'
28508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28517 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28519 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28520 for ac_func in expf
28521 do :
28522 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28523 if test "x$ac_cv_func_expf" = x""yes; then :
28524 cat >>confdefs.h <<_ACEOF
28525 #define HAVE_EXPF 1
28526 _ACEOF
28529 done
28531 else
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28534 $as_echo_n "checking for _expf declaration... " >&6; }
28535 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28536 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28537 $as_echo_n "(cached) " >&6
28538 else
28541 ac_ext=cpp
28542 ac_cpp='$CXXCPP $CPPFLAGS'
28543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28548 /* end confdefs.h. */
28549 #include <math.h>
28550 #ifdef HAVE_IEEEFP_H
28551 #include <ieeefp.h>
28552 #endif
28555 main ()
28557 _expf(0);
28559 return 0;
28561 _ACEOF
28562 if ac_fn_cxx_try_compile "$LINENO"; then :
28563 glibcxx_cv_func__expf_use=yes
28564 else
28565 glibcxx_cv_func__expf_use=no
28567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28568 ac_ext=c
28569 ac_cpp='$CPP $CPPFLAGS'
28570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28579 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28581 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28582 for ac_func in _expf
28583 do :
28584 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28585 if test "x$ac_cv_func__expf" = x""yes; then :
28586 cat >>confdefs.h <<_ACEOF
28587 #define HAVE__EXPF 1
28588 _ACEOF
28591 done
28600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28601 $as_echo_n "checking for isnanf declaration... " >&6; }
28602 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28603 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28604 $as_echo_n "(cached) " >&6
28605 else
28608 ac_ext=cpp
28609 ac_cpp='$CXXCPP $CPPFLAGS'
28610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28615 /* end confdefs.h. */
28616 #include <math.h>
28617 #ifdef HAVE_IEEEFP_H
28618 #include <ieeefp.h>
28619 #endif
28622 main ()
28624 isnanf(0);
28626 return 0;
28628 _ACEOF
28629 if ac_fn_cxx_try_compile "$LINENO"; then :
28630 glibcxx_cv_func_isnanf_use=yes
28631 else
28632 glibcxx_cv_func_isnanf_use=no
28634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28635 ac_ext=c
28636 ac_cpp='$CPP $CPPFLAGS'
28637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28646 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28648 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28649 for ac_func in isnanf
28650 do :
28651 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28652 if test "x$ac_cv_func_isnanf" = x""yes; then :
28653 cat >>confdefs.h <<_ACEOF
28654 #define HAVE_ISNANF 1
28655 _ACEOF
28658 done
28660 else
28662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28663 $as_echo_n "checking for _isnanf declaration... " >&6; }
28664 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28665 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28666 $as_echo_n "(cached) " >&6
28667 else
28670 ac_ext=cpp
28671 ac_cpp='$CXXCPP $CPPFLAGS'
28672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28677 /* end confdefs.h. */
28678 #include <math.h>
28679 #ifdef HAVE_IEEEFP_H
28680 #include <ieeefp.h>
28681 #endif
28684 main ()
28686 _isnanf(0);
28688 return 0;
28690 _ACEOF
28691 if ac_fn_cxx_try_compile "$LINENO"; then :
28692 glibcxx_cv_func__isnanf_use=yes
28693 else
28694 glibcxx_cv_func__isnanf_use=no
28696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28697 ac_ext=c
28698 ac_cpp='$CPP $CPPFLAGS'
28699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28708 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28710 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28711 for ac_func in _isnanf
28712 do :
28713 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28714 if test "x$ac_cv_func__isnanf" = x""yes; then :
28715 cat >>confdefs.h <<_ACEOF
28716 #define HAVE__ISNANF 1
28717 _ACEOF
28720 done
28729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28730 $as_echo_n "checking for isinff declaration... " >&6; }
28731 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28732 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28733 $as_echo_n "(cached) " >&6
28734 else
28737 ac_ext=cpp
28738 ac_cpp='$CXXCPP $CPPFLAGS'
28739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28744 /* end confdefs.h. */
28745 #include <math.h>
28746 #ifdef HAVE_IEEEFP_H
28747 #include <ieeefp.h>
28748 #endif
28751 main ()
28753 isinff(0);
28755 return 0;
28757 _ACEOF
28758 if ac_fn_cxx_try_compile "$LINENO"; then :
28759 glibcxx_cv_func_isinff_use=yes
28760 else
28761 glibcxx_cv_func_isinff_use=no
28763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28764 ac_ext=c
28765 ac_cpp='$CPP $CPPFLAGS'
28766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28775 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28777 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28778 for ac_func in isinff
28779 do :
28780 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28781 if test "x$ac_cv_func_isinff" = x""yes; then :
28782 cat >>confdefs.h <<_ACEOF
28783 #define HAVE_ISINFF 1
28784 _ACEOF
28787 done
28789 else
28791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28792 $as_echo_n "checking for _isinff declaration... " >&6; }
28793 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28794 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28795 $as_echo_n "(cached) " >&6
28796 else
28799 ac_ext=cpp
28800 ac_cpp='$CXXCPP $CPPFLAGS'
28801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28806 /* end confdefs.h. */
28807 #include <math.h>
28808 #ifdef HAVE_IEEEFP_H
28809 #include <ieeefp.h>
28810 #endif
28813 main ()
28815 _isinff(0);
28817 return 0;
28819 _ACEOF
28820 if ac_fn_cxx_try_compile "$LINENO"; then :
28821 glibcxx_cv_func__isinff_use=yes
28822 else
28823 glibcxx_cv_func__isinff_use=no
28825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28826 ac_ext=c
28827 ac_cpp='$CPP $CPPFLAGS'
28828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28837 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28839 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28840 for ac_func in _isinff
28841 do :
28842 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28843 if test "x$ac_cv_func__isinff" = x""yes; then :
28844 cat >>confdefs.h <<_ACEOF
28845 #define HAVE__ISINFF 1
28846 _ACEOF
28849 done
28858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28859 $as_echo_n "checking for atan2f declaration... " >&6; }
28860 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28861 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28862 $as_echo_n "(cached) " >&6
28863 else
28866 ac_ext=cpp
28867 ac_cpp='$CXXCPP $CPPFLAGS'
28868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28873 /* end confdefs.h. */
28874 #include <math.h>
28876 main ()
28878 atan2f(0, 0);
28880 return 0;
28882 _ACEOF
28883 if ac_fn_cxx_try_compile "$LINENO"; then :
28884 glibcxx_cv_func_atan2f_use=yes
28885 else
28886 glibcxx_cv_func_atan2f_use=no
28888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28889 ac_ext=c
28890 ac_cpp='$CPP $CPPFLAGS'
28891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28900 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28902 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28903 for ac_func in atan2f
28904 do :
28905 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28906 if test "x$ac_cv_func_atan2f" = x""yes; then :
28907 cat >>confdefs.h <<_ACEOF
28908 #define HAVE_ATAN2F 1
28909 _ACEOF
28912 done
28914 else
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28917 $as_echo_n "checking for _atan2f declaration... " >&6; }
28918 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28919 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28920 $as_echo_n "(cached) " >&6
28921 else
28924 ac_ext=cpp
28925 ac_cpp='$CXXCPP $CPPFLAGS'
28926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28931 /* end confdefs.h. */
28932 #include <math.h>
28934 main ()
28936 _atan2f(0, 0);
28938 return 0;
28940 _ACEOF
28941 if ac_fn_cxx_try_compile "$LINENO"; then :
28942 glibcxx_cv_func__atan2f_use=yes
28943 else
28944 glibcxx_cv_func__atan2f_use=no
28946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28947 ac_ext=c
28948 ac_cpp='$CPP $CPPFLAGS'
28949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28958 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28960 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28961 for ac_func in _atan2f
28962 do :
28963 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28964 if test "x$ac_cv_func__atan2f" = x""yes; then :
28965 cat >>confdefs.h <<_ACEOF
28966 #define HAVE__ATAN2F 1
28967 _ACEOF
28970 done
28979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28980 $as_echo_n "checking for fabsf declaration... " >&6; }
28981 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28982 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28983 $as_echo_n "(cached) " >&6
28984 else
28987 ac_ext=cpp
28988 ac_cpp='$CXXCPP $CPPFLAGS'
28989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28994 /* end confdefs.h. */
28995 #include <math.h>
28996 #ifdef HAVE_IEEEFP_H
28997 #include <ieeefp.h>
28998 #endif
29001 main ()
29003 fabsf(0);
29005 return 0;
29007 _ACEOF
29008 if ac_fn_cxx_try_compile "$LINENO"; then :
29009 glibcxx_cv_func_fabsf_use=yes
29010 else
29011 glibcxx_cv_func_fabsf_use=no
29013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29014 ac_ext=c
29015 ac_cpp='$CPP $CPPFLAGS'
29016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29025 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29027 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29028 for ac_func in fabsf
29029 do :
29030 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29031 if test "x$ac_cv_func_fabsf" = x""yes; then :
29032 cat >>confdefs.h <<_ACEOF
29033 #define HAVE_FABSF 1
29034 _ACEOF
29037 done
29039 else
29041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29042 $as_echo_n "checking for _fabsf declaration... " >&6; }
29043 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29044 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29045 $as_echo_n "(cached) " >&6
29046 else
29049 ac_ext=cpp
29050 ac_cpp='$CXXCPP $CPPFLAGS'
29051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29056 /* end confdefs.h. */
29057 #include <math.h>
29058 #ifdef HAVE_IEEEFP_H
29059 #include <ieeefp.h>
29060 #endif
29063 main ()
29065 _fabsf(0);
29067 return 0;
29069 _ACEOF
29070 if ac_fn_cxx_try_compile "$LINENO"; then :
29071 glibcxx_cv_func__fabsf_use=yes
29072 else
29073 glibcxx_cv_func__fabsf_use=no
29075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29076 ac_ext=c
29077 ac_cpp='$CPP $CPPFLAGS'
29078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29087 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29089 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29090 for ac_func in _fabsf
29091 do :
29092 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29093 if test "x$ac_cv_func__fabsf" = x""yes; then :
29094 cat >>confdefs.h <<_ACEOF
29095 #define HAVE__FABSF 1
29096 _ACEOF
29099 done
29108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29109 $as_echo_n "checking for fmodf declaration... " >&6; }
29110 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29111 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29112 $as_echo_n "(cached) " >&6
29113 else
29116 ac_ext=cpp
29117 ac_cpp='$CXXCPP $CPPFLAGS'
29118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29123 /* end confdefs.h. */
29124 #include <math.h>
29126 main ()
29128 fmodf(0, 0);
29130 return 0;
29132 _ACEOF
29133 if ac_fn_cxx_try_compile "$LINENO"; then :
29134 glibcxx_cv_func_fmodf_use=yes
29135 else
29136 glibcxx_cv_func_fmodf_use=no
29138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29139 ac_ext=c
29140 ac_cpp='$CPP $CPPFLAGS'
29141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29150 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29152 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29153 for ac_func in fmodf
29154 do :
29155 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29156 if test "x$ac_cv_func_fmodf" = x""yes; then :
29157 cat >>confdefs.h <<_ACEOF
29158 #define HAVE_FMODF 1
29159 _ACEOF
29162 done
29164 else
29166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29167 $as_echo_n "checking for _fmodf declaration... " >&6; }
29168 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29169 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29170 $as_echo_n "(cached) " >&6
29171 else
29174 ac_ext=cpp
29175 ac_cpp='$CXXCPP $CPPFLAGS'
29176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29181 /* end confdefs.h. */
29182 #include <math.h>
29184 main ()
29186 _fmodf(0, 0);
29188 return 0;
29190 _ACEOF
29191 if ac_fn_cxx_try_compile "$LINENO"; then :
29192 glibcxx_cv_func__fmodf_use=yes
29193 else
29194 glibcxx_cv_func__fmodf_use=no
29196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29197 ac_ext=c
29198 ac_cpp='$CPP $CPPFLAGS'
29199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29208 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29210 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29211 for ac_func in _fmodf
29212 do :
29213 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29214 if test "x$ac_cv_func__fmodf" = x""yes; then :
29215 cat >>confdefs.h <<_ACEOF
29216 #define HAVE__FMODF 1
29217 _ACEOF
29220 done
29229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29230 $as_echo_n "checking for frexpf declaration... " >&6; }
29231 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29232 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29233 $as_echo_n "(cached) " >&6
29234 else
29237 ac_ext=cpp
29238 ac_cpp='$CXXCPP $CPPFLAGS'
29239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29244 /* end confdefs.h. */
29245 #include <math.h>
29247 main ()
29249 frexpf(0, 0);
29251 return 0;
29253 _ACEOF
29254 if ac_fn_cxx_try_compile "$LINENO"; then :
29255 glibcxx_cv_func_frexpf_use=yes
29256 else
29257 glibcxx_cv_func_frexpf_use=no
29259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29260 ac_ext=c
29261 ac_cpp='$CPP $CPPFLAGS'
29262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29271 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29273 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29274 for ac_func in frexpf
29275 do :
29276 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29277 if test "x$ac_cv_func_frexpf" = x""yes; then :
29278 cat >>confdefs.h <<_ACEOF
29279 #define HAVE_FREXPF 1
29280 _ACEOF
29283 done
29285 else
29287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29288 $as_echo_n "checking for _frexpf declaration... " >&6; }
29289 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29290 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29291 $as_echo_n "(cached) " >&6
29292 else
29295 ac_ext=cpp
29296 ac_cpp='$CXXCPP $CPPFLAGS'
29297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29302 /* end confdefs.h. */
29303 #include <math.h>
29305 main ()
29307 _frexpf(0, 0);
29309 return 0;
29311 _ACEOF
29312 if ac_fn_cxx_try_compile "$LINENO"; then :
29313 glibcxx_cv_func__frexpf_use=yes
29314 else
29315 glibcxx_cv_func__frexpf_use=no
29317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29318 ac_ext=c
29319 ac_cpp='$CPP $CPPFLAGS'
29320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29329 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29331 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29332 for ac_func in _frexpf
29333 do :
29334 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29335 if test "x$ac_cv_func__frexpf" = x""yes; then :
29336 cat >>confdefs.h <<_ACEOF
29337 #define HAVE__FREXPF 1
29338 _ACEOF
29341 done
29350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29351 $as_echo_n "checking for hypotf declaration... " >&6; }
29352 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29353 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29354 $as_echo_n "(cached) " >&6
29355 else
29358 ac_ext=cpp
29359 ac_cpp='$CXXCPP $CPPFLAGS'
29360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29365 /* end confdefs.h. */
29366 #include <math.h>
29368 main ()
29370 hypotf(0, 0);
29372 return 0;
29374 _ACEOF
29375 if ac_fn_cxx_try_compile "$LINENO"; then :
29376 glibcxx_cv_func_hypotf_use=yes
29377 else
29378 glibcxx_cv_func_hypotf_use=no
29380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29381 ac_ext=c
29382 ac_cpp='$CPP $CPPFLAGS'
29383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29392 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29394 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29395 for ac_func in hypotf
29396 do :
29397 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29398 if test "x$ac_cv_func_hypotf" = x""yes; then :
29399 cat >>confdefs.h <<_ACEOF
29400 #define HAVE_HYPOTF 1
29401 _ACEOF
29404 done
29406 else
29408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29409 $as_echo_n "checking for _hypotf declaration... " >&6; }
29410 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29411 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29412 $as_echo_n "(cached) " >&6
29413 else
29416 ac_ext=cpp
29417 ac_cpp='$CXXCPP $CPPFLAGS'
29418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29423 /* end confdefs.h. */
29424 #include <math.h>
29426 main ()
29428 _hypotf(0, 0);
29430 return 0;
29432 _ACEOF
29433 if ac_fn_cxx_try_compile "$LINENO"; then :
29434 glibcxx_cv_func__hypotf_use=yes
29435 else
29436 glibcxx_cv_func__hypotf_use=no
29438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29439 ac_ext=c
29440 ac_cpp='$CPP $CPPFLAGS'
29441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29450 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29452 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29453 for ac_func in _hypotf
29454 do :
29455 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29456 if test "x$ac_cv_func__hypotf" = x""yes; then :
29457 cat >>confdefs.h <<_ACEOF
29458 #define HAVE__HYPOTF 1
29459 _ACEOF
29462 done
29471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29472 $as_echo_n "checking for ldexpf declaration... " >&6; }
29473 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29474 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29475 $as_echo_n "(cached) " >&6
29476 else
29479 ac_ext=cpp
29480 ac_cpp='$CXXCPP $CPPFLAGS'
29481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29486 /* end confdefs.h. */
29487 #include <math.h>
29489 main ()
29491 ldexpf(0, 0);
29493 return 0;
29495 _ACEOF
29496 if ac_fn_cxx_try_compile "$LINENO"; then :
29497 glibcxx_cv_func_ldexpf_use=yes
29498 else
29499 glibcxx_cv_func_ldexpf_use=no
29501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29502 ac_ext=c
29503 ac_cpp='$CPP $CPPFLAGS'
29504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29513 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29515 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29516 for ac_func in ldexpf
29517 do :
29518 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29519 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29520 cat >>confdefs.h <<_ACEOF
29521 #define HAVE_LDEXPF 1
29522 _ACEOF
29525 done
29527 else
29529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29530 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29531 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29532 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29533 $as_echo_n "(cached) " >&6
29534 else
29537 ac_ext=cpp
29538 ac_cpp='$CXXCPP $CPPFLAGS'
29539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29544 /* end confdefs.h. */
29545 #include <math.h>
29547 main ()
29549 _ldexpf(0, 0);
29551 return 0;
29553 _ACEOF
29554 if ac_fn_cxx_try_compile "$LINENO"; then :
29555 glibcxx_cv_func__ldexpf_use=yes
29556 else
29557 glibcxx_cv_func__ldexpf_use=no
29559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29560 ac_ext=c
29561 ac_cpp='$CPP $CPPFLAGS'
29562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29571 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29573 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29574 for ac_func in _ldexpf
29575 do :
29576 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29577 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29578 cat >>confdefs.h <<_ACEOF
29579 #define HAVE__LDEXPF 1
29580 _ACEOF
29583 done
29592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29593 $as_echo_n "checking for logf declaration... " >&6; }
29594 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29595 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29596 $as_echo_n "(cached) " >&6
29597 else
29600 ac_ext=cpp
29601 ac_cpp='$CXXCPP $CPPFLAGS'
29602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29607 /* end confdefs.h. */
29608 #include <math.h>
29609 #ifdef HAVE_IEEEFP_H
29610 #include <ieeefp.h>
29611 #endif
29614 main ()
29616 logf(0);
29618 return 0;
29620 _ACEOF
29621 if ac_fn_cxx_try_compile "$LINENO"; then :
29622 glibcxx_cv_func_logf_use=yes
29623 else
29624 glibcxx_cv_func_logf_use=no
29626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29627 ac_ext=c
29628 ac_cpp='$CPP $CPPFLAGS'
29629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29638 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29640 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29641 for ac_func in logf
29642 do :
29643 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29644 if test "x$ac_cv_func_logf" = x""yes; then :
29645 cat >>confdefs.h <<_ACEOF
29646 #define HAVE_LOGF 1
29647 _ACEOF
29650 done
29652 else
29654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29655 $as_echo_n "checking for _logf declaration... " >&6; }
29656 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29657 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29658 $as_echo_n "(cached) " >&6
29659 else
29662 ac_ext=cpp
29663 ac_cpp='$CXXCPP $CPPFLAGS'
29664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29669 /* end confdefs.h. */
29670 #include <math.h>
29671 #ifdef HAVE_IEEEFP_H
29672 #include <ieeefp.h>
29673 #endif
29676 main ()
29678 _logf(0);
29680 return 0;
29682 _ACEOF
29683 if ac_fn_cxx_try_compile "$LINENO"; then :
29684 glibcxx_cv_func__logf_use=yes
29685 else
29686 glibcxx_cv_func__logf_use=no
29688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29689 ac_ext=c
29690 ac_cpp='$CPP $CPPFLAGS'
29691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29700 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29702 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29703 for ac_func in _logf
29704 do :
29705 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29706 if test "x$ac_cv_func__logf" = x""yes; then :
29707 cat >>confdefs.h <<_ACEOF
29708 #define HAVE__LOGF 1
29709 _ACEOF
29712 done
29721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29722 $as_echo_n "checking for log10f declaration... " >&6; }
29723 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29724 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29725 $as_echo_n "(cached) " >&6
29726 else
29729 ac_ext=cpp
29730 ac_cpp='$CXXCPP $CPPFLAGS'
29731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29736 /* end confdefs.h. */
29737 #include <math.h>
29738 #ifdef HAVE_IEEEFP_H
29739 #include <ieeefp.h>
29740 #endif
29743 main ()
29745 log10f(0);
29747 return 0;
29749 _ACEOF
29750 if ac_fn_cxx_try_compile "$LINENO"; then :
29751 glibcxx_cv_func_log10f_use=yes
29752 else
29753 glibcxx_cv_func_log10f_use=no
29755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29756 ac_ext=c
29757 ac_cpp='$CPP $CPPFLAGS'
29758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29767 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29769 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29770 for ac_func in log10f
29771 do :
29772 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29773 if test "x$ac_cv_func_log10f" = x""yes; then :
29774 cat >>confdefs.h <<_ACEOF
29775 #define HAVE_LOG10F 1
29776 _ACEOF
29779 done
29781 else
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29784 $as_echo_n "checking for _log10f declaration... " >&6; }
29785 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29786 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29787 $as_echo_n "(cached) " >&6
29788 else
29791 ac_ext=cpp
29792 ac_cpp='$CXXCPP $CPPFLAGS'
29793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29798 /* end confdefs.h. */
29799 #include <math.h>
29800 #ifdef HAVE_IEEEFP_H
29801 #include <ieeefp.h>
29802 #endif
29805 main ()
29807 _log10f(0);
29809 return 0;
29811 _ACEOF
29812 if ac_fn_cxx_try_compile "$LINENO"; then :
29813 glibcxx_cv_func__log10f_use=yes
29814 else
29815 glibcxx_cv_func__log10f_use=no
29817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29818 ac_ext=c
29819 ac_cpp='$CPP $CPPFLAGS'
29820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29829 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29831 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29832 for ac_func in _log10f
29833 do :
29834 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29835 if test "x$ac_cv_func__log10f" = x""yes; then :
29836 cat >>confdefs.h <<_ACEOF
29837 #define HAVE__LOG10F 1
29838 _ACEOF
29841 done
29850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29851 $as_echo_n "checking for modff declaration... " >&6; }
29852 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29853 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29854 $as_echo_n "(cached) " >&6
29855 else
29858 ac_ext=cpp
29859 ac_cpp='$CXXCPP $CPPFLAGS'
29860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29865 /* end confdefs.h. */
29866 #include <math.h>
29868 main ()
29870 modff(0, 0);
29872 return 0;
29874 _ACEOF
29875 if ac_fn_cxx_try_compile "$LINENO"; then :
29876 glibcxx_cv_func_modff_use=yes
29877 else
29878 glibcxx_cv_func_modff_use=no
29880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29881 ac_ext=c
29882 ac_cpp='$CPP $CPPFLAGS'
29883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29892 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29894 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29895 for ac_func in modff
29896 do :
29897 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29898 if test "x$ac_cv_func_modff" = x""yes; then :
29899 cat >>confdefs.h <<_ACEOF
29900 #define HAVE_MODFF 1
29901 _ACEOF
29904 done
29906 else
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29909 $as_echo_n "checking for _modff declaration... " >&6; }
29910 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29911 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29912 $as_echo_n "(cached) " >&6
29913 else
29916 ac_ext=cpp
29917 ac_cpp='$CXXCPP $CPPFLAGS'
29918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29923 /* end confdefs.h. */
29924 #include <math.h>
29926 main ()
29928 _modff(0, 0);
29930 return 0;
29932 _ACEOF
29933 if ac_fn_cxx_try_compile "$LINENO"; then :
29934 glibcxx_cv_func__modff_use=yes
29935 else
29936 glibcxx_cv_func__modff_use=no
29938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29939 ac_ext=c
29940 ac_cpp='$CPP $CPPFLAGS'
29941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29950 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29952 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29953 for ac_func in _modff
29954 do :
29955 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29956 if test "x$ac_cv_func__modff" = x""yes; then :
29957 cat >>confdefs.h <<_ACEOF
29958 #define HAVE__MODFF 1
29959 _ACEOF
29962 done
29971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29972 $as_echo_n "checking for modf declaration... " >&6; }
29973 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29974 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29975 $as_echo_n "(cached) " >&6
29976 else
29979 ac_ext=cpp
29980 ac_cpp='$CXXCPP $CPPFLAGS'
29981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29986 /* end confdefs.h. */
29987 #include <math.h>
29989 main ()
29991 modf(0, 0);
29993 return 0;
29995 _ACEOF
29996 if ac_fn_cxx_try_compile "$LINENO"; then :
29997 glibcxx_cv_func_modf_use=yes
29998 else
29999 glibcxx_cv_func_modf_use=no
30001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30002 ac_ext=c
30003 ac_cpp='$CPP $CPPFLAGS'
30004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30013 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30015 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30016 for ac_func in modf
30017 do :
30018 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30019 if test "x$ac_cv_func_modf" = x""yes; then :
30020 cat >>confdefs.h <<_ACEOF
30021 #define HAVE_MODF 1
30022 _ACEOF
30025 done
30027 else
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30030 $as_echo_n "checking for _modf declaration... " >&6; }
30031 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30032 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30033 $as_echo_n "(cached) " >&6
30034 else
30037 ac_ext=cpp
30038 ac_cpp='$CXXCPP $CPPFLAGS'
30039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30044 /* end confdefs.h. */
30045 #include <math.h>
30047 main ()
30049 _modf(0, 0);
30051 return 0;
30053 _ACEOF
30054 if ac_fn_cxx_try_compile "$LINENO"; then :
30055 glibcxx_cv_func__modf_use=yes
30056 else
30057 glibcxx_cv_func__modf_use=no
30059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30060 ac_ext=c
30061 ac_cpp='$CPP $CPPFLAGS'
30062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30071 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30073 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30074 for ac_func in _modf
30075 do :
30076 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30077 if test "x$ac_cv_func__modf" = x""yes; then :
30078 cat >>confdefs.h <<_ACEOF
30079 #define HAVE__MODF 1
30080 _ACEOF
30083 done
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30093 $as_echo_n "checking for powf declaration... " >&6; }
30094 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30095 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30096 $as_echo_n "(cached) " >&6
30097 else
30100 ac_ext=cpp
30101 ac_cpp='$CXXCPP $CPPFLAGS'
30102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30107 /* end confdefs.h. */
30108 #include <math.h>
30110 main ()
30112 powf(0, 0);
30114 return 0;
30116 _ACEOF
30117 if ac_fn_cxx_try_compile "$LINENO"; then :
30118 glibcxx_cv_func_powf_use=yes
30119 else
30120 glibcxx_cv_func_powf_use=no
30122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30123 ac_ext=c
30124 ac_cpp='$CPP $CPPFLAGS'
30125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30134 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30136 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30137 for ac_func in powf
30138 do :
30139 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30140 if test "x$ac_cv_func_powf" = x""yes; then :
30141 cat >>confdefs.h <<_ACEOF
30142 #define HAVE_POWF 1
30143 _ACEOF
30146 done
30148 else
30150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30151 $as_echo_n "checking for _powf declaration... " >&6; }
30152 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30153 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30154 $as_echo_n "(cached) " >&6
30155 else
30158 ac_ext=cpp
30159 ac_cpp='$CXXCPP $CPPFLAGS'
30160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30165 /* end confdefs.h. */
30166 #include <math.h>
30168 main ()
30170 _powf(0, 0);
30172 return 0;
30174 _ACEOF
30175 if ac_fn_cxx_try_compile "$LINENO"; then :
30176 glibcxx_cv_func__powf_use=yes
30177 else
30178 glibcxx_cv_func__powf_use=no
30180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30181 ac_ext=c
30182 ac_cpp='$CPP $CPPFLAGS'
30183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30192 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30194 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30195 for ac_func in _powf
30196 do :
30197 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30198 if test "x$ac_cv_func__powf" = x""yes; then :
30199 cat >>confdefs.h <<_ACEOF
30200 #define HAVE__POWF 1
30201 _ACEOF
30204 done
30213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30214 $as_echo_n "checking for sqrtf declaration... " >&6; }
30215 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30216 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30217 $as_echo_n "(cached) " >&6
30218 else
30221 ac_ext=cpp
30222 ac_cpp='$CXXCPP $CPPFLAGS'
30223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30228 /* end confdefs.h. */
30229 #include <math.h>
30230 #ifdef HAVE_IEEEFP_H
30231 #include <ieeefp.h>
30232 #endif
30235 main ()
30237 sqrtf(0);
30239 return 0;
30241 _ACEOF
30242 if ac_fn_cxx_try_compile "$LINENO"; then :
30243 glibcxx_cv_func_sqrtf_use=yes
30244 else
30245 glibcxx_cv_func_sqrtf_use=no
30247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30248 ac_ext=c
30249 ac_cpp='$CPP $CPPFLAGS'
30250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30259 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30261 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30262 for ac_func in sqrtf
30263 do :
30264 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30265 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30266 cat >>confdefs.h <<_ACEOF
30267 #define HAVE_SQRTF 1
30268 _ACEOF
30271 done
30273 else
30275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30276 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30277 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30278 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30279 $as_echo_n "(cached) " >&6
30280 else
30283 ac_ext=cpp
30284 ac_cpp='$CXXCPP $CPPFLAGS'
30285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30290 /* end confdefs.h. */
30291 #include <math.h>
30292 #ifdef HAVE_IEEEFP_H
30293 #include <ieeefp.h>
30294 #endif
30297 main ()
30299 _sqrtf(0);
30301 return 0;
30303 _ACEOF
30304 if ac_fn_cxx_try_compile "$LINENO"; then :
30305 glibcxx_cv_func__sqrtf_use=yes
30306 else
30307 glibcxx_cv_func__sqrtf_use=no
30309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30310 ac_ext=c
30311 ac_cpp='$CPP $CPPFLAGS'
30312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30321 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30323 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30324 for ac_func in _sqrtf
30325 do :
30326 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30327 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30328 cat >>confdefs.h <<_ACEOF
30329 #define HAVE__SQRTF 1
30330 _ACEOF
30333 done
30342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30343 $as_echo_n "checking for sincosf declaration... " >&6; }
30344 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30345 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30346 $as_echo_n "(cached) " >&6
30347 else
30350 ac_ext=cpp
30351 ac_cpp='$CXXCPP $CPPFLAGS'
30352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30357 /* end confdefs.h. */
30358 #include <math.h>
30360 main ()
30362 sincosf(0, 0, 0);
30364 return 0;
30366 _ACEOF
30367 if ac_fn_cxx_try_compile "$LINENO"; then :
30368 glibcxx_cv_func_sincosf_use=yes
30369 else
30370 glibcxx_cv_func_sincosf_use=no
30372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30373 ac_ext=c
30374 ac_cpp='$CPP $CPPFLAGS'
30375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30384 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30386 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30387 for ac_func in sincosf
30388 do :
30389 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30390 if test "x$ac_cv_func_sincosf" = x""yes; then :
30391 cat >>confdefs.h <<_ACEOF
30392 #define HAVE_SINCOSF 1
30393 _ACEOF
30396 done
30398 else
30400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30401 $as_echo_n "checking for _sincosf declaration... " >&6; }
30402 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30403 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30404 $as_echo_n "(cached) " >&6
30405 else
30408 ac_ext=cpp
30409 ac_cpp='$CXXCPP $CPPFLAGS'
30410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30415 /* end confdefs.h. */
30416 #include <math.h>
30418 main ()
30420 _sincosf(0, 0, 0);
30422 return 0;
30424 _ACEOF
30425 if ac_fn_cxx_try_compile "$LINENO"; then :
30426 glibcxx_cv_func__sincosf_use=yes
30427 else
30428 glibcxx_cv_func__sincosf_use=no
30430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30431 ac_ext=c
30432 ac_cpp='$CPP $CPPFLAGS'
30433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30442 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30444 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30445 for ac_func in _sincosf
30446 do :
30447 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30448 if test "x$ac_cv_func__sincosf" = x""yes; then :
30449 cat >>confdefs.h <<_ACEOF
30450 #define HAVE__SINCOSF 1
30451 _ACEOF
30454 done
30463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30464 $as_echo_n "checking for finitef declaration... " >&6; }
30465 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30466 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30467 $as_echo_n "(cached) " >&6
30468 else
30471 ac_ext=cpp
30472 ac_cpp='$CXXCPP $CPPFLAGS'
30473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30478 /* end confdefs.h. */
30479 #include <math.h>
30480 #ifdef HAVE_IEEEFP_H
30481 #include <ieeefp.h>
30482 #endif
30485 main ()
30487 finitef(0);
30489 return 0;
30491 _ACEOF
30492 if ac_fn_cxx_try_compile "$LINENO"; then :
30493 glibcxx_cv_func_finitef_use=yes
30494 else
30495 glibcxx_cv_func_finitef_use=no
30497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30498 ac_ext=c
30499 ac_cpp='$CPP $CPPFLAGS'
30500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30509 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30511 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30512 for ac_func in finitef
30513 do :
30514 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30515 if test "x$ac_cv_func_finitef" = x""yes; then :
30516 cat >>confdefs.h <<_ACEOF
30517 #define HAVE_FINITEF 1
30518 _ACEOF
30521 done
30523 else
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30526 $as_echo_n "checking for _finitef declaration... " >&6; }
30527 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30528 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30529 $as_echo_n "(cached) " >&6
30530 else
30533 ac_ext=cpp
30534 ac_cpp='$CXXCPP $CPPFLAGS'
30535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30540 /* end confdefs.h. */
30541 #include <math.h>
30542 #ifdef HAVE_IEEEFP_H
30543 #include <ieeefp.h>
30544 #endif
30547 main ()
30549 _finitef(0);
30551 return 0;
30553 _ACEOF
30554 if ac_fn_cxx_try_compile "$LINENO"; then :
30555 glibcxx_cv_func__finitef_use=yes
30556 else
30557 glibcxx_cv_func__finitef_use=no
30559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30560 ac_ext=c
30561 ac_cpp='$CPP $CPPFLAGS'
30562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30571 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30573 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30574 for ac_func in _finitef
30575 do :
30576 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30577 if test "x$ac_cv_func__finitef" = x""yes; then :
30578 cat >>confdefs.h <<_ACEOF
30579 #define HAVE__FINITEF 1
30580 _ACEOF
30583 done
30592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30593 $as_echo_n "checking for long double trig functions... " >&6; }
30594 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30595 $as_echo_n "(cached) " >&6
30596 else
30599 ac_ext=cpp
30600 ac_cpp='$CXXCPP $CPPFLAGS'
30601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30606 /* end confdefs.h. */
30607 #include <math.h>
30609 main ()
30611 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30613 return 0;
30615 _ACEOF
30616 if ac_fn_cxx_try_compile "$LINENO"; then :
30617 glibcxx_cv_func_long_double_trig_use=yes
30618 else
30619 glibcxx_cv_func_long_double_trig_use=no
30621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30622 ac_ext=c
30623 ac_cpp='$CPP $CPPFLAGS'
30624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30631 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30632 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30633 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30634 do :
30635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30637 eval as_val=\$$as_ac_var
30638 if test "x$as_val" = x""yes; then :
30639 cat >>confdefs.h <<_ACEOF
30640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30641 _ACEOF
30644 done
30646 else
30647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30648 $as_echo_n "checking for _long double trig functions... " >&6; }
30649 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30650 $as_echo_n "(cached) " >&6
30651 else
30654 ac_ext=cpp
30655 ac_cpp='$CXXCPP $CPPFLAGS'
30656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30661 /* end confdefs.h. */
30662 #include <math.h>
30664 main ()
30666 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30668 return 0;
30670 _ACEOF
30671 if ac_fn_cxx_try_compile "$LINENO"; then :
30672 glibcxx_cv_func__long_double_trig_use=yes
30673 else
30674 glibcxx_cv_func__long_double_trig_use=no
30676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30677 ac_ext=c
30678 ac_cpp='$CPP $CPPFLAGS'
30679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30686 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30687 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30688 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30689 do :
30690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30692 eval as_val=\$$as_ac_var
30693 if test "x$as_val" = x""yes; then :
30694 cat >>confdefs.h <<_ACEOF
30695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30696 _ACEOF
30699 done
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30709 $as_echo_n "checking for long double round functions... " >&6; }
30710 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30711 $as_echo_n "(cached) " >&6
30712 else
30715 ac_ext=cpp
30716 ac_cpp='$CXXCPP $CPPFLAGS'
30717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30723 #include <math.h>
30725 main ()
30727 ceill (0); floorl (0);
30729 return 0;
30731 _ACEOF
30732 if ac_fn_cxx_try_compile "$LINENO"; then :
30733 glibcxx_cv_func_long_double_round_use=yes
30734 else
30735 glibcxx_cv_func_long_double_round_use=no
30737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30738 ac_ext=c
30739 ac_cpp='$CPP $CPPFLAGS'
30740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30747 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30748 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30749 for ac_func in ceill floorl
30750 do :
30751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30753 eval as_val=\$$as_ac_var
30754 if test "x$as_val" = x""yes; then :
30755 cat >>confdefs.h <<_ACEOF
30756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30757 _ACEOF
30760 done
30762 else
30763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30764 $as_echo_n "checking for _long double round functions... " >&6; }
30765 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30766 $as_echo_n "(cached) " >&6
30767 else
30770 ac_ext=cpp
30771 ac_cpp='$CXXCPP $CPPFLAGS'
30772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30777 /* end confdefs.h. */
30778 #include <math.h>
30780 main ()
30782 _ceill (0); _floorl (0);
30784 return 0;
30786 _ACEOF
30787 if ac_fn_cxx_try_compile "$LINENO"; then :
30788 glibcxx_cv_func__long_double_round_use=yes
30789 else
30790 glibcxx_cv_func__long_double_round_use=no
30792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30793 ac_ext=c
30794 ac_cpp='$CPP $CPPFLAGS'
30795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30802 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30803 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30804 for ac_func in _ceill _floorl
30805 do :
30806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30808 eval as_val=\$$as_ac_var
30809 if test "x$as_val" = x""yes; then :
30810 cat >>confdefs.h <<_ACEOF
30811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30812 _ACEOF
30815 done
30825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30826 $as_echo_n "checking for isnanl declaration... " >&6; }
30827 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30828 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30829 $as_echo_n "(cached) " >&6
30830 else
30833 ac_ext=cpp
30834 ac_cpp='$CXXCPP $CPPFLAGS'
30835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30840 /* end confdefs.h. */
30841 #include <math.h>
30842 #ifdef HAVE_IEEEFP_H
30843 #include <ieeefp.h>
30844 #endif
30847 main ()
30849 isnanl(0);
30851 return 0;
30853 _ACEOF
30854 if ac_fn_cxx_try_compile "$LINENO"; then :
30855 glibcxx_cv_func_isnanl_use=yes
30856 else
30857 glibcxx_cv_func_isnanl_use=no
30859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30860 ac_ext=c
30861 ac_cpp='$CPP $CPPFLAGS'
30862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30871 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30873 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30874 for ac_func in isnanl
30875 do :
30876 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30877 if test "x$ac_cv_func_isnanl" = x""yes; then :
30878 cat >>confdefs.h <<_ACEOF
30879 #define HAVE_ISNANL 1
30880 _ACEOF
30883 done
30885 else
30887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30888 $as_echo_n "checking for _isnanl declaration... " >&6; }
30889 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30890 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30891 $as_echo_n "(cached) " >&6
30892 else
30895 ac_ext=cpp
30896 ac_cpp='$CXXCPP $CPPFLAGS'
30897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30902 /* end confdefs.h. */
30903 #include <math.h>
30904 #ifdef HAVE_IEEEFP_H
30905 #include <ieeefp.h>
30906 #endif
30909 main ()
30911 _isnanl(0);
30913 return 0;
30915 _ACEOF
30916 if ac_fn_cxx_try_compile "$LINENO"; then :
30917 glibcxx_cv_func__isnanl_use=yes
30918 else
30919 glibcxx_cv_func__isnanl_use=no
30921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30922 ac_ext=c
30923 ac_cpp='$CPP $CPPFLAGS'
30924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30933 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30935 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30936 for ac_func in _isnanl
30937 do :
30938 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30939 if test "x$ac_cv_func__isnanl" = x""yes; then :
30940 cat >>confdefs.h <<_ACEOF
30941 #define HAVE__ISNANL 1
30942 _ACEOF
30945 done
30954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30955 $as_echo_n "checking for isinfl declaration... " >&6; }
30956 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30957 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30958 $as_echo_n "(cached) " >&6
30959 else
30962 ac_ext=cpp
30963 ac_cpp='$CXXCPP $CPPFLAGS'
30964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30969 /* end confdefs.h. */
30970 #include <math.h>
30971 #ifdef HAVE_IEEEFP_H
30972 #include <ieeefp.h>
30973 #endif
30976 main ()
30978 isinfl(0);
30980 return 0;
30982 _ACEOF
30983 if ac_fn_cxx_try_compile "$LINENO"; then :
30984 glibcxx_cv_func_isinfl_use=yes
30985 else
30986 glibcxx_cv_func_isinfl_use=no
30988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30989 ac_ext=c
30990 ac_cpp='$CPP $CPPFLAGS'
30991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31000 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31002 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31003 for ac_func in isinfl
31004 do :
31005 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31006 if test "x$ac_cv_func_isinfl" = x""yes; then :
31007 cat >>confdefs.h <<_ACEOF
31008 #define HAVE_ISINFL 1
31009 _ACEOF
31012 done
31014 else
31016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31017 $as_echo_n "checking for _isinfl declaration... " >&6; }
31018 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31019 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31020 $as_echo_n "(cached) " >&6
31021 else
31024 ac_ext=cpp
31025 ac_cpp='$CXXCPP $CPPFLAGS'
31026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31031 /* end confdefs.h. */
31032 #include <math.h>
31033 #ifdef HAVE_IEEEFP_H
31034 #include <ieeefp.h>
31035 #endif
31038 main ()
31040 _isinfl(0);
31042 return 0;
31044 _ACEOF
31045 if ac_fn_cxx_try_compile "$LINENO"; then :
31046 glibcxx_cv_func__isinfl_use=yes
31047 else
31048 glibcxx_cv_func__isinfl_use=no
31050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31051 ac_ext=c
31052 ac_cpp='$CPP $CPPFLAGS'
31053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31062 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31064 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31065 for ac_func in _isinfl
31066 do :
31067 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31068 if test "x$ac_cv_func__isinfl" = x""yes; then :
31069 cat >>confdefs.h <<_ACEOF
31070 #define HAVE__ISINFL 1
31071 _ACEOF
31074 done
31083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31084 $as_echo_n "checking for atan2l declaration... " >&6; }
31085 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31086 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31087 $as_echo_n "(cached) " >&6
31088 else
31091 ac_ext=cpp
31092 ac_cpp='$CXXCPP $CPPFLAGS'
31093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31098 /* end confdefs.h. */
31099 #include <math.h>
31101 main ()
31103 atan2l(0, 0);
31105 return 0;
31107 _ACEOF
31108 if ac_fn_cxx_try_compile "$LINENO"; then :
31109 glibcxx_cv_func_atan2l_use=yes
31110 else
31111 glibcxx_cv_func_atan2l_use=no
31113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31114 ac_ext=c
31115 ac_cpp='$CPP $CPPFLAGS'
31116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31125 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31127 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31128 for ac_func in atan2l
31129 do :
31130 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31131 if test "x$ac_cv_func_atan2l" = x""yes; then :
31132 cat >>confdefs.h <<_ACEOF
31133 #define HAVE_ATAN2L 1
31134 _ACEOF
31137 done
31139 else
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31142 $as_echo_n "checking for _atan2l declaration... " >&6; }
31143 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31144 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31145 $as_echo_n "(cached) " >&6
31146 else
31149 ac_ext=cpp
31150 ac_cpp='$CXXCPP $CPPFLAGS'
31151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31156 /* end confdefs.h. */
31157 #include <math.h>
31159 main ()
31161 _atan2l(0, 0);
31163 return 0;
31165 _ACEOF
31166 if ac_fn_cxx_try_compile "$LINENO"; then :
31167 glibcxx_cv_func__atan2l_use=yes
31168 else
31169 glibcxx_cv_func__atan2l_use=no
31171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31172 ac_ext=c
31173 ac_cpp='$CPP $CPPFLAGS'
31174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31183 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31185 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31186 for ac_func in _atan2l
31187 do :
31188 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31189 if test "x$ac_cv_func__atan2l" = x""yes; then :
31190 cat >>confdefs.h <<_ACEOF
31191 #define HAVE__ATAN2L 1
31192 _ACEOF
31195 done
31204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31205 $as_echo_n "checking for expl declaration... " >&6; }
31206 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31207 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31208 $as_echo_n "(cached) " >&6
31209 else
31212 ac_ext=cpp
31213 ac_cpp='$CXXCPP $CPPFLAGS'
31214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31219 /* end confdefs.h. */
31220 #include <math.h>
31221 #ifdef HAVE_IEEEFP_H
31222 #include <ieeefp.h>
31223 #endif
31226 main ()
31228 expl(0);
31230 return 0;
31232 _ACEOF
31233 if ac_fn_cxx_try_compile "$LINENO"; then :
31234 glibcxx_cv_func_expl_use=yes
31235 else
31236 glibcxx_cv_func_expl_use=no
31238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31239 ac_ext=c
31240 ac_cpp='$CPP $CPPFLAGS'
31241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31250 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31252 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31253 for ac_func in expl
31254 do :
31255 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31256 if test "x$ac_cv_func_expl" = x""yes; then :
31257 cat >>confdefs.h <<_ACEOF
31258 #define HAVE_EXPL 1
31259 _ACEOF
31262 done
31264 else
31266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31267 $as_echo_n "checking for _expl declaration... " >&6; }
31268 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31269 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31270 $as_echo_n "(cached) " >&6
31271 else
31274 ac_ext=cpp
31275 ac_cpp='$CXXCPP $CPPFLAGS'
31276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31281 /* end confdefs.h. */
31282 #include <math.h>
31283 #ifdef HAVE_IEEEFP_H
31284 #include <ieeefp.h>
31285 #endif
31288 main ()
31290 _expl(0);
31292 return 0;
31294 _ACEOF
31295 if ac_fn_cxx_try_compile "$LINENO"; then :
31296 glibcxx_cv_func__expl_use=yes
31297 else
31298 glibcxx_cv_func__expl_use=no
31300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31301 ac_ext=c
31302 ac_cpp='$CPP $CPPFLAGS'
31303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31312 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31314 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31315 for ac_func in _expl
31316 do :
31317 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31318 if test "x$ac_cv_func__expl" = x""yes; then :
31319 cat >>confdefs.h <<_ACEOF
31320 #define HAVE__EXPL 1
31321 _ACEOF
31324 done
31333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31334 $as_echo_n "checking for fabsl declaration... " >&6; }
31335 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31336 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31337 $as_echo_n "(cached) " >&6
31338 else
31341 ac_ext=cpp
31342 ac_cpp='$CXXCPP $CPPFLAGS'
31343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31348 /* end confdefs.h. */
31349 #include <math.h>
31350 #ifdef HAVE_IEEEFP_H
31351 #include <ieeefp.h>
31352 #endif
31355 main ()
31357 fabsl(0);
31359 return 0;
31361 _ACEOF
31362 if ac_fn_cxx_try_compile "$LINENO"; then :
31363 glibcxx_cv_func_fabsl_use=yes
31364 else
31365 glibcxx_cv_func_fabsl_use=no
31367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31368 ac_ext=c
31369 ac_cpp='$CPP $CPPFLAGS'
31370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31379 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31381 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31382 for ac_func in fabsl
31383 do :
31384 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31385 if test "x$ac_cv_func_fabsl" = x""yes; then :
31386 cat >>confdefs.h <<_ACEOF
31387 #define HAVE_FABSL 1
31388 _ACEOF
31391 done
31393 else
31395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31396 $as_echo_n "checking for _fabsl declaration... " >&6; }
31397 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31398 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31399 $as_echo_n "(cached) " >&6
31400 else
31403 ac_ext=cpp
31404 ac_cpp='$CXXCPP $CPPFLAGS'
31405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31410 /* end confdefs.h. */
31411 #include <math.h>
31412 #ifdef HAVE_IEEEFP_H
31413 #include <ieeefp.h>
31414 #endif
31417 main ()
31419 _fabsl(0);
31421 return 0;
31423 _ACEOF
31424 if ac_fn_cxx_try_compile "$LINENO"; then :
31425 glibcxx_cv_func__fabsl_use=yes
31426 else
31427 glibcxx_cv_func__fabsl_use=no
31429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31430 ac_ext=c
31431 ac_cpp='$CPP $CPPFLAGS'
31432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31441 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31443 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31444 for ac_func in _fabsl
31445 do :
31446 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31447 if test "x$ac_cv_func__fabsl" = x""yes; then :
31448 cat >>confdefs.h <<_ACEOF
31449 #define HAVE__FABSL 1
31450 _ACEOF
31453 done
31462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31463 $as_echo_n "checking for fmodl declaration... " >&6; }
31464 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31465 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31466 $as_echo_n "(cached) " >&6
31467 else
31470 ac_ext=cpp
31471 ac_cpp='$CXXCPP $CPPFLAGS'
31472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31477 /* end confdefs.h. */
31478 #include <math.h>
31480 main ()
31482 fmodl(0, 0);
31484 return 0;
31486 _ACEOF
31487 if ac_fn_cxx_try_compile "$LINENO"; then :
31488 glibcxx_cv_func_fmodl_use=yes
31489 else
31490 glibcxx_cv_func_fmodl_use=no
31492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31493 ac_ext=c
31494 ac_cpp='$CPP $CPPFLAGS'
31495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31504 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31506 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31507 for ac_func in fmodl
31508 do :
31509 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31510 if test "x$ac_cv_func_fmodl" = x""yes; then :
31511 cat >>confdefs.h <<_ACEOF
31512 #define HAVE_FMODL 1
31513 _ACEOF
31516 done
31518 else
31520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31521 $as_echo_n "checking for _fmodl declaration... " >&6; }
31522 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31523 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31524 $as_echo_n "(cached) " >&6
31525 else
31528 ac_ext=cpp
31529 ac_cpp='$CXXCPP $CPPFLAGS'
31530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31535 /* end confdefs.h. */
31536 #include <math.h>
31538 main ()
31540 _fmodl(0, 0);
31542 return 0;
31544 _ACEOF
31545 if ac_fn_cxx_try_compile "$LINENO"; then :
31546 glibcxx_cv_func__fmodl_use=yes
31547 else
31548 glibcxx_cv_func__fmodl_use=no
31550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31551 ac_ext=c
31552 ac_cpp='$CPP $CPPFLAGS'
31553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31562 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31564 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31565 for ac_func in _fmodl
31566 do :
31567 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31568 if test "x$ac_cv_func__fmodl" = x""yes; then :
31569 cat >>confdefs.h <<_ACEOF
31570 #define HAVE__FMODL 1
31571 _ACEOF
31574 done
31583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31584 $as_echo_n "checking for frexpl declaration... " >&6; }
31585 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31586 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31587 $as_echo_n "(cached) " >&6
31588 else
31591 ac_ext=cpp
31592 ac_cpp='$CXXCPP $CPPFLAGS'
31593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31598 /* end confdefs.h. */
31599 #include <math.h>
31601 main ()
31603 frexpl(0, 0);
31605 return 0;
31607 _ACEOF
31608 if ac_fn_cxx_try_compile "$LINENO"; then :
31609 glibcxx_cv_func_frexpl_use=yes
31610 else
31611 glibcxx_cv_func_frexpl_use=no
31613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31614 ac_ext=c
31615 ac_cpp='$CPP $CPPFLAGS'
31616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31625 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31627 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31628 for ac_func in frexpl
31629 do :
31630 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31631 if test "x$ac_cv_func_frexpl" = x""yes; then :
31632 cat >>confdefs.h <<_ACEOF
31633 #define HAVE_FREXPL 1
31634 _ACEOF
31637 done
31639 else
31641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31642 $as_echo_n "checking for _frexpl declaration... " >&6; }
31643 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31644 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31645 $as_echo_n "(cached) " >&6
31646 else
31649 ac_ext=cpp
31650 ac_cpp='$CXXCPP $CPPFLAGS'
31651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31656 /* end confdefs.h. */
31657 #include <math.h>
31659 main ()
31661 _frexpl(0, 0);
31663 return 0;
31665 _ACEOF
31666 if ac_fn_cxx_try_compile "$LINENO"; then :
31667 glibcxx_cv_func__frexpl_use=yes
31668 else
31669 glibcxx_cv_func__frexpl_use=no
31671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31672 ac_ext=c
31673 ac_cpp='$CPP $CPPFLAGS'
31674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31683 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31685 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31686 for ac_func in _frexpl
31687 do :
31688 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31689 if test "x$ac_cv_func__frexpl" = x""yes; then :
31690 cat >>confdefs.h <<_ACEOF
31691 #define HAVE__FREXPL 1
31692 _ACEOF
31695 done
31704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31705 $as_echo_n "checking for hypotl declaration... " >&6; }
31706 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31707 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31708 $as_echo_n "(cached) " >&6
31709 else
31712 ac_ext=cpp
31713 ac_cpp='$CXXCPP $CPPFLAGS'
31714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31719 /* end confdefs.h. */
31720 #include <math.h>
31722 main ()
31724 hypotl(0, 0);
31726 return 0;
31728 _ACEOF
31729 if ac_fn_cxx_try_compile "$LINENO"; then :
31730 glibcxx_cv_func_hypotl_use=yes
31731 else
31732 glibcxx_cv_func_hypotl_use=no
31734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31735 ac_ext=c
31736 ac_cpp='$CPP $CPPFLAGS'
31737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31746 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31748 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31749 for ac_func in hypotl
31750 do :
31751 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31752 if test "x$ac_cv_func_hypotl" = x""yes; then :
31753 cat >>confdefs.h <<_ACEOF
31754 #define HAVE_HYPOTL 1
31755 _ACEOF
31758 done
31760 else
31762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31763 $as_echo_n "checking for _hypotl declaration... " >&6; }
31764 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31765 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31766 $as_echo_n "(cached) " >&6
31767 else
31770 ac_ext=cpp
31771 ac_cpp='$CXXCPP $CPPFLAGS'
31772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31777 /* end confdefs.h. */
31778 #include <math.h>
31780 main ()
31782 _hypotl(0, 0);
31784 return 0;
31786 _ACEOF
31787 if ac_fn_cxx_try_compile "$LINENO"; then :
31788 glibcxx_cv_func__hypotl_use=yes
31789 else
31790 glibcxx_cv_func__hypotl_use=no
31792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31793 ac_ext=c
31794 ac_cpp='$CPP $CPPFLAGS'
31795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31804 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31806 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31807 for ac_func in _hypotl
31808 do :
31809 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31810 if test "x$ac_cv_func__hypotl" = x""yes; then :
31811 cat >>confdefs.h <<_ACEOF
31812 #define HAVE__HYPOTL 1
31813 _ACEOF
31816 done
31825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31826 $as_echo_n "checking for ldexpl declaration... " >&6; }
31827 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31828 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31829 $as_echo_n "(cached) " >&6
31830 else
31833 ac_ext=cpp
31834 ac_cpp='$CXXCPP $CPPFLAGS'
31835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31840 /* end confdefs.h. */
31841 #include <math.h>
31843 main ()
31845 ldexpl(0, 0);
31847 return 0;
31849 _ACEOF
31850 if ac_fn_cxx_try_compile "$LINENO"; then :
31851 glibcxx_cv_func_ldexpl_use=yes
31852 else
31853 glibcxx_cv_func_ldexpl_use=no
31855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31856 ac_ext=c
31857 ac_cpp='$CPP $CPPFLAGS'
31858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31867 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31869 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31870 for ac_func in ldexpl
31871 do :
31872 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31873 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31874 cat >>confdefs.h <<_ACEOF
31875 #define HAVE_LDEXPL 1
31876 _ACEOF
31879 done
31881 else
31883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31884 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31885 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31886 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31887 $as_echo_n "(cached) " >&6
31888 else
31891 ac_ext=cpp
31892 ac_cpp='$CXXCPP $CPPFLAGS'
31893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31898 /* end confdefs.h. */
31899 #include <math.h>
31901 main ()
31903 _ldexpl(0, 0);
31905 return 0;
31907 _ACEOF
31908 if ac_fn_cxx_try_compile "$LINENO"; then :
31909 glibcxx_cv_func__ldexpl_use=yes
31910 else
31911 glibcxx_cv_func__ldexpl_use=no
31913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31914 ac_ext=c
31915 ac_cpp='$CPP $CPPFLAGS'
31916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31925 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31927 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31928 for ac_func in _ldexpl
31929 do :
31930 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31931 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31932 cat >>confdefs.h <<_ACEOF
31933 #define HAVE__LDEXPL 1
31934 _ACEOF
31937 done
31946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31947 $as_echo_n "checking for logl declaration... " >&6; }
31948 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31949 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31950 $as_echo_n "(cached) " >&6
31951 else
31954 ac_ext=cpp
31955 ac_cpp='$CXXCPP $CPPFLAGS'
31956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31961 /* end confdefs.h. */
31962 #include <math.h>
31963 #ifdef HAVE_IEEEFP_H
31964 #include <ieeefp.h>
31965 #endif
31968 main ()
31970 logl(0);
31972 return 0;
31974 _ACEOF
31975 if ac_fn_cxx_try_compile "$LINENO"; then :
31976 glibcxx_cv_func_logl_use=yes
31977 else
31978 glibcxx_cv_func_logl_use=no
31980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31981 ac_ext=c
31982 ac_cpp='$CPP $CPPFLAGS'
31983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31992 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31994 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31995 for ac_func in logl
31996 do :
31997 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31998 if test "x$ac_cv_func_logl" = x""yes; then :
31999 cat >>confdefs.h <<_ACEOF
32000 #define HAVE_LOGL 1
32001 _ACEOF
32004 done
32006 else
32008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32009 $as_echo_n "checking for _logl declaration... " >&6; }
32010 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32011 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32012 $as_echo_n "(cached) " >&6
32013 else
32016 ac_ext=cpp
32017 ac_cpp='$CXXCPP $CPPFLAGS'
32018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32023 /* end confdefs.h. */
32024 #include <math.h>
32025 #ifdef HAVE_IEEEFP_H
32026 #include <ieeefp.h>
32027 #endif
32030 main ()
32032 _logl(0);
32034 return 0;
32036 _ACEOF
32037 if ac_fn_cxx_try_compile "$LINENO"; then :
32038 glibcxx_cv_func__logl_use=yes
32039 else
32040 glibcxx_cv_func__logl_use=no
32042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32043 ac_ext=c
32044 ac_cpp='$CPP $CPPFLAGS'
32045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32054 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32056 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32057 for ac_func in _logl
32058 do :
32059 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32060 if test "x$ac_cv_func__logl" = x""yes; then :
32061 cat >>confdefs.h <<_ACEOF
32062 #define HAVE__LOGL 1
32063 _ACEOF
32066 done
32075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32076 $as_echo_n "checking for log10l declaration... " >&6; }
32077 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32078 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32079 $as_echo_n "(cached) " >&6
32080 else
32083 ac_ext=cpp
32084 ac_cpp='$CXXCPP $CPPFLAGS'
32085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32090 /* end confdefs.h. */
32091 #include <math.h>
32092 #ifdef HAVE_IEEEFP_H
32093 #include <ieeefp.h>
32094 #endif
32097 main ()
32099 log10l(0);
32101 return 0;
32103 _ACEOF
32104 if ac_fn_cxx_try_compile "$LINENO"; then :
32105 glibcxx_cv_func_log10l_use=yes
32106 else
32107 glibcxx_cv_func_log10l_use=no
32109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32110 ac_ext=c
32111 ac_cpp='$CPP $CPPFLAGS'
32112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32121 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32123 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32124 for ac_func in log10l
32125 do :
32126 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32127 if test "x$ac_cv_func_log10l" = x""yes; then :
32128 cat >>confdefs.h <<_ACEOF
32129 #define HAVE_LOG10L 1
32130 _ACEOF
32133 done
32135 else
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32138 $as_echo_n "checking for _log10l declaration... " >&6; }
32139 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32140 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32141 $as_echo_n "(cached) " >&6
32142 else
32145 ac_ext=cpp
32146 ac_cpp='$CXXCPP $CPPFLAGS'
32147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32152 /* end confdefs.h. */
32153 #include <math.h>
32154 #ifdef HAVE_IEEEFP_H
32155 #include <ieeefp.h>
32156 #endif
32159 main ()
32161 _log10l(0);
32163 return 0;
32165 _ACEOF
32166 if ac_fn_cxx_try_compile "$LINENO"; then :
32167 glibcxx_cv_func__log10l_use=yes
32168 else
32169 glibcxx_cv_func__log10l_use=no
32171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32172 ac_ext=c
32173 ac_cpp='$CPP $CPPFLAGS'
32174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32183 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32185 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32186 for ac_func in _log10l
32187 do :
32188 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32189 if test "x$ac_cv_func__log10l" = x""yes; then :
32190 cat >>confdefs.h <<_ACEOF
32191 #define HAVE__LOG10L 1
32192 _ACEOF
32195 done
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32205 $as_echo_n "checking for modfl declaration... " >&6; }
32206 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32207 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32208 $as_echo_n "(cached) " >&6
32209 else
32212 ac_ext=cpp
32213 ac_cpp='$CXXCPP $CPPFLAGS'
32214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32219 /* end confdefs.h. */
32220 #include <math.h>
32222 main ()
32224 modfl(0, 0);
32226 return 0;
32228 _ACEOF
32229 if ac_fn_cxx_try_compile "$LINENO"; then :
32230 glibcxx_cv_func_modfl_use=yes
32231 else
32232 glibcxx_cv_func_modfl_use=no
32234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32235 ac_ext=c
32236 ac_cpp='$CPP $CPPFLAGS'
32237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32246 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32248 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32249 for ac_func in modfl
32250 do :
32251 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32252 if test "x$ac_cv_func_modfl" = x""yes; then :
32253 cat >>confdefs.h <<_ACEOF
32254 #define HAVE_MODFL 1
32255 _ACEOF
32258 done
32260 else
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32263 $as_echo_n "checking for _modfl declaration... " >&6; }
32264 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32265 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32266 $as_echo_n "(cached) " >&6
32267 else
32270 ac_ext=cpp
32271 ac_cpp='$CXXCPP $CPPFLAGS'
32272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32277 /* end confdefs.h. */
32278 #include <math.h>
32280 main ()
32282 _modfl(0, 0);
32284 return 0;
32286 _ACEOF
32287 if ac_fn_cxx_try_compile "$LINENO"; then :
32288 glibcxx_cv_func__modfl_use=yes
32289 else
32290 glibcxx_cv_func__modfl_use=no
32292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32293 ac_ext=c
32294 ac_cpp='$CPP $CPPFLAGS'
32295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32304 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32306 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32307 for ac_func in _modfl
32308 do :
32309 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32310 if test "x$ac_cv_func__modfl" = x""yes; then :
32311 cat >>confdefs.h <<_ACEOF
32312 #define HAVE__MODFL 1
32313 _ACEOF
32316 done
32325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32326 $as_echo_n "checking for powl declaration... " >&6; }
32327 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32328 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32329 $as_echo_n "(cached) " >&6
32330 else
32333 ac_ext=cpp
32334 ac_cpp='$CXXCPP $CPPFLAGS'
32335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32340 /* end confdefs.h. */
32341 #include <math.h>
32343 main ()
32345 powl(0, 0);
32347 return 0;
32349 _ACEOF
32350 if ac_fn_cxx_try_compile "$LINENO"; then :
32351 glibcxx_cv_func_powl_use=yes
32352 else
32353 glibcxx_cv_func_powl_use=no
32355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32356 ac_ext=c
32357 ac_cpp='$CPP $CPPFLAGS'
32358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32367 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32369 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32370 for ac_func in powl
32371 do :
32372 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32373 if test "x$ac_cv_func_powl" = x""yes; then :
32374 cat >>confdefs.h <<_ACEOF
32375 #define HAVE_POWL 1
32376 _ACEOF
32379 done
32381 else
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32384 $as_echo_n "checking for _powl declaration... " >&6; }
32385 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32386 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32387 $as_echo_n "(cached) " >&6
32388 else
32391 ac_ext=cpp
32392 ac_cpp='$CXXCPP $CPPFLAGS'
32393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32398 /* end confdefs.h. */
32399 #include <math.h>
32401 main ()
32403 _powl(0, 0);
32405 return 0;
32407 _ACEOF
32408 if ac_fn_cxx_try_compile "$LINENO"; then :
32409 glibcxx_cv_func__powl_use=yes
32410 else
32411 glibcxx_cv_func__powl_use=no
32413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32414 ac_ext=c
32415 ac_cpp='$CPP $CPPFLAGS'
32416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32425 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32427 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32428 for ac_func in _powl
32429 do :
32430 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32431 if test "x$ac_cv_func__powl" = x""yes; then :
32432 cat >>confdefs.h <<_ACEOF
32433 #define HAVE__POWL 1
32434 _ACEOF
32437 done
32446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32447 $as_echo_n "checking for sqrtl declaration... " >&6; }
32448 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32449 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32450 $as_echo_n "(cached) " >&6
32451 else
32454 ac_ext=cpp
32455 ac_cpp='$CXXCPP $CPPFLAGS'
32456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32461 /* end confdefs.h. */
32462 #include <math.h>
32463 #ifdef HAVE_IEEEFP_H
32464 #include <ieeefp.h>
32465 #endif
32468 main ()
32470 sqrtl(0);
32472 return 0;
32474 _ACEOF
32475 if ac_fn_cxx_try_compile "$LINENO"; then :
32476 glibcxx_cv_func_sqrtl_use=yes
32477 else
32478 glibcxx_cv_func_sqrtl_use=no
32480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32481 ac_ext=c
32482 ac_cpp='$CPP $CPPFLAGS'
32483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32492 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32494 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32495 for ac_func in sqrtl
32496 do :
32497 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32498 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32499 cat >>confdefs.h <<_ACEOF
32500 #define HAVE_SQRTL 1
32501 _ACEOF
32504 done
32506 else
32508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32509 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32510 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32511 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32512 $as_echo_n "(cached) " >&6
32513 else
32516 ac_ext=cpp
32517 ac_cpp='$CXXCPP $CPPFLAGS'
32518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32523 /* end confdefs.h. */
32524 #include <math.h>
32525 #ifdef HAVE_IEEEFP_H
32526 #include <ieeefp.h>
32527 #endif
32530 main ()
32532 _sqrtl(0);
32534 return 0;
32536 _ACEOF
32537 if ac_fn_cxx_try_compile "$LINENO"; then :
32538 glibcxx_cv_func__sqrtl_use=yes
32539 else
32540 glibcxx_cv_func__sqrtl_use=no
32542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32543 ac_ext=c
32544 ac_cpp='$CPP $CPPFLAGS'
32545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32554 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32556 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32557 for ac_func in _sqrtl
32558 do :
32559 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32560 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32561 cat >>confdefs.h <<_ACEOF
32562 #define HAVE__SQRTL 1
32563 _ACEOF
32566 done
32575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32576 $as_echo_n "checking for sincosl declaration... " >&6; }
32577 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32578 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32579 $as_echo_n "(cached) " >&6
32580 else
32583 ac_ext=cpp
32584 ac_cpp='$CXXCPP $CPPFLAGS'
32585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32590 /* end confdefs.h. */
32591 #include <math.h>
32593 main ()
32595 sincosl(0, 0, 0);
32597 return 0;
32599 _ACEOF
32600 if ac_fn_cxx_try_compile "$LINENO"; then :
32601 glibcxx_cv_func_sincosl_use=yes
32602 else
32603 glibcxx_cv_func_sincosl_use=no
32605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32606 ac_ext=c
32607 ac_cpp='$CPP $CPPFLAGS'
32608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32617 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32619 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32620 for ac_func in sincosl
32621 do :
32622 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32623 if test "x$ac_cv_func_sincosl" = x""yes; then :
32624 cat >>confdefs.h <<_ACEOF
32625 #define HAVE_SINCOSL 1
32626 _ACEOF
32629 done
32631 else
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32634 $as_echo_n "checking for _sincosl declaration... " >&6; }
32635 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32636 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32637 $as_echo_n "(cached) " >&6
32638 else
32641 ac_ext=cpp
32642 ac_cpp='$CXXCPP $CPPFLAGS'
32643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32648 /* end confdefs.h. */
32649 #include <math.h>
32651 main ()
32653 _sincosl(0, 0, 0);
32655 return 0;
32657 _ACEOF
32658 if ac_fn_cxx_try_compile "$LINENO"; then :
32659 glibcxx_cv_func__sincosl_use=yes
32660 else
32661 glibcxx_cv_func__sincosl_use=no
32663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32664 ac_ext=c
32665 ac_cpp='$CPP $CPPFLAGS'
32666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32675 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32677 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32678 for ac_func in _sincosl
32679 do :
32680 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32681 if test "x$ac_cv_func__sincosl" = x""yes; then :
32682 cat >>confdefs.h <<_ACEOF
32683 #define HAVE__SINCOSL 1
32684 _ACEOF
32687 done
32696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32697 $as_echo_n "checking for finitel declaration... " >&6; }
32698 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32699 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32700 $as_echo_n "(cached) " >&6
32701 else
32704 ac_ext=cpp
32705 ac_cpp='$CXXCPP $CPPFLAGS'
32706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32711 /* end confdefs.h. */
32712 #include <math.h>
32713 #ifdef HAVE_IEEEFP_H
32714 #include <ieeefp.h>
32715 #endif
32718 main ()
32720 finitel(0);
32722 return 0;
32724 _ACEOF
32725 if ac_fn_cxx_try_compile "$LINENO"; then :
32726 glibcxx_cv_func_finitel_use=yes
32727 else
32728 glibcxx_cv_func_finitel_use=no
32730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32731 ac_ext=c
32732 ac_cpp='$CPP $CPPFLAGS'
32733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32742 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32744 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32745 for ac_func in finitel
32746 do :
32747 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32748 if test "x$ac_cv_func_finitel" = x""yes; then :
32749 cat >>confdefs.h <<_ACEOF
32750 #define HAVE_FINITEL 1
32751 _ACEOF
32754 done
32756 else
32758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32759 $as_echo_n "checking for _finitel declaration... " >&6; }
32760 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32761 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32762 $as_echo_n "(cached) " >&6
32763 else
32766 ac_ext=cpp
32767 ac_cpp='$CXXCPP $CPPFLAGS'
32768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32773 /* end confdefs.h. */
32774 #include <math.h>
32775 #ifdef HAVE_IEEEFP_H
32776 #include <ieeefp.h>
32777 #endif
32780 main ()
32782 _finitel(0);
32784 return 0;
32786 _ACEOF
32787 if ac_fn_cxx_try_compile "$LINENO"; then :
32788 glibcxx_cv_func__finitel_use=yes
32789 else
32790 glibcxx_cv_func__finitel_use=no
32792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32793 ac_ext=c
32794 ac_cpp='$CPP $CPPFLAGS'
32795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32804 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32806 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32807 for ac_func in _finitel
32808 do :
32809 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32810 if test "x$ac_cv_func__finitel" = x""yes; then :
32811 cat >>confdefs.h <<_ACEOF
32812 #define HAVE__FINITEL 1
32813 _ACEOF
32816 done
32824 LIBS="$ac_save_LIBS"
32825 CXXFLAGS="$ac_save_CXXFLAGS"
32828 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32829 ac_save_CXXFLAGS="$CXXFLAGS"
32830 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32834 $as_echo_n "checking for strtold declaration... " >&6; }
32835 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32836 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32837 $as_echo_n "(cached) " >&6
32838 else
32841 ac_ext=cpp
32842 ac_cpp='$CXXCPP $CPPFLAGS'
32843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32848 /* end confdefs.h. */
32849 #include <stdlib.h>
32851 main ()
32853 strtold(0, 0);
32855 return 0;
32857 _ACEOF
32858 if ac_fn_cxx_try_compile "$LINENO"; then :
32859 glibcxx_cv_func_strtold_use=yes
32860 else
32861 glibcxx_cv_func_strtold_use=no
32863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32864 ac_ext=c
32865 ac_cpp='$CPP $CPPFLAGS'
32866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32875 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32876 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32877 for ac_func in strtold
32878 do :
32879 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32880 if test "x$ac_cv_func_strtold" = x""yes; then :
32881 cat >>confdefs.h <<_ACEOF
32882 #define HAVE_STRTOLD 1
32883 _ACEOF
32886 done
32893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32894 $as_echo_n "checking for strtof declaration... " >&6; }
32895 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32896 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32897 $as_echo_n "(cached) " >&6
32898 else
32901 ac_ext=cpp
32902 ac_cpp='$CXXCPP $CPPFLAGS'
32903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32908 /* end confdefs.h. */
32909 #include <stdlib.h>
32911 main ()
32913 strtof(0, 0);
32915 return 0;
32917 _ACEOF
32918 if ac_fn_cxx_try_compile "$LINENO"; then :
32919 glibcxx_cv_func_strtof_use=yes
32920 else
32921 glibcxx_cv_func_strtof_use=no
32923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32924 ac_ext=c
32925 ac_cpp='$CPP $CPPFLAGS'
32926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32935 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32936 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32937 for ac_func in strtof
32938 do :
32939 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32940 if test "x$ac_cv_func_strtof" = x""yes; then :
32941 cat >>confdefs.h <<_ACEOF
32942 #define HAVE_STRTOF 1
32943 _ACEOF
32946 done
32953 CXXFLAGS="$ac_save_CXXFLAGS"
32956 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32958 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32960 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32962 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32965 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32967 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32969 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32973 *-aix*)
32975 # If we're not using GNU ld, then there's no point in even trying these
32976 # tests. Check for that first. We should have already tested for gld
32977 # by now (in libtool), but require it now just to be safe...
32978 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32979 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32983 # The name set by libtool depends on the version of libtool. Shame on us
32984 # for depending on an impl detail, but c'est la vie. Older versions used
32985 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32986 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32987 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32988 # set (hence we're using an older libtool), then set it.
32989 if test x${with_gnu_ld+set} != xset; then
32990 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32991 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32992 with_gnu_ld=no
32993 else
32994 with_gnu_ld=$ac_cv_prog_gnu_ld
32998 # Start by getting the version number. I think the libtool test already
32999 # does some of this, but throws away the result.
33000 glibcxx_ld_is_gold=no
33001 if test x"$with_gnu_ld" = x"yes"; then
33002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33003 $as_echo_n "checking for ld version... " >&6; }
33005 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33006 glibcxx_ld_is_gold=yes
33008 ldver=`$LD --version 2>/dev/null |
33009 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'`
33011 glibcxx_gnu_ld_version=`echo $ldver | \
33012 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33014 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33017 # Set --gc-sections.
33018 glibcxx_have_gc_sections=no
33019 if test "$glibcxx_ld_is_gold" = "yes"; then
33020 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33021 glibcxx_have_gc_sections=yes
33023 else
33024 glibcxx_gcsections_min_ld=21602
33025 if test x"$with_gnu_ld" = x"yes" &&
33026 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33027 glibcxx_have_gc_sections=yes
33030 if test "$glibcxx_have_gc_sections" = "yes"; then
33031 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33032 # NB: This flag only works reliably after 2.16.1. Configure tests
33033 # for this are difficult, so hard wire a value that should work.
33035 ac_test_CFLAGS="${CFLAGS+set}"
33036 ac_save_CFLAGS="$CFLAGS"
33037 CFLAGS='-Wl,--gc-sections'
33039 # Check for -Wl,--gc-sections
33040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33041 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33042 if test x$gcc_no_link = xyes; then
33043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33046 /* end confdefs.h. */
33047 int one(void) { return 1; }
33048 int two(void) { return 2; }
33051 main ()
33053 two();
33055 return 0;
33057 _ACEOF
33058 if ac_fn_c_try_link "$LINENO"; then :
33059 ac_gcsections=yes
33060 else
33061 ac_gcsections=no
33063 rm -f core conftest.err conftest.$ac_objext \
33064 conftest$ac_exeext conftest.$ac_ext
33065 if test "$ac_gcsections" = "yes"; then
33066 rm -f conftest.c
33067 touch conftest.c
33068 if $CC -c conftest.c; then
33069 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33070 grep "Warning: gc-sections option ignored" > /dev/null; then
33071 ac_gcsections=no
33074 rm -f conftest.c conftest.o conftest
33076 if test "$ac_gcsections" = "yes"; then
33077 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33080 $as_echo "$ac_gcsections" >&6; }
33082 if test "$ac_test_CFLAGS" = set; then
33083 CFLAGS="$ac_save_CFLAGS"
33084 else
33085 # this is the suspicious part
33086 CFLAGS=''
33090 # Set -z,relro.
33091 # Note this is only for shared objects.
33092 ac_ld_relro=no
33093 if test x"$with_gnu_ld" = x"yes"; then
33094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33095 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33096 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33097 if test -n "$cxx_z_relo"; then
33098 OPT_LDFLAGS="-Wl,-z,relro"
33099 ac_ld_relro=yes
33101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33102 $as_echo "$ac_ld_relro" >&6; }
33105 # Set linker optimization flags.
33106 if test x"$with_gnu_ld" = x"yes"; then
33107 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33114 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33115 ac_save_CXXFLAGS="$CXXFLAGS"
33116 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33119 $as_echo_n "checking for sin in -lm... " >&6; }
33120 if test "${ac_cv_lib_m_sin+set}" = set; then :
33121 $as_echo_n "(cached) " >&6
33122 else
33123 ac_check_lib_save_LIBS=$LIBS
33124 LIBS="-lm $LIBS"
33125 if test x$gcc_no_link = xyes; then
33126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33129 /* end confdefs.h. */
33131 /* Override any GCC internal prototype to avoid an error.
33132 Use char because int might match the return type of a GCC
33133 builtin and then its argument prototype would still apply. */
33134 #ifdef __cplusplus
33135 extern "C"
33136 #endif
33137 char sin ();
33139 main ()
33141 return sin ();
33143 return 0;
33145 _ACEOF
33146 if ac_fn_c_try_link "$LINENO"; then :
33147 ac_cv_lib_m_sin=yes
33148 else
33149 ac_cv_lib_m_sin=no
33151 rm -f core conftest.err conftest.$ac_objext \
33152 conftest$ac_exeext conftest.$ac_ext
33153 LIBS=$ac_check_lib_save_LIBS
33155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33156 $as_echo "$ac_cv_lib_m_sin" >&6; }
33157 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33158 libm="-lm"
33161 ac_save_LIBS="$LIBS"
33162 LIBS="$LIBS $libm"
33166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33167 $as_echo_n "checking for isinf declaration... " >&6; }
33168 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33169 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33170 $as_echo_n "(cached) " >&6
33171 else
33174 ac_ext=cpp
33175 ac_cpp='$CXXCPP $CPPFLAGS'
33176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33181 /* end confdefs.h. */
33182 #include <math.h>
33183 #ifdef HAVE_IEEEFP_H
33184 #include <ieeefp.h>
33185 #endif
33188 main ()
33190 isinf(0);
33192 return 0;
33194 _ACEOF
33195 if ac_fn_cxx_try_compile "$LINENO"; then :
33196 glibcxx_cv_func_isinf_use=yes
33197 else
33198 glibcxx_cv_func_isinf_use=no
33200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33201 ac_ext=c
33202 ac_cpp='$CPP $CPPFLAGS'
33203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33212 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33214 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33215 for ac_func in isinf
33216 do :
33217 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33218 if test "x$ac_cv_func_isinf" = x""yes; then :
33219 cat >>confdefs.h <<_ACEOF
33220 #define HAVE_ISINF 1
33221 _ACEOF
33224 done
33226 else
33228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33229 $as_echo_n "checking for _isinf declaration... " >&6; }
33230 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33231 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33232 $as_echo_n "(cached) " >&6
33233 else
33236 ac_ext=cpp
33237 ac_cpp='$CXXCPP $CPPFLAGS'
33238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33243 /* end confdefs.h. */
33244 #include <math.h>
33245 #ifdef HAVE_IEEEFP_H
33246 #include <ieeefp.h>
33247 #endif
33250 main ()
33252 _isinf(0);
33254 return 0;
33256 _ACEOF
33257 if ac_fn_cxx_try_compile "$LINENO"; then :
33258 glibcxx_cv_func__isinf_use=yes
33259 else
33260 glibcxx_cv_func__isinf_use=no
33262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33263 ac_ext=c
33264 ac_cpp='$CPP $CPPFLAGS'
33265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33274 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33276 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33277 for ac_func in _isinf
33278 do :
33279 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33280 if test "x$ac_cv_func__isinf" = x""yes; then :
33281 cat >>confdefs.h <<_ACEOF
33282 #define HAVE__ISINF 1
33283 _ACEOF
33286 done
33295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33296 $as_echo_n "checking for isnan declaration... " >&6; }
33297 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33298 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33299 $as_echo_n "(cached) " >&6
33300 else
33303 ac_ext=cpp
33304 ac_cpp='$CXXCPP $CPPFLAGS'
33305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33310 /* end confdefs.h. */
33311 #include <math.h>
33312 #ifdef HAVE_IEEEFP_H
33313 #include <ieeefp.h>
33314 #endif
33317 main ()
33319 isnan(0);
33321 return 0;
33323 _ACEOF
33324 if ac_fn_cxx_try_compile "$LINENO"; then :
33325 glibcxx_cv_func_isnan_use=yes
33326 else
33327 glibcxx_cv_func_isnan_use=no
33329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33330 ac_ext=c
33331 ac_cpp='$CPP $CPPFLAGS'
33332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33341 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33343 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33344 for ac_func in isnan
33345 do :
33346 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33347 if test "x$ac_cv_func_isnan" = x""yes; then :
33348 cat >>confdefs.h <<_ACEOF
33349 #define HAVE_ISNAN 1
33350 _ACEOF
33353 done
33355 else
33357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33358 $as_echo_n "checking for _isnan declaration... " >&6; }
33359 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33360 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33361 $as_echo_n "(cached) " >&6
33362 else
33365 ac_ext=cpp
33366 ac_cpp='$CXXCPP $CPPFLAGS'
33367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33372 /* end confdefs.h. */
33373 #include <math.h>
33374 #ifdef HAVE_IEEEFP_H
33375 #include <ieeefp.h>
33376 #endif
33379 main ()
33381 _isnan(0);
33383 return 0;
33385 _ACEOF
33386 if ac_fn_cxx_try_compile "$LINENO"; then :
33387 glibcxx_cv_func__isnan_use=yes
33388 else
33389 glibcxx_cv_func__isnan_use=no
33391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33392 ac_ext=c
33393 ac_cpp='$CPP $CPPFLAGS'
33394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33403 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33405 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33406 for ac_func in _isnan
33407 do :
33408 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33409 if test "x$ac_cv_func__isnan" = x""yes; then :
33410 cat >>confdefs.h <<_ACEOF
33411 #define HAVE__ISNAN 1
33412 _ACEOF
33415 done
33424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33425 $as_echo_n "checking for finite declaration... " >&6; }
33426 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33427 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33428 $as_echo_n "(cached) " >&6
33429 else
33432 ac_ext=cpp
33433 ac_cpp='$CXXCPP $CPPFLAGS'
33434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33439 /* end confdefs.h. */
33440 #include <math.h>
33441 #ifdef HAVE_IEEEFP_H
33442 #include <ieeefp.h>
33443 #endif
33446 main ()
33448 finite(0);
33450 return 0;
33452 _ACEOF
33453 if ac_fn_cxx_try_compile "$LINENO"; then :
33454 glibcxx_cv_func_finite_use=yes
33455 else
33456 glibcxx_cv_func_finite_use=no
33458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33459 ac_ext=c
33460 ac_cpp='$CPP $CPPFLAGS'
33461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33470 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33472 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33473 for ac_func in finite
33474 do :
33475 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33476 if test "x$ac_cv_func_finite" = x""yes; then :
33477 cat >>confdefs.h <<_ACEOF
33478 #define HAVE_FINITE 1
33479 _ACEOF
33482 done
33484 else
33486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33487 $as_echo_n "checking for _finite declaration... " >&6; }
33488 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33489 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33490 $as_echo_n "(cached) " >&6
33491 else
33494 ac_ext=cpp
33495 ac_cpp='$CXXCPP $CPPFLAGS'
33496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33501 /* end confdefs.h. */
33502 #include <math.h>
33503 #ifdef HAVE_IEEEFP_H
33504 #include <ieeefp.h>
33505 #endif
33508 main ()
33510 _finite(0);
33512 return 0;
33514 _ACEOF
33515 if ac_fn_cxx_try_compile "$LINENO"; then :
33516 glibcxx_cv_func__finite_use=yes
33517 else
33518 glibcxx_cv_func__finite_use=no
33520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33521 ac_ext=c
33522 ac_cpp='$CPP $CPPFLAGS'
33523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33532 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33534 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33535 for ac_func in _finite
33536 do :
33537 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33538 if test "x$ac_cv_func__finite" = x""yes; then :
33539 cat >>confdefs.h <<_ACEOF
33540 #define HAVE__FINITE 1
33541 _ACEOF
33544 done
33553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33554 $as_echo_n "checking for sincos declaration... " >&6; }
33555 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33556 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33557 $as_echo_n "(cached) " >&6
33558 else
33561 ac_ext=cpp
33562 ac_cpp='$CXXCPP $CPPFLAGS'
33563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33568 /* end confdefs.h. */
33569 #include <math.h>
33571 main ()
33573 sincos(0, 0, 0);
33575 return 0;
33577 _ACEOF
33578 if ac_fn_cxx_try_compile "$LINENO"; then :
33579 glibcxx_cv_func_sincos_use=yes
33580 else
33581 glibcxx_cv_func_sincos_use=no
33583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33584 ac_ext=c
33585 ac_cpp='$CPP $CPPFLAGS'
33586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33595 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33597 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33598 for ac_func in sincos
33599 do :
33600 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33601 if test "x$ac_cv_func_sincos" = x""yes; then :
33602 cat >>confdefs.h <<_ACEOF
33603 #define HAVE_SINCOS 1
33604 _ACEOF
33607 done
33609 else
33611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33612 $as_echo_n "checking for _sincos declaration... " >&6; }
33613 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33614 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33615 $as_echo_n "(cached) " >&6
33616 else
33619 ac_ext=cpp
33620 ac_cpp='$CXXCPP $CPPFLAGS'
33621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33626 /* end confdefs.h. */
33627 #include <math.h>
33629 main ()
33631 _sincos(0, 0, 0);
33633 return 0;
33635 _ACEOF
33636 if ac_fn_cxx_try_compile "$LINENO"; then :
33637 glibcxx_cv_func__sincos_use=yes
33638 else
33639 glibcxx_cv_func__sincos_use=no
33641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33642 ac_ext=c
33643 ac_cpp='$CPP $CPPFLAGS'
33644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33653 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33655 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33656 for ac_func in _sincos
33657 do :
33658 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33659 if test "x$ac_cv_func__sincos" = x""yes; then :
33660 cat >>confdefs.h <<_ACEOF
33661 #define HAVE__SINCOS 1
33662 _ACEOF
33665 done
33674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33675 $as_echo_n "checking for fpclass declaration... " >&6; }
33676 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33677 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33678 $as_echo_n "(cached) " >&6
33679 else
33682 ac_ext=cpp
33683 ac_cpp='$CXXCPP $CPPFLAGS'
33684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33689 /* end confdefs.h. */
33690 #include <math.h>
33691 #ifdef HAVE_IEEEFP_H
33692 #include <ieeefp.h>
33693 #endif
33696 main ()
33698 fpclass(0);
33700 return 0;
33702 _ACEOF
33703 if ac_fn_cxx_try_compile "$LINENO"; then :
33704 glibcxx_cv_func_fpclass_use=yes
33705 else
33706 glibcxx_cv_func_fpclass_use=no
33708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33709 ac_ext=c
33710 ac_cpp='$CPP $CPPFLAGS'
33711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33720 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33722 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33723 for ac_func in fpclass
33724 do :
33725 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33726 if test "x$ac_cv_func_fpclass" = x""yes; then :
33727 cat >>confdefs.h <<_ACEOF
33728 #define HAVE_FPCLASS 1
33729 _ACEOF
33732 done
33734 else
33736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33737 $as_echo_n "checking for _fpclass declaration... " >&6; }
33738 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33739 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33740 $as_echo_n "(cached) " >&6
33741 else
33744 ac_ext=cpp
33745 ac_cpp='$CXXCPP $CPPFLAGS'
33746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33751 /* end confdefs.h. */
33752 #include <math.h>
33753 #ifdef HAVE_IEEEFP_H
33754 #include <ieeefp.h>
33755 #endif
33758 main ()
33760 _fpclass(0);
33762 return 0;
33764 _ACEOF
33765 if ac_fn_cxx_try_compile "$LINENO"; then :
33766 glibcxx_cv_func__fpclass_use=yes
33767 else
33768 glibcxx_cv_func__fpclass_use=no
33770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33771 ac_ext=c
33772 ac_cpp='$CPP $CPPFLAGS'
33773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33782 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33784 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33785 for ac_func in _fpclass
33786 do :
33787 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33788 if test "x$ac_cv_func__fpclass" = x""yes; then :
33789 cat >>confdefs.h <<_ACEOF
33790 #define HAVE__FPCLASS 1
33791 _ACEOF
33794 done
33803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33804 $as_echo_n "checking for qfpclass declaration... " >&6; }
33805 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33806 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33807 $as_echo_n "(cached) " >&6
33808 else
33811 ac_ext=cpp
33812 ac_cpp='$CXXCPP $CPPFLAGS'
33813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33818 /* end confdefs.h. */
33819 #include <math.h>
33820 #ifdef HAVE_IEEEFP_H
33821 #include <ieeefp.h>
33822 #endif
33825 main ()
33827 qfpclass(0);
33829 return 0;
33831 _ACEOF
33832 if ac_fn_cxx_try_compile "$LINENO"; then :
33833 glibcxx_cv_func_qfpclass_use=yes
33834 else
33835 glibcxx_cv_func_qfpclass_use=no
33837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33838 ac_ext=c
33839 ac_cpp='$CPP $CPPFLAGS'
33840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33849 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33851 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33852 for ac_func in qfpclass
33853 do :
33854 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33855 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33856 cat >>confdefs.h <<_ACEOF
33857 #define HAVE_QFPCLASS 1
33858 _ACEOF
33861 done
33863 else
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33866 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33867 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33868 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33869 $as_echo_n "(cached) " >&6
33870 else
33873 ac_ext=cpp
33874 ac_cpp='$CXXCPP $CPPFLAGS'
33875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33880 /* end confdefs.h. */
33881 #include <math.h>
33882 #ifdef HAVE_IEEEFP_H
33883 #include <ieeefp.h>
33884 #endif
33887 main ()
33889 _qfpclass(0);
33891 return 0;
33893 _ACEOF
33894 if ac_fn_cxx_try_compile "$LINENO"; then :
33895 glibcxx_cv_func__qfpclass_use=yes
33896 else
33897 glibcxx_cv_func__qfpclass_use=no
33899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33900 ac_ext=c
33901 ac_cpp='$CPP $CPPFLAGS'
33902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33911 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33913 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33914 for ac_func in _qfpclass
33915 do :
33916 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33917 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33918 cat >>confdefs.h <<_ACEOF
33919 #define HAVE__QFPCLASS 1
33920 _ACEOF
33923 done
33932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33933 $as_echo_n "checking for hypot declaration... " >&6; }
33934 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33935 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33936 $as_echo_n "(cached) " >&6
33937 else
33940 ac_ext=cpp
33941 ac_cpp='$CXXCPP $CPPFLAGS'
33942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33947 /* end confdefs.h. */
33948 #include <math.h>
33950 main ()
33952 hypot(0, 0);
33954 return 0;
33956 _ACEOF
33957 if ac_fn_cxx_try_compile "$LINENO"; then :
33958 glibcxx_cv_func_hypot_use=yes
33959 else
33960 glibcxx_cv_func_hypot_use=no
33962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33963 ac_ext=c
33964 ac_cpp='$CPP $CPPFLAGS'
33965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33974 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33976 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33977 for ac_func in hypot
33978 do :
33979 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33980 if test "x$ac_cv_func_hypot" = x""yes; then :
33981 cat >>confdefs.h <<_ACEOF
33982 #define HAVE_HYPOT 1
33983 _ACEOF
33986 done
33988 else
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33991 $as_echo_n "checking for _hypot declaration... " >&6; }
33992 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33993 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33994 $as_echo_n "(cached) " >&6
33995 else
33998 ac_ext=cpp
33999 ac_cpp='$CXXCPP $CPPFLAGS'
34000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34005 /* end confdefs.h. */
34006 #include <math.h>
34008 main ()
34010 _hypot(0, 0);
34012 return 0;
34014 _ACEOF
34015 if ac_fn_cxx_try_compile "$LINENO"; then :
34016 glibcxx_cv_func__hypot_use=yes
34017 else
34018 glibcxx_cv_func__hypot_use=no
34020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34021 ac_ext=c
34022 ac_cpp='$CPP $CPPFLAGS'
34023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34032 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34034 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34035 for ac_func in _hypot
34036 do :
34037 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34038 if test "x$ac_cv_func__hypot" = x""yes; then :
34039 cat >>confdefs.h <<_ACEOF
34040 #define HAVE__HYPOT 1
34041 _ACEOF
34044 done
34053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34054 $as_echo_n "checking for float trig functions... " >&6; }
34055 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34056 $as_echo_n "(cached) " >&6
34057 else
34060 ac_ext=cpp
34061 ac_cpp='$CXXCPP $CPPFLAGS'
34062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34067 /* end confdefs.h. */
34068 #include <math.h>
34070 main ()
34072 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34074 return 0;
34076 _ACEOF
34077 if ac_fn_cxx_try_compile "$LINENO"; then :
34078 glibcxx_cv_func_float_trig_use=yes
34079 else
34080 glibcxx_cv_func_float_trig_use=no
34082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34083 ac_ext=c
34084 ac_cpp='$CPP $CPPFLAGS'
34085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34092 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34093 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34094 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34095 do :
34096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34098 eval as_val=\$$as_ac_var
34099 if test "x$as_val" = x""yes; then :
34100 cat >>confdefs.h <<_ACEOF
34101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34102 _ACEOF
34105 done
34107 else
34108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34109 $as_echo_n "checking for _float trig functions... " >&6; }
34110 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34111 $as_echo_n "(cached) " >&6
34112 else
34115 ac_ext=cpp
34116 ac_cpp='$CXXCPP $CPPFLAGS'
34117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34122 /* end confdefs.h. */
34123 #include <math.h>
34125 main ()
34127 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34129 return 0;
34131 _ACEOF
34132 if ac_fn_cxx_try_compile "$LINENO"; then :
34133 glibcxx_cv_func__float_trig_use=yes
34134 else
34135 glibcxx_cv_func__float_trig_use=no
34137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34138 ac_ext=c
34139 ac_cpp='$CPP $CPPFLAGS'
34140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34147 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34148 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34149 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34150 do :
34151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34153 eval as_val=\$$as_ac_var
34154 if test "x$as_val" = x""yes; then :
34155 cat >>confdefs.h <<_ACEOF
34156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34157 _ACEOF
34160 done
34169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34170 $as_echo_n "checking for float round functions... " >&6; }
34171 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34172 $as_echo_n "(cached) " >&6
34173 else
34176 ac_ext=cpp
34177 ac_cpp='$CXXCPP $CPPFLAGS'
34178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34183 /* end confdefs.h. */
34184 #include <math.h>
34186 main ()
34188 ceilf (0); floorf (0);
34190 return 0;
34192 _ACEOF
34193 if ac_fn_cxx_try_compile "$LINENO"; then :
34194 glibcxx_cv_func_float_round_use=yes
34195 else
34196 glibcxx_cv_func_float_round_use=no
34198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34199 ac_ext=c
34200 ac_cpp='$CPP $CPPFLAGS'
34201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34208 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34209 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34210 for ac_func in ceilf floorf
34211 do :
34212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34214 eval as_val=\$$as_ac_var
34215 if test "x$as_val" = x""yes; then :
34216 cat >>confdefs.h <<_ACEOF
34217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34218 _ACEOF
34221 done
34223 else
34224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34225 $as_echo_n "checking for _float round functions... " >&6; }
34226 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34227 $as_echo_n "(cached) " >&6
34228 else
34231 ac_ext=cpp
34232 ac_cpp='$CXXCPP $CPPFLAGS'
34233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34238 /* end confdefs.h. */
34239 #include <math.h>
34241 main ()
34243 _ceilf (0); _floorf (0);
34245 return 0;
34247 _ACEOF
34248 if ac_fn_cxx_try_compile "$LINENO"; then :
34249 glibcxx_cv_func__float_round_use=yes
34250 else
34251 glibcxx_cv_func__float_round_use=no
34253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34254 ac_ext=c
34255 ac_cpp='$CPP $CPPFLAGS'
34256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34263 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34264 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34265 for ac_func in _ceilf _floorf
34266 do :
34267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34269 eval as_val=\$$as_ac_var
34270 if test "x$as_val" = x""yes; then :
34271 cat >>confdefs.h <<_ACEOF
34272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34273 _ACEOF
34276 done
34286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34287 $as_echo_n "checking for expf declaration... " >&6; }
34288 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34289 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34290 $as_echo_n "(cached) " >&6
34291 else
34294 ac_ext=cpp
34295 ac_cpp='$CXXCPP $CPPFLAGS'
34296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34301 /* end confdefs.h. */
34302 #include <math.h>
34303 #ifdef HAVE_IEEEFP_H
34304 #include <ieeefp.h>
34305 #endif
34308 main ()
34310 expf(0);
34312 return 0;
34314 _ACEOF
34315 if ac_fn_cxx_try_compile "$LINENO"; then :
34316 glibcxx_cv_func_expf_use=yes
34317 else
34318 glibcxx_cv_func_expf_use=no
34320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34321 ac_ext=c
34322 ac_cpp='$CPP $CPPFLAGS'
34323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34332 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34334 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34335 for ac_func in expf
34336 do :
34337 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34338 if test "x$ac_cv_func_expf" = x""yes; then :
34339 cat >>confdefs.h <<_ACEOF
34340 #define HAVE_EXPF 1
34341 _ACEOF
34344 done
34346 else
34348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34349 $as_echo_n "checking for _expf declaration... " >&6; }
34350 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34351 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34352 $as_echo_n "(cached) " >&6
34353 else
34356 ac_ext=cpp
34357 ac_cpp='$CXXCPP $CPPFLAGS'
34358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34363 /* end confdefs.h. */
34364 #include <math.h>
34365 #ifdef HAVE_IEEEFP_H
34366 #include <ieeefp.h>
34367 #endif
34370 main ()
34372 _expf(0);
34374 return 0;
34376 _ACEOF
34377 if ac_fn_cxx_try_compile "$LINENO"; then :
34378 glibcxx_cv_func__expf_use=yes
34379 else
34380 glibcxx_cv_func__expf_use=no
34382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34383 ac_ext=c
34384 ac_cpp='$CPP $CPPFLAGS'
34385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34394 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34396 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34397 for ac_func in _expf
34398 do :
34399 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34400 if test "x$ac_cv_func__expf" = x""yes; then :
34401 cat >>confdefs.h <<_ACEOF
34402 #define HAVE__EXPF 1
34403 _ACEOF
34406 done
34415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34416 $as_echo_n "checking for isnanf declaration... " >&6; }
34417 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34418 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34419 $as_echo_n "(cached) " >&6
34420 else
34423 ac_ext=cpp
34424 ac_cpp='$CXXCPP $CPPFLAGS'
34425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34430 /* end confdefs.h. */
34431 #include <math.h>
34432 #ifdef HAVE_IEEEFP_H
34433 #include <ieeefp.h>
34434 #endif
34437 main ()
34439 isnanf(0);
34441 return 0;
34443 _ACEOF
34444 if ac_fn_cxx_try_compile "$LINENO"; then :
34445 glibcxx_cv_func_isnanf_use=yes
34446 else
34447 glibcxx_cv_func_isnanf_use=no
34449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34450 ac_ext=c
34451 ac_cpp='$CPP $CPPFLAGS'
34452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34461 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34463 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34464 for ac_func in isnanf
34465 do :
34466 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34467 if test "x$ac_cv_func_isnanf" = x""yes; then :
34468 cat >>confdefs.h <<_ACEOF
34469 #define HAVE_ISNANF 1
34470 _ACEOF
34473 done
34475 else
34477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34478 $as_echo_n "checking for _isnanf declaration... " >&6; }
34479 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34480 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34481 $as_echo_n "(cached) " >&6
34482 else
34485 ac_ext=cpp
34486 ac_cpp='$CXXCPP $CPPFLAGS'
34487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34492 /* end confdefs.h. */
34493 #include <math.h>
34494 #ifdef HAVE_IEEEFP_H
34495 #include <ieeefp.h>
34496 #endif
34499 main ()
34501 _isnanf(0);
34503 return 0;
34505 _ACEOF
34506 if ac_fn_cxx_try_compile "$LINENO"; then :
34507 glibcxx_cv_func__isnanf_use=yes
34508 else
34509 glibcxx_cv_func__isnanf_use=no
34511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34512 ac_ext=c
34513 ac_cpp='$CPP $CPPFLAGS'
34514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34523 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34525 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34526 for ac_func in _isnanf
34527 do :
34528 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34529 if test "x$ac_cv_func__isnanf" = x""yes; then :
34530 cat >>confdefs.h <<_ACEOF
34531 #define HAVE__ISNANF 1
34532 _ACEOF
34535 done
34544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34545 $as_echo_n "checking for isinff declaration... " >&6; }
34546 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34547 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34548 $as_echo_n "(cached) " >&6
34549 else
34552 ac_ext=cpp
34553 ac_cpp='$CXXCPP $CPPFLAGS'
34554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34559 /* end confdefs.h. */
34560 #include <math.h>
34561 #ifdef HAVE_IEEEFP_H
34562 #include <ieeefp.h>
34563 #endif
34566 main ()
34568 isinff(0);
34570 return 0;
34572 _ACEOF
34573 if ac_fn_cxx_try_compile "$LINENO"; then :
34574 glibcxx_cv_func_isinff_use=yes
34575 else
34576 glibcxx_cv_func_isinff_use=no
34578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34579 ac_ext=c
34580 ac_cpp='$CPP $CPPFLAGS'
34581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34590 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34592 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34593 for ac_func in isinff
34594 do :
34595 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34596 if test "x$ac_cv_func_isinff" = x""yes; then :
34597 cat >>confdefs.h <<_ACEOF
34598 #define HAVE_ISINFF 1
34599 _ACEOF
34602 done
34604 else
34606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34607 $as_echo_n "checking for _isinff declaration... " >&6; }
34608 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34609 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34610 $as_echo_n "(cached) " >&6
34611 else
34614 ac_ext=cpp
34615 ac_cpp='$CXXCPP $CPPFLAGS'
34616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34621 /* end confdefs.h. */
34622 #include <math.h>
34623 #ifdef HAVE_IEEEFP_H
34624 #include <ieeefp.h>
34625 #endif
34628 main ()
34630 _isinff(0);
34632 return 0;
34634 _ACEOF
34635 if ac_fn_cxx_try_compile "$LINENO"; then :
34636 glibcxx_cv_func__isinff_use=yes
34637 else
34638 glibcxx_cv_func__isinff_use=no
34640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34641 ac_ext=c
34642 ac_cpp='$CPP $CPPFLAGS'
34643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34652 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34654 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34655 for ac_func in _isinff
34656 do :
34657 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34658 if test "x$ac_cv_func__isinff" = x""yes; then :
34659 cat >>confdefs.h <<_ACEOF
34660 #define HAVE__ISINFF 1
34661 _ACEOF
34664 done
34673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34674 $as_echo_n "checking for atan2f declaration... " >&6; }
34675 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34676 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34677 $as_echo_n "(cached) " >&6
34678 else
34681 ac_ext=cpp
34682 ac_cpp='$CXXCPP $CPPFLAGS'
34683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34688 /* end confdefs.h. */
34689 #include <math.h>
34691 main ()
34693 atan2f(0, 0);
34695 return 0;
34697 _ACEOF
34698 if ac_fn_cxx_try_compile "$LINENO"; then :
34699 glibcxx_cv_func_atan2f_use=yes
34700 else
34701 glibcxx_cv_func_atan2f_use=no
34703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34704 ac_ext=c
34705 ac_cpp='$CPP $CPPFLAGS'
34706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34715 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34717 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34718 for ac_func in atan2f
34719 do :
34720 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34721 if test "x$ac_cv_func_atan2f" = x""yes; then :
34722 cat >>confdefs.h <<_ACEOF
34723 #define HAVE_ATAN2F 1
34724 _ACEOF
34727 done
34729 else
34731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34732 $as_echo_n "checking for _atan2f declaration... " >&6; }
34733 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34734 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34735 $as_echo_n "(cached) " >&6
34736 else
34739 ac_ext=cpp
34740 ac_cpp='$CXXCPP $CPPFLAGS'
34741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34746 /* end confdefs.h. */
34747 #include <math.h>
34749 main ()
34751 _atan2f(0, 0);
34753 return 0;
34755 _ACEOF
34756 if ac_fn_cxx_try_compile "$LINENO"; then :
34757 glibcxx_cv_func__atan2f_use=yes
34758 else
34759 glibcxx_cv_func__atan2f_use=no
34761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34762 ac_ext=c
34763 ac_cpp='$CPP $CPPFLAGS'
34764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34773 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34775 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34776 for ac_func in _atan2f
34777 do :
34778 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34779 if test "x$ac_cv_func__atan2f" = x""yes; then :
34780 cat >>confdefs.h <<_ACEOF
34781 #define HAVE__ATAN2F 1
34782 _ACEOF
34785 done
34794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34795 $as_echo_n "checking for fabsf declaration... " >&6; }
34796 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34797 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34798 $as_echo_n "(cached) " >&6
34799 else
34802 ac_ext=cpp
34803 ac_cpp='$CXXCPP $CPPFLAGS'
34804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34809 /* end confdefs.h. */
34810 #include <math.h>
34811 #ifdef HAVE_IEEEFP_H
34812 #include <ieeefp.h>
34813 #endif
34816 main ()
34818 fabsf(0);
34820 return 0;
34822 _ACEOF
34823 if ac_fn_cxx_try_compile "$LINENO"; then :
34824 glibcxx_cv_func_fabsf_use=yes
34825 else
34826 glibcxx_cv_func_fabsf_use=no
34828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34829 ac_ext=c
34830 ac_cpp='$CPP $CPPFLAGS'
34831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34840 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34842 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34843 for ac_func in fabsf
34844 do :
34845 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34846 if test "x$ac_cv_func_fabsf" = x""yes; then :
34847 cat >>confdefs.h <<_ACEOF
34848 #define HAVE_FABSF 1
34849 _ACEOF
34852 done
34854 else
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34857 $as_echo_n "checking for _fabsf declaration... " >&6; }
34858 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34859 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34860 $as_echo_n "(cached) " >&6
34861 else
34864 ac_ext=cpp
34865 ac_cpp='$CXXCPP $CPPFLAGS'
34866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34871 /* end confdefs.h. */
34872 #include <math.h>
34873 #ifdef HAVE_IEEEFP_H
34874 #include <ieeefp.h>
34875 #endif
34878 main ()
34880 _fabsf(0);
34882 return 0;
34884 _ACEOF
34885 if ac_fn_cxx_try_compile "$LINENO"; then :
34886 glibcxx_cv_func__fabsf_use=yes
34887 else
34888 glibcxx_cv_func__fabsf_use=no
34890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34891 ac_ext=c
34892 ac_cpp='$CPP $CPPFLAGS'
34893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34902 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34904 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34905 for ac_func in _fabsf
34906 do :
34907 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34908 if test "x$ac_cv_func__fabsf" = x""yes; then :
34909 cat >>confdefs.h <<_ACEOF
34910 #define HAVE__FABSF 1
34911 _ACEOF
34914 done
34923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34924 $as_echo_n "checking for fmodf declaration... " >&6; }
34925 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34926 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34927 $as_echo_n "(cached) " >&6
34928 else
34931 ac_ext=cpp
34932 ac_cpp='$CXXCPP $CPPFLAGS'
34933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34938 /* end confdefs.h. */
34939 #include <math.h>
34941 main ()
34943 fmodf(0, 0);
34945 return 0;
34947 _ACEOF
34948 if ac_fn_cxx_try_compile "$LINENO"; then :
34949 glibcxx_cv_func_fmodf_use=yes
34950 else
34951 glibcxx_cv_func_fmodf_use=no
34953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34954 ac_ext=c
34955 ac_cpp='$CPP $CPPFLAGS'
34956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34965 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34967 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34968 for ac_func in fmodf
34969 do :
34970 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34971 if test "x$ac_cv_func_fmodf" = x""yes; then :
34972 cat >>confdefs.h <<_ACEOF
34973 #define HAVE_FMODF 1
34974 _ACEOF
34977 done
34979 else
34981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34982 $as_echo_n "checking for _fmodf declaration... " >&6; }
34983 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34984 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34985 $as_echo_n "(cached) " >&6
34986 else
34989 ac_ext=cpp
34990 ac_cpp='$CXXCPP $CPPFLAGS'
34991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34996 /* end confdefs.h. */
34997 #include <math.h>
34999 main ()
35001 _fmodf(0, 0);
35003 return 0;
35005 _ACEOF
35006 if ac_fn_cxx_try_compile "$LINENO"; then :
35007 glibcxx_cv_func__fmodf_use=yes
35008 else
35009 glibcxx_cv_func__fmodf_use=no
35011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35012 ac_ext=c
35013 ac_cpp='$CPP $CPPFLAGS'
35014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35023 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35025 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35026 for ac_func in _fmodf
35027 do :
35028 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35029 if test "x$ac_cv_func__fmodf" = x""yes; then :
35030 cat >>confdefs.h <<_ACEOF
35031 #define HAVE__FMODF 1
35032 _ACEOF
35035 done
35044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35045 $as_echo_n "checking for frexpf declaration... " >&6; }
35046 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35047 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35048 $as_echo_n "(cached) " >&6
35049 else
35052 ac_ext=cpp
35053 ac_cpp='$CXXCPP $CPPFLAGS'
35054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35059 /* end confdefs.h. */
35060 #include <math.h>
35062 main ()
35064 frexpf(0, 0);
35066 return 0;
35068 _ACEOF
35069 if ac_fn_cxx_try_compile "$LINENO"; then :
35070 glibcxx_cv_func_frexpf_use=yes
35071 else
35072 glibcxx_cv_func_frexpf_use=no
35074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35075 ac_ext=c
35076 ac_cpp='$CPP $CPPFLAGS'
35077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35086 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35088 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35089 for ac_func in frexpf
35090 do :
35091 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35092 if test "x$ac_cv_func_frexpf" = x""yes; then :
35093 cat >>confdefs.h <<_ACEOF
35094 #define HAVE_FREXPF 1
35095 _ACEOF
35098 done
35100 else
35102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35103 $as_echo_n "checking for _frexpf declaration... " >&6; }
35104 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35105 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35106 $as_echo_n "(cached) " >&6
35107 else
35110 ac_ext=cpp
35111 ac_cpp='$CXXCPP $CPPFLAGS'
35112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35117 /* end confdefs.h. */
35118 #include <math.h>
35120 main ()
35122 _frexpf(0, 0);
35124 return 0;
35126 _ACEOF
35127 if ac_fn_cxx_try_compile "$LINENO"; then :
35128 glibcxx_cv_func__frexpf_use=yes
35129 else
35130 glibcxx_cv_func__frexpf_use=no
35132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35133 ac_ext=c
35134 ac_cpp='$CPP $CPPFLAGS'
35135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35144 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35146 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35147 for ac_func in _frexpf
35148 do :
35149 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35150 if test "x$ac_cv_func__frexpf" = x""yes; then :
35151 cat >>confdefs.h <<_ACEOF
35152 #define HAVE__FREXPF 1
35153 _ACEOF
35156 done
35165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35166 $as_echo_n "checking for hypotf declaration... " >&6; }
35167 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35168 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35169 $as_echo_n "(cached) " >&6
35170 else
35173 ac_ext=cpp
35174 ac_cpp='$CXXCPP $CPPFLAGS'
35175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35180 /* end confdefs.h. */
35181 #include <math.h>
35183 main ()
35185 hypotf(0, 0);
35187 return 0;
35189 _ACEOF
35190 if ac_fn_cxx_try_compile "$LINENO"; then :
35191 glibcxx_cv_func_hypotf_use=yes
35192 else
35193 glibcxx_cv_func_hypotf_use=no
35195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35196 ac_ext=c
35197 ac_cpp='$CPP $CPPFLAGS'
35198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35207 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35209 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35210 for ac_func in hypotf
35211 do :
35212 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35213 if test "x$ac_cv_func_hypotf" = x""yes; then :
35214 cat >>confdefs.h <<_ACEOF
35215 #define HAVE_HYPOTF 1
35216 _ACEOF
35219 done
35221 else
35223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35224 $as_echo_n "checking for _hypotf declaration... " >&6; }
35225 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35226 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35227 $as_echo_n "(cached) " >&6
35228 else
35231 ac_ext=cpp
35232 ac_cpp='$CXXCPP $CPPFLAGS'
35233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35238 /* end confdefs.h. */
35239 #include <math.h>
35241 main ()
35243 _hypotf(0, 0);
35245 return 0;
35247 _ACEOF
35248 if ac_fn_cxx_try_compile "$LINENO"; then :
35249 glibcxx_cv_func__hypotf_use=yes
35250 else
35251 glibcxx_cv_func__hypotf_use=no
35253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35254 ac_ext=c
35255 ac_cpp='$CPP $CPPFLAGS'
35256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35265 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35267 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35268 for ac_func in _hypotf
35269 do :
35270 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35271 if test "x$ac_cv_func__hypotf" = x""yes; then :
35272 cat >>confdefs.h <<_ACEOF
35273 #define HAVE__HYPOTF 1
35274 _ACEOF
35277 done
35286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35287 $as_echo_n "checking for ldexpf declaration... " >&6; }
35288 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35289 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35290 $as_echo_n "(cached) " >&6
35291 else
35294 ac_ext=cpp
35295 ac_cpp='$CXXCPP $CPPFLAGS'
35296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35301 /* end confdefs.h. */
35302 #include <math.h>
35304 main ()
35306 ldexpf(0, 0);
35308 return 0;
35310 _ACEOF
35311 if ac_fn_cxx_try_compile "$LINENO"; then :
35312 glibcxx_cv_func_ldexpf_use=yes
35313 else
35314 glibcxx_cv_func_ldexpf_use=no
35316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35317 ac_ext=c
35318 ac_cpp='$CPP $CPPFLAGS'
35319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35328 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35330 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35331 for ac_func in ldexpf
35332 do :
35333 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35334 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35335 cat >>confdefs.h <<_ACEOF
35336 #define HAVE_LDEXPF 1
35337 _ACEOF
35340 done
35342 else
35344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35345 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35346 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35347 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35348 $as_echo_n "(cached) " >&6
35349 else
35352 ac_ext=cpp
35353 ac_cpp='$CXXCPP $CPPFLAGS'
35354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35359 /* end confdefs.h. */
35360 #include <math.h>
35362 main ()
35364 _ldexpf(0, 0);
35366 return 0;
35368 _ACEOF
35369 if ac_fn_cxx_try_compile "$LINENO"; then :
35370 glibcxx_cv_func__ldexpf_use=yes
35371 else
35372 glibcxx_cv_func__ldexpf_use=no
35374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35375 ac_ext=c
35376 ac_cpp='$CPP $CPPFLAGS'
35377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35386 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35388 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35389 for ac_func in _ldexpf
35390 do :
35391 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35392 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35393 cat >>confdefs.h <<_ACEOF
35394 #define HAVE__LDEXPF 1
35395 _ACEOF
35398 done
35407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35408 $as_echo_n "checking for logf declaration... " >&6; }
35409 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35410 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35411 $as_echo_n "(cached) " >&6
35412 else
35415 ac_ext=cpp
35416 ac_cpp='$CXXCPP $CPPFLAGS'
35417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35422 /* end confdefs.h. */
35423 #include <math.h>
35424 #ifdef HAVE_IEEEFP_H
35425 #include <ieeefp.h>
35426 #endif
35429 main ()
35431 logf(0);
35433 return 0;
35435 _ACEOF
35436 if ac_fn_cxx_try_compile "$LINENO"; then :
35437 glibcxx_cv_func_logf_use=yes
35438 else
35439 glibcxx_cv_func_logf_use=no
35441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35442 ac_ext=c
35443 ac_cpp='$CPP $CPPFLAGS'
35444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35453 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35455 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35456 for ac_func in logf
35457 do :
35458 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35459 if test "x$ac_cv_func_logf" = x""yes; then :
35460 cat >>confdefs.h <<_ACEOF
35461 #define HAVE_LOGF 1
35462 _ACEOF
35465 done
35467 else
35469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35470 $as_echo_n "checking for _logf declaration... " >&6; }
35471 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35472 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35473 $as_echo_n "(cached) " >&6
35474 else
35477 ac_ext=cpp
35478 ac_cpp='$CXXCPP $CPPFLAGS'
35479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35484 /* end confdefs.h. */
35485 #include <math.h>
35486 #ifdef HAVE_IEEEFP_H
35487 #include <ieeefp.h>
35488 #endif
35491 main ()
35493 _logf(0);
35495 return 0;
35497 _ACEOF
35498 if ac_fn_cxx_try_compile "$LINENO"; then :
35499 glibcxx_cv_func__logf_use=yes
35500 else
35501 glibcxx_cv_func__logf_use=no
35503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35504 ac_ext=c
35505 ac_cpp='$CPP $CPPFLAGS'
35506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35515 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35517 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35518 for ac_func in _logf
35519 do :
35520 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35521 if test "x$ac_cv_func__logf" = x""yes; then :
35522 cat >>confdefs.h <<_ACEOF
35523 #define HAVE__LOGF 1
35524 _ACEOF
35527 done
35536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35537 $as_echo_n "checking for log10f declaration... " >&6; }
35538 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35539 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35540 $as_echo_n "(cached) " >&6
35541 else
35544 ac_ext=cpp
35545 ac_cpp='$CXXCPP $CPPFLAGS'
35546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35551 /* end confdefs.h. */
35552 #include <math.h>
35553 #ifdef HAVE_IEEEFP_H
35554 #include <ieeefp.h>
35555 #endif
35558 main ()
35560 log10f(0);
35562 return 0;
35564 _ACEOF
35565 if ac_fn_cxx_try_compile "$LINENO"; then :
35566 glibcxx_cv_func_log10f_use=yes
35567 else
35568 glibcxx_cv_func_log10f_use=no
35570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35571 ac_ext=c
35572 ac_cpp='$CPP $CPPFLAGS'
35573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35582 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35584 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35585 for ac_func in log10f
35586 do :
35587 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35588 if test "x$ac_cv_func_log10f" = x""yes; then :
35589 cat >>confdefs.h <<_ACEOF
35590 #define HAVE_LOG10F 1
35591 _ACEOF
35594 done
35596 else
35598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35599 $as_echo_n "checking for _log10f declaration... " >&6; }
35600 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35601 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35602 $as_echo_n "(cached) " >&6
35603 else
35606 ac_ext=cpp
35607 ac_cpp='$CXXCPP $CPPFLAGS'
35608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35613 /* end confdefs.h. */
35614 #include <math.h>
35615 #ifdef HAVE_IEEEFP_H
35616 #include <ieeefp.h>
35617 #endif
35620 main ()
35622 _log10f(0);
35624 return 0;
35626 _ACEOF
35627 if ac_fn_cxx_try_compile "$LINENO"; then :
35628 glibcxx_cv_func__log10f_use=yes
35629 else
35630 glibcxx_cv_func__log10f_use=no
35632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35633 ac_ext=c
35634 ac_cpp='$CPP $CPPFLAGS'
35635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35644 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35646 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35647 for ac_func in _log10f
35648 do :
35649 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35650 if test "x$ac_cv_func__log10f" = x""yes; then :
35651 cat >>confdefs.h <<_ACEOF
35652 #define HAVE__LOG10F 1
35653 _ACEOF
35656 done
35665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35666 $as_echo_n "checking for modff declaration... " >&6; }
35667 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35668 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35669 $as_echo_n "(cached) " >&6
35670 else
35673 ac_ext=cpp
35674 ac_cpp='$CXXCPP $CPPFLAGS'
35675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35680 /* end confdefs.h. */
35681 #include <math.h>
35683 main ()
35685 modff(0, 0);
35687 return 0;
35689 _ACEOF
35690 if ac_fn_cxx_try_compile "$LINENO"; then :
35691 glibcxx_cv_func_modff_use=yes
35692 else
35693 glibcxx_cv_func_modff_use=no
35695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35696 ac_ext=c
35697 ac_cpp='$CPP $CPPFLAGS'
35698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35707 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35709 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35710 for ac_func in modff
35711 do :
35712 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35713 if test "x$ac_cv_func_modff" = x""yes; then :
35714 cat >>confdefs.h <<_ACEOF
35715 #define HAVE_MODFF 1
35716 _ACEOF
35719 done
35721 else
35723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35724 $as_echo_n "checking for _modff declaration... " >&6; }
35725 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35726 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35727 $as_echo_n "(cached) " >&6
35728 else
35731 ac_ext=cpp
35732 ac_cpp='$CXXCPP $CPPFLAGS'
35733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35738 /* end confdefs.h. */
35739 #include <math.h>
35741 main ()
35743 _modff(0, 0);
35745 return 0;
35747 _ACEOF
35748 if ac_fn_cxx_try_compile "$LINENO"; then :
35749 glibcxx_cv_func__modff_use=yes
35750 else
35751 glibcxx_cv_func__modff_use=no
35753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35754 ac_ext=c
35755 ac_cpp='$CPP $CPPFLAGS'
35756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35765 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35767 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35768 for ac_func in _modff
35769 do :
35770 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35771 if test "x$ac_cv_func__modff" = x""yes; then :
35772 cat >>confdefs.h <<_ACEOF
35773 #define HAVE__MODFF 1
35774 _ACEOF
35777 done
35786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35787 $as_echo_n "checking for modf declaration... " >&6; }
35788 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35789 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35790 $as_echo_n "(cached) " >&6
35791 else
35794 ac_ext=cpp
35795 ac_cpp='$CXXCPP $CPPFLAGS'
35796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35801 /* end confdefs.h. */
35802 #include <math.h>
35804 main ()
35806 modf(0, 0);
35808 return 0;
35810 _ACEOF
35811 if ac_fn_cxx_try_compile "$LINENO"; then :
35812 glibcxx_cv_func_modf_use=yes
35813 else
35814 glibcxx_cv_func_modf_use=no
35816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35817 ac_ext=c
35818 ac_cpp='$CPP $CPPFLAGS'
35819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35828 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35830 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35831 for ac_func in modf
35832 do :
35833 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35834 if test "x$ac_cv_func_modf" = x""yes; then :
35835 cat >>confdefs.h <<_ACEOF
35836 #define HAVE_MODF 1
35837 _ACEOF
35840 done
35842 else
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35845 $as_echo_n "checking for _modf declaration... " >&6; }
35846 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35847 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35848 $as_echo_n "(cached) " >&6
35849 else
35852 ac_ext=cpp
35853 ac_cpp='$CXXCPP $CPPFLAGS'
35854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35859 /* end confdefs.h. */
35860 #include <math.h>
35862 main ()
35864 _modf(0, 0);
35866 return 0;
35868 _ACEOF
35869 if ac_fn_cxx_try_compile "$LINENO"; then :
35870 glibcxx_cv_func__modf_use=yes
35871 else
35872 glibcxx_cv_func__modf_use=no
35874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35875 ac_ext=c
35876 ac_cpp='$CPP $CPPFLAGS'
35877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35886 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35888 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35889 for ac_func in _modf
35890 do :
35891 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35892 if test "x$ac_cv_func__modf" = x""yes; then :
35893 cat >>confdefs.h <<_ACEOF
35894 #define HAVE__MODF 1
35895 _ACEOF
35898 done
35907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35908 $as_echo_n "checking for powf declaration... " >&6; }
35909 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35910 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35911 $as_echo_n "(cached) " >&6
35912 else
35915 ac_ext=cpp
35916 ac_cpp='$CXXCPP $CPPFLAGS'
35917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35922 /* end confdefs.h. */
35923 #include <math.h>
35925 main ()
35927 powf(0, 0);
35929 return 0;
35931 _ACEOF
35932 if ac_fn_cxx_try_compile "$LINENO"; then :
35933 glibcxx_cv_func_powf_use=yes
35934 else
35935 glibcxx_cv_func_powf_use=no
35937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35938 ac_ext=c
35939 ac_cpp='$CPP $CPPFLAGS'
35940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35949 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35951 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35952 for ac_func in powf
35953 do :
35954 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35955 if test "x$ac_cv_func_powf" = x""yes; then :
35956 cat >>confdefs.h <<_ACEOF
35957 #define HAVE_POWF 1
35958 _ACEOF
35961 done
35963 else
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35966 $as_echo_n "checking for _powf declaration... " >&6; }
35967 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35968 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35969 $as_echo_n "(cached) " >&6
35970 else
35973 ac_ext=cpp
35974 ac_cpp='$CXXCPP $CPPFLAGS'
35975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35980 /* end confdefs.h. */
35981 #include <math.h>
35983 main ()
35985 _powf(0, 0);
35987 return 0;
35989 _ACEOF
35990 if ac_fn_cxx_try_compile "$LINENO"; then :
35991 glibcxx_cv_func__powf_use=yes
35992 else
35993 glibcxx_cv_func__powf_use=no
35995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35996 ac_ext=c
35997 ac_cpp='$CPP $CPPFLAGS'
35998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36007 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36009 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36010 for ac_func in _powf
36011 do :
36012 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36013 if test "x$ac_cv_func__powf" = x""yes; then :
36014 cat >>confdefs.h <<_ACEOF
36015 #define HAVE__POWF 1
36016 _ACEOF
36019 done
36028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36029 $as_echo_n "checking for sqrtf declaration... " >&6; }
36030 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36031 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36032 $as_echo_n "(cached) " >&6
36033 else
36036 ac_ext=cpp
36037 ac_cpp='$CXXCPP $CPPFLAGS'
36038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36043 /* end confdefs.h. */
36044 #include <math.h>
36045 #ifdef HAVE_IEEEFP_H
36046 #include <ieeefp.h>
36047 #endif
36050 main ()
36052 sqrtf(0);
36054 return 0;
36056 _ACEOF
36057 if ac_fn_cxx_try_compile "$LINENO"; then :
36058 glibcxx_cv_func_sqrtf_use=yes
36059 else
36060 glibcxx_cv_func_sqrtf_use=no
36062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36063 ac_ext=c
36064 ac_cpp='$CPP $CPPFLAGS'
36065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36074 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36076 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36077 for ac_func in sqrtf
36078 do :
36079 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36080 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36081 cat >>confdefs.h <<_ACEOF
36082 #define HAVE_SQRTF 1
36083 _ACEOF
36086 done
36088 else
36090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36091 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36092 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36093 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36094 $as_echo_n "(cached) " >&6
36095 else
36098 ac_ext=cpp
36099 ac_cpp='$CXXCPP $CPPFLAGS'
36100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36105 /* end confdefs.h. */
36106 #include <math.h>
36107 #ifdef HAVE_IEEEFP_H
36108 #include <ieeefp.h>
36109 #endif
36112 main ()
36114 _sqrtf(0);
36116 return 0;
36118 _ACEOF
36119 if ac_fn_cxx_try_compile "$LINENO"; then :
36120 glibcxx_cv_func__sqrtf_use=yes
36121 else
36122 glibcxx_cv_func__sqrtf_use=no
36124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36125 ac_ext=c
36126 ac_cpp='$CPP $CPPFLAGS'
36127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36136 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36138 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36139 for ac_func in _sqrtf
36140 do :
36141 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36142 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36143 cat >>confdefs.h <<_ACEOF
36144 #define HAVE__SQRTF 1
36145 _ACEOF
36148 done
36157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36158 $as_echo_n "checking for sincosf declaration... " >&6; }
36159 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36160 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36161 $as_echo_n "(cached) " >&6
36162 else
36165 ac_ext=cpp
36166 ac_cpp='$CXXCPP $CPPFLAGS'
36167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36172 /* end confdefs.h. */
36173 #include <math.h>
36175 main ()
36177 sincosf(0, 0, 0);
36179 return 0;
36181 _ACEOF
36182 if ac_fn_cxx_try_compile "$LINENO"; then :
36183 glibcxx_cv_func_sincosf_use=yes
36184 else
36185 glibcxx_cv_func_sincosf_use=no
36187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36188 ac_ext=c
36189 ac_cpp='$CPP $CPPFLAGS'
36190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36199 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36201 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36202 for ac_func in sincosf
36203 do :
36204 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36205 if test "x$ac_cv_func_sincosf" = x""yes; then :
36206 cat >>confdefs.h <<_ACEOF
36207 #define HAVE_SINCOSF 1
36208 _ACEOF
36211 done
36213 else
36215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36216 $as_echo_n "checking for _sincosf declaration... " >&6; }
36217 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36218 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36219 $as_echo_n "(cached) " >&6
36220 else
36223 ac_ext=cpp
36224 ac_cpp='$CXXCPP $CPPFLAGS'
36225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36230 /* end confdefs.h. */
36231 #include <math.h>
36233 main ()
36235 _sincosf(0, 0, 0);
36237 return 0;
36239 _ACEOF
36240 if ac_fn_cxx_try_compile "$LINENO"; then :
36241 glibcxx_cv_func__sincosf_use=yes
36242 else
36243 glibcxx_cv_func__sincosf_use=no
36245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36246 ac_ext=c
36247 ac_cpp='$CPP $CPPFLAGS'
36248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36257 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36259 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36260 for ac_func in _sincosf
36261 do :
36262 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36263 if test "x$ac_cv_func__sincosf" = x""yes; then :
36264 cat >>confdefs.h <<_ACEOF
36265 #define HAVE__SINCOSF 1
36266 _ACEOF
36269 done
36278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36279 $as_echo_n "checking for finitef declaration... " >&6; }
36280 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36281 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36282 $as_echo_n "(cached) " >&6
36283 else
36286 ac_ext=cpp
36287 ac_cpp='$CXXCPP $CPPFLAGS'
36288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36293 /* end confdefs.h. */
36294 #include <math.h>
36295 #ifdef HAVE_IEEEFP_H
36296 #include <ieeefp.h>
36297 #endif
36300 main ()
36302 finitef(0);
36304 return 0;
36306 _ACEOF
36307 if ac_fn_cxx_try_compile "$LINENO"; then :
36308 glibcxx_cv_func_finitef_use=yes
36309 else
36310 glibcxx_cv_func_finitef_use=no
36312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36313 ac_ext=c
36314 ac_cpp='$CPP $CPPFLAGS'
36315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36324 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36326 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36327 for ac_func in finitef
36328 do :
36329 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36330 if test "x$ac_cv_func_finitef" = x""yes; then :
36331 cat >>confdefs.h <<_ACEOF
36332 #define HAVE_FINITEF 1
36333 _ACEOF
36336 done
36338 else
36340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36341 $as_echo_n "checking for _finitef declaration... " >&6; }
36342 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36343 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36344 $as_echo_n "(cached) " >&6
36345 else
36348 ac_ext=cpp
36349 ac_cpp='$CXXCPP $CPPFLAGS'
36350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36355 /* end confdefs.h. */
36356 #include <math.h>
36357 #ifdef HAVE_IEEEFP_H
36358 #include <ieeefp.h>
36359 #endif
36362 main ()
36364 _finitef(0);
36366 return 0;
36368 _ACEOF
36369 if ac_fn_cxx_try_compile "$LINENO"; then :
36370 glibcxx_cv_func__finitef_use=yes
36371 else
36372 glibcxx_cv_func__finitef_use=no
36374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36375 ac_ext=c
36376 ac_cpp='$CPP $CPPFLAGS'
36377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36386 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36388 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36389 for ac_func in _finitef
36390 do :
36391 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36392 if test "x$ac_cv_func__finitef" = x""yes; then :
36393 cat >>confdefs.h <<_ACEOF
36394 #define HAVE__FINITEF 1
36395 _ACEOF
36398 done
36407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36408 $as_echo_n "checking for long double trig functions... " >&6; }
36409 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36410 $as_echo_n "(cached) " >&6
36411 else
36414 ac_ext=cpp
36415 ac_cpp='$CXXCPP $CPPFLAGS'
36416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36421 /* end confdefs.h. */
36422 #include <math.h>
36424 main ()
36426 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36428 return 0;
36430 _ACEOF
36431 if ac_fn_cxx_try_compile "$LINENO"; then :
36432 glibcxx_cv_func_long_double_trig_use=yes
36433 else
36434 glibcxx_cv_func_long_double_trig_use=no
36436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36437 ac_ext=c
36438 ac_cpp='$CPP $CPPFLAGS'
36439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36446 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36447 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36448 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36449 do :
36450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36452 eval as_val=\$$as_ac_var
36453 if test "x$as_val" = x""yes; then :
36454 cat >>confdefs.h <<_ACEOF
36455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36456 _ACEOF
36459 done
36461 else
36462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36463 $as_echo_n "checking for _long double trig functions... " >&6; }
36464 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36465 $as_echo_n "(cached) " >&6
36466 else
36469 ac_ext=cpp
36470 ac_cpp='$CXXCPP $CPPFLAGS'
36471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36476 /* end confdefs.h. */
36477 #include <math.h>
36479 main ()
36481 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36483 return 0;
36485 _ACEOF
36486 if ac_fn_cxx_try_compile "$LINENO"; then :
36487 glibcxx_cv_func__long_double_trig_use=yes
36488 else
36489 glibcxx_cv_func__long_double_trig_use=no
36491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36492 ac_ext=c
36493 ac_cpp='$CPP $CPPFLAGS'
36494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36501 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36502 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36503 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36504 do :
36505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36507 eval as_val=\$$as_ac_var
36508 if test "x$as_val" = x""yes; then :
36509 cat >>confdefs.h <<_ACEOF
36510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36511 _ACEOF
36514 done
36523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36524 $as_echo_n "checking for long double round functions... " >&6; }
36525 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36526 $as_echo_n "(cached) " >&6
36527 else
36530 ac_ext=cpp
36531 ac_cpp='$CXXCPP $CPPFLAGS'
36532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36537 /* end confdefs.h. */
36538 #include <math.h>
36540 main ()
36542 ceill (0); floorl (0);
36544 return 0;
36546 _ACEOF
36547 if ac_fn_cxx_try_compile "$LINENO"; then :
36548 glibcxx_cv_func_long_double_round_use=yes
36549 else
36550 glibcxx_cv_func_long_double_round_use=no
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36553 ac_ext=c
36554 ac_cpp='$CPP $CPPFLAGS'
36555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36562 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36563 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36564 for ac_func in ceill floorl
36565 do :
36566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36568 eval as_val=\$$as_ac_var
36569 if test "x$as_val" = x""yes; then :
36570 cat >>confdefs.h <<_ACEOF
36571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36572 _ACEOF
36575 done
36577 else
36578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36579 $as_echo_n "checking for _long double round functions... " >&6; }
36580 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36581 $as_echo_n "(cached) " >&6
36582 else
36585 ac_ext=cpp
36586 ac_cpp='$CXXCPP $CPPFLAGS'
36587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36592 /* end confdefs.h. */
36593 #include <math.h>
36595 main ()
36597 _ceill (0); _floorl (0);
36599 return 0;
36601 _ACEOF
36602 if ac_fn_cxx_try_compile "$LINENO"; then :
36603 glibcxx_cv_func__long_double_round_use=yes
36604 else
36605 glibcxx_cv_func__long_double_round_use=no
36607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36608 ac_ext=c
36609 ac_cpp='$CPP $CPPFLAGS'
36610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36617 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36618 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36619 for ac_func in _ceill _floorl
36620 do :
36621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36623 eval as_val=\$$as_ac_var
36624 if test "x$as_val" = x""yes; then :
36625 cat >>confdefs.h <<_ACEOF
36626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36627 _ACEOF
36630 done
36640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36641 $as_echo_n "checking for isnanl declaration... " >&6; }
36642 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36643 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36644 $as_echo_n "(cached) " >&6
36645 else
36648 ac_ext=cpp
36649 ac_cpp='$CXXCPP $CPPFLAGS'
36650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36655 /* end confdefs.h. */
36656 #include <math.h>
36657 #ifdef HAVE_IEEEFP_H
36658 #include <ieeefp.h>
36659 #endif
36662 main ()
36664 isnanl(0);
36666 return 0;
36668 _ACEOF
36669 if ac_fn_cxx_try_compile "$LINENO"; then :
36670 glibcxx_cv_func_isnanl_use=yes
36671 else
36672 glibcxx_cv_func_isnanl_use=no
36674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36675 ac_ext=c
36676 ac_cpp='$CPP $CPPFLAGS'
36677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36686 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36688 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36689 for ac_func in isnanl
36690 do :
36691 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36692 if test "x$ac_cv_func_isnanl" = x""yes; then :
36693 cat >>confdefs.h <<_ACEOF
36694 #define HAVE_ISNANL 1
36695 _ACEOF
36698 done
36700 else
36702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36703 $as_echo_n "checking for _isnanl declaration... " >&6; }
36704 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36705 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36706 $as_echo_n "(cached) " >&6
36707 else
36710 ac_ext=cpp
36711 ac_cpp='$CXXCPP $CPPFLAGS'
36712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36717 /* end confdefs.h. */
36718 #include <math.h>
36719 #ifdef HAVE_IEEEFP_H
36720 #include <ieeefp.h>
36721 #endif
36724 main ()
36726 _isnanl(0);
36728 return 0;
36730 _ACEOF
36731 if ac_fn_cxx_try_compile "$LINENO"; then :
36732 glibcxx_cv_func__isnanl_use=yes
36733 else
36734 glibcxx_cv_func__isnanl_use=no
36736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36737 ac_ext=c
36738 ac_cpp='$CPP $CPPFLAGS'
36739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36748 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36750 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36751 for ac_func in _isnanl
36752 do :
36753 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36754 if test "x$ac_cv_func__isnanl" = x""yes; then :
36755 cat >>confdefs.h <<_ACEOF
36756 #define HAVE__ISNANL 1
36757 _ACEOF
36760 done
36769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36770 $as_echo_n "checking for isinfl declaration... " >&6; }
36771 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36772 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36773 $as_echo_n "(cached) " >&6
36774 else
36777 ac_ext=cpp
36778 ac_cpp='$CXXCPP $CPPFLAGS'
36779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36784 /* end confdefs.h. */
36785 #include <math.h>
36786 #ifdef HAVE_IEEEFP_H
36787 #include <ieeefp.h>
36788 #endif
36791 main ()
36793 isinfl(0);
36795 return 0;
36797 _ACEOF
36798 if ac_fn_cxx_try_compile "$LINENO"; then :
36799 glibcxx_cv_func_isinfl_use=yes
36800 else
36801 glibcxx_cv_func_isinfl_use=no
36803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36804 ac_ext=c
36805 ac_cpp='$CPP $CPPFLAGS'
36806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36815 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36817 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36818 for ac_func in isinfl
36819 do :
36820 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36821 if test "x$ac_cv_func_isinfl" = x""yes; then :
36822 cat >>confdefs.h <<_ACEOF
36823 #define HAVE_ISINFL 1
36824 _ACEOF
36827 done
36829 else
36831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36832 $as_echo_n "checking for _isinfl declaration... " >&6; }
36833 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36834 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36835 $as_echo_n "(cached) " >&6
36836 else
36839 ac_ext=cpp
36840 ac_cpp='$CXXCPP $CPPFLAGS'
36841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36846 /* end confdefs.h. */
36847 #include <math.h>
36848 #ifdef HAVE_IEEEFP_H
36849 #include <ieeefp.h>
36850 #endif
36853 main ()
36855 _isinfl(0);
36857 return 0;
36859 _ACEOF
36860 if ac_fn_cxx_try_compile "$LINENO"; then :
36861 glibcxx_cv_func__isinfl_use=yes
36862 else
36863 glibcxx_cv_func__isinfl_use=no
36865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36866 ac_ext=c
36867 ac_cpp='$CPP $CPPFLAGS'
36868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36877 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36879 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36880 for ac_func in _isinfl
36881 do :
36882 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36883 if test "x$ac_cv_func__isinfl" = x""yes; then :
36884 cat >>confdefs.h <<_ACEOF
36885 #define HAVE__ISINFL 1
36886 _ACEOF
36889 done
36898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36899 $as_echo_n "checking for atan2l declaration... " >&6; }
36900 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36901 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36902 $as_echo_n "(cached) " >&6
36903 else
36906 ac_ext=cpp
36907 ac_cpp='$CXXCPP $CPPFLAGS'
36908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36913 /* end confdefs.h. */
36914 #include <math.h>
36916 main ()
36918 atan2l(0, 0);
36920 return 0;
36922 _ACEOF
36923 if ac_fn_cxx_try_compile "$LINENO"; then :
36924 glibcxx_cv_func_atan2l_use=yes
36925 else
36926 glibcxx_cv_func_atan2l_use=no
36928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36929 ac_ext=c
36930 ac_cpp='$CPP $CPPFLAGS'
36931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36940 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36942 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36943 for ac_func in atan2l
36944 do :
36945 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36946 if test "x$ac_cv_func_atan2l" = x""yes; then :
36947 cat >>confdefs.h <<_ACEOF
36948 #define HAVE_ATAN2L 1
36949 _ACEOF
36952 done
36954 else
36956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36957 $as_echo_n "checking for _atan2l declaration... " >&6; }
36958 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36959 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36960 $as_echo_n "(cached) " >&6
36961 else
36964 ac_ext=cpp
36965 ac_cpp='$CXXCPP $CPPFLAGS'
36966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36971 /* end confdefs.h. */
36972 #include <math.h>
36974 main ()
36976 _atan2l(0, 0);
36978 return 0;
36980 _ACEOF
36981 if ac_fn_cxx_try_compile "$LINENO"; then :
36982 glibcxx_cv_func__atan2l_use=yes
36983 else
36984 glibcxx_cv_func__atan2l_use=no
36986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36987 ac_ext=c
36988 ac_cpp='$CPP $CPPFLAGS'
36989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36998 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37000 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37001 for ac_func in _atan2l
37002 do :
37003 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37004 if test "x$ac_cv_func__atan2l" = x""yes; then :
37005 cat >>confdefs.h <<_ACEOF
37006 #define HAVE__ATAN2L 1
37007 _ACEOF
37010 done
37019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37020 $as_echo_n "checking for expl declaration... " >&6; }
37021 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37022 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37023 $as_echo_n "(cached) " >&6
37024 else
37027 ac_ext=cpp
37028 ac_cpp='$CXXCPP $CPPFLAGS'
37029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37034 /* end confdefs.h. */
37035 #include <math.h>
37036 #ifdef HAVE_IEEEFP_H
37037 #include <ieeefp.h>
37038 #endif
37041 main ()
37043 expl(0);
37045 return 0;
37047 _ACEOF
37048 if ac_fn_cxx_try_compile "$LINENO"; then :
37049 glibcxx_cv_func_expl_use=yes
37050 else
37051 glibcxx_cv_func_expl_use=no
37053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37054 ac_ext=c
37055 ac_cpp='$CPP $CPPFLAGS'
37056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37065 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37067 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37068 for ac_func in expl
37069 do :
37070 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37071 if test "x$ac_cv_func_expl" = x""yes; then :
37072 cat >>confdefs.h <<_ACEOF
37073 #define HAVE_EXPL 1
37074 _ACEOF
37077 done
37079 else
37081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37082 $as_echo_n "checking for _expl declaration... " >&6; }
37083 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37084 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37085 $as_echo_n "(cached) " >&6
37086 else
37089 ac_ext=cpp
37090 ac_cpp='$CXXCPP $CPPFLAGS'
37091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37096 /* end confdefs.h. */
37097 #include <math.h>
37098 #ifdef HAVE_IEEEFP_H
37099 #include <ieeefp.h>
37100 #endif
37103 main ()
37105 _expl(0);
37107 return 0;
37109 _ACEOF
37110 if ac_fn_cxx_try_compile "$LINENO"; then :
37111 glibcxx_cv_func__expl_use=yes
37112 else
37113 glibcxx_cv_func__expl_use=no
37115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37116 ac_ext=c
37117 ac_cpp='$CPP $CPPFLAGS'
37118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37127 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37129 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37130 for ac_func in _expl
37131 do :
37132 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37133 if test "x$ac_cv_func__expl" = x""yes; then :
37134 cat >>confdefs.h <<_ACEOF
37135 #define HAVE__EXPL 1
37136 _ACEOF
37139 done
37148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37149 $as_echo_n "checking for fabsl declaration... " >&6; }
37150 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37151 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37152 $as_echo_n "(cached) " >&6
37153 else
37156 ac_ext=cpp
37157 ac_cpp='$CXXCPP $CPPFLAGS'
37158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37163 /* end confdefs.h. */
37164 #include <math.h>
37165 #ifdef HAVE_IEEEFP_H
37166 #include <ieeefp.h>
37167 #endif
37170 main ()
37172 fabsl(0);
37174 return 0;
37176 _ACEOF
37177 if ac_fn_cxx_try_compile "$LINENO"; then :
37178 glibcxx_cv_func_fabsl_use=yes
37179 else
37180 glibcxx_cv_func_fabsl_use=no
37182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37183 ac_ext=c
37184 ac_cpp='$CPP $CPPFLAGS'
37185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37194 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37196 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37197 for ac_func in fabsl
37198 do :
37199 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37200 if test "x$ac_cv_func_fabsl" = x""yes; then :
37201 cat >>confdefs.h <<_ACEOF
37202 #define HAVE_FABSL 1
37203 _ACEOF
37206 done
37208 else
37210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37211 $as_echo_n "checking for _fabsl declaration... " >&6; }
37212 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37213 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37214 $as_echo_n "(cached) " >&6
37215 else
37218 ac_ext=cpp
37219 ac_cpp='$CXXCPP $CPPFLAGS'
37220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37225 /* end confdefs.h. */
37226 #include <math.h>
37227 #ifdef HAVE_IEEEFP_H
37228 #include <ieeefp.h>
37229 #endif
37232 main ()
37234 _fabsl(0);
37236 return 0;
37238 _ACEOF
37239 if ac_fn_cxx_try_compile "$LINENO"; then :
37240 glibcxx_cv_func__fabsl_use=yes
37241 else
37242 glibcxx_cv_func__fabsl_use=no
37244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37245 ac_ext=c
37246 ac_cpp='$CPP $CPPFLAGS'
37247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37256 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37258 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37259 for ac_func in _fabsl
37260 do :
37261 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37262 if test "x$ac_cv_func__fabsl" = x""yes; then :
37263 cat >>confdefs.h <<_ACEOF
37264 #define HAVE__FABSL 1
37265 _ACEOF
37268 done
37277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37278 $as_echo_n "checking for fmodl declaration... " >&6; }
37279 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37280 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37281 $as_echo_n "(cached) " >&6
37282 else
37285 ac_ext=cpp
37286 ac_cpp='$CXXCPP $CPPFLAGS'
37287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37292 /* end confdefs.h. */
37293 #include <math.h>
37295 main ()
37297 fmodl(0, 0);
37299 return 0;
37301 _ACEOF
37302 if ac_fn_cxx_try_compile "$LINENO"; then :
37303 glibcxx_cv_func_fmodl_use=yes
37304 else
37305 glibcxx_cv_func_fmodl_use=no
37307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37308 ac_ext=c
37309 ac_cpp='$CPP $CPPFLAGS'
37310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37319 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37321 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37322 for ac_func in fmodl
37323 do :
37324 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37325 if test "x$ac_cv_func_fmodl" = x""yes; then :
37326 cat >>confdefs.h <<_ACEOF
37327 #define HAVE_FMODL 1
37328 _ACEOF
37331 done
37333 else
37335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37336 $as_echo_n "checking for _fmodl declaration... " >&6; }
37337 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37338 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37339 $as_echo_n "(cached) " >&6
37340 else
37343 ac_ext=cpp
37344 ac_cpp='$CXXCPP $CPPFLAGS'
37345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37350 /* end confdefs.h. */
37351 #include <math.h>
37353 main ()
37355 _fmodl(0, 0);
37357 return 0;
37359 _ACEOF
37360 if ac_fn_cxx_try_compile "$LINENO"; then :
37361 glibcxx_cv_func__fmodl_use=yes
37362 else
37363 glibcxx_cv_func__fmodl_use=no
37365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37366 ac_ext=c
37367 ac_cpp='$CPP $CPPFLAGS'
37368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37377 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37379 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37380 for ac_func in _fmodl
37381 do :
37382 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37383 if test "x$ac_cv_func__fmodl" = x""yes; then :
37384 cat >>confdefs.h <<_ACEOF
37385 #define HAVE__FMODL 1
37386 _ACEOF
37389 done
37398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37399 $as_echo_n "checking for frexpl declaration... " >&6; }
37400 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37401 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37402 $as_echo_n "(cached) " >&6
37403 else
37406 ac_ext=cpp
37407 ac_cpp='$CXXCPP $CPPFLAGS'
37408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37413 /* end confdefs.h. */
37414 #include <math.h>
37416 main ()
37418 frexpl(0, 0);
37420 return 0;
37422 _ACEOF
37423 if ac_fn_cxx_try_compile "$LINENO"; then :
37424 glibcxx_cv_func_frexpl_use=yes
37425 else
37426 glibcxx_cv_func_frexpl_use=no
37428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37429 ac_ext=c
37430 ac_cpp='$CPP $CPPFLAGS'
37431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37440 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37442 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37443 for ac_func in frexpl
37444 do :
37445 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37446 if test "x$ac_cv_func_frexpl" = x""yes; then :
37447 cat >>confdefs.h <<_ACEOF
37448 #define HAVE_FREXPL 1
37449 _ACEOF
37452 done
37454 else
37456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37457 $as_echo_n "checking for _frexpl declaration... " >&6; }
37458 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37459 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37460 $as_echo_n "(cached) " >&6
37461 else
37464 ac_ext=cpp
37465 ac_cpp='$CXXCPP $CPPFLAGS'
37466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37471 /* end confdefs.h. */
37472 #include <math.h>
37474 main ()
37476 _frexpl(0, 0);
37478 return 0;
37480 _ACEOF
37481 if ac_fn_cxx_try_compile "$LINENO"; then :
37482 glibcxx_cv_func__frexpl_use=yes
37483 else
37484 glibcxx_cv_func__frexpl_use=no
37486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37487 ac_ext=c
37488 ac_cpp='$CPP $CPPFLAGS'
37489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37498 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37500 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37501 for ac_func in _frexpl
37502 do :
37503 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37504 if test "x$ac_cv_func__frexpl" = x""yes; then :
37505 cat >>confdefs.h <<_ACEOF
37506 #define HAVE__FREXPL 1
37507 _ACEOF
37510 done
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37520 $as_echo_n "checking for hypotl declaration... " >&6; }
37521 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37522 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37523 $as_echo_n "(cached) " >&6
37524 else
37527 ac_ext=cpp
37528 ac_cpp='$CXXCPP $CPPFLAGS'
37529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37534 /* end confdefs.h. */
37535 #include <math.h>
37537 main ()
37539 hypotl(0, 0);
37541 return 0;
37543 _ACEOF
37544 if ac_fn_cxx_try_compile "$LINENO"; then :
37545 glibcxx_cv_func_hypotl_use=yes
37546 else
37547 glibcxx_cv_func_hypotl_use=no
37549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37550 ac_ext=c
37551 ac_cpp='$CPP $CPPFLAGS'
37552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37561 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37563 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37564 for ac_func in hypotl
37565 do :
37566 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37567 if test "x$ac_cv_func_hypotl" = x""yes; then :
37568 cat >>confdefs.h <<_ACEOF
37569 #define HAVE_HYPOTL 1
37570 _ACEOF
37573 done
37575 else
37577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37578 $as_echo_n "checking for _hypotl declaration... " >&6; }
37579 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37580 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37581 $as_echo_n "(cached) " >&6
37582 else
37585 ac_ext=cpp
37586 ac_cpp='$CXXCPP $CPPFLAGS'
37587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37592 /* end confdefs.h. */
37593 #include <math.h>
37595 main ()
37597 _hypotl(0, 0);
37599 return 0;
37601 _ACEOF
37602 if ac_fn_cxx_try_compile "$LINENO"; then :
37603 glibcxx_cv_func__hypotl_use=yes
37604 else
37605 glibcxx_cv_func__hypotl_use=no
37607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37608 ac_ext=c
37609 ac_cpp='$CPP $CPPFLAGS'
37610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37619 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37621 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37622 for ac_func in _hypotl
37623 do :
37624 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37625 if test "x$ac_cv_func__hypotl" = x""yes; then :
37626 cat >>confdefs.h <<_ACEOF
37627 #define HAVE__HYPOTL 1
37628 _ACEOF
37631 done
37640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37641 $as_echo_n "checking for ldexpl declaration... " >&6; }
37642 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37643 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37644 $as_echo_n "(cached) " >&6
37645 else
37648 ac_ext=cpp
37649 ac_cpp='$CXXCPP $CPPFLAGS'
37650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37655 /* end confdefs.h. */
37656 #include <math.h>
37658 main ()
37660 ldexpl(0, 0);
37662 return 0;
37664 _ACEOF
37665 if ac_fn_cxx_try_compile "$LINENO"; then :
37666 glibcxx_cv_func_ldexpl_use=yes
37667 else
37668 glibcxx_cv_func_ldexpl_use=no
37670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37671 ac_ext=c
37672 ac_cpp='$CPP $CPPFLAGS'
37673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37682 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37684 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37685 for ac_func in ldexpl
37686 do :
37687 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37688 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37689 cat >>confdefs.h <<_ACEOF
37690 #define HAVE_LDEXPL 1
37691 _ACEOF
37694 done
37696 else
37698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37699 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37700 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37701 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37702 $as_echo_n "(cached) " >&6
37703 else
37706 ac_ext=cpp
37707 ac_cpp='$CXXCPP $CPPFLAGS'
37708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37713 /* end confdefs.h. */
37714 #include <math.h>
37716 main ()
37718 _ldexpl(0, 0);
37720 return 0;
37722 _ACEOF
37723 if ac_fn_cxx_try_compile "$LINENO"; then :
37724 glibcxx_cv_func__ldexpl_use=yes
37725 else
37726 glibcxx_cv_func__ldexpl_use=no
37728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37729 ac_ext=c
37730 ac_cpp='$CPP $CPPFLAGS'
37731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37740 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37742 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37743 for ac_func in _ldexpl
37744 do :
37745 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37746 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37747 cat >>confdefs.h <<_ACEOF
37748 #define HAVE__LDEXPL 1
37749 _ACEOF
37752 done
37761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37762 $as_echo_n "checking for logl declaration... " >&6; }
37763 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37764 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37765 $as_echo_n "(cached) " >&6
37766 else
37769 ac_ext=cpp
37770 ac_cpp='$CXXCPP $CPPFLAGS'
37771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37776 /* end confdefs.h. */
37777 #include <math.h>
37778 #ifdef HAVE_IEEEFP_H
37779 #include <ieeefp.h>
37780 #endif
37783 main ()
37785 logl(0);
37787 return 0;
37789 _ACEOF
37790 if ac_fn_cxx_try_compile "$LINENO"; then :
37791 glibcxx_cv_func_logl_use=yes
37792 else
37793 glibcxx_cv_func_logl_use=no
37795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37796 ac_ext=c
37797 ac_cpp='$CPP $CPPFLAGS'
37798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37807 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37809 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37810 for ac_func in logl
37811 do :
37812 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37813 if test "x$ac_cv_func_logl" = x""yes; then :
37814 cat >>confdefs.h <<_ACEOF
37815 #define HAVE_LOGL 1
37816 _ACEOF
37819 done
37821 else
37823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37824 $as_echo_n "checking for _logl declaration... " >&6; }
37825 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37826 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37827 $as_echo_n "(cached) " >&6
37828 else
37831 ac_ext=cpp
37832 ac_cpp='$CXXCPP $CPPFLAGS'
37833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37838 /* end confdefs.h. */
37839 #include <math.h>
37840 #ifdef HAVE_IEEEFP_H
37841 #include <ieeefp.h>
37842 #endif
37845 main ()
37847 _logl(0);
37849 return 0;
37851 _ACEOF
37852 if ac_fn_cxx_try_compile "$LINENO"; then :
37853 glibcxx_cv_func__logl_use=yes
37854 else
37855 glibcxx_cv_func__logl_use=no
37857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37858 ac_ext=c
37859 ac_cpp='$CPP $CPPFLAGS'
37860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37869 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37871 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37872 for ac_func in _logl
37873 do :
37874 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37875 if test "x$ac_cv_func__logl" = x""yes; then :
37876 cat >>confdefs.h <<_ACEOF
37877 #define HAVE__LOGL 1
37878 _ACEOF
37881 done
37890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37891 $as_echo_n "checking for log10l declaration... " >&6; }
37892 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37893 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37894 $as_echo_n "(cached) " >&6
37895 else
37898 ac_ext=cpp
37899 ac_cpp='$CXXCPP $CPPFLAGS'
37900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37905 /* end confdefs.h. */
37906 #include <math.h>
37907 #ifdef HAVE_IEEEFP_H
37908 #include <ieeefp.h>
37909 #endif
37912 main ()
37914 log10l(0);
37916 return 0;
37918 _ACEOF
37919 if ac_fn_cxx_try_compile "$LINENO"; then :
37920 glibcxx_cv_func_log10l_use=yes
37921 else
37922 glibcxx_cv_func_log10l_use=no
37924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37925 ac_ext=c
37926 ac_cpp='$CPP $CPPFLAGS'
37927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37936 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37938 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37939 for ac_func in log10l
37940 do :
37941 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37942 if test "x$ac_cv_func_log10l" = x""yes; then :
37943 cat >>confdefs.h <<_ACEOF
37944 #define HAVE_LOG10L 1
37945 _ACEOF
37948 done
37950 else
37952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37953 $as_echo_n "checking for _log10l declaration... " >&6; }
37954 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37955 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37956 $as_echo_n "(cached) " >&6
37957 else
37960 ac_ext=cpp
37961 ac_cpp='$CXXCPP $CPPFLAGS'
37962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37967 /* end confdefs.h. */
37968 #include <math.h>
37969 #ifdef HAVE_IEEEFP_H
37970 #include <ieeefp.h>
37971 #endif
37974 main ()
37976 _log10l(0);
37978 return 0;
37980 _ACEOF
37981 if ac_fn_cxx_try_compile "$LINENO"; then :
37982 glibcxx_cv_func__log10l_use=yes
37983 else
37984 glibcxx_cv_func__log10l_use=no
37986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37987 ac_ext=c
37988 ac_cpp='$CPP $CPPFLAGS'
37989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37998 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38000 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38001 for ac_func in _log10l
38002 do :
38003 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38004 if test "x$ac_cv_func__log10l" = x""yes; then :
38005 cat >>confdefs.h <<_ACEOF
38006 #define HAVE__LOG10L 1
38007 _ACEOF
38010 done
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38020 $as_echo_n "checking for modfl declaration... " >&6; }
38021 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38022 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38023 $as_echo_n "(cached) " >&6
38024 else
38027 ac_ext=cpp
38028 ac_cpp='$CXXCPP $CPPFLAGS'
38029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38034 /* end confdefs.h. */
38035 #include <math.h>
38037 main ()
38039 modfl(0, 0);
38041 return 0;
38043 _ACEOF
38044 if ac_fn_cxx_try_compile "$LINENO"; then :
38045 glibcxx_cv_func_modfl_use=yes
38046 else
38047 glibcxx_cv_func_modfl_use=no
38049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38050 ac_ext=c
38051 ac_cpp='$CPP $CPPFLAGS'
38052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38061 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38063 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38064 for ac_func in modfl
38065 do :
38066 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38067 if test "x$ac_cv_func_modfl" = x""yes; then :
38068 cat >>confdefs.h <<_ACEOF
38069 #define HAVE_MODFL 1
38070 _ACEOF
38073 done
38075 else
38077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38078 $as_echo_n "checking for _modfl declaration... " >&6; }
38079 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38080 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38081 $as_echo_n "(cached) " >&6
38082 else
38085 ac_ext=cpp
38086 ac_cpp='$CXXCPP $CPPFLAGS'
38087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38092 /* end confdefs.h. */
38093 #include <math.h>
38095 main ()
38097 _modfl(0, 0);
38099 return 0;
38101 _ACEOF
38102 if ac_fn_cxx_try_compile "$LINENO"; then :
38103 glibcxx_cv_func__modfl_use=yes
38104 else
38105 glibcxx_cv_func__modfl_use=no
38107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38108 ac_ext=c
38109 ac_cpp='$CPP $CPPFLAGS'
38110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38119 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38121 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38122 for ac_func in _modfl
38123 do :
38124 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38125 if test "x$ac_cv_func__modfl" = x""yes; then :
38126 cat >>confdefs.h <<_ACEOF
38127 #define HAVE__MODFL 1
38128 _ACEOF
38131 done
38140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38141 $as_echo_n "checking for powl declaration... " >&6; }
38142 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38143 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38144 $as_echo_n "(cached) " >&6
38145 else
38148 ac_ext=cpp
38149 ac_cpp='$CXXCPP $CPPFLAGS'
38150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38155 /* end confdefs.h. */
38156 #include <math.h>
38158 main ()
38160 powl(0, 0);
38162 return 0;
38164 _ACEOF
38165 if ac_fn_cxx_try_compile "$LINENO"; then :
38166 glibcxx_cv_func_powl_use=yes
38167 else
38168 glibcxx_cv_func_powl_use=no
38170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38171 ac_ext=c
38172 ac_cpp='$CPP $CPPFLAGS'
38173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38182 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38184 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38185 for ac_func in powl
38186 do :
38187 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38188 if test "x$ac_cv_func_powl" = x""yes; then :
38189 cat >>confdefs.h <<_ACEOF
38190 #define HAVE_POWL 1
38191 _ACEOF
38194 done
38196 else
38198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38199 $as_echo_n "checking for _powl declaration... " >&6; }
38200 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38201 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38202 $as_echo_n "(cached) " >&6
38203 else
38206 ac_ext=cpp
38207 ac_cpp='$CXXCPP $CPPFLAGS'
38208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38213 /* end confdefs.h. */
38214 #include <math.h>
38216 main ()
38218 _powl(0, 0);
38220 return 0;
38222 _ACEOF
38223 if ac_fn_cxx_try_compile "$LINENO"; then :
38224 glibcxx_cv_func__powl_use=yes
38225 else
38226 glibcxx_cv_func__powl_use=no
38228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38229 ac_ext=c
38230 ac_cpp='$CPP $CPPFLAGS'
38231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38240 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38242 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38243 for ac_func in _powl
38244 do :
38245 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38246 if test "x$ac_cv_func__powl" = x""yes; then :
38247 cat >>confdefs.h <<_ACEOF
38248 #define HAVE__POWL 1
38249 _ACEOF
38252 done
38261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38262 $as_echo_n "checking for sqrtl declaration... " >&6; }
38263 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38264 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38265 $as_echo_n "(cached) " >&6
38266 else
38269 ac_ext=cpp
38270 ac_cpp='$CXXCPP $CPPFLAGS'
38271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38276 /* end confdefs.h. */
38277 #include <math.h>
38278 #ifdef HAVE_IEEEFP_H
38279 #include <ieeefp.h>
38280 #endif
38283 main ()
38285 sqrtl(0);
38287 return 0;
38289 _ACEOF
38290 if ac_fn_cxx_try_compile "$LINENO"; then :
38291 glibcxx_cv_func_sqrtl_use=yes
38292 else
38293 glibcxx_cv_func_sqrtl_use=no
38295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38296 ac_ext=c
38297 ac_cpp='$CPP $CPPFLAGS'
38298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38307 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38309 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38310 for ac_func in sqrtl
38311 do :
38312 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38313 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38314 cat >>confdefs.h <<_ACEOF
38315 #define HAVE_SQRTL 1
38316 _ACEOF
38319 done
38321 else
38323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38324 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38325 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38326 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38327 $as_echo_n "(cached) " >&6
38328 else
38331 ac_ext=cpp
38332 ac_cpp='$CXXCPP $CPPFLAGS'
38333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38338 /* end confdefs.h. */
38339 #include <math.h>
38340 #ifdef HAVE_IEEEFP_H
38341 #include <ieeefp.h>
38342 #endif
38345 main ()
38347 _sqrtl(0);
38349 return 0;
38351 _ACEOF
38352 if ac_fn_cxx_try_compile "$LINENO"; then :
38353 glibcxx_cv_func__sqrtl_use=yes
38354 else
38355 glibcxx_cv_func__sqrtl_use=no
38357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38358 ac_ext=c
38359 ac_cpp='$CPP $CPPFLAGS'
38360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38369 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38371 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38372 for ac_func in _sqrtl
38373 do :
38374 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38375 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38376 cat >>confdefs.h <<_ACEOF
38377 #define HAVE__SQRTL 1
38378 _ACEOF
38381 done
38390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38391 $as_echo_n "checking for sincosl declaration... " >&6; }
38392 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38393 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38394 $as_echo_n "(cached) " >&6
38395 else
38398 ac_ext=cpp
38399 ac_cpp='$CXXCPP $CPPFLAGS'
38400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38405 /* end confdefs.h. */
38406 #include <math.h>
38408 main ()
38410 sincosl(0, 0, 0);
38412 return 0;
38414 _ACEOF
38415 if ac_fn_cxx_try_compile "$LINENO"; then :
38416 glibcxx_cv_func_sincosl_use=yes
38417 else
38418 glibcxx_cv_func_sincosl_use=no
38420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38421 ac_ext=c
38422 ac_cpp='$CPP $CPPFLAGS'
38423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38432 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38434 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38435 for ac_func in sincosl
38436 do :
38437 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38438 if test "x$ac_cv_func_sincosl" = x""yes; then :
38439 cat >>confdefs.h <<_ACEOF
38440 #define HAVE_SINCOSL 1
38441 _ACEOF
38444 done
38446 else
38448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38449 $as_echo_n "checking for _sincosl declaration... " >&6; }
38450 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38451 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38452 $as_echo_n "(cached) " >&6
38453 else
38456 ac_ext=cpp
38457 ac_cpp='$CXXCPP $CPPFLAGS'
38458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38463 /* end confdefs.h. */
38464 #include <math.h>
38466 main ()
38468 _sincosl(0, 0, 0);
38470 return 0;
38472 _ACEOF
38473 if ac_fn_cxx_try_compile "$LINENO"; then :
38474 glibcxx_cv_func__sincosl_use=yes
38475 else
38476 glibcxx_cv_func__sincosl_use=no
38478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38479 ac_ext=c
38480 ac_cpp='$CPP $CPPFLAGS'
38481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38490 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38492 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38493 for ac_func in _sincosl
38494 do :
38495 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38496 if test "x$ac_cv_func__sincosl" = x""yes; then :
38497 cat >>confdefs.h <<_ACEOF
38498 #define HAVE__SINCOSL 1
38499 _ACEOF
38502 done
38511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38512 $as_echo_n "checking for finitel declaration... " >&6; }
38513 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38514 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38515 $as_echo_n "(cached) " >&6
38516 else
38519 ac_ext=cpp
38520 ac_cpp='$CXXCPP $CPPFLAGS'
38521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38526 /* end confdefs.h. */
38527 #include <math.h>
38528 #ifdef HAVE_IEEEFP_H
38529 #include <ieeefp.h>
38530 #endif
38533 main ()
38535 finitel(0);
38537 return 0;
38539 _ACEOF
38540 if ac_fn_cxx_try_compile "$LINENO"; then :
38541 glibcxx_cv_func_finitel_use=yes
38542 else
38543 glibcxx_cv_func_finitel_use=no
38545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38546 ac_ext=c
38547 ac_cpp='$CPP $CPPFLAGS'
38548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38557 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38559 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38560 for ac_func in finitel
38561 do :
38562 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38563 if test "x$ac_cv_func_finitel" = x""yes; then :
38564 cat >>confdefs.h <<_ACEOF
38565 #define HAVE_FINITEL 1
38566 _ACEOF
38569 done
38571 else
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38574 $as_echo_n "checking for _finitel declaration... " >&6; }
38575 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38576 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38577 $as_echo_n "(cached) " >&6
38578 else
38581 ac_ext=cpp
38582 ac_cpp='$CXXCPP $CPPFLAGS'
38583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38588 /* end confdefs.h. */
38589 #include <math.h>
38590 #ifdef HAVE_IEEEFP_H
38591 #include <ieeefp.h>
38592 #endif
38595 main ()
38597 _finitel(0);
38599 return 0;
38601 _ACEOF
38602 if ac_fn_cxx_try_compile "$LINENO"; then :
38603 glibcxx_cv_func__finitel_use=yes
38604 else
38605 glibcxx_cv_func__finitel_use=no
38607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38608 ac_ext=c
38609 ac_cpp='$CPP $CPPFLAGS'
38610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38619 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38621 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38622 for ac_func in _finitel
38623 do :
38624 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38625 if test "x$ac_cv_func__finitel" = x""yes; then :
38626 cat >>confdefs.h <<_ACEOF
38627 #define HAVE__FINITEL 1
38628 _ACEOF
38631 done
38639 LIBS="$ac_save_LIBS"
38640 CXXFLAGS="$ac_save_CXXFLAGS"
38643 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38644 ac_save_CXXFLAGS="$CXXFLAGS"
38645 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38649 $as_echo_n "checking for strtold declaration... " >&6; }
38650 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38651 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38652 $as_echo_n "(cached) " >&6
38653 else
38656 ac_ext=cpp
38657 ac_cpp='$CXXCPP $CPPFLAGS'
38658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38663 /* end confdefs.h. */
38664 #include <stdlib.h>
38666 main ()
38668 strtold(0, 0);
38670 return 0;
38672 _ACEOF
38673 if ac_fn_cxx_try_compile "$LINENO"; then :
38674 glibcxx_cv_func_strtold_use=yes
38675 else
38676 glibcxx_cv_func_strtold_use=no
38678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38679 ac_ext=c
38680 ac_cpp='$CPP $CPPFLAGS'
38681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38690 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38691 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38692 for ac_func in strtold
38693 do :
38694 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38695 if test "x$ac_cv_func_strtold" = x""yes; then :
38696 cat >>confdefs.h <<_ACEOF
38697 #define HAVE_STRTOLD 1
38698 _ACEOF
38701 done
38708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38709 $as_echo_n "checking for strtof declaration... " >&6; }
38710 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38711 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38712 $as_echo_n "(cached) " >&6
38713 else
38716 ac_ext=cpp
38717 ac_cpp='$CXXCPP $CPPFLAGS'
38718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38723 /* end confdefs.h. */
38724 #include <stdlib.h>
38726 main ()
38728 strtof(0, 0);
38730 return 0;
38732 _ACEOF
38733 if ac_fn_cxx_try_compile "$LINENO"; then :
38734 glibcxx_cv_func_strtof_use=yes
38735 else
38736 glibcxx_cv_func_strtof_use=no
38738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38739 ac_ext=c
38740 ac_cpp='$CPP $CPPFLAGS'
38741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38750 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38751 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38752 for ac_func in strtof
38753 do :
38754 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38755 if test "x$ac_cv_func_strtof" = x""yes; then :
38756 cat >>confdefs.h <<_ACEOF
38757 #define HAVE_STRTOF 1
38758 _ACEOF
38761 done
38768 CXXFLAGS="$ac_save_CXXFLAGS"
38770 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38772 # We don't yet support AIX's TLS ABI.
38773 #GCC_CHECK_TLS
38779 am_save_CPPFLAGS="$CPPFLAGS"
38781 for element in $INCICONV; do
38782 haveit=
38783 for x in $CPPFLAGS; do
38785 acl_save_prefix="$prefix"
38786 prefix="$acl_final_prefix"
38787 acl_save_exec_prefix="$exec_prefix"
38788 exec_prefix="$acl_final_exec_prefix"
38789 eval x=\"$x\"
38790 exec_prefix="$acl_save_exec_prefix"
38791 prefix="$acl_save_prefix"
38793 if test "X$x" = "X$element"; then
38794 haveit=yes
38795 break
38797 done
38798 if test -z "$haveit"; then
38799 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38801 done
38804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38805 $as_echo_n "checking for iconv... " >&6; }
38806 if test "${am_cv_func_iconv+set}" = set; then :
38807 $as_echo_n "(cached) " >&6
38808 else
38810 am_cv_func_iconv="no, consider installing GNU libiconv"
38811 am_cv_lib_iconv=no
38812 if test x$gcc_no_link = xyes; then
38813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38816 /* end confdefs.h. */
38817 #include <stdlib.h>
38818 #include <iconv.h>
38820 main ()
38822 iconv_t cd = iconv_open("","");
38823 iconv(cd,NULL,NULL,NULL,NULL);
38824 iconv_close(cd);
38826 return 0;
38828 _ACEOF
38829 if ac_fn_c_try_link "$LINENO"; then :
38830 am_cv_func_iconv=yes
38832 rm -f core conftest.err conftest.$ac_objext \
38833 conftest$ac_exeext conftest.$ac_ext
38834 if test "$am_cv_func_iconv" != yes; then
38835 am_save_LIBS="$LIBS"
38836 LIBS="$LIBS $LIBICONV"
38837 if test x$gcc_no_link = xyes; then
38838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38841 /* end confdefs.h. */
38842 #include <stdlib.h>
38843 #include <iconv.h>
38845 main ()
38847 iconv_t cd = iconv_open("","");
38848 iconv(cd,NULL,NULL,NULL,NULL);
38849 iconv_close(cd);
38851 return 0;
38853 _ACEOF
38854 if ac_fn_c_try_link "$LINENO"; then :
38855 am_cv_lib_iconv=yes
38856 am_cv_func_iconv=yes
38858 rm -f core conftest.err conftest.$ac_objext \
38859 conftest$ac_exeext conftest.$ac_ext
38860 LIBS="$am_save_LIBS"
38864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38865 $as_echo "$am_cv_func_iconv" >&6; }
38866 if test "$am_cv_func_iconv" = yes; then
38868 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38871 if test "$am_cv_lib_iconv" = yes; then
38872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38873 $as_echo_n "checking how to link with libiconv... " >&6; }
38874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38875 $as_echo "$LIBICONV" >&6; }
38876 else
38877 CPPFLAGS="$am_save_CPPFLAGS"
38878 LIBICONV=
38879 LTLIBICONV=
38884 if test "$am_cv_func_iconv" = yes; then
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38886 $as_echo_n "checking for iconv declaration... " >&6; }
38887 if test "${am_cv_proto_iconv+set}" = set; then :
38888 $as_echo_n "(cached) " >&6
38889 else
38891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38892 /* end confdefs.h. */
38894 #include <stdlib.h>
38895 #include <iconv.h>
38896 extern
38897 #ifdef __cplusplus
38899 #endif
38900 #if defined(__STDC__) || defined(__cplusplus)
38901 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38902 #else
38903 size_t iconv();
38904 #endif
38907 main ()
38911 return 0;
38913 _ACEOF
38914 if ac_fn_c_try_compile "$LINENO"; then :
38915 am_cv_proto_iconv_arg1=""
38916 else
38917 am_cv_proto_iconv_arg1="const"
38919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38920 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);"
38923 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38925 }$am_cv_proto_iconv" >&5
38926 $as_echo "${ac_t:-
38927 }$am_cv_proto_iconv" >&6; }
38929 cat >>confdefs.h <<_ACEOF
38930 #define ICONV_CONST $am_cv_proto_iconv_arg1
38931 _ACEOF
38937 *-darwin*)
38938 # Darwin versions vary, but the linker should work in a cross environment,
38939 # so we just check for all the features here.
38940 # Check for available headers.
38942 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38944 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38945 ac_save_CXXFLAGS="$CXXFLAGS"
38946 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38949 $as_echo_n "checking for sin in -lm... " >&6; }
38950 if test "${ac_cv_lib_m_sin+set}" = set; then :
38951 $as_echo_n "(cached) " >&6
38952 else
38953 ac_check_lib_save_LIBS=$LIBS
38954 LIBS="-lm $LIBS"
38955 if test x$gcc_no_link = xyes; then
38956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38959 /* end confdefs.h. */
38961 /* Override any GCC internal prototype to avoid an error.
38962 Use char because int might match the return type of a GCC
38963 builtin and then its argument prototype would still apply. */
38964 #ifdef __cplusplus
38965 extern "C"
38966 #endif
38967 char sin ();
38969 main ()
38971 return sin ();
38973 return 0;
38975 _ACEOF
38976 if ac_fn_c_try_link "$LINENO"; then :
38977 ac_cv_lib_m_sin=yes
38978 else
38979 ac_cv_lib_m_sin=no
38981 rm -f core conftest.err conftest.$ac_objext \
38982 conftest$ac_exeext conftest.$ac_ext
38983 LIBS=$ac_check_lib_save_LIBS
38985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38986 $as_echo "$ac_cv_lib_m_sin" >&6; }
38987 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38988 libm="-lm"
38991 ac_save_LIBS="$LIBS"
38992 LIBS="$LIBS $libm"
38996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38997 $as_echo_n "checking for isinf declaration... " >&6; }
38998 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38999 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39000 $as_echo_n "(cached) " >&6
39001 else
39004 ac_ext=cpp
39005 ac_cpp='$CXXCPP $CPPFLAGS'
39006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39011 /* end confdefs.h. */
39012 #include <math.h>
39013 #ifdef HAVE_IEEEFP_H
39014 #include <ieeefp.h>
39015 #endif
39018 main ()
39020 isinf(0);
39022 return 0;
39024 _ACEOF
39025 if ac_fn_cxx_try_compile "$LINENO"; then :
39026 glibcxx_cv_func_isinf_use=yes
39027 else
39028 glibcxx_cv_func_isinf_use=no
39030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39031 ac_ext=c
39032 ac_cpp='$CPP $CPPFLAGS'
39033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39042 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39044 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39045 for ac_func in isinf
39046 do :
39047 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39048 if test "x$ac_cv_func_isinf" = x""yes; then :
39049 cat >>confdefs.h <<_ACEOF
39050 #define HAVE_ISINF 1
39051 _ACEOF
39054 done
39056 else
39058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39059 $as_echo_n "checking for _isinf declaration... " >&6; }
39060 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39061 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39062 $as_echo_n "(cached) " >&6
39063 else
39066 ac_ext=cpp
39067 ac_cpp='$CXXCPP $CPPFLAGS'
39068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39073 /* end confdefs.h. */
39074 #include <math.h>
39075 #ifdef HAVE_IEEEFP_H
39076 #include <ieeefp.h>
39077 #endif
39080 main ()
39082 _isinf(0);
39084 return 0;
39086 _ACEOF
39087 if ac_fn_cxx_try_compile "$LINENO"; then :
39088 glibcxx_cv_func__isinf_use=yes
39089 else
39090 glibcxx_cv_func__isinf_use=no
39092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39093 ac_ext=c
39094 ac_cpp='$CPP $CPPFLAGS'
39095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39104 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39106 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39107 for ac_func in _isinf
39108 do :
39109 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39110 if test "x$ac_cv_func__isinf" = x""yes; then :
39111 cat >>confdefs.h <<_ACEOF
39112 #define HAVE__ISINF 1
39113 _ACEOF
39116 done
39125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39126 $as_echo_n "checking for isnan declaration... " >&6; }
39127 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39128 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39129 $as_echo_n "(cached) " >&6
39130 else
39133 ac_ext=cpp
39134 ac_cpp='$CXXCPP $CPPFLAGS'
39135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39140 /* end confdefs.h. */
39141 #include <math.h>
39142 #ifdef HAVE_IEEEFP_H
39143 #include <ieeefp.h>
39144 #endif
39147 main ()
39149 isnan(0);
39151 return 0;
39153 _ACEOF
39154 if ac_fn_cxx_try_compile "$LINENO"; then :
39155 glibcxx_cv_func_isnan_use=yes
39156 else
39157 glibcxx_cv_func_isnan_use=no
39159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39160 ac_ext=c
39161 ac_cpp='$CPP $CPPFLAGS'
39162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39171 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39173 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39174 for ac_func in isnan
39175 do :
39176 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39177 if test "x$ac_cv_func_isnan" = x""yes; then :
39178 cat >>confdefs.h <<_ACEOF
39179 #define HAVE_ISNAN 1
39180 _ACEOF
39183 done
39185 else
39187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39188 $as_echo_n "checking for _isnan declaration... " >&6; }
39189 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39190 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39191 $as_echo_n "(cached) " >&6
39192 else
39195 ac_ext=cpp
39196 ac_cpp='$CXXCPP $CPPFLAGS'
39197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39202 /* end confdefs.h. */
39203 #include <math.h>
39204 #ifdef HAVE_IEEEFP_H
39205 #include <ieeefp.h>
39206 #endif
39209 main ()
39211 _isnan(0);
39213 return 0;
39215 _ACEOF
39216 if ac_fn_cxx_try_compile "$LINENO"; then :
39217 glibcxx_cv_func__isnan_use=yes
39218 else
39219 glibcxx_cv_func__isnan_use=no
39221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39222 ac_ext=c
39223 ac_cpp='$CPP $CPPFLAGS'
39224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39233 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39235 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39236 for ac_func in _isnan
39237 do :
39238 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39239 if test "x$ac_cv_func__isnan" = x""yes; then :
39240 cat >>confdefs.h <<_ACEOF
39241 #define HAVE__ISNAN 1
39242 _ACEOF
39245 done
39254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39255 $as_echo_n "checking for finite declaration... " >&6; }
39256 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39257 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39258 $as_echo_n "(cached) " >&6
39259 else
39262 ac_ext=cpp
39263 ac_cpp='$CXXCPP $CPPFLAGS'
39264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39269 /* end confdefs.h. */
39270 #include <math.h>
39271 #ifdef HAVE_IEEEFP_H
39272 #include <ieeefp.h>
39273 #endif
39276 main ()
39278 finite(0);
39280 return 0;
39282 _ACEOF
39283 if ac_fn_cxx_try_compile "$LINENO"; then :
39284 glibcxx_cv_func_finite_use=yes
39285 else
39286 glibcxx_cv_func_finite_use=no
39288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39289 ac_ext=c
39290 ac_cpp='$CPP $CPPFLAGS'
39291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39300 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39302 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39303 for ac_func in finite
39304 do :
39305 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39306 if test "x$ac_cv_func_finite" = x""yes; then :
39307 cat >>confdefs.h <<_ACEOF
39308 #define HAVE_FINITE 1
39309 _ACEOF
39312 done
39314 else
39316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39317 $as_echo_n "checking for _finite declaration... " >&6; }
39318 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39319 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39320 $as_echo_n "(cached) " >&6
39321 else
39324 ac_ext=cpp
39325 ac_cpp='$CXXCPP $CPPFLAGS'
39326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39331 /* end confdefs.h. */
39332 #include <math.h>
39333 #ifdef HAVE_IEEEFP_H
39334 #include <ieeefp.h>
39335 #endif
39338 main ()
39340 _finite(0);
39342 return 0;
39344 _ACEOF
39345 if ac_fn_cxx_try_compile "$LINENO"; then :
39346 glibcxx_cv_func__finite_use=yes
39347 else
39348 glibcxx_cv_func__finite_use=no
39350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39351 ac_ext=c
39352 ac_cpp='$CPP $CPPFLAGS'
39353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39362 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39364 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39365 for ac_func in _finite
39366 do :
39367 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39368 if test "x$ac_cv_func__finite" = x""yes; then :
39369 cat >>confdefs.h <<_ACEOF
39370 #define HAVE__FINITE 1
39371 _ACEOF
39374 done
39383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39384 $as_echo_n "checking for sincos declaration... " >&6; }
39385 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39386 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39387 $as_echo_n "(cached) " >&6
39388 else
39391 ac_ext=cpp
39392 ac_cpp='$CXXCPP $CPPFLAGS'
39393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39398 /* end confdefs.h. */
39399 #include <math.h>
39401 main ()
39403 sincos(0, 0, 0);
39405 return 0;
39407 _ACEOF
39408 if ac_fn_cxx_try_compile "$LINENO"; then :
39409 glibcxx_cv_func_sincos_use=yes
39410 else
39411 glibcxx_cv_func_sincos_use=no
39413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39414 ac_ext=c
39415 ac_cpp='$CPP $CPPFLAGS'
39416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39425 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39427 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39428 for ac_func in sincos
39429 do :
39430 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39431 if test "x$ac_cv_func_sincos" = x""yes; then :
39432 cat >>confdefs.h <<_ACEOF
39433 #define HAVE_SINCOS 1
39434 _ACEOF
39437 done
39439 else
39441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39442 $as_echo_n "checking for _sincos declaration... " >&6; }
39443 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39444 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39445 $as_echo_n "(cached) " >&6
39446 else
39449 ac_ext=cpp
39450 ac_cpp='$CXXCPP $CPPFLAGS'
39451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39456 /* end confdefs.h. */
39457 #include <math.h>
39459 main ()
39461 _sincos(0, 0, 0);
39463 return 0;
39465 _ACEOF
39466 if ac_fn_cxx_try_compile "$LINENO"; then :
39467 glibcxx_cv_func__sincos_use=yes
39468 else
39469 glibcxx_cv_func__sincos_use=no
39471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39472 ac_ext=c
39473 ac_cpp='$CPP $CPPFLAGS'
39474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39483 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39485 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39486 for ac_func in _sincos
39487 do :
39488 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39489 if test "x$ac_cv_func__sincos" = x""yes; then :
39490 cat >>confdefs.h <<_ACEOF
39491 #define HAVE__SINCOS 1
39492 _ACEOF
39495 done
39504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39505 $as_echo_n "checking for fpclass declaration... " >&6; }
39506 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39507 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39508 $as_echo_n "(cached) " >&6
39509 else
39512 ac_ext=cpp
39513 ac_cpp='$CXXCPP $CPPFLAGS'
39514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39519 /* end confdefs.h. */
39520 #include <math.h>
39521 #ifdef HAVE_IEEEFP_H
39522 #include <ieeefp.h>
39523 #endif
39526 main ()
39528 fpclass(0);
39530 return 0;
39532 _ACEOF
39533 if ac_fn_cxx_try_compile "$LINENO"; then :
39534 glibcxx_cv_func_fpclass_use=yes
39535 else
39536 glibcxx_cv_func_fpclass_use=no
39538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39539 ac_ext=c
39540 ac_cpp='$CPP $CPPFLAGS'
39541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39550 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39552 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39553 for ac_func in fpclass
39554 do :
39555 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39556 if test "x$ac_cv_func_fpclass" = x""yes; then :
39557 cat >>confdefs.h <<_ACEOF
39558 #define HAVE_FPCLASS 1
39559 _ACEOF
39562 done
39564 else
39566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39567 $as_echo_n "checking for _fpclass declaration... " >&6; }
39568 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39569 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39570 $as_echo_n "(cached) " >&6
39571 else
39574 ac_ext=cpp
39575 ac_cpp='$CXXCPP $CPPFLAGS'
39576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39581 /* end confdefs.h. */
39582 #include <math.h>
39583 #ifdef HAVE_IEEEFP_H
39584 #include <ieeefp.h>
39585 #endif
39588 main ()
39590 _fpclass(0);
39592 return 0;
39594 _ACEOF
39595 if ac_fn_cxx_try_compile "$LINENO"; then :
39596 glibcxx_cv_func__fpclass_use=yes
39597 else
39598 glibcxx_cv_func__fpclass_use=no
39600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39601 ac_ext=c
39602 ac_cpp='$CPP $CPPFLAGS'
39603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39612 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39614 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39615 for ac_func in _fpclass
39616 do :
39617 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39618 if test "x$ac_cv_func__fpclass" = x""yes; then :
39619 cat >>confdefs.h <<_ACEOF
39620 #define HAVE__FPCLASS 1
39621 _ACEOF
39624 done
39633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39634 $as_echo_n "checking for qfpclass declaration... " >&6; }
39635 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39636 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39637 $as_echo_n "(cached) " >&6
39638 else
39641 ac_ext=cpp
39642 ac_cpp='$CXXCPP $CPPFLAGS'
39643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39648 /* end confdefs.h. */
39649 #include <math.h>
39650 #ifdef HAVE_IEEEFP_H
39651 #include <ieeefp.h>
39652 #endif
39655 main ()
39657 qfpclass(0);
39659 return 0;
39661 _ACEOF
39662 if ac_fn_cxx_try_compile "$LINENO"; then :
39663 glibcxx_cv_func_qfpclass_use=yes
39664 else
39665 glibcxx_cv_func_qfpclass_use=no
39667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39668 ac_ext=c
39669 ac_cpp='$CPP $CPPFLAGS'
39670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39679 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39681 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39682 for ac_func in qfpclass
39683 do :
39684 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39685 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39686 cat >>confdefs.h <<_ACEOF
39687 #define HAVE_QFPCLASS 1
39688 _ACEOF
39691 done
39693 else
39695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39696 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39697 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39698 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39699 $as_echo_n "(cached) " >&6
39700 else
39703 ac_ext=cpp
39704 ac_cpp='$CXXCPP $CPPFLAGS'
39705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39710 /* end confdefs.h. */
39711 #include <math.h>
39712 #ifdef HAVE_IEEEFP_H
39713 #include <ieeefp.h>
39714 #endif
39717 main ()
39719 _qfpclass(0);
39721 return 0;
39723 _ACEOF
39724 if ac_fn_cxx_try_compile "$LINENO"; then :
39725 glibcxx_cv_func__qfpclass_use=yes
39726 else
39727 glibcxx_cv_func__qfpclass_use=no
39729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39730 ac_ext=c
39731 ac_cpp='$CPP $CPPFLAGS'
39732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39741 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39743 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39744 for ac_func in _qfpclass
39745 do :
39746 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39747 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39748 cat >>confdefs.h <<_ACEOF
39749 #define HAVE__QFPCLASS 1
39750 _ACEOF
39753 done
39762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39763 $as_echo_n "checking for hypot declaration... " >&6; }
39764 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39765 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39766 $as_echo_n "(cached) " >&6
39767 else
39770 ac_ext=cpp
39771 ac_cpp='$CXXCPP $CPPFLAGS'
39772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39777 /* end confdefs.h. */
39778 #include <math.h>
39780 main ()
39782 hypot(0, 0);
39784 return 0;
39786 _ACEOF
39787 if ac_fn_cxx_try_compile "$LINENO"; then :
39788 glibcxx_cv_func_hypot_use=yes
39789 else
39790 glibcxx_cv_func_hypot_use=no
39792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39793 ac_ext=c
39794 ac_cpp='$CPP $CPPFLAGS'
39795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39804 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39806 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39807 for ac_func in hypot
39808 do :
39809 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39810 if test "x$ac_cv_func_hypot" = x""yes; then :
39811 cat >>confdefs.h <<_ACEOF
39812 #define HAVE_HYPOT 1
39813 _ACEOF
39816 done
39818 else
39820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39821 $as_echo_n "checking for _hypot declaration... " >&6; }
39822 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39823 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39824 $as_echo_n "(cached) " >&6
39825 else
39828 ac_ext=cpp
39829 ac_cpp='$CXXCPP $CPPFLAGS'
39830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39835 /* end confdefs.h. */
39836 #include <math.h>
39838 main ()
39840 _hypot(0, 0);
39842 return 0;
39844 _ACEOF
39845 if ac_fn_cxx_try_compile "$LINENO"; then :
39846 glibcxx_cv_func__hypot_use=yes
39847 else
39848 glibcxx_cv_func__hypot_use=no
39850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39851 ac_ext=c
39852 ac_cpp='$CPP $CPPFLAGS'
39853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39862 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39864 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39865 for ac_func in _hypot
39866 do :
39867 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39868 if test "x$ac_cv_func__hypot" = x""yes; then :
39869 cat >>confdefs.h <<_ACEOF
39870 #define HAVE__HYPOT 1
39871 _ACEOF
39874 done
39883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39884 $as_echo_n "checking for float trig functions... " >&6; }
39885 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39886 $as_echo_n "(cached) " >&6
39887 else
39890 ac_ext=cpp
39891 ac_cpp='$CXXCPP $CPPFLAGS'
39892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39897 /* end confdefs.h. */
39898 #include <math.h>
39900 main ()
39902 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39904 return 0;
39906 _ACEOF
39907 if ac_fn_cxx_try_compile "$LINENO"; then :
39908 glibcxx_cv_func_float_trig_use=yes
39909 else
39910 glibcxx_cv_func_float_trig_use=no
39912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39913 ac_ext=c
39914 ac_cpp='$CPP $CPPFLAGS'
39915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39922 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39923 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39924 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39925 do :
39926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39928 eval as_val=\$$as_ac_var
39929 if test "x$as_val" = x""yes; then :
39930 cat >>confdefs.h <<_ACEOF
39931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39932 _ACEOF
39935 done
39937 else
39938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39939 $as_echo_n "checking for _float trig functions... " >&6; }
39940 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39941 $as_echo_n "(cached) " >&6
39942 else
39945 ac_ext=cpp
39946 ac_cpp='$CXXCPP $CPPFLAGS'
39947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39952 /* end confdefs.h. */
39953 #include <math.h>
39955 main ()
39957 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39959 return 0;
39961 _ACEOF
39962 if ac_fn_cxx_try_compile "$LINENO"; then :
39963 glibcxx_cv_func__float_trig_use=yes
39964 else
39965 glibcxx_cv_func__float_trig_use=no
39967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39968 ac_ext=c
39969 ac_cpp='$CPP $CPPFLAGS'
39970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39977 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39978 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39979 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39980 do :
39981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39983 eval as_val=\$$as_ac_var
39984 if test "x$as_val" = x""yes; then :
39985 cat >>confdefs.h <<_ACEOF
39986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39987 _ACEOF
39990 done
39999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40000 $as_echo_n "checking for float round functions... " >&6; }
40001 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40002 $as_echo_n "(cached) " >&6
40003 else
40006 ac_ext=cpp
40007 ac_cpp='$CXXCPP $CPPFLAGS'
40008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40013 /* end confdefs.h. */
40014 #include <math.h>
40016 main ()
40018 ceilf (0); floorf (0);
40020 return 0;
40022 _ACEOF
40023 if ac_fn_cxx_try_compile "$LINENO"; then :
40024 glibcxx_cv_func_float_round_use=yes
40025 else
40026 glibcxx_cv_func_float_round_use=no
40028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40029 ac_ext=c
40030 ac_cpp='$CPP $CPPFLAGS'
40031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40038 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40039 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40040 for ac_func in ceilf floorf
40041 do :
40042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40044 eval as_val=\$$as_ac_var
40045 if test "x$as_val" = x""yes; then :
40046 cat >>confdefs.h <<_ACEOF
40047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40048 _ACEOF
40051 done
40053 else
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40055 $as_echo_n "checking for _float round functions... " >&6; }
40056 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40057 $as_echo_n "(cached) " >&6
40058 else
40061 ac_ext=cpp
40062 ac_cpp='$CXXCPP $CPPFLAGS'
40063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40068 /* end confdefs.h. */
40069 #include <math.h>
40071 main ()
40073 _ceilf (0); _floorf (0);
40075 return 0;
40077 _ACEOF
40078 if ac_fn_cxx_try_compile "$LINENO"; then :
40079 glibcxx_cv_func__float_round_use=yes
40080 else
40081 glibcxx_cv_func__float_round_use=no
40083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40084 ac_ext=c
40085 ac_cpp='$CPP $CPPFLAGS'
40086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40093 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40094 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40095 for ac_func in _ceilf _floorf
40096 do :
40097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40099 eval as_val=\$$as_ac_var
40100 if test "x$as_val" = x""yes; then :
40101 cat >>confdefs.h <<_ACEOF
40102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40103 _ACEOF
40106 done
40116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40117 $as_echo_n "checking for expf declaration... " >&6; }
40118 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40119 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40120 $as_echo_n "(cached) " >&6
40121 else
40124 ac_ext=cpp
40125 ac_cpp='$CXXCPP $CPPFLAGS'
40126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40131 /* end confdefs.h. */
40132 #include <math.h>
40133 #ifdef HAVE_IEEEFP_H
40134 #include <ieeefp.h>
40135 #endif
40138 main ()
40140 expf(0);
40142 return 0;
40144 _ACEOF
40145 if ac_fn_cxx_try_compile "$LINENO"; then :
40146 glibcxx_cv_func_expf_use=yes
40147 else
40148 glibcxx_cv_func_expf_use=no
40150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40151 ac_ext=c
40152 ac_cpp='$CPP $CPPFLAGS'
40153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40162 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40164 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40165 for ac_func in expf
40166 do :
40167 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40168 if test "x$ac_cv_func_expf" = x""yes; then :
40169 cat >>confdefs.h <<_ACEOF
40170 #define HAVE_EXPF 1
40171 _ACEOF
40174 done
40176 else
40178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40179 $as_echo_n "checking for _expf declaration... " >&6; }
40180 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40181 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40182 $as_echo_n "(cached) " >&6
40183 else
40186 ac_ext=cpp
40187 ac_cpp='$CXXCPP $CPPFLAGS'
40188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40193 /* end confdefs.h. */
40194 #include <math.h>
40195 #ifdef HAVE_IEEEFP_H
40196 #include <ieeefp.h>
40197 #endif
40200 main ()
40202 _expf(0);
40204 return 0;
40206 _ACEOF
40207 if ac_fn_cxx_try_compile "$LINENO"; then :
40208 glibcxx_cv_func__expf_use=yes
40209 else
40210 glibcxx_cv_func__expf_use=no
40212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40213 ac_ext=c
40214 ac_cpp='$CPP $CPPFLAGS'
40215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40224 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40226 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40227 for ac_func in _expf
40228 do :
40229 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40230 if test "x$ac_cv_func__expf" = x""yes; then :
40231 cat >>confdefs.h <<_ACEOF
40232 #define HAVE__EXPF 1
40233 _ACEOF
40236 done
40245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40246 $as_echo_n "checking for isnanf declaration... " >&6; }
40247 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40248 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40249 $as_echo_n "(cached) " >&6
40250 else
40253 ac_ext=cpp
40254 ac_cpp='$CXXCPP $CPPFLAGS'
40255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40260 /* end confdefs.h. */
40261 #include <math.h>
40262 #ifdef HAVE_IEEEFP_H
40263 #include <ieeefp.h>
40264 #endif
40267 main ()
40269 isnanf(0);
40271 return 0;
40273 _ACEOF
40274 if ac_fn_cxx_try_compile "$LINENO"; then :
40275 glibcxx_cv_func_isnanf_use=yes
40276 else
40277 glibcxx_cv_func_isnanf_use=no
40279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40280 ac_ext=c
40281 ac_cpp='$CPP $CPPFLAGS'
40282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40291 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40293 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40294 for ac_func in isnanf
40295 do :
40296 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40297 if test "x$ac_cv_func_isnanf" = x""yes; then :
40298 cat >>confdefs.h <<_ACEOF
40299 #define HAVE_ISNANF 1
40300 _ACEOF
40303 done
40305 else
40307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40308 $as_echo_n "checking for _isnanf declaration... " >&6; }
40309 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40310 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40311 $as_echo_n "(cached) " >&6
40312 else
40315 ac_ext=cpp
40316 ac_cpp='$CXXCPP $CPPFLAGS'
40317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40322 /* end confdefs.h. */
40323 #include <math.h>
40324 #ifdef HAVE_IEEEFP_H
40325 #include <ieeefp.h>
40326 #endif
40329 main ()
40331 _isnanf(0);
40333 return 0;
40335 _ACEOF
40336 if ac_fn_cxx_try_compile "$LINENO"; then :
40337 glibcxx_cv_func__isnanf_use=yes
40338 else
40339 glibcxx_cv_func__isnanf_use=no
40341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40342 ac_ext=c
40343 ac_cpp='$CPP $CPPFLAGS'
40344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40353 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40355 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40356 for ac_func in _isnanf
40357 do :
40358 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40359 if test "x$ac_cv_func__isnanf" = x""yes; then :
40360 cat >>confdefs.h <<_ACEOF
40361 #define HAVE__ISNANF 1
40362 _ACEOF
40365 done
40374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40375 $as_echo_n "checking for isinff declaration... " >&6; }
40376 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40377 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40378 $as_echo_n "(cached) " >&6
40379 else
40382 ac_ext=cpp
40383 ac_cpp='$CXXCPP $CPPFLAGS'
40384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40389 /* end confdefs.h. */
40390 #include <math.h>
40391 #ifdef HAVE_IEEEFP_H
40392 #include <ieeefp.h>
40393 #endif
40396 main ()
40398 isinff(0);
40400 return 0;
40402 _ACEOF
40403 if ac_fn_cxx_try_compile "$LINENO"; then :
40404 glibcxx_cv_func_isinff_use=yes
40405 else
40406 glibcxx_cv_func_isinff_use=no
40408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40409 ac_ext=c
40410 ac_cpp='$CPP $CPPFLAGS'
40411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40420 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40422 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40423 for ac_func in isinff
40424 do :
40425 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40426 if test "x$ac_cv_func_isinff" = x""yes; then :
40427 cat >>confdefs.h <<_ACEOF
40428 #define HAVE_ISINFF 1
40429 _ACEOF
40432 done
40434 else
40436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40437 $as_echo_n "checking for _isinff declaration... " >&6; }
40438 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40439 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40440 $as_echo_n "(cached) " >&6
40441 else
40444 ac_ext=cpp
40445 ac_cpp='$CXXCPP $CPPFLAGS'
40446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40451 /* end confdefs.h. */
40452 #include <math.h>
40453 #ifdef HAVE_IEEEFP_H
40454 #include <ieeefp.h>
40455 #endif
40458 main ()
40460 _isinff(0);
40462 return 0;
40464 _ACEOF
40465 if ac_fn_cxx_try_compile "$LINENO"; then :
40466 glibcxx_cv_func__isinff_use=yes
40467 else
40468 glibcxx_cv_func__isinff_use=no
40470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40471 ac_ext=c
40472 ac_cpp='$CPP $CPPFLAGS'
40473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40482 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40484 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40485 for ac_func in _isinff
40486 do :
40487 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40488 if test "x$ac_cv_func__isinff" = x""yes; then :
40489 cat >>confdefs.h <<_ACEOF
40490 #define HAVE__ISINFF 1
40491 _ACEOF
40494 done
40503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40504 $as_echo_n "checking for atan2f declaration... " >&6; }
40505 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40506 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40507 $as_echo_n "(cached) " >&6
40508 else
40511 ac_ext=cpp
40512 ac_cpp='$CXXCPP $CPPFLAGS'
40513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40518 /* end confdefs.h. */
40519 #include <math.h>
40521 main ()
40523 atan2f(0, 0);
40525 return 0;
40527 _ACEOF
40528 if ac_fn_cxx_try_compile "$LINENO"; then :
40529 glibcxx_cv_func_atan2f_use=yes
40530 else
40531 glibcxx_cv_func_atan2f_use=no
40533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40534 ac_ext=c
40535 ac_cpp='$CPP $CPPFLAGS'
40536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40545 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40547 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40548 for ac_func in atan2f
40549 do :
40550 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40551 if test "x$ac_cv_func_atan2f" = x""yes; then :
40552 cat >>confdefs.h <<_ACEOF
40553 #define HAVE_ATAN2F 1
40554 _ACEOF
40557 done
40559 else
40561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40562 $as_echo_n "checking for _atan2f declaration... " >&6; }
40563 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40564 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40565 $as_echo_n "(cached) " >&6
40566 else
40569 ac_ext=cpp
40570 ac_cpp='$CXXCPP $CPPFLAGS'
40571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40576 /* end confdefs.h. */
40577 #include <math.h>
40579 main ()
40581 _atan2f(0, 0);
40583 return 0;
40585 _ACEOF
40586 if ac_fn_cxx_try_compile "$LINENO"; then :
40587 glibcxx_cv_func__atan2f_use=yes
40588 else
40589 glibcxx_cv_func__atan2f_use=no
40591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40592 ac_ext=c
40593 ac_cpp='$CPP $CPPFLAGS'
40594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40603 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40605 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40606 for ac_func in _atan2f
40607 do :
40608 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40609 if test "x$ac_cv_func__atan2f" = x""yes; then :
40610 cat >>confdefs.h <<_ACEOF
40611 #define HAVE__ATAN2F 1
40612 _ACEOF
40615 done
40624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40625 $as_echo_n "checking for fabsf declaration... " >&6; }
40626 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40627 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40628 $as_echo_n "(cached) " >&6
40629 else
40632 ac_ext=cpp
40633 ac_cpp='$CXXCPP $CPPFLAGS'
40634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40639 /* end confdefs.h. */
40640 #include <math.h>
40641 #ifdef HAVE_IEEEFP_H
40642 #include <ieeefp.h>
40643 #endif
40646 main ()
40648 fabsf(0);
40650 return 0;
40652 _ACEOF
40653 if ac_fn_cxx_try_compile "$LINENO"; then :
40654 glibcxx_cv_func_fabsf_use=yes
40655 else
40656 glibcxx_cv_func_fabsf_use=no
40658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40659 ac_ext=c
40660 ac_cpp='$CPP $CPPFLAGS'
40661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40670 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40672 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40673 for ac_func in fabsf
40674 do :
40675 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40676 if test "x$ac_cv_func_fabsf" = x""yes; then :
40677 cat >>confdefs.h <<_ACEOF
40678 #define HAVE_FABSF 1
40679 _ACEOF
40682 done
40684 else
40686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40687 $as_echo_n "checking for _fabsf declaration... " >&6; }
40688 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40689 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40690 $as_echo_n "(cached) " >&6
40691 else
40694 ac_ext=cpp
40695 ac_cpp='$CXXCPP $CPPFLAGS'
40696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40701 /* end confdefs.h. */
40702 #include <math.h>
40703 #ifdef HAVE_IEEEFP_H
40704 #include <ieeefp.h>
40705 #endif
40708 main ()
40710 _fabsf(0);
40712 return 0;
40714 _ACEOF
40715 if ac_fn_cxx_try_compile "$LINENO"; then :
40716 glibcxx_cv_func__fabsf_use=yes
40717 else
40718 glibcxx_cv_func__fabsf_use=no
40720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40721 ac_ext=c
40722 ac_cpp='$CPP $CPPFLAGS'
40723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40732 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40734 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40735 for ac_func in _fabsf
40736 do :
40737 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40738 if test "x$ac_cv_func__fabsf" = x""yes; then :
40739 cat >>confdefs.h <<_ACEOF
40740 #define HAVE__FABSF 1
40741 _ACEOF
40744 done
40753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40754 $as_echo_n "checking for fmodf declaration... " >&6; }
40755 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40756 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40757 $as_echo_n "(cached) " >&6
40758 else
40761 ac_ext=cpp
40762 ac_cpp='$CXXCPP $CPPFLAGS'
40763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40768 /* end confdefs.h. */
40769 #include <math.h>
40771 main ()
40773 fmodf(0, 0);
40775 return 0;
40777 _ACEOF
40778 if ac_fn_cxx_try_compile "$LINENO"; then :
40779 glibcxx_cv_func_fmodf_use=yes
40780 else
40781 glibcxx_cv_func_fmodf_use=no
40783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40784 ac_ext=c
40785 ac_cpp='$CPP $CPPFLAGS'
40786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40795 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40797 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40798 for ac_func in fmodf
40799 do :
40800 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40801 if test "x$ac_cv_func_fmodf" = x""yes; then :
40802 cat >>confdefs.h <<_ACEOF
40803 #define HAVE_FMODF 1
40804 _ACEOF
40807 done
40809 else
40811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40812 $as_echo_n "checking for _fmodf declaration... " >&6; }
40813 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40814 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40815 $as_echo_n "(cached) " >&6
40816 else
40819 ac_ext=cpp
40820 ac_cpp='$CXXCPP $CPPFLAGS'
40821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40826 /* end confdefs.h. */
40827 #include <math.h>
40829 main ()
40831 _fmodf(0, 0);
40833 return 0;
40835 _ACEOF
40836 if ac_fn_cxx_try_compile "$LINENO"; then :
40837 glibcxx_cv_func__fmodf_use=yes
40838 else
40839 glibcxx_cv_func__fmodf_use=no
40841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40842 ac_ext=c
40843 ac_cpp='$CPP $CPPFLAGS'
40844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40853 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40855 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40856 for ac_func in _fmodf
40857 do :
40858 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40859 if test "x$ac_cv_func__fmodf" = x""yes; then :
40860 cat >>confdefs.h <<_ACEOF
40861 #define HAVE__FMODF 1
40862 _ACEOF
40865 done
40874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40875 $as_echo_n "checking for frexpf declaration... " >&6; }
40876 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40877 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40878 $as_echo_n "(cached) " >&6
40879 else
40882 ac_ext=cpp
40883 ac_cpp='$CXXCPP $CPPFLAGS'
40884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40889 /* end confdefs.h. */
40890 #include <math.h>
40892 main ()
40894 frexpf(0, 0);
40896 return 0;
40898 _ACEOF
40899 if ac_fn_cxx_try_compile "$LINENO"; then :
40900 glibcxx_cv_func_frexpf_use=yes
40901 else
40902 glibcxx_cv_func_frexpf_use=no
40904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40905 ac_ext=c
40906 ac_cpp='$CPP $CPPFLAGS'
40907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40916 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40918 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40919 for ac_func in frexpf
40920 do :
40921 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40922 if test "x$ac_cv_func_frexpf" = x""yes; then :
40923 cat >>confdefs.h <<_ACEOF
40924 #define HAVE_FREXPF 1
40925 _ACEOF
40928 done
40930 else
40932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40933 $as_echo_n "checking for _frexpf declaration... " >&6; }
40934 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40935 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40936 $as_echo_n "(cached) " >&6
40937 else
40940 ac_ext=cpp
40941 ac_cpp='$CXXCPP $CPPFLAGS'
40942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40947 /* end confdefs.h. */
40948 #include <math.h>
40950 main ()
40952 _frexpf(0, 0);
40954 return 0;
40956 _ACEOF
40957 if ac_fn_cxx_try_compile "$LINENO"; then :
40958 glibcxx_cv_func__frexpf_use=yes
40959 else
40960 glibcxx_cv_func__frexpf_use=no
40962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40963 ac_ext=c
40964 ac_cpp='$CPP $CPPFLAGS'
40965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40974 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40976 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40977 for ac_func in _frexpf
40978 do :
40979 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40980 if test "x$ac_cv_func__frexpf" = x""yes; then :
40981 cat >>confdefs.h <<_ACEOF
40982 #define HAVE__FREXPF 1
40983 _ACEOF
40986 done
40995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40996 $as_echo_n "checking for hypotf declaration... " >&6; }
40997 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40998 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40999 $as_echo_n "(cached) " >&6
41000 else
41003 ac_ext=cpp
41004 ac_cpp='$CXXCPP $CPPFLAGS'
41005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41010 /* end confdefs.h. */
41011 #include <math.h>
41013 main ()
41015 hypotf(0, 0);
41017 return 0;
41019 _ACEOF
41020 if ac_fn_cxx_try_compile "$LINENO"; then :
41021 glibcxx_cv_func_hypotf_use=yes
41022 else
41023 glibcxx_cv_func_hypotf_use=no
41025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41026 ac_ext=c
41027 ac_cpp='$CPP $CPPFLAGS'
41028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41037 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41039 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41040 for ac_func in hypotf
41041 do :
41042 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41043 if test "x$ac_cv_func_hypotf" = x""yes; then :
41044 cat >>confdefs.h <<_ACEOF
41045 #define HAVE_HYPOTF 1
41046 _ACEOF
41049 done
41051 else
41053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41054 $as_echo_n "checking for _hypotf declaration... " >&6; }
41055 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41056 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41057 $as_echo_n "(cached) " >&6
41058 else
41061 ac_ext=cpp
41062 ac_cpp='$CXXCPP $CPPFLAGS'
41063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41068 /* end confdefs.h. */
41069 #include <math.h>
41071 main ()
41073 _hypotf(0, 0);
41075 return 0;
41077 _ACEOF
41078 if ac_fn_cxx_try_compile "$LINENO"; then :
41079 glibcxx_cv_func__hypotf_use=yes
41080 else
41081 glibcxx_cv_func__hypotf_use=no
41083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41084 ac_ext=c
41085 ac_cpp='$CPP $CPPFLAGS'
41086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41095 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41097 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41098 for ac_func in _hypotf
41099 do :
41100 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41101 if test "x$ac_cv_func__hypotf" = x""yes; then :
41102 cat >>confdefs.h <<_ACEOF
41103 #define HAVE__HYPOTF 1
41104 _ACEOF
41107 done
41116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41117 $as_echo_n "checking for ldexpf declaration... " >&6; }
41118 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41119 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41120 $as_echo_n "(cached) " >&6
41121 else
41124 ac_ext=cpp
41125 ac_cpp='$CXXCPP $CPPFLAGS'
41126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41131 /* end confdefs.h. */
41132 #include <math.h>
41134 main ()
41136 ldexpf(0, 0);
41138 return 0;
41140 _ACEOF
41141 if ac_fn_cxx_try_compile "$LINENO"; then :
41142 glibcxx_cv_func_ldexpf_use=yes
41143 else
41144 glibcxx_cv_func_ldexpf_use=no
41146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41147 ac_ext=c
41148 ac_cpp='$CPP $CPPFLAGS'
41149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41158 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41160 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41161 for ac_func in ldexpf
41162 do :
41163 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41164 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41165 cat >>confdefs.h <<_ACEOF
41166 #define HAVE_LDEXPF 1
41167 _ACEOF
41170 done
41172 else
41174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41175 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41176 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41177 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41178 $as_echo_n "(cached) " >&6
41179 else
41182 ac_ext=cpp
41183 ac_cpp='$CXXCPP $CPPFLAGS'
41184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41189 /* end confdefs.h. */
41190 #include <math.h>
41192 main ()
41194 _ldexpf(0, 0);
41196 return 0;
41198 _ACEOF
41199 if ac_fn_cxx_try_compile "$LINENO"; then :
41200 glibcxx_cv_func__ldexpf_use=yes
41201 else
41202 glibcxx_cv_func__ldexpf_use=no
41204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41205 ac_ext=c
41206 ac_cpp='$CPP $CPPFLAGS'
41207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41216 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41218 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41219 for ac_func in _ldexpf
41220 do :
41221 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41222 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41223 cat >>confdefs.h <<_ACEOF
41224 #define HAVE__LDEXPF 1
41225 _ACEOF
41228 done
41237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41238 $as_echo_n "checking for logf declaration... " >&6; }
41239 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41240 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41241 $as_echo_n "(cached) " >&6
41242 else
41245 ac_ext=cpp
41246 ac_cpp='$CXXCPP $CPPFLAGS'
41247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41252 /* end confdefs.h. */
41253 #include <math.h>
41254 #ifdef HAVE_IEEEFP_H
41255 #include <ieeefp.h>
41256 #endif
41259 main ()
41261 logf(0);
41263 return 0;
41265 _ACEOF
41266 if ac_fn_cxx_try_compile "$LINENO"; then :
41267 glibcxx_cv_func_logf_use=yes
41268 else
41269 glibcxx_cv_func_logf_use=no
41271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41272 ac_ext=c
41273 ac_cpp='$CPP $CPPFLAGS'
41274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41283 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41285 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41286 for ac_func in logf
41287 do :
41288 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41289 if test "x$ac_cv_func_logf" = x""yes; then :
41290 cat >>confdefs.h <<_ACEOF
41291 #define HAVE_LOGF 1
41292 _ACEOF
41295 done
41297 else
41299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41300 $as_echo_n "checking for _logf declaration... " >&6; }
41301 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41302 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41303 $as_echo_n "(cached) " >&6
41304 else
41307 ac_ext=cpp
41308 ac_cpp='$CXXCPP $CPPFLAGS'
41309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41314 /* end confdefs.h. */
41315 #include <math.h>
41316 #ifdef HAVE_IEEEFP_H
41317 #include <ieeefp.h>
41318 #endif
41321 main ()
41323 _logf(0);
41325 return 0;
41327 _ACEOF
41328 if ac_fn_cxx_try_compile "$LINENO"; then :
41329 glibcxx_cv_func__logf_use=yes
41330 else
41331 glibcxx_cv_func__logf_use=no
41333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41334 ac_ext=c
41335 ac_cpp='$CPP $CPPFLAGS'
41336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41345 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41347 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41348 for ac_func in _logf
41349 do :
41350 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41351 if test "x$ac_cv_func__logf" = x""yes; then :
41352 cat >>confdefs.h <<_ACEOF
41353 #define HAVE__LOGF 1
41354 _ACEOF
41357 done
41366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41367 $as_echo_n "checking for log10f declaration... " >&6; }
41368 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41369 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41370 $as_echo_n "(cached) " >&6
41371 else
41374 ac_ext=cpp
41375 ac_cpp='$CXXCPP $CPPFLAGS'
41376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41381 /* end confdefs.h. */
41382 #include <math.h>
41383 #ifdef HAVE_IEEEFP_H
41384 #include <ieeefp.h>
41385 #endif
41388 main ()
41390 log10f(0);
41392 return 0;
41394 _ACEOF
41395 if ac_fn_cxx_try_compile "$LINENO"; then :
41396 glibcxx_cv_func_log10f_use=yes
41397 else
41398 glibcxx_cv_func_log10f_use=no
41400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41401 ac_ext=c
41402 ac_cpp='$CPP $CPPFLAGS'
41403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41412 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41414 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41415 for ac_func in log10f
41416 do :
41417 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41418 if test "x$ac_cv_func_log10f" = x""yes; then :
41419 cat >>confdefs.h <<_ACEOF
41420 #define HAVE_LOG10F 1
41421 _ACEOF
41424 done
41426 else
41428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41429 $as_echo_n "checking for _log10f declaration... " >&6; }
41430 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41431 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41432 $as_echo_n "(cached) " >&6
41433 else
41436 ac_ext=cpp
41437 ac_cpp='$CXXCPP $CPPFLAGS'
41438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41443 /* end confdefs.h. */
41444 #include <math.h>
41445 #ifdef HAVE_IEEEFP_H
41446 #include <ieeefp.h>
41447 #endif
41450 main ()
41452 _log10f(0);
41454 return 0;
41456 _ACEOF
41457 if ac_fn_cxx_try_compile "$LINENO"; then :
41458 glibcxx_cv_func__log10f_use=yes
41459 else
41460 glibcxx_cv_func__log10f_use=no
41462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41463 ac_ext=c
41464 ac_cpp='$CPP $CPPFLAGS'
41465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41474 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41476 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41477 for ac_func in _log10f
41478 do :
41479 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41480 if test "x$ac_cv_func__log10f" = x""yes; then :
41481 cat >>confdefs.h <<_ACEOF
41482 #define HAVE__LOG10F 1
41483 _ACEOF
41486 done
41495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41496 $as_echo_n "checking for modff declaration... " >&6; }
41497 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41498 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41499 $as_echo_n "(cached) " >&6
41500 else
41503 ac_ext=cpp
41504 ac_cpp='$CXXCPP $CPPFLAGS'
41505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41510 /* end confdefs.h. */
41511 #include <math.h>
41513 main ()
41515 modff(0, 0);
41517 return 0;
41519 _ACEOF
41520 if ac_fn_cxx_try_compile "$LINENO"; then :
41521 glibcxx_cv_func_modff_use=yes
41522 else
41523 glibcxx_cv_func_modff_use=no
41525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41526 ac_ext=c
41527 ac_cpp='$CPP $CPPFLAGS'
41528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41537 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41539 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41540 for ac_func in modff
41541 do :
41542 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41543 if test "x$ac_cv_func_modff" = x""yes; then :
41544 cat >>confdefs.h <<_ACEOF
41545 #define HAVE_MODFF 1
41546 _ACEOF
41549 done
41551 else
41553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41554 $as_echo_n "checking for _modff declaration... " >&6; }
41555 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41556 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41557 $as_echo_n "(cached) " >&6
41558 else
41561 ac_ext=cpp
41562 ac_cpp='$CXXCPP $CPPFLAGS'
41563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41568 /* end confdefs.h. */
41569 #include <math.h>
41571 main ()
41573 _modff(0, 0);
41575 return 0;
41577 _ACEOF
41578 if ac_fn_cxx_try_compile "$LINENO"; then :
41579 glibcxx_cv_func__modff_use=yes
41580 else
41581 glibcxx_cv_func__modff_use=no
41583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41584 ac_ext=c
41585 ac_cpp='$CPP $CPPFLAGS'
41586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41595 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41597 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41598 for ac_func in _modff
41599 do :
41600 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41601 if test "x$ac_cv_func__modff" = x""yes; then :
41602 cat >>confdefs.h <<_ACEOF
41603 #define HAVE__MODFF 1
41604 _ACEOF
41607 done
41616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41617 $as_echo_n "checking for modf declaration... " >&6; }
41618 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41619 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41620 $as_echo_n "(cached) " >&6
41621 else
41624 ac_ext=cpp
41625 ac_cpp='$CXXCPP $CPPFLAGS'
41626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41631 /* end confdefs.h. */
41632 #include <math.h>
41634 main ()
41636 modf(0, 0);
41638 return 0;
41640 _ACEOF
41641 if ac_fn_cxx_try_compile "$LINENO"; then :
41642 glibcxx_cv_func_modf_use=yes
41643 else
41644 glibcxx_cv_func_modf_use=no
41646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41647 ac_ext=c
41648 ac_cpp='$CPP $CPPFLAGS'
41649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41658 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41660 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41661 for ac_func in modf
41662 do :
41663 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41664 if test "x$ac_cv_func_modf" = x""yes; then :
41665 cat >>confdefs.h <<_ACEOF
41666 #define HAVE_MODF 1
41667 _ACEOF
41670 done
41672 else
41674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41675 $as_echo_n "checking for _modf declaration... " >&6; }
41676 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41677 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41678 $as_echo_n "(cached) " >&6
41679 else
41682 ac_ext=cpp
41683 ac_cpp='$CXXCPP $CPPFLAGS'
41684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41689 /* end confdefs.h. */
41690 #include <math.h>
41692 main ()
41694 _modf(0, 0);
41696 return 0;
41698 _ACEOF
41699 if ac_fn_cxx_try_compile "$LINENO"; then :
41700 glibcxx_cv_func__modf_use=yes
41701 else
41702 glibcxx_cv_func__modf_use=no
41704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41705 ac_ext=c
41706 ac_cpp='$CPP $CPPFLAGS'
41707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41716 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41718 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41719 for ac_func in _modf
41720 do :
41721 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41722 if test "x$ac_cv_func__modf" = x""yes; then :
41723 cat >>confdefs.h <<_ACEOF
41724 #define HAVE__MODF 1
41725 _ACEOF
41728 done
41737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41738 $as_echo_n "checking for powf declaration... " >&6; }
41739 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41740 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41741 $as_echo_n "(cached) " >&6
41742 else
41745 ac_ext=cpp
41746 ac_cpp='$CXXCPP $CPPFLAGS'
41747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41752 /* end confdefs.h. */
41753 #include <math.h>
41755 main ()
41757 powf(0, 0);
41759 return 0;
41761 _ACEOF
41762 if ac_fn_cxx_try_compile "$LINENO"; then :
41763 glibcxx_cv_func_powf_use=yes
41764 else
41765 glibcxx_cv_func_powf_use=no
41767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41768 ac_ext=c
41769 ac_cpp='$CPP $CPPFLAGS'
41770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41779 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41781 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41782 for ac_func in powf
41783 do :
41784 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41785 if test "x$ac_cv_func_powf" = x""yes; then :
41786 cat >>confdefs.h <<_ACEOF
41787 #define HAVE_POWF 1
41788 _ACEOF
41791 done
41793 else
41795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41796 $as_echo_n "checking for _powf declaration... " >&6; }
41797 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41798 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41799 $as_echo_n "(cached) " >&6
41800 else
41803 ac_ext=cpp
41804 ac_cpp='$CXXCPP $CPPFLAGS'
41805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41810 /* end confdefs.h. */
41811 #include <math.h>
41813 main ()
41815 _powf(0, 0);
41817 return 0;
41819 _ACEOF
41820 if ac_fn_cxx_try_compile "$LINENO"; then :
41821 glibcxx_cv_func__powf_use=yes
41822 else
41823 glibcxx_cv_func__powf_use=no
41825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41826 ac_ext=c
41827 ac_cpp='$CPP $CPPFLAGS'
41828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41837 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41839 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41840 for ac_func in _powf
41841 do :
41842 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41843 if test "x$ac_cv_func__powf" = x""yes; then :
41844 cat >>confdefs.h <<_ACEOF
41845 #define HAVE__POWF 1
41846 _ACEOF
41849 done
41858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41859 $as_echo_n "checking for sqrtf declaration... " >&6; }
41860 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41861 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41862 $as_echo_n "(cached) " >&6
41863 else
41866 ac_ext=cpp
41867 ac_cpp='$CXXCPP $CPPFLAGS'
41868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41873 /* end confdefs.h. */
41874 #include <math.h>
41875 #ifdef HAVE_IEEEFP_H
41876 #include <ieeefp.h>
41877 #endif
41880 main ()
41882 sqrtf(0);
41884 return 0;
41886 _ACEOF
41887 if ac_fn_cxx_try_compile "$LINENO"; then :
41888 glibcxx_cv_func_sqrtf_use=yes
41889 else
41890 glibcxx_cv_func_sqrtf_use=no
41892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41893 ac_ext=c
41894 ac_cpp='$CPP $CPPFLAGS'
41895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41904 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41906 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41907 for ac_func in sqrtf
41908 do :
41909 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41910 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41911 cat >>confdefs.h <<_ACEOF
41912 #define HAVE_SQRTF 1
41913 _ACEOF
41916 done
41918 else
41920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41921 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41922 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41923 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41924 $as_echo_n "(cached) " >&6
41925 else
41928 ac_ext=cpp
41929 ac_cpp='$CXXCPP $CPPFLAGS'
41930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41935 /* end confdefs.h. */
41936 #include <math.h>
41937 #ifdef HAVE_IEEEFP_H
41938 #include <ieeefp.h>
41939 #endif
41942 main ()
41944 _sqrtf(0);
41946 return 0;
41948 _ACEOF
41949 if ac_fn_cxx_try_compile "$LINENO"; then :
41950 glibcxx_cv_func__sqrtf_use=yes
41951 else
41952 glibcxx_cv_func__sqrtf_use=no
41954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41955 ac_ext=c
41956 ac_cpp='$CPP $CPPFLAGS'
41957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41966 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41968 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41969 for ac_func in _sqrtf
41970 do :
41971 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41972 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41973 cat >>confdefs.h <<_ACEOF
41974 #define HAVE__SQRTF 1
41975 _ACEOF
41978 done
41987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41988 $as_echo_n "checking for sincosf declaration... " >&6; }
41989 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41990 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41991 $as_echo_n "(cached) " >&6
41992 else
41995 ac_ext=cpp
41996 ac_cpp='$CXXCPP $CPPFLAGS'
41997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42002 /* end confdefs.h. */
42003 #include <math.h>
42005 main ()
42007 sincosf(0, 0, 0);
42009 return 0;
42011 _ACEOF
42012 if ac_fn_cxx_try_compile "$LINENO"; then :
42013 glibcxx_cv_func_sincosf_use=yes
42014 else
42015 glibcxx_cv_func_sincosf_use=no
42017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42018 ac_ext=c
42019 ac_cpp='$CPP $CPPFLAGS'
42020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42029 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42031 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42032 for ac_func in sincosf
42033 do :
42034 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42035 if test "x$ac_cv_func_sincosf" = x""yes; then :
42036 cat >>confdefs.h <<_ACEOF
42037 #define HAVE_SINCOSF 1
42038 _ACEOF
42041 done
42043 else
42045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42046 $as_echo_n "checking for _sincosf declaration... " >&6; }
42047 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42048 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42049 $as_echo_n "(cached) " >&6
42050 else
42053 ac_ext=cpp
42054 ac_cpp='$CXXCPP $CPPFLAGS'
42055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42060 /* end confdefs.h. */
42061 #include <math.h>
42063 main ()
42065 _sincosf(0, 0, 0);
42067 return 0;
42069 _ACEOF
42070 if ac_fn_cxx_try_compile "$LINENO"; then :
42071 glibcxx_cv_func__sincosf_use=yes
42072 else
42073 glibcxx_cv_func__sincosf_use=no
42075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42076 ac_ext=c
42077 ac_cpp='$CPP $CPPFLAGS'
42078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42087 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42089 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42090 for ac_func in _sincosf
42091 do :
42092 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42093 if test "x$ac_cv_func__sincosf" = x""yes; then :
42094 cat >>confdefs.h <<_ACEOF
42095 #define HAVE__SINCOSF 1
42096 _ACEOF
42099 done
42108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42109 $as_echo_n "checking for finitef declaration... " >&6; }
42110 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42111 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42112 $as_echo_n "(cached) " >&6
42113 else
42116 ac_ext=cpp
42117 ac_cpp='$CXXCPP $CPPFLAGS'
42118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42123 /* end confdefs.h. */
42124 #include <math.h>
42125 #ifdef HAVE_IEEEFP_H
42126 #include <ieeefp.h>
42127 #endif
42130 main ()
42132 finitef(0);
42134 return 0;
42136 _ACEOF
42137 if ac_fn_cxx_try_compile "$LINENO"; then :
42138 glibcxx_cv_func_finitef_use=yes
42139 else
42140 glibcxx_cv_func_finitef_use=no
42142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42143 ac_ext=c
42144 ac_cpp='$CPP $CPPFLAGS'
42145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42154 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42156 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42157 for ac_func in finitef
42158 do :
42159 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42160 if test "x$ac_cv_func_finitef" = x""yes; then :
42161 cat >>confdefs.h <<_ACEOF
42162 #define HAVE_FINITEF 1
42163 _ACEOF
42166 done
42168 else
42170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42171 $as_echo_n "checking for _finitef declaration... " >&6; }
42172 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42173 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42174 $as_echo_n "(cached) " >&6
42175 else
42178 ac_ext=cpp
42179 ac_cpp='$CXXCPP $CPPFLAGS'
42180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42185 /* end confdefs.h. */
42186 #include <math.h>
42187 #ifdef HAVE_IEEEFP_H
42188 #include <ieeefp.h>
42189 #endif
42192 main ()
42194 _finitef(0);
42196 return 0;
42198 _ACEOF
42199 if ac_fn_cxx_try_compile "$LINENO"; then :
42200 glibcxx_cv_func__finitef_use=yes
42201 else
42202 glibcxx_cv_func__finitef_use=no
42204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42205 ac_ext=c
42206 ac_cpp='$CPP $CPPFLAGS'
42207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42216 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42218 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42219 for ac_func in _finitef
42220 do :
42221 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42222 if test "x$ac_cv_func__finitef" = x""yes; then :
42223 cat >>confdefs.h <<_ACEOF
42224 #define HAVE__FINITEF 1
42225 _ACEOF
42228 done
42237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42238 $as_echo_n "checking for long double trig functions... " >&6; }
42239 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42240 $as_echo_n "(cached) " >&6
42241 else
42244 ac_ext=cpp
42245 ac_cpp='$CXXCPP $CPPFLAGS'
42246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42251 /* end confdefs.h. */
42252 #include <math.h>
42254 main ()
42256 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42258 return 0;
42260 _ACEOF
42261 if ac_fn_cxx_try_compile "$LINENO"; then :
42262 glibcxx_cv_func_long_double_trig_use=yes
42263 else
42264 glibcxx_cv_func_long_double_trig_use=no
42266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42267 ac_ext=c
42268 ac_cpp='$CPP $CPPFLAGS'
42269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42276 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42277 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42278 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42279 do :
42280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42282 eval as_val=\$$as_ac_var
42283 if test "x$as_val" = x""yes; then :
42284 cat >>confdefs.h <<_ACEOF
42285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42286 _ACEOF
42289 done
42291 else
42292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42293 $as_echo_n "checking for _long double trig functions... " >&6; }
42294 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42295 $as_echo_n "(cached) " >&6
42296 else
42299 ac_ext=cpp
42300 ac_cpp='$CXXCPP $CPPFLAGS'
42301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42306 /* end confdefs.h. */
42307 #include <math.h>
42309 main ()
42311 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42313 return 0;
42315 _ACEOF
42316 if ac_fn_cxx_try_compile "$LINENO"; then :
42317 glibcxx_cv_func__long_double_trig_use=yes
42318 else
42319 glibcxx_cv_func__long_double_trig_use=no
42321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42322 ac_ext=c
42323 ac_cpp='$CPP $CPPFLAGS'
42324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42331 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42332 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42333 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42334 do :
42335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42337 eval as_val=\$$as_ac_var
42338 if test "x$as_val" = x""yes; then :
42339 cat >>confdefs.h <<_ACEOF
42340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42341 _ACEOF
42344 done
42353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42354 $as_echo_n "checking for long double round functions... " >&6; }
42355 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42356 $as_echo_n "(cached) " >&6
42357 else
42360 ac_ext=cpp
42361 ac_cpp='$CXXCPP $CPPFLAGS'
42362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42367 /* end confdefs.h. */
42368 #include <math.h>
42370 main ()
42372 ceill (0); floorl (0);
42374 return 0;
42376 _ACEOF
42377 if ac_fn_cxx_try_compile "$LINENO"; then :
42378 glibcxx_cv_func_long_double_round_use=yes
42379 else
42380 glibcxx_cv_func_long_double_round_use=no
42382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42383 ac_ext=c
42384 ac_cpp='$CPP $CPPFLAGS'
42385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42392 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42393 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42394 for ac_func in ceill floorl
42395 do :
42396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42398 eval as_val=\$$as_ac_var
42399 if test "x$as_val" = x""yes; then :
42400 cat >>confdefs.h <<_ACEOF
42401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42402 _ACEOF
42405 done
42407 else
42408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42409 $as_echo_n "checking for _long double round functions... " >&6; }
42410 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42411 $as_echo_n "(cached) " >&6
42412 else
42415 ac_ext=cpp
42416 ac_cpp='$CXXCPP $CPPFLAGS'
42417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42422 /* end confdefs.h. */
42423 #include <math.h>
42425 main ()
42427 _ceill (0); _floorl (0);
42429 return 0;
42431 _ACEOF
42432 if ac_fn_cxx_try_compile "$LINENO"; then :
42433 glibcxx_cv_func__long_double_round_use=yes
42434 else
42435 glibcxx_cv_func__long_double_round_use=no
42437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42438 ac_ext=c
42439 ac_cpp='$CPP $CPPFLAGS'
42440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42447 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42448 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42449 for ac_func in _ceill _floorl
42450 do :
42451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42453 eval as_val=\$$as_ac_var
42454 if test "x$as_val" = x""yes; then :
42455 cat >>confdefs.h <<_ACEOF
42456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42457 _ACEOF
42460 done
42470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42471 $as_echo_n "checking for isnanl declaration... " >&6; }
42472 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42473 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42474 $as_echo_n "(cached) " >&6
42475 else
42478 ac_ext=cpp
42479 ac_cpp='$CXXCPP $CPPFLAGS'
42480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42485 /* end confdefs.h. */
42486 #include <math.h>
42487 #ifdef HAVE_IEEEFP_H
42488 #include <ieeefp.h>
42489 #endif
42492 main ()
42494 isnanl(0);
42496 return 0;
42498 _ACEOF
42499 if ac_fn_cxx_try_compile "$LINENO"; then :
42500 glibcxx_cv_func_isnanl_use=yes
42501 else
42502 glibcxx_cv_func_isnanl_use=no
42504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42505 ac_ext=c
42506 ac_cpp='$CPP $CPPFLAGS'
42507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42516 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42518 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42519 for ac_func in isnanl
42520 do :
42521 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42522 if test "x$ac_cv_func_isnanl" = x""yes; then :
42523 cat >>confdefs.h <<_ACEOF
42524 #define HAVE_ISNANL 1
42525 _ACEOF
42528 done
42530 else
42532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42533 $as_echo_n "checking for _isnanl declaration... " >&6; }
42534 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42535 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42536 $as_echo_n "(cached) " >&6
42537 else
42540 ac_ext=cpp
42541 ac_cpp='$CXXCPP $CPPFLAGS'
42542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42547 /* end confdefs.h. */
42548 #include <math.h>
42549 #ifdef HAVE_IEEEFP_H
42550 #include <ieeefp.h>
42551 #endif
42554 main ()
42556 _isnanl(0);
42558 return 0;
42560 _ACEOF
42561 if ac_fn_cxx_try_compile "$LINENO"; then :
42562 glibcxx_cv_func__isnanl_use=yes
42563 else
42564 glibcxx_cv_func__isnanl_use=no
42566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42567 ac_ext=c
42568 ac_cpp='$CPP $CPPFLAGS'
42569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42578 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42580 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42581 for ac_func in _isnanl
42582 do :
42583 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42584 if test "x$ac_cv_func__isnanl" = x""yes; then :
42585 cat >>confdefs.h <<_ACEOF
42586 #define HAVE__ISNANL 1
42587 _ACEOF
42590 done
42599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42600 $as_echo_n "checking for isinfl declaration... " >&6; }
42601 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42602 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42603 $as_echo_n "(cached) " >&6
42604 else
42607 ac_ext=cpp
42608 ac_cpp='$CXXCPP $CPPFLAGS'
42609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42614 /* end confdefs.h. */
42615 #include <math.h>
42616 #ifdef HAVE_IEEEFP_H
42617 #include <ieeefp.h>
42618 #endif
42621 main ()
42623 isinfl(0);
42625 return 0;
42627 _ACEOF
42628 if ac_fn_cxx_try_compile "$LINENO"; then :
42629 glibcxx_cv_func_isinfl_use=yes
42630 else
42631 glibcxx_cv_func_isinfl_use=no
42633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42634 ac_ext=c
42635 ac_cpp='$CPP $CPPFLAGS'
42636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42645 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42647 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42648 for ac_func in isinfl
42649 do :
42650 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42651 if test "x$ac_cv_func_isinfl" = x""yes; then :
42652 cat >>confdefs.h <<_ACEOF
42653 #define HAVE_ISINFL 1
42654 _ACEOF
42657 done
42659 else
42661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42662 $as_echo_n "checking for _isinfl declaration... " >&6; }
42663 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42664 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42665 $as_echo_n "(cached) " >&6
42666 else
42669 ac_ext=cpp
42670 ac_cpp='$CXXCPP $CPPFLAGS'
42671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42676 /* end confdefs.h. */
42677 #include <math.h>
42678 #ifdef HAVE_IEEEFP_H
42679 #include <ieeefp.h>
42680 #endif
42683 main ()
42685 _isinfl(0);
42687 return 0;
42689 _ACEOF
42690 if ac_fn_cxx_try_compile "$LINENO"; then :
42691 glibcxx_cv_func__isinfl_use=yes
42692 else
42693 glibcxx_cv_func__isinfl_use=no
42695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42696 ac_ext=c
42697 ac_cpp='$CPP $CPPFLAGS'
42698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42707 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42709 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42710 for ac_func in _isinfl
42711 do :
42712 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42713 if test "x$ac_cv_func__isinfl" = x""yes; then :
42714 cat >>confdefs.h <<_ACEOF
42715 #define HAVE__ISINFL 1
42716 _ACEOF
42719 done
42728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42729 $as_echo_n "checking for atan2l declaration... " >&6; }
42730 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42731 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42732 $as_echo_n "(cached) " >&6
42733 else
42736 ac_ext=cpp
42737 ac_cpp='$CXXCPP $CPPFLAGS'
42738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42743 /* end confdefs.h. */
42744 #include <math.h>
42746 main ()
42748 atan2l(0, 0);
42750 return 0;
42752 _ACEOF
42753 if ac_fn_cxx_try_compile "$LINENO"; then :
42754 glibcxx_cv_func_atan2l_use=yes
42755 else
42756 glibcxx_cv_func_atan2l_use=no
42758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42759 ac_ext=c
42760 ac_cpp='$CPP $CPPFLAGS'
42761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42770 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42772 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42773 for ac_func in atan2l
42774 do :
42775 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42776 if test "x$ac_cv_func_atan2l" = x""yes; then :
42777 cat >>confdefs.h <<_ACEOF
42778 #define HAVE_ATAN2L 1
42779 _ACEOF
42782 done
42784 else
42786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42787 $as_echo_n "checking for _atan2l declaration... " >&6; }
42788 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42789 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42790 $as_echo_n "(cached) " >&6
42791 else
42794 ac_ext=cpp
42795 ac_cpp='$CXXCPP $CPPFLAGS'
42796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42801 /* end confdefs.h. */
42802 #include <math.h>
42804 main ()
42806 _atan2l(0, 0);
42808 return 0;
42810 _ACEOF
42811 if ac_fn_cxx_try_compile "$LINENO"; then :
42812 glibcxx_cv_func__atan2l_use=yes
42813 else
42814 glibcxx_cv_func__atan2l_use=no
42816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42817 ac_ext=c
42818 ac_cpp='$CPP $CPPFLAGS'
42819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42828 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42830 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42831 for ac_func in _atan2l
42832 do :
42833 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42834 if test "x$ac_cv_func__atan2l" = x""yes; then :
42835 cat >>confdefs.h <<_ACEOF
42836 #define HAVE__ATAN2L 1
42837 _ACEOF
42840 done
42849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42850 $as_echo_n "checking for expl declaration... " >&6; }
42851 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42852 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42853 $as_echo_n "(cached) " >&6
42854 else
42857 ac_ext=cpp
42858 ac_cpp='$CXXCPP $CPPFLAGS'
42859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42864 /* end confdefs.h. */
42865 #include <math.h>
42866 #ifdef HAVE_IEEEFP_H
42867 #include <ieeefp.h>
42868 #endif
42871 main ()
42873 expl(0);
42875 return 0;
42877 _ACEOF
42878 if ac_fn_cxx_try_compile "$LINENO"; then :
42879 glibcxx_cv_func_expl_use=yes
42880 else
42881 glibcxx_cv_func_expl_use=no
42883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42884 ac_ext=c
42885 ac_cpp='$CPP $CPPFLAGS'
42886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42895 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42897 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42898 for ac_func in expl
42899 do :
42900 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42901 if test "x$ac_cv_func_expl" = x""yes; then :
42902 cat >>confdefs.h <<_ACEOF
42903 #define HAVE_EXPL 1
42904 _ACEOF
42907 done
42909 else
42911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42912 $as_echo_n "checking for _expl declaration... " >&6; }
42913 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42914 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42915 $as_echo_n "(cached) " >&6
42916 else
42919 ac_ext=cpp
42920 ac_cpp='$CXXCPP $CPPFLAGS'
42921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42926 /* end confdefs.h. */
42927 #include <math.h>
42928 #ifdef HAVE_IEEEFP_H
42929 #include <ieeefp.h>
42930 #endif
42933 main ()
42935 _expl(0);
42937 return 0;
42939 _ACEOF
42940 if ac_fn_cxx_try_compile "$LINENO"; then :
42941 glibcxx_cv_func__expl_use=yes
42942 else
42943 glibcxx_cv_func__expl_use=no
42945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42946 ac_ext=c
42947 ac_cpp='$CPP $CPPFLAGS'
42948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42957 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42959 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42960 for ac_func in _expl
42961 do :
42962 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42963 if test "x$ac_cv_func__expl" = x""yes; then :
42964 cat >>confdefs.h <<_ACEOF
42965 #define HAVE__EXPL 1
42966 _ACEOF
42969 done
42978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42979 $as_echo_n "checking for fabsl declaration... " >&6; }
42980 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42981 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42982 $as_echo_n "(cached) " >&6
42983 else
42986 ac_ext=cpp
42987 ac_cpp='$CXXCPP $CPPFLAGS'
42988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42993 /* end confdefs.h. */
42994 #include <math.h>
42995 #ifdef HAVE_IEEEFP_H
42996 #include <ieeefp.h>
42997 #endif
43000 main ()
43002 fabsl(0);
43004 return 0;
43006 _ACEOF
43007 if ac_fn_cxx_try_compile "$LINENO"; then :
43008 glibcxx_cv_func_fabsl_use=yes
43009 else
43010 glibcxx_cv_func_fabsl_use=no
43012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43013 ac_ext=c
43014 ac_cpp='$CPP $CPPFLAGS'
43015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43024 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43026 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43027 for ac_func in fabsl
43028 do :
43029 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43030 if test "x$ac_cv_func_fabsl" = x""yes; then :
43031 cat >>confdefs.h <<_ACEOF
43032 #define HAVE_FABSL 1
43033 _ACEOF
43036 done
43038 else
43040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43041 $as_echo_n "checking for _fabsl declaration... " >&6; }
43042 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43043 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43044 $as_echo_n "(cached) " >&6
43045 else
43048 ac_ext=cpp
43049 ac_cpp='$CXXCPP $CPPFLAGS'
43050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43055 /* end confdefs.h. */
43056 #include <math.h>
43057 #ifdef HAVE_IEEEFP_H
43058 #include <ieeefp.h>
43059 #endif
43062 main ()
43064 _fabsl(0);
43066 return 0;
43068 _ACEOF
43069 if ac_fn_cxx_try_compile "$LINENO"; then :
43070 glibcxx_cv_func__fabsl_use=yes
43071 else
43072 glibcxx_cv_func__fabsl_use=no
43074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43075 ac_ext=c
43076 ac_cpp='$CPP $CPPFLAGS'
43077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43086 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43088 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43089 for ac_func in _fabsl
43090 do :
43091 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43092 if test "x$ac_cv_func__fabsl" = x""yes; then :
43093 cat >>confdefs.h <<_ACEOF
43094 #define HAVE__FABSL 1
43095 _ACEOF
43098 done
43107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43108 $as_echo_n "checking for fmodl declaration... " >&6; }
43109 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43110 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43111 $as_echo_n "(cached) " >&6
43112 else
43115 ac_ext=cpp
43116 ac_cpp='$CXXCPP $CPPFLAGS'
43117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43122 /* end confdefs.h. */
43123 #include <math.h>
43125 main ()
43127 fmodl(0, 0);
43129 return 0;
43131 _ACEOF
43132 if ac_fn_cxx_try_compile "$LINENO"; then :
43133 glibcxx_cv_func_fmodl_use=yes
43134 else
43135 glibcxx_cv_func_fmodl_use=no
43137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43138 ac_ext=c
43139 ac_cpp='$CPP $CPPFLAGS'
43140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43149 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43151 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43152 for ac_func in fmodl
43153 do :
43154 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43155 if test "x$ac_cv_func_fmodl" = x""yes; then :
43156 cat >>confdefs.h <<_ACEOF
43157 #define HAVE_FMODL 1
43158 _ACEOF
43161 done
43163 else
43165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43166 $as_echo_n "checking for _fmodl declaration... " >&6; }
43167 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43168 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43169 $as_echo_n "(cached) " >&6
43170 else
43173 ac_ext=cpp
43174 ac_cpp='$CXXCPP $CPPFLAGS'
43175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43180 /* end confdefs.h. */
43181 #include <math.h>
43183 main ()
43185 _fmodl(0, 0);
43187 return 0;
43189 _ACEOF
43190 if ac_fn_cxx_try_compile "$LINENO"; then :
43191 glibcxx_cv_func__fmodl_use=yes
43192 else
43193 glibcxx_cv_func__fmodl_use=no
43195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43196 ac_ext=c
43197 ac_cpp='$CPP $CPPFLAGS'
43198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43207 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43209 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43210 for ac_func in _fmodl
43211 do :
43212 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43213 if test "x$ac_cv_func__fmodl" = x""yes; then :
43214 cat >>confdefs.h <<_ACEOF
43215 #define HAVE__FMODL 1
43216 _ACEOF
43219 done
43228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43229 $as_echo_n "checking for frexpl declaration... " >&6; }
43230 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43231 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43232 $as_echo_n "(cached) " >&6
43233 else
43236 ac_ext=cpp
43237 ac_cpp='$CXXCPP $CPPFLAGS'
43238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43243 /* end confdefs.h. */
43244 #include <math.h>
43246 main ()
43248 frexpl(0, 0);
43250 return 0;
43252 _ACEOF
43253 if ac_fn_cxx_try_compile "$LINENO"; then :
43254 glibcxx_cv_func_frexpl_use=yes
43255 else
43256 glibcxx_cv_func_frexpl_use=no
43258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43259 ac_ext=c
43260 ac_cpp='$CPP $CPPFLAGS'
43261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43270 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43272 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43273 for ac_func in frexpl
43274 do :
43275 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43276 if test "x$ac_cv_func_frexpl" = x""yes; then :
43277 cat >>confdefs.h <<_ACEOF
43278 #define HAVE_FREXPL 1
43279 _ACEOF
43282 done
43284 else
43286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43287 $as_echo_n "checking for _frexpl declaration... " >&6; }
43288 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43289 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43290 $as_echo_n "(cached) " >&6
43291 else
43294 ac_ext=cpp
43295 ac_cpp='$CXXCPP $CPPFLAGS'
43296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43301 /* end confdefs.h. */
43302 #include <math.h>
43304 main ()
43306 _frexpl(0, 0);
43308 return 0;
43310 _ACEOF
43311 if ac_fn_cxx_try_compile "$LINENO"; then :
43312 glibcxx_cv_func__frexpl_use=yes
43313 else
43314 glibcxx_cv_func__frexpl_use=no
43316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43317 ac_ext=c
43318 ac_cpp='$CPP $CPPFLAGS'
43319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43328 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43330 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43331 for ac_func in _frexpl
43332 do :
43333 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43334 if test "x$ac_cv_func__frexpl" = x""yes; then :
43335 cat >>confdefs.h <<_ACEOF
43336 #define HAVE__FREXPL 1
43337 _ACEOF
43340 done
43349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43350 $as_echo_n "checking for hypotl declaration... " >&6; }
43351 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43352 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43353 $as_echo_n "(cached) " >&6
43354 else
43357 ac_ext=cpp
43358 ac_cpp='$CXXCPP $CPPFLAGS'
43359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43364 /* end confdefs.h. */
43365 #include <math.h>
43367 main ()
43369 hypotl(0, 0);
43371 return 0;
43373 _ACEOF
43374 if ac_fn_cxx_try_compile "$LINENO"; then :
43375 glibcxx_cv_func_hypotl_use=yes
43376 else
43377 glibcxx_cv_func_hypotl_use=no
43379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43380 ac_ext=c
43381 ac_cpp='$CPP $CPPFLAGS'
43382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43391 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43393 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43394 for ac_func in hypotl
43395 do :
43396 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43397 if test "x$ac_cv_func_hypotl" = x""yes; then :
43398 cat >>confdefs.h <<_ACEOF
43399 #define HAVE_HYPOTL 1
43400 _ACEOF
43403 done
43405 else
43407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43408 $as_echo_n "checking for _hypotl declaration... " >&6; }
43409 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43410 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43411 $as_echo_n "(cached) " >&6
43412 else
43415 ac_ext=cpp
43416 ac_cpp='$CXXCPP $CPPFLAGS'
43417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43422 /* end confdefs.h. */
43423 #include <math.h>
43425 main ()
43427 _hypotl(0, 0);
43429 return 0;
43431 _ACEOF
43432 if ac_fn_cxx_try_compile "$LINENO"; then :
43433 glibcxx_cv_func__hypotl_use=yes
43434 else
43435 glibcxx_cv_func__hypotl_use=no
43437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43438 ac_ext=c
43439 ac_cpp='$CPP $CPPFLAGS'
43440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43449 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43451 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43452 for ac_func in _hypotl
43453 do :
43454 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43455 if test "x$ac_cv_func__hypotl" = x""yes; then :
43456 cat >>confdefs.h <<_ACEOF
43457 #define HAVE__HYPOTL 1
43458 _ACEOF
43461 done
43470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43471 $as_echo_n "checking for ldexpl declaration... " >&6; }
43472 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43473 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43474 $as_echo_n "(cached) " >&6
43475 else
43478 ac_ext=cpp
43479 ac_cpp='$CXXCPP $CPPFLAGS'
43480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43485 /* end confdefs.h. */
43486 #include <math.h>
43488 main ()
43490 ldexpl(0, 0);
43492 return 0;
43494 _ACEOF
43495 if ac_fn_cxx_try_compile "$LINENO"; then :
43496 glibcxx_cv_func_ldexpl_use=yes
43497 else
43498 glibcxx_cv_func_ldexpl_use=no
43500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43501 ac_ext=c
43502 ac_cpp='$CPP $CPPFLAGS'
43503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43512 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43514 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43515 for ac_func in ldexpl
43516 do :
43517 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43518 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43519 cat >>confdefs.h <<_ACEOF
43520 #define HAVE_LDEXPL 1
43521 _ACEOF
43524 done
43526 else
43528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43529 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43530 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43531 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43532 $as_echo_n "(cached) " >&6
43533 else
43536 ac_ext=cpp
43537 ac_cpp='$CXXCPP $CPPFLAGS'
43538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43543 /* end confdefs.h. */
43544 #include <math.h>
43546 main ()
43548 _ldexpl(0, 0);
43550 return 0;
43552 _ACEOF
43553 if ac_fn_cxx_try_compile "$LINENO"; then :
43554 glibcxx_cv_func__ldexpl_use=yes
43555 else
43556 glibcxx_cv_func__ldexpl_use=no
43558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43559 ac_ext=c
43560 ac_cpp='$CPP $CPPFLAGS'
43561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43570 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43572 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43573 for ac_func in _ldexpl
43574 do :
43575 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43576 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43577 cat >>confdefs.h <<_ACEOF
43578 #define HAVE__LDEXPL 1
43579 _ACEOF
43582 done
43591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43592 $as_echo_n "checking for logl declaration... " >&6; }
43593 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43594 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43595 $as_echo_n "(cached) " >&6
43596 else
43599 ac_ext=cpp
43600 ac_cpp='$CXXCPP $CPPFLAGS'
43601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43606 /* end confdefs.h. */
43607 #include <math.h>
43608 #ifdef HAVE_IEEEFP_H
43609 #include <ieeefp.h>
43610 #endif
43613 main ()
43615 logl(0);
43617 return 0;
43619 _ACEOF
43620 if ac_fn_cxx_try_compile "$LINENO"; then :
43621 glibcxx_cv_func_logl_use=yes
43622 else
43623 glibcxx_cv_func_logl_use=no
43625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43626 ac_ext=c
43627 ac_cpp='$CPP $CPPFLAGS'
43628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43637 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43639 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43640 for ac_func in logl
43641 do :
43642 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43643 if test "x$ac_cv_func_logl" = x""yes; then :
43644 cat >>confdefs.h <<_ACEOF
43645 #define HAVE_LOGL 1
43646 _ACEOF
43649 done
43651 else
43653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43654 $as_echo_n "checking for _logl declaration... " >&6; }
43655 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43656 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43657 $as_echo_n "(cached) " >&6
43658 else
43661 ac_ext=cpp
43662 ac_cpp='$CXXCPP $CPPFLAGS'
43663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43668 /* end confdefs.h. */
43669 #include <math.h>
43670 #ifdef HAVE_IEEEFP_H
43671 #include <ieeefp.h>
43672 #endif
43675 main ()
43677 _logl(0);
43679 return 0;
43681 _ACEOF
43682 if ac_fn_cxx_try_compile "$LINENO"; then :
43683 glibcxx_cv_func__logl_use=yes
43684 else
43685 glibcxx_cv_func__logl_use=no
43687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43688 ac_ext=c
43689 ac_cpp='$CPP $CPPFLAGS'
43690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43699 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43701 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43702 for ac_func in _logl
43703 do :
43704 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43705 if test "x$ac_cv_func__logl" = x""yes; then :
43706 cat >>confdefs.h <<_ACEOF
43707 #define HAVE__LOGL 1
43708 _ACEOF
43711 done
43720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43721 $as_echo_n "checking for log10l declaration... " >&6; }
43722 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43723 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43724 $as_echo_n "(cached) " >&6
43725 else
43728 ac_ext=cpp
43729 ac_cpp='$CXXCPP $CPPFLAGS'
43730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43735 /* end confdefs.h. */
43736 #include <math.h>
43737 #ifdef HAVE_IEEEFP_H
43738 #include <ieeefp.h>
43739 #endif
43742 main ()
43744 log10l(0);
43746 return 0;
43748 _ACEOF
43749 if ac_fn_cxx_try_compile "$LINENO"; then :
43750 glibcxx_cv_func_log10l_use=yes
43751 else
43752 glibcxx_cv_func_log10l_use=no
43754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43755 ac_ext=c
43756 ac_cpp='$CPP $CPPFLAGS'
43757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43766 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43768 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43769 for ac_func in log10l
43770 do :
43771 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43772 if test "x$ac_cv_func_log10l" = x""yes; then :
43773 cat >>confdefs.h <<_ACEOF
43774 #define HAVE_LOG10L 1
43775 _ACEOF
43778 done
43780 else
43782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43783 $as_echo_n "checking for _log10l declaration... " >&6; }
43784 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43785 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43786 $as_echo_n "(cached) " >&6
43787 else
43790 ac_ext=cpp
43791 ac_cpp='$CXXCPP $CPPFLAGS'
43792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43797 /* end confdefs.h. */
43798 #include <math.h>
43799 #ifdef HAVE_IEEEFP_H
43800 #include <ieeefp.h>
43801 #endif
43804 main ()
43806 _log10l(0);
43808 return 0;
43810 _ACEOF
43811 if ac_fn_cxx_try_compile "$LINENO"; then :
43812 glibcxx_cv_func__log10l_use=yes
43813 else
43814 glibcxx_cv_func__log10l_use=no
43816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43817 ac_ext=c
43818 ac_cpp='$CPP $CPPFLAGS'
43819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43828 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43830 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43831 for ac_func in _log10l
43832 do :
43833 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43834 if test "x$ac_cv_func__log10l" = x""yes; then :
43835 cat >>confdefs.h <<_ACEOF
43836 #define HAVE__LOG10L 1
43837 _ACEOF
43840 done
43849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43850 $as_echo_n "checking for modfl declaration... " >&6; }
43851 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43852 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43853 $as_echo_n "(cached) " >&6
43854 else
43857 ac_ext=cpp
43858 ac_cpp='$CXXCPP $CPPFLAGS'
43859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43864 /* end confdefs.h. */
43865 #include <math.h>
43867 main ()
43869 modfl(0, 0);
43871 return 0;
43873 _ACEOF
43874 if ac_fn_cxx_try_compile "$LINENO"; then :
43875 glibcxx_cv_func_modfl_use=yes
43876 else
43877 glibcxx_cv_func_modfl_use=no
43879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43880 ac_ext=c
43881 ac_cpp='$CPP $CPPFLAGS'
43882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43891 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43893 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43894 for ac_func in modfl
43895 do :
43896 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43897 if test "x$ac_cv_func_modfl" = x""yes; then :
43898 cat >>confdefs.h <<_ACEOF
43899 #define HAVE_MODFL 1
43900 _ACEOF
43903 done
43905 else
43907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43908 $as_echo_n "checking for _modfl declaration... " >&6; }
43909 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43910 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43911 $as_echo_n "(cached) " >&6
43912 else
43915 ac_ext=cpp
43916 ac_cpp='$CXXCPP $CPPFLAGS'
43917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43922 /* end confdefs.h. */
43923 #include <math.h>
43925 main ()
43927 _modfl(0, 0);
43929 return 0;
43931 _ACEOF
43932 if ac_fn_cxx_try_compile "$LINENO"; then :
43933 glibcxx_cv_func__modfl_use=yes
43934 else
43935 glibcxx_cv_func__modfl_use=no
43937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43938 ac_ext=c
43939 ac_cpp='$CPP $CPPFLAGS'
43940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43949 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43951 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43952 for ac_func in _modfl
43953 do :
43954 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43955 if test "x$ac_cv_func__modfl" = x""yes; then :
43956 cat >>confdefs.h <<_ACEOF
43957 #define HAVE__MODFL 1
43958 _ACEOF
43961 done
43970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43971 $as_echo_n "checking for powl declaration... " >&6; }
43972 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43973 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43974 $as_echo_n "(cached) " >&6
43975 else
43978 ac_ext=cpp
43979 ac_cpp='$CXXCPP $CPPFLAGS'
43980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43985 /* end confdefs.h. */
43986 #include <math.h>
43988 main ()
43990 powl(0, 0);
43992 return 0;
43994 _ACEOF
43995 if ac_fn_cxx_try_compile "$LINENO"; then :
43996 glibcxx_cv_func_powl_use=yes
43997 else
43998 glibcxx_cv_func_powl_use=no
44000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44001 ac_ext=c
44002 ac_cpp='$CPP $CPPFLAGS'
44003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44012 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44014 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44015 for ac_func in powl
44016 do :
44017 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44018 if test "x$ac_cv_func_powl" = x""yes; then :
44019 cat >>confdefs.h <<_ACEOF
44020 #define HAVE_POWL 1
44021 _ACEOF
44024 done
44026 else
44028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44029 $as_echo_n "checking for _powl declaration... " >&6; }
44030 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44031 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44032 $as_echo_n "(cached) " >&6
44033 else
44036 ac_ext=cpp
44037 ac_cpp='$CXXCPP $CPPFLAGS'
44038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44043 /* end confdefs.h. */
44044 #include <math.h>
44046 main ()
44048 _powl(0, 0);
44050 return 0;
44052 _ACEOF
44053 if ac_fn_cxx_try_compile "$LINENO"; then :
44054 glibcxx_cv_func__powl_use=yes
44055 else
44056 glibcxx_cv_func__powl_use=no
44058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44059 ac_ext=c
44060 ac_cpp='$CPP $CPPFLAGS'
44061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44070 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44072 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44073 for ac_func in _powl
44074 do :
44075 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44076 if test "x$ac_cv_func__powl" = x""yes; then :
44077 cat >>confdefs.h <<_ACEOF
44078 #define HAVE__POWL 1
44079 _ACEOF
44082 done
44091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44092 $as_echo_n "checking for sqrtl declaration... " >&6; }
44093 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44094 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44095 $as_echo_n "(cached) " >&6
44096 else
44099 ac_ext=cpp
44100 ac_cpp='$CXXCPP $CPPFLAGS'
44101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44106 /* end confdefs.h. */
44107 #include <math.h>
44108 #ifdef HAVE_IEEEFP_H
44109 #include <ieeefp.h>
44110 #endif
44113 main ()
44115 sqrtl(0);
44117 return 0;
44119 _ACEOF
44120 if ac_fn_cxx_try_compile "$LINENO"; then :
44121 glibcxx_cv_func_sqrtl_use=yes
44122 else
44123 glibcxx_cv_func_sqrtl_use=no
44125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44126 ac_ext=c
44127 ac_cpp='$CPP $CPPFLAGS'
44128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44137 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44139 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44140 for ac_func in sqrtl
44141 do :
44142 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44143 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44144 cat >>confdefs.h <<_ACEOF
44145 #define HAVE_SQRTL 1
44146 _ACEOF
44149 done
44151 else
44153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44154 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44155 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44156 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44157 $as_echo_n "(cached) " >&6
44158 else
44161 ac_ext=cpp
44162 ac_cpp='$CXXCPP $CPPFLAGS'
44163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44168 /* end confdefs.h. */
44169 #include <math.h>
44170 #ifdef HAVE_IEEEFP_H
44171 #include <ieeefp.h>
44172 #endif
44175 main ()
44177 _sqrtl(0);
44179 return 0;
44181 _ACEOF
44182 if ac_fn_cxx_try_compile "$LINENO"; then :
44183 glibcxx_cv_func__sqrtl_use=yes
44184 else
44185 glibcxx_cv_func__sqrtl_use=no
44187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44188 ac_ext=c
44189 ac_cpp='$CPP $CPPFLAGS'
44190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44199 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44201 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44202 for ac_func in _sqrtl
44203 do :
44204 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44205 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44206 cat >>confdefs.h <<_ACEOF
44207 #define HAVE__SQRTL 1
44208 _ACEOF
44211 done
44220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44221 $as_echo_n "checking for sincosl declaration... " >&6; }
44222 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44223 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44224 $as_echo_n "(cached) " >&6
44225 else
44228 ac_ext=cpp
44229 ac_cpp='$CXXCPP $CPPFLAGS'
44230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44235 /* end confdefs.h. */
44236 #include <math.h>
44238 main ()
44240 sincosl(0, 0, 0);
44242 return 0;
44244 _ACEOF
44245 if ac_fn_cxx_try_compile "$LINENO"; then :
44246 glibcxx_cv_func_sincosl_use=yes
44247 else
44248 glibcxx_cv_func_sincosl_use=no
44250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44251 ac_ext=c
44252 ac_cpp='$CPP $CPPFLAGS'
44253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44262 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44264 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44265 for ac_func in sincosl
44266 do :
44267 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44268 if test "x$ac_cv_func_sincosl" = x""yes; then :
44269 cat >>confdefs.h <<_ACEOF
44270 #define HAVE_SINCOSL 1
44271 _ACEOF
44274 done
44276 else
44278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44279 $as_echo_n "checking for _sincosl declaration... " >&6; }
44280 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44281 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44282 $as_echo_n "(cached) " >&6
44283 else
44286 ac_ext=cpp
44287 ac_cpp='$CXXCPP $CPPFLAGS'
44288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44293 /* end confdefs.h. */
44294 #include <math.h>
44296 main ()
44298 _sincosl(0, 0, 0);
44300 return 0;
44302 _ACEOF
44303 if ac_fn_cxx_try_compile "$LINENO"; then :
44304 glibcxx_cv_func__sincosl_use=yes
44305 else
44306 glibcxx_cv_func__sincosl_use=no
44308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44309 ac_ext=c
44310 ac_cpp='$CPP $CPPFLAGS'
44311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44320 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44322 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44323 for ac_func in _sincosl
44324 do :
44325 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44326 if test "x$ac_cv_func__sincosl" = x""yes; then :
44327 cat >>confdefs.h <<_ACEOF
44328 #define HAVE__SINCOSL 1
44329 _ACEOF
44332 done
44341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44342 $as_echo_n "checking for finitel declaration... " >&6; }
44343 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44344 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44345 $as_echo_n "(cached) " >&6
44346 else
44349 ac_ext=cpp
44350 ac_cpp='$CXXCPP $CPPFLAGS'
44351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44356 /* end confdefs.h. */
44357 #include <math.h>
44358 #ifdef HAVE_IEEEFP_H
44359 #include <ieeefp.h>
44360 #endif
44363 main ()
44365 finitel(0);
44367 return 0;
44369 _ACEOF
44370 if ac_fn_cxx_try_compile "$LINENO"; then :
44371 glibcxx_cv_func_finitel_use=yes
44372 else
44373 glibcxx_cv_func_finitel_use=no
44375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44376 ac_ext=c
44377 ac_cpp='$CPP $CPPFLAGS'
44378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44387 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44389 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44390 for ac_func in finitel
44391 do :
44392 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44393 if test "x$ac_cv_func_finitel" = x""yes; then :
44394 cat >>confdefs.h <<_ACEOF
44395 #define HAVE_FINITEL 1
44396 _ACEOF
44399 done
44401 else
44403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44404 $as_echo_n "checking for _finitel declaration... " >&6; }
44405 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44406 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44407 $as_echo_n "(cached) " >&6
44408 else
44411 ac_ext=cpp
44412 ac_cpp='$CXXCPP $CPPFLAGS'
44413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44418 /* end confdefs.h. */
44419 #include <math.h>
44420 #ifdef HAVE_IEEEFP_H
44421 #include <ieeefp.h>
44422 #endif
44425 main ()
44427 _finitel(0);
44429 return 0;
44431 _ACEOF
44432 if ac_fn_cxx_try_compile "$LINENO"; then :
44433 glibcxx_cv_func__finitel_use=yes
44434 else
44435 glibcxx_cv_func__finitel_use=no
44437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44438 ac_ext=c
44439 ac_cpp='$CPP $CPPFLAGS'
44440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44449 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44451 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44452 for ac_func in _finitel
44453 do :
44454 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44455 if test "x$ac_cv_func__finitel" = x""yes; then :
44456 cat >>confdefs.h <<_ACEOF
44457 #define HAVE__FINITEL 1
44458 _ACEOF
44461 done
44469 LIBS="$ac_save_LIBS"
44470 CXXFLAGS="$ac_save_CXXFLAGS"
44473 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44474 ac_save_CXXFLAGS="$CXXFLAGS"
44475 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44479 $as_echo_n "checking for strtold declaration... " >&6; }
44480 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44481 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44482 $as_echo_n "(cached) " >&6
44483 else
44486 ac_ext=cpp
44487 ac_cpp='$CXXCPP $CPPFLAGS'
44488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44493 /* end confdefs.h. */
44494 #include <stdlib.h>
44496 main ()
44498 strtold(0, 0);
44500 return 0;
44502 _ACEOF
44503 if ac_fn_cxx_try_compile "$LINENO"; then :
44504 glibcxx_cv_func_strtold_use=yes
44505 else
44506 glibcxx_cv_func_strtold_use=no
44508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44509 ac_ext=c
44510 ac_cpp='$CPP $CPPFLAGS'
44511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44520 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44521 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44522 for ac_func in strtold
44523 do :
44524 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44525 if test "x$ac_cv_func_strtold" = x""yes; then :
44526 cat >>confdefs.h <<_ACEOF
44527 #define HAVE_STRTOLD 1
44528 _ACEOF
44531 done
44538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44539 $as_echo_n "checking for strtof declaration... " >&6; }
44540 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44541 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44542 $as_echo_n "(cached) " >&6
44543 else
44546 ac_ext=cpp
44547 ac_cpp='$CXXCPP $CPPFLAGS'
44548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44553 /* end confdefs.h. */
44554 #include <stdlib.h>
44556 main ()
44558 strtof(0, 0);
44560 return 0;
44562 _ACEOF
44563 if ac_fn_cxx_try_compile "$LINENO"; then :
44564 glibcxx_cv_func_strtof_use=yes
44565 else
44566 glibcxx_cv_func_strtof_use=no
44568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44569 ac_ext=c
44570 ac_cpp='$CPP $CPPFLAGS'
44571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44580 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44581 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44582 for ac_func in strtof
44583 do :
44584 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44585 if test "x$ac_cv_func_strtof" = x""yes; then :
44586 cat >>confdefs.h <<_ACEOF
44587 #define HAVE_STRTOF 1
44588 _ACEOF
44591 done
44598 CXXFLAGS="$ac_save_CXXFLAGS"
44602 *djgpp)
44603 # GLIBCXX_CHECK_MATH_SUPPORT
44604 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44606 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44608 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44610 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44612 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44616 *-freebsd*)
44617 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44620 # If we're not using GNU ld, then there's no point in even trying these
44621 # tests. Check for that first. We should have already tested for gld
44622 # by now (in libtool), but require it now just to be safe...
44623 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44624 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44628 # The name set by libtool depends on the version of libtool. Shame on us
44629 # for depending on an impl detail, but c'est la vie. Older versions used
44630 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44631 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44632 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44633 # set (hence we're using an older libtool), then set it.
44634 if test x${with_gnu_ld+set} != xset; then
44635 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44636 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44637 with_gnu_ld=no
44638 else
44639 with_gnu_ld=$ac_cv_prog_gnu_ld
44643 # Start by getting the version number. I think the libtool test already
44644 # does some of this, but throws away the result.
44645 glibcxx_ld_is_gold=no
44646 if test x"$with_gnu_ld" = x"yes"; then
44647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44648 $as_echo_n "checking for ld version... " >&6; }
44650 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44651 glibcxx_ld_is_gold=yes
44653 ldver=`$LD --version 2>/dev/null |
44654 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'`
44656 glibcxx_gnu_ld_version=`echo $ldver | \
44657 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44659 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44662 # Set --gc-sections.
44663 glibcxx_have_gc_sections=no
44664 if test "$glibcxx_ld_is_gold" = "yes"; then
44665 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44666 glibcxx_have_gc_sections=yes
44668 else
44669 glibcxx_gcsections_min_ld=21602
44670 if test x"$with_gnu_ld" = x"yes" &&
44671 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44672 glibcxx_have_gc_sections=yes
44675 if test "$glibcxx_have_gc_sections" = "yes"; then
44676 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44677 # NB: This flag only works reliably after 2.16.1. Configure tests
44678 # for this are difficult, so hard wire a value that should work.
44680 ac_test_CFLAGS="${CFLAGS+set}"
44681 ac_save_CFLAGS="$CFLAGS"
44682 CFLAGS='-Wl,--gc-sections'
44684 # Check for -Wl,--gc-sections
44685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44686 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44687 if test x$gcc_no_link = xyes; then
44688 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44691 /* end confdefs.h. */
44692 int one(void) { return 1; }
44693 int two(void) { return 2; }
44696 main ()
44698 two();
44700 return 0;
44702 _ACEOF
44703 if ac_fn_c_try_link "$LINENO"; then :
44704 ac_gcsections=yes
44705 else
44706 ac_gcsections=no
44708 rm -f core conftest.err conftest.$ac_objext \
44709 conftest$ac_exeext conftest.$ac_ext
44710 if test "$ac_gcsections" = "yes"; then
44711 rm -f conftest.c
44712 touch conftest.c
44713 if $CC -c conftest.c; then
44714 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44715 grep "Warning: gc-sections option ignored" > /dev/null; then
44716 ac_gcsections=no
44719 rm -f conftest.c conftest.o conftest
44721 if test "$ac_gcsections" = "yes"; then
44722 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44725 $as_echo "$ac_gcsections" >&6; }
44727 if test "$ac_test_CFLAGS" = set; then
44728 CFLAGS="$ac_save_CFLAGS"
44729 else
44730 # this is the suspicious part
44731 CFLAGS=''
44735 # Set -z,relro.
44736 # Note this is only for shared objects.
44737 ac_ld_relro=no
44738 if test x"$with_gnu_ld" = x"yes"; then
44739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44740 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44741 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44742 if test -n "$cxx_z_relo"; then
44743 OPT_LDFLAGS="-Wl,-z,relro"
44744 ac_ld_relro=yes
44746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44747 $as_echo "$ac_ld_relro" >&6; }
44750 # Set linker optimization flags.
44751 if test x"$with_gnu_ld" = x"yes"; then
44752 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44758 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44760 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44762 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44764 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44766 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44768 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44770 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44772 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44774 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44777 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44779 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44781 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44783 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44785 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44787 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44789 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44791 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44793 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44795 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44797 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44799 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44801 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44803 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44805 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44807 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44809 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44811 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44813 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44815 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44817 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44819 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44821 if test x"long_double_math_on_this_cpu" = x"yes"; then
44822 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44824 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44826 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44830 *-hpux*)
44831 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44834 # If we're not using GNU ld, then there's no point in even trying these
44835 # tests. Check for that first. We should have already tested for gld
44836 # by now (in libtool), but require it now just to be safe...
44837 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44838 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44842 # The name set by libtool depends on the version of libtool. Shame on us
44843 # for depending on an impl detail, but c'est la vie. Older versions used
44844 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44845 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44846 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44847 # set (hence we're using an older libtool), then set it.
44848 if test x${with_gnu_ld+set} != xset; then
44849 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44850 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44851 with_gnu_ld=no
44852 else
44853 with_gnu_ld=$ac_cv_prog_gnu_ld
44857 # Start by getting the version number. I think the libtool test already
44858 # does some of this, but throws away the result.
44859 glibcxx_ld_is_gold=no
44860 if test x"$with_gnu_ld" = x"yes"; then
44861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44862 $as_echo_n "checking for ld version... " >&6; }
44864 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44865 glibcxx_ld_is_gold=yes
44867 ldver=`$LD --version 2>/dev/null |
44868 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'`
44870 glibcxx_gnu_ld_version=`echo $ldver | \
44871 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44873 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44876 # Set --gc-sections.
44877 glibcxx_have_gc_sections=no
44878 if test "$glibcxx_ld_is_gold" = "yes"; then
44879 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44880 glibcxx_have_gc_sections=yes
44882 else
44883 glibcxx_gcsections_min_ld=21602
44884 if test x"$with_gnu_ld" = x"yes" &&
44885 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44886 glibcxx_have_gc_sections=yes
44889 if test "$glibcxx_have_gc_sections" = "yes"; then
44890 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44891 # NB: This flag only works reliably after 2.16.1. Configure tests
44892 # for this are difficult, so hard wire a value that should work.
44894 ac_test_CFLAGS="${CFLAGS+set}"
44895 ac_save_CFLAGS="$CFLAGS"
44896 CFLAGS='-Wl,--gc-sections'
44898 # Check for -Wl,--gc-sections
44899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44900 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44901 if test x$gcc_no_link = xyes; then
44902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44905 /* end confdefs.h. */
44906 int one(void) { return 1; }
44907 int two(void) { return 2; }
44910 main ()
44912 two();
44914 return 0;
44916 _ACEOF
44917 if ac_fn_c_try_link "$LINENO"; then :
44918 ac_gcsections=yes
44919 else
44920 ac_gcsections=no
44922 rm -f core conftest.err conftest.$ac_objext \
44923 conftest$ac_exeext conftest.$ac_ext
44924 if test "$ac_gcsections" = "yes"; then
44925 rm -f conftest.c
44926 touch conftest.c
44927 if $CC -c conftest.c; then
44928 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44929 grep "Warning: gc-sections option ignored" > /dev/null; then
44930 ac_gcsections=no
44933 rm -f conftest.c conftest.o conftest
44935 if test "$ac_gcsections" = "yes"; then
44936 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44939 $as_echo "$ac_gcsections" >&6; }
44941 if test "$ac_test_CFLAGS" = set; then
44942 CFLAGS="$ac_save_CFLAGS"
44943 else
44944 # this is the suspicious part
44945 CFLAGS=''
44949 # Set -z,relro.
44950 # Note this is only for shared objects.
44951 ac_ld_relro=no
44952 if test x"$with_gnu_ld" = x"yes"; then
44953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44954 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44955 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44956 if test -n "$cxx_z_relo"; then
44957 OPT_LDFLAGS="-Wl,-z,relro"
44958 ac_ld_relro=yes
44960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44961 $as_echo "$ac_ld_relro" >&6; }
44964 # Set linker optimization flags.
44965 if test x"$with_gnu_ld" = x"yes"; then
44966 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44973 # GLIBCXX_CHECK_MATH_SUPPORT
44974 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44976 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44978 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44980 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44982 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44984 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44986 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44988 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44990 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44992 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44994 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44996 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44998 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45000 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45002 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45004 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45006 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45008 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45010 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45012 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45014 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45017 # GLIBCXX_CHECK_STDLIB_SUPPORT
45018 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45023 # Check whether --enable-tls was given.
45024 if test "${enable_tls+set}" = set; then :
45025 enableval=$enable_tls;
45026 case "$enableval" in
45027 yes|no) ;;
45028 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45029 esac
45031 else
45032 enable_tls=yes
45036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45037 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45038 if test "${gcc_cv_have_tls+set}" = set; then :
45039 $as_echo_n "(cached) " >&6
45040 else
45042 if test "$cross_compiling" = yes; then :
45043 if test x$gcc_no_link = xyes; then
45044 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45047 /* end confdefs.h. */
45048 __thread int a; int b; int main() { return a = b; }
45049 _ACEOF
45050 if ac_fn_c_try_link "$LINENO"; then :
45051 chktls_save_LDFLAGS="$LDFLAGS"
45052 case $host in
45053 *-*-linux*)
45054 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45056 esac
45057 chktls_save_CFLAGS="$CFLAGS"
45058 CFLAGS="-fPIC $CFLAGS"
45059 if test x$gcc_no_link = xyes; then
45060 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45063 /* end confdefs.h. */
45064 int f() { return 0; }
45065 _ACEOF
45066 if ac_fn_c_try_link "$LINENO"; then :
45067 if test x$gcc_no_link = xyes; then
45068 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45071 /* end confdefs.h. */
45072 __thread int a; int b; int f() { return a = b; }
45073 _ACEOF
45074 if ac_fn_c_try_link "$LINENO"; then :
45075 gcc_cv_have_tls=yes
45076 else
45077 gcc_cv_have_tls=no
45079 rm -f core conftest.err conftest.$ac_objext \
45080 conftest$ac_exeext conftest.$ac_ext
45081 else
45082 gcc_cv_have_tls=yes
45084 rm -f core conftest.err conftest.$ac_objext \
45085 conftest$ac_exeext conftest.$ac_ext
45086 CFLAGS="$chktls_save_CFLAGS"
45087 LDFLAGS="$chktls_save_LDFLAGS"
45088 else
45089 gcc_cv_have_tls=no
45091 rm -f core conftest.err conftest.$ac_objext \
45092 conftest$ac_exeext conftest.$ac_ext
45095 else
45096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45097 /* end confdefs.h. */
45098 __thread int a; int b; int main() { return a = b; }
45099 _ACEOF
45100 if ac_fn_c_try_run "$LINENO"; then :
45101 chktls_save_LDFLAGS="$LDFLAGS"
45102 LDFLAGS="-static $LDFLAGS"
45103 if test x$gcc_no_link = xyes; then
45104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45107 /* end confdefs.h. */
45108 int main() { return 0; }
45109 _ACEOF
45110 if ac_fn_c_try_link "$LINENO"; then :
45111 if test "$cross_compiling" = yes; then :
45112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45114 as_fn_error "cannot run test program while cross compiling
45115 See \`config.log' for more details." "$LINENO" 5; }
45116 else
45117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45118 /* end confdefs.h. */
45119 __thread int a; int b; int main() { return a = b; }
45120 _ACEOF
45121 if ac_fn_c_try_run "$LINENO"; then :
45122 gcc_cv_have_tls=yes
45123 else
45124 gcc_cv_have_tls=no
45126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45127 conftest.$ac_objext conftest.beam conftest.$ac_ext
45130 else
45131 gcc_cv_have_tls=yes
45133 rm -f core conftest.err conftest.$ac_objext \
45134 conftest$ac_exeext conftest.$ac_ext
45135 LDFLAGS="$chktls_save_LDFLAGS"
45136 if test $gcc_cv_have_tls = yes; then
45137 chktls_save_CFLAGS="$CFLAGS"
45138 thread_CFLAGS=failed
45139 for flag in '' '-pthread' '-lpthread'; do
45140 CFLAGS="$flag $chktls_save_CFLAGS"
45141 if test x$gcc_no_link = xyes; then
45142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45145 /* end confdefs.h. */
45146 #include <pthread.h>
45147 void *g(void *d) { return NULL; }
45149 main ()
45151 pthread_t t; pthread_create(&t,NULL,g,NULL);
45153 return 0;
45155 _ACEOF
45156 if ac_fn_c_try_link "$LINENO"; then :
45157 thread_CFLAGS="$flag"
45159 rm -f core conftest.err conftest.$ac_objext \
45160 conftest$ac_exeext conftest.$ac_ext
45161 if test "X$thread_CFLAGS" != Xfailed; then
45162 break
45164 done
45165 CFLAGS="$chktls_save_CFLAGS"
45166 if test "X$thread_CFLAGS" != Xfailed; then
45167 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45168 if test "$cross_compiling" = yes; then :
45169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45171 as_fn_error "cannot run test program while cross compiling
45172 See \`config.log' for more details." "$LINENO" 5; }
45173 else
45174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45175 /* end confdefs.h. */
45176 #include <pthread.h>
45177 __thread int a;
45178 static int *volatile a_in_other_thread;
45179 static void *
45180 thread_func (void *arg)
45182 a_in_other_thread = &a;
45183 return (void *)0;
45186 main ()
45188 pthread_t thread;
45189 void *thread_retval;
45190 int *volatile a_in_main_thread;
45191 a_in_main_thread = &a;
45192 if (pthread_create (&thread, (pthread_attr_t *)0,
45193 thread_func, (void *)0))
45194 return 0;
45195 if (pthread_join (thread, &thread_retval))
45196 return 0;
45197 return (a_in_other_thread == a_in_main_thread);
45199 return 0;
45201 _ACEOF
45202 if ac_fn_c_try_run "$LINENO"; then :
45203 gcc_cv_have_tls=yes
45204 else
45205 gcc_cv_have_tls=no
45207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45208 conftest.$ac_objext conftest.beam conftest.$ac_ext
45211 CFLAGS="$chktls_save_CFLAGS"
45214 else
45215 gcc_cv_have_tls=no
45217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45218 conftest.$ac_objext conftest.beam conftest.$ac_ext
45222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45223 $as_echo "$gcc_cv_have_tls" >&6; }
45224 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45226 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45229 case "$target" in
45230 *-hpux10*)
45231 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45233 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45235 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45237 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45239 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45242 esac
45244 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45246 # All these tests are for C++; save the language and the compiler flags.
45247 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45248 # found in GLIBCXX_CONFIGURE.
45250 ac_ext=cpp
45251 ac_cpp='$CXXCPP $CPPFLAGS'
45252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45256 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45257 ac_save_CXXFLAGS="$CXXFLAGS"
45259 # Check for maintainer-mode bits.
45260 if test x"$USE_MAINTAINER_MODE" = xno; then
45261 WERROR=''
45262 else
45263 WERROR='-Werror'
45266 # Check for -ffunction-sections -fdata-sections
45267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45268 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45269 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45271 /* end confdefs.h. */
45272 int foo; void bar() { };
45274 main ()
45278 return 0;
45280 _ACEOF
45281 if ac_fn_cxx_try_compile "$LINENO"; then :
45282 ac_fdsections=yes
45283 else
45284 ac_fdsections=no
45286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45287 if test "$ac_test_CXXFLAGS" = set; then
45288 CXXFLAGS="$ac_save_CXXFLAGS"
45289 else
45290 # this is the suspicious part
45291 CXXFLAGS=''
45293 if test x"$ac_fdsections" = x"yes"; then
45294 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45297 $as_echo "$ac_fdsections" >&6; }
45299 ac_ext=c
45300 ac_cpp='$CPP $CPPFLAGS'
45301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45309 # If we're not using GNU ld, then there's no point in even trying these
45310 # tests. Check for that first. We should have already tested for gld
45311 # by now (in libtool), but require it now just to be safe...
45312 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45313 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45317 # The name set by libtool depends on the version of libtool. Shame on us
45318 # for depending on an impl detail, but c'est la vie. Older versions used
45319 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45320 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45321 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45322 # set (hence we're using an older libtool), then set it.
45323 if test x${with_gnu_ld+set} != xset; then
45324 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45325 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45326 with_gnu_ld=no
45327 else
45328 with_gnu_ld=$ac_cv_prog_gnu_ld
45332 # Start by getting the version number. I think the libtool test already
45333 # does some of this, but throws away the result.
45334 glibcxx_ld_is_gold=no
45335 if test x"$with_gnu_ld" = x"yes"; then
45336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45337 $as_echo_n "checking for ld version... " >&6; }
45339 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45340 glibcxx_ld_is_gold=yes
45342 ldver=`$LD --version 2>/dev/null |
45343 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'`
45345 glibcxx_gnu_ld_version=`echo $ldver | \
45346 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45348 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45351 # Set --gc-sections.
45352 glibcxx_have_gc_sections=no
45353 if test "$glibcxx_ld_is_gold" = "yes"; then
45354 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45355 glibcxx_have_gc_sections=yes
45357 else
45358 glibcxx_gcsections_min_ld=21602
45359 if test x"$with_gnu_ld" = x"yes" &&
45360 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45361 glibcxx_have_gc_sections=yes
45364 if test "$glibcxx_have_gc_sections" = "yes"; then
45365 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45366 # NB: This flag only works reliably after 2.16.1. Configure tests
45367 # for this are difficult, so hard wire a value that should work.
45369 ac_test_CFLAGS="${CFLAGS+set}"
45370 ac_save_CFLAGS="$CFLAGS"
45371 CFLAGS='-Wl,--gc-sections'
45373 # Check for -Wl,--gc-sections
45374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45375 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45376 if test x$gcc_no_link = xyes; then
45377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45380 /* end confdefs.h. */
45381 int one(void) { return 1; }
45382 int two(void) { return 2; }
45385 main ()
45387 two();
45389 return 0;
45391 _ACEOF
45392 if ac_fn_c_try_link "$LINENO"; then :
45393 ac_gcsections=yes
45394 else
45395 ac_gcsections=no
45397 rm -f core conftest.err conftest.$ac_objext \
45398 conftest$ac_exeext conftest.$ac_ext
45399 if test "$ac_gcsections" = "yes"; then
45400 rm -f conftest.c
45401 touch conftest.c
45402 if $CC -c conftest.c; then
45403 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45404 grep "Warning: gc-sections option ignored" > /dev/null; then
45405 ac_gcsections=no
45408 rm -f conftest.c conftest.o conftest
45410 if test "$ac_gcsections" = "yes"; then
45411 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45414 $as_echo "$ac_gcsections" >&6; }
45416 if test "$ac_test_CFLAGS" = set; then
45417 CFLAGS="$ac_save_CFLAGS"
45418 else
45419 # this is the suspicious part
45420 CFLAGS=''
45424 # Set -z,relro.
45425 # Note this is only for shared objects.
45426 ac_ld_relro=no
45427 if test x"$with_gnu_ld" = x"yes"; then
45428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45429 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45430 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45431 if test -n "$cxx_z_relo"; then
45432 OPT_LDFLAGS="-Wl,-z,relro"
45433 ac_ld_relro=yes
45435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45436 $as_echo "$ac_ld_relro" >&6; }
45439 # Set linker optimization flags.
45440 if test x"$with_gnu_ld" = x"yes"; then
45441 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45448 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45449 ac_save_CXXFLAGS="$CXXFLAGS"
45450 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45453 $as_echo_n "checking for sin in -lm... " >&6; }
45454 if test "${ac_cv_lib_m_sin+set}" = set; then :
45455 $as_echo_n "(cached) " >&6
45456 else
45457 ac_check_lib_save_LIBS=$LIBS
45458 LIBS="-lm $LIBS"
45459 if test x$gcc_no_link = xyes; then
45460 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45463 /* end confdefs.h. */
45465 /* Override any GCC internal prototype to avoid an error.
45466 Use char because int might match the return type of a GCC
45467 builtin and then its argument prototype would still apply. */
45468 #ifdef __cplusplus
45469 extern "C"
45470 #endif
45471 char sin ();
45473 main ()
45475 return sin ();
45477 return 0;
45479 _ACEOF
45480 if ac_fn_c_try_link "$LINENO"; then :
45481 ac_cv_lib_m_sin=yes
45482 else
45483 ac_cv_lib_m_sin=no
45485 rm -f core conftest.err conftest.$ac_objext \
45486 conftest$ac_exeext conftest.$ac_ext
45487 LIBS=$ac_check_lib_save_LIBS
45489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45490 $as_echo "$ac_cv_lib_m_sin" >&6; }
45491 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45492 libm="-lm"
45495 ac_save_LIBS="$LIBS"
45496 LIBS="$LIBS $libm"
45500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45501 $as_echo_n "checking for isinf declaration... " >&6; }
45502 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45503 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45504 $as_echo_n "(cached) " >&6
45505 else
45508 ac_ext=cpp
45509 ac_cpp='$CXXCPP $CPPFLAGS'
45510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45515 /* end confdefs.h. */
45516 #include <math.h>
45517 #ifdef HAVE_IEEEFP_H
45518 #include <ieeefp.h>
45519 #endif
45522 main ()
45524 isinf(0);
45526 return 0;
45528 _ACEOF
45529 if ac_fn_cxx_try_compile "$LINENO"; then :
45530 glibcxx_cv_func_isinf_use=yes
45531 else
45532 glibcxx_cv_func_isinf_use=no
45534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45535 ac_ext=c
45536 ac_cpp='$CPP $CPPFLAGS'
45537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45546 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45548 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45549 for ac_func in isinf
45550 do :
45551 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45552 if test "x$ac_cv_func_isinf" = x""yes; then :
45553 cat >>confdefs.h <<_ACEOF
45554 #define HAVE_ISINF 1
45555 _ACEOF
45558 done
45560 else
45562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45563 $as_echo_n "checking for _isinf declaration... " >&6; }
45564 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45565 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45566 $as_echo_n "(cached) " >&6
45567 else
45570 ac_ext=cpp
45571 ac_cpp='$CXXCPP $CPPFLAGS'
45572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45577 /* end confdefs.h. */
45578 #include <math.h>
45579 #ifdef HAVE_IEEEFP_H
45580 #include <ieeefp.h>
45581 #endif
45584 main ()
45586 _isinf(0);
45588 return 0;
45590 _ACEOF
45591 if ac_fn_cxx_try_compile "$LINENO"; then :
45592 glibcxx_cv_func__isinf_use=yes
45593 else
45594 glibcxx_cv_func__isinf_use=no
45596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45597 ac_ext=c
45598 ac_cpp='$CPP $CPPFLAGS'
45599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45608 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45610 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45611 for ac_func in _isinf
45612 do :
45613 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45614 if test "x$ac_cv_func__isinf" = x""yes; then :
45615 cat >>confdefs.h <<_ACEOF
45616 #define HAVE__ISINF 1
45617 _ACEOF
45620 done
45629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45630 $as_echo_n "checking for isnan declaration... " >&6; }
45631 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45632 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45633 $as_echo_n "(cached) " >&6
45634 else
45637 ac_ext=cpp
45638 ac_cpp='$CXXCPP $CPPFLAGS'
45639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45644 /* end confdefs.h. */
45645 #include <math.h>
45646 #ifdef HAVE_IEEEFP_H
45647 #include <ieeefp.h>
45648 #endif
45651 main ()
45653 isnan(0);
45655 return 0;
45657 _ACEOF
45658 if ac_fn_cxx_try_compile "$LINENO"; then :
45659 glibcxx_cv_func_isnan_use=yes
45660 else
45661 glibcxx_cv_func_isnan_use=no
45663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45664 ac_ext=c
45665 ac_cpp='$CPP $CPPFLAGS'
45666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45675 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45677 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45678 for ac_func in isnan
45679 do :
45680 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45681 if test "x$ac_cv_func_isnan" = x""yes; then :
45682 cat >>confdefs.h <<_ACEOF
45683 #define HAVE_ISNAN 1
45684 _ACEOF
45687 done
45689 else
45691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45692 $as_echo_n "checking for _isnan declaration... " >&6; }
45693 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45694 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45695 $as_echo_n "(cached) " >&6
45696 else
45699 ac_ext=cpp
45700 ac_cpp='$CXXCPP $CPPFLAGS'
45701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45706 /* end confdefs.h. */
45707 #include <math.h>
45708 #ifdef HAVE_IEEEFP_H
45709 #include <ieeefp.h>
45710 #endif
45713 main ()
45715 _isnan(0);
45717 return 0;
45719 _ACEOF
45720 if ac_fn_cxx_try_compile "$LINENO"; then :
45721 glibcxx_cv_func__isnan_use=yes
45722 else
45723 glibcxx_cv_func__isnan_use=no
45725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45726 ac_ext=c
45727 ac_cpp='$CPP $CPPFLAGS'
45728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45737 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45739 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45740 for ac_func in _isnan
45741 do :
45742 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45743 if test "x$ac_cv_func__isnan" = x""yes; then :
45744 cat >>confdefs.h <<_ACEOF
45745 #define HAVE__ISNAN 1
45746 _ACEOF
45749 done
45758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45759 $as_echo_n "checking for finite declaration... " >&6; }
45760 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45761 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45762 $as_echo_n "(cached) " >&6
45763 else
45766 ac_ext=cpp
45767 ac_cpp='$CXXCPP $CPPFLAGS'
45768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45773 /* end confdefs.h. */
45774 #include <math.h>
45775 #ifdef HAVE_IEEEFP_H
45776 #include <ieeefp.h>
45777 #endif
45780 main ()
45782 finite(0);
45784 return 0;
45786 _ACEOF
45787 if ac_fn_cxx_try_compile "$LINENO"; then :
45788 glibcxx_cv_func_finite_use=yes
45789 else
45790 glibcxx_cv_func_finite_use=no
45792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45793 ac_ext=c
45794 ac_cpp='$CPP $CPPFLAGS'
45795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45804 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45806 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45807 for ac_func in finite
45808 do :
45809 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45810 if test "x$ac_cv_func_finite" = x""yes; then :
45811 cat >>confdefs.h <<_ACEOF
45812 #define HAVE_FINITE 1
45813 _ACEOF
45816 done
45818 else
45820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45821 $as_echo_n "checking for _finite declaration... " >&6; }
45822 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45823 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45824 $as_echo_n "(cached) " >&6
45825 else
45828 ac_ext=cpp
45829 ac_cpp='$CXXCPP $CPPFLAGS'
45830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45835 /* end confdefs.h. */
45836 #include <math.h>
45837 #ifdef HAVE_IEEEFP_H
45838 #include <ieeefp.h>
45839 #endif
45842 main ()
45844 _finite(0);
45846 return 0;
45848 _ACEOF
45849 if ac_fn_cxx_try_compile "$LINENO"; then :
45850 glibcxx_cv_func__finite_use=yes
45851 else
45852 glibcxx_cv_func__finite_use=no
45854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45855 ac_ext=c
45856 ac_cpp='$CPP $CPPFLAGS'
45857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45866 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45868 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45869 for ac_func in _finite
45870 do :
45871 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45872 if test "x$ac_cv_func__finite" = x""yes; then :
45873 cat >>confdefs.h <<_ACEOF
45874 #define HAVE__FINITE 1
45875 _ACEOF
45878 done
45887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45888 $as_echo_n "checking for sincos declaration... " >&6; }
45889 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45890 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45891 $as_echo_n "(cached) " >&6
45892 else
45895 ac_ext=cpp
45896 ac_cpp='$CXXCPP $CPPFLAGS'
45897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45902 /* end confdefs.h. */
45903 #include <math.h>
45905 main ()
45907 sincos(0, 0, 0);
45909 return 0;
45911 _ACEOF
45912 if ac_fn_cxx_try_compile "$LINENO"; then :
45913 glibcxx_cv_func_sincos_use=yes
45914 else
45915 glibcxx_cv_func_sincos_use=no
45917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45918 ac_ext=c
45919 ac_cpp='$CPP $CPPFLAGS'
45920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45929 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45931 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45932 for ac_func in sincos
45933 do :
45934 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45935 if test "x$ac_cv_func_sincos" = x""yes; then :
45936 cat >>confdefs.h <<_ACEOF
45937 #define HAVE_SINCOS 1
45938 _ACEOF
45941 done
45943 else
45945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45946 $as_echo_n "checking for _sincos declaration... " >&6; }
45947 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45948 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45949 $as_echo_n "(cached) " >&6
45950 else
45953 ac_ext=cpp
45954 ac_cpp='$CXXCPP $CPPFLAGS'
45955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45960 /* end confdefs.h. */
45961 #include <math.h>
45963 main ()
45965 _sincos(0, 0, 0);
45967 return 0;
45969 _ACEOF
45970 if ac_fn_cxx_try_compile "$LINENO"; then :
45971 glibcxx_cv_func__sincos_use=yes
45972 else
45973 glibcxx_cv_func__sincos_use=no
45975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45976 ac_ext=c
45977 ac_cpp='$CPP $CPPFLAGS'
45978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45987 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45989 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45990 for ac_func in _sincos
45991 do :
45992 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45993 if test "x$ac_cv_func__sincos" = x""yes; then :
45994 cat >>confdefs.h <<_ACEOF
45995 #define HAVE__SINCOS 1
45996 _ACEOF
45999 done
46008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46009 $as_echo_n "checking for fpclass declaration... " >&6; }
46010 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46011 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46012 $as_echo_n "(cached) " >&6
46013 else
46016 ac_ext=cpp
46017 ac_cpp='$CXXCPP $CPPFLAGS'
46018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46023 /* end confdefs.h. */
46024 #include <math.h>
46025 #ifdef HAVE_IEEEFP_H
46026 #include <ieeefp.h>
46027 #endif
46030 main ()
46032 fpclass(0);
46034 return 0;
46036 _ACEOF
46037 if ac_fn_cxx_try_compile "$LINENO"; then :
46038 glibcxx_cv_func_fpclass_use=yes
46039 else
46040 glibcxx_cv_func_fpclass_use=no
46042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46043 ac_ext=c
46044 ac_cpp='$CPP $CPPFLAGS'
46045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46054 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46056 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46057 for ac_func in fpclass
46058 do :
46059 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46060 if test "x$ac_cv_func_fpclass" = x""yes; then :
46061 cat >>confdefs.h <<_ACEOF
46062 #define HAVE_FPCLASS 1
46063 _ACEOF
46066 done
46068 else
46070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46071 $as_echo_n "checking for _fpclass declaration... " >&6; }
46072 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46073 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46074 $as_echo_n "(cached) " >&6
46075 else
46078 ac_ext=cpp
46079 ac_cpp='$CXXCPP $CPPFLAGS'
46080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46085 /* end confdefs.h. */
46086 #include <math.h>
46087 #ifdef HAVE_IEEEFP_H
46088 #include <ieeefp.h>
46089 #endif
46092 main ()
46094 _fpclass(0);
46096 return 0;
46098 _ACEOF
46099 if ac_fn_cxx_try_compile "$LINENO"; then :
46100 glibcxx_cv_func__fpclass_use=yes
46101 else
46102 glibcxx_cv_func__fpclass_use=no
46104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46105 ac_ext=c
46106 ac_cpp='$CPP $CPPFLAGS'
46107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46116 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46118 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46119 for ac_func in _fpclass
46120 do :
46121 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46122 if test "x$ac_cv_func__fpclass" = x""yes; then :
46123 cat >>confdefs.h <<_ACEOF
46124 #define HAVE__FPCLASS 1
46125 _ACEOF
46128 done
46137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46138 $as_echo_n "checking for qfpclass declaration... " >&6; }
46139 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46140 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46141 $as_echo_n "(cached) " >&6
46142 else
46145 ac_ext=cpp
46146 ac_cpp='$CXXCPP $CPPFLAGS'
46147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46152 /* end confdefs.h. */
46153 #include <math.h>
46154 #ifdef HAVE_IEEEFP_H
46155 #include <ieeefp.h>
46156 #endif
46159 main ()
46161 qfpclass(0);
46163 return 0;
46165 _ACEOF
46166 if ac_fn_cxx_try_compile "$LINENO"; then :
46167 glibcxx_cv_func_qfpclass_use=yes
46168 else
46169 glibcxx_cv_func_qfpclass_use=no
46171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46172 ac_ext=c
46173 ac_cpp='$CPP $CPPFLAGS'
46174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46183 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46185 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46186 for ac_func in qfpclass
46187 do :
46188 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46189 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46190 cat >>confdefs.h <<_ACEOF
46191 #define HAVE_QFPCLASS 1
46192 _ACEOF
46195 done
46197 else
46199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46200 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46201 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46202 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46203 $as_echo_n "(cached) " >&6
46204 else
46207 ac_ext=cpp
46208 ac_cpp='$CXXCPP $CPPFLAGS'
46209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46214 /* end confdefs.h. */
46215 #include <math.h>
46216 #ifdef HAVE_IEEEFP_H
46217 #include <ieeefp.h>
46218 #endif
46221 main ()
46223 _qfpclass(0);
46225 return 0;
46227 _ACEOF
46228 if ac_fn_cxx_try_compile "$LINENO"; then :
46229 glibcxx_cv_func__qfpclass_use=yes
46230 else
46231 glibcxx_cv_func__qfpclass_use=no
46233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46234 ac_ext=c
46235 ac_cpp='$CPP $CPPFLAGS'
46236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46245 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46247 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46248 for ac_func in _qfpclass
46249 do :
46250 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46251 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46252 cat >>confdefs.h <<_ACEOF
46253 #define HAVE__QFPCLASS 1
46254 _ACEOF
46257 done
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46267 $as_echo_n "checking for hypot declaration... " >&6; }
46268 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46269 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46270 $as_echo_n "(cached) " >&6
46271 else
46274 ac_ext=cpp
46275 ac_cpp='$CXXCPP $CPPFLAGS'
46276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46281 /* end confdefs.h. */
46282 #include <math.h>
46284 main ()
46286 hypot(0, 0);
46288 return 0;
46290 _ACEOF
46291 if ac_fn_cxx_try_compile "$LINENO"; then :
46292 glibcxx_cv_func_hypot_use=yes
46293 else
46294 glibcxx_cv_func_hypot_use=no
46296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46297 ac_ext=c
46298 ac_cpp='$CPP $CPPFLAGS'
46299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46308 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46310 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46311 for ac_func in hypot
46312 do :
46313 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46314 if test "x$ac_cv_func_hypot" = x""yes; then :
46315 cat >>confdefs.h <<_ACEOF
46316 #define HAVE_HYPOT 1
46317 _ACEOF
46320 done
46322 else
46324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46325 $as_echo_n "checking for _hypot declaration... " >&6; }
46326 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46327 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46328 $as_echo_n "(cached) " >&6
46329 else
46332 ac_ext=cpp
46333 ac_cpp='$CXXCPP $CPPFLAGS'
46334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46339 /* end confdefs.h. */
46340 #include <math.h>
46342 main ()
46344 _hypot(0, 0);
46346 return 0;
46348 _ACEOF
46349 if ac_fn_cxx_try_compile "$LINENO"; then :
46350 glibcxx_cv_func__hypot_use=yes
46351 else
46352 glibcxx_cv_func__hypot_use=no
46354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46355 ac_ext=c
46356 ac_cpp='$CPP $CPPFLAGS'
46357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46366 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46368 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46369 for ac_func in _hypot
46370 do :
46371 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46372 if test "x$ac_cv_func__hypot" = x""yes; then :
46373 cat >>confdefs.h <<_ACEOF
46374 #define HAVE__HYPOT 1
46375 _ACEOF
46378 done
46387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46388 $as_echo_n "checking for float trig functions... " >&6; }
46389 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46390 $as_echo_n "(cached) " >&6
46391 else
46394 ac_ext=cpp
46395 ac_cpp='$CXXCPP $CPPFLAGS'
46396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46401 /* end confdefs.h. */
46402 #include <math.h>
46404 main ()
46406 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46408 return 0;
46410 _ACEOF
46411 if ac_fn_cxx_try_compile "$LINENO"; then :
46412 glibcxx_cv_func_float_trig_use=yes
46413 else
46414 glibcxx_cv_func_float_trig_use=no
46416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46417 ac_ext=c
46418 ac_cpp='$CPP $CPPFLAGS'
46419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46426 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46427 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46428 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46429 do :
46430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46432 eval as_val=\$$as_ac_var
46433 if test "x$as_val" = x""yes; then :
46434 cat >>confdefs.h <<_ACEOF
46435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46436 _ACEOF
46439 done
46441 else
46442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46443 $as_echo_n "checking for _float trig functions... " >&6; }
46444 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46445 $as_echo_n "(cached) " >&6
46446 else
46449 ac_ext=cpp
46450 ac_cpp='$CXXCPP $CPPFLAGS'
46451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46456 /* end confdefs.h. */
46457 #include <math.h>
46459 main ()
46461 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46463 return 0;
46465 _ACEOF
46466 if ac_fn_cxx_try_compile "$LINENO"; then :
46467 glibcxx_cv_func__float_trig_use=yes
46468 else
46469 glibcxx_cv_func__float_trig_use=no
46471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46472 ac_ext=c
46473 ac_cpp='$CPP $CPPFLAGS'
46474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46481 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46482 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46483 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46484 do :
46485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46487 eval as_val=\$$as_ac_var
46488 if test "x$as_val" = x""yes; then :
46489 cat >>confdefs.h <<_ACEOF
46490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46491 _ACEOF
46494 done
46503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46504 $as_echo_n "checking for float round functions... " >&6; }
46505 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46506 $as_echo_n "(cached) " >&6
46507 else
46510 ac_ext=cpp
46511 ac_cpp='$CXXCPP $CPPFLAGS'
46512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46517 /* end confdefs.h. */
46518 #include <math.h>
46520 main ()
46522 ceilf (0); floorf (0);
46524 return 0;
46526 _ACEOF
46527 if ac_fn_cxx_try_compile "$LINENO"; then :
46528 glibcxx_cv_func_float_round_use=yes
46529 else
46530 glibcxx_cv_func_float_round_use=no
46532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46533 ac_ext=c
46534 ac_cpp='$CPP $CPPFLAGS'
46535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46542 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46543 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46544 for ac_func in ceilf floorf
46545 do :
46546 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46548 eval as_val=\$$as_ac_var
46549 if test "x$as_val" = x""yes; then :
46550 cat >>confdefs.h <<_ACEOF
46551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46552 _ACEOF
46555 done
46557 else
46558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46559 $as_echo_n "checking for _float round functions... " >&6; }
46560 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46561 $as_echo_n "(cached) " >&6
46562 else
46565 ac_ext=cpp
46566 ac_cpp='$CXXCPP $CPPFLAGS'
46567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46572 /* end confdefs.h. */
46573 #include <math.h>
46575 main ()
46577 _ceilf (0); _floorf (0);
46579 return 0;
46581 _ACEOF
46582 if ac_fn_cxx_try_compile "$LINENO"; then :
46583 glibcxx_cv_func__float_round_use=yes
46584 else
46585 glibcxx_cv_func__float_round_use=no
46587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46588 ac_ext=c
46589 ac_cpp='$CPP $CPPFLAGS'
46590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46597 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46598 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46599 for ac_func in _ceilf _floorf
46600 do :
46601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46603 eval as_val=\$$as_ac_var
46604 if test "x$as_val" = x""yes; then :
46605 cat >>confdefs.h <<_ACEOF
46606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46607 _ACEOF
46610 done
46620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46621 $as_echo_n "checking for expf declaration... " >&6; }
46622 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46623 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46624 $as_echo_n "(cached) " >&6
46625 else
46628 ac_ext=cpp
46629 ac_cpp='$CXXCPP $CPPFLAGS'
46630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46635 /* end confdefs.h. */
46636 #include <math.h>
46637 #ifdef HAVE_IEEEFP_H
46638 #include <ieeefp.h>
46639 #endif
46642 main ()
46644 expf(0);
46646 return 0;
46648 _ACEOF
46649 if ac_fn_cxx_try_compile "$LINENO"; then :
46650 glibcxx_cv_func_expf_use=yes
46651 else
46652 glibcxx_cv_func_expf_use=no
46654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46655 ac_ext=c
46656 ac_cpp='$CPP $CPPFLAGS'
46657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46666 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46668 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46669 for ac_func in expf
46670 do :
46671 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46672 if test "x$ac_cv_func_expf" = x""yes; then :
46673 cat >>confdefs.h <<_ACEOF
46674 #define HAVE_EXPF 1
46675 _ACEOF
46678 done
46680 else
46682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46683 $as_echo_n "checking for _expf declaration... " >&6; }
46684 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46685 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46686 $as_echo_n "(cached) " >&6
46687 else
46690 ac_ext=cpp
46691 ac_cpp='$CXXCPP $CPPFLAGS'
46692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46697 /* end confdefs.h. */
46698 #include <math.h>
46699 #ifdef HAVE_IEEEFP_H
46700 #include <ieeefp.h>
46701 #endif
46704 main ()
46706 _expf(0);
46708 return 0;
46710 _ACEOF
46711 if ac_fn_cxx_try_compile "$LINENO"; then :
46712 glibcxx_cv_func__expf_use=yes
46713 else
46714 glibcxx_cv_func__expf_use=no
46716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46717 ac_ext=c
46718 ac_cpp='$CPP $CPPFLAGS'
46719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46728 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46730 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46731 for ac_func in _expf
46732 do :
46733 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46734 if test "x$ac_cv_func__expf" = x""yes; then :
46735 cat >>confdefs.h <<_ACEOF
46736 #define HAVE__EXPF 1
46737 _ACEOF
46740 done
46749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46750 $as_echo_n "checking for isnanf declaration... " >&6; }
46751 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46752 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46753 $as_echo_n "(cached) " >&6
46754 else
46757 ac_ext=cpp
46758 ac_cpp='$CXXCPP $CPPFLAGS'
46759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46764 /* end confdefs.h. */
46765 #include <math.h>
46766 #ifdef HAVE_IEEEFP_H
46767 #include <ieeefp.h>
46768 #endif
46771 main ()
46773 isnanf(0);
46775 return 0;
46777 _ACEOF
46778 if ac_fn_cxx_try_compile "$LINENO"; then :
46779 glibcxx_cv_func_isnanf_use=yes
46780 else
46781 glibcxx_cv_func_isnanf_use=no
46783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46784 ac_ext=c
46785 ac_cpp='$CPP $CPPFLAGS'
46786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46795 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46797 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46798 for ac_func in isnanf
46799 do :
46800 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46801 if test "x$ac_cv_func_isnanf" = x""yes; then :
46802 cat >>confdefs.h <<_ACEOF
46803 #define HAVE_ISNANF 1
46804 _ACEOF
46807 done
46809 else
46811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46812 $as_echo_n "checking for _isnanf declaration... " >&6; }
46813 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46814 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46815 $as_echo_n "(cached) " >&6
46816 else
46819 ac_ext=cpp
46820 ac_cpp='$CXXCPP $CPPFLAGS'
46821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46826 /* end confdefs.h. */
46827 #include <math.h>
46828 #ifdef HAVE_IEEEFP_H
46829 #include <ieeefp.h>
46830 #endif
46833 main ()
46835 _isnanf(0);
46837 return 0;
46839 _ACEOF
46840 if ac_fn_cxx_try_compile "$LINENO"; then :
46841 glibcxx_cv_func__isnanf_use=yes
46842 else
46843 glibcxx_cv_func__isnanf_use=no
46845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46846 ac_ext=c
46847 ac_cpp='$CPP $CPPFLAGS'
46848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46857 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46859 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46860 for ac_func in _isnanf
46861 do :
46862 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46863 if test "x$ac_cv_func__isnanf" = x""yes; then :
46864 cat >>confdefs.h <<_ACEOF
46865 #define HAVE__ISNANF 1
46866 _ACEOF
46869 done
46878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46879 $as_echo_n "checking for isinff declaration... " >&6; }
46880 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46881 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46882 $as_echo_n "(cached) " >&6
46883 else
46886 ac_ext=cpp
46887 ac_cpp='$CXXCPP $CPPFLAGS'
46888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46893 /* end confdefs.h. */
46894 #include <math.h>
46895 #ifdef HAVE_IEEEFP_H
46896 #include <ieeefp.h>
46897 #endif
46900 main ()
46902 isinff(0);
46904 return 0;
46906 _ACEOF
46907 if ac_fn_cxx_try_compile "$LINENO"; then :
46908 glibcxx_cv_func_isinff_use=yes
46909 else
46910 glibcxx_cv_func_isinff_use=no
46912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46913 ac_ext=c
46914 ac_cpp='$CPP $CPPFLAGS'
46915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46924 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46926 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46927 for ac_func in isinff
46928 do :
46929 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46930 if test "x$ac_cv_func_isinff" = x""yes; then :
46931 cat >>confdefs.h <<_ACEOF
46932 #define HAVE_ISINFF 1
46933 _ACEOF
46936 done
46938 else
46940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46941 $as_echo_n "checking for _isinff declaration... " >&6; }
46942 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46943 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46944 $as_echo_n "(cached) " >&6
46945 else
46948 ac_ext=cpp
46949 ac_cpp='$CXXCPP $CPPFLAGS'
46950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46955 /* end confdefs.h. */
46956 #include <math.h>
46957 #ifdef HAVE_IEEEFP_H
46958 #include <ieeefp.h>
46959 #endif
46962 main ()
46964 _isinff(0);
46966 return 0;
46968 _ACEOF
46969 if ac_fn_cxx_try_compile "$LINENO"; then :
46970 glibcxx_cv_func__isinff_use=yes
46971 else
46972 glibcxx_cv_func__isinff_use=no
46974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46975 ac_ext=c
46976 ac_cpp='$CPP $CPPFLAGS'
46977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46986 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46988 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46989 for ac_func in _isinff
46990 do :
46991 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46992 if test "x$ac_cv_func__isinff" = x""yes; then :
46993 cat >>confdefs.h <<_ACEOF
46994 #define HAVE__ISINFF 1
46995 _ACEOF
46998 done
47007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47008 $as_echo_n "checking for atan2f declaration... " >&6; }
47009 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47010 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47011 $as_echo_n "(cached) " >&6
47012 else
47015 ac_ext=cpp
47016 ac_cpp='$CXXCPP $CPPFLAGS'
47017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47022 /* end confdefs.h. */
47023 #include <math.h>
47025 main ()
47027 atan2f(0, 0);
47029 return 0;
47031 _ACEOF
47032 if ac_fn_cxx_try_compile "$LINENO"; then :
47033 glibcxx_cv_func_atan2f_use=yes
47034 else
47035 glibcxx_cv_func_atan2f_use=no
47037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47038 ac_ext=c
47039 ac_cpp='$CPP $CPPFLAGS'
47040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47049 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47051 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47052 for ac_func in atan2f
47053 do :
47054 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47055 if test "x$ac_cv_func_atan2f" = x""yes; then :
47056 cat >>confdefs.h <<_ACEOF
47057 #define HAVE_ATAN2F 1
47058 _ACEOF
47061 done
47063 else
47065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47066 $as_echo_n "checking for _atan2f declaration... " >&6; }
47067 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47068 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47069 $as_echo_n "(cached) " >&6
47070 else
47073 ac_ext=cpp
47074 ac_cpp='$CXXCPP $CPPFLAGS'
47075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47080 /* end confdefs.h. */
47081 #include <math.h>
47083 main ()
47085 _atan2f(0, 0);
47087 return 0;
47089 _ACEOF
47090 if ac_fn_cxx_try_compile "$LINENO"; then :
47091 glibcxx_cv_func__atan2f_use=yes
47092 else
47093 glibcxx_cv_func__atan2f_use=no
47095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47096 ac_ext=c
47097 ac_cpp='$CPP $CPPFLAGS'
47098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47107 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47109 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47110 for ac_func in _atan2f
47111 do :
47112 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47113 if test "x$ac_cv_func__atan2f" = x""yes; then :
47114 cat >>confdefs.h <<_ACEOF
47115 #define HAVE__ATAN2F 1
47116 _ACEOF
47119 done
47128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47129 $as_echo_n "checking for fabsf declaration... " >&6; }
47130 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47131 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47132 $as_echo_n "(cached) " >&6
47133 else
47136 ac_ext=cpp
47137 ac_cpp='$CXXCPP $CPPFLAGS'
47138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47143 /* end confdefs.h. */
47144 #include <math.h>
47145 #ifdef HAVE_IEEEFP_H
47146 #include <ieeefp.h>
47147 #endif
47150 main ()
47152 fabsf(0);
47154 return 0;
47156 _ACEOF
47157 if ac_fn_cxx_try_compile "$LINENO"; then :
47158 glibcxx_cv_func_fabsf_use=yes
47159 else
47160 glibcxx_cv_func_fabsf_use=no
47162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47163 ac_ext=c
47164 ac_cpp='$CPP $CPPFLAGS'
47165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47174 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47176 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47177 for ac_func in fabsf
47178 do :
47179 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47180 if test "x$ac_cv_func_fabsf" = x""yes; then :
47181 cat >>confdefs.h <<_ACEOF
47182 #define HAVE_FABSF 1
47183 _ACEOF
47186 done
47188 else
47190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47191 $as_echo_n "checking for _fabsf declaration... " >&6; }
47192 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47193 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47194 $as_echo_n "(cached) " >&6
47195 else
47198 ac_ext=cpp
47199 ac_cpp='$CXXCPP $CPPFLAGS'
47200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47205 /* end confdefs.h. */
47206 #include <math.h>
47207 #ifdef HAVE_IEEEFP_H
47208 #include <ieeefp.h>
47209 #endif
47212 main ()
47214 _fabsf(0);
47216 return 0;
47218 _ACEOF
47219 if ac_fn_cxx_try_compile "$LINENO"; then :
47220 glibcxx_cv_func__fabsf_use=yes
47221 else
47222 glibcxx_cv_func__fabsf_use=no
47224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47225 ac_ext=c
47226 ac_cpp='$CPP $CPPFLAGS'
47227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47236 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47238 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47239 for ac_func in _fabsf
47240 do :
47241 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47242 if test "x$ac_cv_func__fabsf" = x""yes; then :
47243 cat >>confdefs.h <<_ACEOF
47244 #define HAVE__FABSF 1
47245 _ACEOF
47248 done
47257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47258 $as_echo_n "checking for fmodf declaration... " >&6; }
47259 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47260 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47261 $as_echo_n "(cached) " >&6
47262 else
47265 ac_ext=cpp
47266 ac_cpp='$CXXCPP $CPPFLAGS'
47267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47272 /* end confdefs.h. */
47273 #include <math.h>
47275 main ()
47277 fmodf(0, 0);
47279 return 0;
47281 _ACEOF
47282 if ac_fn_cxx_try_compile "$LINENO"; then :
47283 glibcxx_cv_func_fmodf_use=yes
47284 else
47285 glibcxx_cv_func_fmodf_use=no
47287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47288 ac_ext=c
47289 ac_cpp='$CPP $CPPFLAGS'
47290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47299 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47301 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47302 for ac_func in fmodf
47303 do :
47304 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47305 if test "x$ac_cv_func_fmodf" = x""yes; then :
47306 cat >>confdefs.h <<_ACEOF
47307 #define HAVE_FMODF 1
47308 _ACEOF
47311 done
47313 else
47315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47316 $as_echo_n "checking for _fmodf declaration... " >&6; }
47317 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47318 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47319 $as_echo_n "(cached) " >&6
47320 else
47323 ac_ext=cpp
47324 ac_cpp='$CXXCPP $CPPFLAGS'
47325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47330 /* end confdefs.h. */
47331 #include <math.h>
47333 main ()
47335 _fmodf(0, 0);
47337 return 0;
47339 _ACEOF
47340 if ac_fn_cxx_try_compile "$LINENO"; then :
47341 glibcxx_cv_func__fmodf_use=yes
47342 else
47343 glibcxx_cv_func__fmodf_use=no
47345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47346 ac_ext=c
47347 ac_cpp='$CPP $CPPFLAGS'
47348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47357 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47359 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47360 for ac_func in _fmodf
47361 do :
47362 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47363 if test "x$ac_cv_func__fmodf" = x""yes; then :
47364 cat >>confdefs.h <<_ACEOF
47365 #define HAVE__FMODF 1
47366 _ACEOF
47369 done
47378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47379 $as_echo_n "checking for frexpf declaration... " >&6; }
47380 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47381 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47382 $as_echo_n "(cached) " >&6
47383 else
47386 ac_ext=cpp
47387 ac_cpp='$CXXCPP $CPPFLAGS'
47388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47393 /* end confdefs.h. */
47394 #include <math.h>
47396 main ()
47398 frexpf(0, 0);
47400 return 0;
47402 _ACEOF
47403 if ac_fn_cxx_try_compile "$LINENO"; then :
47404 glibcxx_cv_func_frexpf_use=yes
47405 else
47406 glibcxx_cv_func_frexpf_use=no
47408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47409 ac_ext=c
47410 ac_cpp='$CPP $CPPFLAGS'
47411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47420 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47422 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47423 for ac_func in frexpf
47424 do :
47425 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47426 if test "x$ac_cv_func_frexpf" = x""yes; then :
47427 cat >>confdefs.h <<_ACEOF
47428 #define HAVE_FREXPF 1
47429 _ACEOF
47432 done
47434 else
47436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47437 $as_echo_n "checking for _frexpf declaration... " >&6; }
47438 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47439 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47440 $as_echo_n "(cached) " >&6
47441 else
47444 ac_ext=cpp
47445 ac_cpp='$CXXCPP $CPPFLAGS'
47446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47451 /* end confdefs.h. */
47452 #include <math.h>
47454 main ()
47456 _frexpf(0, 0);
47458 return 0;
47460 _ACEOF
47461 if ac_fn_cxx_try_compile "$LINENO"; then :
47462 glibcxx_cv_func__frexpf_use=yes
47463 else
47464 glibcxx_cv_func__frexpf_use=no
47466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47467 ac_ext=c
47468 ac_cpp='$CPP $CPPFLAGS'
47469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47478 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47480 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47481 for ac_func in _frexpf
47482 do :
47483 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47484 if test "x$ac_cv_func__frexpf" = x""yes; then :
47485 cat >>confdefs.h <<_ACEOF
47486 #define HAVE__FREXPF 1
47487 _ACEOF
47490 done
47499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47500 $as_echo_n "checking for hypotf declaration... " >&6; }
47501 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47502 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47503 $as_echo_n "(cached) " >&6
47504 else
47507 ac_ext=cpp
47508 ac_cpp='$CXXCPP $CPPFLAGS'
47509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47514 /* end confdefs.h. */
47515 #include <math.h>
47517 main ()
47519 hypotf(0, 0);
47521 return 0;
47523 _ACEOF
47524 if ac_fn_cxx_try_compile "$LINENO"; then :
47525 glibcxx_cv_func_hypotf_use=yes
47526 else
47527 glibcxx_cv_func_hypotf_use=no
47529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47530 ac_ext=c
47531 ac_cpp='$CPP $CPPFLAGS'
47532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47541 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47543 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47544 for ac_func in hypotf
47545 do :
47546 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47547 if test "x$ac_cv_func_hypotf" = x""yes; then :
47548 cat >>confdefs.h <<_ACEOF
47549 #define HAVE_HYPOTF 1
47550 _ACEOF
47553 done
47555 else
47557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47558 $as_echo_n "checking for _hypotf declaration... " >&6; }
47559 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47560 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47561 $as_echo_n "(cached) " >&6
47562 else
47565 ac_ext=cpp
47566 ac_cpp='$CXXCPP $CPPFLAGS'
47567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47572 /* end confdefs.h. */
47573 #include <math.h>
47575 main ()
47577 _hypotf(0, 0);
47579 return 0;
47581 _ACEOF
47582 if ac_fn_cxx_try_compile "$LINENO"; then :
47583 glibcxx_cv_func__hypotf_use=yes
47584 else
47585 glibcxx_cv_func__hypotf_use=no
47587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47588 ac_ext=c
47589 ac_cpp='$CPP $CPPFLAGS'
47590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47599 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47601 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47602 for ac_func in _hypotf
47603 do :
47604 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47605 if test "x$ac_cv_func__hypotf" = x""yes; then :
47606 cat >>confdefs.h <<_ACEOF
47607 #define HAVE__HYPOTF 1
47608 _ACEOF
47611 done
47620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47621 $as_echo_n "checking for ldexpf declaration... " >&6; }
47622 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47623 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47624 $as_echo_n "(cached) " >&6
47625 else
47628 ac_ext=cpp
47629 ac_cpp='$CXXCPP $CPPFLAGS'
47630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47635 /* end confdefs.h. */
47636 #include <math.h>
47638 main ()
47640 ldexpf(0, 0);
47642 return 0;
47644 _ACEOF
47645 if ac_fn_cxx_try_compile "$LINENO"; then :
47646 glibcxx_cv_func_ldexpf_use=yes
47647 else
47648 glibcxx_cv_func_ldexpf_use=no
47650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47651 ac_ext=c
47652 ac_cpp='$CPP $CPPFLAGS'
47653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47662 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47664 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47665 for ac_func in ldexpf
47666 do :
47667 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47668 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47669 cat >>confdefs.h <<_ACEOF
47670 #define HAVE_LDEXPF 1
47671 _ACEOF
47674 done
47676 else
47678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47679 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47680 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47681 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47682 $as_echo_n "(cached) " >&6
47683 else
47686 ac_ext=cpp
47687 ac_cpp='$CXXCPP $CPPFLAGS'
47688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47693 /* end confdefs.h. */
47694 #include <math.h>
47696 main ()
47698 _ldexpf(0, 0);
47700 return 0;
47702 _ACEOF
47703 if ac_fn_cxx_try_compile "$LINENO"; then :
47704 glibcxx_cv_func__ldexpf_use=yes
47705 else
47706 glibcxx_cv_func__ldexpf_use=no
47708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47709 ac_ext=c
47710 ac_cpp='$CPP $CPPFLAGS'
47711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47720 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47722 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47723 for ac_func in _ldexpf
47724 do :
47725 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47726 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47727 cat >>confdefs.h <<_ACEOF
47728 #define HAVE__LDEXPF 1
47729 _ACEOF
47732 done
47741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47742 $as_echo_n "checking for logf declaration... " >&6; }
47743 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47744 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47745 $as_echo_n "(cached) " >&6
47746 else
47749 ac_ext=cpp
47750 ac_cpp='$CXXCPP $CPPFLAGS'
47751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47756 /* end confdefs.h. */
47757 #include <math.h>
47758 #ifdef HAVE_IEEEFP_H
47759 #include <ieeefp.h>
47760 #endif
47763 main ()
47765 logf(0);
47767 return 0;
47769 _ACEOF
47770 if ac_fn_cxx_try_compile "$LINENO"; then :
47771 glibcxx_cv_func_logf_use=yes
47772 else
47773 glibcxx_cv_func_logf_use=no
47775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47776 ac_ext=c
47777 ac_cpp='$CPP $CPPFLAGS'
47778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47787 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47789 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47790 for ac_func in logf
47791 do :
47792 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47793 if test "x$ac_cv_func_logf" = x""yes; then :
47794 cat >>confdefs.h <<_ACEOF
47795 #define HAVE_LOGF 1
47796 _ACEOF
47799 done
47801 else
47803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47804 $as_echo_n "checking for _logf declaration... " >&6; }
47805 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47806 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47807 $as_echo_n "(cached) " >&6
47808 else
47811 ac_ext=cpp
47812 ac_cpp='$CXXCPP $CPPFLAGS'
47813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47818 /* end confdefs.h. */
47819 #include <math.h>
47820 #ifdef HAVE_IEEEFP_H
47821 #include <ieeefp.h>
47822 #endif
47825 main ()
47827 _logf(0);
47829 return 0;
47831 _ACEOF
47832 if ac_fn_cxx_try_compile "$LINENO"; then :
47833 glibcxx_cv_func__logf_use=yes
47834 else
47835 glibcxx_cv_func__logf_use=no
47837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47838 ac_ext=c
47839 ac_cpp='$CPP $CPPFLAGS'
47840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47849 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47851 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47852 for ac_func in _logf
47853 do :
47854 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47855 if test "x$ac_cv_func__logf" = x""yes; then :
47856 cat >>confdefs.h <<_ACEOF
47857 #define HAVE__LOGF 1
47858 _ACEOF
47861 done
47870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47871 $as_echo_n "checking for log10f declaration... " >&6; }
47872 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47873 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47874 $as_echo_n "(cached) " >&6
47875 else
47878 ac_ext=cpp
47879 ac_cpp='$CXXCPP $CPPFLAGS'
47880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47885 /* end confdefs.h. */
47886 #include <math.h>
47887 #ifdef HAVE_IEEEFP_H
47888 #include <ieeefp.h>
47889 #endif
47892 main ()
47894 log10f(0);
47896 return 0;
47898 _ACEOF
47899 if ac_fn_cxx_try_compile "$LINENO"; then :
47900 glibcxx_cv_func_log10f_use=yes
47901 else
47902 glibcxx_cv_func_log10f_use=no
47904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47905 ac_ext=c
47906 ac_cpp='$CPP $CPPFLAGS'
47907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47916 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47918 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47919 for ac_func in log10f
47920 do :
47921 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47922 if test "x$ac_cv_func_log10f" = x""yes; then :
47923 cat >>confdefs.h <<_ACEOF
47924 #define HAVE_LOG10F 1
47925 _ACEOF
47928 done
47930 else
47932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47933 $as_echo_n "checking for _log10f declaration... " >&6; }
47934 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47935 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47936 $as_echo_n "(cached) " >&6
47937 else
47940 ac_ext=cpp
47941 ac_cpp='$CXXCPP $CPPFLAGS'
47942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47947 /* end confdefs.h. */
47948 #include <math.h>
47949 #ifdef HAVE_IEEEFP_H
47950 #include <ieeefp.h>
47951 #endif
47954 main ()
47956 _log10f(0);
47958 return 0;
47960 _ACEOF
47961 if ac_fn_cxx_try_compile "$LINENO"; then :
47962 glibcxx_cv_func__log10f_use=yes
47963 else
47964 glibcxx_cv_func__log10f_use=no
47966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47967 ac_ext=c
47968 ac_cpp='$CPP $CPPFLAGS'
47969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47978 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47980 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47981 for ac_func in _log10f
47982 do :
47983 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47984 if test "x$ac_cv_func__log10f" = x""yes; then :
47985 cat >>confdefs.h <<_ACEOF
47986 #define HAVE__LOG10F 1
47987 _ACEOF
47990 done
47999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48000 $as_echo_n "checking for modff declaration... " >&6; }
48001 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48002 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48003 $as_echo_n "(cached) " >&6
48004 else
48007 ac_ext=cpp
48008 ac_cpp='$CXXCPP $CPPFLAGS'
48009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48014 /* end confdefs.h. */
48015 #include <math.h>
48017 main ()
48019 modff(0, 0);
48021 return 0;
48023 _ACEOF
48024 if ac_fn_cxx_try_compile "$LINENO"; then :
48025 glibcxx_cv_func_modff_use=yes
48026 else
48027 glibcxx_cv_func_modff_use=no
48029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48030 ac_ext=c
48031 ac_cpp='$CPP $CPPFLAGS'
48032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48041 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48043 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48044 for ac_func in modff
48045 do :
48046 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48047 if test "x$ac_cv_func_modff" = x""yes; then :
48048 cat >>confdefs.h <<_ACEOF
48049 #define HAVE_MODFF 1
48050 _ACEOF
48053 done
48055 else
48057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48058 $as_echo_n "checking for _modff declaration... " >&6; }
48059 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48060 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48061 $as_echo_n "(cached) " >&6
48062 else
48065 ac_ext=cpp
48066 ac_cpp='$CXXCPP $CPPFLAGS'
48067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48072 /* end confdefs.h. */
48073 #include <math.h>
48075 main ()
48077 _modff(0, 0);
48079 return 0;
48081 _ACEOF
48082 if ac_fn_cxx_try_compile "$LINENO"; then :
48083 glibcxx_cv_func__modff_use=yes
48084 else
48085 glibcxx_cv_func__modff_use=no
48087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48088 ac_ext=c
48089 ac_cpp='$CPP $CPPFLAGS'
48090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48099 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48101 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48102 for ac_func in _modff
48103 do :
48104 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48105 if test "x$ac_cv_func__modff" = x""yes; then :
48106 cat >>confdefs.h <<_ACEOF
48107 #define HAVE__MODFF 1
48108 _ACEOF
48111 done
48120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48121 $as_echo_n "checking for modf declaration... " >&6; }
48122 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48123 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48124 $as_echo_n "(cached) " >&6
48125 else
48128 ac_ext=cpp
48129 ac_cpp='$CXXCPP $CPPFLAGS'
48130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48135 /* end confdefs.h. */
48136 #include <math.h>
48138 main ()
48140 modf(0, 0);
48142 return 0;
48144 _ACEOF
48145 if ac_fn_cxx_try_compile "$LINENO"; then :
48146 glibcxx_cv_func_modf_use=yes
48147 else
48148 glibcxx_cv_func_modf_use=no
48150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48151 ac_ext=c
48152 ac_cpp='$CPP $CPPFLAGS'
48153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48162 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48164 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48165 for ac_func in modf
48166 do :
48167 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48168 if test "x$ac_cv_func_modf" = x""yes; then :
48169 cat >>confdefs.h <<_ACEOF
48170 #define HAVE_MODF 1
48171 _ACEOF
48174 done
48176 else
48178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48179 $as_echo_n "checking for _modf declaration... " >&6; }
48180 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48181 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48182 $as_echo_n "(cached) " >&6
48183 else
48186 ac_ext=cpp
48187 ac_cpp='$CXXCPP $CPPFLAGS'
48188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48193 /* end confdefs.h. */
48194 #include <math.h>
48196 main ()
48198 _modf(0, 0);
48200 return 0;
48202 _ACEOF
48203 if ac_fn_cxx_try_compile "$LINENO"; then :
48204 glibcxx_cv_func__modf_use=yes
48205 else
48206 glibcxx_cv_func__modf_use=no
48208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48209 ac_ext=c
48210 ac_cpp='$CPP $CPPFLAGS'
48211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48220 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48222 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48223 for ac_func in _modf
48224 do :
48225 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48226 if test "x$ac_cv_func__modf" = x""yes; then :
48227 cat >>confdefs.h <<_ACEOF
48228 #define HAVE__MODF 1
48229 _ACEOF
48232 done
48241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48242 $as_echo_n "checking for powf declaration... " >&6; }
48243 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48244 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48245 $as_echo_n "(cached) " >&6
48246 else
48249 ac_ext=cpp
48250 ac_cpp='$CXXCPP $CPPFLAGS'
48251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48256 /* end confdefs.h. */
48257 #include <math.h>
48259 main ()
48261 powf(0, 0);
48263 return 0;
48265 _ACEOF
48266 if ac_fn_cxx_try_compile "$LINENO"; then :
48267 glibcxx_cv_func_powf_use=yes
48268 else
48269 glibcxx_cv_func_powf_use=no
48271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48272 ac_ext=c
48273 ac_cpp='$CPP $CPPFLAGS'
48274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48283 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48285 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48286 for ac_func in powf
48287 do :
48288 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48289 if test "x$ac_cv_func_powf" = x""yes; then :
48290 cat >>confdefs.h <<_ACEOF
48291 #define HAVE_POWF 1
48292 _ACEOF
48295 done
48297 else
48299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48300 $as_echo_n "checking for _powf declaration... " >&6; }
48301 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48302 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48303 $as_echo_n "(cached) " >&6
48304 else
48307 ac_ext=cpp
48308 ac_cpp='$CXXCPP $CPPFLAGS'
48309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48314 /* end confdefs.h. */
48315 #include <math.h>
48317 main ()
48319 _powf(0, 0);
48321 return 0;
48323 _ACEOF
48324 if ac_fn_cxx_try_compile "$LINENO"; then :
48325 glibcxx_cv_func__powf_use=yes
48326 else
48327 glibcxx_cv_func__powf_use=no
48329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48330 ac_ext=c
48331 ac_cpp='$CPP $CPPFLAGS'
48332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48341 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48343 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48344 for ac_func in _powf
48345 do :
48346 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48347 if test "x$ac_cv_func__powf" = x""yes; then :
48348 cat >>confdefs.h <<_ACEOF
48349 #define HAVE__POWF 1
48350 _ACEOF
48353 done
48362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48363 $as_echo_n "checking for sqrtf declaration... " >&6; }
48364 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48365 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48366 $as_echo_n "(cached) " >&6
48367 else
48370 ac_ext=cpp
48371 ac_cpp='$CXXCPP $CPPFLAGS'
48372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48377 /* end confdefs.h. */
48378 #include <math.h>
48379 #ifdef HAVE_IEEEFP_H
48380 #include <ieeefp.h>
48381 #endif
48384 main ()
48386 sqrtf(0);
48388 return 0;
48390 _ACEOF
48391 if ac_fn_cxx_try_compile "$LINENO"; then :
48392 glibcxx_cv_func_sqrtf_use=yes
48393 else
48394 glibcxx_cv_func_sqrtf_use=no
48396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48397 ac_ext=c
48398 ac_cpp='$CPP $CPPFLAGS'
48399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48408 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48410 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48411 for ac_func in sqrtf
48412 do :
48413 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48414 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48415 cat >>confdefs.h <<_ACEOF
48416 #define HAVE_SQRTF 1
48417 _ACEOF
48420 done
48422 else
48424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48425 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48426 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48427 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48428 $as_echo_n "(cached) " >&6
48429 else
48432 ac_ext=cpp
48433 ac_cpp='$CXXCPP $CPPFLAGS'
48434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48439 /* end confdefs.h. */
48440 #include <math.h>
48441 #ifdef HAVE_IEEEFP_H
48442 #include <ieeefp.h>
48443 #endif
48446 main ()
48448 _sqrtf(0);
48450 return 0;
48452 _ACEOF
48453 if ac_fn_cxx_try_compile "$LINENO"; then :
48454 glibcxx_cv_func__sqrtf_use=yes
48455 else
48456 glibcxx_cv_func__sqrtf_use=no
48458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48459 ac_ext=c
48460 ac_cpp='$CPP $CPPFLAGS'
48461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48470 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48472 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48473 for ac_func in _sqrtf
48474 do :
48475 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48476 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48477 cat >>confdefs.h <<_ACEOF
48478 #define HAVE__SQRTF 1
48479 _ACEOF
48482 done
48491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48492 $as_echo_n "checking for sincosf declaration... " >&6; }
48493 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48494 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48495 $as_echo_n "(cached) " >&6
48496 else
48499 ac_ext=cpp
48500 ac_cpp='$CXXCPP $CPPFLAGS'
48501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48506 /* end confdefs.h. */
48507 #include <math.h>
48509 main ()
48511 sincosf(0, 0, 0);
48513 return 0;
48515 _ACEOF
48516 if ac_fn_cxx_try_compile "$LINENO"; then :
48517 glibcxx_cv_func_sincosf_use=yes
48518 else
48519 glibcxx_cv_func_sincosf_use=no
48521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48522 ac_ext=c
48523 ac_cpp='$CPP $CPPFLAGS'
48524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48533 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48535 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48536 for ac_func in sincosf
48537 do :
48538 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48539 if test "x$ac_cv_func_sincosf" = x""yes; then :
48540 cat >>confdefs.h <<_ACEOF
48541 #define HAVE_SINCOSF 1
48542 _ACEOF
48545 done
48547 else
48549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48550 $as_echo_n "checking for _sincosf declaration... " >&6; }
48551 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48552 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48553 $as_echo_n "(cached) " >&6
48554 else
48557 ac_ext=cpp
48558 ac_cpp='$CXXCPP $CPPFLAGS'
48559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48564 /* end confdefs.h. */
48565 #include <math.h>
48567 main ()
48569 _sincosf(0, 0, 0);
48571 return 0;
48573 _ACEOF
48574 if ac_fn_cxx_try_compile "$LINENO"; then :
48575 glibcxx_cv_func__sincosf_use=yes
48576 else
48577 glibcxx_cv_func__sincosf_use=no
48579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48580 ac_ext=c
48581 ac_cpp='$CPP $CPPFLAGS'
48582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48591 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48593 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48594 for ac_func in _sincosf
48595 do :
48596 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48597 if test "x$ac_cv_func__sincosf" = x""yes; then :
48598 cat >>confdefs.h <<_ACEOF
48599 #define HAVE__SINCOSF 1
48600 _ACEOF
48603 done
48612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48613 $as_echo_n "checking for finitef declaration... " >&6; }
48614 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48615 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48616 $as_echo_n "(cached) " >&6
48617 else
48620 ac_ext=cpp
48621 ac_cpp='$CXXCPP $CPPFLAGS'
48622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48627 /* end confdefs.h. */
48628 #include <math.h>
48629 #ifdef HAVE_IEEEFP_H
48630 #include <ieeefp.h>
48631 #endif
48634 main ()
48636 finitef(0);
48638 return 0;
48640 _ACEOF
48641 if ac_fn_cxx_try_compile "$LINENO"; then :
48642 glibcxx_cv_func_finitef_use=yes
48643 else
48644 glibcxx_cv_func_finitef_use=no
48646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48647 ac_ext=c
48648 ac_cpp='$CPP $CPPFLAGS'
48649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48658 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48660 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48661 for ac_func in finitef
48662 do :
48663 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48664 if test "x$ac_cv_func_finitef" = x""yes; then :
48665 cat >>confdefs.h <<_ACEOF
48666 #define HAVE_FINITEF 1
48667 _ACEOF
48670 done
48672 else
48674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48675 $as_echo_n "checking for _finitef declaration... " >&6; }
48676 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48677 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48678 $as_echo_n "(cached) " >&6
48679 else
48682 ac_ext=cpp
48683 ac_cpp='$CXXCPP $CPPFLAGS'
48684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48689 /* end confdefs.h. */
48690 #include <math.h>
48691 #ifdef HAVE_IEEEFP_H
48692 #include <ieeefp.h>
48693 #endif
48696 main ()
48698 _finitef(0);
48700 return 0;
48702 _ACEOF
48703 if ac_fn_cxx_try_compile "$LINENO"; then :
48704 glibcxx_cv_func__finitef_use=yes
48705 else
48706 glibcxx_cv_func__finitef_use=no
48708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48709 ac_ext=c
48710 ac_cpp='$CPP $CPPFLAGS'
48711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48720 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48722 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48723 for ac_func in _finitef
48724 do :
48725 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48726 if test "x$ac_cv_func__finitef" = x""yes; then :
48727 cat >>confdefs.h <<_ACEOF
48728 #define HAVE__FINITEF 1
48729 _ACEOF
48732 done
48741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48742 $as_echo_n "checking for long double trig functions... " >&6; }
48743 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48744 $as_echo_n "(cached) " >&6
48745 else
48748 ac_ext=cpp
48749 ac_cpp='$CXXCPP $CPPFLAGS'
48750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48755 /* end confdefs.h. */
48756 #include <math.h>
48758 main ()
48760 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48762 return 0;
48764 _ACEOF
48765 if ac_fn_cxx_try_compile "$LINENO"; then :
48766 glibcxx_cv_func_long_double_trig_use=yes
48767 else
48768 glibcxx_cv_func_long_double_trig_use=no
48770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48771 ac_ext=c
48772 ac_cpp='$CPP $CPPFLAGS'
48773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48780 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48781 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48782 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48783 do :
48784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48786 eval as_val=\$$as_ac_var
48787 if test "x$as_val" = x""yes; then :
48788 cat >>confdefs.h <<_ACEOF
48789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48790 _ACEOF
48793 done
48795 else
48796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48797 $as_echo_n "checking for _long double trig functions... " >&6; }
48798 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48799 $as_echo_n "(cached) " >&6
48800 else
48803 ac_ext=cpp
48804 ac_cpp='$CXXCPP $CPPFLAGS'
48805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48810 /* end confdefs.h. */
48811 #include <math.h>
48813 main ()
48815 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48817 return 0;
48819 _ACEOF
48820 if ac_fn_cxx_try_compile "$LINENO"; then :
48821 glibcxx_cv_func__long_double_trig_use=yes
48822 else
48823 glibcxx_cv_func__long_double_trig_use=no
48825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48826 ac_ext=c
48827 ac_cpp='$CPP $CPPFLAGS'
48828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48835 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48836 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48837 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48838 do :
48839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48841 eval as_val=\$$as_ac_var
48842 if test "x$as_val" = x""yes; then :
48843 cat >>confdefs.h <<_ACEOF
48844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48845 _ACEOF
48848 done
48857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48858 $as_echo_n "checking for long double round functions... " >&6; }
48859 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48860 $as_echo_n "(cached) " >&6
48861 else
48864 ac_ext=cpp
48865 ac_cpp='$CXXCPP $CPPFLAGS'
48866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48871 /* end confdefs.h. */
48872 #include <math.h>
48874 main ()
48876 ceill (0); floorl (0);
48878 return 0;
48880 _ACEOF
48881 if ac_fn_cxx_try_compile "$LINENO"; then :
48882 glibcxx_cv_func_long_double_round_use=yes
48883 else
48884 glibcxx_cv_func_long_double_round_use=no
48886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48887 ac_ext=c
48888 ac_cpp='$CPP $CPPFLAGS'
48889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48896 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48897 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48898 for ac_func in ceill floorl
48899 do :
48900 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48901 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48902 eval as_val=\$$as_ac_var
48903 if test "x$as_val" = x""yes; then :
48904 cat >>confdefs.h <<_ACEOF
48905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48906 _ACEOF
48909 done
48911 else
48912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48913 $as_echo_n "checking for _long double round functions... " >&6; }
48914 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48915 $as_echo_n "(cached) " >&6
48916 else
48919 ac_ext=cpp
48920 ac_cpp='$CXXCPP $CPPFLAGS'
48921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48926 /* end confdefs.h. */
48927 #include <math.h>
48929 main ()
48931 _ceill (0); _floorl (0);
48933 return 0;
48935 _ACEOF
48936 if ac_fn_cxx_try_compile "$LINENO"; then :
48937 glibcxx_cv_func__long_double_round_use=yes
48938 else
48939 glibcxx_cv_func__long_double_round_use=no
48941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48942 ac_ext=c
48943 ac_cpp='$CPP $CPPFLAGS'
48944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48951 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48952 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48953 for ac_func in _ceill _floorl
48954 do :
48955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48957 eval as_val=\$$as_ac_var
48958 if test "x$as_val" = x""yes; then :
48959 cat >>confdefs.h <<_ACEOF
48960 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48961 _ACEOF
48964 done
48974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48975 $as_echo_n "checking for isnanl declaration... " >&6; }
48976 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48977 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48978 $as_echo_n "(cached) " >&6
48979 else
48982 ac_ext=cpp
48983 ac_cpp='$CXXCPP $CPPFLAGS'
48984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48989 /* end confdefs.h. */
48990 #include <math.h>
48991 #ifdef HAVE_IEEEFP_H
48992 #include <ieeefp.h>
48993 #endif
48996 main ()
48998 isnanl(0);
49000 return 0;
49002 _ACEOF
49003 if ac_fn_cxx_try_compile "$LINENO"; then :
49004 glibcxx_cv_func_isnanl_use=yes
49005 else
49006 glibcxx_cv_func_isnanl_use=no
49008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49009 ac_ext=c
49010 ac_cpp='$CPP $CPPFLAGS'
49011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49020 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49022 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49023 for ac_func in isnanl
49024 do :
49025 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49026 if test "x$ac_cv_func_isnanl" = x""yes; then :
49027 cat >>confdefs.h <<_ACEOF
49028 #define HAVE_ISNANL 1
49029 _ACEOF
49032 done
49034 else
49036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49037 $as_echo_n "checking for _isnanl declaration... " >&6; }
49038 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49039 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49040 $as_echo_n "(cached) " >&6
49041 else
49044 ac_ext=cpp
49045 ac_cpp='$CXXCPP $CPPFLAGS'
49046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49051 /* end confdefs.h. */
49052 #include <math.h>
49053 #ifdef HAVE_IEEEFP_H
49054 #include <ieeefp.h>
49055 #endif
49058 main ()
49060 _isnanl(0);
49062 return 0;
49064 _ACEOF
49065 if ac_fn_cxx_try_compile "$LINENO"; then :
49066 glibcxx_cv_func__isnanl_use=yes
49067 else
49068 glibcxx_cv_func__isnanl_use=no
49070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49071 ac_ext=c
49072 ac_cpp='$CPP $CPPFLAGS'
49073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49082 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49084 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49085 for ac_func in _isnanl
49086 do :
49087 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49088 if test "x$ac_cv_func__isnanl" = x""yes; then :
49089 cat >>confdefs.h <<_ACEOF
49090 #define HAVE__ISNANL 1
49091 _ACEOF
49094 done
49103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49104 $as_echo_n "checking for isinfl declaration... " >&6; }
49105 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49106 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49107 $as_echo_n "(cached) " >&6
49108 else
49111 ac_ext=cpp
49112 ac_cpp='$CXXCPP $CPPFLAGS'
49113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49118 /* end confdefs.h. */
49119 #include <math.h>
49120 #ifdef HAVE_IEEEFP_H
49121 #include <ieeefp.h>
49122 #endif
49125 main ()
49127 isinfl(0);
49129 return 0;
49131 _ACEOF
49132 if ac_fn_cxx_try_compile "$LINENO"; then :
49133 glibcxx_cv_func_isinfl_use=yes
49134 else
49135 glibcxx_cv_func_isinfl_use=no
49137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49138 ac_ext=c
49139 ac_cpp='$CPP $CPPFLAGS'
49140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49149 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49151 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49152 for ac_func in isinfl
49153 do :
49154 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49155 if test "x$ac_cv_func_isinfl" = x""yes; then :
49156 cat >>confdefs.h <<_ACEOF
49157 #define HAVE_ISINFL 1
49158 _ACEOF
49161 done
49163 else
49165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49166 $as_echo_n "checking for _isinfl declaration... " >&6; }
49167 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49168 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49169 $as_echo_n "(cached) " >&6
49170 else
49173 ac_ext=cpp
49174 ac_cpp='$CXXCPP $CPPFLAGS'
49175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49180 /* end confdefs.h. */
49181 #include <math.h>
49182 #ifdef HAVE_IEEEFP_H
49183 #include <ieeefp.h>
49184 #endif
49187 main ()
49189 _isinfl(0);
49191 return 0;
49193 _ACEOF
49194 if ac_fn_cxx_try_compile "$LINENO"; then :
49195 glibcxx_cv_func__isinfl_use=yes
49196 else
49197 glibcxx_cv_func__isinfl_use=no
49199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49200 ac_ext=c
49201 ac_cpp='$CPP $CPPFLAGS'
49202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49211 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49213 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49214 for ac_func in _isinfl
49215 do :
49216 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49217 if test "x$ac_cv_func__isinfl" = x""yes; then :
49218 cat >>confdefs.h <<_ACEOF
49219 #define HAVE__ISINFL 1
49220 _ACEOF
49223 done
49232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49233 $as_echo_n "checking for atan2l declaration... " >&6; }
49234 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49235 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49236 $as_echo_n "(cached) " >&6
49237 else
49240 ac_ext=cpp
49241 ac_cpp='$CXXCPP $CPPFLAGS'
49242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49247 /* end confdefs.h. */
49248 #include <math.h>
49250 main ()
49252 atan2l(0, 0);
49254 return 0;
49256 _ACEOF
49257 if ac_fn_cxx_try_compile "$LINENO"; then :
49258 glibcxx_cv_func_atan2l_use=yes
49259 else
49260 glibcxx_cv_func_atan2l_use=no
49262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49263 ac_ext=c
49264 ac_cpp='$CPP $CPPFLAGS'
49265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49274 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49276 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49277 for ac_func in atan2l
49278 do :
49279 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49280 if test "x$ac_cv_func_atan2l" = x""yes; then :
49281 cat >>confdefs.h <<_ACEOF
49282 #define HAVE_ATAN2L 1
49283 _ACEOF
49286 done
49288 else
49290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49291 $as_echo_n "checking for _atan2l declaration... " >&6; }
49292 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49293 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49294 $as_echo_n "(cached) " >&6
49295 else
49298 ac_ext=cpp
49299 ac_cpp='$CXXCPP $CPPFLAGS'
49300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49305 /* end confdefs.h. */
49306 #include <math.h>
49308 main ()
49310 _atan2l(0, 0);
49312 return 0;
49314 _ACEOF
49315 if ac_fn_cxx_try_compile "$LINENO"; then :
49316 glibcxx_cv_func__atan2l_use=yes
49317 else
49318 glibcxx_cv_func__atan2l_use=no
49320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49321 ac_ext=c
49322 ac_cpp='$CPP $CPPFLAGS'
49323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49332 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49334 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49335 for ac_func in _atan2l
49336 do :
49337 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49338 if test "x$ac_cv_func__atan2l" = x""yes; then :
49339 cat >>confdefs.h <<_ACEOF
49340 #define HAVE__ATAN2L 1
49341 _ACEOF
49344 done
49353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49354 $as_echo_n "checking for expl declaration... " >&6; }
49355 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49356 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49357 $as_echo_n "(cached) " >&6
49358 else
49361 ac_ext=cpp
49362 ac_cpp='$CXXCPP $CPPFLAGS'
49363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49368 /* end confdefs.h. */
49369 #include <math.h>
49370 #ifdef HAVE_IEEEFP_H
49371 #include <ieeefp.h>
49372 #endif
49375 main ()
49377 expl(0);
49379 return 0;
49381 _ACEOF
49382 if ac_fn_cxx_try_compile "$LINENO"; then :
49383 glibcxx_cv_func_expl_use=yes
49384 else
49385 glibcxx_cv_func_expl_use=no
49387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49388 ac_ext=c
49389 ac_cpp='$CPP $CPPFLAGS'
49390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49399 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49401 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49402 for ac_func in expl
49403 do :
49404 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49405 if test "x$ac_cv_func_expl" = x""yes; then :
49406 cat >>confdefs.h <<_ACEOF
49407 #define HAVE_EXPL 1
49408 _ACEOF
49411 done
49413 else
49415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49416 $as_echo_n "checking for _expl declaration... " >&6; }
49417 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49418 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49419 $as_echo_n "(cached) " >&6
49420 else
49423 ac_ext=cpp
49424 ac_cpp='$CXXCPP $CPPFLAGS'
49425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49430 /* end confdefs.h. */
49431 #include <math.h>
49432 #ifdef HAVE_IEEEFP_H
49433 #include <ieeefp.h>
49434 #endif
49437 main ()
49439 _expl(0);
49441 return 0;
49443 _ACEOF
49444 if ac_fn_cxx_try_compile "$LINENO"; then :
49445 glibcxx_cv_func__expl_use=yes
49446 else
49447 glibcxx_cv_func__expl_use=no
49449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49450 ac_ext=c
49451 ac_cpp='$CPP $CPPFLAGS'
49452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49461 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49463 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49464 for ac_func in _expl
49465 do :
49466 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49467 if test "x$ac_cv_func__expl" = x""yes; then :
49468 cat >>confdefs.h <<_ACEOF
49469 #define HAVE__EXPL 1
49470 _ACEOF
49473 done
49482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49483 $as_echo_n "checking for fabsl declaration... " >&6; }
49484 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49485 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49486 $as_echo_n "(cached) " >&6
49487 else
49490 ac_ext=cpp
49491 ac_cpp='$CXXCPP $CPPFLAGS'
49492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49497 /* end confdefs.h. */
49498 #include <math.h>
49499 #ifdef HAVE_IEEEFP_H
49500 #include <ieeefp.h>
49501 #endif
49504 main ()
49506 fabsl(0);
49508 return 0;
49510 _ACEOF
49511 if ac_fn_cxx_try_compile "$LINENO"; then :
49512 glibcxx_cv_func_fabsl_use=yes
49513 else
49514 glibcxx_cv_func_fabsl_use=no
49516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49517 ac_ext=c
49518 ac_cpp='$CPP $CPPFLAGS'
49519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49528 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49530 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49531 for ac_func in fabsl
49532 do :
49533 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49534 if test "x$ac_cv_func_fabsl" = x""yes; then :
49535 cat >>confdefs.h <<_ACEOF
49536 #define HAVE_FABSL 1
49537 _ACEOF
49540 done
49542 else
49544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49545 $as_echo_n "checking for _fabsl declaration... " >&6; }
49546 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49547 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49548 $as_echo_n "(cached) " >&6
49549 else
49552 ac_ext=cpp
49553 ac_cpp='$CXXCPP $CPPFLAGS'
49554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49559 /* end confdefs.h. */
49560 #include <math.h>
49561 #ifdef HAVE_IEEEFP_H
49562 #include <ieeefp.h>
49563 #endif
49566 main ()
49568 _fabsl(0);
49570 return 0;
49572 _ACEOF
49573 if ac_fn_cxx_try_compile "$LINENO"; then :
49574 glibcxx_cv_func__fabsl_use=yes
49575 else
49576 glibcxx_cv_func__fabsl_use=no
49578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49579 ac_ext=c
49580 ac_cpp='$CPP $CPPFLAGS'
49581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49590 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49592 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49593 for ac_func in _fabsl
49594 do :
49595 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49596 if test "x$ac_cv_func__fabsl" = x""yes; then :
49597 cat >>confdefs.h <<_ACEOF
49598 #define HAVE__FABSL 1
49599 _ACEOF
49602 done
49611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49612 $as_echo_n "checking for fmodl declaration... " >&6; }
49613 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49614 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49615 $as_echo_n "(cached) " >&6
49616 else
49619 ac_ext=cpp
49620 ac_cpp='$CXXCPP $CPPFLAGS'
49621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49626 /* end confdefs.h. */
49627 #include <math.h>
49629 main ()
49631 fmodl(0, 0);
49633 return 0;
49635 _ACEOF
49636 if ac_fn_cxx_try_compile "$LINENO"; then :
49637 glibcxx_cv_func_fmodl_use=yes
49638 else
49639 glibcxx_cv_func_fmodl_use=no
49641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49642 ac_ext=c
49643 ac_cpp='$CPP $CPPFLAGS'
49644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49653 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49655 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49656 for ac_func in fmodl
49657 do :
49658 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49659 if test "x$ac_cv_func_fmodl" = x""yes; then :
49660 cat >>confdefs.h <<_ACEOF
49661 #define HAVE_FMODL 1
49662 _ACEOF
49665 done
49667 else
49669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49670 $as_echo_n "checking for _fmodl declaration... " >&6; }
49671 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49672 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49673 $as_echo_n "(cached) " >&6
49674 else
49677 ac_ext=cpp
49678 ac_cpp='$CXXCPP $CPPFLAGS'
49679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49684 /* end confdefs.h. */
49685 #include <math.h>
49687 main ()
49689 _fmodl(0, 0);
49691 return 0;
49693 _ACEOF
49694 if ac_fn_cxx_try_compile "$LINENO"; then :
49695 glibcxx_cv_func__fmodl_use=yes
49696 else
49697 glibcxx_cv_func__fmodl_use=no
49699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49700 ac_ext=c
49701 ac_cpp='$CPP $CPPFLAGS'
49702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49711 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49713 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49714 for ac_func in _fmodl
49715 do :
49716 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49717 if test "x$ac_cv_func__fmodl" = x""yes; then :
49718 cat >>confdefs.h <<_ACEOF
49719 #define HAVE__FMODL 1
49720 _ACEOF
49723 done
49732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49733 $as_echo_n "checking for frexpl declaration... " >&6; }
49734 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49735 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49736 $as_echo_n "(cached) " >&6
49737 else
49740 ac_ext=cpp
49741 ac_cpp='$CXXCPP $CPPFLAGS'
49742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49747 /* end confdefs.h. */
49748 #include <math.h>
49750 main ()
49752 frexpl(0, 0);
49754 return 0;
49756 _ACEOF
49757 if ac_fn_cxx_try_compile "$LINENO"; then :
49758 glibcxx_cv_func_frexpl_use=yes
49759 else
49760 glibcxx_cv_func_frexpl_use=no
49762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49763 ac_ext=c
49764 ac_cpp='$CPP $CPPFLAGS'
49765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49774 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49776 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49777 for ac_func in frexpl
49778 do :
49779 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49780 if test "x$ac_cv_func_frexpl" = x""yes; then :
49781 cat >>confdefs.h <<_ACEOF
49782 #define HAVE_FREXPL 1
49783 _ACEOF
49786 done
49788 else
49790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49791 $as_echo_n "checking for _frexpl declaration... " >&6; }
49792 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49793 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49794 $as_echo_n "(cached) " >&6
49795 else
49798 ac_ext=cpp
49799 ac_cpp='$CXXCPP $CPPFLAGS'
49800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49805 /* end confdefs.h. */
49806 #include <math.h>
49808 main ()
49810 _frexpl(0, 0);
49812 return 0;
49814 _ACEOF
49815 if ac_fn_cxx_try_compile "$LINENO"; then :
49816 glibcxx_cv_func__frexpl_use=yes
49817 else
49818 glibcxx_cv_func__frexpl_use=no
49820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49821 ac_ext=c
49822 ac_cpp='$CPP $CPPFLAGS'
49823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49832 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49834 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49835 for ac_func in _frexpl
49836 do :
49837 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49838 if test "x$ac_cv_func__frexpl" = x""yes; then :
49839 cat >>confdefs.h <<_ACEOF
49840 #define HAVE__FREXPL 1
49841 _ACEOF
49844 done
49853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49854 $as_echo_n "checking for hypotl declaration... " >&6; }
49855 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49856 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49857 $as_echo_n "(cached) " >&6
49858 else
49861 ac_ext=cpp
49862 ac_cpp='$CXXCPP $CPPFLAGS'
49863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49868 /* end confdefs.h. */
49869 #include <math.h>
49871 main ()
49873 hypotl(0, 0);
49875 return 0;
49877 _ACEOF
49878 if ac_fn_cxx_try_compile "$LINENO"; then :
49879 glibcxx_cv_func_hypotl_use=yes
49880 else
49881 glibcxx_cv_func_hypotl_use=no
49883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49884 ac_ext=c
49885 ac_cpp='$CPP $CPPFLAGS'
49886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49895 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49897 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49898 for ac_func in hypotl
49899 do :
49900 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49901 if test "x$ac_cv_func_hypotl" = x""yes; then :
49902 cat >>confdefs.h <<_ACEOF
49903 #define HAVE_HYPOTL 1
49904 _ACEOF
49907 done
49909 else
49911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49912 $as_echo_n "checking for _hypotl declaration... " >&6; }
49913 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49914 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49915 $as_echo_n "(cached) " >&6
49916 else
49919 ac_ext=cpp
49920 ac_cpp='$CXXCPP $CPPFLAGS'
49921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49926 /* end confdefs.h. */
49927 #include <math.h>
49929 main ()
49931 _hypotl(0, 0);
49933 return 0;
49935 _ACEOF
49936 if ac_fn_cxx_try_compile "$LINENO"; then :
49937 glibcxx_cv_func__hypotl_use=yes
49938 else
49939 glibcxx_cv_func__hypotl_use=no
49941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49942 ac_ext=c
49943 ac_cpp='$CPP $CPPFLAGS'
49944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49953 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49955 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49956 for ac_func in _hypotl
49957 do :
49958 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49959 if test "x$ac_cv_func__hypotl" = x""yes; then :
49960 cat >>confdefs.h <<_ACEOF
49961 #define HAVE__HYPOTL 1
49962 _ACEOF
49965 done
49974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49975 $as_echo_n "checking for ldexpl declaration... " >&6; }
49976 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49977 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49978 $as_echo_n "(cached) " >&6
49979 else
49982 ac_ext=cpp
49983 ac_cpp='$CXXCPP $CPPFLAGS'
49984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49989 /* end confdefs.h. */
49990 #include <math.h>
49992 main ()
49994 ldexpl(0, 0);
49996 return 0;
49998 _ACEOF
49999 if ac_fn_cxx_try_compile "$LINENO"; then :
50000 glibcxx_cv_func_ldexpl_use=yes
50001 else
50002 glibcxx_cv_func_ldexpl_use=no
50004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50005 ac_ext=c
50006 ac_cpp='$CPP $CPPFLAGS'
50007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50016 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50018 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50019 for ac_func in ldexpl
50020 do :
50021 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50022 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50023 cat >>confdefs.h <<_ACEOF
50024 #define HAVE_LDEXPL 1
50025 _ACEOF
50028 done
50030 else
50032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50033 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50034 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50035 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50036 $as_echo_n "(cached) " >&6
50037 else
50040 ac_ext=cpp
50041 ac_cpp='$CXXCPP $CPPFLAGS'
50042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50047 /* end confdefs.h. */
50048 #include <math.h>
50050 main ()
50052 _ldexpl(0, 0);
50054 return 0;
50056 _ACEOF
50057 if ac_fn_cxx_try_compile "$LINENO"; then :
50058 glibcxx_cv_func__ldexpl_use=yes
50059 else
50060 glibcxx_cv_func__ldexpl_use=no
50062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50063 ac_ext=c
50064 ac_cpp='$CPP $CPPFLAGS'
50065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50074 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50076 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50077 for ac_func in _ldexpl
50078 do :
50079 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50080 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50081 cat >>confdefs.h <<_ACEOF
50082 #define HAVE__LDEXPL 1
50083 _ACEOF
50086 done
50095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50096 $as_echo_n "checking for logl declaration... " >&6; }
50097 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50098 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50099 $as_echo_n "(cached) " >&6
50100 else
50103 ac_ext=cpp
50104 ac_cpp='$CXXCPP $CPPFLAGS'
50105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50110 /* end confdefs.h. */
50111 #include <math.h>
50112 #ifdef HAVE_IEEEFP_H
50113 #include <ieeefp.h>
50114 #endif
50117 main ()
50119 logl(0);
50121 return 0;
50123 _ACEOF
50124 if ac_fn_cxx_try_compile "$LINENO"; then :
50125 glibcxx_cv_func_logl_use=yes
50126 else
50127 glibcxx_cv_func_logl_use=no
50129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50130 ac_ext=c
50131 ac_cpp='$CPP $CPPFLAGS'
50132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50141 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50143 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50144 for ac_func in logl
50145 do :
50146 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50147 if test "x$ac_cv_func_logl" = x""yes; then :
50148 cat >>confdefs.h <<_ACEOF
50149 #define HAVE_LOGL 1
50150 _ACEOF
50153 done
50155 else
50157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50158 $as_echo_n "checking for _logl declaration... " >&6; }
50159 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50160 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50161 $as_echo_n "(cached) " >&6
50162 else
50165 ac_ext=cpp
50166 ac_cpp='$CXXCPP $CPPFLAGS'
50167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50172 /* end confdefs.h. */
50173 #include <math.h>
50174 #ifdef HAVE_IEEEFP_H
50175 #include <ieeefp.h>
50176 #endif
50179 main ()
50181 _logl(0);
50183 return 0;
50185 _ACEOF
50186 if ac_fn_cxx_try_compile "$LINENO"; then :
50187 glibcxx_cv_func__logl_use=yes
50188 else
50189 glibcxx_cv_func__logl_use=no
50191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50192 ac_ext=c
50193 ac_cpp='$CPP $CPPFLAGS'
50194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50203 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50205 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50206 for ac_func in _logl
50207 do :
50208 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50209 if test "x$ac_cv_func__logl" = x""yes; then :
50210 cat >>confdefs.h <<_ACEOF
50211 #define HAVE__LOGL 1
50212 _ACEOF
50215 done
50224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50225 $as_echo_n "checking for log10l declaration... " >&6; }
50226 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50227 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50228 $as_echo_n "(cached) " >&6
50229 else
50232 ac_ext=cpp
50233 ac_cpp='$CXXCPP $CPPFLAGS'
50234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50239 /* end confdefs.h. */
50240 #include <math.h>
50241 #ifdef HAVE_IEEEFP_H
50242 #include <ieeefp.h>
50243 #endif
50246 main ()
50248 log10l(0);
50250 return 0;
50252 _ACEOF
50253 if ac_fn_cxx_try_compile "$LINENO"; then :
50254 glibcxx_cv_func_log10l_use=yes
50255 else
50256 glibcxx_cv_func_log10l_use=no
50258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50259 ac_ext=c
50260 ac_cpp='$CPP $CPPFLAGS'
50261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50270 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50272 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50273 for ac_func in log10l
50274 do :
50275 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50276 if test "x$ac_cv_func_log10l" = x""yes; then :
50277 cat >>confdefs.h <<_ACEOF
50278 #define HAVE_LOG10L 1
50279 _ACEOF
50282 done
50284 else
50286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50287 $as_echo_n "checking for _log10l declaration... " >&6; }
50288 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50289 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50290 $as_echo_n "(cached) " >&6
50291 else
50294 ac_ext=cpp
50295 ac_cpp='$CXXCPP $CPPFLAGS'
50296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50301 /* end confdefs.h. */
50302 #include <math.h>
50303 #ifdef HAVE_IEEEFP_H
50304 #include <ieeefp.h>
50305 #endif
50308 main ()
50310 _log10l(0);
50312 return 0;
50314 _ACEOF
50315 if ac_fn_cxx_try_compile "$LINENO"; then :
50316 glibcxx_cv_func__log10l_use=yes
50317 else
50318 glibcxx_cv_func__log10l_use=no
50320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50321 ac_ext=c
50322 ac_cpp='$CPP $CPPFLAGS'
50323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50332 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50334 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50335 for ac_func in _log10l
50336 do :
50337 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50338 if test "x$ac_cv_func__log10l" = x""yes; then :
50339 cat >>confdefs.h <<_ACEOF
50340 #define HAVE__LOG10L 1
50341 _ACEOF
50344 done
50353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50354 $as_echo_n "checking for modfl declaration... " >&6; }
50355 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50356 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50357 $as_echo_n "(cached) " >&6
50358 else
50361 ac_ext=cpp
50362 ac_cpp='$CXXCPP $CPPFLAGS'
50363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50368 /* end confdefs.h. */
50369 #include <math.h>
50371 main ()
50373 modfl(0, 0);
50375 return 0;
50377 _ACEOF
50378 if ac_fn_cxx_try_compile "$LINENO"; then :
50379 glibcxx_cv_func_modfl_use=yes
50380 else
50381 glibcxx_cv_func_modfl_use=no
50383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50384 ac_ext=c
50385 ac_cpp='$CPP $CPPFLAGS'
50386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50395 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50397 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50398 for ac_func in modfl
50399 do :
50400 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50401 if test "x$ac_cv_func_modfl" = x""yes; then :
50402 cat >>confdefs.h <<_ACEOF
50403 #define HAVE_MODFL 1
50404 _ACEOF
50407 done
50409 else
50411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50412 $as_echo_n "checking for _modfl declaration... " >&6; }
50413 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50414 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50415 $as_echo_n "(cached) " >&6
50416 else
50419 ac_ext=cpp
50420 ac_cpp='$CXXCPP $CPPFLAGS'
50421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50426 /* end confdefs.h. */
50427 #include <math.h>
50429 main ()
50431 _modfl(0, 0);
50433 return 0;
50435 _ACEOF
50436 if ac_fn_cxx_try_compile "$LINENO"; then :
50437 glibcxx_cv_func__modfl_use=yes
50438 else
50439 glibcxx_cv_func__modfl_use=no
50441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50442 ac_ext=c
50443 ac_cpp='$CPP $CPPFLAGS'
50444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50453 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50455 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50456 for ac_func in _modfl
50457 do :
50458 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50459 if test "x$ac_cv_func__modfl" = x""yes; then :
50460 cat >>confdefs.h <<_ACEOF
50461 #define HAVE__MODFL 1
50462 _ACEOF
50465 done
50474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50475 $as_echo_n "checking for powl declaration... " >&6; }
50476 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50477 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50478 $as_echo_n "(cached) " >&6
50479 else
50482 ac_ext=cpp
50483 ac_cpp='$CXXCPP $CPPFLAGS'
50484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50489 /* end confdefs.h. */
50490 #include <math.h>
50492 main ()
50494 powl(0, 0);
50496 return 0;
50498 _ACEOF
50499 if ac_fn_cxx_try_compile "$LINENO"; then :
50500 glibcxx_cv_func_powl_use=yes
50501 else
50502 glibcxx_cv_func_powl_use=no
50504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50505 ac_ext=c
50506 ac_cpp='$CPP $CPPFLAGS'
50507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50516 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50518 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50519 for ac_func in powl
50520 do :
50521 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50522 if test "x$ac_cv_func_powl" = x""yes; then :
50523 cat >>confdefs.h <<_ACEOF
50524 #define HAVE_POWL 1
50525 _ACEOF
50528 done
50530 else
50532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50533 $as_echo_n "checking for _powl declaration... " >&6; }
50534 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50535 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50536 $as_echo_n "(cached) " >&6
50537 else
50540 ac_ext=cpp
50541 ac_cpp='$CXXCPP $CPPFLAGS'
50542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50547 /* end confdefs.h. */
50548 #include <math.h>
50550 main ()
50552 _powl(0, 0);
50554 return 0;
50556 _ACEOF
50557 if ac_fn_cxx_try_compile "$LINENO"; then :
50558 glibcxx_cv_func__powl_use=yes
50559 else
50560 glibcxx_cv_func__powl_use=no
50562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50563 ac_ext=c
50564 ac_cpp='$CPP $CPPFLAGS'
50565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50574 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50576 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50577 for ac_func in _powl
50578 do :
50579 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50580 if test "x$ac_cv_func__powl" = x""yes; then :
50581 cat >>confdefs.h <<_ACEOF
50582 #define HAVE__POWL 1
50583 _ACEOF
50586 done
50595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50596 $as_echo_n "checking for sqrtl declaration... " >&6; }
50597 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50598 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50599 $as_echo_n "(cached) " >&6
50600 else
50603 ac_ext=cpp
50604 ac_cpp='$CXXCPP $CPPFLAGS'
50605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50610 /* end confdefs.h. */
50611 #include <math.h>
50612 #ifdef HAVE_IEEEFP_H
50613 #include <ieeefp.h>
50614 #endif
50617 main ()
50619 sqrtl(0);
50621 return 0;
50623 _ACEOF
50624 if ac_fn_cxx_try_compile "$LINENO"; then :
50625 glibcxx_cv_func_sqrtl_use=yes
50626 else
50627 glibcxx_cv_func_sqrtl_use=no
50629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50630 ac_ext=c
50631 ac_cpp='$CPP $CPPFLAGS'
50632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50641 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50643 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50644 for ac_func in sqrtl
50645 do :
50646 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50647 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50648 cat >>confdefs.h <<_ACEOF
50649 #define HAVE_SQRTL 1
50650 _ACEOF
50653 done
50655 else
50657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50658 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50659 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50660 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50661 $as_echo_n "(cached) " >&6
50662 else
50665 ac_ext=cpp
50666 ac_cpp='$CXXCPP $CPPFLAGS'
50667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50672 /* end confdefs.h. */
50673 #include <math.h>
50674 #ifdef HAVE_IEEEFP_H
50675 #include <ieeefp.h>
50676 #endif
50679 main ()
50681 _sqrtl(0);
50683 return 0;
50685 _ACEOF
50686 if ac_fn_cxx_try_compile "$LINENO"; then :
50687 glibcxx_cv_func__sqrtl_use=yes
50688 else
50689 glibcxx_cv_func__sqrtl_use=no
50691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50692 ac_ext=c
50693 ac_cpp='$CPP $CPPFLAGS'
50694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50703 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50705 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50706 for ac_func in _sqrtl
50707 do :
50708 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50709 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50710 cat >>confdefs.h <<_ACEOF
50711 #define HAVE__SQRTL 1
50712 _ACEOF
50715 done
50724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50725 $as_echo_n "checking for sincosl declaration... " >&6; }
50726 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50727 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50728 $as_echo_n "(cached) " >&6
50729 else
50732 ac_ext=cpp
50733 ac_cpp='$CXXCPP $CPPFLAGS'
50734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50739 /* end confdefs.h. */
50740 #include <math.h>
50742 main ()
50744 sincosl(0, 0, 0);
50746 return 0;
50748 _ACEOF
50749 if ac_fn_cxx_try_compile "$LINENO"; then :
50750 glibcxx_cv_func_sincosl_use=yes
50751 else
50752 glibcxx_cv_func_sincosl_use=no
50754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50755 ac_ext=c
50756 ac_cpp='$CPP $CPPFLAGS'
50757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50766 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50768 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50769 for ac_func in sincosl
50770 do :
50771 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50772 if test "x$ac_cv_func_sincosl" = x""yes; then :
50773 cat >>confdefs.h <<_ACEOF
50774 #define HAVE_SINCOSL 1
50775 _ACEOF
50778 done
50780 else
50782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50783 $as_echo_n "checking for _sincosl declaration... " >&6; }
50784 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50785 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50786 $as_echo_n "(cached) " >&6
50787 else
50790 ac_ext=cpp
50791 ac_cpp='$CXXCPP $CPPFLAGS'
50792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50797 /* end confdefs.h. */
50798 #include <math.h>
50800 main ()
50802 _sincosl(0, 0, 0);
50804 return 0;
50806 _ACEOF
50807 if ac_fn_cxx_try_compile "$LINENO"; then :
50808 glibcxx_cv_func__sincosl_use=yes
50809 else
50810 glibcxx_cv_func__sincosl_use=no
50812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50813 ac_ext=c
50814 ac_cpp='$CPP $CPPFLAGS'
50815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50824 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50826 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50827 for ac_func in _sincosl
50828 do :
50829 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50830 if test "x$ac_cv_func__sincosl" = x""yes; then :
50831 cat >>confdefs.h <<_ACEOF
50832 #define HAVE__SINCOSL 1
50833 _ACEOF
50836 done
50845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50846 $as_echo_n "checking for finitel declaration... " >&6; }
50847 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50848 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50849 $as_echo_n "(cached) " >&6
50850 else
50853 ac_ext=cpp
50854 ac_cpp='$CXXCPP $CPPFLAGS'
50855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50860 /* end confdefs.h. */
50861 #include <math.h>
50862 #ifdef HAVE_IEEEFP_H
50863 #include <ieeefp.h>
50864 #endif
50867 main ()
50869 finitel(0);
50871 return 0;
50873 _ACEOF
50874 if ac_fn_cxx_try_compile "$LINENO"; then :
50875 glibcxx_cv_func_finitel_use=yes
50876 else
50877 glibcxx_cv_func_finitel_use=no
50879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50880 ac_ext=c
50881 ac_cpp='$CPP $CPPFLAGS'
50882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50891 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50893 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50894 for ac_func in finitel
50895 do :
50896 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50897 if test "x$ac_cv_func_finitel" = x""yes; then :
50898 cat >>confdefs.h <<_ACEOF
50899 #define HAVE_FINITEL 1
50900 _ACEOF
50903 done
50905 else
50907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50908 $as_echo_n "checking for _finitel declaration... " >&6; }
50909 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50910 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50911 $as_echo_n "(cached) " >&6
50912 else
50915 ac_ext=cpp
50916 ac_cpp='$CXXCPP $CPPFLAGS'
50917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50922 /* end confdefs.h. */
50923 #include <math.h>
50924 #ifdef HAVE_IEEEFP_H
50925 #include <ieeefp.h>
50926 #endif
50929 main ()
50931 _finitel(0);
50933 return 0;
50935 _ACEOF
50936 if ac_fn_cxx_try_compile "$LINENO"; then :
50937 glibcxx_cv_func__finitel_use=yes
50938 else
50939 glibcxx_cv_func__finitel_use=no
50941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50942 ac_ext=c
50943 ac_cpp='$CPP $CPPFLAGS'
50944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50953 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50955 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50956 for ac_func in _finitel
50957 do :
50958 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50959 if test "x$ac_cv_func__finitel" = x""yes; then :
50960 cat >>confdefs.h <<_ACEOF
50961 #define HAVE__FINITEL 1
50962 _ACEOF
50965 done
50973 LIBS="$ac_save_LIBS"
50974 CXXFLAGS="$ac_save_CXXFLAGS"
50977 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50978 ac_save_CXXFLAGS="$CXXFLAGS"
50979 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50983 $as_echo_n "checking for strtold declaration... " >&6; }
50984 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50985 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50986 $as_echo_n "(cached) " >&6
50987 else
50990 ac_ext=cpp
50991 ac_cpp='$CXXCPP $CPPFLAGS'
50992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50997 /* end confdefs.h. */
50998 #include <stdlib.h>
51000 main ()
51002 strtold(0, 0);
51004 return 0;
51006 _ACEOF
51007 if ac_fn_cxx_try_compile "$LINENO"; then :
51008 glibcxx_cv_func_strtold_use=yes
51009 else
51010 glibcxx_cv_func_strtold_use=no
51012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51013 ac_ext=c
51014 ac_cpp='$CPP $CPPFLAGS'
51015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51024 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51025 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51026 for ac_func in strtold
51027 do :
51028 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51029 if test "x$ac_cv_func_strtold" = x""yes; then :
51030 cat >>confdefs.h <<_ACEOF
51031 #define HAVE_STRTOLD 1
51032 _ACEOF
51035 done
51042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51043 $as_echo_n "checking for strtof declaration... " >&6; }
51044 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51045 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51046 $as_echo_n "(cached) " >&6
51047 else
51050 ac_ext=cpp
51051 ac_cpp='$CXXCPP $CPPFLAGS'
51052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51057 /* end confdefs.h. */
51058 #include <stdlib.h>
51060 main ()
51062 strtof(0, 0);
51064 return 0;
51066 _ACEOF
51067 if ac_fn_cxx_try_compile "$LINENO"; then :
51068 glibcxx_cv_func_strtof_use=yes
51069 else
51070 glibcxx_cv_func_strtof_use=no
51072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51073 ac_ext=c
51074 ac_cpp='$CPP $CPPFLAGS'
51075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51084 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51085 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51086 for ac_func in strtof
51087 do :
51088 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51089 if test "x$ac_cv_func_strtof" = x""yes; then :
51090 cat >>confdefs.h <<_ACEOF
51091 #define HAVE_STRTOF 1
51092 _ACEOF
51095 done
51102 CXXFLAGS="$ac_save_CXXFLAGS"
51104 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51108 # Check whether --enable-tls was given.
51109 if test "${enable_tls+set}" = set; then :
51110 enableval=$enable_tls;
51111 case "$enableval" in
51112 yes|no) ;;
51113 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51114 esac
51116 else
51117 enable_tls=yes
51121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51122 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51123 if test "${gcc_cv_have_tls+set}" = set; then :
51124 $as_echo_n "(cached) " >&6
51125 else
51127 if test "$cross_compiling" = yes; then :
51128 if test x$gcc_no_link = xyes; then
51129 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51132 /* end confdefs.h. */
51133 __thread int a; int b; int main() { return a = b; }
51134 _ACEOF
51135 if ac_fn_c_try_link "$LINENO"; then :
51136 chktls_save_LDFLAGS="$LDFLAGS"
51137 case $host in
51138 *-*-linux*)
51139 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51141 esac
51142 chktls_save_CFLAGS="$CFLAGS"
51143 CFLAGS="-fPIC $CFLAGS"
51144 if test x$gcc_no_link = xyes; then
51145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51148 /* end confdefs.h. */
51149 int f() { return 0; }
51150 _ACEOF
51151 if ac_fn_c_try_link "$LINENO"; then :
51152 if test x$gcc_no_link = xyes; then
51153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51156 /* end confdefs.h. */
51157 __thread int a; int b; int f() { return a = b; }
51158 _ACEOF
51159 if ac_fn_c_try_link "$LINENO"; then :
51160 gcc_cv_have_tls=yes
51161 else
51162 gcc_cv_have_tls=no
51164 rm -f core conftest.err conftest.$ac_objext \
51165 conftest$ac_exeext conftest.$ac_ext
51166 else
51167 gcc_cv_have_tls=yes
51169 rm -f core conftest.err conftest.$ac_objext \
51170 conftest$ac_exeext conftest.$ac_ext
51171 CFLAGS="$chktls_save_CFLAGS"
51172 LDFLAGS="$chktls_save_LDFLAGS"
51173 else
51174 gcc_cv_have_tls=no
51176 rm -f core conftest.err conftest.$ac_objext \
51177 conftest$ac_exeext conftest.$ac_ext
51180 else
51181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51182 /* end confdefs.h. */
51183 __thread int a; int b; int main() { return a = b; }
51184 _ACEOF
51185 if ac_fn_c_try_run "$LINENO"; then :
51186 chktls_save_LDFLAGS="$LDFLAGS"
51187 LDFLAGS="-static $LDFLAGS"
51188 if test x$gcc_no_link = xyes; then
51189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51192 /* end confdefs.h. */
51193 int main() { return 0; }
51194 _ACEOF
51195 if ac_fn_c_try_link "$LINENO"; then :
51196 if test "$cross_compiling" = yes; then :
51197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51199 as_fn_error "cannot run test program while cross compiling
51200 See \`config.log' for more details." "$LINENO" 5; }
51201 else
51202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51203 /* end confdefs.h. */
51204 __thread int a; int b; int main() { return a = b; }
51205 _ACEOF
51206 if ac_fn_c_try_run "$LINENO"; then :
51207 gcc_cv_have_tls=yes
51208 else
51209 gcc_cv_have_tls=no
51211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51212 conftest.$ac_objext conftest.beam conftest.$ac_ext
51215 else
51216 gcc_cv_have_tls=yes
51218 rm -f core conftest.err conftest.$ac_objext \
51219 conftest$ac_exeext conftest.$ac_ext
51220 LDFLAGS="$chktls_save_LDFLAGS"
51221 if test $gcc_cv_have_tls = yes; then
51222 chktls_save_CFLAGS="$CFLAGS"
51223 thread_CFLAGS=failed
51224 for flag in '' '-pthread' '-lpthread'; do
51225 CFLAGS="$flag $chktls_save_CFLAGS"
51226 if test x$gcc_no_link = xyes; then
51227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51230 /* end confdefs.h. */
51231 #include <pthread.h>
51232 void *g(void *d) { return NULL; }
51234 main ()
51236 pthread_t t; pthread_create(&t,NULL,g,NULL);
51238 return 0;
51240 _ACEOF
51241 if ac_fn_c_try_link "$LINENO"; then :
51242 thread_CFLAGS="$flag"
51244 rm -f core conftest.err conftest.$ac_objext \
51245 conftest$ac_exeext conftest.$ac_ext
51246 if test "X$thread_CFLAGS" != Xfailed; then
51247 break
51249 done
51250 CFLAGS="$chktls_save_CFLAGS"
51251 if test "X$thread_CFLAGS" != Xfailed; then
51252 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51253 if test "$cross_compiling" = yes; then :
51254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51256 as_fn_error "cannot run test program while cross compiling
51257 See \`config.log' for more details." "$LINENO" 5; }
51258 else
51259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51260 /* end confdefs.h. */
51261 #include <pthread.h>
51262 __thread int a;
51263 static int *volatile a_in_other_thread;
51264 static void *
51265 thread_func (void *arg)
51267 a_in_other_thread = &a;
51268 return (void *)0;
51271 main ()
51273 pthread_t thread;
51274 void *thread_retval;
51275 int *volatile a_in_main_thread;
51276 a_in_main_thread = &a;
51277 if (pthread_create (&thread, (pthread_attr_t *)0,
51278 thread_func, (void *)0))
51279 return 0;
51280 if (pthread_join (thread, &thread_retval))
51281 return 0;
51282 return (a_in_other_thread == a_in_main_thread);
51284 return 0;
51286 _ACEOF
51287 if ac_fn_c_try_run "$LINENO"; then :
51288 gcc_cv_have_tls=yes
51289 else
51290 gcc_cv_have_tls=no
51292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51293 conftest.$ac_objext conftest.beam conftest.$ac_ext
51296 CFLAGS="$chktls_save_CFLAGS"
51299 else
51300 gcc_cv_have_tls=no
51302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51303 conftest.$ac_objext conftest.beam conftest.$ac_ext
51307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51308 $as_echo "$gcc_cv_have_tls" >&6; }
51309 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51311 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51319 am_save_CPPFLAGS="$CPPFLAGS"
51321 for element in $INCICONV; do
51322 haveit=
51323 for x in $CPPFLAGS; do
51325 acl_save_prefix="$prefix"
51326 prefix="$acl_final_prefix"
51327 acl_save_exec_prefix="$exec_prefix"
51328 exec_prefix="$acl_final_exec_prefix"
51329 eval x=\"$x\"
51330 exec_prefix="$acl_save_exec_prefix"
51331 prefix="$acl_save_prefix"
51333 if test "X$x" = "X$element"; then
51334 haveit=yes
51335 break
51337 done
51338 if test -z "$haveit"; then
51339 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51341 done
51344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51345 $as_echo_n "checking for iconv... " >&6; }
51346 if test "${am_cv_func_iconv+set}" = set; then :
51347 $as_echo_n "(cached) " >&6
51348 else
51350 am_cv_func_iconv="no, consider installing GNU libiconv"
51351 am_cv_lib_iconv=no
51352 if test x$gcc_no_link = xyes; then
51353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51356 /* end confdefs.h. */
51357 #include <stdlib.h>
51358 #include <iconv.h>
51360 main ()
51362 iconv_t cd = iconv_open("","");
51363 iconv(cd,NULL,NULL,NULL,NULL);
51364 iconv_close(cd);
51366 return 0;
51368 _ACEOF
51369 if ac_fn_c_try_link "$LINENO"; then :
51370 am_cv_func_iconv=yes
51372 rm -f core conftest.err conftest.$ac_objext \
51373 conftest$ac_exeext conftest.$ac_ext
51374 if test "$am_cv_func_iconv" != yes; then
51375 am_save_LIBS="$LIBS"
51376 LIBS="$LIBS $LIBICONV"
51377 if test x$gcc_no_link = xyes; then
51378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51381 /* end confdefs.h. */
51382 #include <stdlib.h>
51383 #include <iconv.h>
51385 main ()
51387 iconv_t cd = iconv_open("","");
51388 iconv(cd,NULL,NULL,NULL,NULL);
51389 iconv_close(cd);
51391 return 0;
51393 _ACEOF
51394 if ac_fn_c_try_link "$LINENO"; then :
51395 am_cv_lib_iconv=yes
51396 am_cv_func_iconv=yes
51398 rm -f core conftest.err conftest.$ac_objext \
51399 conftest$ac_exeext conftest.$ac_ext
51400 LIBS="$am_save_LIBS"
51404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51405 $as_echo "$am_cv_func_iconv" >&6; }
51406 if test "$am_cv_func_iconv" = yes; then
51408 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51411 if test "$am_cv_lib_iconv" = yes; then
51412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51413 $as_echo_n "checking how to link with libiconv... " >&6; }
51414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51415 $as_echo "$LIBICONV" >&6; }
51416 else
51417 CPPFLAGS="$am_save_CPPFLAGS"
51418 LIBICONV=
51419 LTLIBICONV=
51424 if test "$am_cv_func_iconv" = yes; then
51425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51426 $as_echo_n "checking for iconv declaration... " >&6; }
51427 if test "${am_cv_proto_iconv+set}" = set; then :
51428 $as_echo_n "(cached) " >&6
51429 else
51431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51432 /* end confdefs.h. */
51434 #include <stdlib.h>
51435 #include <iconv.h>
51436 extern
51437 #ifdef __cplusplus
51439 #endif
51440 #if defined(__STDC__) || defined(__cplusplus)
51441 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51442 #else
51443 size_t iconv();
51444 #endif
51447 main ()
51451 return 0;
51453 _ACEOF
51454 if ac_fn_c_try_compile "$LINENO"; then :
51455 am_cv_proto_iconv_arg1=""
51456 else
51457 am_cv_proto_iconv_arg1="const"
51459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51460 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);"
51463 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51465 }$am_cv_proto_iconv" >&5
51466 $as_echo "${ac_t:-
51467 }$am_cv_proto_iconv" >&6; }
51469 cat >>confdefs.h <<_ACEOF
51470 #define ICONV_CONST $am_cv_proto_iconv_arg1
51471 _ACEOF
51476 *-mingw32*)
51478 # If we're not using GNU ld, then there's no point in even trying these
51479 # tests. Check for that first. We should have already tested for gld
51480 # by now (in libtool), but require it now just to be safe...
51481 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51482 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51486 # The name set by libtool depends on the version of libtool. Shame on us
51487 # for depending on an impl detail, but c'est la vie. Older versions used
51488 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51489 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51490 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51491 # set (hence we're using an older libtool), then set it.
51492 if test x${with_gnu_ld+set} != xset; then
51493 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51494 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51495 with_gnu_ld=no
51496 else
51497 with_gnu_ld=$ac_cv_prog_gnu_ld
51501 # Start by getting the version number. I think the libtool test already
51502 # does some of this, but throws away the result.
51503 glibcxx_ld_is_gold=no
51504 if test x"$with_gnu_ld" = x"yes"; then
51505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51506 $as_echo_n "checking for ld version... " >&6; }
51508 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51509 glibcxx_ld_is_gold=yes
51511 ldver=`$LD --version 2>/dev/null |
51512 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'`
51514 glibcxx_gnu_ld_version=`echo $ldver | \
51515 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51517 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51520 # Set --gc-sections.
51521 glibcxx_have_gc_sections=no
51522 if test "$glibcxx_ld_is_gold" = "yes"; then
51523 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51524 glibcxx_have_gc_sections=yes
51526 else
51527 glibcxx_gcsections_min_ld=21602
51528 if test x"$with_gnu_ld" = x"yes" &&
51529 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51530 glibcxx_have_gc_sections=yes
51533 if test "$glibcxx_have_gc_sections" = "yes"; then
51534 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51535 # NB: This flag only works reliably after 2.16.1. Configure tests
51536 # for this are difficult, so hard wire a value that should work.
51538 ac_test_CFLAGS="${CFLAGS+set}"
51539 ac_save_CFLAGS="$CFLAGS"
51540 CFLAGS='-Wl,--gc-sections'
51542 # Check for -Wl,--gc-sections
51543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51544 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51545 if test x$gcc_no_link = xyes; then
51546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51549 /* end confdefs.h. */
51550 int one(void) { return 1; }
51551 int two(void) { return 2; }
51554 main ()
51556 two();
51558 return 0;
51560 _ACEOF
51561 if ac_fn_c_try_link "$LINENO"; then :
51562 ac_gcsections=yes
51563 else
51564 ac_gcsections=no
51566 rm -f core conftest.err conftest.$ac_objext \
51567 conftest$ac_exeext conftest.$ac_ext
51568 if test "$ac_gcsections" = "yes"; then
51569 rm -f conftest.c
51570 touch conftest.c
51571 if $CC -c conftest.c; then
51572 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51573 grep "Warning: gc-sections option ignored" > /dev/null; then
51574 ac_gcsections=no
51577 rm -f conftest.c conftest.o conftest
51579 if test "$ac_gcsections" = "yes"; then
51580 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51583 $as_echo "$ac_gcsections" >&6; }
51585 if test "$ac_test_CFLAGS" = set; then
51586 CFLAGS="$ac_save_CFLAGS"
51587 else
51588 # this is the suspicious part
51589 CFLAGS=''
51593 # Set -z,relro.
51594 # Note this is only for shared objects.
51595 ac_ld_relro=no
51596 if test x"$with_gnu_ld" = x"yes"; then
51597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51598 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51599 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51600 if test -n "$cxx_z_relo"; then
51601 OPT_LDFLAGS="-Wl,-z,relro"
51602 ac_ld_relro=yes
51604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51605 $as_echo "$ac_ld_relro" >&6; }
51608 # Set linker optimization flags.
51609 if test x"$with_gnu_ld" = x"yes"; then
51610 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51617 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51618 ac_save_CXXFLAGS="$CXXFLAGS"
51619 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51622 $as_echo_n "checking for sin in -lm... " >&6; }
51623 if test "${ac_cv_lib_m_sin+set}" = set; then :
51624 $as_echo_n "(cached) " >&6
51625 else
51626 ac_check_lib_save_LIBS=$LIBS
51627 LIBS="-lm $LIBS"
51628 if test x$gcc_no_link = xyes; then
51629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51632 /* end confdefs.h. */
51634 /* Override any GCC internal prototype to avoid an error.
51635 Use char because int might match the return type of a GCC
51636 builtin and then its argument prototype would still apply. */
51637 #ifdef __cplusplus
51638 extern "C"
51639 #endif
51640 char sin ();
51642 main ()
51644 return sin ();
51646 return 0;
51648 _ACEOF
51649 if ac_fn_c_try_link "$LINENO"; then :
51650 ac_cv_lib_m_sin=yes
51651 else
51652 ac_cv_lib_m_sin=no
51654 rm -f core conftest.err conftest.$ac_objext \
51655 conftest$ac_exeext conftest.$ac_ext
51656 LIBS=$ac_check_lib_save_LIBS
51658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51659 $as_echo "$ac_cv_lib_m_sin" >&6; }
51660 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51661 libm="-lm"
51664 ac_save_LIBS="$LIBS"
51665 LIBS="$LIBS $libm"
51669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51670 $as_echo_n "checking for isinf declaration... " >&6; }
51671 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51672 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51673 $as_echo_n "(cached) " >&6
51674 else
51677 ac_ext=cpp
51678 ac_cpp='$CXXCPP $CPPFLAGS'
51679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51684 /* end confdefs.h. */
51685 #include <math.h>
51686 #ifdef HAVE_IEEEFP_H
51687 #include <ieeefp.h>
51688 #endif
51691 main ()
51693 isinf(0);
51695 return 0;
51697 _ACEOF
51698 if ac_fn_cxx_try_compile "$LINENO"; then :
51699 glibcxx_cv_func_isinf_use=yes
51700 else
51701 glibcxx_cv_func_isinf_use=no
51703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51704 ac_ext=c
51705 ac_cpp='$CPP $CPPFLAGS'
51706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51715 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51717 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51718 for ac_func in isinf
51719 do :
51720 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51721 if test "x$ac_cv_func_isinf" = x""yes; then :
51722 cat >>confdefs.h <<_ACEOF
51723 #define HAVE_ISINF 1
51724 _ACEOF
51727 done
51729 else
51731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51732 $as_echo_n "checking for _isinf declaration... " >&6; }
51733 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51734 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51735 $as_echo_n "(cached) " >&6
51736 else
51739 ac_ext=cpp
51740 ac_cpp='$CXXCPP $CPPFLAGS'
51741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51746 /* end confdefs.h. */
51747 #include <math.h>
51748 #ifdef HAVE_IEEEFP_H
51749 #include <ieeefp.h>
51750 #endif
51753 main ()
51755 _isinf(0);
51757 return 0;
51759 _ACEOF
51760 if ac_fn_cxx_try_compile "$LINENO"; then :
51761 glibcxx_cv_func__isinf_use=yes
51762 else
51763 glibcxx_cv_func__isinf_use=no
51765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51766 ac_ext=c
51767 ac_cpp='$CPP $CPPFLAGS'
51768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51777 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51779 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51780 for ac_func in _isinf
51781 do :
51782 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51783 if test "x$ac_cv_func__isinf" = x""yes; then :
51784 cat >>confdefs.h <<_ACEOF
51785 #define HAVE__ISINF 1
51786 _ACEOF
51789 done
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51799 $as_echo_n "checking for isnan declaration... " >&6; }
51800 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51801 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51802 $as_echo_n "(cached) " >&6
51803 else
51806 ac_ext=cpp
51807 ac_cpp='$CXXCPP $CPPFLAGS'
51808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51813 /* end confdefs.h. */
51814 #include <math.h>
51815 #ifdef HAVE_IEEEFP_H
51816 #include <ieeefp.h>
51817 #endif
51820 main ()
51822 isnan(0);
51824 return 0;
51826 _ACEOF
51827 if ac_fn_cxx_try_compile "$LINENO"; then :
51828 glibcxx_cv_func_isnan_use=yes
51829 else
51830 glibcxx_cv_func_isnan_use=no
51832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51833 ac_ext=c
51834 ac_cpp='$CPP $CPPFLAGS'
51835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51844 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51846 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51847 for ac_func in isnan
51848 do :
51849 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51850 if test "x$ac_cv_func_isnan" = x""yes; then :
51851 cat >>confdefs.h <<_ACEOF
51852 #define HAVE_ISNAN 1
51853 _ACEOF
51856 done
51858 else
51860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51861 $as_echo_n "checking for _isnan declaration... " >&6; }
51862 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51863 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51864 $as_echo_n "(cached) " >&6
51865 else
51868 ac_ext=cpp
51869 ac_cpp='$CXXCPP $CPPFLAGS'
51870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51875 /* end confdefs.h. */
51876 #include <math.h>
51877 #ifdef HAVE_IEEEFP_H
51878 #include <ieeefp.h>
51879 #endif
51882 main ()
51884 _isnan(0);
51886 return 0;
51888 _ACEOF
51889 if ac_fn_cxx_try_compile "$LINENO"; then :
51890 glibcxx_cv_func__isnan_use=yes
51891 else
51892 glibcxx_cv_func__isnan_use=no
51894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51895 ac_ext=c
51896 ac_cpp='$CPP $CPPFLAGS'
51897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51906 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51908 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51909 for ac_func in _isnan
51910 do :
51911 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51912 if test "x$ac_cv_func__isnan" = x""yes; then :
51913 cat >>confdefs.h <<_ACEOF
51914 #define HAVE__ISNAN 1
51915 _ACEOF
51918 done
51927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51928 $as_echo_n "checking for finite declaration... " >&6; }
51929 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51930 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51931 $as_echo_n "(cached) " >&6
51932 else
51935 ac_ext=cpp
51936 ac_cpp='$CXXCPP $CPPFLAGS'
51937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51942 /* end confdefs.h. */
51943 #include <math.h>
51944 #ifdef HAVE_IEEEFP_H
51945 #include <ieeefp.h>
51946 #endif
51949 main ()
51951 finite(0);
51953 return 0;
51955 _ACEOF
51956 if ac_fn_cxx_try_compile "$LINENO"; then :
51957 glibcxx_cv_func_finite_use=yes
51958 else
51959 glibcxx_cv_func_finite_use=no
51961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51962 ac_ext=c
51963 ac_cpp='$CPP $CPPFLAGS'
51964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51973 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51975 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51976 for ac_func in finite
51977 do :
51978 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51979 if test "x$ac_cv_func_finite" = x""yes; then :
51980 cat >>confdefs.h <<_ACEOF
51981 #define HAVE_FINITE 1
51982 _ACEOF
51985 done
51987 else
51989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51990 $as_echo_n "checking for _finite declaration... " >&6; }
51991 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51992 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51993 $as_echo_n "(cached) " >&6
51994 else
51997 ac_ext=cpp
51998 ac_cpp='$CXXCPP $CPPFLAGS'
51999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52004 /* end confdefs.h. */
52005 #include <math.h>
52006 #ifdef HAVE_IEEEFP_H
52007 #include <ieeefp.h>
52008 #endif
52011 main ()
52013 _finite(0);
52015 return 0;
52017 _ACEOF
52018 if ac_fn_cxx_try_compile "$LINENO"; then :
52019 glibcxx_cv_func__finite_use=yes
52020 else
52021 glibcxx_cv_func__finite_use=no
52023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52024 ac_ext=c
52025 ac_cpp='$CPP $CPPFLAGS'
52026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52035 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52037 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52038 for ac_func in _finite
52039 do :
52040 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52041 if test "x$ac_cv_func__finite" = x""yes; then :
52042 cat >>confdefs.h <<_ACEOF
52043 #define HAVE__FINITE 1
52044 _ACEOF
52047 done
52056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52057 $as_echo_n "checking for sincos declaration... " >&6; }
52058 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52059 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52060 $as_echo_n "(cached) " >&6
52061 else
52064 ac_ext=cpp
52065 ac_cpp='$CXXCPP $CPPFLAGS'
52066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52071 /* end confdefs.h. */
52072 #include <math.h>
52074 main ()
52076 sincos(0, 0, 0);
52078 return 0;
52080 _ACEOF
52081 if ac_fn_cxx_try_compile "$LINENO"; then :
52082 glibcxx_cv_func_sincos_use=yes
52083 else
52084 glibcxx_cv_func_sincos_use=no
52086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52087 ac_ext=c
52088 ac_cpp='$CPP $CPPFLAGS'
52089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52098 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52100 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52101 for ac_func in sincos
52102 do :
52103 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52104 if test "x$ac_cv_func_sincos" = x""yes; then :
52105 cat >>confdefs.h <<_ACEOF
52106 #define HAVE_SINCOS 1
52107 _ACEOF
52110 done
52112 else
52114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52115 $as_echo_n "checking for _sincos declaration... " >&6; }
52116 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52117 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52118 $as_echo_n "(cached) " >&6
52119 else
52122 ac_ext=cpp
52123 ac_cpp='$CXXCPP $CPPFLAGS'
52124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52129 /* end confdefs.h. */
52130 #include <math.h>
52132 main ()
52134 _sincos(0, 0, 0);
52136 return 0;
52138 _ACEOF
52139 if ac_fn_cxx_try_compile "$LINENO"; then :
52140 glibcxx_cv_func__sincos_use=yes
52141 else
52142 glibcxx_cv_func__sincos_use=no
52144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52145 ac_ext=c
52146 ac_cpp='$CPP $CPPFLAGS'
52147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52156 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52158 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52159 for ac_func in _sincos
52160 do :
52161 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52162 if test "x$ac_cv_func__sincos" = x""yes; then :
52163 cat >>confdefs.h <<_ACEOF
52164 #define HAVE__SINCOS 1
52165 _ACEOF
52168 done
52177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52178 $as_echo_n "checking for fpclass declaration... " >&6; }
52179 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52180 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52181 $as_echo_n "(cached) " >&6
52182 else
52185 ac_ext=cpp
52186 ac_cpp='$CXXCPP $CPPFLAGS'
52187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52192 /* end confdefs.h. */
52193 #include <math.h>
52194 #ifdef HAVE_IEEEFP_H
52195 #include <ieeefp.h>
52196 #endif
52199 main ()
52201 fpclass(0);
52203 return 0;
52205 _ACEOF
52206 if ac_fn_cxx_try_compile "$LINENO"; then :
52207 glibcxx_cv_func_fpclass_use=yes
52208 else
52209 glibcxx_cv_func_fpclass_use=no
52211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52212 ac_ext=c
52213 ac_cpp='$CPP $CPPFLAGS'
52214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52223 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52225 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52226 for ac_func in fpclass
52227 do :
52228 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52229 if test "x$ac_cv_func_fpclass" = x""yes; then :
52230 cat >>confdefs.h <<_ACEOF
52231 #define HAVE_FPCLASS 1
52232 _ACEOF
52235 done
52237 else
52239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52240 $as_echo_n "checking for _fpclass declaration... " >&6; }
52241 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52242 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52243 $as_echo_n "(cached) " >&6
52244 else
52247 ac_ext=cpp
52248 ac_cpp='$CXXCPP $CPPFLAGS'
52249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52254 /* end confdefs.h. */
52255 #include <math.h>
52256 #ifdef HAVE_IEEEFP_H
52257 #include <ieeefp.h>
52258 #endif
52261 main ()
52263 _fpclass(0);
52265 return 0;
52267 _ACEOF
52268 if ac_fn_cxx_try_compile "$LINENO"; then :
52269 glibcxx_cv_func__fpclass_use=yes
52270 else
52271 glibcxx_cv_func__fpclass_use=no
52273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52274 ac_ext=c
52275 ac_cpp='$CPP $CPPFLAGS'
52276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52285 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52287 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52288 for ac_func in _fpclass
52289 do :
52290 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52291 if test "x$ac_cv_func__fpclass" = x""yes; then :
52292 cat >>confdefs.h <<_ACEOF
52293 #define HAVE__FPCLASS 1
52294 _ACEOF
52297 done
52306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52307 $as_echo_n "checking for qfpclass declaration... " >&6; }
52308 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52309 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52310 $as_echo_n "(cached) " >&6
52311 else
52314 ac_ext=cpp
52315 ac_cpp='$CXXCPP $CPPFLAGS'
52316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52321 /* end confdefs.h. */
52322 #include <math.h>
52323 #ifdef HAVE_IEEEFP_H
52324 #include <ieeefp.h>
52325 #endif
52328 main ()
52330 qfpclass(0);
52332 return 0;
52334 _ACEOF
52335 if ac_fn_cxx_try_compile "$LINENO"; then :
52336 glibcxx_cv_func_qfpclass_use=yes
52337 else
52338 glibcxx_cv_func_qfpclass_use=no
52340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52341 ac_ext=c
52342 ac_cpp='$CPP $CPPFLAGS'
52343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52352 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52354 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52355 for ac_func in qfpclass
52356 do :
52357 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52358 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52359 cat >>confdefs.h <<_ACEOF
52360 #define HAVE_QFPCLASS 1
52361 _ACEOF
52364 done
52366 else
52368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52369 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52370 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52371 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52372 $as_echo_n "(cached) " >&6
52373 else
52376 ac_ext=cpp
52377 ac_cpp='$CXXCPP $CPPFLAGS'
52378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52383 /* end confdefs.h. */
52384 #include <math.h>
52385 #ifdef HAVE_IEEEFP_H
52386 #include <ieeefp.h>
52387 #endif
52390 main ()
52392 _qfpclass(0);
52394 return 0;
52396 _ACEOF
52397 if ac_fn_cxx_try_compile "$LINENO"; then :
52398 glibcxx_cv_func__qfpclass_use=yes
52399 else
52400 glibcxx_cv_func__qfpclass_use=no
52402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52403 ac_ext=c
52404 ac_cpp='$CPP $CPPFLAGS'
52405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52414 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52416 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52417 for ac_func in _qfpclass
52418 do :
52419 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52420 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52421 cat >>confdefs.h <<_ACEOF
52422 #define HAVE__QFPCLASS 1
52423 _ACEOF
52426 done
52435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52436 $as_echo_n "checking for hypot declaration... " >&6; }
52437 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52438 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52439 $as_echo_n "(cached) " >&6
52440 else
52443 ac_ext=cpp
52444 ac_cpp='$CXXCPP $CPPFLAGS'
52445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52450 /* end confdefs.h. */
52451 #include <math.h>
52453 main ()
52455 hypot(0, 0);
52457 return 0;
52459 _ACEOF
52460 if ac_fn_cxx_try_compile "$LINENO"; then :
52461 glibcxx_cv_func_hypot_use=yes
52462 else
52463 glibcxx_cv_func_hypot_use=no
52465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52466 ac_ext=c
52467 ac_cpp='$CPP $CPPFLAGS'
52468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52477 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52479 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52480 for ac_func in hypot
52481 do :
52482 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52483 if test "x$ac_cv_func_hypot" = x""yes; then :
52484 cat >>confdefs.h <<_ACEOF
52485 #define HAVE_HYPOT 1
52486 _ACEOF
52489 done
52491 else
52493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52494 $as_echo_n "checking for _hypot declaration... " >&6; }
52495 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52496 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52497 $as_echo_n "(cached) " >&6
52498 else
52501 ac_ext=cpp
52502 ac_cpp='$CXXCPP $CPPFLAGS'
52503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52508 /* end confdefs.h. */
52509 #include <math.h>
52511 main ()
52513 _hypot(0, 0);
52515 return 0;
52517 _ACEOF
52518 if ac_fn_cxx_try_compile "$LINENO"; then :
52519 glibcxx_cv_func__hypot_use=yes
52520 else
52521 glibcxx_cv_func__hypot_use=no
52523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52524 ac_ext=c
52525 ac_cpp='$CPP $CPPFLAGS'
52526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52535 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52537 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52538 for ac_func in _hypot
52539 do :
52540 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52541 if test "x$ac_cv_func__hypot" = x""yes; then :
52542 cat >>confdefs.h <<_ACEOF
52543 #define HAVE__HYPOT 1
52544 _ACEOF
52547 done
52556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52557 $as_echo_n "checking for float trig functions... " >&6; }
52558 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52559 $as_echo_n "(cached) " >&6
52560 else
52563 ac_ext=cpp
52564 ac_cpp='$CXXCPP $CPPFLAGS'
52565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52570 /* end confdefs.h. */
52571 #include <math.h>
52573 main ()
52575 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52577 return 0;
52579 _ACEOF
52580 if ac_fn_cxx_try_compile "$LINENO"; then :
52581 glibcxx_cv_func_float_trig_use=yes
52582 else
52583 glibcxx_cv_func_float_trig_use=no
52585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52586 ac_ext=c
52587 ac_cpp='$CPP $CPPFLAGS'
52588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52595 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52596 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52597 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52598 do :
52599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52601 eval as_val=\$$as_ac_var
52602 if test "x$as_val" = x""yes; then :
52603 cat >>confdefs.h <<_ACEOF
52604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52605 _ACEOF
52608 done
52610 else
52611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52612 $as_echo_n "checking for _float trig functions... " >&6; }
52613 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52614 $as_echo_n "(cached) " >&6
52615 else
52618 ac_ext=cpp
52619 ac_cpp='$CXXCPP $CPPFLAGS'
52620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52625 /* end confdefs.h. */
52626 #include <math.h>
52628 main ()
52630 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52632 return 0;
52634 _ACEOF
52635 if ac_fn_cxx_try_compile "$LINENO"; then :
52636 glibcxx_cv_func__float_trig_use=yes
52637 else
52638 glibcxx_cv_func__float_trig_use=no
52640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52641 ac_ext=c
52642 ac_cpp='$CPP $CPPFLAGS'
52643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52650 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52651 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52652 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52653 do :
52654 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52655 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52656 eval as_val=\$$as_ac_var
52657 if test "x$as_val" = x""yes; then :
52658 cat >>confdefs.h <<_ACEOF
52659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52660 _ACEOF
52663 done
52672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52673 $as_echo_n "checking for float round functions... " >&6; }
52674 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52675 $as_echo_n "(cached) " >&6
52676 else
52679 ac_ext=cpp
52680 ac_cpp='$CXXCPP $CPPFLAGS'
52681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52686 /* end confdefs.h. */
52687 #include <math.h>
52689 main ()
52691 ceilf (0); floorf (0);
52693 return 0;
52695 _ACEOF
52696 if ac_fn_cxx_try_compile "$LINENO"; then :
52697 glibcxx_cv_func_float_round_use=yes
52698 else
52699 glibcxx_cv_func_float_round_use=no
52701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52702 ac_ext=c
52703 ac_cpp='$CPP $CPPFLAGS'
52704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52711 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52712 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52713 for ac_func in ceilf floorf
52714 do :
52715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52717 eval as_val=\$$as_ac_var
52718 if test "x$as_val" = x""yes; then :
52719 cat >>confdefs.h <<_ACEOF
52720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52721 _ACEOF
52724 done
52726 else
52727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52728 $as_echo_n "checking for _float round functions... " >&6; }
52729 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52730 $as_echo_n "(cached) " >&6
52731 else
52734 ac_ext=cpp
52735 ac_cpp='$CXXCPP $CPPFLAGS'
52736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52741 /* end confdefs.h. */
52742 #include <math.h>
52744 main ()
52746 _ceilf (0); _floorf (0);
52748 return 0;
52750 _ACEOF
52751 if ac_fn_cxx_try_compile "$LINENO"; then :
52752 glibcxx_cv_func__float_round_use=yes
52753 else
52754 glibcxx_cv_func__float_round_use=no
52756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52757 ac_ext=c
52758 ac_cpp='$CPP $CPPFLAGS'
52759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52766 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52767 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52768 for ac_func in _ceilf _floorf
52769 do :
52770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52772 eval as_val=\$$as_ac_var
52773 if test "x$as_val" = x""yes; then :
52774 cat >>confdefs.h <<_ACEOF
52775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52776 _ACEOF
52779 done
52789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52790 $as_echo_n "checking for expf declaration... " >&6; }
52791 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52792 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52793 $as_echo_n "(cached) " >&6
52794 else
52797 ac_ext=cpp
52798 ac_cpp='$CXXCPP $CPPFLAGS'
52799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52804 /* end confdefs.h. */
52805 #include <math.h>
52806 #ifdef HAVE_IEEEFP_H
52807 #include <ieeefp.h>
52808 #endif
52811 main ()
52813 expf(0);
52815 return 0;
52817 _ACEOF
52818 if ac_fn_cxx_try_compile "$LINENO"; then :
52819 glibcxx_cv_func_expf_use=yes
52820 else
52821 glibcxx_cv_func_expf_use=no
52823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52824 ac_ext=c
52825 ac_cpp='$CPP $CPPFLAGS'
52826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52835 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52837 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52838 for ac_func in expf
52839 do :
52840 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52841 if test "x$ac_cv_func_expf" = x""yes; then :
52842 cat >>confdefs.h <<_ACEOF
52843 #define HAVE_EXPF 1
52844 _ACEOF
52847 done
52849 else
52851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52852 $as_echo_n "checking for _expf declaration... " >&6; }
52853 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52854 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52855 $as_echo_n "(cached) " >&6
52856 else
52859 ac_ext=cpp
52860 ac_cpp='$CXXCPP $CPPFLAGS'
52861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52866 /* end confdefs.h. */
52867 #include <math.h>
52868 #ifdef HAVE_IEEEFP_H
52869 #include <ieeefp.h>
52870 #endif
52873 main ()
52875 _expf(0);
52877 return 0;
52879 _ACEOF
52880 if ac_fn_cxx_try_compile "$LINENO"; then :
52881 glibcxx_cv_func__expf_use=yes
52882 else
52883 glibcxx_cv_func__expf_use=no
52885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52886 ac_ext=c
52887 ac_cpp='$CPP $CPPFLAGS'
52888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52897 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52899 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52900 for ac_func in _expf
52901 do :
52902 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52903 if test "x$ac_cv_func__expf" = x""yes; then :
52904 cat >>confdefs.h <<_ACEOF
52905 #define HAVE__EXPF 1
52906 _ACEOF
52909 done
52918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52919 $as_echo_n "checking for isnanf declaration... " >&6; }
52920 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52921 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52922 $as_echo_n "(cached) " >&6
52923 else
52926 ac_ext=cpp
52927 ac_cpp='$CXXCPP $CPPFLAGS'
52928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52933 /* end confdefs.h. */
52934 #include <math.h>
52935 #ifdef HAVE_IEEEFP_H
52936 #include <ieeefp.h>
52937 #endif
52940 main ()
52942 isnanf(0);
52944 return 0;
52946 _ACEOF
52947 if ac_fn_cxx_try_compile "$LINENO"; then :
52948 glibcxx_cv_func_isnanf_use=yes
52949 else
52950 glibcxx_cv_func_isnanf_use=no
52952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52953 ac_ext=c
52954 ac_cpp='$CPP $CPPFLAGS'
52955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52964 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52966 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52967 for ac_func in isnanf
52968 do :
52969 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52970 if test "x$ac_cv_func_isnanf" = x""yes; then :
52971 cat >>confdefs.h <<_ACEOF
52972 #define HAVE_ISNANF 1
52973 _ACEOF
52976 done
52978 else
52980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52981 $as_echo_n "checking for _isnanf declaration... " >&6; }
52982 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52983 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52984 $as_echo_n "(cached) " >&6
52985 else
52988 ac_ext=cpp
52989 ac_cpp='$CXXCPP $CPPFLAGS'
52990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52995 /* end confdefs.h. */
52996 #include <math.h>
52997 #ifdef HAVE_IEEEFP_H
52998 #include <ieeefp.h>
52999 #endif
53002 main ()
53004 _isnanf(0);
53006 return 0;
53008 _ACEOF
53009 if ac_fn_cxx_try_compile "$LINENO"; then :
53010 glibcxx_cv_func__isnanf_use=yes
53011 else
53012 glibcxx_cv_func__isnanf_use=no
53014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53015 ac_ext=c
53016 ac_cpp='$CPP $CPPFLAGS'
53017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53026 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53028 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53029 for ac_func in _isnanf
53030 do :
53031 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53032 if test "x$ac_cv_func__isnanf" = x""yes; then :
53033 cat >>confdefs.h <<_ACEOF
53034 #define HAVE__ISNANF 1
53035 _ACEOF
53038 done
53047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53048 $as_echo_n "checking for isinff declaration... " >&6; }
53049 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53050 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53051 $as_echo_n "(cached) " >&6
53052 else
53055 ac_ext=cpp
53056 ac_cpp='$CXXCPP $CPPFLAGS'
53057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53062 /* end confdefs.h. */
53063 #include <math.h>
53064 #ifdef HAVE_IEEEFP_H
53065 #include <ieeefp.h>
53066 #endif
53069 main ()
53071 isinff(0);
53073 return 0;
53075 _ACEOF
53076 if ac_fn_cxx_try_compile "$LINENO"; then :
53077 glibcxx_cv_func_isinff_use=yes
53078 else
53079 glibcxx_cv_func_isinff_use=no
53081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53082 ac_ext=c
53083 ac_cpp='$CPP $CPPFLAGS'
53084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53093 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53095 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53096 for ac_func in isinff
53097 do :
53098 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53099 if test "x$ac_cv_func_isinff" = x""yes; then :
53100 cat >>confdefs.h <<_ACEOF
53101 #define HAVE_ISINFF 1
53102 _ACEOF
53105 done
53107 else
53109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53110 $as_echo_n "checking for _isinff declaration... " >&6; }
53111 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53112 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53113 $as_echo_n "(cached) " >&6
53114 else
53117 ac_ext=cpp
53118 ac_cpp='$CXXCPP $CPPFLAGS'
53119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53124 /* end confdefs.h. */
53125 #include <math.h>
53126 #ifdef HAVE_IEEEFP_H
53127 #include <ieeefp.h>
53128 #endif
53131 main ()
53133 _isinff(0);
53135 return 0;
53137 _ACEOF
53138 if ac_fn_cxx_try_compile "$LINENO"; then :
53139 glibcxx_cv_func__isinff_use=yes
53140 else
53141 glibcxx_cv_func__isinff_use=no
53143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53144 ac_ext=c
53145 ac_cpp='$CPP $CPPFLAGS'
53146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53155 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53157 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53158 for ac_func in _isinff
53159 do :
53160 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53161 if test "x$ac_cv_func__isinff" = x""yes; then :
53162 cat >>confdefs.h <<_ACEOF
53163 #define HAVE__ISINFF 1
53164 _ACEOF
53167 done
53176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53177 $as_echo_n "checking for atan2f declaration... " >&6; }
53178 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53179 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53180 $as_echo_n "(cached) " >&6
53181 else
53184 ac_ext=cpp
53185 ac_cpp='$CXXCPP $CPPFLAGS'
53186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53191 /* end confdefs.h. */
53192 #include <math.h>
53194 main ()
53196 atan2f(0, 0);
53198 return 0;
53200 _ACEOF
53201 if ac_fn_cxx_try_compile "$LINENO"; then :
53202 glibcxx_cv_func_atan2f_use=yes
53203 else
53204 glibcxx_cv_func_atan2f_use=no
53206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53207 ac_ext=c
53208 ac_cpp='$CPP $CPPFLAGS'
53209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53218 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53220 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53221 for ac_func in atan2f
53222 do :
53223 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53224 if test "x$ac_cv_func_atan2f" = x""yes; then :
53225 cat >>confdefs.h <<_ACEOF
53226 #define HAVE_ATAN2F 1
53227 _ACEOF
53230 done
53232 else
53234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53235 $as_echo_n "checking for _atan2f declaration... " >&6; }
53236 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53237 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53238 $as_echo_n "(cached) " >&6
53239 else
53242 ac_ext=cpp
53243 ac_cpp='$CXXCPP $CPPFLAGS'
53244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53249 /* end confdefs.h. */
53250 #include <math.h>
53252 main ()
53254 _atan2f(0, 0);
53256 return 0;
53258 _ACEOF
53259 if ac_fn_cxx_try_compile "$LINENO"; then :
53260 glibcxx_cv_func__atan2f_use=yes
53261 else
53262 glibcxx_cv_func__atan2f_use=no
53264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53265 ac_ext=c
53266 ac_cpp='$CPP $CPPFLAGS'
53267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53276 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53278 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53279 for ac_func in _atan2f
53280 do :
53281 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53282 if test "x$ac_cv_func__atan2f" = x""yes; then :
53283 cat >>confdefs.h <<_ACEOF
53284 #define HAVE__ATAN2F 1
53285 _ACEOF
53288 done
53297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53298 $as_echo_n "checking for fabsf declaration... " >&6; }
53299 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53300 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53301 $as_echo_n "(cached) " >&6
53302 else
53305 ac_ext=cpp
53306 ac_cpp='$CXXCPP $CPPFLAGS'
53307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53312 /* end confdefs.h. */
53313 #include <math.h>
53314 #ifdef HAVE_IEEEFP_H
53315 #include <ieeefp.h>
53316 #endif
53319 main ()
53321 fabsf(0);
53323 return 0;
53325 _ACEOF
53326 if ac_fn_cxx_try_compile "$LINENO"; then :
53327 glibcxx_cv_func_fabsf_use=yes
53328 else
53329 glibcxx_cv_func_fabsf_use=no
53331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53332 ac_ext=c
53333 ac_cpp='$CPP $CPPFLAGS'
53334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53343 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53345 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53346 for ac_func in fabsf
53347 do :
53348 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53349 if test "x$ac_cv_func_fabsf" = x""yes; then :
53350 cat >>confdefs.h <<_ACEOF
53351 #define HAVE_FABSF 1
53352 _ACEOF
53355 done
53357 else
53359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53360 $as_echo_n "checking for _fabsf declaration... " >&6; }
53361 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53362 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53363 $as_echo_n "(cached) " >&6
53364 else
53367 ac_ext=cpp
53368 ac_cpp='$CXXCPP $CPPFLAGS'
53369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53374 /* end confdefs.h. */
53375 #include <math.h>
53376 #ifdef HAVE_IEEEFP_H
53377 #include <ieeefp.h>
53378 #endif
53381 main ()
53383 _fabsf(0);
53385 return 0;
53387 _ACEOF
53388 if ac_fn_cxx_try_compile "$LINENO"; then :
53389 glibcxx_cv_func__fabsf_use=yes
53390 else
53391 glibcxx_cv_func__fabsf_use=no
53393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53394 ac_ext=c
53395 ac_cpp='$CPP $CPPFLAGS'
53396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53405 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53407 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53408 for ac_func in _fabsf
53409 do :
53410 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53411 if test "x$ac_cv_func__fabsf" = x""yes; then :
53412 cat >>confdefs.h <<_ACEOF
53413 #define HAVE__FABSF 1
53414 _ACEOF
53417 done
53426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53427 $as_echo_n "checking for fmodf declaration... " >&6; }
53428 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53429 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53430 $as_echo_n "(cached) " >&6
53431 else
53434 ac_ext=cpp
53435 ac_cpp='$CXXCPP $CPPFLAGS'
53436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53441 /* end confdefs.h. */
53442 #include <math.h>
53444 main ()
53446 fmodf(0, 0);
53448 return 0;
53450 _ACEOF
53451 if ac_fn_cxx_try_compile "$LINENO"; then :
53452 glibcxx_cv_func_fmodf_use=yes
53453 else
53454 glibcxx_cv_func_fmodf_use=no
53456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53457 ac_ext=c
53458 ac_cpp='$CPP $CPPFLAGS'
53459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53468 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53470 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53471 for ac_func in fmodf
53472 do :
53473 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53474 if test "x$ac_cv_func_fmodf" = x""yes; then :
53475 cat >>confdefs.h <<_ACEOF
53476 #define HAVE_FMODF 1
53477 _ACEOF
53480 done
53482 else
53484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53485 $as_echo_n "checking for _fmodf declaration... " >&6; }
53486 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53487 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53488 $as_echo_n "(cached) " >&6
53489 else
53492 ac_ext=cpp
53493 ac_cpp='$CXXCPP $CPPFLAGS'
53494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53499 /* end confdefs.h. */
53500 #include <math.h>
53502 main ()
53504 _fmodf(0, 0);
53506 return 0;
53508 _ACEOF
53509 if ac_fn_cxx_try_compile "$LINENO"; then :
53510 glibcxx_cv_func__fmodf_use=yes
53511 else
53512 glibcxx_cv_func__fmodf_use=no
53514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53515 ac_ext=c
53516 ac_cpp='$CPP $CPPFLAGS'
53517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53526 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53528 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53529 for ac_func in _fmodf
53530 do :
53531 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53532 if test "x$ac_cv_func__fmodf" = x""yes; then :
53533 cat >>confdefs.h <<_ACEOF
53534 #define HAVE__FMODF 1
53535 _ACEOF
53538 done
53547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53548 $as_echo_n "checking for frexpf declaration... " >&6; }
53549 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53550 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53551 $as_echo_n "(cached) " >&6
53552 else
53555 ac_ext=cpp
53556 ac_cpp='$CXXCPP $CPPFLAGS'
53557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53562 /* end confdefs.h. */
53563 #include <math.h>
53565 main ()
53567 frexpf(0, 0);
53569 return 0;
53571 _ACEOF
53572 if ac_fn_cxx_try_compile "$LINENO"; then :
53573 glibcxx_cv_func_frexpf_use=yes
53574 else
53575 glibcxx_cv_func_frexpf_use=no
53577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53578 ac_ext=c
53579 ac_cpp='$CPP $CPPFLAGS'
53580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53589 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53591 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53592 for ac_func in frexpf
53593 do :
53594 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53595 if test "x$ac_cv_func_frexpf" = x""yes; then :
53596 cat >>confdefs.h <<_ACEOF
53597 #define HAVE_FREXPF 1
53598 _ACEOF
53601 done
53603 else
53605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53606 $as_echo_n "checking for _frexpf declaration... " >&6; }
53607 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53608 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53609 $as_echo_n "(cached) " >&6
53610 else
53613 ac_ext=cpp
53614 ac_cpp='$CXXCPP $CPPFLAGS'
53615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53620 /* end confdefs.h. */
53621 #include <math.h>
53623 main ()
53625 _frexpf(0, 0);
53627 return 0;
53629 _ACEOF
53630 if ac_fn_cxx_try_compile "$LINENO"; then :
53631 glibcxx_cv_func__frexpf_use=yes
53632 else
53633 glibcxx_cv_func__frexpf_use=no
53635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53636 ac_ext=c
53637 ac_cpp='$CPP $CPPFLAGS'
53638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53647 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53649 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53650 for ac_func in _frexpf
53651 do :
53652 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53653 if test "x$ac_cv_func__frexpf" = x""yes; then :
53654 cat >>confdefs.h <<_ACEOF
53655 #define HAVE__FREXPF 1
53656 _ACEOF
53659 done
53668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53669 $as_echo_n "checking for hypotf declaration... " >&6; }
53670 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53671 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53672 $as_echo_n "(cached) " >&6
53673 else
53676 ac_ext=cpp
53677 ac_cpp='$CXXCPP $CPPFLAGS'
53678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53683 /* end confdefs.h. */
53684 #include <math.h>
53686 main ()
53688 hypotf(0, 0);
53690 return 0;
53692 _ACEOF
53693 if ac_fn_cxx_try_compile "$LINENO"; then :
53694 glibcxx_cv_func_hypotf_use=yes
53695 else
53696 glibcxx_cv_func_hypotf_use=no
53698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53699 ac_ext=c
53700 ac_cpp='$CPP $CPPFLAGS'
53701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53710 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53712 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53713 for ac_func in hypotf
53714 do :
53715 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53716 if test "x$ac_cv_func_hypotf" = x""yes; then :
53717 cat >>confdefs.h <<_ACEOF
53718 #define HAVE_HYPOTF 1
53719 _ACEOF
53722 done
53724 else
53726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53727 $as_echo_n "checking for _hypotf declaration... " >&6; }
53728 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53729 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53730 $as_echo_n "(cached) " >&6
53731 else
53734 ac_ext=cpp
53735 ac_cpp='$CXXCPP $CPPFLAGS'
53736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53741 /* end confdefs.h. */
53742 #include <math.h>
53744 main ()
53746 _hypotf(0, 0);
53748 return 0;
53750 _ACEOF
53751 if ac_fn_cxx_try_compile "$LINENO"; then :
53752 glibcxx_cv_func__hypotf_use=yes
53753 else
53754 glibcxx_cv_func__hypotf_use=no
53756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53757 ac_ext=c
53758 ac_cpp='$CPP $CPPFLAGS'
53759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53768 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53770 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53771 for ac_func in _hypotf
53772 do :
53773 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53774 if test "x$ac_cv_func__hypotf" = x""yes; then :
53775 cat >>confdefs.h <<_ACEOF
53776 #define HAVE__HYPOTF 1
53777 _ACEOF
53780 done
53789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53790 $as_echo_n "checking for ldexpf declaration... " >&6; }
53791 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53792 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53793 $as_echo_n "(cached) " >&6
53794 else
53797 ac_ext=cpp
53798 ac_cpp='$CXXCPP $CPPFLAGS'
53799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53804 /* end confdefs.h. */
53805 #include <math.h>
53807 main ()
53809 ldexpf(0, 0);
53811 return 0;
53813 _ACEOF
53814 if ac_fn_cxx_try_compile "$LINENO"; then :
53815 glibcxx_cv_func_ldexpf_use=yes
53816 else
53817 glibcxx_cv_func_ldexpf_use=no
53819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53820 ac_ext=c
53821 ac_cpp='$CPP $CPPFLAGS'
53822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53831 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53833 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53834 for ac_func in ldexpf
53835 do :
53836 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53837 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53838 cat >>confdefs.h <<_ACEOF
53839 #define HAVE_LDEXPF 1
53840 _ACEOF
53843 done
53845 else
53847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53848 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53849 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53850 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53851 $as_echo_n "(cached) " >&6
53852 else
53855 ac_ext=cpp
53856 ac_cpp='$CXXCPP $CPPFLAGS'
53857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53862 /* end confdefs.h. */
53863 #include <math.h>
53865 main ()
53867 _ldexpf(0, 0);
53869 return 0;
53871 _ACEOF
53872 if ac_fn_cxx_try_compile "$LINENO"; then :
53873 glibcxx_cv_func__ldexpf_use=yes
53874 else
53875 glibcxx_cv_func__ldexpf_use=no
53877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53878 ac_ext=c
53879 ac_cpp='$CPP $CPPFLAGS'
53880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53889 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53891 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53892 for ac_func in _ldexpf
53893 do :
53894 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53895 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53896 cat >>confdefs.h <<_ACEOF
53897 #define HAVE__LDEXPF 1
53898 _ACEOF
53901 done
53910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53911 $as_echo_n "checking for logf declaration... " >&6; }
53912 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53913 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53914 $as_echo_n "(cached) " >&6
53915 else
53918 ac_ext=cpp
53919 ac_cpp='$CXXCPP $CPPFLAGS'
53920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53925 /* end confdefs.h. */
53926 #include <math.h>
53927 #ifdef HAVE_IEEEFP_H
53928 #include <ieeefp.h>
53929 #endif
53932 main ()
53934 logf(0);
53936 return 0;
53938 _ACEOF
53939 if ac_fn_cxx_try_compile "$LINENO"; then :
53940 glibcxx_cv_func_logf_use=yes
53941 else
53942 glibcxx_cv_func_logf_use=no
53944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53945 ac_ext=c
53946 ac_cpp='$CPP $CPPFLAGS'
53947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53956 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53958 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53959 for ac_func in logf
53960 do :
53961 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53962 if test "x$ac_cv_func_logf" = x""yes; then :
53963 cat >>confdefs.h <<_ACEOF
53964 #define HAVE_LOGF 1
53965 _ACEOF
53968 done
53970 else
53972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53973 $as_echo_n "checking for _logf declaration... " >&6; }
53974 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53975 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53976 $as_echo_n "(cached) " >&6
53977 else
53980 ac_ext=cpp
53981 ac_cpp='$CXXCPP $CPPFLAGS'
53982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53987 /* end confdefs.h. */
53988 #include <math.h>
53989 #ifdef HAVE_IEEEFP_H
53990 #include <ieeefp.h>
53991 #endif
53994 main ()
53996 _logf(0);
53998 return 0;
54000 _ACEOF
54001 if ac_fn_cxx_try_compile "$LINENO"; then :
54002 glibcxx_cv_func__logf_use=yes
54003 else
54004 glibcxx_cv_func__logf_use=no
54006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54007 ac_ext=c
54008 ac_cpp='$CPP $CPPFLAGS'
54009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54018 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54020 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54021 for ac_func in _logf
54022 do :
54023 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54024 if test "x$ac_cv_func__logf" = x""yes; then :
54025 cat >>confdefs.h <<_ACEOF
54026 #define HAVE__LOGF 1
54027 _ACEOF
54030 done
54039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54040 $as_echo_n "checking for log10f declaration... " >&6; }
54041 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54042 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54043 $as_echo_n "(cached) " >&6
54044 else
54047 ac_ext=cpp
54048 ac_cpp='$CXXCPP $CPPFLAGS'
54049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54054 /* end confdefs.h. */
54055 #include <math.h>
54056 #ifdef HAVE_IEEEFP_H
54057 #include <ieeefp.h>
54058 #endif
54061 main ()
54063 log10f(0);
54065 return 0;
54067 _ACEOF
54068 if ac_fn_cxx_try_compile "$LINENO"; then :
54069 glibcxx_cv_func_log10f_use=yes
54070 else
54071 glibcxx_cv_func_log10f_use=no
54073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54074 ac_ext=c
54075 ac_cpp='$CPP $CPPFLAGS'
54076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54085 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54087 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54088 for ac_func in log10f
54089 do :
54090 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54091 if test "x$ac_cv_func_log10f" = x""yes; then :
54092 cat >>confdefs.h <<_ACEOF
54093 #define HAVE_LOG10F 1
54094 _ACEOF
54097 done
54099 else
54101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54102 $as_echo_n "checking for _log10f declaration... " >&6; }
54103 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54104 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54105 $as_echo_n "(cached) " >&6
54106 else
54109 ac_ext=cpp
54110 ac_cpp='$CXXCPP $CPPFLAGS'
54111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54116 /* end confdefs.h. */
54117 #include <math.h>
54118 #ifdef HAVE_IEEEFP_H
54119 #include <ieeefp.h>
54120 #endif
54123 main ()
54125 _log10f(0);
54127 return 0;
54129 _ACEOF
54130 if ac_fn_cxx_try_compile "$LINENO"; then :
54131 glibcxx_cv_func__log10f_use=yes
54132 else
54133 glibcxx_cv_func__log10f_use=no
54135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54136 ac_ext=c
54137 ac_cpp='$CPP $CPPFLAGS'
54138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54147 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54149 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54150 for ac_func in _log10f
54151 do :
54152 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54153 if test "x$ac_cv_func__log10f" = x""yes; then :
54154 cat >>confdefs.h <<_ACEOF
54155 #define HAVE__LOG10F 1
54156 _ACEOF
54159 done
54168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54169 $as_echo_n "checking for modff declaration... " >&6; }
54170 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54171 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54172 $as_echo_n "(cached) " >&6
54173 else
54176 ac_ext=cpp
54177 ac_cpp='$CXXCPP $CPPFLAGS'
54178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54183 /* end confdefs.h. */
54184 #include <math.h>
54186 main ()
54188 modff(0, 0);
54190 return 0;
54192 _ACEOF
54193 if ac_fn_cxx_try_compile "$LINENO"; then :
54194 glibcxx_cv_func_modff_use=yes
54195 else
54196 glibcxx_cv_func_modff_use=no
54198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54199 ac_ext=c
54200 ac_cpp='$CPP $CPPFLAGS'
54201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54210 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54212 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54213 for ac_func in modff
54214 do :
54215 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54216 if test "x$ac_cv_func_modff" = x""yes; then :
54217 cat >>confdefs.h <<_ACEOF
54218 #define HAVE_MODFF 1
54219 _ACEOF
54222 done
54224 else
54226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54227 $as_echo_n "checking for _modff declaration... " >&6; }
54228 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54229 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54230 $as_echo_n "(cached) " >&6
54231 else
54234 ac_ext=cpp
54235 ac_cpp='$CXXCPP $CPPFLAGS'
54236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54241 /* end confdefs.h. */
54242 #include <math.h>
54244 main ()
54246 _modff(0, 0);
54248 return 0;
54250 _ACEOF
54251 if ac_fn_cxx_try_compile "$LINENO"; then :
54252 glibcxx_cv_func__modff_use=yes
54253 else
54254 glibcxx_cv_func__modff_use=no
54256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54257 ac_ext=c
54258 ac_cpp='$CPP $CPPFLAGS'
54259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54268 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54270 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54271 for ac_func in _modff
54272 do :
54273 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54274 if test "x$ac_cv_func__modff" = x""yes; then :
54275 cat >>confdefs.h <<_ACEOF
54276 #define HAVE__MODFF 1
54277 _ACEOF
54280 done
54289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54290 $as_echo_n "checking for modf declaration... " >&6; }
54291 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54292 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54293 $as_echo_n "(cached) " >&6
54294 else
54297 ac_ext=cpp
54298 ac_cpp='$CXXCPP $CPPFLAGS'
54299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54304 /* end confdefs.h. */
54305 #include <math.h>
54307 main ()
54309 modf(0, 0);
54311 return 0;
54313 _ACEOF
54314 if ac_fn_cxx_try_compile "$LINENO"; then :
54315 glibcxx_cv_func_modf_use=yes
54316 else
54317 glibcxx_cv_func_modf_use=no
54319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54320 ac_ext=c
54321 ac_cpp='$CPP $CPPFLAGS'
54322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54331 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54333 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54334 for ac_func in modf
54335 do :
54336 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54337 if test "x$ac_cv_func_modf" = x""yes; then :
54338 cat >>confdefs.h <<_ACEOF
54339 #define HAVE_MODF 1
54340 _ACEOF
54343 done
54345 else
54347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54348 $as_echo_n "checking for _modf declaration... " >&6; }
54349 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54350 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54351 $as_echo_n "(cached) " >&6
54352 else
54355 ac_ext=cpp
54356 ac_cpp='$CXXCPP $CPPFLAGS'
54357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54362 /* end confdefs.h. */
54363 #include <math.h>
54365 main ()
54367 _modf(0, 0);
54369 return 0;
54371 _ACEOF
54372 if ac_fn_cxx_try_compile "$LINENO"; then :
54373 glibcxx_cv_func__modf_use=yes
54374 else
54375 glibcxx_cv_func__modf_use=no
54377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54378 ac_ext=c
54379 ac_cpp='$CPP $CPPFLAGS'
54380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54389 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54391 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54392 for ac_func in _modf
54393 do :
54394 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54395 if test "x$ac_cv_func__modf" = x""yes; then :
54396 cat >>confdefs.h <<_ACEOF
54397 #define HAVE__MODF 1
54398 _ACEOF
54401 done
54410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54411 $as_echo_n "checking for powf declaration... " >&6; }
54412 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54413 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54414 $as_echo_n "(cached) " >&6
54415 else
54418 ac_ext=cpp
54419 ac_cpp='$CXXCPP $CPPFLAGS'
54420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54425 /* end confdefs.h. */
54426 #include <math.h>
54428 main ()
54430 powf(0, 0);
54432 return 0;
54434 _ACEOF
54435 if ac_fn_cxx_try_compile "$LINENO"; then :
54436 glibcxx_cv_func_powf_use=yes
54437 else
54438 glibcxx_cv_func_powf_use=no
54440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54441 ac_ext=c
54442 ac_cpp='$CPP $CPPFLAGS'
54443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54452 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54454 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54455 for ac_func in powf
54456 do :
54457 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54458 if test "x$ac_cv_func_powf" = x""yes; then :
54459 cat >>confdefs.h <<_ACEOF
54460 #define HAVE_POWF 1
54461 _ACEOF
54464 done
54466 else
54468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54469 $as_echo_n "checking for _powf declaration... " >&6; }
54470 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54471 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54472 $as_echo_n "(cached) " >&6
54473 else
54476 ac_ext=cpp
54477 ac_cpp='$CXXCPP $CPPFLAGS'
54478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54483 /* end confdefs.h. */
54484 #include <math.h>
54486 main ()
54488 _powf(0, 0);
54490 return 0;
54492 _ACEOF
54493 if ac_fn_cxx_try_compile "$LINENO"; then :
54494 glibcxx_cv_func__powf_use=yes
54495 else
54496 glibcxx_cv_func__powf_use=no
54498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54499 ac_ext=c
54500 ac_cpp='$CPP $CPPFLAGS'
54501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54510 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54512 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54513 for ac_func in _powf
54514 do :
54515 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54516 if test "x$ac_cv_func__powf" = x""yes; then :
54517 cat >>confdefs.h <<_ACEOF
54518 #define HAVE__POWF 1
54519 _ACEOF
54522 done
54531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54532 $as_echo_n "checking for sqrtf declaration... " >&6; }
54533 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54534 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54535 $as_echo_n "(cached) " >&6
54536 else
54539 ac_ext=cpp
54540 ac_cpp='$CXXCPP $CPPFLAGS'
54541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54546 /* end confdefs.h. */
54547 #include <math.h>
54548 #ifdef HAVE_IEEEFP_H
54549 #include <ieeefp.h>
54550 #endif
54553 main ()
54555 sqrtf(0);
54557 return 0;
54559 _ACEOF
54560 if ac_fn_cxx_try_compile "$LINENO"; then :
54561 glibcxx_cv_func_sqrtf_use=yes
54562 else
54563 glibcxx_cv_func_sqrtf_use=no
54565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54566 ac_ext=c
54567 ac_cpp='$CPP $CPPFLAGS'
54568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54577 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54579 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54580 for ac_func in sqrtf
54581 do :
54582 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54583 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54584 cat >>confdefs.h <<_ACEOF
54585 #define HAVE_SQRTF 1
54586 _ACEOF
54589 done
54591 else
54593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54594 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54595 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54596 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54597 $as_echo_n "(cached) " >&6
54598 else
54601 ac_ext=cpp
54602 ac_cpp='$CXXCPP $CPPFLAGS'
54603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54608 /* end confdefs.h. */
54609 #include <math.h>
54610 #ifdef HAVE_IEEEFP_H
54611 #include <ieeefp.h>
54612 #endif
54615 main ()
54617 _sqrtf(0);
54619 return 0;
54621 _ACEOF
54622 if ac_fn_cxx_try_compile "$LINENO"; then :
54623 glibcxx_cv_func__sqrtf_use=yes
54624 else
54625 glibcxx_cv_func__sqrtf_use=no
54627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54628 ac_ext=c
54629 ac_cpp='$CPP $CPPFLAGS'
54630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54639 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54641 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54642 for ac_func in _sqrtf
54643 do :
54644 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54645 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54646 cat >>confdefs.h <<_ACEOF
54647 #define HAVE__SQRTF 1
54648 _ACEOF
54651 done
54660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54661 $as_echo_n "checking for sincosf declaration... " >&6; }
54662 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54663 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54664 $as_echo_n "(cached) " >&6
54665 else
54668 ac_ext=cpp
54669 ac_cpp='$CXXCPP $CPPFLAGS'
54670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54675 /* end confdefs.h. */
54676 #include <math.h>
54678 main ()
54680 sincosf(0, 0, 0);
54682 return 0;
54684 _ACEOF
54685 if ac_fn_cxx_try_compile "$LINENO"; then :
54686 glibcxx_cv_func_sincosf_use=yes
54687 else
54688 glibcxx_cv_func_sincosf_use=no
54690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54691 ac_ext=c
54692 ac_cpp='$CPP $CPPFLAGS'
54693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54702 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54704 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54705 for ac_func in sincosf
54706 do :
54707 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54708 if test "x$ac_cv_func_sincosf" = x""yes; then :
54709 cat >>confdefs.h <<_ACEOF
54710 #define HAVE_SINCOSF 1
54711 _ACEOF
54714 done
54716 else
54718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54719 $as_echo_n "checking for _sincosf declaration... " >&6; }
54720 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54721 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54722 $as_echo_n "(cached) " >&6
54723 else
54726 ac_ext=cpp
54727 ac_cpp='$CXXCPP $CPPFLAGS'
54728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54733 /* end confdefs.h. */
54734 #include <math.h>
54736 main ()
54738 _sincosf(0, 0, 0);
54740 return 0;
54742 _ACEOF
54743 if ac_fn_cxx_try_compile "$LINENO"; then :
54744 glibcxx_cv_func__sincosf_use=yes
54745 else
54746 glibcxx_cv_func__sincosf_use=no
54748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54749 ac_ext=c
54750 ac_cpp='$CPP $CPPFLAGS'
54751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54760 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54762 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54763 for ac_func in _sincosf
54764 do :
54765 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54766 if test "x$ac_cv_func__sincosf" = x""yes; then :
54767 cat >>confdefs.h <<_ACEOF
54768 #define HAVE__SINCOSF 1
54769 _ACEOF
54772 done
54781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54782 $as_echo_n "checking for finitef declaration... " >&6; }
54783 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54784 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54785 $as_echo_n "(cached) " >&6
54786 else
54789 ac_ext=cpp
54790 ac_cpp='$CXXCPP $CPPFLAGS'
54791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54796 /* end confdefs.h. */
54797 #include <math.h>
54798 #ifdef HAVE_IEEEFP_H
54799 #include <ieeefp.h>
54800 #endif
54803 main ()
54805 finitef(0);
54807 return 0;
54809 _ACEOF
54810 if ac_fn_cxx_try_compile "$LINENO"; then :
54811 glibcxx_cv_func_finitef_use=yes
54812 else
54813 glibcxx_cv_func_finitef_use=no
54815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54816 ac_ext=c
54817 ac_cpp='$CPP $CPPFLAGS'
54818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54827 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54829 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54830 for ac_func in finitef
54831 do :
54832 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54833 if test "x$ac_cv_func_finitef" = x""yes; then :
54834 cat >>confdefs.h <<_ACEOF
54835 #define HAVE_FINITEF 1
54836 _ACEOF
54839 done
54841 else
54843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54844 $as_echo_n "checking for _finitef declaration... " >&6; }
54845 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54846 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54847 $as_echo_n "(cached) " >&6
54848 else
54851 ac_ext=cpp
54852 ac_cpp='$CXXCPP $CPPFLAGS'
54853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54858 /* end confdefs.h. */
54859 #include <math.h>
54860 #ifdef HAVE_IEEEFP_H
54861 #include <ieeefp.h>
54862 #endif
54865 main ()
54867 _finitef(0);
54869 return 0;
54871 _ACEOF
54872 if ac_fn_cxx_try_compile "$LINENO"; then :
54873 glibcxx_cv_func__finitef_use=yes
54874 else
54875 glibcxx_cv_func__finitef_use=no
54877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54878 ac_ext=c
54879 ac_cpp='$CPP $CPPFLAGS'
54880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54889 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54891 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54892 for ac_func in _finitef
54893 do :
54894 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54895 if test "x$ac_cv_func__finitef" = x""yes; then :
54896 cat >>confdefs.h <<_ACEOF
54897 #define HAVE__FINITEF 1
54898 _ACEOF
54901 done
54910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54911 $as_echo_n "checking for long double trig functions... " >&6; }
54912 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54913 $as_echo_n "(cached) " >&6
54914 else
54917 ac_ext=cpp
54918 ac_cpp='$CXXCPP $CPPFLAGS'
54919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54924 /* end confdefs.h. */
54925 #include <math.h>
54927 main ()
54929 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54931 return 0;
54933 _ACEOF
54934 if ac_fn_cxx_try_compile "$LINENO"; then :
54935 glibcxx_cv_func_long_double_trig_use=yes
54936 else
54937 glibcxx_cv_func_long_double_trig_use=no
54939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54940 ac_ext=c
54941 ac_cpp='$CPP $CPPFLAGS'
54942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54949 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54950 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54951 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54952 do :
54953 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54954 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54955 eval as_val=\$$as_ac_var
54956 if test "x$as_val" = x""yes; then :
54957 cat >>confdefs.h <<_ACEOF
54958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54959 _ACEOF
54962 done
54964 else
54965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54966 $as_echo_n "checking for _long double trig functions... " >&6; }
54967 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54968 $as_echo_n "(cached) " >&6
54969 else
54972 ac_ext=cpp
54973 ac_cpp='$CXXCPP $CPPFLAGS'
54974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54979 /* end confdefs.h. */
54980 #include <math.h>
54982 main ()
54984 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54986 return 0;
54988 _ACEOF
54989 if ac_fn_cxx_try_compile "$LINENO"; then :
54990 glibcxx_cv_func__long_double_trig_use=yes
54991 else
54992 glibcxx_cv_func__long_double_trig_use=no
54994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54995 ac_ext=c
54996 ac_cpp='$CPP $CPPFLAGS'
54997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55004 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55005 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55006 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55007 do :
55008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55010 eval as_val=\$$as_ac_var
55011 if test "x$as_val" = x""yes; then :
55012 cat >>confdefs.h <<_ACEOF
55013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55014 _ACEOF
55017 done
55026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55027 $as_echo_n "checking for long double round functions... " >&6; }
55028 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55029 $as_echo_n "(cached) " >&6
55030 else
55033 ac_ext=cpp
55034 ac_cpp='$CXXCPP $CPPFLAGS'
55035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55040 /* end confdefs.h. */
55041 #include <math.h>
55043 main ()
55045 ceill (0); floorl (0);
55047 return 0;
55049 _ACEOF
55050 if ac_fn_cxx_try_compile "$LINENO"; then :
55051 glibcxx_cv_func_long_double_round_use=yes
55052 else
55053 glibcxx_cv_func_long_double_round_use=no
55055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55056 ac_ext=c
55057 ac_cpp='$CPP $CPPFLAGS'
55058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55065 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55066 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55067 for ac_func in ceill floorl
55068 do :
55069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55071 eval as_val=\$$as_ac_var
55072 if test "x$as_val" = x""yes; then :
55073 cat >>confdefs.h <<_ACEOF
55074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55075 _ACEOF
55078 done
55080 else
55081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55082 $as_echo_n "checking for _long double round functions... " >&6; }
55083 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55084 $as_echo_n "(cached) " >&6
55085 else
55088 ac_ext=cpp
55089 ac_cpp='$CXXCPP $CPPFLAGS'
55090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55095 /* end confdefs.h. */
55096 #include <math.h>
55098 main ()
55100 _ceill (0); _floorl (0);
55102 return 0;
55104 _ACEOF
55105 if ac_fn_cxx_try_compile "$LINENO"; then :
55106 glibcxx_cv_func__long_double_round_use=yes
55107 else
55108 glibcxx_cv_func__long_double_round_use=no
55110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55111 ac_ext=c
55112 ac_cpp='$CPP $CPPFLAGS'
55113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55120 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55121 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55122 for ac_func in _ceill _floorl
55123 do :
55124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55126 eval as_val=\$$as_ac_var
55127 if test "x$as_val" = x""yes; then :
55128 cat >>confdefs.h <<_ACEOF
55129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55130 _ACEOF
55133 done
55143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55144 $as_echo_n "checking for isnanl declaration... " >&6; }
55145 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55146 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55147 $as_echo_n "(cached) " >&6
55148 else
55151 ac_ext=cpp
55152 ac_cpp='$CXXCPP $CPPFLAGS'
55153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55158 /* end confdefs.h. */
55159 #include <math.h>
55160 #ifdef HAVE_IEEEFP_H
55161 #include <ieeefp.h>
55162 #endif
55165 main ()
55167 isnanl(0);
55169 return 0;
55171 _ACEOF
55172 if ac_fn_cxx_try_compile "$LINENO"; then :
55173 glibcxx_cv_func_isnanl_use=yes
55174 else
55175 glibcxx_cv_func_isnanl_use=no
55177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55178 ac_ext=c
55179 ac_cpp='$CPP $CPPFLAGS'
55180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55189 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55191 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55192 for ac_func in isnanl
55193 do :
55194 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55195 if test "x$ac_cv_func_isnanl" = x""yes; then :
55196 cat >>confdefs.h <<_ACEOF
55197 #define HAVE_ISNANL 1
55198 _ACEOF
55201 done
55203 else
55205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55206 $as_echo_n "checking for _isnanl declaration... " >&6; }
55207 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55208 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55209 $as_echo_n "(cached) " >&6
55210 else
55213 ac_ext=cpp
55214 ac_cpp='$CXXCPP $CPPFLAGS'
55215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55220 /* end confdefs.h. */
55221 #include <math.h>
55222 #ifdef HAVE_IEEEFP_H
55223 #include <ieeefp.h>
55224 #endif
55227 main ()
55229 _isnanl(0);
55231 return 0;
55233 _ACEOF
55234 if ac_fn_cxx_try_compile "$LINENO"; then :
55235 glibcxx_cv_func__isnanl_use=yes
55236 else
55237 glibcxx_cv_func__isnanl_use=no
55239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55240 ac_ext=c
55241 ac_cpp='$CPP $CPPFLAGS'
55242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55251 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55253 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55254 for ac_func in _isnanl
55255 do :
55256 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55257 if test "x$ac_cv_func__isnanl" = x""yes; then :
55258 cat >>confdefs.h <<_ACEOF
55259 #define HAVE__ISNANL 1
55260 _ACEOF
55263 done
55272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55273 $as_echo_n "checking for isinfl declaration... " >&6; }
55274 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55275 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55276 $as_echo_n "(cached) " >&6
55277 else
55280 ac_ext=cpp
55281 ac_cpp='$CXXCPP $CPPFLAGS'
55282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55287 /* end confdefs.h. */
55288 #include <math.h>
55289 #ifdef HAVE_IEEEFP_H
55290 #include <ieeefp.h>
55291 #endif
55294 main ()
55296 isinfl(0);
55298 return 0;
55300 _ACEOF
55301 if ac_fn_cxx_try_compile "$LINENO"; then :
55302 glibcxx_cv_func_isinfl_use=yes
55303 else
55304 glibcxx_cv_func_isinfl_use=no
55306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55307 ac_ext=c
55308 ac_cpp='$CPP $CPPFLAGS'
55309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55318 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55320 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55321 for ac_func in isinfl
55322 do :
55323 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55324 if test "x$ac_cv_func_isinfl" = x""yes; then :
55325 cat >>confdefs.h <<_ACEOF
55326 #define HAVE_ISINFL 1
55327 _ACEOF
55330 done
55332 else
55334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55335 $as_echo_n "checking for _isinfl declaration... " >&6; }
55336 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55337 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55338 $as_echo_n "(cached) " >&6
55339 else
55342 ac_ext=cpp
55343 ac_cpp='$CXXCPP $CPPFLAGS'
55344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55349 /* end confdefs.h. */
55350 #include <math.h>
55351 #ifdef HAVE_IEEEFP_H
55352 #include <ieeefp.h>
55353 #endif
55356 main ()
55358 _isinfl(0);
55360 return 0;
55362 _ACEOF
55363 if ac_fn_cxx_try_compile "$LINENO"; then :
55364 glibcxx_cv_func__isinfl_use=yes
55365 else
55366 glibcxx_cv_func__isinfl_use=no
55368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55369 ac_ext=c
55370 ac_cpp='$CPP $CPPFLAGS'
55371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55380 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55382 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55383 for ac_func in _isinfl
55384 do :
55385 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55386 if test "x$ac_cv_func__isinfl" = x""yes; then :
55387 cat >>confdefs.h <<_ACEOF
55388 #define HAVE__ISINFL 1
55389 _ACEOF
55392 done
55401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55402 $as_echo_n "checking for atan2l declaration... " >&6; }
55403 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55404 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55405 $as_echo_n "(cached) " >&6
55406 else
55409 ac_ext=cpp
55410 ac_cpp='$CXXCPP $CPPFLAGS'
55411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55416 /* end confdefs.h. */
55417 #include <math.h>
55419 main ()
55421 atan2l(0, 0);
55423 return 0;
55425 _ACEOF
55426 if ac_fn_cxx_try_compile "$LINENO"; then :
55427 glibcxx_cv_func_atan2l_use=yes
55428 else
55429 glibcxx_cv_func_atan2l_use=no
55431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55432 ac_ext=c
55433 ac_cpp='$CPP $CPPFLAGS'
55434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55443 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55445 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55446 for ac_func in atan2l
55447 do :
55448 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55449 if test "x$ac_cv_func_atan2l" = x""yes; then :
55450 cat >>confdefs.h <<_ACEOF
55451 #define HAVE_ATAN2L 1
55452 _ACEOF
55455 done
55457 else
55459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55460 $as_echo_n "checking for _atan2l declaration... " >&6; }
55461 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55462 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55463 $as_echo_n "(cached) " >&6
55464 else
55467 ac_ext=cpp
55468 ac_cpp='$CXXCPP $CPPFLAGS'
55469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55474 /* end confdefs.h. */
55475 #include <math.h>
55477 main ()
55479 _atan2l(0, 0);
55481 return 0;
55483 _ACEOF
55484 if ac_fn_cxx_try_compile "$LINENO"; then :
55485 glibcxx_cv_func__atan2l_use=yes
55486 else
55487 glibcxx_cv_func__atan2l_use=no
55489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55490 ac_ext=c
55491 ac_cpp='$CPP $CPPFLAGS'
55492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55501 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55503 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55504 for ac_func in _atan2l
55505 do :
55506 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55507 if test "x$ac_cv_func__atan2l" = x""yes; then :
55508 cat >>confdefs.h <<_ACEOF
55509 #define HAVE__ATAN2L 1
55510 _ACEOF
55513 done
55522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55523 $as_echo_n "checking for expl declaration... " >&6; }
55524 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55525 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55526 $as_echo_n "(cached) " >&6
55527 else
55530 ac_ext=cpp
55531 ac_cpp='$CXXCPP $CPPFLAGS'
55532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55537 /* end confdefs.h. */
55538 #include <math.h>
55539 #ifdef HAVE_IEEEFP_H
55540 #include <ieeefp.h>
55541 #endif
55544 main ()
55546 expl(0);
55548 return 0;
55550 _ACEOF
55551 if ac_fn_cxx_try_compile "$LINENO"; then :
55552 glibcxx_cv_func_expl_use=yes
55553 else
55554 glibcxx_cv_func_expl_use=no
55556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55557 ac_ext=c
55558 ac_cpp='$CPP $CPPFLAGS'
55559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55568 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55570 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55571 for ac_func in expl
55572 do :
55573 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55574 if test "x$ac_cv_func_expl" = x""yes; then :
55575 cat >>confdefs.h <<_ACEOF
55576 #define HAVE_EXPL 1
55577 _ACEOF
55580 done
55582 else
55584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55585 $as_echo_n "checking for _expl declaration... " >&6; }
55586 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55587 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55588 $as_echo_n "(cached) " >&6
55589 else
55592 ac_ext=cpp
55593 ac_cpp='$CXXCPP $CPPFLAGS'
55594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55599 /* end confdefs.h. */
55600 #include <math.h>
55601 #ifdef HAVE_IEEEFP_H
55602 #include <ieeefp.h>
55603 #endif
55606 main ()
55608 _expl(0);
55610 return 0;
55612 _ACEOF
55613 if ac_fn_cxx_try_compile "$LINENO"; then :
55614 glibcxx_cv_func__expl_use=yes
55615 else
55616 glibcxx_cv_func__expl_use=no
55618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55619 ac_ext=c
55620 ac_cpp='$CPP $CPPFLAGS'
55621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55630 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55632 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55633 for ac_func in _expl
55634 do :
55635 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55636 if test "x$ac_cv_func__expl" = x""yes; then :
55637 cat >>confdefs.h <<_ACEOF
55638 #define HAVE__EXPL 1
55639 _ACEOF
55642 done
55651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55652 $as_echo_n "checking for fabsl declaration... " >&6; }
55653 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55654 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55655 $as_echo_n "(cached) " >&6
55656 else
55659 ac_ext=cpp
55660 ac_cpp='$CXXCPP $CPPFLAGS'
55661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55666 /* end confdefs.h. */
55667 #include <math.h>
55668 #ifdef HAVE_IEEEFP_H
55669 #include <ieeefp.h>
55670 #endif
55673 main ()
55675 fabsl(0);
55677 return 0;
55679 _ACEOF
55680 if ac_fn_cxx_try_compile "$LINENO"; then :
55681 glibcxx_cv_func_fabsl_use=yes
55682 else
55683 glibcxx_cv_func_fabsl_use=no
55685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55686 ac_ext=c
55687 ac_cpp='$CPP $CPPFLAGS'
55688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55697 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55699 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55700 for ac_func in fabsl
55701 do :
55702 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55703 if test "x$ac_cv_func_fabsl" = x""yes; then :
55704 cat >>confdefs.h <<_ACEOF
55705 #define HAVE_FABSL 1
55706 _ACEOF
55709 done
55711 else
55713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55714 $as_echo_n "checking for _fabsl declaration... " >&6; }
55715 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55716 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55717 $as_echo_n "(cached) " >&6
55718 else
55721 ac_ext=cpp
55722 ac_cpp='$CXXCPP $CPPFLAGS'
55723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55728 /* end confdefs.h. */
55729 #include <math.h>
55730 #ifdef HAVE_IEEEFP_H
55731 #include <ieeefp.h>
55732 #endif
55735 main ()
55737 _fabsl(0);
55739 return 0;
55741 _ACEOF
55742 if ac_fn_cxx_try_compile "$LINENO"; then :
55743 glibcxx_cv_func__fabsl_use=yes
55744 else
55745 glibcxx_cv_func__fabsl_use=no
55747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55748 ac_ext=c
55749 ac_cpp='$CPP $CPPFLAGS'
55750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55759 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55761 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55762 for ac_func in _fabsl
55763 do :
55764 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55765 if test "x$ac_cv_func__fabsl" = x""yes; then :
55766 cat >>confdefs.h <<_ACEOF
55767 #define HAVE__FABSL 1
55768 _ACEOF
55771 done
55780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55781 $as_echo_n "checking for fmodl declaration... " >&6; }
55782 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55783 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55784 $as_echo_n "(cached) " >&6
55785 else
55788 ac_ext=cpp
55789 ac_cpp='$CXXCPP $CPPFLAGS'
55790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55795 /* end confdefs.h. */
55796 #include <math.h>
55798 main ()
55800 fmodl(0, 0);
55802 return 0;
55804 _ACEOF
55805 if ac_fn_cxx_try_compile "$LINENO"; then :
55806 glibcxx_cv_func_fmodl_use=yes
55807 else
55808 glibcxx_cv_func_fmodl_use=no
55810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55811 ac_ext=c
55812 ac_cpp='$CPP $CPPFLAGS'
55813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55822 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55824 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55825 for ac_func in fmodl
55826 do :
55827 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55828 if test "x$ac_cv_func_fmodl" = x""yes; then :
55829 cat >>confdefs.h <<_ACEOF
55830 #define HAVE_FMODL 1
55831 _ACEOF
55834 done
55836 else
55838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55839 $as_echo_n "checking for _fmodl declaration... " >&6; }
55840 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55841 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55842 $as_echo_n "(cached) " >&6
55843 else
55846 ac_ext=cpp
55847 ac_cpp='$CXXCPP $CPPFLAGS'
55848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55853 /* end confdefs.h. */
55854 #include <math.h>
55856 main ()
55858 _fmodl(0, 0);
55860 return 0;
55862 _ACEOF
55863 if ac_fn_cxx_try_compile "$LINENO"; then :
55864 glibcxx_cv_func__fmodl_use=yes
55865 else
55866 glibcxx_cv_func__fmodl_use=no
55868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55869 ac_ext=c
55870 ac_cpp='$CPP $CPPFLAGS'
55871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55880 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55882 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55883 for ac_func in _fmodl
55884 do :
55885 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55886 if test "x$ac_cv_func__fmodl" = x""yes; then :
55887 cat >>confdefs.h <<_ACEOF
55888 #define HAVE__FMODL 1
55889 _ACEOF
55892 done
55901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55902 $as_echo_n "checking for frexpl declaration... " >&6; }
55903 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55904 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55905 $as_echo_n "(cached) " >&6
55906 else
55909 ac_ext=cpp
55910 ac_cpp='$CXXCPP $CPPFLAGS'
55911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55916 /* end confdefs.h. */
55917 #include <math.h>
55919 main ()
55921 frexpl(0, 0);
55923 return 0;
55925 _ACEOF
55926 if ac_fn_cxx_try_compile "$LINENO"; then :
55927 glibcxx_cv_func_frexpl_use=yes
55928 else
55929 glibcxx_cv_func_frexpl_use=no
55931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55932 ac_ext=c
55933 ac_cpp='$CPP $CPPFLAGS'
55934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55943 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55945 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55946 for ac_func in frexpl
55947 do :
55948 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55949 if test "x$ac_cv_func_frexpl" = x""yes; then :
55950 cat >>confdefs.h <<_ACEOF
55951 #define HAVE_FREXPL 1
55952 _ACEOF
55955 done
55957 else
55959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55960 $as_echo_n "checking for _frexpl declaration... " >&6; }
55961 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55962 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55963 $as_echo_n "(cached) " >&6
55964 else
55967 ac_ext=cpp
55968 ac_cpp='$CXXCPP $CPPFLAGS'
55969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55974 /* end confdefs.h. */
55975 #include <math.h>
55977 main ()
55979 _frexpl(0, 0);
55981 return 0;
55983 _ACEOF
55984 if ac_fn_cxx_try_compile "$LINENO"; then :
55985 glibcxx_cv_func__frexpl_use=yes
55986 else
55987 glibcxx_cv_func__frexpl_use=no
55989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55990 ac_ext=c
55991 ac_cpp='$CPP $CPPFLAGS'
55992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56001 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56003 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56004 for ac_func in _frexpl
56005 do :
56006 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56007 if test "x$ac_cv_func__frexpl" = x""yes; then :
56008 cat >>confdefs.h <<_ACEOF
56009 #define HAVE__FREXPL 1
56010 _ACEOF
56013 done
56022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56023 $as_echo_n "checking for hypotl declaration... " >&6; }
56024 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56025 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56026 $as_echo_n "(cached) " >&6
56027 else
56030 ac_ext=cpp
56031 ac_cpp='$CXXCPP $CPPFLAGS'
56032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56037 /* end confdefs.h. */
56038 #include <math.h>
56040 main ()
56042 hypotl(0, 0);
56044 return 0;
56046 _ACEOF
56047 if ac_fn_cxx_try_compile "$LINENO"; then :
56048 glibcxx_cv_func_hypotl_use=yes
56049 else
56050 glibcxx_cv_func_hypotl_use=no
56052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56053 ac_ext=c
56054 ac_cpp='$CPP $CPPFLAGS'
56055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56064 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56066 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56067 for ac_func in hypotl
56068 do :
56069 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56070 if test "x$ac_cv_func_hypotl" = x""yes; then :
56071 cat >>confdefs.h <<_ACEOF
56072 #define HAVE_HYPOTL 1
56073 _ACEOF
56076 done
56078 else
56080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56081 $as_echo_n "checking for _hypotl declaration... " >&6; }
56082 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56083 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56084 $as_echo_n "(cached) " >&6
56085 else
56088 ac_ext=cpp
56089 ac_cpp='$CXXCPP $CPPFLAGS'
56090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56095 /* end confdefs.h. */
56096 #include <math.h>
56098 main ()
56100 _hypotl(0, 0);
56102 return 0;
56104 _ACEOF
56105 if ac_fn_cxx_try_compile "$LINENO"; then :
56106 glibcxx_cv_func__hypotl_use=yes
56107 else
56108 glibcxx_cv_func__hypotl_use=no
56110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56111 ac_ext=c
56112 ac_cpp='$CPP $CPPFLAGS'
56113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56122 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56124 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56125 for ac_func in _hypotl
56126 do :
56127 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56128 if test "x$ac_cv_func__hypotl" = x""yes; then :
56129 cat >>confdefs.h <<_ACEOF
56130 #define HAVE__HYPOTL 1
56131 _ACEOF
56134 done
56143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56144 $as_echo_n "checking for ldexpl declaration... " >&6; }
56145 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56146 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56147 $as_echo_n "(cached) " >&6
56148 else
56151 ac_ext=cpp
56152 ac_cpp='$CXXCPP $CPPFLAGS'
56153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56158 /* end confdefs.h. */
56159 #include <math.h>
56161 main ()
56163 ldexpl(0, 0);
56165 return 0;
56167 _ACEOF
56168 if ac_fn_cxx_try_compile "$LINENO"; then :
56169 glibcxx_cv_func_ldexpl_use=yes
56170 else
56171 glibcxx_cv_func_ldexpl_use=no
56173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56174 ac_ext=c
56175 ac_cpp='$CPP $CPPFLAGS'
56176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56185 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56187 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56188 for ac_func in ldexpl
56189 do :
56190 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56191 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56192 cat >>confdefs.h <<_ACEOF
56193 #define HAVE_LDEXPL 1
56194 _ACEOF
56197 done
56199 else
56201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56202 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56203 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56204 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56205 $as_echo_n "(cached) " >&6
56206 else
56209 ac_ext=cpp
56210 ac_cpp='$CXXCPP $CPPFLAGS'
56211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56216 /* end confdefs.h. */
56217 #include <math.h>
56219 main ()
56221 _ldexpl(0, 0);
56223 return 0;
56225 _ACEOF
56226 if ac_fn_cxx_try_compile "$LINENO"; then :
56227 glibcxx_cv_func__ldexpl_use=yes
56228 else
56229 glibcxx_cv_func__ldexpl_use=no
56231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56232 ac_ext=c
56233 ac_cpp='$CPP $CPPFLAGS'
56234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56243 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56245 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56246 for ac_func in _ldexpl
56247 do :
56248 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56249 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56250 cat >>confdefs.h <<_ACEOF
56251 #define HAVE__LDEXPL 1
56252 _ACEOF
56255 done
56264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56265 $as_echo_n "checking for logl declaration... " >&6; }
56266 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56267 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56268 $as_echo_n "(cached) " >&6
56269 else
56272 ac_ext=cpp
56273 ac_cpp='$CXXCPP $CPPFLAGS'
56274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56279 /* end confdefs.h. */
56280 #include <math.h>
56281 #ifdef HAVE_IEEEFP_H
56282 #include <ieeefp.h>
56283 #endif
56286 main ()
56288 logl(0);
56290 return 0;
56292 _ACEOF
56293 if ac_fn_cxx_try_compile "$LINENO"; then :
56294 glibcxx_cv_func_logl_use=yes
56295 else
56296 glibcxx_cv_func_logl_use=no
56298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56299 ac_ext=c
56300 ac_cpp='$CPP $CPPFLAGS'
56301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56310 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56312 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56313 for ac_func in logl
56314 do :
56315 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56316 if test "x$ac_cv_func_logl" = x""yes; then :
56317 cat >>confdefs.h <<_ACEOF
56318 #define HAVE_LOGL 1
56319 _ACEOF
56322 done
56324 else
56326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56327 $as_echo_n "checking for _logl declaration... " >&6; }
56328 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56329 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56330 $as_echo_n "(cached) " >&6
56331 else
56334 ac_ext=cpp
56335 ac_cpp='$CXXCPP $CPPFLAGS'
56336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56341 /* end confdefs.h. */
56342 #include <math.h>
56343 #ifdef HAVE_IEEEFP_H
56344 #include <ieeefp.h>
56345 #endif
56348 main ()
56350 _logl(0);
56352 return 0;
56354 _ACEOF
56355 if ac_fn_cxx_try_compile "$LINENO"; then :
56356 glibcxx_cv_func__logl_use=yes
56357 else
56358 glibcxx_cv_func__logl_use=no
56360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56361 ac_ext=c
56362 ac_cpp='$CPP $CPPFLAGS'
56363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56372 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56374 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56375 for ac_func in _logl
56376 do :
56377 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56378 if test "x$ac_cv_func__logl" = x""yes; then :
56379 cat >>confdefs.h <<_ACEOF
56380 #define HAVE__LOGL 1
56381 _ACEOF
56384 done
56393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56394 $as_echo_n "checking for log10l declaration... " >&6; }
56395 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56396 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56397 $as_echo_n "(cached) " >&6
56398 else
56401 ac_ext=cpp
56402 ac_cpp='$CXXCPP $CPPFLAGS'
56403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56408 /* end confdefs.h. */
56409 #include <math.h>
56410 #ifdef HAVE_IEEEFP_H
56411 #include <ieeefp.h>
56412 #endif
56415 main ()
56417 log10l(0);
56419 return 0;
56421 _ACEOF
56422 if ac_fn_cxx_try_compile "$LINENO"; then :
56423 glibcxx_cv_func_log10l_use=yes
56424 else
56425 glibcxx_cv_func_log10l_use=no
56427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56428 ac_ext=c
56429 ac_cpp='$CPP $CPPFLAGS'
56430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56439 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56441 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56442 for ac_func in log10l
56443 do :
56444 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56445 if test "x$ac_cv_func_log10l" = x""yes; then :
56446 cat >>confdefs.h <<_ACEOF
56447 #define HAVE_LOG10L 1
56448 _ACEOF
56451 done
56453 else
56455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56456 $as_echo_n "checking for _log10l declaration... " >&6; }
56457 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56458 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56459 $as_echo_n "(cached) " >&6
56460 else
56463 ac_ext=cpp
56464 ac_cpp='$CXXCPP $CPPFLAGS'
56465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56470 /* end confdefs.h. */
56471 #include <math.h>
56472 #ifdef HAVE_IEEEFP_H
56473 #include <ieeefp.h>
56474 #endif
56477 main ()
56479 _log10l(0);
56481 return 0;
56483 _ACEOF
56484 if ac_fn_cxx_try_compile "$LINENO"; then :
56485 glibcxx_cv_func__log10l_use=yes
56486 else
56487 glibcxx_cv_func__log10l_use=no
56489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56490 ac_ext=c
56491 ac_cpp='$CPP $CPPFLAGS'
56492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56501 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56503 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56504 for ac_func in _log10l
56505 do :
56506 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56507 if test "x$ac_cv_func__log10l" = x""yes; then :
56508 cat >>confdefs.h <<_ACEOF
56509 #define HAVE__LOG10L 1
56510 _ACEOF
56513 done
56522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56523 $as_echo_n "checking for modfl declaration... " >&6; }
56524 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56525 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56526 $as_echo_n "(cached) " >&6
56527 else
56530 ac_ext=cpp
56531 ac_cpp='$CXXCPP $CPPFLAGS'
56532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56537 /* end confdefs.h. */
56538 #include <math.h>
56540 main ()
56542 modfl(0, 0);
56544 return 0;
56546 _ACEOF
56547 if ac_fn_cxx_try_compile "$LINENO"; then :
56548 glibcxx_cv_func_modfl_use=yes
56549 else
56550 glibcxx_cv_func_modfl_use=no
56552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56553 ac_ext=c
56554 ac_cpp='$CPP $CPPFLAGS'
56555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56564 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56566 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56567 for ac_func in modfl
56568 do :
56569 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56570 if test "x$ac_cv_func_modfl" = x""yes; then :
56571 cat >>confdefs.h <<_ACEOF
56572 #define HAVE_MODFL 1
56573 _ACEOF
56576 done
56578 else
56580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56581 $as_echo_n "checking for _modfl declaration... " >&6; }
56582 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56583 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56584 $as_echo_n "(cached) " >&6
56585 else
56588 ac_ext=cpp
56589 ac_cpp='$CXXCPP $CPPFLAGS'
56590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56595 /* end confdefs.h. */
56596 #include <math.h>
56598 main ()
56600 _modfl(0, 0);
56602 return 0;
56604 _ACEOF
56605 if ac_fn_cxx_try_compile "$LINENO"; then :
56606 glibcxx_cv_func__modfl_use=yes
56607 else
56608 glibcxx_cv_func__modfl_use=no
56610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56611 ac_ext=c
56612 ac_cpp='$CPP $CPPFLAGS'
56613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56622 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56624 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56625 for ac_func in _modfl
56626 do :
56627 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56628 if test "x$ac_cv_func__modfl" = x""yes; then :
56629 cat >>confdefs.h <<_ACEOF
56630 #define HAVE__MODFL 1
56631 _ACEOF
56634 done
56643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56644 $as_echo_n "checking for powl declaration... " >&6; }
56645 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56646 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56647 $as_echo_n "(cached) " >&6
56648 else
56651 ac_ext=cpp
56652 ac_cpp='$CXXCPP $CPPFLAGS'
56653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56658 /* end confdefs.h. */
56659 #include <math.h>
56661 main ()
56663 powl(0, 0);
56665 return 0;
56667 _ACEOF
56668 if ac_fn_cxx_try_compile "$LINENO"; then :
56669 glibcxx_cv_func_powl_use=yes
56670 else
56671 glibcxx_cv_func_powl_use=no
56673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56674 ac_ext=c
56675 ac_cpp='$CPP $CPPFLAGS'
56676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56685 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56687 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56688 for ac_func in powl
56689 do :
56690 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56691 if test "x$ac_cv_func_powl" = x""yes; then :
56692 cat >>confdefs.h <<_ACEOF
56693 #define HAVE_POWL 1
56694 _ACEOF
56697 done
56699 else
56701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56702 $as_echo_n "checking for _powl declaration... " >&6; }
56703 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56704 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56705 $as_echo_n "(cached) " >&6
56706 else
56709 ac_ext=cpp
56710 ac_cpp='$CXXCPP $CPPFLAGS'
56711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56716 /* end confdefs.h. */
56717 #include <math.h>
56719 main ()
56721 _powl(0, 0);
56723 return 0;
56725 _ACEOF
56726 if ac_fn_cxx_try_compile "$LINENO"; then :
56727 glibcxx_cv_func__powl_use=yes
56728 else
56729 glibcxx_cv_func__powl_use=no
56731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56732 ac_ext=c
56733 ac_cpp='$CPP $CPPFLAGS'
56734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56743 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56745 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56746 for ac_func in _powl
56747 do :
56748 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56749 if test "x$ac_cv_func__powl" = x""yes; then :
56750 cat >>confdefs.h <<_ACEOF
56751 #define HAVE__POWL 1
56752 _ACEOF
56755 done
56764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56765 $as_echo_n "checking for sqrtl declaration... " >&6; }
56766 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56767 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56768 $as_echo_n "(cached) " >&6
56769 else
56772 ac_ext=cpp
56773 ac_cpp='$CXXCPP $CPPFLAGS'
56774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56779 /* end confdefs.h. */
56780 #include <math.h>
56781 #ifdef HAVE_IEEEFP_H
56782 #include <ieeefp.h>
56783 #endif
56786 main ()
56788 sqrtl(0);
56790 return 0;
56792 _ACEOF
56793 if ac_fn_cxx_try_compile "$LINENO"; then :
56794 glibcxx_cv_func_sqrtl_use=yes
56795 else
56796 glibcxx_cv_func_sqrtl_use=no
56798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56799 ac_ext=c
56800 ac_cpp='$CPP $CPPFLAGS'
56801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56810 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56812 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56813 for ac_func in sqrtl
56814 do :
56815 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56816 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56817 cat >>confdefs.h <<_ACEOF
56818 #define HAVE_SQRTL 1
56819 _ACEOF
56822 done
56824 else
56826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56827 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56828 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56829 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56830 $as_echo_n "(cached) " >&6
56831 else
56834 ac_ext=cpp
56835 ac_cpp='$CXXCPP $CPPFLAGS'
56836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56841 /* end confdefs.h. */
56842 #include <math.h>
56843 #ifdef HAVE_IEEEFP_H
56844 #include <ieeefp.h>
56845 #endif
56848 main ()
56850 _sqrtl(0);
56852 return 0;
56854 _ACEOF
56855 if ac_fn_cxx_try_compile "$LINENO"; then :
56856 glibcxx_cv_func__sqrtl_use=yes
56857 else
56858 glibcxx_cv_func__sqrtl_use=no
56860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56861 ac_ext=c
56862 ac_cpp='$CPP $CPPFLAGS'
56863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56872 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56874 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56875 for ac_func in _sqrtl
56876 do :
56877 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56878 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56879 cat >>confdefs.h <<_ACEOF
56880 #define HAVE__SQRTL 1
56881 _ACEOF
56884 done
56893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56894 $as_echo_n "checking for sincosl declaration... " >&6; }
56895 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56896 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56897 $as_echo_n "(cached) " >&6
56898 else
56901 ac_ext=cpp
56902 ac_cpp='$CXXCPP $CPPFLAGS'
56903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56908 /* end confdefs.h. */
56909 #include <math.h>
56911 main ()
56913 sincosl(0, 0, 0);
56915 return 0;
56917 _ACEOF
56918 if ac_fn_cxx_try_compile "$LINENO"; then :
56919 glibcxx_cv_func_sincosl_use=yes
56920 else
56921 glibcxx_cv_func_sincosl_use=no
56923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56924 ac_ext=c
56925 ac_cpp='$CPP $CPPFLAGS'
56926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56935 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56937 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56938 for ac_func in sincosl
56939 do :
56940 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56941 if test "x$ac_cv_func_sincosl" = x""yes; then :
56942 cat >>confdefs.h <<_ACEOF
56943 #define HAVE_SINCOSL 1
56944 _ACEOF
56947 done
56949 else
56951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56952 $as_echo_n "checking for _sincosl declaration... " >&6; }
56953 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56954 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56955 $as_echo_n "(cached) " >&6
56956 else
56959 ac_ext=cpp
56960 ac_cpp='$CXXCPP $CPPFLAGS'
56961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56966 /* end confdefs.h. */
56967 #include <math.h>
56969 main ()
56971 _sincosl(0, 0, 0);
56973 return 0;
56975 _ACEOF
56976 if ac_fn_cxx_try_compile "$LINENO"; then :
56977 glibcxx_cv_func__sincosl_use=yes
56978 else
56979 glibcxx_cv_func__sincosl_use=no
56981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56982 ac_ext=c
56983 ac_cpp='$CPP $CPPFLAGS'
56984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56993 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56995 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56996 for ac_func in _sincosl
56997 do :
56998 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56999 if test "x$ac_cv_func__sincosl" = x""yes; then :
57000 cat >>confdefs.h <<_ACEOF
57001 #define HAVE__SINCOSL 1
57002 _ACEOF
57005 done
57014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57015 $as_echo_n "checking for finitel declaration... " >&6; }
57016 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57017 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57018 $as_echo_n "(cached) " >&6
57019 else
57022 ac_ext=cpp
57023 ac_cpp='$CXXCPP $CPPFLAGS'
57024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57029 /* end confdefs.h. */
57030 #include <math.h>
57031 #ifdef HAVE_IEEEFP_H
57032 #include <ieeefp.h>
57033 #endif
57036 main ()
57038 finitel(0);
57040 return 0;
57042 _ACEOF
57043 if ac_fn_cxx_try_compile "$LINENO"; then :
57044 glibcxx_cv_func_finitel_use=yes
57045 else
57046 glibcxx_cv_func_finitel_use=no
57048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57049 ac_ext=c
57050 ac_cpp='$CPP $CPPFLAGS'
57051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57060 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57062 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57063 for ac_func in finitel
57064 do :
57065 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57066 if test "x$ac_cv_func_finitel" = x""yes; then :
57067 cat >>confdefs.h <<_ACEOF
57068 #define HAVE_FINITEL 1
57069 _ACEOF
57072 done
57074 else
57076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57077 $as_echo_n "checking for _finitel declaration... " >&6; }
57078 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57079 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57080 $as_echo_n "(cached) " >&6
57081 else
57084 ac_ext=cpp
57085 ac_cpp='$CXXCPP $CPPFLAGS'
57086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57091 /* end confdefs.h. */
57092 #include <math.h>
57093 #ifdef HAVE_IEEEFP_H
57094 #include <ieeefp.h>
57095 #endif
57098 main ()
57100 _finitel(0);
57102 return 0;
57104 _ACEOF
57105 if ac_fn_cxx_try_compile "$LINENO"; then :
57106 glibcxx_cv_func__finitel_use=yes
57107 else
57108 glibcxx_cv_func__finitel_use=no
57110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57111 ac_ext=c
57112 ac_cpp='$CPP $CPPFLAGS'
57113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57122 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57124 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57125 for ac_func in _finitel
57126 do :
57127 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57128 if test "x$ac_cv_func__finitel" = x""yes; then :
57129 cat >>confdefs.h <<_ACEOF
57130 #define HAVE__FINITEL 1
57131 _ACEOF
57134 done
57142 LIBS="$ac_save_LIBS"
57143 CXXFLAGS="$ac_save_CXXFLAGS"
57146 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57147 ac_save_CXXFLAGS="$CXXFLAGS"
57148 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57152 $as_echo_n "checking for strtold declaration... " >&6; }
57153 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57154 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57155 $as_echo_n "(cached) " >&6
57156 else
57159 ac_ext=cpp
57160 ac_cpp='$CXXCPP $CPPFLAGS'
57161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57166 /* end confdefs.h. */
57167 #include <stdlib.h>
57169 main ()
57171 strtold(0, 0);
57173 return 0;
57175 _ACEOF
57176 if ac_fn_cxx_try_compile "$LINENO"; then :
57177 glibcxx_cv_func_strtold_use=yes
57178 else
57179 glibcxx_cv_func_strtold_use=no
57181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57182 ac_ext=c
57183 ac_cpp='$CPP $CPPFLAGS'
57184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57193 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57194 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57195 for ac_func in strtold
57196 do :
57197 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57198 if test "x$ac_cv_func_strtold" = x""yes; then :
57199 cat >>confdefs.h <<_ACEOF
57200 #define HAVE_STRTOLD 1
57201 _ACEOF
57204 done
57211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57212 $as_echo_n "checking for strtof declaration... " >&6; }
57213 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57214 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57215 $as_echo_n "(cached) " >&6
57216 else
57219 ac_ext=cpp
57220 ac_cpp='$CXXCPP $CPPFLAGS'
57221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57226 /* end confdefs.h. */
57227 #include <stdlib.h>
57229 main ()
57231 strtof(0, 0);
57233 return 0;
57235 _ACEOF
57236 if ac_fn_cxx_try_compile "$LINENO"; then :
57237 glibcxx_cv_func_strtof_use=yes
57238 else
57239 glibcxx_cv_func_strtof_use=no
57241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57242 ac_ext=c
57243 ac_cpp='$CPP $CPPFLAGS'
57244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57253 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57254 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57255 for ac_func in strtof
57256 do :
57257 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57258 if test "x$ac_cv_func_strtof" = x""yes; then :
57259 cat >>confdefs.h <<_ACEOF
57260 #define HAVE_STRTOF 1
57261 _ACEOF
57264 done
57271 CXXFLAGS="$ac_save_CXXFLAGS"
57274 *-netbsd*)
57275 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57278 # If we're not using GNU ld, then there's no point in even trying these
57279 # tests. Check for that first. We should have already tested for gld
57280 # by now (in libtool), but require it now just to be safe...
57281 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57282 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57286 # The name set by libtool depends on the version of libtool. Shame on us
57287 # for depending on an impl detail, but c'est la vie. Older versions used
57288 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57289 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57290 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57291 # set (hence we're using an older libtool), then set it.
57292 if test x${with_gnu_ld+set} != xset; then
57293 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57294 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57295 with_gnu_ld=no
57296 else
57297 with_gnu_ld=$ac_cv_prog_gnu_ld
57301 # Start by getting the version number. I think the libtool test already
57302 # does some of this, but throws away the result.
57303 glibcxx_ld_is_gold=no
57304 if test x"$with_gnu_ld" = x"yes"; then
57305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57306 $as_echo_n "checking for ld version... " >&6; }
57308 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57309 glibcxx_ld_is_gold=yes
57311 ldver=`$LD --version 2>/dev/null |
57312 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'`
57314 glibcxx_gnu_ld_version=`echo $ldver | \
57315 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57317 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57320 # Set --gc-sections.
57321 glibcxx_have_gc_sections=no
57322 if test "$glibcxx_ld_is_gold" = "yes"; then
57323 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57324 glibcxx_have_gc_sections=yes
57326 else
57327 glibcxx_gcsections_min_ld=21602
57328 if test x"$with_gnu_ld" = x"yes" &&
57329 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57330 glibcxx_have_gc_sections=yes
57333 if test "$glibcxx_have_gc_sections" = "yes"; then
57334 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57335 # NB: This flag only works reliably after 2.16.1. Configure tests
57336 # for this are difficult, so hard wire a value that should work.
57338 ac_test_CFLAGS="${CFLAGS+set}"
57339 ac_save_CFLAGS="$CFLAGS"
57340 CFLAGS='-Wl,--gc-sections'
57342 # Check for -Wl,--gc-sections
57343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57344 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57345 if test x$gcc_no_link = xyes; then
57346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57349 /* end confdefs.h. */
57350 int one(void) { return 1; }
57351 int two(void) { return 2; }
57354 main ()
57356 two();
57358 return 0;
57360 _ACEOF
57361 if ac_fn_c_try_link "$LINENO"; then :
57362 ac_gcsections=yes
57363 else
57364 ac_gcsections=no
57366 rm -f core conftest.err conftest.$ac_objext \
57367 conftest$ac_exeext conftest.$ac_ext
57368 if test "$ac_gcsections" = "yes"; then
57369 rm -f conftest.c
57370 touch conftest.c
57371 if $CC -c conftest.c; then
57372 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57373 grep "Warning: gc-sections option ignored" > /dev/null; then
57374 ac_gcsections=no
57377 rm -f conftest.c conftest.o conftest
57379 if test "$ac_gcsections" = "yes"; then
57380 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57383 $as_echo "$ac_gcsections" >&6; }
57385 if test "$ac_test_CFLAGS" = set; then
57386 CFLAGS="$ac_save_CFLAGS"
57387 else
57388 # this is the suspicious part
57389 CFLAGS=''
57393 # Set -z,relro.
57394 # Note this is only for shared objects.
57395 ac_ld_relro=no
57396 if test x"$with_gnu_ld" = x"yes"; then
57397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57398 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57399 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57400 if test -n "$cxx_z_relo"; then
57401 OPT_LDFLAGS="-Wl,-z,relro"
57402 ac_ld_relro=yes
57404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57405 $as_echo "$ac_ld_relro" >&6; }
57408 # Set linker optimization flags.
57409 if test x"$with_gnu_ld" = x"yes"; then
57410 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57416 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57418 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57420 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57422 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57424 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57426 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57428 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57430 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57432 if test x"long_double_math_on_this_cpu" = x"yes"; then
57433 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57435 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57437 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57441 *-qnx6.1* | *-qnx6.2*)
57442 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57445 # If we're not using GNU ld, then there's no point in even trying these
57446 # tests. Check for that first. We should have already tested for gld
57447 # by now (in libtool), but require it now just to be safe...
57448 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57449 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57453 # The name set by libtool depends on the version of libtool. Shame on us
57454 # for depending on an impl detail, but c'est la vie. Older versions used
57455 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57456 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57457 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57458 # set (hence we're using an older libtool), then set it.
57459 if test x${with_gnu_ld+set} != xset; then
57460 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57461 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57462 with_gnu_ld=no
57463 else
57464 with_gnu_ld=$ac_cv_prog_gnu_ld
57468 # Start by getting the version number. I think the libtool test already
57469 # does some of this, but throws away the result.
57470 glibcxx_ld_is_gold=no
57471 if test x"$with_gnu_ld" = x"yes"; then
57472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57473 $as_echo_n "checking for ld version... " >&6; }
57475 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57476 glibcxx_ld_is_gold=yes
57478 ldver=`$LD --version 2>/dev/null |
57479 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'`
57481 glibcxx_gnu_ld_version=`echo $ldver | \
57482 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57484 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57487 # Set --gc-sections.
57488 glibcxx_have_gc_sections=no
57489 if test "$glibcxx_ld_is_gold" = "yes"; then
57490 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57491 glibcxx_have_gc_sections=yes
57493 else
57494 glibcxx_gcsections_min_ld=21602
57495 if test x"$with_gnu_ld" = x"yes" &&
57496 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57497 glibcxx_have_gc_sections=yes
57500 if test "$glibcxx_have_gc_sections" = "yes"; then
57501 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57502 # NB: This flag only works reliably after 2.16.1. Configure tests
57503 # for this are difficult, so hard wire a value that should work.
57505 ac_test_CFLAGS="${CFLAGS+set}"
57506 ac_save_CFLAGS="$CFLAGS"
57507 CFLAGS='-Wl,--gc-sections'
57509 # Check for -Wl,--gc-sections
57510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57511 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57512 if test x$gcc_no_link = xyes; then
57513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57516 /* end confdefs.h. */
57517 int one(void) { return 1; }
57518 int two(void) { return 2; }
57521 main ()
57523 two();
57525 return 0;
57527 _ACEOF
57528 if ac_fn_c_try_link "$LINENO"; then :
57529 ac_gcsections=yes
57530 else
57531 ac_gcsections=no
57533 rm -f core conftest.err conftest.$ac_objext \
57534 conftest$ac_exeext conftest.$ac_ext
57535 if test "$ac_gcsections" = "yes"; then
57536 rm -f conftest.c
57537 touch conftest.c
57538 if $CC -c conftest.c; then
57539 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57540 grep "Warning: gc-sections option ignored" > /dev/null; then
57541 ac_gcsections=no
57544 rm -f conftest.c conftest.o conftest
57546 if test "$ac_gcsections" = "yes"; then
57547 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57550 $as_echo "$ac_gcsections" >&6; }
57552 if test "$ac_test_CFLAGS" = set; then
57553 CFLAGS="$ac_save_CFLAGS"
57554 else
57555 # this is the suspicious part
57556 CFLAGS=''
57560 # Set -z,relro.
57561 # Note this is only for shared objects.
57562 ac_ld_relro=no
57563 if test x"$with_gnu_ld" = x"yes"; then
57564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57565 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57566 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57567 if test -n "$cxx_z_relo"; then
57568 OPT_LDFLAGS="-Wl,-z,relro"
57569 ac_ld_relro=yes
57571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57572 $as_echo "$ac_ld_relro" >&6; }
57575 # Set linker optimization flags.
57576 if test x"$with_gnu_ld" = x"yes"; then
57577 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57583 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57585 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57587 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57589 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57591 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57593 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57595 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57597 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57599 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57601 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57603 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57605 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57608 *-rtems*)
57610 # All these tests are for C++; save the language and the compiler flags.
57611 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57612 # found in GLIBCXX_CONFIGURE.
57614 ac_ext=cpp
57615 ac_cpp='$CXXCPP $CPPFLAGS'
57616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57621 ac_save_CXXFLAGS="$CXXFLAGS"
57623 # Check for maintainer-mode bits.
57624 if test x"$USE_MAINTAINER_MODE" = xno; then
57625 WERROR=''
57626 else
57627 WERROR='-Werror'
57630 # Check for -ffunction-sections -fdata-sections
57631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57632 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57633 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57635 /* end confdefs.h. */
57636 int foo; void bar() { };
57638 main ()
57642 return 0;
57644 _ACEOF
57645 if ac_fn_cxx_try_compile "$LINENO"; then :
57646 ac_fdsections=yes
57647 else
57648 ac_fdsections=no
57650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57651 if test "$ac_test_CXXFLAGS" = set; then
57652 CXXFLAGS="$ac_save_CXXFLAGS"
57653 else
57654 # this is the suspicious part
57655 CXXFLAGS=''
57657 if test x"$ac_fdsections" = x"yes"; then
57658 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57661 $as_echo "$ac_fdsections" >&6; }
57663 ac_ext=c
57664 ac_cpp='$CPP $CPPFLAGS'
57665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57673 # If we're not using GNU ld, then there's no point in even trying these
57674 # tests. Check for that first. We should have already tested for gld
57675 # by now (in libtool), but require it now just to be safe...
57676 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57677 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57681 # The name set by libtool depends on the version of libtool. Shame on us
57682 # for depending on an impl detail, but c'est la vie. Older versions used
57683 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57684 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57685 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57686 # set (hence we're using an older libtool), then set it.
57687 if test x${with_gnu_ld+set} != xset; then
57688 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57689 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57690 with_gnu_ld=no
57691 else
57692 with_gnu_ld=$ac_cv_prog_gnu_ld
57696 # Start by getting the version number. I think the libtool test already
57697 # does some of this, but throws away the result.
57698 glibcxx_ld_is_gold=no
57699 if test x"$with_gnu_ld" = x"yes"; then
57700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57701 $as_echo_n "checking for ld version... " >&6; }
57703 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57704 glibcxx_ld_is_gold=yes
57706 ldver=`$LD --version 2>/dev/null |
57707 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'`
57709 glibcxx_gnu_ld_version=`echo $ldver | \
57710 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57712 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57715 # Set --gc-sections.
57716 glibcxx_have_gc_sections=no
57717 if test "$glibcxx_ld_is_gold" = "yes"; then
57718 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57719 glibcxx_have_gc_sections=yes
57721 else
57722 glibcxx_gcsections_min_ld=21602
57723 if test x"$with_gnu_ld" = x"yes" &&
57724 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57725 glibcxx_have_gc_sections=yes
57728 if test "$glibcxx_have_gc_sections" = "yes"; then
57729 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57730 # NB: This flag only works reliably after 2.16.1. Configure tests
57731 # for this are difficult, so hard wire a value that should work.
57733 ac_test_CFLAGS="${CFLAGS+set}"
57734 ac_save_CFLAGS="$CFLAGS"
57735 CFLAGS='-Wl,--gc-sections'
57737 # Check for -Wl,--gc-sections
57738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57739 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57740 if test x$gcc_no_link = xyes; then
57741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57744 /* end confdefs.h. */
57745 int one(void) { return 1; }
57746 int two(void) { return 2; }
57749 main ()
57751 two();
57753 return 0;
57755 _ACEOF
57756 if ac_fn_c_try_link "$LINENO"; then :
57757 ac_gcsections=yes
57758 else
57759 ac_gcsections=no
57761 rm -f core conftest.err conftest.$ac_objext \
57762 conftest$ac_exeext conftest.$ac_ext
57763 if test "$ac_gcsections" = "yes"; then
57764 rm -f conftest.c
57765 touch conftest.c
57766 if $CC -c conftest.c; then
57767 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57768 grep "Warning: gc-sections option ignored" > /dev/null; then
57769 ac_gcsections=no
57772 rm -f conftest.c conftest.o conftest
57774 if test "$ac_gcsections" = "yes"; then
57775 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57778 $as_echo "$ac_gcsections" >&6; }
57780 if test "$ac_test_CFLAGS" = set; then
57781 CFLAGS="$ac_save_CFLAGS"
57782 else
57783 # this is the suspicious part
57784 CFLAGS=''
57788 # Set -z,relro.
57789 # Note this is only for shared objects.
57790 ac_ld_relro=no
57791 if test x"$with_gnu_ld" = x"yes"; then
57792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57793 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57794 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57795 if test -n "$cxx_z_relo"; then
57796 OPT_LDFLAGS="-Wl,-z,relro"
57797 ac_ld_relro=yes
57799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57800 $as_echo "$ac_ld_relro" >&6; }
57803 # Set linker optimization flags.
57804 if test x"$with_gnu_ld" = x"yes"; then
57805 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57812 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57813 ac_save_CXXFLAGS="$CXXFLAGS"
57814 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57817 $as_echo_n "checking for sin in -lm... " >&6; }
57818 if test "${ac_cv_lib_m_sin+set}" = set; then :
57819 $as_echo_n "(cached) " >&6
57820 else
57821 ac_check_lib_save_LIBS=$LIBS
57822 LIBS="-lm $LIBS"
57823 if test x$gcc_no_link = xyes; then
57824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57827 /* end confdefs.h. */
57829 /* Override any GCC internal prototype to avoid an error.
57830 Use char because int might match the return type of a GCC
57831 builtin and then its argument prototype would still apply. */
57832 #ifdef __cplusplus
57833 extern "C"
57834 #endif
57835 char sin ();
57837 main ()
57839 return sin ();
57841 return 0;
57843 _ACEOF
57844 if ac_fn_c_try_link "$LINENO"; then :
57845 ac_cv_lib_m_sin=yes
57846 else
57847 ac_cv_lib_m_sin=no
57849 rm -f core conftest.err conftest.$ac_objext \
57850 conftest$ac_exeext conftest.$ac_ext
57851 LIBS=$ac_check_lib_save_LIBS
57853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57854 $as_echo "$ac_cv_lib_m_sin" >&6; }
57855 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57856 libm="-lm"
57859 ac_save_LIBS="$LIBS"
57860 LIBS="$LIBS $libm"
57864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57865 $as_echo_n "checking for isinf declaration... " >&6; }
57866 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57867 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57868 $as_echo_n "(cached) " >&6
57869 else
57872 ac_ext=cpp
57873 ac_cpp='$CXXCPP $CPPFLAGS'
57874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57879 /* end confdefs.h. */
57880 #include <math.h>
57881 #ifdef HAVE_IEEEFP_H
57882 #include <ieeefp.h>
57883 #endif
57886 main ()
57888 isinf(0);
57890 return 0;
57892 _ACEOF
57893 if ac_fn_cxx_try_compile "$LINENO"; then :
57894 glibcxx_cv_func_isinf_use=yes
57895 else
57896 glibcxx_cv_func_isinf_use=no
57898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57899 ac_ext=c
57900 ac_cpp='$CPP $CPPFLAGS'
57901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57910 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57912 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57913 for ac_func in isinf
57914 do :
57915 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57916 if test "x$ac_cv_func_isinf" = x""yes; then :
57917 cat >>confdefs.h <<_ACEOF
57918 #define HAVE_ISINF 1
57919 _ACEOF
57922 done
57924 else
57926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57927 $as_echo_n "checking for _isinf declaration... " >&6; }
57928 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57929 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57930 $as_echo_n "(cached) " >&6
57931 else
57934 ac_ext=cpp
57935 ac_cpp='$CXXCPP $CPPFLAGS'
57936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57941 /* end confdefs.h. */
57942 #include <math.h>
57943 #ifdef HAVE_IEEEFP_H
57944 #include <ieeefp.h>
57945 #endif
57948 main ()
57950 _isinf(0);
57952 return 0;
57954 _ACEOF
57955 if ac_fn_cxx_try_compile "$LINENO"; then :
57956 glibcxx_cv_func__isinf_use=yes
57957 else
57958 glibcxx_cv_func__isinf_use=no
57960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57961 ac_ext=c
57962 ac_cpp='$CPP $CPPFLAGS'
57963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57972 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57974 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57975 for ac_func in _isinf
57976 do :
57977 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57978 if test "x$ac_cv_func__isinf" = x""yes; then :
57979 cat >>confdefs.h <<_ACEOF
57980 #define HAVE__ISINF 1
57981 _ACEOF
57984 done
57993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57994 $as_echo_n "checking for isnan declaration... " >&6; }
57995 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57996 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57997 $as_echo_n "(cached) " >&6
57998 else
58001 ac_ext=cpp
58002 ac_cpp='$CXXCPP $CPPFLAGS'
58003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58008 /* end confdefs.h. */
58009 #include <math.h>
58010 #ifdef HAVE_IEEEFP_H
58011 #include <ieeefp.h>
58012 #endif
58015 main ()
58017 isnan(0);
58019 return 0;
58021 _ACEOF
58022 if ac_fn_cxx_try_compile "$LINENO"; then :
58023 glibcxx_cv_func_isnan_use=yes
58024 else
58025 glibcxx_cv_func_isnan_use=no
58027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58028 ac_ext=c
58029 ac_cpp='$CPP $CPPFLAGS'
58030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58039 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58041 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58042 for ac_func in isnan
58043 do :
58044 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58045 if test "x$ac_cv_func_isnan" = x""yes; then :
58046 cat >>confdefs.h <<_ACEOF
58047 #define HAVE_ISNAN 1
58048 _ACEOF
58051 done
58053 else
58055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58056 $as_echo_n "checking for _isnan declaration... " >&6; }
58057 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58058 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58059 $as_echo_n "(cached) " >&6
58060 else
58063 ac_ext=cpp
58064 ac_cpp='$CXXCPP $CPPFLAGS'
58065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58070 /* end confdefs.h. */
58071 #include <math.h>
58072 #ifdef HAVE_IEEEFP_H
58073 #include <ieeefp.h>
58074 #endif
58077 main ()
58079 _isnan(0);
58081 return 0;
58083 _ACEOF
58084 if ac_fn_cxx_try_compile "$LINENO"; then :
58085 glibcxx_cv_func__isnan_use=yes
58086 else
58087 glibcxx_cv_func__isnan_use=no
58089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58090 ac_ext=c
58091 ac_cpp='$CPP $CPPFLAGS'
58092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58101 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58103 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58104 for ac_func in _isnan
58105 do :
58106 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58107 if test "x$ac_cv_func__isnan" = x""yes; then :
58108 cat >>confdefs.h <<_ACEOF
58109 #define HAVE__ISNAN 1
58110 _ACEOF
58113 done
58122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58123 $as_echo_n "checking for finite declaration... " >&6; }
58124 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58125 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58126 $as_echo_n "(cached) " >&6
58127 else
58130 ac_ext=cpp
58131 ac_cpp='$CXXCPP $CPPFLAGS'
58132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58137 /* end confdefs.h. */
58138 #include <math.h>
58139 #ifdef HAVE_IEEEFP_H
58140 #include <ieeefp.h>
58141 #endif
58144 main ()
58146 finite(0);
58148 return 0;
58150 _ACEOF
58151 if ac_fn_cxx_try_compile "$LINENO"; then :
58152 glibcxx_cv_func_finite_use=yes
58153 else
58154 glibcxx_cv_func_finite_use=no
58156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58157 ac_ext=c
58158 ac_cpp='$CPP $CPPFLAGS'
58159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58168 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58170 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58171 for ac_func in finite
58172 do :
58173 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58174 if test "x$ac_cv_func_finite" = x""yes; then :
58175 cat >>confdefs.h <<_ACEOF
58176 #define HAVE_FINITE 1
58177 _ACEOF
58180 done
58182 else
58184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58185 $as_echo_n "checking for _finite declaration... " >&6; }
58186 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58187 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58188 $as_echo_n "(cached) " >&6
58189 else
58192 ac_ext=cpp
58193 ac_cpp='$CXXCPP $CPPFLAGS'
58194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58199 /* end confdefs.h. */
58200 #include <math.h>
58201 #ifdef HAVE_IEEEFP_H
58202 #include <ieeefp.h>
58203 #endif
58206 main ()
58208 _finite(0);
58210 return 0;
58212 _ACEOF
58213 if ac_fn_cxx_try_compile "$LINENO"; then :
58214 glibcxx_cv_func__finite_use=yes
58215 else
58216 glibcxx_cv_func__finite_use=no
58218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58219 ac_ext=c
58220 ac_cpp='$CPP $CPPFLAGS'
58221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58230 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58232 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58233 for ac_func in _finite
58234 do :
58235 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58236 if test "x$ac_cv_func__finite" = x""yes; then :
58237 cat >>confdefs.h <<_ACEOF
58238 #define HAVE__FINITE 1
58239 _ACEOF
58242 done
58251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58252 $as_echo_n "checking for sincos declaration... " >&6; }
58253 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58254 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58255 $as_echo_n "(cached) " >&6
58256 else
58259 ac_ext=cpp
58260 ac_cpp='$CXXCPP $CPPFLAGS'
58261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58266 /* end confdefs.h. */
58267 #include <math.h>
58269 main ()
58271 sincos(0, 0, 0);
58273 return 0;
58275 _ACEOF
58276 if ac_fn_cxx_try_compile "$LINENO"; then :
58277 glibcxx_cv_func_sincos_use=yes
58278 else
58279 glibcxx_cv_func_sincos_use=no
58281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58282 ac_ext=c
58283 ac_cpp='$CPP $CPPFLAGS'
58284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58293 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58295 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58296 for ac_func in sincos
58297 do :
58298 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58299 if test "x$ac_cv_func_sincos" = x""yes; then :
58300 cat >>confdefs.h <<_ACEOF
58301 #define HAVE_SINCOS 1
58302 _ACEOF
58305 done
58307 else
58309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58310 $as_echo_n "checking for _sincos declaration... " >&6; }
58311 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58312 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58313 $as_echo_n "(cached) " >&6
58314 else
58317 ac_ext=cpp
58318 ac_cpp='$CXXCPP $CPPFLAGS'
58319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58324 /* end confdefs.h. */
58325 #include <math.h>
58327 main ()
58329 _sincos(0, 0, 0);
58331 return 0;
58333 _ACEOF
58334 if ac_fn_cxx_try_compile "$LINENO"; then :
58335 glibcxx_cv_func__sincos_use=yes
58336 else
58337 glibcxx_cv_func__sincos_use=no
58339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58340 ac_ext=c
58341 ac_cpp='$CPP $CPPFLAGS'
58342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58351 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58353 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58354 for ac_func in _sincos
58355 do :
58356 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58357 if test "x$ac_cv_func__sincos" = x""yes; then :
58358 cat >>confdefs.h <<_ACEOF
58359 #define HAVE__SINCOS 1
58360 _ACEOF
58363 done
58372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58373 $as_echo_n "checking for fpclass declaration... " >&6; }
58374 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58375 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58376 $as_echo_n "(cached) " >&6
58377 else
58380 ac_ext=cpp
58381 ac_cpp='$CXXCPP $CPPFLAGS'
58382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58387 /* end confdefs.h. */
58388 #include <math.h>
58389 #ifdef HAVE_IEEEFP_H
58390 #include <ieeefp.h>
58391 #endif
58394 main ()
58396 fpclass(0);
58398 return 0;
58400 _ACEOF
58401 if ac_fn_cxx_try_compile "$LINENO"; then :
58402 glibcxx_cv_func_fpclass_use=yes
58403 else
58404 glibcxx_cv_func_fpclass_use=no
58406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58407 ac_ext=c
58408 ac_cpp='$CPP $CPPFLAGS'
58409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58418 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58420 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58421 for ac_func in fpclass
58422 do :
58423 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58424 if test "x$ac_cv_func_fpclass" = x""yes; then :
58425 cat >>confdefs.h <<_ACEOF
58426 #define HAVE_FPCLASS 1
58427 _ACEOF
58430 done
58432 else
58434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58435 $as_echo_n "checking for _fpclass declaration... " >&6; }
58436 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58437 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58438 $as_echo_n "(cached) " >&6
58439 else
58442 ac_ext=cpp
58443 ac_cpp='$CXXCPP $CPPFLAGS'
58444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58449 /* end confdefs.h. */
58450 #include <math.h>
58451 #ifdef HAVE_IEEEFP_H
58452 #include <ieeefp.h>
58453 #endif
58456 main ()
58458 _fpclass(0);
58460 return 0;
58462 _ACEOF
58463 if ac_fn_cxx_try_compile "$LINENO"; then :
58464 glibcxx_cv_func__fpclass_use=yes
58465 else
58466 glibcxx_cv_func__fpclass_use=no
58468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58469 ac_ext=c
58470 ac_cpp='$CPP $CPPFLAGS'
58471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58480 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58482 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58483 for ac_func in _fpclass
58484 do :
58485 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58486 if test "x$ac_cv_func__fpclass" = x""yes; then :
58487 cat >>confdefs.h <<_ACEOF
58488 #define HAVE__FPCLASS 1
58489 _ACEOF
58492 done
58501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58502 $as_echo_n "checking for qfpclass declaration... " >&6; }
58503 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58504 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58505 $as_echo_n "(cached) " >&6
58506 else
58509 ac_ext=cpp
58510 ac_cpp='$CXXCPP $CPPFLAGS'
58511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58516 /* end confdefs.h. */
58517 #include <math.h>
58518 #ifdef HAVE_IEEEFP_H
58519 #include <ieeefp.h>
58520 #endif
58523 main ()
58525 qfpclass(0);
58527 return 0;
58529 _ACEOF
58530 if ac_fn_cxx_try_compile "$LINENO"; then :
58531 glibcxx_cv_func_qfpclass_use=yes
58532 else
58533 glibcxx_cv_func_qfpclass_use=no
58535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58536 ac_ext=c
58537 ac_cpp='$CPP $CPPFLAGS'
58538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58547 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58549 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58550 for ac_func in qfpclass
58551 do :
58552 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58553 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58554 cat >>confdefs.h <<_ACEOF
58555 #define HAVE_QFPCLASS 1
58556 _ACEOF
58559 done
58561 else
58563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58564 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58565 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58566 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58567 $as_echo_n "(cached) " >&6
58568 else
58571 ac_ext=cpp
58572 ac_cpp='$CXXCPP $CPPFLAGS'
58573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58578 /* end confdefs.h. */
58579 #include <math.h>
58580 #ifdef HAVE_IEEEFP_H
58581 #include <ieeefp.h>
58582 #endif
58585 main ()
58587 _qfpclass(0);
58589 return 0;
58591 _ACEOF
58592 if ac_fn_cxx_try_compile "$LINENO"; then :
58593 glibcxx_cv_func__qfpclass_use=yes
58594 else
58595 glibcxx_cv_func__qfpclass_use=no
58597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58598 ac_ext=c
58599 ac_cpp='$CPP $CPPFLAGS'
58600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58609 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58611 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58612 for ac_func in _qfpclass
58613 do :
58614 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58615 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58616 cat >>confdefs.h <<_ACEOF
58617 #define HAVE__QFPCLASS 1
58618 _ACEOF
58621 done
58630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58631 $as_echo_n "checking for hypot declaration... " >&6; }
58632 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58633 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58634 $as_echo_n "(cached) " >&6
58635 else
58638 ac_ext=cpp
58639 ac_cpp='$CXXCPP $CPPFLAGS'
58640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58645 /* end confdefs.h. */
58646 #include <math.h>
58648 main ()
58650 hypot(0, 0);
58652 return 0;
58654 _ACEOF
58655 if ac_fn_cxx_try_compile "$LINENO"; then :
58656 glibcxx_cv_func_hypot_use=yes
58657 else
58658 glibcxx_cv_func_hypot_use=no
58660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58661 ac_ext=c
58662 ac_cpp='$CPP $CPPFLAGS'
58663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58672 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58674 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58675 for ac_func in hypot
58676 do :
58677 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58678 if test "x$ac_cv_func_hypot" = x""yes; then :
58679 cat >>confdefs.h <<_ACEOF
58680 #define HAVE_HYPOT 1
58681 _ACEOF
58684 done
58686 else
58688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58689 $as_echo_n "checking for _hypot declaration... " >&6; }
58690 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58691 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58692 $as_echo_n "(cached) " >&6
58693 else
58696 ac_ext=cpp
58697 ac_cpp='$CXXCPP $CPPFLAGS'
58698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58703 /* end confdefs.h. */
58704 #include <math.h>
58706 main ()
58708 _hypot(0, 0);
58710 return 0;
58712 _ACEOF
58713 if ac_fn_cxx_try_compile "$LINENO"; then :
58714 glibcxx_cv_func__hypot_use=yes
58715 else
58716 glibcxx_cv_func__hypot_use=no
58718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58719 ac_ext=c
58720 ac_cpp='$CPP $CPPFLAGS'
58721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58730 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58732 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58733 for ac_func in _hypot
58734 do :
58735 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58736 if test "x$ac_cv_func__hypot" = x""yes; then :
58737 cat >>confdefs.h <<_ACEOF
58738 #define HAVE__HYPOT 1
58739 _ACEOF
58742 done
58751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58752 $as_echo_n "checking for float trig functions... " >&6; }
58753 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58754 $as_echo_n "(cached) " >&6
58755 else
58758 ac_ext=cpp
58759 ac_cpp='$CXXCPP $CPPFLAGS'
58760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58765 /* end confdefs.h. */
58766 #include <math.h>
58768 main ()
58770 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58772 return 0;
58774 _ACEOF
58775 if ac_fn_cxx_try_compile "$LINENO"; then :
58776 glibcxx_cv_func_float_trig_use=yes
58777 else
58778 glibcxx_cv_func_float_trig_use=no
58780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58781 ac_ext=c
58782 ac_cpp='$CPP $CPPFLAGS'
58783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58790 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58791 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58792 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58793 do :
58794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58796 eval as_val=\$$as_ac_var
58797 if test "x$as_val" = x""yes; then :
58798 cat >>confdefs.h <<_ACEOF
58799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58800 _ACEOF
58803 done
58805 else
58806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58807 $as_echo_n "checking for _float trig functions... " >&6; }
58808 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58809 $as_echo_n "(cached) " >&6
58810 else
58813 ac_ext=cpp
58814 ac_cpp='$CXXCPP $CPPFLAGS'
58815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58820 /* end confdefs.h. */
58821 #include <math.h>
58823 main ()
58825 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58827 return 0;
58829 _ACEOF
58830 if ac_fn_cxx_try_compile "$LINENO"; then :
58831 glibcxx_cv_func__float_trig_use=yes
58832 else
58833 glibcxx_cv_func__float_trig_use=no
58835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58836 ac_ext=c
58837 ac_cpp='$CPP $CPPFLAGS'
58838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58845 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58846 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58847 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58848 do :
58849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58851 eval as_val=\$$as_ac_var
58852 if test "x$as_val" = x""yes; then :
58853 cat >>confdefs.h <<_ACEOF
58854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58855 _ACEOF
58858 done
58867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58868 $as_echo_n "checking for float round functions... " >&6; }
58869 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58870 $as_echo_n "(cached) " >&6
58871 else
58874 ac_ext=cpp
58875 ac_cpp='$CXXCPP $CPPFLAGS'
58876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58881 /* end confdefs.h. */
58882 #include <math.h>
58884 main ()
58886 ceilf (0); floorf (0);
58888 return 0;
58890 _ACEOF
58891 if ac_fn_cxx_try_compile "$LINENO"; then :
58892 glibcxx_cv_func_float_round_use=yes
58893 else
58894 glibcxx_cv_func_float_round_use=no
58896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58897 ac_ext=c
58898 ac_cpp='$CPP $CPPFLAGS'
58899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58906 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58907 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58908 for ac_func in ceilf floorf
58909 do :
58910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58912 eval as_val=\$$as_ac_var
58913 if test "x$as_val" = x""yes; then :
58914 cat >>confdefs.h <<_ACEOF
58915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58916 _ACEOF
58919 done
58921 else
58922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58923 $as_echo_n "checking for _float round functions... " >&6; }
58924 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58925 $as_echo_n "(cached) " >&6
58926 else
58929 ac_ext=cpp
58930 ac_cpp='$CXXCPP $CPPFLAGS'
58931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58936 /* end confdefs.h. */
58937 #include <math.h>
58939 main ()
58941 _ceilf (0); _floorf (0);
58943 return 0;
58945 _ACEOF
58946 if ac_fn_cxx_try_compile "$LINENO"; then :
58947 glibcxx_cv_func__float_round_use=yes
58948 else
58949 glibcxx_cv_func__float_round_use=no
58951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58952 ac_ext=c
58953 ac_cpp='$CPP $CPPFLAGS'
58954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58961 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58962 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58963 for ac_func in _ceilf _floorf
58964 do :
58965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58967 eval as_val=\$$as_ac_var
58968 if test "x$as_val" = x""yes; then :
58969 cat >>confdefs.h <<_ACEOF
58970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58971 _ACEOF
58974 done
58984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58985 $as_echo_n "checking for expf declaration... " >&6; }
58986 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58987 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58988 $as_echo_n "(cached) " >&6
58989 else
58992 ac_ext=cpp
58993 ac_cpp='$CXXCPP $CPPFLAGS'
58994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58999 /* end confdefs.h. */
59000 #include <math.h>
59001 #ifdef HAVE_IEEEFP_H
59002 #include <ieeefp.h>
59003 #endif
59006 main ()
59008 expf(0);
59010 return 0;
59012 _ACEOF
59013 if ac_fn_cxx_try_compile "$LINENO"; then :
59014 glibcxx_cv_func_expf_use=yes
59015 else
59016 glibcxx_cv_func_expf_use=no
59018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59019 ac_ext=c
59020 ac_cpp='$CPP $CPPFLAGS'
59021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59030 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59032 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59033 for ac_func in expf
59034 do :
59035 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59036 if test "x$ac_cv_func_expf" = x""yes; then :
59037 cat >>confdefs.h <<_ACEOF
59038 #define HAVE_EXPF 1
59039 _ACEOF
59042 done
59044 else
59046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59047 $as_echo_n "checking for _expf declaration... " >&6; }
59048 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59049 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59050 $as_echo_n "(cached) " >&6
59051 else
59054 ac_ext=cpp
59055 ac_cpp='$CXXCPP $CPPFLAGS'
59056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59061 /* end confdefs.h. */
59062 #include <math.h>
59063 #ifdef HAVE_IEEEFP_H
59064 #include <ieeefp.h>
59065 #endif
59068 main ()
59070 _expf(0);
59072 return 0;
59074 _ACEOF
59075 if ac_fn_cxx_try_compile "$LINENO"; then :
59076 glibcxx_cv_func__expf_use=yes
59077 else
59078 glibcxx_cv_func__expf_use=no
59080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59081 ac_ext=c
59082 ac_cpp='$CPP $CPPFLAGS'
59083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59092 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59094 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59095 for ac_func in _expf
59096 do :
59097 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59098 if test "x$ac_cv_func__expf" = x""yes; then :
59099 cat >>confdefs.h <<_ACEOF
59100 #define HAVE__EXPF 1
59101 _ACEOF
59104 done
59113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59114 $as_echo_n "checking for isnanf declaration... " >&6; }
59115 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59116 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59117 $as_echo_n "(cached) " >&6
59118 else
59121 ac_ext=cpp
59122 ac_cpp='$CXXCPP $CPPFLAGS'
59123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59128 /* end confdefs.h. */
59129 #include <math.h>
59130 #ifdef HAVE_IEEEFP_H
59131 #include <ieeefp.h>
59132 #endif
59135 main ()
59137 isnanf(0);
59139 return 0;
59141 _ACEOF
59142 if ac_fn_cxx_try_compile "$LINENO"; then :
59143 glibcxx_cv_func_isnanf_use=yes
59144 else
59145 glibcxx_cv_func_isnanf_use=no
59147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59148 ac_ext=c
59149 ac_cpp='$CPP $CPPFLAGS'
59150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59159 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59161 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59162 for ac_func in isnanf
59163 do :
59164 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59165 if test "x$ac_cv_func_isnanf" = x""yes; then :
59166 cat >>confdefs.h <<_ACEOF
59167 #define HAVE_ISNANF 1
59168 _ACEOF
59171 done
59173 else
59175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59176 $as_echo_n "checking for _isnanf declaration... " >&6; }
59177 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59178 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59179 $as_echo_n "(cached) " >&6
59180 else
59183 ac_ext=cpp
59184 ac_cpp='$CXXCPP $CPPFLAGS'
59185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59190 /* end confdefs.h. */
59191 #include <math.h>
59192 #ifdef HAVE_IEEEFP_H
59193 #include <ieeefp.h>
59194 #endif
59197 main ()
59199 _isnanf(0);
59201 return 0;
59203 _ACEOF
59204 if ac_fn_cxx_try_compile "$LINENO"; then :
59205 glibcxx_cv_func__isnanf_use=yes
59206 else
59207 glibcxx_cv_func__isnanf_use=no
59209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59210 ac_ext=c
59211 ac_cpp='$CPP $CPPFLAGS'
59212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59221 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59223 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59224 for ac_func in _isnanf
59225 do :
59226 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59227 if test "x$ac_cv_func__isnanf" = x""yes; then :
59228 cat >>confdefs.h <<_ACEOF
59229 #define HAVE__ISNANF 1
59230 _ACEOF
59233 done
59242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59243 $as_echo_n "checking for isinff declaration... " >&6; }
59244 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59245 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59246 $as_echo_n "(cached) " >&6
59247 else
59250 ac_ext=cpp
59251 ac_cpp='$CXXCPP $CPPFLAGS'
59252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59257 /* end confdefs.h. */
59258 #include <math.h>
59259 #ifdef HAVE_IEEEFP_H
59260 #include <ieeefp.h>
59261 #endif
59264 main ()
59266 isinff(0);
59268 return 0;
59270 _ACEOF
59271 if ac_fn_cxx_try_compile "$LINENO"; then :
59272 glibcxx_cv_func_isinff_use=yes
59273 else
59274 glibcxx_cv_func_isinff_use=no
59276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59277 ac_ext=c
59278 ac_cpp='$CPP $CPPFLAGS'
59279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59288 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59290 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59291 for ac_func in isinff
59292 do :
59293 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59294 if test "x$ac_cv_func_isinff" = x""yes; then :
59295 cat >>confdefs.h <<_ACEOF
59296 #define HAVE_ISINFF 1
59297 _ACEOF
59300 done
59302 else
59304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59305 $as_echo_n "checking for _isinff declaration... " >&6; }
59306 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59307 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59308 $as_echo_n "(cached) " >&6
59309 else
59312 ac_ext=cpp
59313 ac_cpp='$CXXCPP $CPPFLAGS'
59314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59319 /* end confdefs.h. */
59320 #include <math.h>
59321 #ifdef HAVE_IEEEFP_H
59322 #include <ieeefp.h>
59323 #endif
59326 main ()
59328 _isinff(0);
59330 return 0;
59332 _ACEOF
59333 if ac_fn_cxx_try_compile "$LINENO"; then :
59334 glibcxx_cv_func__isinff_use=yes
59335 else
59336 glibcxx_cv_func__isinff_use=no
59338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59339 ac_ext=c
59340 ac_cpp='$CPP $CPPFLAGS'
59341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59350 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59352 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59353 for ac_func in _isinff
59354 do :
59355 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59356 if test "x$ac_cv_func__isinff" = x""yes; then :
59357 cat >>confdefs.h <<_ACEOF
59358 #define HAVE__ISINFF 1
59359 _ACEOF
59362 done
59371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59372 $as_echo_n "checking for atan2f declaration... " >&6; }
59373 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59374 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59375 $as_echo_n "(cached) " >&6
59376 else
59379 ac_ext=cpp
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59386 /* end confdefs.h. */
59387 #include <math.h>
59389 main ()
59391 atan2f(0, 0);
59393 return 0;
59395 _ACEOF
59396 if ac_fn_cxx_try_compile "$LINENO"; then :
59397 glibcxx_cv_func_atan2f_use=yes
59398 else
59399 glibcxx_cv_func_atan2f_use=no
59401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59402 ac_ext=c
59403 ac_cpp='$CPP $CPPFLAGS'
59404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59413 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59415 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59416 for ac_func in atan2f
59417 do :
59418 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59419 if test "x$ac_cv_func_atan2f" = x""yes; then :
59420 cat >>confdefs.h <<_ACEOF
59421 #define HAVE_ATAN2F 1
59422 _ACEOF
59425 done
59427 else
59429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59430 $as_echo_n "checking for _atan2f declaration... " >&6; }
59431 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59432 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59433 $as_echo_n "(cached) " >&6
59434 else
59437 ac_ext=cpp
59438 ac_cpp='$CXXCPP $CPPFLAGS'
59439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59444 /* end confdefs.h. */
59445 #include <math.h>
59447 main ()
59449 _atan2f(0, 0);
59451 return 0;
59453 _ACEOF
59454 if ac_fn_cxx_try_compile "$LINENO"; then :
59455 glibcxx_cv_func__atan2f_use=yes
59456 else
59457 glibcxx_cv_func__atan2f_use=no
59459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59460 ac_ext=c
59461 ac_cpp='$CPP $CPPFLAGS'
59462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59471 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59473 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59474 for ac_func in _atan2f
59475 do :
59476 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59477 if test "x$ac_cv_func__atan2f" = x""yes; then :
59478 cat >>confdefs.h <<_ACEOF
59479 #define HAVE__ATAN2F 1
59480 _ACEOF
59483 done
59492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59493 $as_echo_n "checking for fabsf declaration... " >&6; }
59494 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59495 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59496 $as_echo_n "(cached) " >&6
59497 else
59500 ac_ext=cpp
59501 ac_cpp='$CXXCPP $CPPFLAGS'
59502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59507 /* end confdefs.h. */
59508 #include <math.h>
59509 #ifdef HAVE_IEEEFP_H
59510 #include <ieeefp.h>
59511 #endif
59514 main ()
59516 fabsf(0);
59518 return 0;
59520 _ACEOF
59521 if ac_fn_cxx_try_compile "$LINENO"; then :
59522 glibcxx_cv_func_fabsf_use=yes
59523 else
59524 glibcxx_cv_func_fabsf_use=no
59526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59527 ac_ext=c
59528 ac_cpp='$CPP $CPPFLAGS'
59529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59538 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59540 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59541 for ac_func in fabsf
59542 do :
59543 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59544 if test "x$ac_cv_func_fabsf" = x""yes; then :
59545 cat >>confdefs.h <<_ACEOF
59546 #define HAVE_FABSF 1
59547 _ACEOF
59550 done
59552 else
59554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59555 $as_echo_n "checking for _fabsf declaration... " >&6; }
59556 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59557 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59558 $as_echo_n "(cached) " >&6
59559 else
59562 ac_ext=cpp
59563 ac_cpp='$CXXCPP $CPPFLAGS'
59564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59569 /* end confdefs.h. */
59570 #include <math.h>
59571 #ifdef HAVE_IEEEFP_H
59572 #include <ieeefp.h>
59573 #endif
59576 main ()
59578 _fabsf(0);
59580 return 0;
59582 _ACEOF
59583 if ac_fn_cxx_try_compile "$LINENO"; then :
59584 glibcxx_cv_func__fabsf_use=yes
59585 else
59586 glibcxx_cv_func__fabsf_use=no
59588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59589 ac_ext=c
59590 ac_cpp='$CPP $CPPFLAGS'
59591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59600 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59602 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59603 for ac_func in _fabsf
59604 do :
59605 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59606 if test "x$ac_cv_func__fabsf" = x""yes; then :
59607 cat >>confdefs.h <<_ACEOF
59608 #define HAVE__FABSF 1
59609 _ACEOF
59612 done
59621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59622 $as_echo_n "checking for fmodf declaration... " >&6; }
59623 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59624 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59625 $as_echo_n "(cached) " >&6
59626 else
59629 ac_ext=cpp
59630 ac_cpp='$CXXCPP $CPPFLAGS'
59631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59636 /* end confdefs.h. */
59637 #include <math.h>
59639 main ()
59641 fmodf(0, 0);
59643 return 0;
59645 _ACEOF
59646 if ac_fn_cxx_try_compile "$LINENO"; then :
59647 glibcxx_cv_func_fmodf_use=yes
59648 else
59649 glibcxx_cv_func_fmodf_use=no
59651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59652 ac_ext=c
59653 ac_cpp='$CPP $CPPFLAGS'
59654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59663 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59665 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59666 for ac_func in fmodf
59667 do :
59668 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59669 if test "x$ac_cv_func_fmodf" = x""yes; then :
59670 cat >>confdefs.h <<_ACEOF
59671 #define HAVE_FMODF 1
59672 _ACEOF
59675 done
59677 else
59679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59680 $as_echo_n "checking for _fmodf declaration... " >&6; }
59681 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59682 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59683 $as_echo_n "(cached) " >&6
59684 else
59687 ac_ext=cpp
59688 ac_cpp='$CXXCPP $CPPFLAGS'
59689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59694 /* end confdefs.h. */
59695 #include <math.h>
59697 main ()
59699 _fmodf(0, 0);
59701 return 0;
59703 _ACEOF
59704 if ac_fn_cxx_try_compile "$LINENO"; then :
59705 glibcxx_cv_func__fmodf_use=yes
59706 else
59707 glibcxx_cv_func__fmodf_use=no
59709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59710 ac_ext=c
59711 ac_cpp='$CPP $CPPFLAGS'
59712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59721 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59723 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59724 for ac_func in _fmodf
59725 do :
59726 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59727 if test "x$ac_cv_func__fmodf" = x""yes; then :
59728 cat >>confdefs.h <<_ACEOF
59729 #define HAVE__FMODF 1
59730 _ACEOF
59733 done
59742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59743 $as_echo_n "checking for frexpf declaration... " >&6; }
59744 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59745 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59746 $as_echo_n "(cached) " >&6
59747 else
59750 ac_ext=cpp
59751 ac_cpp='$CXXCPP $CPPFLAGS'
59752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59757 /* end confdefs.h. */
59758 #include <math.h>
59760 main ()
59762 frexpf(0, 0);
59764 return 0;
59766 _ACEOF
59767 if ac_fn_cxx_try_compile "$LINENO"; then :
59768 glibcxx_cv_func_frexpf_use=yes
59769 else
59770 glibcxx_cv_func_frexpf_use=no
59772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59773 ac_ext=c
59774 ac_cpp='$CPP $CPPFLAGS'
59775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59784 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59786 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59787 for ac_func in frexpf
59788 do :
59789 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59790 if test "x$ac_cv_func_frexpf" = x""yes; then :
59791 cat >>confdefs.h <<_ACEOF
59792 #define HAVE_FREXPF 1
59793 _ACEOF
59796 done
59798 else
59800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59801 $as_echo_n "checking for _frexpf declaration... " >&6; }
59802 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59803 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59804 $as_echo_n "(cached) " >&6
59805 else
59808 ac_ext=cpp
59809 ac_cpp='$CXXCPP $CPPFLAGS'
59810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59815 /* end confdefs.h. */
59816 #include <math.h>
59818 main ()
59820 _frexpf(0, 0);
59822 return 0;
59824 _ACEOF
59825 if ac_fn_cxx_try_compile "$LINENO"; then :
59826 glibcxx_cv_func__frexpf_use=yes
59827 else
59828 glibcxx_cv_func__frexpf_use=no
59830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59831 ac_ext=c
59832 ac_cpp='$CPP $CPPFLAGS'
59833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59842 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59844 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59845 for ac_func in _frexpf
59846 do :
59847 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59848 if test "x$ac_cv_func__frexpf" = x""yes; then :
59849 cat >>confdefs.h <<_ACEOF
59850 #define HAVE__FREXPF 1
59851 _ACEOF
59854 done
59863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59864 $as_echo_n "checking for hypotf declaration... " >&6; }
59865 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59866 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59867 $as_echo_n "(cached) " >&6
59868 else
59871 ac_ext=cpp
59872 ac_cpp='$CXXCPP $CPPFLAGS'
59873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59878 /* end confdefs.h. */
59879 #include <math.h>
59881 main ()
59883 hypotf(0, 0);
59885 return 0;
59887 _ACEOF
59888 if ac_fn_cxx_try_compile "$LINENO"; then :
59889 glibcxx_cv_func_hypotf_use=yes
59890 else
59891 glibcxx_cv_func_hypotf_use=no
59893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59894 ac_ext=c
59895 ac_cpp='$CPP $CPPFLAGS'
59896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59905 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59907 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59908 for ac_func in hypotf
59909 do :
59910 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59911 if test "x$ac_cv_func_hypotf" = x""yes; then :
59912 cat >>confdefs.h <<_ACEOF
59913 #define HAVE_HYPOTF 1
59914 _ACEOF
59917 done
59919 else
59921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59922 $as_echo_n "checking for _hypotf declaration... " >&6; }
59923 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59924 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59925 $as_echo_n "(cached) " >&6
59926 else
59929 ac_ext=cpp
59930 ac_cpp='$CXXCPP $CPPFLAGS'
59931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59936 /* end confdefs.h. */
59937 #include <math.h>
59939 main ()
59941 _hypotf(0, 0);
59943 return 0;
59945 _ACEOF
59946 if ac_fn_cxx_try_compile "$LINENO"; then :
59947 glibcxx_cv_func__hypotf_use=yes
59948 else
59949 glibcxx_cv_func__hypotf_use=no
59951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59952 ac_ext=c
59953 ac_cpp='$CPP $CPPFLAGS'
59954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59963 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59965 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59966 for ac_func in _hypotf
59967 do :
59968 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59969 if test "x$ac_cv_func__hypotf" = x""yes; then :
59970 cat >>confdefs.h <<_ACEOF
59971 #define HAVE__HYPOTF 1
59972 _ACEOF
59975 done
59984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59985 $as_echo_n "checking for ldexpf declaration... " >&6; }
59986 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59987 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59988 $as_echo_n "(cached) " >&6
59989 else
59992 ac_ext=cpp
59993 ac_cpp='$CXXCPP $CPPFLAGS'
59994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59999 /* end confdefs.h. */
60000 #include <math.h>
60002 main ()
60004 ldexpf(0, 0);
60006 return 0;
60008 _ACEOF
60009 if ac_fn_cxx_try_compile "$LINENO"; then :
60010 glibcxx_cv_func_ldexpf_use=yes
60011 else
60012 glibcxx_cv_func_ldexpf_use=no
60014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60015 ac_ext=c
60016 ac_cpp='$CPP $CPPFLAGS'
60017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60026 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60028 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60029 for ac_func in ldexpf
60030 do :
60031 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60032 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60033 cat >>confdefs.h <<_ACEOF
60034 #define HAVE_LDEXPF 1
60035 _ACEOF
60038 done
60040 else
60042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60043 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60044 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60045 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60046 $as_echo_n "(cached) " >&6
60047 else
60050 ac_ext=cpp
60051 ac_cpp='$CXXCPP $CPPFLAGS'
60052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60057 /* end confdefs.h. */
60058 #include <math.h>
60060 main ()
60062 _ldexpf(0, 0);
60064 return 0;
60066 _ACEOF
60067 if ac_fn_cxx_try_compile "$LINENO"; then :
60068 glibcxx_cv_func__ldexpf_use=yes
60069 else
60070 glibcxx_cv_func__ldexpf_use=no
60072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60073 ac_ext=c
60074 ac_cpp='$CPP $CPPFLAGS'
60075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60084 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60086 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60087 for ac_func in _ldexpf
60088 do :
60089 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60090 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60091 cat >>confdefs.h <<_ACEOF
60092 #define HAVE__LDEXPF 1
60093 _ACEOF
60096 done
60105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60106 $as_echo_n "checking for logf declaration... " >&6; }
60107 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60108 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60109 $as_echo_n "(cached) " >&6
60110 else
60113 ac_ext=cpp
60114 ac_cpp='$CXXCPP $CPPFLAGS'
60115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60120 /* end confdefs.h. */
60121 #include <math.h>
60122 #ifdef HAVE_IEEEFP_H
60123 #include <ieeefp.h>
60124 #endif
60127 main ()
60129 logf(0);
60131 return 0;
60133 _ACEOF
60134 if ac_fn_cxx_try_compile "$LINENO"; then :
60135 glibcxx_cv_func_logf_use=yes
60136 else
60137 glibcxx_cv_func_logf_use=no
60139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60140 ac_ext=c
60141 ac_cpp='$CPP $CPPFLAGS'
60142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60151 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60153 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60154 for ac_func in logf
60155 do :
60156 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60157 if test "x$ac_cv_func_logf" = x""yes; then :
60158 cat >>confdefs.h <<_ACEOF
60159 #define HAVE_LOGF 1
60160 _ACEOF
60163 done
60165 else
60167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60168 $as_echo_n "checking for _logf declaration... " >&6; }
60169 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60170 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60171 $as_echo_n "(cached) " >&6
60172 else
60175 ac_ext=cpp
60176 ac_cpp='$CXXCPP $CPPFLAGS'
60177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60182 /* end confdefs.h. */
60183 #include <math.h>
60184 #ifdef HAVE_IEEEFP_H
60185 #include <ieeefp.h>
60186 #endif
60189 main ()
60191 _logf(0);
60193 return 0;
60195 _ACEOF
60196 if ac_fn_cxx_try_compile "$LINENO"; then :
60197 glibcxx_cv_func__logf_use=yes
60198 else
60199 glibcxx_cv_func__logf_use=no
60201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60202 ac_ext=c
60203 ac_cpp='$CPP $CPPFLAGS'
60204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60213 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60215 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60216 for ac_func in _logf
60217 do :
60218 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60219 if test "x$ac_cv_func__logf" = x""yes; then :
60220 cat >>confdefs.h <<_ACEOF
60221 #define HAVE__LOGF 1
60222 _ACEOF
60225 done
60234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60235 $as_echo_n "checking for log10f declaration... " >&6; }
60236 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60237 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60238 $as_echo_n "(cached) " >&6
60239 else
60242 ac_ext=cpp
60243 ac_cpp='$CXXCPP $CPPFLAGS'
60244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60249 /* end confdefs.h. */
60250 #include <math.h>
60251 #ifdef HAVE_IEEEFP_H
60252 #include <ieeefp.h>
60253 #endif
60256 main ()
60258 log10f(0);
60260 return 0;
60262 _ACEOF
60263 if ac_fn_cxx_try_compile "$LINENO"; then :
60264 glibcxx_cv_func_log10f_use=yes
60265 else
60266 glibcxx_cv_func_log10f_use=no
60268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60269 ac_ext=c
60270 ac_cpp='$CPP $CPPFLAGS'
60271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60280 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60282 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60283 for ac_func in log10f
60284 do :
60285 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60286 if test "x$ac_cv_func_log10f" = x""yes; then :
60287 cat >>confdefs.h <<_ACEOF
60288 #define HAVE_LOG10F 1
60289 _ACEOF
60292 done
60294 else
60296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60297 $as_echo_n "checking for _log10f declaration... " >&6; }
60298 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60299 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60300 $as_echo_n "(cached) " >&6
60301 else
60304 ac_ext=cpp
60305 ac_cpp='$CXXCPP $CPPFLAGS'
60306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60311 /* end confdefs.h. */
60312 #include <math.h>
60313 #ifdef HAVE_IEEEFP_H
60314 #include <ieeefp.h>
60315 #endif
60318 main ()
60320 _log10f(0);
60322 return 0;
60324 _ACEOF
60325 if ac_fn_cxx_try_compile "$LINENO"; then :
60326 glibcxx_cv_func__log10f_use=yes
60327 else
60328 glibcxx_cv_func__log10f_use=no
60330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60331 ac_ext=c
60332 ac_cpp='$CPP $CPPFLAGS'
60333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60342 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60344 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60345 for ac_func in _log10f
60346 do :
60347 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60348 if test "x$ac_cv_func__log10f" = x""yes; then :
60349 cat >>confdefs.h <<_ACEOF
60350 #define HAVE__LOG10F 1
60351 _ACEOF
60354 done
60363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60364 $as_echo_n "checking for modff declaration... " >&6; }
60365 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60366 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60367 $as_echo_n "(cached) " >&6
60368 else
60371 ac_ext=cpp
60372 ac_cpp='$CXXCPP $CPPFLAGS'
60373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60378 /* end confdefs.h. */
60379 #include <math.h>
60381 main ()
60383 modff(0, 0);
60385 return 0;
60387 _ACEOF
60388 if ac_fn_cxx_try_compile "$LINENO"; then :
60389 glibcxx_cv_func_modff_use=yes
60390 else
60391 glibcxx_cv_func_modff_use=no
60393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60394 ac_ext=c
60395 ac_cpp='$CPP $CPPFLAGS'
60396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60405 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60407 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60408 for ac_func in modff
60409 do :
60410 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60411 if test "x$ac_cv_func_modff" = x""yes; then :
60412 cat >>confdefs.h <<_ACEOF
60413 #define HAVE_MODFF 1
60414 _ACEOF
60417 done
60419 else
60421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60422 $as_echo_n "checking for _modff declaration... " >&6; }
60423 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60424 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60425 $as_echo_n "(cached) " >&6
60426 else
60429 ac_ext=cpp
60430 ac_cpp='$CXXCPP $CPPFLAGS'
60431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60436 /* end confdefs.h. */
60437 #include <math.h>
60439 main ()
60441 _modff(0, 0);
60443 return 0;
60445 _ACEOF
60446 if ac_fn_cxx_try_compile "$LINENO"; then :
60447 glibcxx_cv_func__modff_use=yes
60448 else
60449 glibcxx_cv_func__modff_use=no
60451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60452 ac_ext=c
60453 ac_cpp='$CPP $CPPFLAGS'
60454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60463 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60465 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60466 for ac_func in _modff
60467 do :
60468 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60469 if test "x$ac_cv_func__modff" = x""yes; then :
60470 cat >>confdefs.h <<_ACEOF
60471 #define HAVE__MODFF 1
60472 _ACEOF
60475 done
60484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60485 $as_echo_n "checking for modf declaration... " >&6; }
60486 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60487 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60488 $as_echo_n "(cached) " >&6
60489 else
60492 ac_ext=cpp
60493 ac_cpp='$CXXCPP $CPPFLAGS'
60494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60499 /* end confdefs.h. */
60500 #include <math.h>
60502 main ()
60504 modf(0, 0);
60506 return 0;
60508 _ACEOF
60509 if ac_fn_cxx_try_compile "$LINENO"; then :
60510 glibcxx_cv_func_modf_use=yes
60511 else
60512 glibcxx_cv_func_modf_use=no
60514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60515 ac_ext=c
60516 ac_cpp='$CPP $CPPFLAGS'
60517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60526 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60528 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60529 for ac_func in modf
60530 do :
60531 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60532 if test "x$ac_cv_func_modf" = x""yes; then :
60533 cat >>confdefs.h <<_ACEOF
60534 #define HAVE_MODF 1
60535 _ACEOF
60538 done
60540 else
60542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60543 $as_echo_n "checking for _modf declaration... " >&6; }
60544 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60545 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60546 $as_echo_n "(cached) " >&6
60547 else
60550 ac_ext=cpp
60551 ac_cpp='$CXXCPP $CPPFLAGS'
60552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60557 /* end confdefs.h. */
60558 #include <math.h>
60560 main ()
60562 _modf(0, 0);
60564 return 0;
60566 _ACEOF
60567 if ac_fn_cxx_try_compile "$LINENO"; then :
60568 glibcxx_cv_func__modf_use=yes
60569 else
60570 glibcxx_cv_func__modf_use=no
60572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60573 ac_ext=c
60574 ac_cpp='$CPP $CPPFLAGS'
60575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60584 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60586 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60587 for ac_func in _modf
60588 do :
60589 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60590 if test "x$ac_cv_func__modf" = x""yes; then :
60591 cat >>confdefs.h <<_ACEOF
60592 #define HAVE__MODF 1
60593 _ACEOF
60596 done
60605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60606 $as_echo_n "checking for powf declaration... " >&6; }
60607 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60608 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60609 $as_echo_n "(cached) " >&6
60610 else
60613 ac_ext=cpp
60614 ac_cpp='$CXXCPP $CPPFLAGS'
60615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60620 /* end confdefs.h. */
60621 #include <math.h>
60623 main ()
60625 powf(0, 0);
60627 return 0;
60629 _ACEOF
60630 if ac_fn_cxx_try_compile "$LINENO"; then :
60631 glibcxx_cv_func_powf_use=yes
60632 else
60633 glibcxx_cv_func_powf_use=no
60635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60636 ac_ext=c
60637 ac_cpp='$CPP $CPPFLAGS'
60638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60647 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60649 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60650 for ac_func in powf
60651 do :
60652 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60653 if test "x$ac_cv_func_powf" = x""yes; then :
60654 cat >>confdefs.h <<_ACEOF
60655 #define HAVE_POWF 1
60656 _ACEOF
60659 done
60661 else
60663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60664 $as_echo_n "checking for _powf declaration... " >&6; }
60665 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60666 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60667 $as_echo_n "(cached) " >&6
60668 else
60671 ac_ext=cpp
60672 ac_cpp='$CXXCPP $CPPFLAGS'
60673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60678 /* end confdefs.h. */
60679 #include <math.h>
60681 main ()
60683 _powf(0, 0);
60685 return 0;
60687 _ACEOF
60688 if ac_fn_cxx_try_compile "$LINENO"; then :
60689 glibcxx_cv_func__powf_use=yes
60690 else
60691 glibcxx_cv_func__powf_use=no
60693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60694 ac_ext=c
60695 ac_cpp='$CPP $CPPFLAGS'
60696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60705 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60707 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60708 for ac_func in _powf
60709 do :
60710 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60711 if test "x$ac_cv_func__powf" = x""yes; then :
60712 cat >>confdefs.h <<_ACEOF
60713 #define HAVE__POWF 1
60714 _ACEOF
60717 done
60726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60727 $as_echo_n "checking for sqrtf declaration... " >&6; }
60728 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60729 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60730 $as_echo_n "(cached) " >&6
60731 else
60734 ac_ext=cpp
60735 ac_cpp='$CXXCPP $CPPFLAGS'
60736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60741 /* end confdefs.h. */
60742 #include <math.h>
60743 #ifdef HAVE_IEEEFP_H
60744 #include <ieeefp.h>
60745 #endif
60748 main ()
60750 sqrtf(0);
60752 return 0;
60754 _ACEOF
60755 if ac_fn_cxx_try_compile "$LINENO"; then :
60756 glibcxx_cv_func_sqrtf_use=yes
60757 else
60758 glibcxx_cv_func_sqrtf_use=no
60760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60761 ac_ext=c
60762 ac_cpp='$CPP $CPPFLAGS'
60763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60772 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60774 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60775 for ac_func in sqrtf
60776 do :
60777 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60778 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60779 cat >>confdefs.h <<_ACEOF
60780 #define HAVE_SQRTF 1
60781 _ACEOF
60784 done
60786 else
60788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60789 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60790 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60791 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60792 $as_echo_n "(cached) " >&6
60793 else
60796 ac_ext=cpp
60797 ac_cpp='$CXXCPP $CPPFLAGS'
60798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60803 /* end confdefs.h. */
60804 #include <math.h>
60805 #ifdef HAVE_IEEEFP_H
60806 #include <ieeefp.h>
60807 #endif
60810 main ()
60812 _sqrtf(0);
60814 return 0;
60816 _ACEOF
60817 if ac_fn_cxx_try_compile "$LINENO"; then :
60818 glibcxx_cv_func__sqrtf_use=yes
60819 else
60820 glibcxx_cv_func__sqrtf_use=no
60822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60823 ac_ext=c
60824 ac_cpp='$CPP $CPPFLAGS'
60825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60834 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60836 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60837 for ac_func in _sqrtf
60838 do :
60839 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60840 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60841 cat >>confdefs.h <<_ACEOF
60842 #define HAVE__SQRTF 1
60843 _ACEOF
60846 done
60855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60856 $as_echo_n "checking for sincosf declaration... " >&6; }
60857 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60858 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60859 $as_echo_n "(cached) " >&6
60860 else
60863 ac_ext=cpp
60864 ac_cpp='$CXXCPP $CPPFLAGS'
60865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60870 /* end confdefs.h. */
60871 #include <math.h>
60873 main ()
60875 sincosf(0, 0, 0);
60877 return 0;
60879 _ACEOF
60880 if ac_fn_cxx_try_compile "$LINENO"; then :
60881 glibcxx_cv_func_sincosf_use=yes
60882 else
60883 glibcxx_cv_func_sincosf_use=no
60885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60886 ac_ext=c
60887 ac_cpp='$CPP $CPPFLAGS'
60888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60897 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60899 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60900 for ac_func in sincosf
60901 do :
60902 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60903 if test "x$ac_cv_func_sincosf" = x""yes; then :
60904 cat >>confdefs.h <<_ACEOF
60905 #define HAVE_SINCOSF 1
60906 _ACEOF
60909 done
60911 else
60913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60914 $as_echo_n "checking for _sincosf declaration... " >&6; }
60915 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60916 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60917 $as_echo_n "(cached) " >&6
60918 else
60921 ac_ext=cpp
60922 ac_cpp='$CXXCPP $CPPFLAGS'
60923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60928 /* end confdefs.h. */
60929 #include <math.h>
60931 main ()
60933 _sincosf(0, 0, 0);
60935 return 0;
60937 _ACEOF
60938 if ac_fn_cxx_try_compile "$LINENO"; then :
60939 glibcxx_cv_func__sincosf_use=yes
60940 else
60941 glibcxx_cv_func__sincosf_use=no
60943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60944 ac_ext=c
60945 ac_cpp='$CPP $CPPFLAGS'
60946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60955 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60957 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60958 for ac_func in _sincosf
60959 do :
60960 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60961 if test "x$ac_cv_func__sincosf" = x""yes; then :
60962 cat >>confdefs.h <<_ACEOF
60963 #define HAVE__SINCOSF 1
60964 _ACEOF
60967 done
60976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60977 $as_echo_n "checking for finitef declaration... " >&6; }
60978 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60979 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60980 $as_echo_n "(cached) " >&6
60981 else
60984 ac_ext=cpp
60985 ac_cpp='$CXXCPP $CPPFLAGS'
60986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60991 /* end confdefs.h. */
60992 #include <math.h>
60993 #ifdef HAVE_IEEEFP_H
60994 #include <ieeefp.h>
60995 #endif
60998 main ()
61000 finitef(0);
61002 return 0;
61004 _ACEOF
61005 if ac_fn_cxx_try_compile "$LINENO"; then :
61006 glibcxx_cv_func_finitef_use=yes
61007 else
61008 glibcxx_cv_func_finitef_use=no
61010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61011 ac_ext=c
61012 ac_cpp='$CPP $CPPFLAGS'
61013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61022 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61024 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61025 for ac_func in finitef
61026 do :
61027 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61028 if test "x$ac_cv_func_finitef" = x""yes; then :
61029 cat >>confdefs.h <<_ACEOF
61030 #define HAVE_FINITEF 1
61031 _ACEOF
61034 done
61036 else
61038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61039 $as_echo_n "checking for _finitef declaration... " >&6; }
61040 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61041 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61042 $as_echo_n "(cached) " >&6
61043 else
61046 ac_ext=cpp
61047 ac_cpp='$CXXCPP $CPPFLAGS'
61048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61053 /* end confdefs.h. */
61054 #include <math.h>
61055 #ifdef HAVE_IEEEFP_H
61056 #include <ieeefp.h>
61057 #endif
61060 main ()
61062 _finitef(0);
61064 return 0;
61066 _ACEOF
61067 if ac_fn_cxx_try_compile "$LINENO"; then :
61068 glibcxx_cv_func__finitef_use=yes
61069 else
61070 glibcxx_cv_func__finitef_use=no
61072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61073 ac_ext=c
61074 ac_cpp='$CPP $CPPFLAGS'
61075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61084 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61086 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61087 for ac_func in _finitef
61088 do :
61089 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61090 if test "x$ac_cv_func__finitef" = x""yes; then :
61091 cat >>confdefs.h <<_ACEOF
61092 #define HAVE__FINITEF 1
61093 _ACEOF
61096 done
61105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61106 $as_echo_n "checking for long double trig functions... " >&6; }
61107 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61108 $as_echo_n "(cached) " >&6
61109 else
61112 ac_ext=cpp
61113 ac_cpp='$CXXCPP $CPPFLAGS'
61114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61119 /* end confdefs.h. */
61120 #include <math.h>
61122 main ()
61124 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61126 return 0;
61128 _ACEOF
61129 if ac_fn_cxx_try_compile "$LINENO"; then :
61130 glibcxx_cv_func_long_double_trig_use=yes
61131 else
61132 glibcxx_cv_func_long_double_trig_use=no
61134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61135 ac_ext=c
61136 ac_cpp='$CPP $CPPFLAGS'
61137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61144 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61145 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61146 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61147 do :
61148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61150 eval as_val=\$$as_ac_var
61151 if test "x$as_val" = x""yes; then :
61152 cat >>confdefs.h <<_ACEOF
61153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61154 _ACEOF
61157 done
61159 else
61160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61161 $as_echo_n "checking for _long double trig functions... " >&6; }
61162 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61163 $as_echo_n "(cached) " >&6
61164 else
61167 ac_ext=cpp
61168 ac_cpp='$CXXCPP $CPPFLAGS'
61169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61174 /* end confdefs.h. */
61175 #include <math.h>
61177 main ()
61179 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61181 return 0;
61183 _ACEOF
61184 if ac_fn_cxx_try_compile "$LINENO"; then :
61185 glibcxx_cv_func__long_double_trig_use=yes
61186 else
61187 glibcxx_cv_func__long_double_trig_use=no
61189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61190 ac_ext=c
61191 ac_cpp='$CPP $CPPFLAGS'
61192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61199 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61200 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61201 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61202 do :
61203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61205 eval as_val=\$$as_ac_var
61206 if test "x$as_val" = x""yes; then :
61207 cat >>confdefs.h <<_ACEOF
61208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61209 _ACEOF
61212 done
61221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61222 $as_echo_n "checking for long double round functions... " >&6; }
61223 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61224 $as_echo_n "(cached) " >&6
61225 else
61228 ac_ext=cpp
61229 ac_cpp='$CXXCPP $CPPFLAGS'
61230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61235 /* end confdefs.h. */
61236 #include <math.h>
61238 main ()
61240 ceill (0); floorl (0);
61242 return 0;
61244 _ACEOF
61245 if ac_fn_cxx_try_compile "$LINENO"; then :
61246 glibcxx_cv_func_long_double_round_use=yes
61247 else
61248 glibcxx_cv_func_long_double_round_use=no
61250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61251 ac_ext=c
61252 ac_cpp='$CPP $CPPFLAGS'
61253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61260 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61261 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61262 for ac_func in ceill floorl
61263 do :
61264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61266 eval as_val=\$$as_ac_var
61267 if test "x$as_val" = x""yes; then :
61268 cat >>confdefs.h <<_ACEOF
61269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61270 _ACEOF
61273 done
61275 else
61276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61277 $as_echo_n "checking for _long double round functions... " >&6; }
61278 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61279 $as_echo_n "(cached) " >&6
61280 else
61283 ac_ext=cpp
61284 ac_cpp='$CXXCPP $CPPFLAGS'
61285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61290 /* end confdefs.h. */
61291 #include <math.h>
61293 main ()
61295 _ceill (0); _floorl (0);
61297 return 0;
61299 _ACEOF
61300 if ac_fn_cxx_try_compile "$LINENO"; then :
61301 glibcxx_cv_func__long_double_round_use=yes
61302 else
61303 glibcxx_cv_func__long_double_round_use=no
61305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61306 ac_ext=c
61307 ac_cpp='$CPP $CPPFLAGS'
61308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61315 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61316 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61317 for ac_func in _ceill _floorl
61318 do :
61319 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61320 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61321 eval as_val=\$$as_ac_var
61322 if test "x$as_val" = x""yes; then :
61323 cat >>confdefs.h <<_ACEOF
61324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61325 _ACEOF
61328 done
61338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61339 $as_echo_n "checking for isnanl declaration... " >&6; }
61340 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61341 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61342 $as_echo_n "(cached) " >&6
61343 else
61346 ac_ext=cpp
61347 ac_cpp='$CXXCPP $CPPFLAGS'
61348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61353 /* end confdefs.h. */
61354 #include <math.h>
61355 #ifdef HAVE_IEEEFP_H
61356 #include <ieeefp.h>
61357 #endif
61360 main ()
61362 isnanl(0);
61364 return 0;
61366 _ACEOF
61367 if ac_fn_cxx_try_compile "$LINENO"; then :
61368 glibcxx_cv_func_isnanl_use=yes
61369 else
61370 glibcxx_cv_func_isnanl_use=no
61372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61373 ac_ext=c
61374 ac_cpp='$CPP $CPPFLAGS'
61375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61384 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61386 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61387 for ac_func in isnanl
61388 do :
61389 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61390 if test "x$ac_cv_func_isnanl" = x""yes; then :
61391 cat >>confdefs.h <<_ACEOF
61392 #define HAVE_ISNANL 1
61393 _ACEOF
61396 done
61398 else
61400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61401 $as_echo_n "checking for _isnanl declaration... " >&6; }
61402 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61403 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61404 $as_echo_n "(cached) " >&6
61405 else
61408 ac_ext=cpp
61409 ac_cpp='$CXXCPP $CPPFLAGS'
61410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61415 /* end confdefs.h. */
61416 #include <math.h>
61417 #ifdef HAVE_IEEEFP_H
61418 #include <ieeefp.h>
61419 #endif
61422 main ()
61424 _isnanl(0);
61426 return 0;
61428 _ACEOF
61429 if ac_fn_cxx_try_compile "$LINENO"; then :
61430 glibcxx_cv_func__isnanl_use=yes
61431 else
61432 glibcxx_cv_func__isnanl_use=no
61434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61435 ac_ext=c
61436 ac_cpp='$CPP $CPPFLAGS'
61437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61446 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61448 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61449 for ac_func in _isnanl
61450 do :
61451 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61452 if test "x$ac_cv_func__isnanl" = x""yes; then :
61453 cat >>confdefs.h <<_ACEOF
61454 #define HAVE__ISNANL 1
61455 _ACEOF
61458 done
61467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61468 $as_echo_n "checking for isinfl declaration... " >&6; }
61469 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61470 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61471 $as_echo_n "(cached) " >&6
61472 else
61475 ac_ext=cpp
61476 ac_cpp='$CXXCPP $CPPFLAGS'
61477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61482 /* end confdefs.h. */
61483 #include <math.h>
61484 #ifdef HAVE_IEEEFP_H
61485 #include <ieeefp.h>
61486 #endif
61489 main ()
61491 isinfl(0);
61493 return 0;
61495 _ACEOF
61496 if ac_fn_cxx_try_compile "$LINENO"; then :
61497 glibcxx_cv_func_isinfl_use=yes
61498 else
61499 glibcxx_cv_func_isinfl_use=no
61501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61502 ac_ext=c
61503 ac_cpp='$CPP $CPPFLAGS'
61504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61513 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61515 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61516 for ac_func in isinfl
61517 do :
61518 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61519 if test "x$ac_cv_func_isinfl" = x""yes; then :
61520 cat >>confdefs.h <<_ACEOF
61521 #define HAVE_ISINFL 1
61522 _ACEOF
61525 done
61527 else
61529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61530 $as_echo_n "checking for _isinfl declaration... " >&6; }
61531 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61532 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61533 $as_echo_n "(cached) " >&6
61534 else
61537 ac_ext=cpp
61538 ac_cpp='$CXXCPP $CPPFLAGS'
61539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61544 /* end confdefs.h. */
61545 #include <math.h>
61546 #ifdef HAVE_IEEEFP_H
61547 #include <ieeefp.h>
61548 #endif
61551 main ()
61553 _isinfl(0);
61555 return 0;
61557 _ACEOF
61558 if ac_fn_cxx_try_compile "$LINENO"; then :
61559 glibcxx_cv_func__isinfl_use=yes
61560 else
61561 glibcxx_cv_func__isinfl_use=no
61563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61564 ac_ext=c
61565 ac_cpp='$CPP $CPPFLAGS'
61566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61575 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61577 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61578 for ac_func in _isinfl
61579 do :
61580 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61581 if test "x$ac_cv_func__isinfl" = x""yes; then :
61582 cat >>confdefs.h <<_ACEOF
61583 #define HAVE__ISINFL 1
61584 _ACEOF
61587 done
61596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61597 $as_echo_n "checking for atan2l declaration... " >&6; }
61598 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61599 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61600 $as_echo_n "(cached) " >&6
61601 else
61604 ac_ext=cpp
61605 ac_cpp='$CXXCPP $CPPFLAGS'
61606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61611 /* end confdefs.h. */
61612 #include <math.h>
61614 main ()
61616 atan2l(0, 0);
61618 return 0;
61620 _ACEOF
61621 if ac_fn_cxx_try_compile "$LINENO"; then :
61622 glibcxx_cv_func_atan2l_use=yes
61623 else
61624 glibcxx_cv_func_atan2l_use=no
61626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61627 ac_ext=c
61628 ac_cpp='$CPP $CPPFLAGS'
61629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61638 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61640 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61641 for ac_func in atan2l
61642 do :
61643 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61644 if test "x$ac_cv_func_atan2l" = x""yes; then :
61645 cat >>confdefs.h <<_ACEOF
61646 #define HAVE_ATAN2L 1
61647 _ACEOF
61650 done
61652 else
61654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61655 $as_echo_n "checking for _atan2l declaration... " >&6; }
61656 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61657 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61658 $as_echo_n "(cached) " >&6
61659 else
61662 ac_ext=cpp
61663 ac_cpp='$CXXCPP $CPPFLAGS'
61664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61669 /* end confdefs.h. */
61670 #include <math.h>
61672 main ()
61674 _atan2l(0, 0);
61676 return 0;
61678 _ACEOF
61679 if ac_fn_cxx_try_compile "$LINENO"; then :
61680 glibcxx_cv_func__atan2l_use=yes
61681 else
61682 glibcxx_cv_func__atan2l_use=no
61684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61685 ac_ext=c
61686 ac_cpp='$CPP $CPPFLAGS'
61687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61696 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61698 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61699 for ac_func in _atan2l
61700 do :
61701 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61702 if test "x$ac_cv_func__atan2l" = x""yes; then :
61703 cat >>confdefs.h <<_ACEOF
61704 #define HAVE__ATAN2L 1
61705 _ACEOF
61708 done
61717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61718 $as_echo_n "checking for expl declaration... " >&6; }
61719 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61720 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61721 $as_echo_n "(cached) " >&6
61722 else
61725 ac_ext=cpp
61726 ac_cpp='$CXXCPP $CPPFLAGS'
61727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61732 /* end confdefs.h. */
61733 #include <math.h>
61734 #ifdef HAVE_IEEEFP_H
61735 #include <ieeefp.h>
61736 #endif
61739 main ()
61741 expl(0);
61743 return 0;
61745 _ACEOF
61746 if ac_fn_cxx_try_compile "$LINENO"; then :
61747 glibcxx_cv_func_expl_use=yes
61748 else
61749 glibcxx_cv_func_expl_use=no
61751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61752 ac_ext=c
61753 ac_cpp='$CPP $CPPFLAGS'
61754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61763 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61765 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61766 for ac_func in expl
61767 do :
61768 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61769 if test "x$ac_cv_func_expl" = x""yes; then :
61770 cat >>confdefs.h <<_ACEOF
61771 #define HAVE_EXPL 1
61772 _ACEOF
61775 done
61777 else
61779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61780 $as_echo_n "checking for _expl declaration... " >&6; }
61781 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61782 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61783 $as_echo_n "(cached) " >&6
61784 else
61787 ac_ext=cpp
61788 ac_cpp='$CXXCPP $CPPFLAGS'
61789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61794 /* end confdefs.h. */
61795 #include <math.h>
61796 #ifdef HAVE_IEEEFP_H
61797 #include <ieeefp.h>
61798 #endif
61801 main ()
61803 _expl(0);
61805 return 0;
61807 _ACEOF
61808 if ac_fn_cxx_try_compile "$LINENO"; then :
61809 glibcxx_cv_func__expl_use=yes
61810 else
61811 glibcxx_cv_func__expl_use=no
61813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61814 ac_ext=c
61815 ac_cpp='$CPP $CPPFLAGS'
61816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61825 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61827 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61828 for ac_func in _expl
61829 do :
61830 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61831 if test "x$ac_cv_func__expl" = x""yes; then :
61832 cat >>confdefs.h <<_ACEOF
61833 #define HAVE__EXPL 1
61834 _ACEOF
61837 done
61846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61847 $as_echo_n "checking for fabsl declaration... " >&6; }
61848 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61849 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61850 $as_echo_n "(cached) " >&6
61851 else
61854 ac_ext=cpp
61855 ac_cpp='$CXXCPP $CPPFLAGS'
61856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61861 /* end confdefs.h. */
61862 #include <math.h>
61863 #ifdef HAVE_IEEEFP_H
61864 #include <ieeefp.h>
61865 #endif
61868 main ()
61870 fabsl(0);
61872 return 0;
61874 _ACEOF
61875 if ac_fn_cxx_try_compile "$LINENO"; then :
61876 glibcxx_cv_func_fabsl_use=yes
61877 else
61878 glibcxx_cv_func_fabsl_use=no
61880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61881 ac_ext=c
61882 ac_cpp='$CPP $CPPFLAGS'
61883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61892 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61894 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61895 for ac_func in fabsl
61896 do :
61897 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61898 if test "x$ac_cv_func_fabsl" = x""yes; then :
61899 cat >>confdefs.h <<_ACEOF
61900 #define HAVE_FABSL 1
61901 _ACEOF
61904 done
61906 else
61908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61909 $as_echo_n "checking for _fabsl declaration... " >&6; }
61910 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61911 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61912 $as_echo_n "(cached) " >&6
61913 else
61916 ac_ext=cpp
61917 ac_cpp='$CXXCPP $CPPFLAGS'
61918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61923 /* end confdefs.h. */
61924 #include <math.h>
61925 #ifdef HAVE_IEEEFP_H
61926 #include <ieeefp.h>
61927 #endif
61930 main ()
61932 _fabsl(0);
61934 return 0;
61936 _ACEOF
61937 if ac_fn_cxx_try_compile "$LINENO"; then :
61938 glibcxx_cv_func__fabsl_use=yes
61939 else
61940 glibcxx_cv_func__fabsl_use=no
61942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61943 ac_ext=c
61944 ac_cpp='$CPP $CPPFLAGS'
61945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61954 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61956 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61957 for ac_func in _fabsl
61958 do :
61959 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61960 if test "x$ac_cv_func__fabsl" = x""yes; then :
61961 cat >>confdefs.h <<_ACEOF
61962 #define HAVE__FABSL 1
61963 _ACEOF
61966 done
61975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61976 $as_echo_n "checking for fmodl declaration... " >&6; }
61977 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61978 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61979 $as_echo_n "(cached) " >&6
61980 else
61983 ac_ext=cpp
61984 ac_cpp='$CXXCPP $CPPFLAGS'
61985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61990 /* end confdefs.h. */
61991 #include <math.h>
61993 main ()
61995 fmodl(0, 0);
61997 return 0;
61999 _ACEOF
62000 if ac_fn_cxx_try_compile "$LINENO"; then :
62001 glibcxx_cv_func_fmodl_use=yes
62002 else
62003 glibcxx_cv_func_fmodl_use=no
62005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62006 ac_ext=c
62007 ac_cpp='$CPP $CPPFLAGS'
62008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62017 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62019 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62020 for ac_func in fmodl
62021 do :
62022 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62023 if test "x$ac_cv_func_fmodl" = x""yes; then :
62024 cat >>confdefs.h <<_ACEOF
62025 #define HAVE_FMODL 1
62026 _ACEOF
62029 done
62031 else
62033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62034 $as_echo_n "checking for _fmodl declaration... " >&6; }
62035 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62036 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62037 $as_echo_n "(cached) " >&6
62038 else
62041 ac_ext=cpp
62042 ac_cpp='$CXXCPP $CPPFLAGS'
62043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62048 /* end confdefs.h. */
62049 #include <math.h>
62051 main ()
62053 _fmodl(0, 0);
62055 return 0;
62057 _ACEOF
62058 if ac_fn_cxx_try_compile "$LINENO"; then :
62059 glibcxx_cv_func__fmodl_use=yes
62060 else
62061 glibcxx_cv_func__fmodl_use=no
62063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62064 ac_ext=c
62065 ac_cpp='$CPP $CPPFLAGS'
62066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62075 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62077 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62078 for ac_func in _fmodl
62079 do :
62080 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62081 if test "x$ac_cv_func__fmodl" = x""yes; then :
62082 cat >>confdefs.h <<_ACEOF
62083 #define HAVE__FMODL 1
62084 _ACEOF
62087 done
62096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62097 $as_echo_n "checking for frexpl declaration... " >&6; }
62098 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62099 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62100 $as_echo_n "(cached) " >&6
62101 else
62104 ac_ext=cpp
62105 ac_cpp='$CXXCPP $CPPFLAGS'
62106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62111 /* end confdefs.h. */
62112 #include <math.h>
62114 main ()
62116 frexpl(0, 0);
62118 return 0;
62120 _ACEOF
62121 if ac_fn_cxx_try_compile "$LINENO"; then :
62122 glibcxx_cv_func_frexpl_use=yes
62123 else
62124 glibcxx_cv_func_frexpl_use=no
62126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62127 ac_ext=c
62128 ac_cpp='$CPP $CPPFLAGS'
62129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62138 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62140 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62141 for ac_func in frexpl
62142 do :
62143 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62144 if test "x$ac_cv_func_frexpl" = x""yes; then :
62145 cat >>confdefs.h <<_ACEOF
62146 #define HAVE_FREXPL 1
62147 _ACEOF
62150 done
62152 else
62154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62155 $as_echo_n "checking for _frexpl declaration... " >&6; }
62156 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62157 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62158 $as_echo_n "(cached) " >&6
62159 else
62162 ac_ext=cpp
62163 ac_cpp='$CXXCPP $CPPFLAGS'
62164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62169 /* end confdefs.h. */
62170 #include <math.h>
62172 main ()
62174 _frexpl(0, 0);
62176 return 0;
62178 _ACEOF
62179 if ac_fn_cxx_try_compile "$LINENO"; then :
62180 glibcxx_cv_func__frexpl_use=yes
62181 else
62182 glibcxx_cv_func__frexpl_use=no
62184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62185 ac_ext=c
62186 ac_cpp='$CPP $CPPFLAGS'
62187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62196 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62198 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62199 for ac_func in _frexpl
62200 do :
62201 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62202 if test "x$ac_cv_func__frexpl" = x""yes; then :
62203 cat >>confdefs.h <<_ACEOF
62204 #define HAVE__FREXPL 1
62205 _ACEOF
62208 done
62217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62218 $as_echo_n "checking for hypotl declaration... " >&6; }
62219 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62220 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62221 $as_echo_n "(cached) " >&6
62222 else
62225 ac_ext=cpp
62226 ac_cpp='$CXXCPP $CPPFLAGS'
62227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62232 /* end confdefs.h. */
62233 #include <math.h>
62235 main ()
62237 hypotl(0, 0);
62239 return 0;
62241 _ACEOF
62242 if ac_fn_cxx_try_compile "$LINENO"; then :
62243 glibcxx_cv_func_hypotl_use=yes
62244 else
62245 glibcxx_cv_func_hypotl_use=no
62247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62248 ac_ext=c
62249 ac_cpp='$CPP $CPPFLAGS'
62250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62259 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62261 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62262 for ac_func in hypotl
62263 do :
62264 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62265 if test "x$ac_cv_func_hypotl" = x""yes; then :
62266 cat >>confdefs.h <<_ACEOF
62267 #define HAVE_HYPOTL 1
62268 _ACEOF
62271 done
62273 else
62275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62276 $as_echo_n "checking for _hypotl declaration... " >&6; }
62277 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62278 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62279 $as_echo_n "(cached) " >&6
62280 else
62283 ac_ext=cpp
62284 ac_cpp='$CXXCPP $CPPFLAGS'
62285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62290 /* end confdefs.h. */
62291 #include <math.h>
62293 main ()
62295 _hypotl(0, 0);
62297 return 0;
62299 _ACEOF
62300 if ac_fn_cxx_try_compile "$LINENO"; then :
62301 glibcxx_cv_func__hypotl_use=yes
62302 else
62303 glibcxx_cv_func__hypotl_use=no
62305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62306 ac_ext=c
62307 ac_cpp='$CPP $CPPFLAGS'
62308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62317 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62319 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62320 for ac_func in _hypotl
62321 do :
62322 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62323 if test "x$ac_cv_func__hypotl" = x""yes; then :
62324 cat >>confdefs.h <<_ACEOF
62325 #define HAVE__HYPOTL 1
62326 _ACEOF
62329 done
62338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62339 $as_echo_n "checking for ldexpl declaration... " >&6; }
62340 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62341 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62342 $as_echo_n "(cached) " >&6
62343 else
62346 ac_ext=cpp
62347 ac_cpp='$CXXCPP $CPPFLAGS'
62348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62353 /* end confdefs.h. */
62354 #include <math.h>
62356 main ()
62358 ldexpl(0, 0);
62360 return 0;
62362 _ACEOF
62363 if ac_fn_cxx_try_compile "$LINENO"; then :
62364 glibcxx_cv_func_ldexpl_use=yes
62365 else
62366 glibcxx_cv_func_ldexpl_use=no
62368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62369 ac_ext=c
62370 ac_cpp='$CPP $CPPFLAGS'
62371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62380 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62382 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62383 for ac_func in ldexpl
62384 do :
62385 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62386 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62387 cat >>confdefs.h <<_ACEOF
62388 #define HAVE_LDEXPL 1
62389 _ACEOF
62392 done
62394 else
62396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62397 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62398 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62399 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62400 $as_echo_n "(cached) " >&6
62401 else
62404 ac_ext=cpp
62405 ac_cpp='$CXXCPP $CPPFLAGS'
62406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62411 /* end confdefs.h. */
62412 #include <math.h>
62414 main ()
62416 _ldexpl(0, 0);
62418 return 0;
62420 _ACEOF
62421 if ac_fn_cxx_try_compile "$LINENO"; then :
62422 glibcxx_cv_func__ldexpl_use=yes
62423 else
62424 glibcxx_cv_func__ldexpl_use=no
62426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62427 ac_ext=c
62428 ac_cpp='$CPP $CPPFLAGS'
62429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62438 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62440 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62441 for ac_func in _ldexpl
62442 do :
62443 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62444 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62445 cat >>confdefs.h <<_ACEOF
62446 #define HAVE__LDEXPL 1
62447 _ACEOF
62450 done
62459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62460 $as_echo_n "checking for logl declaration... " >&6; }
62461 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62462 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62463 $as_echo_n "(cached) " >&6
62464 else
62467 ac_ext=cpp
62468 ac_cpp='$CXXCPP $CPPFLAGS'
62469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62474 /* end confdefs.h. */
62475 #include <math.h>
62476 #ifdef HAVE_IEEEFP_H
62477 #include <ieeefp.h>
62478 #endif
62481 main ()
62483 logl(0);
62485 return 0;
62487 _ACEOF
62488 if ac_fn_cxx_try_compile "$LINENO"; then :
62489 glibcxx_cv_func_logl_use=yes
62490 else
62491 glibcxx_cv_func_logl_use=no
62493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62494 ac_ext=c
62495 ac_cpp='$CPP $CPPFLAGS'
62496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62505 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62507 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62508 for ac_func in logl
62509 do :
62510 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62511 if test "x$ac_cv_func_logl" = x""yes; then :
62512 cat >>confdefs.h <<_ACEOF
62513 #define HAVE_LOGL 1
62514 _ACEOF
62517 done
62519 else
62521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62522 $as_echo_n "checking for _logl declaration... " >&6; }
62523 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62524 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62525 $as_echo_n "(cached) " >&6
62526 else
62529 ac_ext=cpp
62530 ac_cpp='$CXXCPP $CPPFLAGS'
62531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62536 /* end confdefs.h. */
62537 #include <math.h>
62538 #ifdef HAVE_IEEEFP_H
62539 #include <ieeefp.h>
62540 #endif
62543 main ()
62545 _logl(0);
62547 return 0;
62549 _ACEOF
62550 if ac_fn_cxx_try_compile "$LINENO"; then :
62551 glibcxx_cv_func__logl_use=yes
62552 else
62553 glibcxx_cv_func__logl_use=no
62555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62556 ac_ext=c
62557 ac_cpp='$CPP $CPPFLAGS'
62558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62567 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62569 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62570 for ac_func in _logl
62571 do :
62572 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62573 if test "x$ac_cv_func__logl" = x""yes; then :
62574 cat >>confdefs.h <<_ACEOF
62575 #define HAVE__LOGL 1
62576 _ACEOF
62579 done
62588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62589 $as_echo_n "checking for log10l declaration... " >&6; }
62590 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62591 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62592 $as_echo_n "(cached) " >&6
62593 else
62596 ac_ext=cpp
62597 ac_cpp='$CXXCPP $CPPFLAGS'
62598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62603 /* end confdefs.h. */
62604 #include <math.h>
62605 #ifdef HAVE_IEEEFP_H
62606 #include <ieeefp.h>
62607 #endif
62610 main ()
62612 log10l(0);
62614 return 0;
62616 _ACEOF
62617 if ac_fn_cxx_try_compile "$LINENO"; then :
62618 glibcxx_cv_func_log10l_use=yes
62619 else
62620 glibcxx_cv_func_log10l_use=no
62622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62623 ac_ext=c
62624 ac_cpp='$CPP $CPPFLAGS'
62625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62634 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62636 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62637 for ac_func in log10l
62638 do :
62639 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62640 if test "x$ac_cv_func_log10l" = x""yes; then :
62641 cat >>confdefs.h <<_ACEOF
62642 #define HAVE_LOG10L 1
62643 _ACEOF
62646 done
62648 else
62650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62651 $as_echo_n "checking for _log10l declaration... " >&6; }
62652 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62653 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62654 $as_echo_n "(cached) " >&6
62655 else
62658 ac_ext=cpp
62659 ac_cpp='$CXXCPP $CPPFLAGS'
62660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62665 /* end confdefs.h. */
62666 #include <math.h>
62667 #ifdef HAVE_IEEEFP_H
62668 #include <ieeefp.h>
62669 #endif
62672 main ()
62674 _log10l(0);
62676 return 0;
62678 _ACEOF
62679 if ac_fn_cxx_try_compile "$LINENO"; then :
62680 glibcxx_cv_func__log10l_use=yes
62681 else
62682 glibcxx_cv_func__log10l_use=no
62684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62685 ac_ext=c
62686 ac_cpp='$CPP $CPPFLAGS'
62687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62696 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62698 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62699 for ac_func in _log10l
62700 do :
62701 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62702 if test "x$ac_cv_func__log10l" = x""yes; then :
62703 cat >>confdefs.h <<_ACEOF
62704 #define HAVE__LOG10L 1
62705 _ACEOF
62708 done
62717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62718 $as_echo_n "checking for modfl declaration... " >&6; }
62719 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62720 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62721 $as_echo_n "(cached) " >&6
62722 else
62725 ac_ext=cpp
62726 ac_cpp='$CXXCPP $CPPFLAGS'
62727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62732 /* end confdefs.h. */
62733 #include <math.h>
62735 main ()
62737 modfl(0, 0);
62739 return 0;
62741 _ACEOF
62742 if ac_fn_cxx_try_compile "$LINENO"; then :
62743 glibcxx_cv_func_modfl_use=yes
62744 else
62745 glibcxx_cv_func_modfl_use=no
62747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62748 ac_ext=c
62749 ac_cpp='$CPP $CPPFLAGS'
62750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62759 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62761 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62762 for ac_func in modfl
62763 do :
62764 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62765 if test "x$ac_cv_func_modfl" = x""yes; then :
62766 cat >>confdefs.h <<_ACEOF
62767 #define HAVE_MODFL 1
62768 _ACEOF
62771 done
62773 else
62775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62776 $as_echo_n "checking for _modfl declaration... " >&6; }
62777 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62778 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62779 $as_echo_n "(cached) " >&6
62780 else
62783 ac_ext=cpp
62784 ac_cpp='$CXXCPP $CPPFLAGS'
62785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62790 /* end confdefs.h. */
62791 #include <math.h>
62793 main ()
62795 _modfl(0, 0);
62797 return 0;
62799 _ACEOF
62800 if ac_fn_cxx_try_compile "$LINENO"; then :
62801 glibcxx_cv_func__modfl_use=yes
62802 else
62803 glibcxx_cv_func__modfl_use=no
62805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62806 ac_ext=c
62807 ac_cpp='$CPP $CPPFLAGS'
62808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62817 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62819 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62820 for ac_func in _modfl
62821 do :
62822 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62823 if test "x$ac_cv_func__modfl" = x""yes; then :
62824 cat >>confdefs.h <<_ACEOF
62825 #define HAVE__MODFL 1
62826 _ACEOF
62829 done
62838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62839 $as_echo_n "checking for powl declaration... " >&6; }
62840 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62841 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62842 $as_echo_n "(cached) " >&6
62843 else
62846 ac_ext=cpp
62847 ac_cpp='$CXXCPP $CPPFLAGS'
62848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62853 /* end confdefs.h. */
62854 #include <math.h>
62856 main ()
62858 powl(0, 0);
62860 return 0;
62862 _ACEOF
62863 if ac_fn_cxx_try_compile "$LINENO"; then :
62864 glibcxx_cv_func_powl_use=yes
62865 else
62866 glibcxx_cv_func_powl_use=no
62868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62869 ac_ext=c
62870 ac_cpp='$CPP $CPPFLAGS'
62871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62880 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62882 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62883 for ac_func in powl
62884 do :
62885 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62886 if test "x$ac_cv_func_powl" = x""yes; then :
62887 cat >>confdefs.h <<_ACEOF
62888 #define HAVE_POWL 1
62889 _ACEOF
62892 done
62894 else
62896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62897 $as_echo_n "checking for _powl declaration... " >&6; }
62898 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62899 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62900 $as_echo_n "(cached) " >&6
62901 else
62904 ac_ext=cpp
62905 ac_cpp='$CXXCPP $CPPFLAGS'
62906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62911 /* end confdefs.h. */
62912 #include <math.h>
62914 main ()
62916 _powl(0, 0);
62918 return 0;
62920 _ACEOF
62921 if ac_fn_cxx_try_compile "$LINENO"; then :
62922 glibcxx_cv_func__powl_use=yes
62923 else
62924 glibcxx_cv_func__powl_use=no
62926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62927 ac_ext=c
62928 ac_cpp='$CPP $CPPFLAGS'
62929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62938 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62940 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62941 for ac_func in _powl
62942 do :
62943 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62944 if test "x$ac_cv_func__powl" = x""yes; then :
62945 cat >>confdefs.h <<_ACEOF
62946 #define HAVE__POWL 1
62947 _ACEOF
62950 done
62959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62960 $as_echo_n "checking for sqrtl declaration... " >&6; }
62961 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62962 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62963 $as_echo_n "(cached) " >&6
62964 else
62967 ac_ext=cpp
62968 ac_cpp='$CXXCPP $CPPFLAGS'
62969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62974 /* end confdefs.h. */
62975 #include <math.h>
62976 #ifdef HAVE_IEEEFP_H
62977 #include <ieeefp.h>
62978 #endif
62981 main ()
62983 sqrtl(0);
62985 return 0;
62987 _ACEOF
62988 if ac_fn_cxx_try_compile "$LINENO"; then :
62989 glibcxx_cv_func_sqrtl_use=yes
62990 else
62991 glibcxx_cv_func_sqrtl_use=no
62993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62994 ac_ext=c
62995 ac_cpp='$CPP $CPPFLAGS'
62996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63005 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63007 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63008 for ac_func in sqrtl
63009 do :
63010 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63011 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63012 cat >>confdefs.h <<_ACEOF
63013 #define HAVE_SQRTL 1
63014 _ACEOF
63017 done
63019 else
63021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63022 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63023 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63024 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63025 $as_echo_n "(cached) " >&6
63026 else
63029 ac_ext=cpp
63030 ac_cpp='$CXXCPP $CPPFLAGS'
63031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63036 /* end confdefs.h. */
63037 #include <math.h>
63038 #ifdef HAVE_IEEEFP_H
63039 #include <ieeefp.h>
63040 #endif
63043 main ()
63045 _sqrtl(0);
63047 return 0;
63049 _ACEOF
63050 if ac_fn_cxx_try_compile "$LINENO"; then :
63051 glibcxx_cv_func__sqrtl_use=yes
63052 else
63053 glibcxx_cv_func__sqrtl_use=no
63055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63056 ac_ext=c
63057 ac_cpp='$CPP $CPPFLAGS'
63058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63067 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63069 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63070 for ac_func in _sqrtl
63071 do :
63072 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63073 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63074 cat >>confdefs.h <<_ACEOF
63075 #define HAVE__SQRTL 1
63076 _ACEOF
63079 done
63088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63089 $as_echo_n "checking for sincosl declaration... " >&6; }
63090 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63091 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63092 $as_echo_n "(cached) " >&6
63093 else
63096 ac_ext=cpp
63097 ac_cpp='$CXXCPP $CPPFLAGS'
63098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63103 /* end confdefs.h. */
63104 #include <math.h>
63106 main ()
63108 sincosl(0, 0, 0);
63110 return 0;
63112 _ACEOF
63113 if ac_fn_cxx_try_compile "$LINENO"; then :
63114 glibcxx_cv_func_sincosl_use=yes
63115 else
63116 glibcxx_cv_func_sincosl_use=no
63118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63119 ac_ext=c
63120 ac_cpp='$CPP $CPPFLAGS'
63121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63130 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63132 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63133 for ac_func in sincosl
63134 do :
63135 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63136 if test "x$ac_cv_func_sincosl" = x""yes; then :
63137 cat >>confdefs.h <<_ACEOF
63138 #define HAVE_SINCOSL 1
63139 _ACEOF
63142 done
63144 else
63146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63147 $as_echo_n "checking for _sincosl declaration... " >&6; }
63148 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63149 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63150 $as_echo_n "(cached) " >&6
63151 else
63154 ac_ext=cpp
63155 ac_cpp='$CXXCPP $CPPFLAGS'
63156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63161 /* end confdefs.h. */
63162 #include <math.h>
63164 main ()
63166 _sincosl(0, 0, 0);
63168 return 0;
63170 _ACEOF
63171 if ac_fn_cxx_try_compile "$LINENO"; then :
63172 glibcxx_cv_func__sincosl_use=yes
63173 else
63174 glibcxx_cv_func__sincosl_use=no
63176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63177 ac_ext=c
63178 ac_cpp='$CPP $CPPFLAGS'
63179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63188 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63190 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63191 for ac_func in _sincosl
63192 do :
63193 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63194 if test "x$ac_cv_func__sincosl" = x""yes; then :
63195 cat >>confdefs.h <<_ACEOF
63196 #define HAVE__SINCOSL 1
63197 _ACEOF
63200 done
63209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63210 $as_echo_n "checking for finitel declaration... " >&6; }
63211 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63212 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63213 $as_echo_n "(cached) " >&6
63214 else
63217 ac_ext=cpp
63218 ac_cpp='$CXXCPP $CPPFLAGS'
63219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63224 /* end confdefs.h. */
63225 #include <math.h>
63226 #ifdef HAVE_IEEEFP_H
63227 #include <ieeefp.h>
63228 #endif
63231 main ()
63233 finitel(0);
63235 return 0;
63237 _ACEOF
63238 if ac_fn_cxx_try_compile "$LINENO"; then :
63239 glibcxx_cv_func_finitel_use=yes
63240 else
63241 glibcxx_cv_func_finitel_use=no
63243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63244 ac_ext=c
63245 ac_cpp='$CPP $CPPFLAGS'
63246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63255 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63257 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63258 for ac_func in finitel
63259 do :
63260 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63261 if test "x$ac_cv_func_finitel" = x""yes; then :
63262 cat >>confdefs.h <<_ACEOF
63263 #define HAVE_FINITEL 1
63264 _ACEOF
63267 done
63269 else
63271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63272 $as_echo_n "checking for _finitel declaration... " >&6; }
63273 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63274 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63275 $as_echo_n "(cached) " >&6
63276 else
63279 ac_ext=cpp
63280 ac_cpp='$CXXCPP $CPPFLAGS'
63281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63286 /* end confdefs.h. */
63287 #include <math.h>
63288 #ifdef HAVE_IEEEFP_H
63289 #include <ieeefp.h>
63290 #endif
63293 main ()
63295 _finitel(0);
63297 return 0;
63299 _ACEOF
63300 if ac_fn_cxx_try_compile "$LINENO"; then :
63301 glibcxx_cv_func__finitel_use=yes
63302 else
63303 glibcxx_cv_func__finitel_use=no
63305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63306 ac_ext=c
63307 ac_cpp='$CPP $CPPFLAGS'
63308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63317 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63319 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63320 for ac_func in _finitel
63321 do :
63322 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63323 if test "x$ac_cv_func__finitel" = x""yes; then :
63324 cat >>confdefs.h <<_ACEOF
63325 #define HAVE__FINITEL 1
63326 _ACEOF
63329 done
63337 LIBS="$ac_save_LIBS"
63338 CXXFLAGS="$ac_save_CXXFLAGS"
63341 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63342 ac_save_CXXFLAGS="$CXXFLAGS"
63343 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63347 $as_echo_n "checking for strtold declaration... " >&6; }
63348 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63349 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63350 $as_echo_n "(cached) " >&6
63351 else
63354 ac_ext=cpp
63355 ac_cpp='$CXXCPP $CPPFLAGS'
63356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63361 /* end confdefs.h. */
63362 #include <stdlib.h>
63364 main ()
63366 strtold(0, 0);
63368 return 0;
63370 _ACEOF
63371 if ac_fn_cxx_try_compile "$LINENO"; then :
63372 glibcxx_cv_func_strtold_use=yes
63373 else
63374 glibcxx_cv_func_strtold_use=no
63376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63377 ac_ext=c
63378 ac_cpp='$CPP $CPPFLAGS'
63379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63388 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63389 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63390 for ac_func in strtold
63391 do :
63392 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63393 if test "x$ac_cv_func_strtold" = x""yes; then :
63394 cat >>confdefs.h <<_ACEOF
63395 #define HAVE_STRTOLD 1
63396 _ACEOF
63399 done
63406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63407 $as_echo_n "checking for strtof declaration... " >&6; }
63408 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63409 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63410 $as_echo_n "(cached) " >&6
63411 else
63414 ac_ext=cpp
63415 ac_cpp='$CXXCPP $CPPFLAGS'
63416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63421 /* end confdefs.h. */
63422 #include <stdlib.h>
63424 main ()
63426 strtof(0, 0);
63428 return 0;
63430 _ACEOF
63431 if ac_fn_cxx_try_compile "$LINENO"; then :
63432 glibcxx_cv_func_strtof_use=yes
63433 else
63434 glibcxx_cv_func_strtof_use=no
63436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63437 ac_ext=c
63438 ac_cpp='$CPP $CPPFLAGS'
63439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63448 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63449 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63450 for ac_func in strtof
63451 do :
63452 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63453 if test "x$ac_cv_func_strtof" = x""yes; then :
63454 cat >>confdefs.h <<_ACEOF
63455 #define HAVE_STRTOF 1
63456 _ACEOF
63459 done
63466 CXXFLAGS="$ac_save_CXXFLAGS"
63469 *-solaris*)
63470 case "$target" in
63471 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63473 # If we're not using GNU ld, then there's no point in even trying these
63474 # tests. Check for that first. We should have already tested for gld
63475 # by now (in libtool), but require it now just to be safe...
63476 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63477 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63481 # The name set by libtool depends on the version of libtool. Shame on us
63482 # for depending on an impl detail, but c'est la vie. Older versions used
63483 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63484 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63485 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63486 # set (hence we're using an older libtool), then set it.
63487 if test x${with_gnu_ld+set} != xset; then
63488 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63489 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63490 with_gnu_ld=no
63491 else
63492 with_gnu_ld=$ac_cv_prog_gnu_ld
63496 # Start by getting the version number. I think the libtool test already
63497 # does some of this, but throws away the result.
63498 glibcxx_ld_is_gold=no
63499 if test x"$with_gnu_ld" = x"yes"; then
63500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63501 $as_echo_n "checking for ld version... " >&6; }
63503 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63504 glibcxx_ld_is_gold=yes
63506 ldver=`$LD --version 2>/dev/null |
63507 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'`
63509 glibcxx_gnu_ld_version=`echo $ldver | \
63510 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63512 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63515 # Set --gc-sections.
63516 glibcxx_have_gc_sections=no
63517 if test "$glibcxx_ld_is_gold" = "yes"; then
63518 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63519 glibcxx_have_gc_sections=yes
63521 else
63522 glibcxx_gcsections_min_ld=21602
63523 if test x"$with_gnu_ld" = x"yes" &&
63524 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63525 glibcxx_have_gc_sections=yes
63528 if test "$glibcxx_have_gc_sections" = "yes"; then
63529 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63530 # NB: This flag only works reliably after 2.16.1. Configure tests
63531 # for this are difficult, so hard wire a value that should work.
63533 ac_test_CFLAGS="${CFLAGS+set}"
63534 ac_save_CFLAGS="$CFLAGS"
63535 CFLAGS='-Wl,--gc-sections'
63537 # Check for -Wl,--gc-sections
63538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63539 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63540 if test x$gcc_no_link = xyes; then
63541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63544 /* end confdefs.h. */
63545 int one(void) { return 1; }
63546 int two(void) { return 2; }
63549 main ()
63551 two();
63553 return 0;
63555 _ACEOF
63556 if ac_fn_c_try_link "$LINENO"; then :
63557 ac_gcsections=yes
63558 else
63559 ac_gcsections=no
63561 rm -f core conftest.err conftest.$ac_objext \
63562 conftest$ac_exeext conftest.$ac_ext
63563 if test "$ac_gcsections" = "yes"; then
63564 rm -f conftest.c
63565 touch conftest.c
63566 if $CC -c conftest.c; then
63567 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63568 grep "Warning: gc-sections option ignored" > /dev/null; then
63569 ac_gcsections=no
63572 rm -f conftest.c conftest.o conftest
63574 if test "$ac_gcsections" = "yes"; then
63575 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63578 $as_echo "$ac_gcsections" >&6; }
63580 if test "$ac_test_CFLAGS" = set; then
63581 CFLAGS="$ac_save_CFLAGS"
63582 else
63583 # this is the suspicious part
63584 CFLAGS=''
63588 # Set -z,relro.
63589 # Note this is only for shared objects.
63590 ac_ld_relro=no
63591 if test x"$with_gnu_ld" = x"yes"; then
63592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63593 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63594 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63595 if test -n "$cxx_z_relo"; then
63596 OPT_LDFLAGS="-Wl,-z,relro"
63597 ac_ld_relro=yes
63599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63600 $as_echo "$ac_ld_relro" >&6; }
63603 # Set linker optimization flags.
63604 if test x"$with_gnu_ld" = x"yes"; then
63605 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63611 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63613 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63615 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63617 # All of the dependencies for wide character support are here, so
63618 # turn it on.
63619 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63622 esac
63623 case "$target" in
63624 *-*-solaris2.10)
63625 # These two C99 functions are present only in Solaris >= 10
63626 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63628 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63631 esac
63632 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63634 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63636 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63638 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63641 *-tpf)
63642 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63645 # If we're not using GNU ld, then there's no point in even trying these
63646 # tests. Check for that first. We should have already tested for gld
63647 # by now (in libtool), but require it now just to be safe...
63648 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63649 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63653 # The name set by libtool depends on the version of libtool. Shame on us
63654 # for depending on an impl detail, but c'est la vie. Older versions used
63655 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63656 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63657 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63658 # set (hence we're using an older libtool), then set it.
63659 if test x${with_gnu_ld+set} != xset; then
63660 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63661 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63662 with_gnu_ld=no
63663 else
63664 with_gnu_ld=$ac_cv_prog_gnu_ld
63668 # Start by getting the version number. I think the libtool test already
63669 # does some of this, but throws away the result.
63670 glibcxx_ld_is_gold=no
63671 if test x"$with_gnu_ld" = x"yes"; then
63672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63673 $as_echo_n "checking for ld version... " >&6; }
63675 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63676 glibcxx_ld_is_gold=yes
63678 ldver=`$LD --version 2>/dev/null |
63679 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'`
63681 glibcxx_gnu_ld_version=`echo $ldver | \
63682 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63684 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63687 # Set --gc-sections.
63688 glibcxx_have_gc_sections=no
63689 if test "$glibcxx_ld_is_gold" = "yes"; then
63690 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63691 glibcxx_have_gc_sections=yes
63693 else
63694 glibcxx_gcsections_min_ld=21602
63695 if test x"$with_gnu_ld" = x"yes" &&
63696 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63697 glibcxx_have_gc_sections=yes
63700 if test "$glibcxx_have_gc_sections" = "yes"; then
63701 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63702 # NB: This flag only works reliably after 2.16.1. Configure tests
63703 # for this are difficult, so hard wire a value that should work.
63705 ac_test_CFLAGS="${CFLAGS+set}"
63706 ac_save_CFLAGS="$CFLAGS"
63707 CFLAGS='-Wl,--gc-sections'
63709 # Check for -Wl,--gc-sections
63710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63711 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63712 if test x$gcc_no_link = xyes; then
63713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63716 /* end confdefs.h. */
63717 int one(void) { return 1; }
63718 int two(void) { return 2; }
63721 main ()
63723 two();
63725 return 0;
63727 _ACEOF
63728 if ac_fn_c_try_link "$LINENO"; then :
63729 ac_gcsections=yes
63730 else
63731 ac_gcsections=no
63733 rm -f core conftest.err conftest.$ac_objext \
63734 conftest$ac_exeext conftest.$ac_ext
63735 if test "$ac_gcsections" = "yes"; then
63736 rm -f conftest.c
63737 touch conftest.c
63738 if $CC -c conftest.c; then
63739 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63740 grep "Warning: gc-sections option ignored" > /dev/null; then
63741 ac_gcsections=no
63744 rm -f conftest.c conftest.o conftest
63746 if test "$ac_gcsections" = "yes"; then
63747 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63750 $as_echo "$ac_gcsections" >&6; }
63752 if test "$ac_test_CFLAGS" = set; then
63753 CFLAGS="$ac_save_CFLAGS"
63754 else
63755 # this is the suspicious part
63756 CFLAGS=''
63760 # Set -z,relro.
63761 # Note this is only for shared objects.
63762 ac_ld_relro=no
63763 if test x"$with_gnu_ld" = x"yes"; then
63764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63765 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63766 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63767 if test -n "$cxx_z_relo"; then
63768 OPT_LDFLAGS="-Wl,-z,relro"
63769 ac_ld_relro=yes
63771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63772 $as_echo "$ac_ld_relro" >&6; }
63775 # Set linker optimization flags.
63776 if test x"$with_gnu_ld" = x"yes"; then
63777 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63783 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63785 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63787 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63789 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63791 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63793 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63795 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63797 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63799 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63801 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63803 if test x"long_double_math_on_this_cpu" = x"yes"; then
63804 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63806 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63808 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63810 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63814 *-vxworks)
63815 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63817 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63819 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63821 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63823 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63825 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63827 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63829 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63831 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63833 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63835 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63837 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63839 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63841 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63843 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63845 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63847 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63849 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63851 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63853 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63857 as_fn_error "No support for this host/target combination." "$LINENO" 5
63859 esac
63863 # At some point, we should differentiate between architectures
63864 # like x86, which have long double versions, and alpha/powerpc/etc.,
63865 # which don't. For the time being, punt.
63866 if test x"long_double_math_on_this_cpu" = x"yes"; then
63867 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63869 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63871 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63873 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63875 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63877 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63879 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63881 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63883 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63885 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63887 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63889 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63891 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63893 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63895 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63897 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63899 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63901 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63903 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63905 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63907 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63909 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63911 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63916 # Check for _Unwind_GetIPInfo.
63919 # Check whether --with-system-libunwind was given.
63920 if test "${with_system_libunwind+set}" = set; then :
63921 withval=$with_system_libunwind;
63924 # If system-libunwind was not specifically set, pick a default setting.
63925 if test x$with_system_libunwind = x; then
63926 case ${target} in
63927 ia64-*-hpux*) with_system_libunwind=yes ;;
63928 *) with_system_libunwind=no ;;
63929 esac
63931 # Based on system-libunwind and target, do we have ipinfo?
63932 if test x$with_system_libunwind = xyes; then
63933 case ${target} in
63934 ia64-*-*) have_unwind_getipinfo=no ;;
63935 *) have_unwind_getipinfo=yes ;;
63936 esac
63937 else
63938 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63940 case ${target} in
63941 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63942 *) have_unwind_getipinfo=yes ;;
63943 esac
63947 if test x$have_unwind_getipinfo = xyes; then
63949 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63954 # Check whether --enable-linux-futex was given.
63955 if test "${enable_linux_futex+set}" = set; then :
63956 enableval=$enable_linux_futex;
63957 case "$enableval" in
63958 yes|no|default) ;;
63959 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63960 esac
63962 else
63963 enable_linux_futex=default
63967 case "$target" in
63968 *-linux*)
63969 case "$enable_linux_futex" in
63970 default)
63971 # If headers don't have gettid/futex syscalls definition, then
63972 # default to no, otherwise there will be compile time failures.
63973 # Otherwise, default to yes. If we don't detect we are
63974 # compiled/linked against NPTL and not cross-compiling, check
63975 # if programs are run by default against NPTL and if not, issue
63976 # a warning.
63977 enable_linux_futex=no
63978 if test x$gcc_no_link = xyes; then
63979 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63982 /* end confdefs.h. */
63983 #include <sys/syscall.h>
63984 int lk;
63986 main ()
63988 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63990 return 0;
63992 _ACEOF
63993 if ac_fn_c_try_link "$LINENO"; then :
63994 save_LIBS="$LIBS"
63995 LIBS="-lpthread $LIBS"
63996 if test x$gcc_no_link = xyes; then
63997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64000 /* end confdefs.h. */
64001 #ifndef _GNU_SOURCE
64002 #define _GNU_SOURCE 1
64003 #endif
64004 #include <pthread.h>
64005 pthread_t th; void *status;
64007 main ()
64009 pthread_tryjoin_np (th, &status);
64011 return 0;
64013 _ACEOF
64014 if ac_fn_c_try_link "$LINENO"; then :
64015 enable_linux_futex=yes
64016 else
64017 if test x$cross_compiling = xno; then
64018 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64019 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64021 If so, please configure with --disable-linux-futex" >&5
64022 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64023 If so, please configure with --disable-linux-futex" >&2;}
64026 enable_linux_futex=yes
64028 rm -f core conftest.err conftest.$ac_objext \
64029 conftest$ac_exeext conftest.$ac_ext
64030 LIBS="$save_LIBS"
64032 rm -f core conftest.err conftest.$ac_objext \
64033 conftest$ac_exeext conftest.$ac_ext
64035 yes)
64036 if test x$gcc_no_link = xyes; then
64037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64040 /* end confdefs.h. */
64041 #include <sys/syscall.h>
64042 int lk;
64044 main ()
64046 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64048 return 0;
64050 _ACEOF
64051 if ac_fn_c_try_link "$LINENO"; then :
64053 else
64054 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64056 rm -f core conftest.err conftest.$ac_objext \
64057 conftest$ac_exeext conftest.$ac_ext
64059 esac
64062 enable_linux_futex=no
64064 esac
64065 if test x$enable_linux_futex = xyes; then
64067 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64074 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
64076 acx_cv_header_stdint=stddef.h
64077 acx_cv_header_stdint_kind="(already complete)"
64078 for i in stdint.h $inttype_headers; do
64079 unset ac_cv_type_uintptr_t
64080 unset ac_cv_type_uintmax_t
64081 unset ac_cv_type_int_least32_t
64082 unset ac_cv_type_int_fast32_t
64083 unset ac_cv_type_uint64_t
64084 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64085 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64086 #include <$i>
64088 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64089 acx_cv_header_stdint=$i
64090 else
64091 continue
64094 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64095 #include <$i>
64097 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64099 else
64100 acx_cv_header_stdint_kind="(mostly complete)"
64103 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64104 #include <$i>
64106 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64108 else
64109 acx_cv_header_stdint_kind="(mostly complete)"
64112 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64113 #include <$i>
64115 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64117 else
64118 acx_cv_header_stdint_kind="(mostly complete)"
64121 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64122 #include <$i>
64124 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64126 else
64127 acx_cv_header_stdint_kind="(lacks uint64_t)"
64130 break
64131 done
64132 if test "$acx_cv_header_stdint" = stddef.h; then
64133 acx_cv_header_stdint_kind="(lacks uintmax_t)"
64134 for i in stdint.h $inttype_headers; do
64135 unset ac_cv_type_uintptr_t
64136 unset ac_cv_type_uint32_t
64137 unset ac_cv_type_uint64_t
64138 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64139 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64140 #include <$i>
64142 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64143 acx_cv_header_stdint=$i
64144 else
64145 continue
64148 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64149 #include <$i>
64151 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64155 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64156 #include <$i>
64158 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64162 break
64163 done
64165 if test "$acx_cv_header_stdint" = stddef.h; then
64166 acx_cv_header_stdint_kind="(u_intXX_t style)"
64167 for i in sys/types.h $inttype_headers; do
64168 unset ac_cv_type_u_int32_t
64169 unset ac_cv_type_u_int64_t
64170 $as_echo_n "looking for u_intXX_t types in $i, " >&6
64171 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64172 #include <$i>
64174 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64175 acx_cv_header_stdint=$i
64176 else
64177 continue
64180 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64181 #include <$i>
64183 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64187 break
64188 done
64190 if test "$acx_cv_header_stdint" = stddef.h; then
64191 acx_cv_header_stdint_kind="(using manual detection)"
64194 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64195 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64196 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64197 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64198 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64200 # ----------------- Summarize what we found so far
64202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64203 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64205 case `$as_basename -- include/gstdint.h ||
64206 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64207 Xinclude/gstdint.h : 'X\(//\)$' \| \
64208 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64209 $as_echo X/include/gstdint.h |
64210 sed '/^.*\/\([^/][^/]*\)\/*$/{
64211 s//\1/
64214 /^X\/\(\/\/\)$/{
64215 s//\1/
64218 /^X\/\(\/\).*/{
64219 s//\1/
64222 s/.*/./; q'` in
64223 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64224 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64225 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64226 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64227 *) ;;
64228 esac
64230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64231 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64233 # ----------------- done included file, check C basic types --------
64235 # Lacking an uintptr_t? Test size of void *
64236 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64237 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64238 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64239 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64240 # This bug is HP SR number 8606223364.
64241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64242 $as_echo_n "checking size of void *... " >&6; }
64243 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64244 $as_echo_n "(cached) " >&6
64245 else
64246 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
64248 else
64249 if test "$ac_cv_type_void_p" = yes; then
64250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64252 { as_fn_set_status 77
64253 as_fn_error "cannot compute sizeof (void *)
64254 See \`config.log' for more details." "$LINENO" 5; }; }
64255 else
64256 ac_cv_sizeof_void_p=0
64261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64262 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64266 cat >>confdefs.h <<_ACEOF
64267 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64268 _ACEOF
64271 esac
64273 # Lacking an uint64_t? Test size of long
64274 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64275 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64276 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64277 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64278 # This bug is HP SR number 8606223364.
64279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64280 $as_echo_n "checking size of long... " >&6; }
64281 if test "${ac_cv_sizeof_long+set}" = set; then :
64282 $as_echo_n "(cached) " >&6
64283 else
64284 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64286 else
64287 if test "$ac_cv_type_long" = yes; then
64288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64290 { as_fn_set_status 77
64291 as_fn_error "cannot compute sizeof (long)
64292 See \`config.log' for more details." "$LINENO" 5; }; }
64293 else
64294 ac_cv_sizeof_long=0
64299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64300 $as_echo "$ac_cv_sizeof_long" >&6; }
64304 cat >>confdefs.h <<_ACEOF
64305 #define SIZEOF_LONG $ac_cv_sizeof_long
64306 _ACEOF
64309 esac
64311 if test $acx_cv_header_stdint = stddef.h; then
64312 # Lacking a good header? Test size of everything and deduce all types.
64313 # The cast to long int works around a bug in the HP C Compiler
64314 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64315 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64316 # This bug is HP SR number 8606223364.
64317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64318 $as_echo_n "checking size of int... " >&6; }
64319 if test "${ac_cv_sizeof_int+set}" = set; then :
64320 $as_echo_n "(cached) " >&6
64321 else
64322 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64324 else
64325 if test "$ac_cv_type_int" = yes; then
64326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64328 { as_fn_set_status 77
64329 as_fn_error "cannot compute sizeof (int)
64330 See \`config.log' for more details." "$LINENO" 5; }; }
64331 else
64332 ac_cv_sizeof_int=0
64337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64338 $as_echo "$ac_cv_sizeof_int" >&6; }
64342 cat >>confdefs.h <<_ACEOF
64343 #define SIZEOF_INT $ac_cv_sizeof_int
64344 _ACEOF
64347 # The cast to long int works around a bug in the HP C Compiler
64348 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64349 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64350 # This bug is HP SR number 8606223364.
64351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64352 $as_echo_n "checking size of short... " >&6; }
64353 if test "${ac_cv_sizeof_short+set}" = set; then :
64354 $as_echo_n "(cached) " >&6
64355 else
64356 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64358 else
64359 if test "$ac_cv_type_short" = yes; then
64360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64362 { as_fn_set_status 77
64363 as_fn_error "cannot compute sizeof (short)
64364 See \`config.log' for more details." "$LINENO" 5; }; }
64365 else
64366 ac_cv_sizeof_short=0
64371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64372 $as_echo "$ac_cv_sizeof_short" >&6; }
64376 cat >>confdefs.h <<_ACEOF
64377 #define SIZEOF_SHORT $ac_cv_sizeof_short
64378 _ACEOF
64381 # The cast to long int works around a bug in the HP C Compiler
64382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64384 # This bug is HP SR number 8606223364.
64385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64386 $as_echo_n "checking size of char... " >&6; }
64387 if test "${ac_cv_sizeof_char+set}" = set; then :
64388 $as_echo_n "(cached) " >&6
64389 else
64390 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64392 else
64393 if test "$ac_cv_type_char" = yes; then
64394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64396 { as_fn_set_status 77
64397 as_fn_error "cannot compute sizeof (char)
64398 See \`config.log' for more details." "$LINENO" 5; }; }
64399 else
64400 ac_cv_sizeof_char=0
64405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64406 $as_echo "$ac_cv_sizeof_char" >&6; }
64410 cat >>confdefs.h <<_ACEOF
64411 #define SIZEOF_CHAR $ac_cv_sizeof_char
64412 _ACEOF
64416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64417 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64418 case "$ac_cv_sizeof_char" in
64419 1) acx_cv_type_int8_t=char ;;
64420 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64421 esac
64422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64423 $as_echo "$acx_cv_type_int8_t" >&6; }
64425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64426 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64427 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64428 2:*) acx_cv_type_int16_t=int ;;
64429 *:2) acx_cv_type_int16_t=short ;;
64430 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64431 esac
64432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64433 $as_echo "$acx_cv_type_int16_t" >&6; }
64435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64436 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64437 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64438 4:*) acx_cv_type_int32_t=int ;;
64439 *:4) acx_cv_type_int32_t=long ;;
64440 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64441 esac
64442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64443 $as_echo "$acx_cv_type_int32_t" >&6; }
64446 # These tests are here to make the output prettier
64448 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64449 case "$ac_cv_sizeof_long" in
64450 8) acx_cv_type_int64_t=long ;;
64451 esac
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64453 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64455 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64458 # Now we can use the above types
64460 if test "$ac_cv_type_uintptr_t" != yes; then
64461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64462 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64463 case $ac_cv_sizeof_void_p in
64464 2) acx_cv_type_intptr_t=int16_t ;;
64465 4) acx_cv_type_intptr_t=int32_t ;;
64466 8) acx_cv_type_intptr_t=int64_t ;;
64467 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64468 esac
64469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64470 $as_echo "$acx_cv_type_intptr_t" >&6; }
64473 # ----------------- done all checks, emit header -------------
64474 ac_config_commands="$ac_config_commands include/gstdint.h"
64480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64481 $as_echo_n "checking for GNU c++filt... " >&6; }
64482 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64483 $as_echo_n "(cached) " >&6
64484 else
64485 if test -z "$CXXFILT"; then
64486 ac_path_CXXFILT_found=false
64487 # Loop through the user's path and test for each of PROGNAME-LIST
64488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64489 for as_dir in $PATH
64491 IFS=$as_save_IFS
64492 test -z "$as_dir" && as_dir=.
64493 for ac_prog in c++filt gc++filt; do
64494 for ac_exec_ext in '' $ac_executable_extensions; do
64495 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64496 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64497 # Check for GNU $ac_path_CXXFILT
64498 case `"$ac_path_CXXFILT" --version 2>&1` in
64499 *GNU*)
64500 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64501 esac
64503 $ac_path_CXXFILT_found && break 3
64504 done
64505 done
64506 done
64507 IFS=$as_save_IFS
64508 if test -z "$ac_cv_path_CXXFILT"; then
64511 else
64512 ac_cv_path_CXXFILT=$CXXFILT
64516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64517 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64518 CXXFILT=$ac_cv_path_CXXFILT
64522 # Check whether --enable-symvers was given.
64523 if test "${enable_symvers+set}" = set; then :
64524 enableval=$enable_symvers;
64525 case "$enableval" in
64526 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64527 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64528 esac
64530 else
64531 enable_symvers=yes
64536 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64537 # don't know enough about $LD to do tricks...
64539 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64540 # with extern "C++" in version scripts.
64543 # Turn a 'yes' into a suitable default.
64544 if test x$enable_symvers = xyes ; then
64545 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64546 enable_symvers=no
64547 else
64548 if test $with_gnu_ld = yes ; then
64549 case ${target_os} in
64550 hpux*)
64551 enable_symvers=no ;;
64553 enable_symvers=gnu ;;
64554 esac
64555 else
64556 case ${target_os} in
64557 darwin*)
64558 enable_symvers=darwin ;;
64559 # Sun symbol versioning exists since Solaris 2.5.
64560 solaris2.[5-9]* | solaris2.1[0-9]*)
64561 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64562 # version scripts, so disable symbol versioning if none can be
64563 # found.
64564 if test -z "$ac_cv_path_CXXFILT"; then
64565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64566 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64568 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64570 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64571 enable_symvers=no
64572 else
64573 enable_symvers=sun
64577 enable_symvers=no ;;
64578 esac
64583 # Check to see if 'darwin' or 'darwin-export' can win.
64584 if test x$enable_symvers = xdarwin-export ; then
64585 enable_symvers=darwin
64588 # Check if 'sun' was requested on non-Solaris 2 platforms.
64589 if test x$enable_symvers = xsun ; then
64590 case ${target_os} in
64591 solaris2*)
64592 # All fine.
64595 # Unlikely to work.
64596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64597 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64599 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64601 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64602 enable_symvers=no
64604 esac
64607 # Check to see if 'gnu' can win.
64608 if test $enable_symvers = gnu ||
64609 test $enable_symvers = gnu-versioned-namespace ||
64610 test $enable_symvers = sun; then
64611 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64613 $as_echo_n "checking for shared libgcc... " >&6; }
64614 ac_save_CFLAGS="$CFLAGS"
64615 CFLAGS=' -lgcc_s'
64616 if test x$gcc_no_link = xyes; then
64617 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64620 /* end confdefs.h. */
64623 main ()
64625 return 0;
64627 return 0;
64629 _ACEOF
64630 if ac_fn_c_try_link "$LINENO"; then :
64631 glibcxx_shared_libgcc=yes
64632 else
64633 glibcxx_shared_libgcc=no
64635 rm -f core conftest.err conftest.$ac_objext \
64636 conftest$ac_exeext conftest.$ac_ext
64637 CFLAGS="$ac_save_CFLAGS"
64638 if test $glibcxx_shared_libgcc = no; then
64639 cat > conftest.c <<EOF
64640 int main (void) { return 0; }
64642 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64643 -shared -shared-libgcc -o conftest.so \
64644 conftest.c -v 2>&1 >/dev/null \
64645 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64646 rm -f conftest.c conftest.so
64647 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64648 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64649 if test x$gcc_no_link = xyes; then
64650 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64653 /* end confdefs.h. */
64656 main ()
64658 return 0;
64660 return 0;
64662 _ACEOF
64663 if ac_fn_c_try_link "$LINENO"; then :
64664 glibcxx_shared_libgcc=yes
64666 rm -f core conftest.err conftest.$ac_objext \
64667 conftest$ac_exeext conftest.$ac_ext
64668 CFLAGS="$ac_save_CFLAGS"
64671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64672 $as_echo "$glibcxx_shared_libgcc" >&6; }
64674 # For GNU ld, we need at least this version. The format is described in
64675 # GLIBCXX_CHECK_LINKER_FEATURES above.
64676 glibcxx_min_gnu_ld_version=21400
64678 # If no shared libgcc, can't win.
64679 if test $glibcxx_shared_libgcc != yes; then
64680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64681 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64683 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64685 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64686 enable_symvers=no
64687 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64688 : All interesting versions of Sun ld support sun style symbol versioning.
64689 elif test $with_gnu_ld != yes ; then
64690 # just fail for now
64691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64692 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64694 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64696 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64697 enable_symvers=no
64698 elif test $glibcxx_ld_is_gold = yes ; then
64699 : All versions of gold support symbol versioning.
64700 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64701 # The right tools, the right setup, but too old. Fallbacks?
64702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64703 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64705 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64707 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64709 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64711 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64712 enable_symvers=no
64716 # For libtool versioning info, format is CURRENT:REVISION:AGE
64717 libtool_VERSION=6:17:0
64719 # Everything parsed; figure out what files and settings to use.
64720 case $enable_symvers in
64722 SYMVER_FILE=config/abi/pre/none.ver
64724 gnu)
64725 SYMVER_FILE=config/abi/pre/gnu.ver
64727 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64730 gnu-versioned-namespace)
64731 libtool_VERSION=7:0:0
64732 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64734 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64737 darwin)
64738 SYMVER_FILE=config/abi/pre/gnu.ver
64740 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64743 sun)
64744 SYMVER_FILE=config/abi/pre/gnu.ver
64746 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64749 esac
64751 if test x$enable_symvers != xno ; then
64753 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64758 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64759 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64760 $as_echo_n "(cached) " >&6
64761 else
64763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64764 /* end confdefs.h. */
64765 void foo (void); __asm (".symver foo, bar@SYMVER");
64767 main ()
64771 return 0;
64773 _ACEOF
64774 if ac_fn_c_try_compile "$LINENO"; then :
64775 glibcxx_cv_have_as_symver_directive=yes
64776 else
64777 glibcxx_cv_have_as_symver_directive=no
64779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64782 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64783 if test $glibcxx_cv_have_as_symver_directive = yes; then
64785 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64796 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64797 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64799 if test $enable_symvers != no ; then
64800 case ${target_os} in
64801 # The Solaris 2 runtime linker doesn't support the GNU extension of
64802 # binding the same symbol to different versions
64803 solaris2*)
64804 symvers_renaming=no ;;
64805 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64808 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64810 symvers_renaming=yes ;;
64811 esac
64812 else
64813 symvers_renaming=no
64817 # Now, set up compatibility support, if any.
64818 # In addition, need this to deal with std::size_t mangling in
64819 # src/compatibility.cc. In a perfect world, could use
64820 # typeid(std::size_t).name()[0] to do direct substitution.
64821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64822 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64823 ac_save_CFLAGS="$CFLAGS"
64824 CFLAGS="-Werror"
64825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64826 /* end confdefs.h. */
64829 main ()
64831 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64833 return 0;
64835 _ACEOF
64836 if ac_fn_c_try_compile "$LINENO"; then :
64837 glibcxx_size_t_is_i=yes
64838 else
64839 glibcxx_size_t_is_i=no
64841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64842 CFLAGS=$ac_save_CFLAGS
64843 if test "$glibcxx_size_t_is_i" = yes; then
64845 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64849 $as_echo "$glibcxx_size_t_is_i" >&6; }
64851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64852 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64853 ac_save_CFLAGS="$CFLAGS"
64854 CFLAGS="-Werror"
64855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64856 /* end confdefs.h. */
64859 main ()
64861 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64863 return 0;
64865 _ACEOF
64866 if ac_fn_c_try_compile "$LINENO"; then :
64867 glibcxx_ptrdiff_t_is_i=yes
64868 else
64869 glibcxx_ptrdiff_t_is_i=no
64871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64872 CFLAGS=$ac_save_CFLAGS
64873 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64875 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64879 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64884 # Check whether --enable-visibility was given.
64885 if test "${enable_visibility+set}" = set; then :
64886 enableval=$enable_visibility;
64887 case "$enableval" in
64888 yes|no) ;;
64889 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64890 esac
64892 else
64893 enable_visibility=yes
64898 if test x$enable_visibility = xyes ; then
64899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64900 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64901 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64902 $as_echo_n "(cached) " >&6
64903 else
64905 save_CFLAGS="$CFLAGS"
64906 CFLAGS="$CFLAGS -Werror"
64907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64908 /* end confdefs.h. */
64909 void __attribute__((visibility("hidden"))) foo(void) { }
64911 main ()
64915 return 0;
64917 _ACEOF
64918 if ac_fn_c_try_compile "$LINENO"; then :
64919 glibcxx_cv_have_attribute_visibility=yes
64920 else
64921 glibcxx_cv_have_attribute_visibility=no
64923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64924 CFLAGS="$save_CFLAGS"
64926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64927 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64928 if test $glibcxx_cv_have_attribute_visibility = no; then
64929 enable_visibility=no
64934 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64935 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64938 ac_ldbl_compat=no
64939 case "$target" in
64940 powerpc*-*-linux* | \
64941 sparc*-*-linux* | \
64942 s390*-*-linux* | \
64943 alpha*-*-linux*)
64944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64945 /* end confdefs.h. */
64948 main ()
64951 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64952 #error no need for long double compatibility
64953 #endif
64956 return 0;
64958 _ACEOF
64959 if ac_fn_c_try_compile "$LINENO"; then :
64960 ac_ldbl_compat=yes
64961 else
64962 ac_ldbl_compat=no
64964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64965 if test "$ac_ldbl_compat" = yes; then
64967 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64969 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64971 esac
64974 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64976 if $GLIBCXX_IS_NATIVE ; then
64977 # Do checks for resource limit functions.
64979 setrlimit_have_headers=yes
64980 for ac_header in unistd.h sys/time.h sys/resource.h
64981 do :
64982 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64983 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64984 eval as_val=\$$as_ac_Header
64985 if test "x$as_val" = x""yes; then :
64986 cat >>confdefs.h <<_ACEOF
64987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64988 _ACEOF
64990 else
64991 setrlimit_have_headers=no
64994 done
64996 # If don't have the headers, then we can't run the tests now, and we
64997 # won't be seeing any of these during testsuite compilation.
64998 if test $setrlimit_have_headers = yes; then
64999 # Can't do these in a loop, else the resulting syntax is wrong.
65001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65002 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65004 /* end confdefs.h. */
65005 #include <unistd.h>
65006 #include <sys/time.h>
65007 #include <sys/resource.h>
65010 main ()
65012 int f = RLIMIT_DATA ;
65014 return 0;
65016 _ACEOF
65017 if ac_fn_c_try_compile "$LINENO"; then :
65018 glibcxx_mresult=1
65019 else
65020 glibcxx_mresult=0
65022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65024 cat >>confdefs.h <<_ACEOF
65025 #define HAVE_LIMIT_DATA $glibcxx_mresult
65026 _ACEOF
65028 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65030 $as_echo "$res" >&6; }
65033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65034 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65036 /* end confdefs.h. */
65037 #include <unistd.h>
65038 #include <sys/time.h>
65039 #include <sys/resource.h>
65042 main ()
65044 int f = RLIMIT_RSS ;
65046 return 0;
65048 _ACEOF
65049 if ac_fn_c_try_compile "$LINENO"; then :
65050 glibcxx_mresult=1
65051 else
65052 glibcxx_mresult=0
65054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65056 cat >>confdefs.h <<_ACEOF
65057 #define HAVE_LIMIT_RSS $glibcxx_mresult
65058 _ACEOF
65060 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65062 $as_echo "$res" >&6; }
65065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65066 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65068 /* end confdefs.h. */
65069 #include <unistd.h>
65070 #include <sys/time.h>
65071 #include <sys/resource.h>
65074 main ()
65076 int f = RLIMIT_VMEM ;
65078 return 0;
65080 _ACEOF
65081 if ac_fn_c_try_compile "$LINENO"; then :
65082 glibcxx_mresult=1
65083 else
65084 glibcxx_mresult=0
65086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65088 cat >>confdefs.h <<_ACEOF
65089 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65090 _ACEOF
65092 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65094 $as_echo "$res" >&6; }
65097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65098 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65100 /* end confdefs.h. */
65101 #include <unistd.h>
65102 #include <sys/time.h>
65103 #include <sys/resource.h>
65106 main ()
65108 int f = RLIMIT_AS ;
65110 return 0;
65112 _ACEOF
65113 if ac_fn_c_try_compile "$LINENO"; then :
65114 glibcxx_mresult=1
65115 else
65116 glibcxx_mresult=0
65118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65120 cat >>confdefs.h <<_ACEOF
65121 #define HAVE_LIMIT_AS $glibcxx_mresult
65122 _ACEOF
65124 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65126 $as_echo "$res" >&6; }
65129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65130 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65132 /* end confdefs.h. */
65133 #include <unistd.h>
65134 #include <sys/time.h>
65135 #include <sys/resource.h>
65138 main ()
65140 int f = RLIMIT_FSIZE ;
65142 return 0;
65144 _ACEOF
65145 if ac_fn_c_try_compile "$LINENO"; then :
65146 glibcxx_mresult=1
65147 else
65148 glibcxx_mresult=0
65150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65152 cat >>confdefs.h <<_ACEOF
65153 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65154 _ACEOF
65156 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65158 $as_echo "$res" >&6; }
65161 # Check for rlimit, setrlimit.
65162 if test "${glibcxx_cv_setrlimit+set}" = set; then :
65163 $as_echo_n "(cached) " >&6
65164 else
65166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65167 /* end confdefs.h. */
65168 #include <unistd.h>
65169 #include <sys/time.h>
65170 #include <sys/resource.h>
65173 main ()
65175 struct rlimit r;
65176 setrlimit(0, &r);
65178 return 0;
65180 _ACEOF
65181 if ac_fn_c_try_compile "$LINENO"; then :
65182 glibcxx_cv_setrlimit=yes
65183 else
65184 glibcxx_cv_setrlimit=no
65186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65193 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65194 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65195 ac_res_limits=yes
65197 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65199 else
65200 ac_res_limits=no
65202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65203 $as_echo "$ac_res_limits" >&6; }
65206 # Look for setenv, so that extended locale tests can be performed.
65208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65209 $as_echo_n "checking for setenv declaration... " >&6; }
65210 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65211 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65212 $as_echo_n "(cached) " >&6
65213 else
65216 ac_ext=cpp
65217 ac_cpp='$CXXCPP $CPPFLAGS'
65218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65223 /* end confdefs.h. */
65224 #include <stdlib.h>
65226 main ()
65228 setenv(0, 0, 0);
65230 return 0;
65232 _ACEOF
65233 if ac_fn_cxx_try_compile "$LINENO"; then :
65234 glibcxx_cv_func_setenv_use=yes
65235 else
65236 glibcxx_cv_func_setenv_use=no
65238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65239 ac_ext=c
65240 ac_cpp='$CPP $CPPFLAGS'
65241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65250 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65251 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65252 for ac_func in setenv
65253 do :
65254 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65255 if test "x$ac_cv_func_setenv" = x""yes; then :
65256 cat >>confdefs.h <<_ACEOF
65257 #define HAVE_SETENV 1
65258 _ACEOF
65261 done
65267 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65268 test $enable_symvers != no; then
65269 case "$host" in
65270 *-*-cygwin*)
65271 enable_abi_check=no ;;
65273 enable_abi_check=yes ;;
65274 esac
65275 else
65276 # Only build this as native, since automake does not understand
65277 # CXX_FOR_BUILD.
65278 enable_abi_check=no
65281 # Export file names for ABI checking.
65282 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65284 baseline_subdir_switch="$abi_baseline_subdir_switch"
65288 # Define documentation rules conditionally.
65290 # See if makeinfo has been installed and is modern enough
65291 # that we can use it.
65293 # Extract the first word of "makeinfo", so it can be a program name with args.
65294 set dummy makeinfo; ac_word=$2
65295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65296 $as_echo_n "checking for $ac_word... " >&6; }
65297 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65298 $as_echo_n "(cached) " >&6
65299 else
65300 if test -n "$MAKEINFO"; then
65301 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65302 else
65303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65304 for as_dir in $PATH
65306 IFS=$as_save_IFS
65307 test -z "$as_dir" && as_dir=.
65308 for ac_exec_ext in '' $ac_executable_extensions; do
65309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65310 ac_cv_prog_MAKEINFO="makeinfo"
65311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65312 break 2
65314 done
65315 done
65316 IFS=$as_save_IFS
65320 MAKEINFO=$ac_cv_prog_MAKEINFO
65321 if test -n "$MAKEINFO"; then
65322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65323 $as_echo "$MAKEINFO" >&6; }
65324 else
65325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65326 $as_echo "no" >&6; }
65330 if test -n "$MAKEINFO"; then
65331 # Found it, now check the version.
65332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65333 $as_echo_n "checking for modern makeinfo... " >&6; }
65334 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65335 $as_echo_n "(cached) " >&6
65336 else
65337 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65338 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65340 case $ac_prog_version in
65341 '') gcc_cv_prog_makeinfo_modern=no;;
65342 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65343 *) gcc_cv_prog_makeinfo_modern=no;;
65344 esac
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65348 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65349 else
65350 gcc_cv_prog_makeinfo_modern=no
65352 if test $gcc_cv_prog_makeinfo_modern = no; then
65353 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65356 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65357 BUILD_INFO_TRUE=
65358 BUILD_INFO_FALSE='#'
65359 else
65360 BUILD_INFO_TRUE='#'
65361 BUILD_INFO_FALSE=
65365 # Check for doxygen
65366 # Extract the first word of "doxygen", so it can be a program name with args.
65367 set dummy doxygen; ac_word=$2
65368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65369 $as_echo_n "checking for $ac_word... " >&6; }
65370 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65371 $as_echo_n "(cached) " >&6
65372 else
65373 if test -n "$DOXYGEN"; then
65374 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65375 else
65376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65377 for as_dir in $PATH
65379 IFS=$as_save_IFS
65380 test -z "$as_dir" && as_dir=.
65381 for ac_exec_ext in '' $ac_executable_extensions; do
65382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65383 ac_cv_prog_DOXYGEN="yes"
65384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65385 break 2
65387 done
65388 done
65389 IFS=$as_save_IFS
65391 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65394 DOXYGEN=$ac_cv_prog_DOXYGEN
65395 if test -n "$DOXYGEN"; then
65396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65397 $as_echo "$DOXYGEN" >&6; }
65398 else
65399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65400 $as_echo "no" >&6; }
65404 # Extract the first word of "dot", so it can be a program name with args.
65405 set dummy dot; ac_word=$2
65406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65407 $as_echo_n "checking for $ac_word... " >&6; }
65408 if test "${ac_cv_prog_DOT+set}" = set; then :
65409 $as_echo_n "(cached) " >&6
65410 else
65411 if test -n "$DOT"; then
65412 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65413 else
65414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65415 for as_dir in $PATH
65417 IFS=$as_save_IFS
65418 test -z "$as_dir" && as_dir=.
65419 for ac_exec_ext in '' $ac_executable_extensions; do
65420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65421 ac_cv_prog_DOT="yes"
65422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65423 break 2
65425 done
65426 done
65427 IFS=$as_save_IFS
65429 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65432 DOT=$ac_cv_prog_DOT
65433 if test -n "$DOT"; then
65434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65435 $as_echo "$DOT" >&6; }
65436 else
65437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65438 $as_echo "no" >&6; }
65443 # Check for docbook
65444 # Extract the first word of "xsltproc", so it can be a program name with args.
65445 set dummy xsltproc; ac_word=$2
65446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65447 $as_echo_n "checking for $ac_word... " >&6; }
65448 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65449 $as_echo_n "(cached) " >&6
65450 else
65451 if test -n "$XSLTPROC"; then
65452 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65453 else
65454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65455 for as_dir in $PATH
65457 IFS=$as_save_IFS
65458 test -z "$as_dir" && as_dir=.
65459 for ac_exec_ext in '' $ac_executable_extensions; do
65460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65461 ac_cv_prog_XSLTPROC="yes"
65462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65463 break 2
65465 done
65466 done
65467 IFS=$as_save_IFS
65469 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65472 XSLTPROC=$ac_cv_prog_XSLTPROC
65473 if test -n "$XSLTPROC"; then
65474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65475 $as_echo "$XSLTPROC" >&6; }
65476 else
65477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65478 $as_echo "no" >&6; }
65482 # Extract the first word of "xmllint", so it can be a program name with args.
65483 set dummy xmllint; ac_word=$2
65484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65485 $as_echo_n "checking for $ac_word... " >&6; }
65486 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65487 $as_echo_n "(cached) " >&6
65488 else
65489 if test -n "$XMLLINT"; then
65490 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65491 else
65492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65493 for as_dir in $PATH
65495 IFS=$as_save_IFS
65496 test -z "$as_dir" && as_dir=.
65497 for ac_exec_ext in '' $ac_executable_extensions; do
65498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65499 ac_cv_prog_XMLLINT="yes"
65500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65501 break 2
65503 done
65504 done
65505 IFS=$as_save_IFS
65507 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65510 XMLLINT=$ac_cv_prog_XMLLINT
65511 if test -n "$XMLLINT"; then
65512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65513 $as_echo "$XMLLINT" >&6; }
65514 else
65515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65516 $as_echo "no" >&6; }
65522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65523 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65524 glibcxx_stylesheets=no
65525 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
65526 glibcxx_stylesheets=yes
65528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65529 $as_echo "$glibcxx_stylesheets" >&6; }
65531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65532 $as_echo_n "checking for local stylesheet directory... " >&6; }
65533 glibcxx_local_stylesheets=no
65534 if test x"$glibcxx_stylesheets" = x"yes"; then
65535 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65536 glibcxx_local_stylesheets=yes
65537 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65539 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65540 glibcxx_local_stylesheets=yes
65541 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65545 $as_echo "$glibcxx_local_stylesheets" >&6; }
65547 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65549 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65550 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65551 else
65552 glibcxx_stylesheets=no
65556 # Check for xml/html dependencies.
65557 if test $ac_cv_prog_DOXYGEN = "yes" &&
65558 test $ac_cv_prog_DOT = "yes" &&
65559 test $ac_cv_prog_XSLTPROC = "yes" &&
65560 test $ac_cv_prog_XMLLINT = "yes" &&
65561 test $glibcxx_stylesheets = "yes"; then
65562 BUILD_XML_TRUE=
65563 BUILD_XML_FALSE='#'
65564 else
65565 BUILD_XML_TRUE='#'
65566 BUILD_XML_FALSE=
65570 if test $ac_cv_prog_DOXYGEN = "yes" &&
65571 test $ac_cv_prog_DOT = "yes" &&
65572 test $ac_cv_prog_XSLTPROC = "yes" &&
65573 test $ac_cv_prog_XMLLINT = "yes" &&
65574 test $glibcxx_stylesheets = "yes"; then
65575 BUILD_HTML_TRUE=
65576 BUILD_HTML_FALSE='#'
65577 else
65578 BUILD_HTML_TRUE='#'
65579 BUILD_HTML_FALSE=
65583 # Check for man dependencies.
65584 if test $ac_cv_prog_DOXYGEN = "yes" &&
65585 test $ac_cv_prog_DOT = "yes"; then
65586 BUILD_MAN_TRUE=
65587 BUILD_MAN_FALSE='#'
65588 else
65589 BUILD_MAN_TRUE='#'
65590 BUILD_MAN_FALSE=
65594 # Check for pdf/epub dependencies.
65595 # Extract the first word of "dblatex", so it can be a program name with args.
65596 set dummy dblatex; ac_word=$2
65597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65598 $as_echo_n "checking for $ac_word... " >&6; }
65599 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65600 $as_echo_n "(cached) " >&6
65601 else
65602 if test -n "$DBLATEX"; then
65603 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65604 else
65605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65606 for as_dir in $PATH
65608 IFS=$as_save_IFS
65609 test -z "$as_dir" && as_dir=.
65610 for ac_exec_ext in '' $ac_executable_extensions; do
65611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65612 ac_cv_prog_DBLATEX="yes"
65613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65614 break 2
65616 done
65617 done
65618 IFS=$as_save_IFS
65620 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65623 DBLATEX=$ac_cv_prog_DBLATEX
65624 if test -n "$DBLATEX"; then
65625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65626 $as_echo "$DBLATEX" >&6; }
65627 else
65628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65629 $as_echo "no" >&6; }
65633 # Extract the first word of "pdflatex", so it can be a program name with args.
65634 set dummy pdflatex; ac_word=$2
65635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65636 $as_echo_n "checking for $ac_word... " >&6; }
65637 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65638 $as_echo_n "(cached) " >&6
65639 else
65640 if test -n "$PDFLATEX"; then
65641 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65642 else
65643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65644 for as_dir in $PATH
65646 IFS=$as_save_IFS
65647 test -z "$as_dir" && as_dir=.
65648 for ac_exec_ext in '' $ac_executable_extensions; do
65649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65650 ac_cv_prog_PDFLATEX="yes"
65651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65652 break 2
65654 done
65655 done
65656 IFS=$as_save_IFS
65658 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65661 PDFLATEX=$ac_cv_prog_PDFLATEX
65662 if test -n "$PDFLATEX"; then
65663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65664 $as_echo "$PDFLATEX" >&6; }
65665 else
65666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65667 $as_echo "no" >&6; }
65671 if test $ac_cv_prog_DBLATEX = "yes" &&
65672 test $ac_cv_prog_PDFLATEX = "yes"; then
65673 BUILD_PDF_TRUE=
65674 BUILD_PDF_FALSE='#'
65675 else
65676 BUILD_PDF_TRUE='#'
65677 BUILD_PDF_FALSE=
65681 # Extract the first word of "ruby", so it can be a program name with args.
65682 set dummy ruby; ac_word=$2
65683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65684 $as_echo_n "checking for $ac_word... " >&6; }
65685 if test "${ac_cv_prog_RUBY+set}" = set; then :
65686 $as_echo_n "(cached) " >&6
65687 else
65688 if test -n "$RUBY"; then
65689 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65690 else
65691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65692 for as_dir in $PATH
65694 IFS=$as_save_IFS
65695 test -z "$as_dir" && as_dir=.
65696 for ac_exec_ext in '' $ac_executable_extensions; do
65697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65698 ac_cv_prog_RUBY="yes"
65699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65700 break 2
65702 done
65703 done
65704 IFS=$as_save_IFS
65706 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65709 RUBY=$ac_cv_prog_RUBY
65710 if test -n "$RUBY"; then
65711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65712 $as_echo "$RUBY" >&6; }
65713 else
65714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65715 $as_echo "no" >&6; }
65719 # Extract the first word of "dbtoepub", so it can be a program name with args.
65720 set dummy dbtoepub; ac_word=$2
65721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65722 $as_echo_n "checking for $ac_word... " >&6; }
65723 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65724 $as_echo_n "(cached) " >&6
65725 else
65726 if test -n "$DBTOEPUB"; then
65727 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65728 else
65729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65730 for as_dir in $PATH
65732 IFS=$as_save_IFS
65733 test -z "$as_dir" && as_dir=.
65734 for ac_exec_ext in '' $ac_executable_extensions; do
65735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65736 ac_cv_prog_DBTOEPUB="yes"
65737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65738 break 2
65740 done
65741 done
65742 IFS=$as_save_IFS
65744 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65747 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65748 if test -n "$DBTOEPUB"; then
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65750 $as_echo "$DBTOEPUB" >&6; }
65751 else
65752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65753 $as_echo "no" >&6; }
65757 if test $ac_cv_prog_RUBY = "yes" &&
65758 test $ac_cv_prog_DBTOEPUB = "yes"; then
65759 BUILD_EPUB_TRUE=
65760 BUILD_EPUB_FALSE='#'
65761 else
65762 BUILD_EPUB_TRUE='#'
65763 BUILD_EPUB_FALSE=
65768 # Propagate the target-specific source directories through the build chain.
65769 ATOMICITY_SRCDIR=config/${atomicity_dir}
65770 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65771 ATOMIC_FLAGS=${atomic_flags}
65772 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65773 OS_INC_SRCDIR=config/${os_include_dir}
65774 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65775 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65785 # Determine cross-compile flags and AM_CONDITIONALs.
65786 #AC_SUBST(GLIBCXX_IS_NATIVE)
65787 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65788 if test $is_hosted = yes; then
65789 GLIBCXX_HOSTED_TRUE=
65790 GLIBCXX_HOSTED_FALSE='#'
65791 else
65792 GLIBCXX_HOSTED_TRUE='#'
65793 GLIBCXX_HOSTED_FALSE=
65797 if test $enable_libstdcxx_pch = yes; then
65798 GLIBCXX_BUILD_PCH_TRUE=
65799 GLIBCXX_BUILD_PCH_FALSE='#'
65800 else
65801 GLIBCXX_BUILD_PCH_TRUE='#'
65802 GLIBCXX_BUILD_PCH_FALSE=
65806 if test $enable_cheaders = c; then
65807 GLIBCXX_C_HEADERS_C_TRUE=
65808 GLIBCXX_C_HEADERS_C_FALSE='#'
65809 else
65810 GLIBCXX_C_HEADERS_C_TRUE='#'
65811 GLIBCXX_C_HEADERS_C_FALSE=
65815 if test $enable_cheaders = c_std; then
65816 GLIBCXX_C_HEADERS_C_STD_TRUE=
65817 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65818 else
65819 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65820 GLIBCXX_C_HEADERS_C_STD_FALSE=
65824 if test $enable_cheaders = c_global; then
65825 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65826 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65827 else
65828 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65829 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65833 if test $c_compatibility = yes; then
65834 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65835 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65836 else
65837 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65838 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65842 if test $enable_libstdcxx_debug = yes; then
65843 GLIBCXX_BUILD_DEBUG_TRUE=
65844 GLIBCXX_BUILD_DEBUG_FALSE='#'
65845 else
65846 GLIBCXX_BUILD_DEBUG_TRUE='#'
65847 GLIBCXX_BUILD_DEBUG_FALSE=
65851 if test $enable_parallel = yes; then
65852 ENABLE_PARALLEL_TRUE=
65853 ENABLE_PARALLEL_FALSE='#'
65854 else
65855 ENABLE_PARALLEL_TRUE='#'
65856 ENABLE_PARALLEL_FALSE=
65860 if test $enable_extern_template = yes; then
65861 ENABLE_EXTERN_TEMPLATE_TRUE=
65862 ENABLE_EXTERN_TEMPLATE_FALSE='#'
65863 else
65864 ENABLE_EXTERN_TEMPLATE_TRUE='#'
65865 ENABLE_EXTERN_TEMPLATE_FALSE=
65869 if test $enable_symvers != no; then
65870 ENABLE_SYMVERS_TRUE=
65871 ENABLE_SYMVERS_FALSE='#'
65872 else
65873 ENABLE_SYMVERS_TRUE='#'
65874 ENABLE_SYMVERS_FALSE=
65878 if test $enable_symvers = gnu; then
65879 ENABLE_SYMVERS_GNU_TRUE=
65880 ENABLE_SYMVERS_GNU_FALSE='#'
65881 else
65882 ENABLE_SYMVERS_GNU_TRUE='#'
65883 ENABLE_SYMVERS_GNU_FALSE=
65887 if test $enable_symvers = gnu-versioned-namespace; then
65888 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65889 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65890 else
65891 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65892 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65896 if test $enable_symvers = darwin; then
65897 ENABLE_SYMVERS_DARWIN_TRUE=
65898 ENABLE_SYMVERS_DARWIN_FALSE='#'
65899 else
65900 ENABLE_SYMVERS_DARWIN_TRUE='#'
65901 ENABLE_SYMVERS_DARWIN_FALSE=
65905 if test $enable_symvers = sun; then
65906 ENABLE_SYMVERS_SUN_TRUE=
65907 ENABLE_SYMVERS_SUN_FALSE='#'
65908 else
65909 ENABLE_SYMVERS_SUN_TRUE='#'
65910 ENABLE_SYMVERS_SUN_FALSE=
65914 if test $symvers_renaming = no; then
65915 ENABLE_SYMVERS_SOL2_TRUE=
65916 ENABLE_SYMVERS_SOL2_FALSE='#'
65917 else
65918 ENABLE_SYMVERS_SOL2_TRUE='#'
65919 ENABLE_SYMVERS_SOL2_FALSE=
65923 if test $enable_visibility = yes; then
65924 ENABLE_VISIBILITY_TRUE=
65925 ENABLE_VISIBILITY_FALSE='#'
65926 else
65927 ENABLE_VISIBILITY_TRUE='#'
65928 ENABLE_VISIBILITY_FALSE=
65932 if test $ac_ldbl_compat = yes; then
65933 GLIBCXX_LDBL_COMPAT_TRUE=
65934 GLIBCXX_LDBL_COMPAT_FALSE='#'
65935 else
65936 GLIBCXX_LDBL_COMPAT_TRUE='#'
65937 GLIBCXX_LDBL_COMPAT_FALSE=
65943 cat >confcache <<\_ACEOF
65944 # This file is a shell script that caches the results of configure
65945 # tests run on this system so they can be shared between configure
65946 # scripts and configure runs, see configure's option --config-cache.
65947 # It is not useful on other systems. If it contains results you don't
65948 # want to keep, you may remove or edit it.
65950 # config.status only pays attention to the cache file if you give it
65951 # the --recheck option to rerun configure.
65953 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65954 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65955 # following values.
65957 _ACEOF
65959 # The following way of writing the cache mishandles newlines in values,
65960 # but we know of no workaround that is simple, portable, and efficient.
65961 # So, we kill variables containing newlines.
65962 # Ultrix sh set writes to stderr and can't be redirected directly,
65963 # and sets the high bit in the cache file unless we assign to the vars.
65965 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65966 eval ac_val=\$$ac_var
65967 case $ac_val in #(
65968 *${as_nl}*)
65969 case $ac_var in #(
65970 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65972 esac
65973 case $ac_var in #(
65974 _ | IFS | as_nl) ;; #(
65975 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65976 *) { eval $ac_var=; unset $ac_var;} ;;
65977 esac ;;
65978 esac
65979 done
65981 (set) 2>&1 |
65982 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65983 *${as_nl}ac_space=\ *)
65984 # `set' does not quote correctly, so add quotes: double-quote
65985 # substitution turns \\\\ into \\, and sed turns \\ into \.
65986 sed -n \
65987 "s/'/'\\\\''/g;
65988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65989 ;; #(
65991 # `set' quotes correctly as required by POSIX, so do not add quotes.
65992 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65994 esac |
65995 sort
65997 sed '
65998 /^ac_cv_env_/b end
65999 t clear
66000 :clear
66001 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66002 t end
66003 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66004 :end' >>confcache
66005 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66006 if test -w "$cache_file"; then
66007 test "x$cache_file" != "x/dev/null" &&
66008 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66009 $as_echo "$as_me: updating cache $cache_file" >&6;}
66010 cat confcache >$cache_file
66011 else
66012 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66013 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66016 rm -f confcache
66018 if test ${multilib} = yes; then
66019 multilib_arg="--enable-multilib"
66020 else
66021 multilib_arg=
66024 # Export all the install information.
66026 glibcxx_toolexecdir=no
66027 glibcxx_toolexeclibdir=no
66028 glibcxx_prefixdir=$prefix
66030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66031 $as_echo_n "checking for gxx-include-dir... " >&6; }
66033 # Check whether --with-gxx-include-dir was given.
66034 if test "${with_gxx_include_dir+set}" = set; then :
66035 withval=$with_gxx_include_dir; case "$withval" in
66036 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66037 no) gxx_include_dir=no ;;
66038 *) gxx_include_dir=$withval ;;
66039 esac
66040 else
66041 gxx_include_dir=no
66044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66045 $as_echo "$gxx_include_dir" >&6; }
66047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66048 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66049 # Check whether --enable-version-specific-runtime-libs was given.
66050 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66051 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66052 yes) version_specific_libs=yes ;;
66053 no) version_specific_libs=no ;;
66054 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66055 esac
66056 else
66057 version_specific_libs=no
66060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66061 $as_echo "$version_specific_libs" >&6; }
66063 # Default case for install directory for include files.
66064 if test $version_specific_libs = no && test $gxx_include_dir = no; then
66065 gxx_include_dir='include/c++/${gcc_version}'
66066 if test -n "$with_cross_host" &&
66067 test x"$with_cross_host" != x"no"; then
66068 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66069 else
66070 gxx_include_dir='${prefix}/'"$gxx_include_dir"
66074 # Version-specific runtime libs processing.
66075 if test $version_specific_libs = yes; then
66076 # Need the gcc compiler version to know where to install libraries
66077 # and header files if --enable-version-specific-runtime-libs option
66078 # is selected. FIXME: these variables are misnamed, there are
66079 # no executables installed in _toolexecdir or _toolexeclibdir.
66080 if test x"$gxx_include_dir" = x"no"; then
66081 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66083 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66084 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66087 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66088 # Install a library built with a cross compiler in tooldir, not libdir.
66089 if test x"$glibcxx_toolexecdir" = x"no"; then
66090 if test -n "$with_cross_host" &&
66091 test x"$with_cross_host" != x"no"; then
66092 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66093 glibcxx_toolexeclibdir='${toolexecdir}/lib'
66094 else
66095 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66096 glibcxx_toolexeclibdir='${libdir}'
66098 multi_os_directory=`$CXX -print-multi-os-directory`
66099 case $multi_os_directory in
66100 .) ;; # Avoid trailing /.
66101 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66102 esac
66105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66106 $as_echo_n "checking for install location... " >&6; }
66107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66108 $as_echo "$gxx_include_dir" >&6; }
66116 # Export all the include and flag information to Makefiles.
66118 # Used for every C++ compile we perform.
66119 GLIBCXX_INCLUDES="\
66120 -I$glibcxx_builddir/include/$host_alias \
66121 -I$glibcxx_builddir/include \
66122 -I$glibcxx_srcdir/libsupc++"
66124 # For Canadian crosses, pick this up too.
66125 if test $CANADIAN = yes; then
66126 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66129 # Stuff in the actual top level. Currently only used by libsupc++ to
66130 # get unwind* headers from the libgcc dir.
66131 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66132 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66134 # Now, export this to all the little Makefiles....
66139 # Optimization flags that are probably a good idea for thrill-seekers. Just
66140 # uncomment the lines below and make, everything else is ready to go...
66141 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66142 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66145 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66149 if test "$enable_shared" = yes; then
66150 LIBSUPCXX_PICFLAGS="-prefer-pic"
66151 else
66152 LIBSUPCXX_PICFLAGS=
66156 ac_config_files="$ac_config_files Makefile"
66158 ac_config_files="$ac_config_files scripts/testsuite_flags"
66160 ac_config_files="$ac_config_files scripts/extract_symvers"
66163 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66164 # that multilib installs will end up installed in the correct place.
66165 # The testsuite needs it for multilib-aware ABI baseline files.
66166 # To work around this not being passed down from config-ml.in ->
66167 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66168 # append it here. Only modify Makefiles that have just been created.
66170 # Also, get rid of this simulated-VPATH thing that automake does.
66171 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66174 ac_config_commands="$ac_config_commands generate-headers"
66177 cat >confcache <<\_ACEOF
66178 # This file is a shell script that caches the results of configure
66179 # tests run on this system so they can be shared between configure
66180 # scripts and configure runs, see configure's option --config-cache.
66181 # It is not useful on other systems. If it contains results you don't
66182 # want to keep, you may remove or edit it.
66184 # config.status only pays attention to the cache file if you give it
66185 # the --recheck option to rerun configure.
66187 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66188 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66189 # following values.
66191 _ACEOF
66193 # The following way of writing the cache mishandles newlines in values,
66194 # but we know of no workaround that is simple, portable, and efficient.
66195 # So, we kill variables containing newlines.
66196 # Ultrix sh set writes to stderr and can't be redirected directly,
66197 # and sets the high bit in the cache file unless we assign to the vars.
66199 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66200 eval ac_val=\$$ac_var
66201 case $ac_val in #(
66202 *${as_nl}*)
66203 case $ac_var in #(
66204 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66205 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66206 esac
66207 case $ac_var in #(
66208 _ | IFS | as_nl) ;; #(
66209 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66210 *) { eval $ac_var=; unset $ac_var;} ;;
66211 esac ;;
66212 esac
66213 done
66215 (set) 2>&1 |
66216 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66217 *${as_nl}ac_space=\ *)
66218 # `set' does not quote correctly, so add quotes: double-quote
66219 # substitution turns \\\\ into \\, and sed turns \\ into \.
66220 sed -n \
66221 "s/'/'\\\\''/g;
66222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66223 ;; #(
66225 # `set' quotes correctly as required by POSIX, so do not add quotes.
66226 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66228 esac |
66229 sort
66231 sed '
66232 /^ac_cv_env_/b end
66233 t clear
66234 :clear
66235 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66236 t end
66237 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66238 :end' >>confcache
66239 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66240 if test -w "$cache_file"; then
66241 test "x$cache_file" != "x/dev/null" &&
66242 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66243 $as_echo "$as_me: updating cache $cache_file" >&6;}
66244 cat confcache >$cache_file
66245 else
66246 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66247 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66250 rm -f confcache
66252 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66253 # Let make expand exec_prefix.
66254 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66256 DEFS=-DHAVE_CONFIG_H
66258 ac_libobjs=
66259 ac_ltlibobjs=
66260 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66261 # 1. Remove the extension, and $U if already installed.
66262 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66263 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66264 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66265 # will be set to the directory where LIBOBJS objects are built.
66266 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66267 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66268 done
66269 LIBOBJS=$ac_libobjs
66271 LTLIBOBJS=$ac_ltlibobjs
66274 if test -n "$EXEEXT"; then
66275 am__EXEEXT_TRUE=
66276 am__EXEEXT_FALSE='#'
66277 else
66278 am__EXEEXT_TRUE='#'
66279 am__EXEEXT_FALSE=
66282 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66283 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66286 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66287 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66290 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66291 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66294 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66295 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66298 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66299 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66302 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66303 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66306 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66307 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66310 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66311 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66314 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66315 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66318 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66319 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66322 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66323 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66326 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66327 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66330 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66331 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66334 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66335 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66338 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66339 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66342 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66343 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66346 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66347 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66350 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66351 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66354 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66355 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66358 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66359 as_fn_error "conditional \"BUILD_XML\" was never defined.
66360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66362 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66363 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66366 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66367 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66370 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66371 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66374 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66375 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66379 : ${CONFIG_STATUS=./config.status}
66380 ac_write_fail=0
66381 ac_clean_files_save=$ac_clean_files
66382 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66384 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66385 as_write_fail=0
66386 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66387 #! $SHELL
66388 # Generated by $as_me.
66389 # Run this file to recreate the current configuration.
66390 # Compiler output produced by configure, useful for debugging
66391 # configure, is in config.log if it exists.
66393 debug=false
66394 ac_cs_recheck=false
66395 ac_cs_silent=false
66397 SHELL=\${CONFIG_SHELL-$SHELL}
66398 export SHELL
66399 _ASEOF
66400 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66401 ## -------------------- ##
66402 ## M4sh Initialization. ##
66403 ## -------------------- ##
66405 # Be more Bourne compatible
66406 DUALCASE=1; export DUALCASE # for MKS sh
66407 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66408 emulate sh
66409 NULLCMD=:
66410 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66411 # is contrary to our usage. Disable this feature.
66412 alias -g '${1+"$@"}'='"$@"'
66413 setopt NO_GLOB_SUBST
66414 else
66415 case `(set -o) 2>/dev/null` in #(
66416 *posix*) :
66417 set -o posix ;; #(
66418 *) :
66420 esac
66424 as_nl='
66426 export as_nl
66427 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66428 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66429 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66430 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66431 # Prefer a ksh shell builtin over an external printf program on Solaris,
66432 # but without wasting forks for bash or zsh.
66433 if test -z "$BASH_VERSION$ZSH_VERSION" \
66434 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66435 as_echo='print -r --'
66436 as_echo_n='print -rn --'
66437 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66438 as_echo='printf %s\n'
66439 as_echo_n='printf %s'
66440 else
66441 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66442 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66443 as_echo_n='/usr/ucb/echo -n'
66444 else
66445 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66446 as_echo_n_body='eval
66447 arg=$1;
66448 case $arg in #(
66449 *"$as_nl"*)
66450 expr "X$arg" : "X\\(.*\\)$as_nl";
66451 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66452 esac;
66453 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66455 export as_echo_n_body
66456 as_echo_n='sh -c $as_echo_n_body as_echo'
66458 export as_echo_body
66459 as_echo='sh -c $as_echo_body as_echo'
66462 # The user is always right.
66463 if test "${PATH_SEPARATOR+set}" != set; then
66464 PATH_SEPARATOR=:
66465 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66466 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66467 PATH_SEPARATOR=';'
66472 # IFS
66473 # We need space, tab and new line, in precisely that order. Quoting is
66474 # there to prevent editors from complaining about space-tab.
66475 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66476 # splitting by setting IFS to empty value.)
66477 IFS=" "" $as_nl"
66479 # Find who we are. Look in the path if we contain no directory separator.
66480 case $0 in #((
66481 *[\\/]* ) as_myself=$0 ;;
66482 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66483 for as_dir in $PATH
66485 IFS=$as_save_IFS
66486 test -z "$as_dir" && as_dir=.
66487 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66488 done
66489 IFS=$as_save_IFS
66492 esac
66493 # We did not find ourselves, most probably we were run as `sh COMMAND'
66494 # in which case we are not to be found in the path.
66495 if test "x$as_myself" = x; then
66496 as_myself=$0
66498 if test ! -f "$as_myself"; then
66499 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66500 exit 1
66503 # Unset variables that we do not need and which cause bugs (e.g. in
66504 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66505 # suppresses any "Segmentation fault" message there. '((' could
66506 # trigger a bug in pdksh 5.2.14.
66507 for as_var in BASH_ENV ENV MAIL MAILPATH
66508 do eval test x\${$as_var+set} = xset \
66509 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66510 done
66511 PS1='$ '
66512 PS2='> '
66513 PS4='+ '
66515 # NLS nuisances.
66516 LC_ALL=C
66517 export LC_ALL
66518 LANGUAGE=C
66519 export LANGUAGE
66521 # CDPATH.
66522 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66525 # as_fn_error ERROR [LINENO LOG_FD]
66526 # ---------------------------------
66527 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66528 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66529 # script with status $?, using 1 if that was 0.
66530 as_fn_error ()
66532 as_status=$?; test $as_status -eq 0 && as_status=1
66533 if test "$3"; then
66534 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66535 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66537 $as_echo "$as_me: error: $1" >&2
66538 as_fn_exit $as_status
66539 } # as_fn_error
66542 # as_fn_set_status STATUS
66543 # -----------------------
66544 # Set $? to STATUS, without forking.
66545 as_fn_set_status ()
66547 return $1
66548 } # as_fn_set_status
66550 # as_fn_exit STATUS
66551 # -----------------
66552 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66553 as_fn_exit ()
66555 set +e
66556 as_fn_set_status $1
66557 exit $1
66558 } # as_fn_exit
66560 # as_fn_unset VAR
66561 # ---------------
66562 # Portably unset VAR.
66563 as_fn_unset ()
66565 { eval $1=; unset $1;}
66567 as_unset=as_fn_unset
66568 # as_fn_append VAR VALUE
66569 # ----------------------
66570 # Append the text in VALUE to the end of the definition contained in VAR. Take
66571 # advantage of any shell optimizations that allow amortized linear growth over
66572 # repeated appends, instead of the typical quadratic growth present in naive
66573 # implementations.
66574 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66575 eval 'as_fn_append ()
66577 eval $1+=\$2
66579 else
66580 as_fn_append ()
66582 eval $1=\$$1\$2
66584 fi # as_fn_append
66586 # as_fn_arith ARG...
66587 # ------------------
66588 # Perform arithmetic evaluation on the ARGs, and store the result in the
66589 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66590 # must be portable across $(()) and expr.
66591 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66592 eval 'as_fn_arith ()
66594 as_val=$(( $* ))
66596 else
66597 as_fn_arith ()
66599 as_val=`expr "$@" || test $? -eq 1`
66601 fi # as_fn_arith
66604 if expr a : '\(a\)' >/dev/null 2>&1 &&
66605 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66606 as_expr=expr
66607 else
66608 as_expr=false
66611 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66612 as_basename=basename
66613 else
66614 as_basename=false
66617 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66618 as_dirname=dirname
66619 else
66620 as_dirname=false
66623 as_me=`$as_basename -- "$0" ||
66624 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66625 X"$0" : 'X\(//\)$' \| \
66626 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66627 $as_echo X/"$0" |
66628 sed '/^.*\/\([^/][^/]*\)\/*$/{
66629 s//\1/
66632 /^X\/\(\/\/\)$/{
66633 s//\1/
66636 /^X\/\(\/\).*/{
66637 s//\1/
66640 s/.*/./; q'`
66642 # Avoid depending upon Character Ranges.
66643 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66644 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66645 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66646 as_cr_digits='0123456789'
66647 as_cr_alnum=$as_cr_Letters$as_cr_digits
66649 ECHO_C= ECHO_N= ECHO_T=
66650 case `echo -n x` in #(((((
66651 -n*)
66652 case `echo 'xy\c'` in
66653 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66654 xy) ECHO_C='\c';;
66655 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66656 ECHO_T=' ';;
66657 esac;;
66659 ECHO_N='-n';;
66660 esac
66662 rm -f conf$$ conf$$.exe conf$$.file
66663 if test -d conf$$.dir; then
66664 rm -f conf$$.dir/conf$$.file
66665 else
66666 rm -f conf$$.dir
66667 mkdir conf$$.dir 2>/dev/null
66669 if (echo >conf$$.file) 2>/dev/null; then
66670 if ln -s conf$$.file conf$$ 2>/dev/null; then
66671 as_ln_s='ln -s'
66672 # ... but there are two gotchas:
66673 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66674 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66675 # In both cases, we have to default to `cp -p'.
66676 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66677 as_ln_s='cp -p'
66678 elif ln conf$$.file conf$$ 2>/dev/null; then
66679 as_ln_s=ln
66680 else
66681 as_ln_s='cp -p'
66683 else
66684 as_ln_s='cp -p'
66686 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66687 rmdir conf$$.dir 2>/dev/null
66690 # as_fn_mkdir_p
66691 # -------------
66692 # Create "$as_dir" as a directory, including parents if necessary.
66693 as_fn_mkdir_p ()
66696 case $as_dir in #(
66697 -*) as_dir=./$as_dir;;
66698 esac
66699 test -d "$as_dir" || eval $as_mkdir_p || {
66700 as_dirs=
66701 while :; do
66702 case $as_dir in #(
66703 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66704 *) as_qdir=$as_dir;;
66705 esac
66706 as_dirs="'$as_qdir' $as_dirs"
66707 as_dir=`$as_dirname -- "$as_dir" ||
66708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66709 X"$as_dir" : 'X\(//\)[^/]' \| \
66710 X"$as_dir" : 'X\(//\)$' \| \
66711 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66712 $as_echo X"$as_dir" |
66713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66714 s//\1/
66717 /^X\(\/\/\)[^/].*/{
66718 s//\1/
66721 /^X\(\/\/\)$/{
66722 s//\1/
66725 /^X\(\/\).*/{
66726 s//\1/
66729 s/.*/./; q'`
66730 test -d "$as_dir" && break
66731 done
66732 test -z "$as_dirs" || eval "mkdir $as_dirs"
66733 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66736 } # as_fn_mkdir_p
66737 if mkdir -p . 2>/dev/null; then
66738 as_mkdir_p='mkdir -p "$as_dir"'
66739 else
66740 test -d ./-p && rmdir ./-p
66741 as_mkdir_p=false
66744 if test -x / >/dev/null 2>&1; then
66745 as_test_x='test -x'
66746 else
66747 if ls -dL / >/dev/null 2>&1; then
66748 as_ls_L_option=L
66749 else
66750 as_ls_L_option=
66752 as_test_x='
66753 eval sh -c '\''
66754 if test -d "$1"; then
66755 test -d "$1/.";
66756 else
66757 case $1 in #(
66758 -*)set "./$1";;
66759 esac;
66760 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66761 ???[sx]*):;;*)false;;esac;fi
66762 '\'' sh
66765 as_executable_p=$as_test_x
66767 # Sed expression to map a string onto a valid CPP name.
66768 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66770 # Sed expression to map a string onto a valid variable name.
66771 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66774 exec 6>&1
66775 ## ----------------------------------- ##
66776 ## Main body of $CONFIG_STATUS script. ##
66777 ## ----------------------------------- ##
66778 _ASEOF
66779 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66782 # Save the log message, to keep $0 and so on meaningful, and to
66783 # report actual input values of CONFIG_FILES etc. instead of their
66784 # values after options handling.
66785 ac_log="
66786 This file was extended by package-unused $as_me version-unused, which was
66787 generated by GNU Autoconf 2.64. Invocation command line was
66789 CONFIG_FILES = $CONFIG_FILES
66790 CONFIG_HEADERS = $CONFIG_HEADERS
66791 CONFIG_LINKS = $CONFIG_LINKS
66792 CONFIG_COMMANDS = $CONFIG_COMMANDS
66793 $ $0 $@
66795 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66798 _ACEOF
66800 case $ac_config_files in *"
66801 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66802 esac
66804 case $ac_config_headers in *"
66805 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66806 esac
66809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66810 # Files that config.status was made for.
66811 config_files="$ac_config_files"
66812 config_headers="$ac_config_headers"
66813 config_commands="$ac_config_commands"
66815 _ACEOF
66817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66818 ac_cs_usage="\
66819 \`$as_me' instantiates files and other configuration actions
66820 from templates according to the current configuration. Unless the files
66821 and actions are specified as TAGs, all are instantiated by default.
66823 Usage: $0 [OPTION]... [TAG]...
66825 -h, --help print this help, then exit
66826 -V, --version print version number and configuration settings, then exit
66827 -q, --quiet, --silent
66828 do not print progress messages
66829 -d, --debug don't remove temporary files
66830 --recheck update $as_me by reconfiguring in the same conditions
66831 --file=FILE[:TEMPLATE]
66832 instantiate the configuration file FILE
66833 --header=FILE[:TEMPLATE]
66834 instantiate the configuration header FILE
66836 Configuration files:
66837 $config_files
66839 Configuration headers:
66840 $config_headers
66842 Configuration commands:
66843 $config_commands
66845 Report bugs to the package provider."
66847 _ACEOF
66848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66849 ac_cs_version="\\
66850 package-unused config.status version-unused
66851 configured by $0, generated by GNU Autoconf 2.64,
66852 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66854 Copyright (C) 2009 Free Software Foundation, Inc.
66855 This config.status script is free software; the Free Software Foundation
66856 gives unlimited permission to copy, distribute and modify it."
66858 ac_pwd='$ac_pwd'
66859 srcdir='$srcdir'
66860 INSTALL='$INSTALL'
66861 MKDIR_P='$MKDIR_P'
66862 AWK='$AWK'
66863 test -n "\$AWK" || AWK=awk
66864 _ACEOF
66866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66867 # The default lists apply if the user does not specify any file.
66868 ac_need_defaults=:
66869 while test $# != 0
66871 case $1 in
66872 --*=*)
66873 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66874 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66875 ac_shift=:
66878 ac_option=$1
66879 ac_optarg=$2
66880 ac_shift=shift
66882 esac
66884 case $ac_option in
66885 # Handling of the options.
66886 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66887 ac_cs_recheck=: ;;
66888 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66889 $as_echo "$ac_cs_version"; exit ;;
66890 --debug | --debu | --deb | --de | --d | -d )
66891 debug=: ;;
66892 --file | --fil | --fi | --f )
66893 $ac_shift
66894 case $ac_optarg in
66895 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66896 esac
66897 as_fn_append CONFIG_FILES " '$ac_optarg'"
66898 ac_need_defaults=false;;
66899 --header | --heade | --head | --hea )
66900 $ac_shift
66901 case $ac_optarg in
66902 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66903 esac
66904 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66905 ac_need_defaults=false;;
66906 --he | --h)
66907 # Conflict between --help and --header
66908 as_fn_error "ambiguous option: \`$1'
66909 Try \`$0 --help' for more information.";;
66910 --help | --hel | -h )
66911 $as_echo "$ac_cs_usage"; exit ;;
66912 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66913 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66914 ac_cs_silent=: ;;
66916 # This is an error.
66917 -*) as_fn_error "unrecognized option: \`$1'
66918 Try \`$0 --help' for more information." ;;
66920 *) as_fn_append ac_config_targets " $1"
66921 ac_need_defaults=false ;;
66923 esac
66924 shift
66925 done
66927 ac_configure_extra_args=
66929 if $ac_cs_silent; then
66930 exec 6>/dev/null
66931 ac_configure_extra_args="$ac_configure_extra_args --silent"
66934 _ACEOF
66935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66936 if \$ac_cs_recheck; then
66937 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66938 shift
66939 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66940 CONFIG_SHELL='$SHELL'
66941 export CONFIG_SHELL
66942 exec "\$@"
66945 _ACEOF
66946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66947 exec 5>>config.log
66949 echo
66950 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66951 ## Running $as_me. ##
66952 _ASBOX
66953 $as_echo "$ac_log"
66954 } >&5
66956 _ACEOF
66957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66959 # INIT-COMMANDS
66962 srcdir="$srcdir"
66963 host="$host"
66964 target="$target"
66965 with_multisubdir="$with_multisubdir"
66966 with_multisrctop="$with_multisrctop"
66967 with_target_subdir="$with_target_subdir"
66968 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66969 multi_basedir="$multi_basedir"
66970 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66971 CC="$CC"
66972 CXX="$CXX"
66973 GFORTRAN="$GFORTRAN"
66974 GCJ="$GCJ"
66977 # The HP-UX ksh and POSIX shell print the target directory to stdout
66978 # if CDPATH is set.
66979 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66981 sed_quote_subst='$sed_quote_subst'
66982 double_quote_subst='$double_quote_subst'
66983 delay_variable_subst='$delay_variable_subst'
66984 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66985 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66986 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66987 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66988 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66989 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66990 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66991 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66992 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66993 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66994 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66995 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66996 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66997 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66998 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66999 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67000 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67001 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67002 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67003 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67004 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67005 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67006 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67007 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67008 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67009 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67010 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67011 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67012 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67013 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67014 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67015 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67016 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67017 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67018 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67019 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67020 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67021 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67022 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67023 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67024 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67025 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67026 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67027 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67028 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67029 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67030 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67031 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67032 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"`'
67033 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67034 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67035 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67036 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67037 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67038 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67039 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67040 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67041 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67042 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67043 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67044 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67045 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67046 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67047 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67048 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67049 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67050 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67051 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67052 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67053 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67054 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67055 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67056 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67057 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67058 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67059 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67060 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67061 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67062 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67063 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67064 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67065 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67066 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67067 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67068 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67069 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67070 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67071 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67072 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67073 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67074 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67075 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67076 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67077 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67078 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67079 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67080 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67081 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67082 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67083 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67084 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67085 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67086 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67087 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67088 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67089 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67090 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67091 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67092 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67093 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67094 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67095 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67096 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67097 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67098 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67099 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67100 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67101 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67102 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67103 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67104 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67105 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67106 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67107 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67108 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67109 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67110 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67111 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67112 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67113 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67114 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67115 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67116 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67117 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67118 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67119 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67120 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67121 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67122 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67123 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67124 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67125 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67126 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67127 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67128 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67129 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67130 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67131 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67132 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67133 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67134 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67135 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67136 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67137 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67138 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67139 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67140 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67141 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67142 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67143 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67144 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67145 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67146 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67147 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67148 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67149 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67150 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67151 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67152 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67153 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67154 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67155 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67156 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67157 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67158 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67160 LTCC='$LTCC'
67161 LTCFLAGS='$LTCFLAGS'
67162 compiler='$compiler_DEFAULT'
67164 # A function that is used when there is no print builtin or printf.
67165 func_fallback_echo ()
67167 eval 'cat <<_LTECHO_EOF
67169 _LTECHO_EOF'
67172 # Quote evaled strings.
67173 for var in SHELL \
67174 ECHO \
67175 SED \
67176 GREP \
67177 EGREP \
67178 FGREP \
67179 LD \
67180 NM \
67181 LN_S \
67182 lt_SP2NL \
67183 lt_NL2SP \
67184 reload_flag \
67185 OBJDUMP \
67186 deplibs_check_method \
67187 file_magic_cmd \
67188 AR \
67189 AR_FLAGS \
67190 STRIP \
67191 RANLIB \
67192 CC \
67193 CFLAGS \
67194 compiler \
67195 lt_cv_sys_global_symbol_pipe \
67196 lt_cv_sys_global_symbol_to_cdecl \
67197 lt_cv_sys_global_symbol_to_c_name_address \
67198 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67199 lt_prog_compiler_no_builtin_flag \
67200 lt_prog_compiler_wl \
67201 lt_prog_compiler_pic \
67202 lt_prog_compiler_static \
67203 lt_cv_prog_compiler_c_o \
67204 need_locks \
67205 DSYMUTIL \
67206 NMEDIT \
67207 LIPO \
67208 OTOOL \
67209 OTOOL64 \
67210 shrext_cmds \
67211 export_dynamic_flag_spec \
67212 whole_archive_flag_spec \
67213 compiler_needs_object \
67214 with_gnu_ld \
67215 allow_undefined_flag \
67216 no_undefined_flag \
67217 hardcode_libdir_flag_spec \
67218 hardcode_libdir_flag_spec_ld \
67219 hardcode_libdir_separator \
67220 fix_srcfile_path \
67221 exclude_expsyms \
67222 include_expsyms \
67223 file_list_spec \
67224 variables_saved_for_relink \
67225 libname_spec \
67226 library_names_spec \
67227 soname_spec \
67228 install_override_mode \
67229 finish_eval \
67230 old_striplib \
67231 striplib \
67232 compiler_lib_search_dirs \
67233 predep_objects \
67234 postdep_objects \
67235 predeps \
67236 postdeps \
67237 compiler_lib_search_path \
67238 LD_CXX \
67239 reload_flag_CXX \
67240 compiler_CXX \
67241 lt_prog_compiler_no_builtin_flag_CXX \
67242 lt_prog_compiler_wl_CXX \
67243 lt_prog_compiler_pic_CXX \
67244 lt_prog_compiler_static_CXX \
67245 lt_cv_prog_compiler_c_o_CXX \
67246 export_dynamic_flag_spec_CXX \
67247 whole_archive_flag_spec_CXX \
67248 compiler_needs_object_CXX \
67249 with_gnu_ld_CXX \
67250 allow_undefined_flag_CXX \
67251 no_undefined_flag_CXX \
67252 hardcode_libdir_flag_spec_CXX \
67253 hardcode_libdir_flag_spec_ld_CXX \
67254 hardcode_libdir_separator_CXX \
67255 fix_srcfile_path_CXX \
67256 exclude_expsyms_CXX \
67257 include_expsyms_CXX \
67258 file_list_spec_CXX \
67259 compiler_lib_search_dirs_CXX \
67260 predep_objects_CXX \
67261 postdep_objects_CXX \
67262 predeps_CXX \
67263 postdeps_CXX \
67264 compiler_lib_search_path_CXX; do
67265 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67266 *[\\\\\\\`\\"\\\$]*)
67267 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67270 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67272 esac
67273 done
67275 # Double-quote double-evaled strings.
67276 for var in reload_cmds \
67277 old_postinstall_cmds \
67278 old_postuninstall_cmds \
67279 old_archive_cmds \
67280 extract_expsyms_cmds \
67281 old_archive_from_new_cmds \
67282 old_archive_from_expsyms_cmds \
67283 archive_cmds \
67284 archive_expsym_cmds \
67285 module_cmds \
67286 module_expsym_cmds \
67287 export_symbols_cmds \
67288 prelink_cmds \
67289 postinstall_cmds \
67290 postuninstall_cmds \
67291 finish_cmds \
67292 sys_lib_search_path_spec \
67293 sys_lib_dlsearch_path_spec \
67294 reload_cmds_CXX \
67295 old_archive_cmds_CXX \
67296 old_archive_from_new_cmds_CXX \
67297 old_archive_from_expsyms_cmds_CXX \
67298 archive_cmds_CXX \
67299 archive_expsym_cmds_CXX \
67300 module_cmds_CXX \
67301 module_expsym_cmds_CXX \
67302 export_symbols_cmds_CXX \
67303 prelink_cmds_CXX; do
67304 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67305 *[\\\\\\\`\\"\\\$]*)
67306 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67309 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67311 esac
67312 done
67314 ac_aux_dir='$ac_aux_dir'
67315 xsi_shell='$xsi_shell'
67316 lt_shell_append='$lt_shell_append'
67318 # See if we are running on zsh, and set the options which allow our
67319 # commands through without removal of \ escapes INIT.
67320 if test -n "\${ZSH_VERSION+set}" ; then
67321 setopt NO_GLOB_SUBST
67325 PACKAGE='$PACKAGE'
67326 VERSION='$VERSION'
67327 TIMESTAMP='$TIMESTAMP'
67328 RM='$RM'
67329 ofile='$ofile'
67336 GCC="$GCC"
67337 CC="$CC"
67338 acx_cv_header_stdint="$acx_cv_header_stdint"
67339 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67340 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67341 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67342 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67343 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67344 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67345 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67346 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67347 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67348 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67349 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67350 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67351 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67354 _ACEOF
67356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67358 # Handling of arguments.
67359 for ac_config_target in $ac_config_targets
67361 case $ac_config_target in
67362 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67363 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67364 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67365 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67366 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67367 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67368 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67369 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67370 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67371 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67372 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67373 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67374 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67375 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67376 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67378 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67379 esac
67380 done
67383 # If the user did not use the arguments to specify the items to instantiate,
67384 # then the envvar interface is used. Set only those that are not.
67385 # We use the long form for the default assignment because of an extremely
67386 # bizarre bug on SunOS 4.1.3.
67387 if $ac_need_defaults; then
67388 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67389 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67390 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67393 # Have a temporary directory for convenience. Make it in the build tree
67394 # simply because there is no reason against having it here, and in addition,
67395 # creating and moving files from /tmp can sometimes cause problems.
67396 # Hook for its removal unless debugging.
67397 # Note that there is a small window in which the directory will not be cleaned:
67398 # after its creation but before its name has been assigned to `$tmp'.
67399 $debug ||
67401 tmp=
67402 trap 'exit_status=$?
67403 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67405 trap 'as_fn_exit 1' 1 2 13 15
67407 # Create a (secure) tmp directory for tmp files.
67410 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67411 test -n "$tmp" && test -d "$tmp"
67412 } ||
67414 tmp=./conf$$-$RANDOM
67415 (umask 077 && mkdir "$tmp")
67416 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67418 # Set up the scripts for CONFIG_FILES section.
67419 # No need to generate them if there are no CONFIG_FILES.
67420 # This happens for instance with `./config.status config.h'.
67421 if test -n "$CONFIG_FILES"; then
67424 ac_cr=`echo X | tr X '\015'`
67425 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67426 # But we know of no other shell where ac_cr would be empty at this
67427 # point, so we can use a bashism as a fallback.
67428 if test "x$ac_cr" = x; then
67429 eval ac_cr=\$\'\\r\'
67431 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67432 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67433 ac_cs_awk_cr='\r'
67434 else
67435 ac_cs_awk_cr=$ac_cr
67438 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67439 _ACEOF
67443 echo "cat >conf$$subs.awk <<_ACEOF" &&
67444 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67445 echo "_ACEOF"
67446 } >conf$$subs.sh ||
67447 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67448 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67449 ac_delim='%!_!# '
67450 for ac_last_try in false false false false false :; do
67451 . ./conf$$subs.sh ||
67452 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67454 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67455 if test $ac_delim_n = $ac_delim_num; then
67456 break
67457 elif $ac_last_try; then
67458 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67459 else
67460 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67462 done
67463 rm -f conf$$subs.sh
67465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67466 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67467 _ACEOF
67468 sed -n '
67470 s/^/S["/; s/!.*/"]=/
67473 s/^[^!]*!//
67474 :repl
67475 t repl
67476 s/'"$ac_delim"'$//
67477 t delim
67480 s/\(.\{148\}\).*/\1/
67481 t more1
67482 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67485 b repl
67486 :more1
67487 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67490 s/.\{148\}//
67491 t nl
67492 :delim
67494 s/\(.\{148\}\).*/\1/
67495 t more2
67496 s/["\\]/\\&/g; s/^/"/; s/$/"/
67499 :more2
67500 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67503 s/.\{148\}//
67504 t delim
67505 ' <conf$$subs.awk | sed '
67506 /^[^""]/{
67508 s/\n//
67510 ' >>$CONFIG_STATUS || ac_write_fail=1
67511 rm -f conf$$subs.awk
67512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67513 _ACAWK
67514 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67515 for (key in S) S_is_set[key] = 1
67516 FS = "\a"
67520 line = $ 0
67521 nfields = split(line, field, "@")
67522 substed = 0
67523 len = length(field[1])
67524 for (i = 2; i < nfields; i++) {
67525 key = field[i]
67526 keylen = length(key)
67527 if (S_is_set[key]) {
67528 value = S[key]
67529 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67530 len += length(value) + length(field[++i])
67531 substed = 1
67532 } else
67533 len += 1 + keylen
67536 print line
67539 _ACAWK
67540 _ACEOF
67541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67542 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67543 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67544 else
67546 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67547 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67548 _ACEOF
67550 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67551 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67552 # trailing colons and then remove the whole line if VPATH becomes empty
67553 # (actually we leave an empty line to preserve line numbers).
67554 if test "x$srcdir" = x.; then
67555 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67556 s/:*\$(srcdir):*/:/
67557 s/:*\${srcdir}:*/:/
67558 s/:*@srcdir@:*/:/
67559 s/^\([^=]*=[ ]*\):*/\1/
67560 s/:*$//
67561 s/^[^=]*=[ ]*$//
67565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67566 fi # test -n "$CONFIG_FILES"
67568 # Set up the scripts for CONFIG_HEADERS section.
67569 # No need to generate them if there are no CONFIG_HEADERS.
67570 # This happens for instance with `./config.status Makefile'.
67571 if test -n "$CONFIG_HEADERS"; then
67572 cat >"$tmp/defines.awk" <<\_ACAWK ||
67573 BEGIN {
67574 _ACEOF
67576 # Transform confdefs.h into an awk script `defines.awk', embedded as
67577 # here-document in config.status, that substitutes the proper values into
67578 # config.h.in to produce config.h.
67580 # Create a delimiter string that does not exist in confdefs.h, to ease
67581 # handling of long lines.
67582 ac_delim='%!_!# '
67583 for ac_last_try in false false :; do
67584 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67585 if test -z "$ac_t"; then
67586 break
67587 elif $ac_last_try; then
67588 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67589 else
67590 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67592 done
67594 # For the awk script, D is an array of macro values keyed by name,
67595 # likewise P contains macro parameters if any. Preserve backslash
67596 # newline sequences.
67598 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67599 sed -n '
67600 s/.\{148\}/&'"$ac_delim"'/g
67601 t rset
67602 :rset
67603 s/^[ ]*#[ ]*define[ ][ ]*/ /
67604 t def
67606 :def
67607 s/\\$//
67608 t bsnl
67609 s/["\\]/\\&/g
67610 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67611 D["\1"]=" \3"/p
67612 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67614 :bsnl
67615 s/["\\]/\\&/g
67616 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67617 D["\1"]=" \3\\\\\\n"\\/p
67618 t cont
67619 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67620 t cont
67622 :cont
67624 s/.\{148\}/&'"$ac_delim"'/g
67625 t clear
67626 :clear
67627 s/\\$//
67628 t bsnlc
67629 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67631 :bsnlc
67632 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67633 b cont
67634 ' <confdefs.h | sed '
67635 s/'"$ac_delim"'/"\\\
67636 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67639 for (key in D) D_is_set[key] = 1
67640 FS = "\a"
67642 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67643 line = \$ 0
67644 split(line, arg, " ")
67645 if (arg[1] == "#") {
67646 defundef = arg[2]
67647 mac1 = arg[3]
67648 } else {
67649 defundef = substr(arg[1], 2)
67650 mac1 = arg[2]
67652 split(mac1, mac2, "(") #)
67653 macro = mac2[1]
67654 prefix = substr(line, 1, index(line, defundef) - 1)
67655 if (D_is_set[macro]) {
67656 # Preserve the white space surrounding the "#".
67657 print prefix "define", macro P[macro] D[macro]
67658 next
67659 } else {
67660 # Replace #undef with comments. This is necessary, for example,
67661 # in the case of _POSIX_SOURCE, which is predefined and required
67662 # on some systems where configure will not decide to define it.
67663 if (defundef == "undef") {
67664 print "/*", prefix defundef, macro, "*/"
67665 next
67669 { print }
67670 _ACAWK
67671 _ACEOF
67672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67673 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67674 fi # test -n "$CONFIG_HEADERS"
67677 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67678 shift
67679 for ac_tag
67681 case $ac_tag in
67682 :[FHLC]) ac_mode=$ac_tag; continue;;
67683 esac
67684 case $ac_mode$ac_tag in
67685 :[FHL]*:*);;
67686 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67687 :[FH]-) ac_tag=-:-;;
67688 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67689 esac
67690 ac_save_IFS=$IFS
67691 IFS=:
67692 set x $ac_tag
67693 IFS=$ac_save_IFS
67694 shift
67695 ac_file=$1
67696 shift
67698 case $ac_mode in
67699 :L) ac_source=$1;;
67700 :[FH])
67701 ac_file_inputs=
67702 for ac_f
67704 case $ac_f in
67705 -) ac_f="$tmp/stdin";;
67706 *) # Look for the file first in the build tree, then in the source tree
67707 # (if the path is not absolute). The absolute path cannot be DOS-style,
67708 # because $ac_f cannot contain `:'.
67709 test -f "$ac_f" ||
67710 case $ac_f in
67711 [\\/$]*) false;;
67712 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67713 esac ||
67714 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67715 esac
67716 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67717 as_fn_append ac_file_inputs " '$ac_f'"
67718 done
67720 # Let's still pretend it is `configure' which instantiates (i.e., don't
67721 # use $as_me), people would be surprised to read:
67722 # /* config.h. Generated by config.status. */
67723 configure_input='Generated from '`
67724 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67725 `' by configure.'
67726 if test x"$ac_file" != x-; then
67727 configure_input="$ac_file. $configure_input"
67728 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67729 $as_echo "$as_me: creating $ac_file" >&6;}
67731 # Neutralize special characters interpreted by sed in replacement strings.
67732 case $configure_input in #(
67733 *\&* | *\|* | *\\* )
67734 ac_sed_conf_input=`$as_echo "$configure_input" |
67735 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67736 *) ac_sed_conf_input=$configure_input;;
67737 esac
67739 case $ac_tag in
67740 *:-:* | *:-) cat >"$tmp/stdin" \
67741 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67742 esac
67744 esac
67746 ac_dir=`$as_dirname -- "$ac_file" ||
67747 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67748 X"$ac_file" : 'X\(//\)[^/]' \| \
67749 X"$ac_file" : 'X\(//\)$' \| \
67750 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67751 $as_echo X"$ac_file" |
67752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67753 s//\1/
67756 /^X\(\/\/\)[^/].*/{
67757 s//\1/
67760 /^X\(\/\/\)$/{
67761 s//\1/
67764 /^X\(\/\).*/{
67765 s//\1/
67768 s/.*/./; q'`
67769 as_dir="$ac_dir"; as_fn_mkdir_p
67770 ac_builddir=.
67772 case "$ac_dir" in
67773 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67775 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67776 # A ".." for each directory in $ac_dir_suffix.
67777 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67778 case $ac_top_builddir_sub in
67779 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67780 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67781 esac ;;
67782 esac
67783 ac_abs_top_builddir=$ac_pwd
67784 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67785 # for backward compatibility:
67786 ac_top_builddir=$ac_top_build_prefix
67788 case $srcdir in
67789 .) # We are building in place.
67790 ac_srcdir=.
67791 ac_top_srcdir=$ac_top_builddir_sub
67792 ac_abs_top_srcdir=$ac_pwd ;;
67793 [\\/]* | ?:[\\/]* ) # Absolute name.
67794 ac_srcdir=$srcdir$ac_dir_suffix;
67795 ac_top_srcdir=$srcdir
67796 ac_abs_top_srcdir=$srcdir ;;
67797 *) # Relative name.
67798 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67799 ac_top_srcdir=$ac_top_build_prefix$srcdir
67800 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67801 esac
67802 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67805 case $ac_mode in
67808 # CONFIG_FILE
67811 case $INSTALL in
67812 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67813 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67814 esac
67815 ac_MKDIR_P=$MKDIR_P
67816 case $MKDIR_P in
67817 [\\/$]* | ?:[\\/]* ) ;;
67818 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67819 esac
67820 _ACEOF
67822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67823 # If the template does not know about datarootdir, expand it.
67824 # FIXME: This hack should be removed a few years after 2.60.
67825 ac_datarootdir_hack=; ac_datarootdir_seen=
67826 ac_sed_dataroot='
67827 /datarootdir/ {
67831 /@datadir@/p
67832 /@docdir@/p
67833 /@infodir@/p
67834 /@localedir@/p
67835 /@mandir@/p'
67836 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67837 *datarootdir*) ac_datarootdir_seen=yes;;
67838 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67840 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67841 _ACEOF
67842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67843 ac_datarootdir_hack='
67844 s&@datadir@&$datadir&g
67845 s&@docdir@&$docdir&g
67846 s&@infodir@&$infodir&g
67847 s&@localedir@&$localedir&g
67848 s&@mandir@&$mandir&g
67849 s&\\\${datarootdir}&$datarootdir&g' ;;
67850 esac
67851 _ACEOF
67853 # Neutralize VPATH when `$srcdir' = `.'.
67854 # Shell code in configure.ac might set extrasub.
67855 # FIXME: do we really want to maintain this feature?
67856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67857 ac_sed_extra="$ac_vpsub
67858 $extrasub
67859 _ACEOF
67860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67863 s|@configure_input@|$ac_sed_conf_input|;t t
67864 s&@top_builddir@&$ac_top_builddir_sub&;t t
67865 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67866 s&@srcdir@&$ac_srcdir&;t t
67867 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67868 s&@top_srcdir@&$ac_top_srcdir&;t t
67869 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67870 s&@builddir@&$ac_builddir&;t t
67871 s&@abs_builddir@&$ac_abs_builddir&;t t
67872 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67873 s&@INSTALL@&$ac_INSTALL&;t t
67874 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67875 $ac_datarootdir_hack
67877 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67878 || as_fn_error "could not create $ac_file" "$LINENO" 5
67880 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67881 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67882 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67884 which seems to be undefined. Please make sure it is defined." >&5
67885 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67886 which seems to be undefined. Please make sure it is defined." >&2;}
67888 rm -f "$tmp/stdin"
67889 case $ac_file in
67890 -) cat "$tmp/out" && rm -f "$tmp/out";;
67891 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67892 esac \
67893 || as_fn_error "could not create $ac_file" "$LINENO" 5
67897 # CONFIG_HEADER
67899 if test x"$ac_file" != x-; then
67901 $as_echo "/* $configure_input */" \
67902 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67903 } >"$tmp/config.h" \
67904 || as_fn_error "could not create $ac_file" "$LINENO" 5
67905 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67906 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67907 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67908 else
67909 rm -f "$ac_file"
67910 mv "$tmp/config.h" "$ac_file" \
67911 || as_fn_error "could not create $ac_file" "$LINENO" 5
67913 else
67914 $as_echo "/* $configure_input */" \
67915 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67916 || as_fn_error "could not create -" "$LINENO" 5
67918 # Compute "$ac_file"'s index in $config_headers.
67919 _am_arg="$ac_file"
67920 _am_stamp_count=1
67921 for _am_header in $config_headers :; do
67922 case $_am_header in
67923 $_am_arg | $_am_arg:* )
67924 break ;;
67926 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67927 esac
67928 done
67929 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67930 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67931 X"$_am_arg" : 'X\(//\)[^/]' \| \
67932 X"$_am_arg" : 'X\(//\)$' \| \
67933 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67934 $as_echo X"$_am_arg" |
67935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67936 s//\1/
67939 /^X\(\/\/\)[^/].*/{
67940 s//\1/
67943 /^X\(\/\/\)$/{
67944 s//\1/
67947 /^X\(\/\).*/{
67948 s//\1/
67951 s/.*/./; q'`/stamp-h$_am_stamp_count
67954 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67955 $as_echo "$as_me: executing $ac_file commands" >&6;}
67957 esac
67960 case $ac_file$ac_mode in
67961 "default-1":C)
67962 # Only add multilib support code if we just rebuilt the top-level
67963 # Makefile.
67964 case " $CONFIG_FILES " in
67965 *" Makefile "*)
67966 ac_file=Makefile . ${multi_basedir}/config-ml.in
67968 esac ;;
67969 "libtool":C)
67971 # See if we are running on zsh, and set the options which allow our
67972 # commands through without removal of \ escapes.
67973 if test -n "${ZSH_VERSION+set}" ; then
67974 setopt NO_GLOB_SUBST
67977 cfgfile="${ofile}T"
67978 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67979 $RM "$cfgfile"
67981 cat <<_LT_EOF >> "$cfgfile"
67982 #! $SHELL
67984 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67985 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67986 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67987 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67989 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67990 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67991 # Written by Gordon Matzigkeit, 1996
67993 # This file is part of GNU Libtool.
67995 # GNU Libtool is free software; you can redistribute it and/or
67996 # modify it under the terms of the GNU General Public License as
67997 # published by the Free Software Foundation; either version 2 of
67998 # the License, or (at your option) any later version.
68000 # As a special exception to the GNU General Public License,
68001 # if you distribute this file as part of a program or library that
68002 # is built using GNU Libtool, you may include this file under the
68003 # same distribution terms that you use for the rest of that program.
68005 # GNU Libtool is distributed in the hope that it will be useful,
68006 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68007 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68008 # GNU General Public License for more details.
68010 # You should have received a copy of the GNU General Public License
68011 # along with GNU Libtool; see the file COPYING. If not, a copy
68012 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68013 # obtained by writing to the Free Software Foundation, Inc.,
68014 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68017 # The names of the tagged configurations supported by this script.
68018 available_tags="CXX "
68020 # ### BEGIN LIBTOOL CONFIG
68022 # Which release of libtool.m4 was used?
68023 macro_version=$macro_version
68024 macro_revision=$macro_revision
68026 # Whether or not to build shared libraries.
68027 build_libtool_libs=$enable_shared
68029 # Whether or not to build static libraries.
68030 build_old_libs=$enable_static
68032 # What type of objects to build.
68033 pic_mode=$pic_mode
68035 # Whether or not to optimize for fast installation.
68036 fast_install=$enable_fast_install
68038 # Shell to use when invoking shell scripts.
68039 SHELL=$lt_SHELL
68041 # An echo program that protects backslashes.
68042 ECHO=$lt_ECHO
68044 # The host system.
68045 host_alias=$host_alias
68046 host=$host
68047 host_os=$host_os
68049 # The build system.
68050 build_alias=$build_alias
68051 build=$build
68052 build_os=$build_os
68054 # A sed program that does not truncate output.
68055 SED=$lt_SED
68057 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68058 Xsed="\$SED -e 1s/^X//"
68060 # A grep program that handles long lines.
68061 GREP=$lt_GREP
68063 # An ERE matcher.
68064 EGREP=$lt_EGREP
68066 # A literal string matcher.
68067 FGREP=$lt_FGREP
68069 # A BSD- or MS-compatible name lister.
68070 NM=$lt_NM
68072 # Whether we need soft or hard links.
68073 LN_S=$lt_LN_S
68075 # What is the maximum length of a command?
68076 max_cmd_len=$max_cmd_len
68078 # Object file suffix (normally "o").
68079 objext=$ac_objext
68081 # Executable file suffix (normally "").
68082 exeext=$exeext
68084 # whether the shell understands "unset".
68085 lt_unset=$lt_unset
68087 # turn spaces into newlines.
68088 SP2NL=$lt_lt_SP2NL
68090 # turn newlines into spaces.
68091 NL2SP=$lt_lt_NL2SP
68093 # An object symbol dumper.
68094 OBJDUMP=$lt_OBJDUMP
68096 # Method to check whether dependent libraries are shared objects.
68097 deplibs_check_method=$lt_deplibs_check_method
68099 # Command to use when deplibs_check_method == "file_magic".
68100 file_magic_cmd=$lt_file_magic_cmd
68102 # The archiver.
68103 AR=$lt_AR
68104 AR_FLAGS=$lt_AR_FLAGS
68106 # A symbol stripping program.
68107 STRIP=$lt_STRIP
68109 # Commands used to install an old-style archive.
68110 RANLIB=$lt_RANLIB
68111 old_postinstall_cmds=$lt_old_postinstall_cmds
68112 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68114 # Whether to use a lock for old archive extraction.
68115 lock_old_archive_extraction=$lock_old_archive_extraction
68117 # A C compiler.
68118 LTCC=$lt_CC
68120 # LTCC compiler flags.
68121 LTCFLAGS=$lt_CFLAGS
68123 # Take the output of nm and produce a listing of raw symbols and C names.
68124 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68126 # Transform the output of nm in a proper C declaration.
68127 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68129 # Transform the output of nm in a C name address pair.
68130 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68132 # Transform the output of nm in a C name address pair when lib prefix is needed.
68133 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68135 # The name of the directory that contains temporary libtool files.
68136 objdir=$objdir
68138 # Used to examine libraries when file_magic_cmd begins with "file".
68139 MAGIC_CMD=$MAGIC_CMD
68141 # Must we lock files when doing compilation?
68142 need_locks=$lt_need_locks
68144 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68145 DSYMUTIL=$lt_DSYMUTIL
68147 # Tool to change global to local symbols on Mac OS X.
68148 NMEDIT=$lt_NMEDIT
68150 # Tool to manipulate fat objects and archives on Mac OS X.
68151 LIPO=$lt_LIPO
68153 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68154 OTOOL=$lt_OTOOL
68156 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68157 OTOOL64=$lt_OTOOL64
68159 # Old archive suffix (normally "a").
68160 libext=$libext
68162 # Shared library suffix (normally ".so").
68163 shrext_cmds=$lt_shrext_cmds
68165 # The commands to extract the exported symbol list from a shared archive.
68166 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68168 # Variables whose values should be saved in libtool wrapper scripts and
68169 # restored at link time.
68170 variables_saved_for_relink=$lt_variables_saved_for_relink
68172 # Do we need the "lib" prefix for modules?
68173 need_lib_prefix=$need_lib_prefix
68175 # Do we need a version for libraries?
68176 need_version=$need_version
68178 # Library versioning type.
68179 version_type=$version_type
68181 # Shared library runtime path variable.
68182 runpath_var=$runpath_var
68184 # Shared library path variable.
68185 shlibpath_var=$shlibpath_var
68187 # Is shlibpath searched before the hard-coded library search path?
68188 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68190 # Format of library name prefix.
68191 libname_spec=$lt_libname_spec
68193 # List of archive names. First name is the real one, the rest are links.
68194 # The last name is the one that the linker finds with -lNAME
68195 library_names_spec=$lt_library_names_spec
68197 # The coded name of the library, if different from the real name.
68198 soname_spec=$lt_soname_spec
68200 # Permission mode override for installation of shared libraries.
68201 install_override_mode=$lt_install_override_mode
68203 # Command to use after installation of a shared archive.
68204 postinstall_cmds=$lt_postinstall_cmds
68206 # Command to use after uninstallation of a shared archive.
68207 postuninstall_cmds=$lt_postuninstall_cmds
68209 # Commands used to finish a libtool library installation in a directory.
68210 finish_cmds=$lt_finish_cmds
68212 # As "finish_cmds", except a single script fragment to be evaled but
68213 # not shown.
68214 finish_eval=$lt_finish_eval
68216 # Whether we should hardcode library paths into libraries.
68217 hardcode_into_libs=$hardcode_into_libs
68219 # Compile-time system search path for libraries.
68220 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68222 # Run-time system search path for libraries.
68223 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68225 # Whether dlopen is supported.
68226 dlopen_support=$enable_dlopen
68228 # Whether dlopen of programs is supported.
68229 dlopen_self=$enable_dlopen_self
68231 # Whether dlopen of statically linked programs is supported.
68232 dlopen_self_static=$enable_dlopen_self_static
68234 # Commands to strip libraries.
68235 old_striplib=$lt_old_striplib
68236 striplib=$lt_striplib
68239 # The linker used to build libraries.
68240 LD=$lt_LD
68242 # How to create reloadable object files.
68243 reload_flag=$lt_reload_flag
68244 reload_cmds=$lt_reload_cmds
68246 # Commands used to build an old-style archive.
68247 old_archive_cmds=$lt_old_archive_cmds
68249 # A language specific compiler.
68250 CC=$lt_compiler
68252 # Is the compiler the GNU compiler?
68253 with_gcc=$GCC
68255 # Compiler flag to turn off builtin functions.
68256 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68258 # How to pass a linker flag through the compiler.
68259 wl=$lt_lt_prog_compiler_wl
68261 # Additional compiler flags for building library objects.
68262 pic_flag=$lt_lt_prog_compiler_pic
68264 # Compiler flag to prevent dynamic linking.
68265 link_static_flag=$lt_lt_prog_compiler_static
68267 # Does compiler simultaneously support -c and -o options?
68268 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68270 # Whether or not to add -lc for building shared libraries.
68271 build_libtool_need_lc=$archive_cmds_need_lc
68273 # Whether or not to disallow shared libs when runtime libs are static.
68274 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68276 # Compiler flag to allow reflexive dlopens.
68277 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68279 # Compiler flag to generate shared objects directly from archives.
68280 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68282 # Whether the compiler copes with passing no objects directly.
68283 compiler_needs_object=$lt_compiler_needs_object
68285 # Create an old-style archive from a shared archive.
68286 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68288 # Create a temporary old-style archive to link instead of a shared archive.
68289 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68291 # Commands used to build a shared archive.
68292 archive_cmds=$lt_archive_cmds
68293 archive_expsym_cmds=$lt_archive_expsym_cmds
68295 # Commands used to build a loadable module if different from building
68296 # a shared archive.
68297 module_cmds=$lt_module_cmds
68298 module_expsym_cmds=$lt_module_expsym_cmds
68300 # Whether we are building with GNU ld or not.
68301 with_gnu_ld=$lt_with_gnu_ld
68303 # Flag that allows shared libraries with undefined symbols to be built.
68304 allow_undefined_flag=$lt_allow_undefined_flag
68306 # Flag that enforces no undefined symbols.
68307 no_undefined_flag=$lt_no_undefined_flag
68309 # Flag to hardcode \$libdir into a binary during linking.
68310 # This must work even if \$libdir does not exist
68311 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68313 # If ld is used when linking, flag to hardcode \$libdir into a binary
68314 # during linking. This must work even if \$libdir does not exist.
68315 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68317 # Whether we need a single "-rpath" flag with a separated argument.
68318 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68320 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68321 # DIR into the resulting binary.
68322 hardcode_direct=$hardcode_direct
68324 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68325 # DIR into the resulting binary and the resulting library dependency is
68326 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68327 # library is relocated.
68328 hardcode_direct_absolute=$hardcode_direct_absolute
68330 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68331 # into the resulting binary.
68332 hardcode_minus_L=$hardcode_minus_L
68334 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68335 # into the resulting binary.
68336 hardcode_shlibpath_var=$hardcode_shlibpath_var
68338 # Set to "yes" if building a shared library automatically hardcodes DIR
68339 # into the library and all subsequent libraries and executables linked
68340 # against it.
68341 hardcode_automatic=$hardcode_automatic
68343 # Set to yes if linker adds runtime paths of dependent libraries
68344 # to runtime path list.
68345 inherit_rpath=$inherit_rpath
68347 # Whether libtool must link a program against all its dependency libraries.
68348 link_all_deplibs=$link_all_deplibs
68350 # Fix the shell variable \$srcfile for the compiler.
68351 fix_srcfile_path=$lt_fix_srcfile_path
68353 # Set to "yes" if exported symbols are required.
68354 always_export_symbols=$always_export_symbols
68356 # The commands to list exported symbols.
68357 export_symbols_cmds=$lt_export_symbols_cmds
68359 # Symbols that should not be listed in the preloaded symbols.
68360 exclude_expsyms=$lt_exclude_expsyms
68362 # Symbols that must always be exported.
68363 include_expsyms=$lt_include_expsyms
68365 # Commands necessary for linking programs (against libraries) with templates.
68366 prelink_cmds=$lt_prelink_cmds
68368 # Specify filename containing input files.
68369 file_list_spec=$lt_file_list_spec
68371 # How to hardcode a shared library path into an executable.
68372 hardcode_action=$hardcode_action
68374 # The directories searched by this compiler when creating a shared library.
68375 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68377 # Dependencies to place before and after the objects being linked to
68378 # create a shared library.
68379 predep_objects=$lt_predep_objects
68380 postdep_objects=$lt_postdep_objects
68381 predeps=$lt_predeps
68382 postdeps=$lt_postdeps
68384 # The library search path used internally by the compiler when linking
68385 # a shared library.
68386 compiler_lib_search_path=$lt_compiler_lib_search_path
68388 # ### END LIBTOOL CONFIG
68390 _LT_EOF
68392 case $host_os in
68393 aix3*)
68394 cat <<\_LT_EOF >> "$cfgfile"
68395 # AIX sometimes has problems with the GCC collect2 program. For some
68396 # reason, if we set the COLLECT_NAMES environment variable, the problems
68397 # vanish in a puff of smoke.
68398 if test "X${COLLECT_NAMES+set}" != Xset; then
68399 COLLECT_NAMES=
68400 export COLLECT_NAMES
68402 _LT_EOF
68404 esac
68407 ltmain="$ac_aux_dir/ltmain.sh"
68410 # We use sed instead of cat because bash on DJGPP gets confused if
68411 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68412 # text mode, it properly converts lines to CR/LF. This bash problem
68413 # is reportedly fixed, but why not run on old versions too?
68414 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68415 || (rm -f "$cfgfile"; exit 1)
68417 case $xsi_shell in
68418 yes)
68419 cat << \_LT_EOF >> "$cfgfile"
68421 # func_dirname file append nondir_replacement
68422 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68423 # otherwise set result to NONDIR_REPLACEMENT.
68424 func_dirname ()
68426 case ${1} in
68427 */*) func_dirname_result="${1%/*}${2}" ;;
68428 * ) func_dirname_result="${3}" ;;
68429 esac
68432 # func_basename file
68433 func_basename ()
68435 func_basename_result="${1##*/}"
68438 # func_dirname_and_basename file append nondir_replacement
68439 # perform func_basename and func_dirname in a single function
68440 # call:
68441 # dirname: Compute the dirname of FILE. If nonempty,
68442 # add APPEND to the result, otherwise set result
68443 # to NONDIR_REPLACEMENT.
68444 # value returned in "$func_dirname_result"
68445 # basename: Compute filename of FILE.
68446 # value retuned in "$func_basename_result"
68447 # Implementation must be kept synchronized with func_dirname
68448 # and func_basename. For efficiency, we do not delegate to
68449 # those functions but instead duplicate the functionality here.
68450 func_dirname_and_basename ()
68452 case ${1} in
68453 */*) func_dirname_result="${1%/*}${2}" ;;
68454 * ) func_dirname_result="${3}" ;;
68455 esac
68456 func_basename_result="${1##*/}"
68459 # func_stripname prefix suffix name
68460 # strip PREFIX and SUFFIX off of NAME.
68461 # PREFIX and SUFFIX must not contain globbing or regex special
68462 # characters, hashes, percent signs, but SUFFIX may contain a leading
68463 # dot (in which case that matches only a dot).
68464 func_stripname ()
68466 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68467 # positional parameters, so assign one to ordinary parameter first.
68468 func_stripname_result=${3}
68469 func_stripname_result=${func_stripname_result#"${1}"}
68470 func_stripname_result=${func_stripname_result%"${2}"}
68473 # func_opt_split
68474 func_opt_split ()
68476 func_opt_split_opt=${1%%=*}
68477 func_opt_split_arg=${1#*=}
68480 # func_lo2o object
68481 func_lo2o ()
68483 case ${1} in
68484 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68485 *) func_lo2o_result=${1} ;;
68486 esac
68489 # func_xform libobj-or-source
68490 func_xform ()
68492 func_xform_result=${1%.*}.lo
68495 # func_arith arithmetic-term...
68496 func_arith ()
68498 func_arith_result=$(( $* ))
68501 # func_len string
68502 # STRING may not start with a hyphen.
68503 func_len ()
68505 func_len_result=${#1}
68508 _LT_EOF
68510 *) # Bourne compatible functions.
68511 cat << \_LT_EOF >> "$cfgfile"
68513 # func_dirname file append nondir_replacement
68514 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68515 # otherwise set result to NONDIR_REPLACEMENT.
68516 func_dirname ()
68518 # Extract subdirectory from the argument.
68519 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68520 if test "X$func_dirname_result" = "X${1}"; then
68521 func_dirname_result="${3}"
68522 else
68523 func_dirname_result="$func_dirname_result${2}"
68527 # func_basename file
68528 func_basename ()
68530 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68534 # func_stripname prefix suffix name
68535 # strip PREFIX and SUFFIX off of NAME.
68536 # PREFIX and SUFFIX must not contain globbing or regex special
68537 # characters, hashes, percent signs, but SUFFIX may contain a leading
68538 # dot (in which case that matches only a dot).
68539 # func_strip_suffix prefix name
68540 func_stripname ()
68542 case ${2} in
68543 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68544 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68545 esac
68548 # sed scripts:
68549 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68550 my_sed_long_arg='1s/^-[^=]*=//'
68552 # func_opt_split
68553 func_opt_split ()
68555 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68556 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68559 # func_lo2o object
68560 func_lo2o ()
68562 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68565 # func_xform libobj-or-source
68566 func_xform ()
68568 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68571 # func_arith arithmetic-term...
68572 func_arith ()
68574 func_arith_result=`expr "$@"`
68577 # func_len string
68578 # STRING may not start with a hyphen.
68579 func_len ()
68581 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68584 _LT_EOF
68585 esac
68587 case $lt_shell_append in
68588 yes)
68589 cat << \_LT_EOF >> "$cfgfile"
68591 # func_append var value
68592 # Append VALUE to the end of shell variable VAR.
68593 func_append ()
68595 eval "$1+=\$2"
68597 _LT_EOF
68600 cat << \_LT_EOF >> "$cfgfile"
68602 # func_append var value
68603 # Append VALUE to the end of shell variable VAR.
68604 func_append ()
68606 eval "$1=\$$1\$2"
68609 _LT_EOF
68611 esac
68614 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68615 || (rm -f "$cfgfile"; exit 1)
68617 mv -f "$cfgfile" "$ofile" ||
68618 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68619 chmod +x "$ofile"
68622 cat <<_LT_EOF >> "$ofile"
68624 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68626 # The linker used to build libraries.
68627 LD=$lt_LD_CXX
68629 # How to create reloadable object files.
68630 reload_flag=$lt_reload_flag_CXX
68631 reload_cmds=$lt_reload_cmds_CXX
68633 # Commands used to build an old-style archive.
68634 old_archive_cmds=$lt_old_archive_cmds_CXX
68636 # A language specific compiler.
68637 CC=$lt_compiler_CXX
68639 # Is the compiler the GNU compiler?
68640 with_gcc=$GCC_CXX
68642 # Compiler flag to turn off builtin functions.
68643 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68645 # How to pass a linker flag through the compiler.
68646 wl=$lt_lt_prog_compiler_wl_CXX
68648 # Additional compiler flags for building library objects.
68649 pic_flag=$lt_lt_prog_compiler_pic_CXX
68651 # Compiler flag to prevent dynamic linking.
68652 link_static_flag=$lt_lt_prog_compiler_static_CXX
68654 # Does compiler simultaneously support -c and -o options?
68655 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68657 # Whether or not to add -lc for building shared libraries.
68658 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68660 # Whether or not to disallow shared libs when runtime libs are static.
68661 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68663 # Compiler flag to allow reflexive dlopens.
68664 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68666 # Compiler flag to generate shared objects directly from archives.
68667 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68669 # Whether the compiler copes with passing no objects directly.
68670 compiler_needs_object=$lt_compiler_needs_object_CXX
68672 # Create an old-style archive from a shared archive.
68673 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68675 # Create a temporary old-style archive to link instead of a shared archive.
68676 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68678 # Commands used to build a shared archive.
68679 archive_cmds=$lt_archive_cmds_CXX
68680 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68682 # Commands used to build a loadable module if different from building
68683 # a shared archive.
68684 module_cmds=$lt_module_cmds_CXX
68685 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68687 # Whether we are building with GNU ld or not.
68688 with_gnu_ld=$lt_with_gnu_ld_CXX
68690 # Flag that allows shared libraries with undefined symbols to be built.
68691 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68693 # Flag that enforces no undefined symbols.
68694 no_undefined_flag=$lt_no_undefined_flag_CXX
68696 # Flag to hardcode \$libdir into a binary during linking.
68697 # This must work even if \$libdir does not exist
68698 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68700 # If ld is used when linking, flag to hardcode \$libdir into a binary
68701 # during linking. This must work even if \$libdir does not exist.
68702 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68704 # Whether we need a single "-rpath" flag with a separated argument.
68705 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68707 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68708 # DIR into the resulting binary.
68709 hardcode_direct=$hardcode_direct_CXX
68711 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68712 # DIR into the resulting binary and the resulting library dependency is
68713 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68714 # library is relocated.
68715 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68717 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68718 # into the resulting binary.
68719 hardcode_minus_L=$hardcode_minus_L_CXX
68721 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68722 # into the resulting binary.
68723 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68725 # Set to "yes" if building a shared library automatically hardcodes DIR
68726 # into the library and all subsequent libraries and executables linked
68727 # against it.
68728 hardcode_automatic=$hardcode_automatic_CXX
68730 # Set to yes if linker adds runtime paths of dependent libraries
68731 # to runtime path list.
68732 inherit_rpath=$inherit_rpath_CXX
68734 # Whether libtool must link a program against all its dependency libraries.
68735 link_all_deplibs=$link_all_deplibs_CXX
68737 # Fix the shell variable \$srcfile for the compiler.
68738 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68740 # Set to "yes" if exported symbols are required.
68741 always_export_symbols=$always_export_symbols_CXX
68743 # The commands to list exported symbols.
68744 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68746 # Symbols that should not be listed in the preloaded symbols.
68747 exclude_expsyms=$lt_exclude_expsyms_CXX
68749 # Symbols that must always be exported.
68750 include_expsyms=$lt_include_expsyms_CXX
68752 # Commands necessary for linking programs (against libraries) with templates.
68753 prelink_cmds=$lt_prelink_cmds_CXX
68755 # Specify filename containing input files.
68756 file_list_spec=$lt_file_list_spec_CXX
68758 # How to hardcode a shared library path into an executable.
68759 hardcode_action=$hardcode_action_CXX
68761 # The directories searched by this compiler when creating a shared library.
68762 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68764 # Dependencies to place before and after the objects being linked to
68765 # create a shared library.
68766 predep_objects=$lt_predep_objects_CXX
68767 postdep_objects=$lt_postdep_objects_CXX
68768 predeps=$lt_predeps_CXX
68769 postdeps=$lt_postdeps_CXX
68771 # The library search path used internally by the compiler when linking
68772 # a shared library.
68773 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68775 # ### END LIBTOOL TAG CONFIG: CXX
68776 _LT_EOF
68779 "include/gstdint.h":C)
68780 if test "$GCC" = yes; then
68781 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68782 else
68783 echo "/* generated for $CC */" > tmp-stdint.h
68786 sed 's/^ *//' >> tmp-stdint.h <<EOF
68788 #ifndef GCC_GENERATED_STDINT_H
68789 #define GCC_GENERATED_STDINT_H 1
68791 #include <sys/types.h>
68794 if test "$acx_cv_header_stdint" != stdint.h; then
68795 echo "#include <stddef.h>" >> tmp-stdint.h
68797 if test "$acx_cv_header_stdint" != stddef.h; then
68798 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68801 sed 's/^ *//' >> tmp-stdint.h <<EOF
68802 /* glibc uses these symbols as guards to prevent redefinitions. */
68803 #ifdef __int8_t_defined
68804 #define _INT8_T
68805 #define _INT16_T
68806 #define _INT32_T
68807 #endif
68808 #ifdef __uint32_t_defined
68809 #define _UINT32_T
68810 #endif
68814 # ----------------- done header, emit basic int types -------------
68815 if test "$acx_cv_header_stdint" = stddef.h; then
68816 sed 's/^ *//' >> tmp-stdint.h <<EOF
68818 #ifndef _UINT8_T
68819 #define _UINT8_T
68820 #ifndef __uint8_t_defined
68821 #define __uint8_t_defined
68822 #ifndef uint8_t
68823 typedef unsigned $acx_cv_type_int8_t uint8_t;
68824 #endif
68825 #endif
68826 #endif
68828 #ifndef _UINT16_T
68829 #define _UINT16_T
68830 #ifndef __uint16_t_defined
68831 #define __uint16_t_defined
68832 #ifndef uint16_t
68833 typedef unsigned $acx_cv_type_int16_t uint16_t;
68834 #endif
68835 #endif
68836 #endif
68838 #ifndef _UINT32_T
68839 #define _UINT32_T
68840 #ifndef __uint32_t_defined
68841 #define __uint32_t_defined
68842 #ifndef uint32_t
68843 typedef unsigned $acx_cv_type_int32_t uint32_t;
68844 #endif
68845 #endif
68846 #endif
68848 #ifndef _INT8_T
68849 #define _INT8_T
68850 #ifndef __int8_t_defined
68851 #define __int8_t_defined
68852 #ifndef int8_t
68853 typedef $acx_cv_type_int8_t int8_t;
68854 #endif
68855 #endif
68856 #endif
68858 #ifndef _INT16_T
68859 #define _INT16_T
68860 #ifndef __int16_t_defined
68861 #define __int16_t_defined
68862 #ifndef int16_t
68863 typedef $acx_cv_type_int16_t int16_t;
68864 #endif
68865 #endif
68866 #endif
68868 #ifndef _INT32_T
68869 #define _INT32_T
68870 #ifndef __int32_t_defined
68871 #define __int32_t_defined
68872 #ifndef int32_t
68873 typedef $acx_cv_type_int32_t int32_t;
68874 #endif
68875 #endif
68876 #endif
68878 elif test "$ac_cv_type_u_int32_t" = yes; then
68879 sed 's/^ *//' >> tmp-stdint.h <<EOF
68881 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68882 #ifndef _INT8_T
68883 #define _INT8_T
68884 #endif
68885 #ifndef _INT16_T
68886 #define _INT16_T
68887 #endif
68888 #ifndef _INT32_T
68889 #define _INT32_T
68890 #endif
68892 #ifndef _UINT8_T
68893 #define _UINT8_T
68894 #ifndef __uint8_t_defined
68895 #define __uint8_t_defined
68896 #ifndef uint8_t
68897 typedef u_int8_t uint8_t;
68898 #endif
68899 #endif
68900 #endif
68902 #ifndef _UINT16_T
68903 #define _UINT16_T
68904 #ifndef __uint16_t_defined
68905 #define __uint16_t_defined
68906 #ifndef uint16_t
68907 typedef u_int16_t uint16_t;
68908 #endif
68909 #endif
68910 #endif
68912 #ifndef _UINT32_T
68913 #define _UINT32_T
68914 #ifndef __uint32_t_defined
68915 #define __uint32_t_defined
68916 #ifndef uint32_t
68917 typedef u_int32_t uint32_t;
68918 #endif
68919 #endif
68920 #endif
68922 else
68923 sed 's/^ *//' >> tmp-stdint.h <<EOF
68925 /* Some systems have guard macros to prevent redefinitions, define them. */
68926 #ifndef _INT8_T
68927 #define _INT8_T
68928 #endif
68929 #ifndef _INT16_T
68930 #define _INT16_T
68931 #endif
68932 #ifndef _INT32_T
68933 #define _INT32_T
68934 #endif
68935 #ifndef _UINT8_T
68936 #define _UINT8_T
68937 #endif
68938 #ifndef _UINT16_T
68939 #define _UINT16_T
68940 #endif
68941 #ifndef _UINT32_T
68942 #define _UINT32_T
68943 #endif
68947 # ------------- done basic int types, emit int64_t types ------------
68948 if test "$ac_cv_type_uint64_t" = yes; then
68949 sed 's/^ *//' >> tmp-stdint.h <<EOF
68951 /* system headers have good uint64_t and int64_t */
68952 #ifndef _INT64_T
68953 #define _INT64_T
68954 #endif
68955 #ifndef _UINT64_T
68956 #define _UINT64_T
68957 #endif
68959 elif test "$ac_cv_type_u_int64_t" = yes; then
68960 sed 's/^ *//' >> tmp-stdint.h <<EOF
68962 /* system headers have an u_int64_t (and int64_t) */
68963 #ifndef _INT64_T
68964 #define _INT64_T
68965 #endif
68966 #ifndef _UINT64_T
68967 #define _UINT64_T
68968 #ifndef __uint64_t_defined
68969 #define __uint64_t_defined
68970 #ifndef uint64_t
68971 typedef u_int64_t uint64_t;
68972 #endif
68973 #endif
68974 #endif
68976 elif test -n "$acx_cv_type_int64_t"; then
68977 sed 's/^ *//' >> tmp-stdint.h <<EOF
68979 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68980 #ifndef _INT64_T
68981 #define _INT64_T
68982 #ifndef int64_t
68983 typedef $acx_cv_type_int64_t int64_t;
68984 #endif
68985 #endif
68986 #ifndef _UINT64_T
68987 #define _UINT64_T
68988 #ifndef __uint64_t_defined
68989 #define __uint64_t_defined
68990 #ifndef uint64_t
68991 typedef unsigned $acx_cv_type_int64_t uint64_t;
68992 #endif
68993 #endif
68994 #endif
68996 else
68997 sed 's/^ *//' >> tmp-stdint.h <<EOF
68999 /* some common heuristics for int64_t, using compiler-specific tests */
69000 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69001 #ifndef _INT64_T
69002 #define _INT64_T
69003 #ifndef __int64_t_defined
69004 #ifndef int64_t
69005 typedef long long int64_t;
69006 #endif
69007 #endif
69008 #endif
69009 #ifndef _UINT64_T
69010 #define _UINT64_T
69011 #ifndef uint64_t
69012 typedef unsigned long long uint64_t;
69013 #endif
69014 #endif
69016 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69017 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69018 does not implement __extension__. But that compiler doesn't define
69019 __GNUC_MINOR__. */
69020 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69021 # define __extension__
69022 # endif
69024 # ifndef _INT64_T
69025 # define _INT64_T
69026 # ifndef int64_t
69027 __extension__ typedef long long int64_t;
69028 # endif
69029 # endif
69030 # ifndef _UINT64_T
69031 # define _UINT64_T
69032 # ifndef uint64_t
69033 __extension__ typedef unsigned long long uint64_t;
69034 # endif
69035 # endif
69037 #elif !defined __STRICT_ANSI__
69038 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69040 # ifndef _INT64_T
69041 # define _INT64_T
69042 # ifndef int64_t
69043 typedef __int64 int64_t;
69044 # endif
69045 # endif
69046 # ifndef _UINT64_T
69047 # define _UINT64_T
69048 # ifndef uint64_t
69049 typedef unsigned __int64 uint64_t;
69050 # endif
69051 # endif
69052 # endif /* compiler */
69054 #endif /* ANSI version */
69058 # ------------- done int64_t types, emit intptr types ------------
69059 if test "$ac_cv_type_uintptr_t" != yes; then
69060 sed 's/^ *//' >> tmp-stdint.h <<EOF
69062 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69063 #ifndef __uintptr_t_defined
69064 #ifndef uintptr_t
69065 typedef u$acx_cv_type_intptr_t uintptr_t;
69066 #endif
69067 #endif
69068 #ifndef __intptr_t_defined
69069 #ifndef intptr_t
69070 typedef $acx_cv_type_intptr_t intptr_t;
69071 #endif
69072 #endif
69076 # ------------- done intptr types, emit int_least types ------------
69077 if test "$ac_cv_type_int_least32_t" != yes; then
69078 sed 's/^ *//' >> tmp-stdint.h <<EOF
69080 /* Define int_least types */
69081 typedef int8_t int_least8_t;
69082 typedef int16_t int_least16_t;
69083 typedef int32_t int_least32_t;
69084 #ifdef _INT64_T
69085 typedef int64_t int_least64_t;
69086 #endif
69088 typedef uint8_t uint_least8_t;
69089 typedef uint16_t uint_least16_t;
69090 typedef uint32_t uint_least32_t;
69091 #ifdef _UINT64_T
69092 typedef uint64_t uint_least64_t;
69093 #endif
69097 # ------------- done intptr types, emit int_fast types ------------
69098 if test "$ac_cv_type_int_fast32_t" != yes; then
69099 sed 's/^ *//' >> tmp-stdint.h <<EOF
69101 /* Define int_fast types. short is often slow */
69102 typedef int8_t int_fast8_t;
69103 typedef int int_fast16_t;
69104 typedef int32_t int_fast32_t;
69105 #ifdef _INT64_T
69106 typedef int64_t int_fast64_t;
69107 #endif
69109 typedef uint8_t uint_fast8_t;
69110 typedef unsigned int uint_fast16_t;
69111 typedef uint32_t uint_fast32_t;
69112 #ifdef _UINT64_T
69113 typedef uint64_t uint_fast64_t;
69114 #endif
69118 if test "$ac_cv_type_uintmax_t" != yes; then
69119 sed 's/^ *//' >> tmp-stdint.h <<EOF
69121 /* Define intmax based on what we found */
69122 #ifndef intmax_t
69123 #ifdef _INT64_T
69124 typedef int64_t intmax_t;
69125 #else
69126 typedef long intmax_t;
69127 #endif
69128 #endif
69129 #ifndef uintmax_t
69130 #ifdef _UINT64_T
69131 typedef uint64_t uintmax_t;
69132 #else
69133 typedef unsigned long uintmax_t;
69134 #endif
69135 #endif
69139 sed 's/^ *//' >> tmp-stdint.h <<EOF
69141 #endif /* GCC_GENERATED_STDINT_H */
69144 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69145 rm -f tmp-stdint.h
69146 else
69147 mv -f tmp-stdint.h include/gstdint.h
69151 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69152 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69153 "include/Makefile":F) cat > vpsed$$ << \_EOF
69154 s!`test -f '$<' || echo '$(srcdir)/'`!!
69155 _EOF
69156 sed -f vpsed$$ $ac_file > tmp$$
69157 mv tmp$$ $ac_file
69158 rm vpsed$$
69159 echo 'MULTISUBDIR =' >> $ac_file
69160 ml_norecursion=yes
69161 . ${multi_basedir}/config-ml.in
69162 { ml_norecursion=; unset ml_norecursion;}
69164 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69165 s!`test -f '$<' || echo '$(srcdir)/'`!!
69166 _EOF
69167 sed -f vpsed$$ $ac_file > tmp$$
69168 mv tmp$$ $ac_file
69169 rm vpsed$$
69170 echo 'MULTISUBDIR =' >> $ac_file
69171 ml_norecursion=yes
69172 . ${multi_basedir}/config-ml.in
69173 { ml_norecursion=; unset ml_norecursion;}
69175 "python/Makefile":F) cat > vpsed$$ << \_EOF
69176 s!`test -f '$<' || echo '$(srcdir)/'`!!
69177 _EOF
69178 sed -f vpsed$$ $ac_file > tmp$$
69179 mv tmp$$ $ac_file
69180 rm vpsed$$
69181 echo 'MULTISUBDIR =' >> $ac_file
69182 ml_norecursion=yes
69183 . ${multi_basedir}/config-ml.in
69184 { ml_norecursion=; unset ml_norecursion;}
69186 "src/Makefile":F) cat > vpsed$$ << \_EOF
69187 s!`test -f '$<' || echo '$(srcdir)/'`!!
69188 _EOF
69189 sed -f vpsed$$ $ac_file > tmp$$
69190 mv tmp$$ $ac_file
69191 rm vpsed$$
69192 echo 'MULTISUBDIR =' >> $ac_file
69193 ml_norecursion=yes
69194 . ${multi_basedir}/config-ml.in
69195 { ml_norecursion=; unset ml_norecursion;}
69197 "doc/Makefile":F) cat > vpsed$$ << \_EOF
69198 s!`test -f '$<' || echo '$(srcdir)/'`!!
69199 _EOF
69200 sed -f vpsed$$ $ac_file > tmp$$
69201 mv tmp$$ $ac_file
69202 rm vpsed$$
69203 echo 'MULTISUBDIR =' >> $ac_file
69204 ml_norecursion=yes
69205 . ${multi_basedir}/config-ml.in
69206 { ml_norecursion=; unset ml_norecursion;}
69208 "po/Makefile":F) cat > vpsed$$ << \_EOF
69209 s!`test -f '$<' || echo '$(srcdir)/'`!!
69210 _EOF
69211 sed -f vpsed$$ $ac_file > tmp$$
69212 mv tmp$$ $ac_file
69213 rm vpsed$$
69214 echo 'MULTISUBDIR =' >> $ac_file
69215 ml_norecursion=yes
69216 . ${multi_basedir}/config-ml.in
69217 { ml_norecursion=; unset ml_norecursion;}
69219 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69220 s!`test -f '$<' || echo '$(srcdir)/'`!!
69221 _EOF
69222 sed -f vpsed$$ $ac_file > tmp$$
69223 mv tmp$$ $ac_file
69224 rm vpsed$$
69225 echo 'MULTISUBDIR =' >> $ac_file
69226 ml_norecursion=yes
69227 . ${multi_basedir}/config-ml.in
69228 { ml_norecursion=; unset ml_norecursion;}
69230 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69232 esac
69233 done # for ac_tag
69236 as_fn_exit 0
69237 _ACEOF
69238 ac_clean_files=$ac_clean_files_save
69240 test $ac_write_fail = 0 ||
69241 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69244 # configure is writing to config.log, and then calls config.status.
69245 # config.status does its own redirection, appending to config.log.
69246 # Unfortunately, on DOS this fails, as config.log is still kept open
69247 # by configure, so config.status won't be able to write to it; its
69248 # output is simply discarded. So we exec the FD to /dev/null,
69249 # effectively closing config.log, so it can be properly (re)opened and
69250 # appended to by config.status. When coming back to configure, we
69251 # need to make the FD available again.
69252 if test "$no_create" != yes; then
69253 ac_cs_success=:
69254 ac_config_status_args=
69255 test "$silent" = yes &&
69256 ac_config_status_args="$ac_config_status_args --quiet"
69257 exec 5>/dev/null
69258 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69259 exec 5>>config.log
69260 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69261 # would make configure fail if this is the last instruction.
69262 $ac_cs_success || as_fn_exit $?
69264 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69266 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}