Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / libstdc++-v3 / configure
blob077874532882dd0cb311c16b017a9e4d620daf08
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 baseline_dir
622 GLIBCXX_LDBL_COMPAT_FALSE
623 GLIBCXX_LDBL_COMPAT_TRUE
624 ENABLE_VISIBILITY_FALSE
625 ENABLE_VISIBILITY_TRUE
626 ENABLE_SYMVERS_SOL2_FALSE
627 ENABLE_SYMVERS_SOL2_TRUE
628 ENABLE_SYMVERS_SUN_FALSE
629 ENABLE_SYMVERS_SUN_TRUE
630 ENABLE_SYMVERS_DARWIN_FALSE
631 ENABLE_SYMVERS_DARWIN_TRUE
632 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
633 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
634 ENABLE_SYMVERS_GNU_FALSE
635 ENABLE_SYMVERS_GNU_TRUE
636 ENABLE_SYMVERS_FALSE
637 ENABLE_SYMVERS_TRUE
638 port_specific_symbol_files
639 SYMVER_FILE
640 CXXFILT
641 LTLIBICONV
642 LIBICONV
643 OPT_LDFLAGS
644 SECTION_LDFLAGS
645 GLIBCXX_LIBS
646 EXTRA_CXX_FLAGS
647 ENABLE_PARALLEL_FALSE
648 ENABLE_PARALLEL_TRUE
649 GLIBCXX_BUILD_DEBUG_FALSE
650 GLIBCXX_BUILD_DEBUG_TRUE
651 DEBUG_FLAGS
652 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
653 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
654 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
655 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
656 GLIBCXX_C_HEADERS_C_STD_FALSE
657 GLIBCXX_C_HEADERS_C_STD_TRUE
658 GLIBCXX_C_HEADERS_C_FALSE
659 GLIBCXX_C_HEADERS_C_TRUE
660 C_INCLUDE_DIR
661 ALLOCATOR_NAME
662 ALLOCATOR_H
663 CLOCALE_INTERNAL_H
664 CLOCALE_CC
665 CTIME_CC
666 CTIME_H
667 CNUMERIC_CC
668 CMONEY_CC
669 CMESSAGES_CC
670 CCTYPE_CC
671 CCOLLATE_CC
672 CCODECVT_CC
673 CMESSAGES_H
674 CLOCALE_H
675 USE_NLS
676 glibcxx_localedir
677 glibcxx_POFILES
678 glibcxx_MOFILES
679 check_msgfmt
680 BASIC_FILE_CC
681 BASIC_FILE_H
682 CSTDIO_H
683 SECTION_FLAGS
684 WERROR
685 glibcxx_thread_h
686 glibcxx_PCHFLAGS
687 GLIBCXX_BUILD_PCH_FALSE
688 GLIBCXX_BUILD_PCH_TRUE
689 GLIBCXX_HOSTED_FALSE
690 GLIBCXX_HOSTED_TRUE
691 enable_static
692 enable_shared
693 CXXCPP
694 OTOOL64
695 OTOOL
696 LIPO
697 NMEDIT
698 DSYMUTIL
699 OBJDUMP
701 ac_ct_DUMPBIN
702 DUMPBIN
704 FGREP
706 LIBTOOL
707 EGREP
708 GREP
710 MAINT
711 MAINTAINER_MODE_FALSE
712 MAINTAINER_MODE_TRUE
713 RANLIB
716 LN_S
717 toplevel_srcdir
718 glibcxx_srcdir
719 glibcxx_builddir
720 ac_ct_CXX
721 CXXFLAGS
723 OBJEXT
724 EXEEXT
725 ac_ct_CC
726 CPPFLAGS
727 LDFLAGS
728 CFLAGS
730 am__untar
731 am__tar
732 AMTAR
733 am__leading_dot
734 SET_MAKE
736 mkdir_p
737 MKDIR_P
738 INSTALL_STRIP_PROGRAM
739 STRIP
740 install_sh
741 MAKEINFO
742 AUTOHEADER
743 AUTOMAKE
744 AUTOCONF
745 ACLOCAL
746 VERSION
747 PACKAGE
748 CYGPATH_W
749 am__isrc
750 INSTALL_DATA
751 INSTALL_SCRIPT
752 INSTALL_PROGRAM
753 target_os
754 target_vendor
755 target_cpu
756 target
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 multi_basedir
766 libtool_VERSION
767 target_alias
768 host_alias
769 build_alias
770 LIBS
771 ECHO_T
772 ECHO_N
773 ECHO_C
774 DEFS
775 mandir
776 localedir
777 libdir
778 psdir
779 pdfdir
780 dvidir
781 htmldir
782 infodir
783 docdir
784 oldincludedir
785 includedir
786 localstatedir
787 sharedstatedir
788 sysconfdir
789 datadir
790 datarootdir
791 libexecdir
792 sbindir
793 bindir
794 program_transform_name
795 prefix
796 exec_prefix
797 PACKAGE_URL
798 PACKAGE_BUGREPORT
799 PACKAGE_STRING
800 PACKAGE_VERSION
801 PACKAGE_TARNAME
802 PACKAGE_NAME
803 PATH_SEPARATOR
804 SHELL'
805 ac_subst_files=''
806 ac_user_opts='
807 enable_option_checking
808 enable_multilib
809 with_target_subdir
810 with_cross_host
811 with_newlib
812 enable_maintainer_mode
813 enable_shared
814 enable_static
815 with_pic
816 enable_fast_install
817 with_gnu_ld
818 enable_libtool_lock
819 enable_hosted_libstdcxx
820 enable_sjlj_exceptions
821 enable_libstdcxx_pch
822 enable_cstdio
823 enable_clocale
824 enable_nls
825 enable_libstdcxx_allocator
826 enable_cheaders
827 enable_long_long
828 enable_wchar_t
829 enable_c99
830 enable_concept_checks
831 enable_libstdcxx_debug_flags
832 enable_libstdcxx_debug
833 enable_cxx_flags
834 enable_fully_dynamic_string
835 enable_libstdcxx_time
836 enable_tls
837 enable_rpath
838 with_libiconv_prefix
839 with_system_libunwind
840 enable_linux_futex
841 enable_symvers
842 enable_visibility
843 with_gxx_include_dir
844 enable_version_specific_runtime_libs
846 ac_precious_vars='build_alias
847 host_alias
848 target_alias
850 CFLAGS
851 LDFLAGS
852 LIBS
853 CPPFLAGS
855 CXXFLAGS
858 CXXCPP
859 CXXFILT'
862 # Initialize some variables set by options.
863 ac_init_help=
864 ac_init_version=false
865 ac_unrecognized_opts=
866 ac_unrecognized_sep=
867 # The variables have the same names as the options, with
868 # dashes changed to underlines.
869 cache_file=/dev/null
870 exec_prefix=NONE
871 no_create=
872 no_recursion=
873 prefix=NONE
874 program_prefix=NONE
875 program_suffix=NONE
876 program_transform_name=s,x,x,
877 silent=
878 site=
879 srcdir=
880 verbose=
881 x_includes=NONE
882 x_libraries=NONE
884 # Installation directory options.
885 # These are left unexpanded so users can "make install exec_prefix=/foo"
886 # and all the variables that are supposed to be based on exec_prefix
887 # by default will actually change.
888 # Use braces instead of parens because sh, perl, etc. also accept them.
889 # (The list follows the same order as the GNU Coding Standards.)
890 bindir='${exec_prefix}/bin'
891 sbindir='${exec_prefix}/sbin'
892 libexecdir='${exec_prefix}/libexec'
893 datarootdir='${prefix}/share'
894 datadir='${datarootdir}'
895 sysconfdir='${prefix}/etc'
896 sharedstatedir='${prefix}/com'
897 localstatedir='${prefix}/var'
898 includedir='${prefix}/include'
899 oldincludedir='/usr/include'
900 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
901 infodir='${datarootdir}/info'
902 htmldir='${docdir}'
903 dvidir='${docdir}'
904 pdfdir='${docdir}'
905 psdir='${docdir}'
906 libdir='${exec_prefix}/lib'
907 localedir='${datarootdir}/locale'
908 mandir='${datarootdir}/man'
910 ac_prev=
911 ac_dashdash=
912 for ac_option
914 # If the previous option needs an argument, assign it.
915 if test -n "$ac_prev"; then
916 eval $ac_prev=\$ac_option
917 ac_prev=
918 continue
921 case $ac_option in
922 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
923 *) ac_optarg=yes ;;
924 esac
926 # Accept the important Cygnus configure options, so we can diagnose typos.
928 case $ac_dashdash$ac_option in
930 ac_dashdash=yes ;;
932 -bindir | --bindir | --bindi | --bind | --bin | --bi)
933 ac_prev=bindir ;;
934 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
935 bindir=$ac_optarg ;;
937 -build | --build | --buil | --bui | --bu)
938 ac_prev=build_alias ;;
939 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
940 build_alias=$ac_optarg ;;
942 -cache-file | --cache-file | --cache-fil | --cache-fi \
943 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
944 ac_prev=cache_file ;;
945 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
946 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
947 cache_file=$ac_optarg ;;
949 --config-cache | -C)
950 cache_file=config.cache ;;
952 -datadir | --datadir | --datadi | --datad)
953 ac_prev=datadir ;;
954 -datadir=* | --datadir=* | --datadi=* | --datad=*)
955 datadir=$ac_optarg ;;
957 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
958 | --dataroo | --dataro | --datar)
959 ac_prev=datarootdir ;;
960 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
961 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
962 datarootdir=$ac_optarg ;;
964 -disable-* | --disable-*)
965 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968 as_fn_error "invalid feature name: $ac_useropt"
969 ac_useropt_orig=$ac_useropt
970 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971 case $ac_user_opts in
973 "enable_$ac_useropt"
974 "*) ;;
975 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
976 ac_unrecognized_sep=', ';;
977 esac
978 eval enable_$ac_useropt=no ;;
980 -docdir | --docdir | --docdi | --doc | --do)
981 ac_prev=docdir ;;
982 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
983 docdir=$ac_optarg ;;
985 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
986 ac_prev=dvidir ;;
987 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
988 dvidir=$ac_optarg ;;
990 -enable-* | --enable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1003 esac
1004 eval enable_$ac_useropt=\$ac_optarg ;;
1006 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1007 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1008 | --exec | --exe | --ex)
1009 ac_prev=exec_prefix ;;
1010 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1011 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1012 | --exec=* | --exe=* | --ex=*)
1013 exec_prefix=$ac_optarg ;;
1015 -gas | --gas | --ga | --g)
1016 # Obsolete; use --with-gas.
1017 with_gas=yes ;;
1019 -help | --help | --hel | --he | -h)
1020 ac_init_help=long ;;
1021 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1022 ac_init_help=recursive ;;
1023 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1024 ac_init_help=short ;;
1026 -host | --host | --hos | --ho)
1027 ac_prev=host_alias ;;
1028 -host=* | --host=* | --hos=* | --ho=*)
1029 host_alias=$ac_optarg ;;
1031 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1032 ac_prev=htmldir ;;
1033 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1034 | --ht=*)
1035 htmldir=$ac_optarg ;;
1037 -includedir | --includedir | --includedi | --included | --include \
1038 | --includ | --inclu | --incl | --inc)
1039 ac_prev=includedir ;;
1040 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1041 | --includ=* | --inclu=* | --incl=* | --inc=*)
1042 includedir=$ac_optarg ;;
1044 -infodir | --infodir | --infodi | --infod | --info | --inf)
1045 ac_prev=infodir ;;
1046 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1047 infodir=$ac_optarg ;;
1049 -libdir | --libdir | --libdi | --libd)
1050 ac_prev=libdir ;;
1051 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1052 libdir=$ac_optarg ;;
1054 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1055 | --libexe | --libex | --libe)
1056 ac_prev=libexecdir ;;
1057 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1058 | --libexe=* | --libex=* | --libe=*)
1059 libexecdir=$ac_optarg ;;
1061 -localedir | --localedir | --localedi | --localed | --locale)
1062 ac_prev=localedir ;;
1063 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1064 localedir=$ac_optarg ;;
1066 -localstatedir | --localstatedir | --localstatedi | --localstated \
1067 | --localstate | --localstat | --localsta | --localst | --locals)
1068 ac_prev=localstatedir ;;
1069 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1070 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1071 localstatedir=$ac_optarg ;;
1073 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1074 ac_prev=mandir ;;
1075 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1076 mandir=$ac_optarg ;;
1078 -nfp | --nfp | --nf)
1079 # Obsolete; use --without-fp.
1080 with_fp=no ;;
1082 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1083 | --no-cr | --no-c | -n)
1084 no_create=yes ;;
1086 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1087 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1088 no_recursion=yes ;;
1090 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1091 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1092 | --oldin | --oldi | --old | --ol | --o)
1093 ac_prev=oldincludedir ;;
1094 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1095 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1096 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1097 oldincludedir=$ac_optarg ;;
1099 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1100 ac_prev=prefix ;;
1101 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1102 prefix=$ac_optarg ;;
1104 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1105 | --program-pre | --program-pr | --program-p)
1106 ac_prev=program_prefix ;;
1107 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1108 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1109 program_prefix=$ac_optarg ;;
1111 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1112 | --program-suf | --program-su | --program-s)
1113 ac_prev=program_suffix ;;
1114 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1115 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1116 program_suffix=$ac_optarg ;;
1118 -program-transform-name | --program-transform-name \
1119 | --program-transform-nam | --program-transform-na \
1120 | --program-transform-n | --program-transform- \
1121 | --program-transform | --program-transfor \
1122 | --program-transfo | --program-transf \
1123 | --program-trans | --program-tran \
1124 | --progr-tra | --program-tr | --program-t)
1125 ac_prev=program_transform_name ;;
1126 -program-transform-name=* | --program-transform-name=* \
1127 | --program-transform-nam=* | --program-transform-na=* \
1128 | --program-transform-n=* | --program-transform-=* \
1129 | --program-transform=* | --program-transfor=* \
1130 | --program-transfo=* | --program-transf=* \
1131 | --program-trans=* | --program-tran=* \
1132 | --progr-tra=* | --program-tr=* | --program-t=*)
1133 program_transform_name=$ac_optarg ;;
1135 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1136 ac_prev=pdfdir ;;
1137 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1138 pdfdir=$ac_optarg ;;
1140 -psdir | --psdir | --psdi | --psd | --ps)
1141 ac_prev=psdir ;;
1142 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1143 psdir=$ac_optarg ;;
1145 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1146 | -silent | --silent | --silen | --sile | --sil)
1147 silent=yes ;;
1149 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1150 ac_prev=sbindir ;;
1151 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1152 | --sbi=* | --sb=*)
1153 sbindir=$ac_optarg ;;
1155 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1156 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1157 | --sharedst | --shareds | --shared | --share | --shar \
1158 | --sha | --sh)
1159 ac_prev=sharedstatedir ;;
1160 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1161 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1162 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1163 | --sha=* | --sh=*)
1164 sharedstatedir=$ac_optarg ;;
1166 -site | --site | --sit)
1167 ac_prev=site ;;
1168 -site=* | --site=* | --sit=*)
1169 site=$ac_optarg ;;
1171 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1172 ac_prev=srcdir ;;
1173 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1174 srcdir=$ac_optarg ;;
1176 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1177 | --syscon | --sysco | --sysc | --sys | --sy)
1178 ac_prev=sysconfdir ;;
1179 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1180 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1181 sysconfdir=$ac_optarg ;;
1183 -target | --target | --targe | --targ | --tar | --ta | --t)
1184 ac_prev=target_alias ;;
1185 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1186 target_alias=$ac_optarg ;;
1188 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1189 verbose=yes ;;
1191 -version | --version | --versio | --versi | --vers | -V)
1192 ac_init_version=: ;;
1194 -with-* | --with-*)
1195 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1196 # Reject names that are not valid shell variable names.
1197 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1198 as_fn_error "invalid package name: $ac_useropt"
1199 ac_useropt_orig=$ac_useropt
1200 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201 case $ac_user_opts in
1203 "with_$ac_useropt"
1204 "*) ;;
1205 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1206 ac_unrecognized_sep=', ';;
1207 esac
1208 eval with_$ac_useropt=\$ac_optarg ;;
1210 -without-* | --without-*)
1211 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1212 # Reject names that are not valid shell variable names.
1213 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1214 as_fn_error "invalid package name: $ac_useropt"
1215 ac_useropt_orig=$ac_useropt
1216 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1217 case $ac_user_opts in
1219 "with_$ac_useropt"
1220 "*) ;;
1221 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1222 ac_unrecognized_sep=', ';;
1223 esac
1224 eval with_$ac_useropt=no ;;
1226 --x)
1227 # Obsolete; use --with-x.
1228 with_x=yes ;;
1230 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1231 | --x-incl | --x-inc | --x-in | --x-i)
1232 ac_prev=x_includes ;;
1233 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1234 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1235 x_includes=$ac_optarg ;;
1237 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1238 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1239 ac_prev=x_libraries ;;
1240 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1241 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1242 x_libraries=$ac_optarg ;;
1244 -*) as_fn_error "unrecognized option: \`$ac_option'
1245 Try \`$0 --help' for more information."
1248 *=*)
1249 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1250 # Reject names that are not valid shell variable names.
1251 case $ac_envvar in #(
1252 '' | [0-9]* | *[!_$as_cr_alnum]* )
1253 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1254 esac
1255 eval $ac_envvar=\$ac_optarg
1256 export $ac_envvar ;;
1259 # FIXME: should be removed in autoconf 3.0.
1260 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1261 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1262 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1263 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1266 esac
1267 done
1269 if test -n "$ac_prev"; then
1270 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1271 as_fn_error "missing argument to $ac_option"
1274 if test -n "$ac_unrecognized_opts"; then
1275 case $enable_option_checking in
1276 no) ;;
1277 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1278 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1279 esac
1282 # Check all directory arguments for consistency.
1283 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1284 datadir sysconfdir sharedstatedir localstatedir includedir \
1285 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1286 libdir localedir mandir
1288 eval ac_val=\$$ac_var
1289 # Remove trailing slashes.
1290 case $ac_val in
1291 */ )
1292 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1293 eval $ac_var=\$ac_val;;
1294 esac
1295 # Be sure to have absolute directory names.
1296 case $ac_val in
1297 [\\/$]* | ?:[\\/]* ) continue;;
1298 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1299 esac
1300 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1301 done
1303 # There might be people who depend on the old broken behavior: `$host'
1304 # used to hold the argument of --host etc.
1305 # FIXME: To remove some day.
1306 build=$build_alias
1307 host=$host_alias
1308 target=$target_alias
1310 # FIXME: To remove some day.
1311 if test "x$host_alias" != x; then
1312 if test "x$build_alias" = x; then
1313 cross_compiling=maybe
1314 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1315 If a cross compiler is detected then cross compile mode will be used." >&2
1316 elif test "x$build_alias" != "x$host_alias"; then
1317 cross_compiling=yes
1321 ac_tool_prefix=
1322 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1324 test "$silent" = yes && exec 6>/dev/null
1327 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1328 ac_ls_di=`ls -di .` &&
1329 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1330 as_fn_error "working directory cannot be determined"
1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 as_fn_error "pwd does not report name of working directory"
1335 # Find the source files, if location was not specified.
1336 if test -z "$srcdir"; then
1337 ac_srcdir_defaulted=yes
1338 # Try the directory containing this script, then the parent directory.
1339 ac_confdir=`$as_dirname -- "$as_myself" ||
1340 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341 X"$as_myself" : 'X\(//\)[^/]' \| \
1342 X"$as_myself" : 'X\(//\)$' \| \
1343 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1344 $as_echo X"$as_myself" |
1345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1346 s//\1/
1349 /^X\(\/\/\)[^/].*/{
1350 s//\1/
1353 /^X\(\/\/\)$/{
1354 s//\1/
1357 /^X\(\/\).*/{
1358 s//\1/
1361 s/.*/./; q'`
1362 srcdir=$ac_confdir
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 srcdir=..
1366 else
1367 ac_srcdir_defaulted=no
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1370 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1371 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1373 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1374 ac_abs_confdir=`(
1375 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1376 pwd)`
1377 # When building in place, set srcdir=.
1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
1379 srcdir=.
1381 # Remove unnecessary trailing slashes from srcdir.
1382 # Double slashes in file names in object file debugging info
1383 # mess up M-x gdb in Emacs.
1384 case $srcdir in
1385 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1386 esac
1387 for ac_var in $ac_precious_vars; do
1388 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1389 eval ac_env_${ac_var}_value=\$${ac_var}
1390 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1391 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1392 done
1395 # Report the --help message.
1397 if test "$ac_init_help" = "long"; then
1398 # Omit some internal or obsolete options to make the list less imposing.
1399 # This message is too long to be a string in the A/UX 3.1 sh.
1400 cat <<_ACEOF
1401 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1403 Usage: $0 [OPTION]... [VAR=VALUE]...
1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1406 VAR=VALUE. See below for descriptions of some of the useful variables.
1408 Defaults for the options are specified in brackets.
1410 Configuration:
1411 -h, --help display this help and exit
1412 --help=short display options specific to this package
1413 --help=recursive display the short help of all the included packages
1414 -V, --version display version information and exit
1415 -q, --quiet, --silent do not print \`checking...' messages
1416 --cache-file=FILE cache test results in FILE [disabled]
1417 -C, --config-cache alias for \`--cache-file=config.cache'
1418 -n, --no-create do not create output files
1419 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1421 Installation directories:
1422 --prefix=PREFIX install architecture-independent files in PREFIX
1423 [$ac_default_prefix]
1424 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1425 [PREFIX]
1427 By default, \`make install' will install all the files in
1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1430 for instance \`--prefix=\$HOME'.
1432 For better control, use the options below.
1434 Fine tuning of the installation directories:
1435 --bindir=DIR user executables [EPREFIX/bin]
1436 --sbindir=DIR system admin executables [EPREFIX/sbin]
1437 --libexecdir=DIR program executables [EPREFIX/libexec]
1438 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1439 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1440 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1441 --libdir=DIR object code libraries [EPREFIX/lib]
1442 --includedir=DIR C header files [PREFIX/include]
1443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1446 --infodir=DIR info documentation [DATAROOTDIR/info]
1447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1448 --mandir=DIR man documentation [DATAROOTDIR/man]
1449 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1450 --htmldir=DIR html documentation [DOCDIR]
1451 --dvidir=DIR dvi documentation [DOCDIR]
1452 --pdfdir=DIR pdf documentation [DOCDIR]
1453 --psdir=DIR ps documentation [DOCDIR]
1454 _ACEOF
1456 cat <<\_ACEOF
1458 Program names:
1459 --program-prefix=PREFIX prepend PREFIX to installed program names
1460 --program-suffix=SUFFIX append SUFFIX to installed program names
1461 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1463 System types:
1464 --build=BUILD configure for building on BUILD [guessed]
1465 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1466 --target=TARGET configure for building compilers for TARGET [HOST]
1467 _ACEOF
1470 if test -n "$ac_init_help"; then
1471 case $ac_init_help in
1472 short | recursive ) echo "Configuration of package-unused version-unused:";;
1473 esac
1474 cat <<\_ACEOF
1476 Optional Features:
1477 --disable-option-checking ignore unrecognized --enable/--with options
1478 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1479 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1480 --enable-multilib build many library versions (default)
1481 --enable-maintainer-mode enable make rules and dependencies not useful
1482 (and sometimes confusing) to the casual installer
1483 --enable-shared[=PKGS] build shared libraries [default=yes]
1484 --enable-static[=PKGS] build static libraries [default=yes]
1485 --enable-fast-install[=PKGS]
1486 optimize for fast installation [default=yes]
1487 --disable-libtool-lock avoid locking (might break parallel builds)
1488 --disable-hosted-libstdcxx
1489 only build freestanding C++ runtime support
1490 --enable-sjlj-exceptions
1491 force use of builtin_setjmp for exceptions
1492 [default=auto]
1493 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1494 [default=$is_hosted]
1495 --enable-cstdio[=PACKAGE]
1496 use target-specific I/O package [default=stdio]
1497 --enable-clocale[=MODEL]
1498 use MODEL for target locale package [default=auto]
1499 --enable-nls use Native Language Support (default)
1500 --enable-libstdcxx-allocator[=KIND]
1501 use KIND for target std::allocator base
1502 [default=auto]
1503 --enable-cheaders[=KIND]
1504 construct "C" headers for g++ [default=$c_model]
1505 --enable-long-long enable template specializations for 'long long'
1506 [default=yes]
1507 --enable-wchar_t enable template specializations for 'wchar_t'
1508 [default=yes]
1509 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1510 --enable-concept-checks use Boost-derived template checks [default=no]
1511 --enable-libstdcxx-debug-flags=FLAGS
1512 pass compiler FLAGS when building debug library
1513 [default="-g3 -O0"]
1514 --enable-libstdcxx-debug
1515 build extra debug library [default=no]
1516 --enable-cxx-flags=FLAGS
1517 pass compiler FLAGS when building library [default=]
1518 --enable-fully-dynamic-string
1519 do not put empty strings in per-process static
1520 memory [default=no]
1521 --enable-libstdcxx-time[=KIND]
1522 use KIND for check type [default=no]
1523 --enable-tls Use thread-local storage [default=yes]
1524 --disable-rpath do not hardcode runtime library paths
1525 --enable-linux-futex use the Linux futex system call [default=default]
1526 --enable-symvers[=STYLE]
1527 enables symbol versioning of the shared library
1528 [default=yes]
1529 --enable-visibility enables visibility safe usage [default=yes]
1530 --enable-version-specific-runtime-libs
1531 Specify that runtime libraries should be installed
1532 in a compiler-specific directory
1534 Optional Packages:
1535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1537 --with-target-subdir=SUBDIR
1538 configuring in a subdirectory
1539 --with-cross-host=HOST configuring with a cross compiler
1540 --with-newlib assume newlib as a system C library
1541 --with-pic try to use only PIC/non-PIC objects [default=use
1542 both]
1543 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1544 --with-gnu-ld assume the C compiler uses GNU ld default=no
1545 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1546 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1547 --with-system-libunwind use installed libunwind
1548 --with-gxx-include-dir=DIR
1549 installation directory for include files
1551 Some influential environment variables:
1552 CC C compiler command
1553 CFLAGS C compiler flags
1554 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1555 nonstandard directory <lib dir>
1556 LIBS libraries to pass to the linker, e.g. -l<library>
1557 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1558 you have headers in a nonstandard directory <include dir>
1559 CXX C++ compiler command
1560 CXXFLAGS C++ compiler flags
1561 CPP C preprocessor
1562 CXXCPP C++ preprocessor
1563 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1564 `c++filt', `gc++filt' on PATH.
1566 Use these variables to override the choices made by `configure' or to help
1567 it to find libraries and programs with nonstandard names/locations.
1569 Report bugs to the package provider.
1570 _ACEOF
1571 ac_status=$?
1574 if test "$ac_init_help" = "recursive"; then
1575 # If there are subdirs, report their specific --help.
1576 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1577 test -d "$ac_dir" ||
1578 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1579 continue
1580 ac_builddir=.
1582 case "$ac_dir" in
1583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1586 # A ".." for each directory in $ac_dir_suffix.
1587 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1588 case $ac_top_builddir_sub in
1589 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1591 esac ;;
1592 esac
1593 ac_abs_top_builddir=$ac_pwd
1594 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1595 # for backward compatibility:
1596 ac_top_builddir=$ac_top_build_prefix
1598 case $srcdir in
1599 .) # We are building in place.
1600 ac_srcdir=.
1601 ac_top_srcdir=$ac_top_builddir_sub
1602 ac_abs_top_srcdir=$ac_pwd ;;
1603 [\\/]* | ?:[\\/]* ) # Absolute name.
1604 ac_srcdir=$srcdir$ac_dir_suffix;
1605 ac_top_srcdir=$srcdir
1606 ac_abs_top_srcdir=$srcdir ;;
1607 *) # Relative name.
1608 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1609 ac_top_srcdir=$ac_top_build_prefix$srcdir
1610 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1611 esac
1612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1614 cd "$ac_dir" || { ac_status=$?; continue; }
1615 # Check for guested configure.
1616 if test -f "$ac_srcdir/configure.gnu"; then
1617 echo &&
1618 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619 elif test -f "$ac_srcdir/configure"; then
1620 echo &&
1621 $SHELL "$ac_srcdir/configure" --help=recursive
1622 else
1623 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1624 fi || ac_status=$?
1625 cd "$ac_pwd" || { ac_status=$?; break; }
1626 done
1629 test -n "$ac_init_help" && exit $ac_status
1630 if $ac_init_version; then
1631 cat <<\_ACEOF
1632 package-unused configure version-unused
1633 generated by GNU Autoconf 2.64
1635 Copyright (C) 2009 Free Software Foundation, Inc.
1636 This configure script is free software; the Free Software Foundation
1637 gives unlimited permission to copy, distribute and modify it.
1638 _ACEOF
1639 exit
1642 ## ------------------------ ##
1643 ## Autoconf initialization. ##
1644 ## ------------------------ ##
1646 # ac_fn_c_try_compile LINENO
1647 # --------------------------
1648 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1649 ac_fn_c_try_compile ()
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 rm -f conftest.$ac_objext
1653 if { { ac_try="$ac_compile"
1654 case "(($ac_try" in
1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1657 esac
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_compile") 2>conftest.err
1661 ac_status=$?
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && {
1669 test -z "$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest.$ac_objext; then :
1672 ac_retval=0
1673 else
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1677 ac_retval=1
1679 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1680 return $ac_retval
1682 } # ac_fn_c_try_compile
1684 # ac_fn_cxx_try_compile LINENO
1685 # ----------------------------
1686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1687 ac_fn_cxx_try_compile ()
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext
1691 if { { ac_try="$ac_compile"
1692 case "(($ac_try" in
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_compile") 2>conftest.err
1699 ac_status=$?
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_cxx_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest.$ac_objext; then :
1710 ac_retval=0
1711 else
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1715 ac_retval=1
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718 return $ac_retval
1720 } # ac_fn_cxx_try_compile
1722 # ac_fn_c_try_cpp LINENO
1723 # ----------------------
1724 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_c_try_cpp ()
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 if { { ac_try="$ac_cpp conftest.$ac_ext"
1729 case "(($ac_try" in
1730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1731 *) ac_try_echo=$ac_try;;
1732 esac
1733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1736 ac_status=$?
1737 if test -s conftest.err; then
1738 grep -v '^ *+' conftest.err >conftest.er1
1739 cat conftest.er1 >&5
1740 mv -f conftest.er1 conftest.err
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } >/dev/null && {
1744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1745 test ! -s conftest.err
1746 }; then :
1747 ac_retval=0
1748 else
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.$ac_ext >&5
1752 ac_retval=1
1754 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1755 return $ac_retval
1757 } # ac_fn_c_try_cpp
1759 # ac_fn_c_try_link LINENO
1760 # -----------------------
1761 # Try to link conftest.$ac_ext, and return whether this succeeded.
1762 ac_fn_c_try_link ()
1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765 rm -f conftest.$ac_objext conftest$ac_exeext
1766 if { { ac_try="$ac_link"
1767 case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_link") 2>conftest.err
1774 ac_status=$?
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && {
1782 test -z "$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1784 } && test -s conftest$ac_exeext && {
1785 test "$cross_compiling" = yes ||
1786 $as_test_x conftest$ac_exeext
1787 }; then :
1788 ac_retval=0
1789 else
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1793 ac_retval=1
1795 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1796 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1797 # interfere with the next link command; also delete a directory that is
1798 # left behind by Apple's compiler. We do this before executing the actions.
1799 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 return $ac_retval
1803 } # ac_fn_c_try_link
1805 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1806 # -------------------------------------------------------
1807 # Tests whether HEADER exists and can be compiled using the include files in
1808 # INCLUDES, setting the cache variable VAR accordingly.
1809 ac_fn_c_check_header_compile ()
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1813 $as_echo_n "checking for $2... " >&6; }
1814 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1815 $as_echo_n "(cached) " >&6
1816 else
1817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818 /* end confdefs.h. */
1820 #include <$2>
1821 _ACEOF
1822 if ac_fn_c_try_compile "$LINENO"; then :
1823 eval "$3=yes"
1824 else
1825 eval "$3=no"
1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1829 eval ac_res=\$$3
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831 $as_echo "$ac_res" >&6; }
1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 } # ac_fn_c_check_header_compile
1836 # ac_fn_c_try_run LINENO
1837 # ----------------------
1838 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1839 # that executables *can* be run.
1840 ac_fn_c_try_run ()
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 if { { ac_try="$ac_link"
1844 case "(($ac_try" in
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1847 esac
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_link") 2>&5
1851 ac_status=$?
1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1854 { { case "(($ac_try" in
1855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1856 *) ac_try_echo=$ac_try;;
1857 esac
1858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_try") 2>&5
1861 ac_status=$?
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; }; }; then :
1864 ac_retval=0
1865 else
1866 $as_echo "$as_me: program exited with status $ac_status" >&5
1867 $as_echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.$ac_ext >&5
1870 ac_retval=$ac_status
1872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1874 return $ac_retval
1876 } # ac_fn_c_try_run
1878 # ac_fn_c_check_func LINENO FUNC VAR
1879 # ----------------------------------
1880 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1881 ac_fn_c_check_func ()
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1887 $as_echo_n "(cached) " >&6
1888 else
1889 if test x$gcc_no_link = xyes; then
1890 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1894 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1896 #define $2 innocuous_$2
1898 /* System header to define __stub macros and hopefully few prototypes,
1899 which can conflict with char $2 (); below.
1900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1901 <limits.h> exists even on freestanding compilers. */
1903 #ifdef __STDC__
1904 # include <limits.h>
1905 #else
1906 # include <assert.h>
1907 #endif
1909 #undef $2
1911 /* Override any GCC internal prototype to avoid an error.
1912 Use char because int might match the return type of a GCC
1913 builtin and then its argument prototype would still apply. */
1914 #ifdef __cplusplus
1915 extern "C"
1916 #endif
1917 char $2 ();
1918 /* The GNU C library defines this for functions which it implements
1919 to always fail with ENOSYS. Some functions are actually named
1920 something starting with __ and the normal name is an alias. */
1921 #if defined __stub_$2 || defined __stub___$2
1922 choke me
1923 #endif
1926 main ()
1928 return $2 ();
1930 return 0;
1932 _ACEOF
1933 if ac_fn_c_try_link "$LINENO"; then :
1934 eval "$3=yes"
1935 else
1936 eval "$3=no"
1938 rm -f core conftest.err conftest.$ac_objext \
1939 conftest$ac_exeext conftest.$ac_ext
1941 eval ac_res=\$$3
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943 $as_echo "$ac_res" >&6; }
1944 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1946 } # ac_fn_c_check_func
1948 # ac_fn_cxx_try_cpp LINENO
1949 # ------------------------
1950 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1951 ac_fn_cxx_try_cpp ()
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 if { { ac_try="$ac_cpp conftest.$ac_ext"
1955 case "(($ac_try" in
1956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1957 *) ac_try_echo=$ac_try;;
1958 esac
1959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1960 $as_echo "$ac_try_echo"; } >&5
1961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1962 ac_status=$?
1963 if test -s conftest.err; then
1964 grep -v '^ *+' conftest.err >conftest.er1
1965 cat conftest.er1 >&5
1966 mv -f conftest.er1 conftest.err
1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969 test $ac_status = 0; } >/dev/null && {
1970 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1971 test ! -s conftest.err
1972 }; then :
1973 ac_retval=0
1974 else
1975 $as_echo "$as_me: failed program was:" >&5
1976 sed 's/^/| /' conftest.$ac_ext >&5
1978 ac_retval=1
1980 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1981 return $ac_retval
1983 } # ac_fn_cxx_try_cpp
1985 # ac_fn_cxx_try_link LINENO
1986 # -------------------------
1987 # Try to link conftest.$ac_ext, and return whether this succeeded.
1988 ac_fn_cxx_try_link ()
1990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991 rm -f conftest.$ac_objext conftest$ac_exeext
1992 if { { ac_try="$ac_link"
1993 case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_link") 2>conftest.err
2000 ac_status=$?
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2003 cat conftest.er1 >&5
2004 mv -f conftest.er1 conftest.err
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } && {
2008 test -z "$ac_cxx_werror_flag" ||
2009 test ! -s conftest.err
2010 } && test -s conftest$ac_exeext && {
2011 test "$cross_compiling" = yes ||
2012 $as_test_x conftest$ac_exeext
2013 }; then :
2014 ac_retval=0
2015 else
2016 $as_echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.$ac_ext >&5
2019 ac_retval=1
2021 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2022 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2023 # interfere with the next link command; also delete a directory that is
2024 # left behind by Apple's compiler. We do this before executing the actions.
2025 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2026 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2027 return $ac_retval
2029 } # ac_fn_cxx_try_link
2031 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2032 # -------------------------------------------------------
2033 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2034 # the include files in INCLUDES and setting the cache variable VAR
2035 # accordingly.
2036 ac_fn_c_check_header_mongrel ()
2038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2041 $as_echo_n "checking for $2... " >&6; }
2042 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2043 $as_echo_n "(cached) " >&6
2045 eval ac_res=\$$3
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 $as_echo "$ac_res" >&6; }
2048 else
2049 # Is the header compilable?
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2051 $as_echo_n "checking $2 usability... " >&6; }
2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2055 #include <$2>
2056 _ACEOF
2057 if ac_fn_c_try_compile "$LINENO"; then :
2058 ac_header_compiler=yes
2059 else
2060 ac_header_compiler=no
2062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2064 $as_echo "$ac_header_compiler" >&6; }
2066 # Is the header present?
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2068 $as_echo_n "checking $2 presence... " >&6; }
2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2071 #include <$2>
2072 _ACEOF
2073 if ac_fn_c_try_cpp "$LINENO"; then :
2074 ac_header_preproc=yes
2075 else
2076 ac_header_preproc=no
2078 rm -f conftest.err conftest.$ac_ext
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2080 $as_echo "$ac_header_preproc" >&6; }
2082 # So? What about this header?
2083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2084 yes:no: )
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2086 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2088 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2090 no:yes:* )
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2092 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2094 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2096 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2098 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2102 esac
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2104 $as_echo_n "checking for $2... " >&6; }
2105 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2106 $as_echo_n "(cached) " >&6
2107 else
2108 eval "$3=\$ac_header_compiler"
2110 eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2114 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2116 } # ac_fn_c_check_header_mongrel
2118 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2119 # ---------------------------------------------------------
2120 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2121 # the include files in INCLUDES and setting the cache variable VAR
2122 # accordingly.
2123 ac_fn_cxx_check_header_mongrel ()
2125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2126 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2128 $as_echo_n "checking for $2... " >&6; }
2129 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2130 $as_echo_n "(cached) " >&6
2132 eval ac_res=\$$3
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2135 else
2136 # Is the header compilable?
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2138 $as_echo_n "checking $2 usability... " >&6; }
2139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h. */
2142 #include <$2>
2143 _ACEOF
2144 if ac_fn_cxx_try_compile "$LINENO"; then :
2145 ac_header_compiler=yes
2146 else
2147 ac_header_compiler=no
2149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2151 $as_echo "$ac_header_compiler" >&6; }
2153 # Is the header present?
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2155 $as_echo_n "checking $2 presence... " >&6; }
2156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2158 #include <$2>
2159 _ACEOF
2160 if ac_fn_cxx_try_cpp "$LINENO"; then :
2161 ac_header_preproc=yes
2162 else
2163 ac_header_preproc=no
2165 rm -f conftest.err conftest.$ac_ext
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2167 $as_echo "$ac_header_preproc" >&6; }
2169 # So? What about this header?
2170 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2171 yes:no: )
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2173 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2177 no:yes:* )
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2179 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2181 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2183 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2185 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2187 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2189 esac
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2191 $as_echo_n "checking for $2... " >&6; }
2192 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193 $as_echo_n "(cached) " >&6
2194 else
2195 eval "$3=\$ac_header_compiler"
2197 eval ac_res=\$$3
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2201 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2203 } # ac_fn_cxx_check_header_mongrel
2205 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2206 # --------------------------------------------
2207 # Tries to find the compile-time value of EXPR in a program that includes
2208 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2209 # computed
2210 ac_fn_c_compute_int ()
2212 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2213 if test "$cross_compiling" = yes; then
2214 # Depending upon the size, compute the lo and hi bounds.
2215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h. */
2219 main ()
2221 static int test_array [1 - 2 * !(($2) >= 0)];
2222 test_array [0] = 0
2225 return 0;
2227 _ACEOF
2228 if ac_fn_c_try_compile "$LINENO"; then :
2229 ac_lo=0 ac_mid=0
2230 while :; do
2231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2232 /* end confdefs.h. */
2235 main ()
2237 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2238 test_array [0] = 0
2241 return 0;
2243 _ACEOF
2244 if ac_fn_c_try_compile "$LINENO"; then :
2245 ac_hi=$ac_mid; break
2246 else
2247 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2248 if test $ac_lo -le $ac_mid; then
2249 ac_lo= ac_hi=
2250 break
2252 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2255 done
2256 else
2257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2258 /* end confdefs.h. */
2261 main ()
2263 static int test_array [1 - 2 * !(($2) < 0)];
2264 test_array [0] = 0
2267 return 0;
2269 _ACEOF
2270 if ac_fn_c_try_compile "$LINENO"; then :
2271 ac_hi=-1 ac_mid=-1
2272 while :; do
2273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2274 /* end confdefs.h. */
2277 main ()
2279 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2280 test_array [0] = 0
2283 return 0;
2285 _ACEOF
2286 if ac_fn_c_try_compile "$LINENO"; then :
2287 ac_lo=$ac_mid; break
2288 else
2289 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2290 if test $ac_mid -le $ac_hi; then
2291 ac_lo= ac_hi=
2292 break
2294 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2297 done
2298 else
2299 ac_lo= ac_hi=
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2304 # Binary search between lo and hi bounds.
2305 while test "x$ac_lo" != "x$ac_hi"; do
2306 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2308 /* end confdefs.h. */
2311 main ()
2313 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2314 test_array [0] = 0
2317 return 0;
2319 _ACEOF
2320 if ac_fn_c_try_compile "$LINENO"; then :
2321 ac_hi=$ac_mid
2322 else
2323 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2326 done
2327 case $ac_lo in #((
2328 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2329 '') ac_retval=1 ;;
2330 esac
2331 else
2332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2333 /* end confdefs.h. */
2335 static long int longval () { return $2; }
2336 static unsigned long int ulongval () { return $2; }
2337 #include <stdio.h>
2338 #include <stdlib.h>
2340 main ()
2343 FILE *f = fopen ("conftest.val", "w");
2344 if (! f)
2345 return 1;
2346 if (($2) < 0)
2348 long int i = longval ();
2349 if (i != ($2))
2350 return 1;
2351 fprintf (f, "%ld", i);
2353 else
2355 unsigned long int i = ulongval ();
2356 if (i != ($2))
2357 return 1;
2358 fprintf (f, "%lu", i);
2360 /* Do not output a trailing newline, as this causes \r\n confusion
2361 on some platforms. */
2362 return ferror (f) || fclose (f) != 0;
2365 return 0;
2367 _ACEOF
2368 if ac_fn_c_try_run "$LINENO"; then :
2369 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2370 else
2371 ac_retval=1
2373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2374 conftest.$ac_objext conftest.beam conftest.$ac_ext
2375 rm -f conftest.val
2378 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2379 return $ac_retval
2381 } # ac_fn_c_compute_int
2383 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2384 # -------------------------------------------
2385 # Tests whether TYPE exists after having included INCLUDES, setting cache
2386 # variable VAR accordingly.
2387 ac_fn_c_check_type ()
2389 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2391 $as_echo_n "checking for $2... " >&6; }
2392 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2393 $as_echo_n "(cached) " >&6
2394 else
2395 eval "$3=no"
2396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2397 /* end confdefs.h. */
2400 main ()
2402 if (sizeof ($2))
2403 return 0;
2405 return 0;
2407 _ACEOF
2408 if ac_fn_c_try_compile "$LINENO"; then :
2409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2410 /* end confdefs.h. */
2413 main ()
2415 if (sizeof (($2)))
2416 return 0;
2418 return 0;
2420 _ACEOF
2421 if ac_fn_c_try_compile "$LINENO"; then :
2423 else
2424 eval "$3=yes"
2426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2430 eval ac_res=\$$3
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2432 $as_echo "$ac_res" >&6; }
2433 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2435 } # ac_fn_c_check_type
2436 cat >config.log <<_ACEOF
2437 This file contains any messages produced by compilers while
2438 running configure, to aid debugging if configure makes a mistake.
2440 It was created by package-unused $as_me version-unused, which was
2441 generated by GNU Autoconf 2.64. Invocation command line was
2443 $ $0 $@
2445 _ACEOF
2446 exec 5>>config.log
2448 cat <<_ASUNAME
2449 ## --------- ##
2450 ## Platform. ##
2451 ## --------- ##
2453 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2454 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2455 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2456 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2457 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2459 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2460 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2462 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2463 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2464 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2465 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2466 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2467 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2468 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2470 _ASUNAME
2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2473 for as_dir in $PATH
2475 IFS=$as_save_IFS
2476 test -z "$as_dir" && as_dir=.
2477 $as_echo "PATH: $as_dir"
2478 done
2479 IFS=$as_save_IFS
2481 } >&5
2483 cat >&5 <<_ACEOF
2486 ## ----------- ##
2487 ## Core tests. ##
2488 ## ----------- ##
2490 _ACEOF
2493 # Keep a trace of the command line.
2494 # Strip out --no-create and --no-recursion so they do not pile up.
2495 # Strip out --silent because we don't want to record it for future runs.
2496 # Also quote any args containing shell meta-characters.
2497 # Make two passes to allow for proper duplicate-argument suppression.
2498 ac_configure_args=
2499 ac_configure_args0=
2500 ac_configure_args1=
2501 ac_must_keep_next=false
2502 for ac_pass in 1 2
2504 for ac_arg
2506 case $ac_arg in
2507 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2508 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2509 | -silent | --silent | --silen | --sile | --sil)
2510 continue ;;
2511 *\'*)
2512 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2513 esac
2514 case $ac_pass in
2515 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2517 as_fn_append ac_configure_args1 " '$ac_arg'"
2518 if test $ac_must_keep_next = true; then
2519 ac_must_keep_next=false # Got value, back to normal.
2520 else
2521 case $ac_arg in
2522 *=* | --config-cache | -C | -disable-* | --disable-* \
2523 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2524 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2525 | -with-* | --with-* | -without-* | --without-* | --x)
2526 case "$ac_configure_args0 " in
2527 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2528 esac
2530 -* ) ac_must_keep_next=true ;;
2531 esac
2533 as_fn_append ac_configure_args " '$ac_arg'"
2535 esac
2536 done
2537 done
2538 { ac_configure_args0=; unset ac_configure_args0;}
2539 { ac_configure_args1=; unset ac_configure_args1;}
2541 # When interrupted or exit'd, cleanup temporary files, and complete
2542 # config.log. We remove comments because anyway the quotes in there
2543 # would cause problems or look ugly.
2544 # WARNING: Use '\'' to represent an apostrophe within the trap.
2545 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2546 trap 'exit_status=$?
2547 # Save into config.log some information that might help in debugging.
2549 echo
2551 cat <<\_ASBOX
2552 ## ---------------- ##
2553 ## Cache variables. ##
2554 ## ---------------- ##
2555 _ASBOX
2556 echo
2557 # The following way of writing the cache mishandles newlines in values,
2559 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2560 eval ac_val=\$$ac_var
2561 case $ac_val in #(
2562 *${as_nl}*)
2563 case $ac_var in #(
2564 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2565 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2566 esac
2567 case $ac_var in #(
2568 _ | IFS | as_nl) ;; #(
2569 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2570 *) { eval $ac_var=; unset $ac_var;} ;;
2571 esac ;;
2572 esac
2573 done
2574 (set) 2>&1 |
2575 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2576 *${as_nl}ac_space=\ *)
2577 sed -n \
2578 "s/'\''/'\''\\\\'\'''\''/g;
2579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2580 ;; #(
2582 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2584 esac |
2585 sort
2587 echo
2589 cat <<\_ASBOX
2590 ## ----------------- ##
2591 ## Output variables. ##
2592 ## ----------------- ##
2593 _ASBOX
2594 echo
2595 for ac_var in $ac_subst_vars
2597 eval ac_val=\$$ac_var
2598 case $ac_val in
2599 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2600 esac
2601 $as_echo "$ac_var='\''$ac_val'\''"
2602 done | sort
2603 echo
2605 if test -n "$ac_subst_files"; then
2606 cat <<\_ASBOX
2607 ## ------------------- ##
2608 ## File substitutions. ##
2609 ## ------------------- ##
2610 _ASBOX
2611 echo
2612 for ac_var in $ac_subst_files
2614 eval ac_val=\$$ac_var
2615 case $ac_val in
2616 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2617 esac
2618 $as_echo "$ac_var='\''$ac_val'\''"
2619 done | sort
2620 echo
2623 if test -s confdefs.h; then
2624 cat <<\_ASBOX
2625 ## ----------- ##
2626 ## confdefs.h. ##
2627 ## ----------- ##
2628 _ASBOX
2629 echo
2630 cat confdefs.h
2631 echo
2633 test "$ac_signal" != 0 &&
2634 $as_echo "$as_me: caught signal $ac_signal"
2635 $as_echo "$as_me: exit $exit_status"
2636 } >&5
2637 rm -f core *.core core.conftest.* &&
2638 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2639 exit $exit_status
2641 for ac_signal in 1 2 13 15; do
2642 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2643 done
2644 ac_signal=0
2646 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2647 rm -f -r conftest* confdefs.h
2649 $as_echo "/* confdefs.h */" > confdefs.h
2651 # Predefined preprocessor variables.
2653 cat >>confdefs.h <<_ACEOF
2654 #define PACKAGE_NAME "$PACKAGE_NAME"
2655 _ACEOF
2657 cat >>confdefs.h <<_ACEOF
2658 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2659 _ACEOF
2661 cat >>confdefs.h <<_ACEOF
2662 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2663 _ACEOF
2665 cat >>confdefs.h <<_ACEOF
2666 #define PACKAGE_STRING "$PACKAGE_STRING"
2667 _ACEOF
2669 cat >>confdefs.h <<_ACEOF
2670 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2671 _ACEOF
2673 cat >>confdefs.h <<_ACEOF
2674 #define PACKAGE_URL "$PACKAGE_URL"
2675 _ACEOF
2678 # Let the site file select an alternate cache file if it wants to.
2679 # Prefer an explicitly selected file to automatically selected ones.
2680 ac_site_file1=NONE
2681 ac_site_file2=NONE
2682 if test -n "$CONFIG_SITE"; then
2683 ac_site_file1=$CONFIG_SITE
2684 elif test "x$prefix" != xNONE; then
2685 ac_site_file1=$prefix/share/config.site
2686 ac_site_file2=$prefix/etc/config.site
2687 else
2688 ac_site_file1=$ac_default_prefix/share/config.site
2689 ac_site_file2=$ac_default_prefix/etc/config.site
2691 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2693 test "x$ac_site_file" = xNONE && continue
2694 if test -r "$ac_site_file"; then
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2696 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2697 sed 's/^/| /' "$ac_site_file" >&5
2698 . "$ac_site_file"
2700 done
2702 if test -r "$cache_file"; then
2703 # Some versions of bash will fail to source /dev/null (special
2704 # files actually), so we avoid doing that.
2705 if test -f "$cache_file"; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2707 $as_echo "$as_me: loading cache $cache_file" >&6;}
2708 case $cache_file in
2709 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2710 *) . "./$cache_file";;
2711 esac
2713 else
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2715 $as_echo "$as_me: creating cache $cache_file" >&6;}
2716 >$cache_file
2719 # Check that the precious variables saved in the cache have kept the same
2720 # value.
2721 ac_cache_corrupted=false
2722 for ac_var in $ac_precious_vars; do
2723 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2724 eval ac_new_set=\$ac_env_${ac_var}_set
2725 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2726 eval ac_new_val=\$ac_env_${ac_var}_value
2727 case $ac_old_set,$ac_new_set in
2728 set,)
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2730 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2731 ac_cache_corrupted=: ;;
2732 ,set)
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2734 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2735 ac_cache_corrupted=: ;;
2736 ,);;
2738 if test "x$ac_old_val" != "x$ac_new_val"; then
2739 # differences in whitespace do not lead to failure.
2740 ac_old_val_w=`echo x $ac_old_val`
2741 ac_new_val_w=`echo x $ac_new_val`
2742 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2744 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2745 ac_cache_corrupted=:
2746 else
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2748 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2749 eval $ac_var=\$ac_old_val
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2752 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2754 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2755 fi;;
2756 esac
2757 # Pass precious variables to config.status.
2758 if test "$ac_new_set" = set; then
2759 case $ac_new_val in
2760 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2761 *) ac_arg=$ac_var=$ac_new_val ;;
2762 esac
2763 case " $ac_configure_args " in
2764 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2765 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2766 esac
2768 done
2769 if $ac_cache_corrupted; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2773 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2774 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2776 ## -------------------- ##
2777 ## Main body of script. ##
2778 ## -------------------- ##
2780 ac_ext=c
2781 ac_cpp='$CPP $CPPFLAGS'
2782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2791 ac_config_headers="$ac_config_headers config.h"
2794 # This works around the fact that libtool configuration may change LD
2795 # for this particular configuration, but some shells, instead of
2796 # keeping the changes in LD private, export them just because LD is
2797 # exported. Only used at the end of this file.
2798 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2800 # For libtool versioning info, format is CURRENT:REVISION:AGE
2801 libtool_VERSION=6:15:0
2804 # Find the rest of the source tree framework.
2805 # Default to --enable-multilib
2806 # Check whether --enable-multilib was given.
2807 if test "${enable_multilib+set}" = set; then :
2808 enableval=$enable_multilib; case "$enableval" in
2809 yes) multilib=yes ;;
2810 no) multilib=no ;;
2811 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2812 esac
2813 else
2814 multilib=yes
2818 # We may get other options which we leave undocumented:
2819 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2820 # See config-ml.in if you want the gory details.
2822 if test "$srcdir" = "."; then
2823 if test "$with_target_subdir" != "."; then
2824 multi_basedir="$srcdir/$with_multisrctop../.."
2825 else
2826 multi_basedir="$srcdir/$with_multisrctop.."
2828 else
2829 multi_basedir="$srcdir/.."
2833 # Even if the default multilib is not a cross compilation,
2834 # it may be that some of the other multilibs are.
2835 if test $cross_compiling = no && test $multilib = yes \
2836 && test "x${with_multisubdir}" != x ; then
2837 cross_compiling=maybe
2840 ac_config_commands="$ac_config_commands default-1"
2843 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2845 # You will slowly go insane if you do not grok the following fact: when
2846 # building v3 as part of the compiler, the top-level /target/ becomes the
2847 # library's /host/. configure then causes --target to default to --host,
2848 # exactly like any other package using autoconf. Therefore, 'target' and
2849 # 'host' will always be the same. This makes sense both for native and
2850 # cross compilers, just think about it for a little while. :-)
2852 # Also, if v3 is being configured as part of a cross compiler, the top-level
2853 # configure script will pass the "real" host as $with_cross_host.
2855 # Do not delete or change the following two lines. For why, see
2856 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2857 ac_aux_dir=
2858 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2859 for ac_t in install-sh install.sh shtool; do
2860 if test -f "$ac_dir/$ac_t"; then
2861 ac_aux_dir=$ac_dir
2862 ac_install_sh="$ac_aux_dir/$ac_t -c"
2863 break 2
2865 done
2866 done
2867 if test -z "$ac_aux_dir"; then
2868 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2871 # These three variables are undocumented and unsupported,
2872 # and are intended to be withdrawn in a future Autoconf release.
2873 # They can cause serious problems if a builder's source tree is in a directory
2874 # whose full name contains unusual characters.
2875 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2876 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2877 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2880 # Make sure we can run config.sub.
2881 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2882 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2885 $as_echo_n "checking build system type... " >&6; }
2886 if test "${ac_cv_build+set}" = set; then :
2887 $as_echo_n "(cached) " >&6
2888 else
2889 ac_build_alias=$build_alias
2890 test "x$ac_build_alias" = x &&
2891 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2892 test "x$ac_build_alias" = x &&
2893 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2894 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2895 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2899 $as_echo "$ac_cv_build" >&6; }
2900 case $ac_cv_build in
2901 *-*-*) ;;
2902 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2903 esac
2904 build=$ac_cv_build
2905 ac_save_IFS=$IFS; IFS='-'
2906 set x $ac_cv_build
2907 shift
2908 build_cpu=$1
2909 build_vendor=$2
2910 shift; shift
2911 # Remember, the first character of IFS is used to create $*,
2912 # except with old shells:
2913 build_os=$*
2914 IFS=$ac_save_IFS
2915 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2919 $as_echo_n "checking host system type... " >&6; }
2920 if test "${ac_cv_host+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2922 else
2923 if test "x$host_alias" = x; then
2924 ac_cv_host=$ac_cv_build
2925 else
2926 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2927 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2932 $as_echo "$ac_cv_host" >&6; }
2933 case $ac_cv_host in
2934 *-*-*) ;;
2935 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2936 esac
2937 host=$ac_cv_host
2938 ac_save_IFS=$IFS; IFS='-'
2939 set x $ac_cv_host
2940 shift
2941 host_cpu=$1
2942 host_vendor=$2
2943 shift; shift
2944 # Remember, the first character of IFS is used to create $*,
2945 # except with old shells:
2946 host_os=$*
2947 IFS=$ac_save_IFS
2948 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2952 $as_echo_n "checking target system type... " >&6; }
2953 if test "${ac_cv_target+set}" = set; then :
2954 $as_echo_n "(cached) " >&6
2955 else
2956 if test "x$target_alias" = x; then
2957 ac_cv_target=$ac_cv_host
2958 else
2959 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2960 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2965 $as_echo "$ac_cv_target" >&6; }
2966 case $ac_cv_target in
2967 *-*-*) ;;
2968 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2969 esac
2970 target=$ac_cv_target
2971 ac_save_IFS=$IFS; IFS='-'
2972 set x $ac_cv_target
2973 shift
2974 target_cpu=$1
2975 target_vendor=$2
2976 shift; shift
2977 # Remember, the first character of IFS is used to create $*,
2978 # except with old shells:
2979 target_os=$*
2980 IFS=$ac_save_IFS
2981 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2984 # The aliases save the names the user supplied, while $host etc.
2985 # will get canonicalized.
2986 test -n "$target_alias" &&
2987 test "$program_prefix$program_suffix$program_transform_name" = \
2988 NONENONEs,x,x, &&
2989 program_prefix=${target_alias}-
2991 target_alias=${target_alias-$host_alias}
2993 # Handy for debugging:
2994 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2996 if test "$build" != "$host"; then
2997 # We are being configured with some form of cross compiler.
2998 GLIBCXX_IS_NATIVE=false
2999 case "$host","$target" in
3000 # Darwin crosses can use the host system's libraries and headers,
3001 # because of the fat library support. Of course, it must be the
3002 # same version of Darwin on both sides. Allow the user to
3003 # just say --target=foo-darwin without a version number to mean
3004 # "the version on this system".
3005 *-*-darwin*,*-*-darwin*)
3006 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3007 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3008 if test $hostos = $targetos -o $targetos = darwin ; then
3009 GLIBCXX_IS_NATIVE=true
3016 esac
3017 else
3018 GLIBCXX_IS_NATIVE=true
3021 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3022 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3023 # 1.x: minimum required version
3024 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3025 # of other PACKAGE_* variables will, however, and there's nothing
3026 # we can do about that; they come from AC_INIT).
3027 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3028 # file in the top srcdir, etc, etc), so stop complaining.
3029 # no-dependencies: turns off auto dependency generation (just for now)
3030 # no-dist: we don't want 'dist' and related rules.
3031 # -Wall: turns on all automake warnings...
3032 # -Wno-portability: ...except this one, since GNU make is now required.
3033 am__api_version='1.11'
3035 # Find a good install program. We prefer a C program (faster),
3036 # so one script is as good as another. But avoid the broken or
3037 # incompatible versions:
3038 # SysV /etc/install, /usr/sbin/install
3039 # SunOS /usr/etc/install
3040 # IRIX /sbin/install
3041 # AIX /bin/install
3042 # AmigaOS /C/install, which installs bootblocks on floppy discs
3043 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3044 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3045 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3046 # OS/2's system install, which has a completely different semantic
3047 # ./install, which can be erroneously created by make from ./install.sh.
3048 # Reject install programs that cannot install multiple files.
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3050 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3051 if test -z "$INSTALL"; then
3052 if test "${ac_cv_path_install+set}" = set; then :
3053 $as_echo_n "(cached) " >&6
3054 else
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 for as_dir in $PATH
3058 IFS=$as_save_IFS
3059 test -z "$as_dir" && as_dir=.
3060 # Account for people who put trailing slashes in PATH elements.
3061 case $as_dir/ in #((
3062 ./ | .// | /[cC]/* | \
3063 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3064 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3065 /usr/ucb/* ) ;;
3067 # OSF1 and SCO ODT 3.0 have their own names for install.
3068 # Don't use installbsd from OSF since it installs stuff as root
3069 # by default.
3070 for ac_prog in ginstall scoinst install; do
3071 for ac_exec_ext in '' $ac_executable_extensions; do
3072 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3073 if test $ac_prog = install &&
3074 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3075 # AIX install. It has an incompatible calling convention.
3077 elif test $ac_prog = install &&
3078 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3079 # program-specific install script used by HP pwplus--don't use.
3081 else
3082 rm -rf conftest.one conftest.two conftest.dir
3083 echo one > conftest.one
3084 echo two > conftest.two
3085 mkdir conftest.dir
3086 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3087 test -s conftest.one && test -s conftest.two &&
3088 test -s conftest.dir/conftest.one &&
3089 test -s conftest.dir/conftest.two
3090 then
3091 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3092 break 3
3096 done
3097 done
3099 esac
3101 done
3102 IFS=$as_save_IFS
3104 rm -rf conftest.one conftest.two conftest.dir
3107 if test "${ac_cv_path_install+set}" = set; then
3108 INSTALL=$ac_cv_path_install
3109 else
3110 # As a last resort, use the slow shell script. Don't cache a
3111 # value for INSTALL within a source directory, because that will
3112 # break other packages using the cache if that directory is
3113 # removed, or if the value is a relative name.
3114 INSTALL=$ac_install_sh
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3118 $as_echo "$INSTALL" >&6; }
3120 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3121 # It thinks the first close brace ends the variable substitution.
3122 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3124 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3126 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3129 $as_echo_n "checking whether build environment is sane... " >&6; }
3130 # Just in case
3131 sleep 1
3132 echo timestamp > conftest.file
3133 # Reject unsafe characters in $srcdir or the absolute working directory
3134 # name. Accept space and tab only in the latter.
3135 am_lf='
3137 case `pwd` in
3138 *[\\\"\#\$\&\'\`$am_lf]*)
3139 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3140 esac
3141 case $srcdir in
3142 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3143 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3144 esac
3146 # Do `set' in a subshell so we don't clobber the current shell's
3147 # arguments. Must try -L first in case configure is actually a
3148 # symlink; some systems play weird games with the mod time of symlinks
3149 # (eg FreeBSD returns the mod time of the symlink's containing
3150 # directory).
3151 if (
3152 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3153 if test "$*" = "X"; then
3154 # -L didn't work.
3155 set X `ls -t "$srcdir/configure" conftest.file`
3157 rm -f conftest.file
3158 if test "$*" != "X $srcdir/configure conftest.file" \
3159 && test "$*" != "X conftest.file $srcdir/configure"; then
3161 # If neither matched, then we have a broken ls. This can happen
3162 # if, for instance, CONFIG_SHELL is bash and it inherits a
3163 # broken ls alias from the environment. This has actually
3164 # happened. Such a system could not be considered "sane".
3165 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3166 alias in your environment" "$LINENO" 5
3169 test "$2" = conftest.file
3171 then
3172 # Ok.
3174 else
3175 as_fn_error "newly created file is older than distributed files!
3176 Check your system clock" "$LINENO" 5
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3179 $as_echo "yes" >&6; }
3180 test "$program_prefix" != NONE &&
3181 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3182 # Use a double $ so make ignores it.
3183 test "$program_suffix" != NONE &&
3184 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3185 # Double any \ or $.
3186 # By default was `s,x,x', remove it if useless.
3187 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3188 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3190 # expand $ac_aux_dir to an absolute path
3191 am_aux_dir=`cd $ac_aux_dir && pwd`
3193 if test x"${MISSING+set}" != xset; then
3194 case $am_aux_dir in
3195 *\ * | *\ *)
3196 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3198 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3199 esac
3201 # Use eval to expand $SHELL
3202 if eval "$MISSING --run true"; then
3203 am_missing_run="$MISSING --run "
3204 else
3205 am_missing_run=
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3207 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3210 if test x"${install_sh}" != xset; then
3211 case $am_aux_dir in
3212 *\ * | *\ *)
3213 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3215 install_sh="\${SHELL} $am_aux_dir/install-sh"
3216 esac
3219 # Installed binaries are usually stripped using `strip' when the user
3220 # run `make install-strip'. However `strip' might not be the right
3221 # tool to use in cross-compilation environments, therefore Automake
3222 # will honor the `STRIP' environment variable to overrule this program.
3223 if test "$cross_compiling" != no; then
3224 if test -n "$ac_tool_prefix"; then
3225 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3226 set dummy ${ac_tool_prefix}strip; ac_word=$2
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3228 $as_echo_n "checking for $ac_word... " >&6; }
3229 if test "${ac_cv_prog_STRIP+set}" = set; then :
3230 $as_echo_n "(cached) " >&6
3231 else
3232 if test -n "$STRIP"; then
3233 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3234 else
3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 for as_dir in $PATH
3238 IFS=$as_save_IFS
3239 test -z "$as_dir" && as_dir=.
3240 for ac_exec_ext in '' $ac_executable_extensions; do
3241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3242 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 break 2
3246 done
3247 done
3248 IFS=$as_save_IFS
3252 STRIP=$ac_cv_prog_STRIP
3253 if test -n "$STRIP"; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3255 $as_echo "$STRIP" >&6; }
3256 else
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3258 $as_echo "no" >&6; }
3263 if test -z "$ac_cv_prog_STRIP"; then
3264 ac_ct_STRIP=$STRIP
3265 # Extract the first word of "strip", so it can be a program name with args.
3266 set dummy strip; ac_word=$2
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268 $as_echo_n "checking for $ac_word... " >&6; }
3269 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3270 $as_echo_n "(cached) " >&6
3271 else
3272 if test -n "$ac_ct_STRIP"; then
3273 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3274 else
3275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 for as_dir in $PATH
3278 IFS=$as_save_IFS
3279 test -z "$as_dir" && as_dir=.
3280 for ac_exec_ext in '' $ac_executable_extensions; do
3281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3282 ac_cv_prog_ac_ct_STRIP="strip"
3283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284 break 2
3286 done
3287 done
3288 IFS=$as_save_IFS
3292 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3293 if test -n "$ac_ct_STRIP"; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3295 $as_echo "$ac_ct_STRIP" >&6; }
3296 else
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3301 if test "x$ac_ct_STRIP" = x; then
3302 STRIP=":"
3303 else
3304 case $cross_compiling:$ac_tool_warned in
3305 yes:)
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3308 ac_tool_warned=yes ;;
3309 esac
3310 STRIP=$ac_ct_STRIP
3312 else
3313 STRIP="$ac_cv_prog_STRIP"
3317 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3320 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3321 if test -z "$MKDIR_P"; then
3322 if test "${ac_cv_path_mkdir+set}" = set; then :
3323 $as_echo_n "(cached) " >&6
3324 else
3325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3326 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3328 IFS=$as_save_IFS
3329 test -z "$as_dir" && as_dir=.
3330 for ac_prog in mkdir gmkdir; do
3331 for ac_exec_ext in '' $ac_executable_extensions; do
3332 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3333 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3334 'mkdir (GNU coreutils) '* | \
3335 'mkdir (coreutils) '* | \
3336 'mkdir (fileutils) '4.1*)
3337 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3338 break 3;;
3339 esac
3340 done
3341 done
3342 done
3343 IFS=$as_save_IFS
3347 if test "${ac_cv_path_mkdir+set}" = set; then
3348 MKDIR_P="$ac_cv_path_mkdir -p"
3349 else
3350 # As a last resort, use the slow shell script. Don't cache a
3351 # value for MKDIR_P within a source directory, because that will
3352 # break other packages using the cache if that directory is
3353 # removed, or if the value is a relative name.
3354 test -d ./--version && rmdir ./--version
3355 MKDIR_P="$ac_install_sh -d"
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3359 $as_echo "$MKDIR_P" >&6; }
3361 mkdir_p="$MKDIR_P"
3362 case $mkdir_p in
3363 [\\/$]* | ?:[\\/]*) ;;
3364 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3365 esac
3367 for ac_prog in gawk mawk nawk awk
3369 # Extract the first word of "$ac_prog", so it can be a program name with args.
3370 set dummy $ac_prog; ac_word=$2
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372 $as_echo_n "checking for $ac_word... " >&6; }
3373 if test "${ac_cv_prog_AWK+set}" = set; then :
3374 $as_echo_n "(cached) " >&6
3375 else
3376 if test -n "$AWK"; then
3377 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3378 else
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 for as_dir in $PATH
3382 IFS=$as_save_IFS
3383 test -z "$as_dir" && as_dir=.
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386 ac_cv_prog_AWK="$ac_prog"
3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 break 2
3390 done
3391 done
3392 IFS=$as_save_IFS
3396 AWK=$ac_cv_prog_AWK
3397 if test -n "$AWK"; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3399 $as_echo "$AWK" >&6; }
3400 else
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3406 test -n "$AWK" && break
3407 done
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3410 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3411 set x ${MAKE-make}
3412 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3413 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3414 $as_echo_n "(cached) " >&6
3415 else
3416 cat >conftest.make <<\_ACEOF
3417 SHELL = /bin/sh
3418 all:
3419 @echo '@@@%%%=$(MAKE)=@@@%%%'
3420 _ACEOF
3421 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3422 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3423 *@@@%%%=?*=@@@%%%*)
3424 eval ac_cv_prog_make_${ac_make}_set=yes;;
3426 eval ac_cv_prog_make_${ac_make}_set=no;;
3427 esac
3428 rm -f conftest.make
3430 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3432 $as_echo "yes" >&6; }
3433 SET_MAKE=
3434 else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3437 SET_MAKE="MAKE=${MAKE-make}"
3440 rm -rf .tst 2>/dev/null
3441 mkdir .tst 2>/dev/null
3442 if test -d .tst; then
3443 am__leading_dot=.
3444 else
3445 am__leading_dot=_
3447 rmdir .tst 2>/dev/null
3449 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3450 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3451 # is not polluted with repeated "-I."
3452 am__isrc=' -I$(srcdir)'
3453 # test to see if srcdir already configured
3454 if test -f $srcdir/config.status; then
3455 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3459 # test whether we have cygpath
3460 if test -z "$CYGPATH_W"; then
3461 if (cygpath --version) >/dev/null 2>/dev/null; then
3462 CYGPATH_W='cygpath -w'
3463 else
3464 CYGPATH_W=echo
3469 # Define the identity of the package.
3470 PACKAGE='libstdc++'
3471 VERSION='version-unused'
3474 # Some tools Automake needs.
3476 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3479 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3482 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3485 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3488 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3490 # We need awk for the "check" target. The system "awk" is bad on
3491 # some platforms.
3492 # Always define AMTAR for backward compatibility.
3494 AMTAR=${AMTAR-"${am_missing_run}tar"}
3496 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3505 # -fno-builtin must be present here so that a non-conflicting form of
3506 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3508 save_CXXFLAGS="$CXXFLAGS"
3509 CXXFLAGS="$CXXFLAGS -fno-builtin"
3510 ac_ext=c
3511 ac_cpp='$CPP $CPPFLAGS'
3512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3515 if test -n "$ac_tool_prefix"; then
3516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3519 $as_echo_n "checking for $ac_word... " >&6; }
3520 if test "${ac_cv_prog_CC+set}" = set; then :
3521 $as_echo_n "(cached) " >&6
3522 else
3523 if test -n "$CC"; then
3524 ac_cv_prog_CC="$CC" # Let the user override the test.
3525 else
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527 for as_dir in $PATH
3529 IFS=$as_save_IFS
3530 test -z "$as_dir" && as_dir=.
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 break 2
3537 done
3538 done
3539 IFS=$as_save_IFS
3543 CC=$ac_cv_prog_CC
3544 if test -n "$CC"; then
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3546 $as_echo "$CC" >&6; }
3547 else
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3554 if test -z "$ac_cv_prog_CC"; then
3555 ac_ct_CC=$CC
3556 # Extract the first word of "gcc", so it can be a program name with args.
3557 set dummy gcc; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
3562 else
3563 if test -n "$ac_ct_CC"; then
3564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3565 else
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3569 IFS=$as_save_IFS
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_ac_ct_CC="gcc"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 break 2
3577 done
3578 done
3579 IFS=$as_save_IFS
3583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3584 if test -n "$ac_ct_CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3586 $as_echo "$ac_ct_CC" >&6; }
3587 else
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3592 if test "x$ac_ct_CC" = x; then
3593 CC=""
3594 else
3595 case $cross_compiling:$ac_tool_warned in
3596 yes:)
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3599 ac_tool_warned=yes ;;
3600 esac
3601 CC=$ac_ct_CC
3603 else
3604 CC="$ac_cv_prog_CC"
3607 if test -z "$CC"; then
3608 if test -n "$ac_tool_prefix"; then
3609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3610 set dummy ${ac_tool_prefix}cc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_CC+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3615 else
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC="$CC" # Let the user override the test.
3618 else
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH
3622 IFS=$as_save_IFS
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_CC="${ac_tool_prefix}cc"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 break 2
3630 done
3631 done
3632 IFS=$as_save_IFS
3636 CC=$ac_cv_prog_CC
3637 if test -n "$CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3639 $as_echo "$CC" >&6; }
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3648 if test -z "$CC"; then
3649 # Extract the first word of "cc", so it can be a program name with args.
3650 set dummy cc; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if test "${ac_cv_prog_CC+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3655 else
3656 if test -n "$CC"; then
3657 ac_cv_prog_CC="$CC" # Let the user override the test.
3658 else
3659 ac_prog_rejected=no
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3668 ac_prog_rejected=yes
3669 continue
3671 ac_cv_prog_CC="cc"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 break 2
3675 done
3676 done
3677 IFS=$as_save_IFS
3679 if test $ac_prog_rejected = yes; then
3680 # We found a bogon in the path, so make sure we never use it.
3681 set dummy $ac_cv_prog_CC
3682 shift
3683 if test $# != 0; then
3684 # We chose a different compiler from the bogus one.
3685 # However, it has the same basename, so the bogon will be chosen
3686 # first if we set CC to just the basename; use the full file name.
3687 shift
3688 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3693 CC=$ac_cv_prog_CC
3694 if test -n "$CC"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3696 $as_echo "$CC" >&6; }
3697 else
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3704 if test -z "$CC"; then
3705 if test -n "$ac_tool_prefix"; then
3706 for ac_prog in cl.exe
3708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if test "${ac_cv_prog_CC+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC="$CC" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3725 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 break 2
3729 done
3730 done
3731 IFS=$as_save_IFS
3735 CC=$ac_cv_prog_CC
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3745 test -n "$CC" && break
3746 done
3748 if test -z "$CC"; then
3749 ac_ct_CC=$CC
3750 for ac_prog in cl.exe
3752 # Extract the first word of "$ac_prog", so it can be a program name with args.
3753 set dummy $ac_prog; ac_word=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3757 $as_echo_n "(cached) " >&6
3758 else
3759 if test -n "$ac_ct_CC"; then
3760 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3761 else
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 for as_dir in $PATH
3765 IFS=$as_save_IFS
3766 test -z "$as_dir" && as_dir=.
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_prog_ac_ct_CC="$ac_prog"
3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 break 2
3773 done
3774 done
3775 IFS=$as_save_IFS
3779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3780 if test -n "$ac_ct_CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3782 $as_echo "$ac_ct_CC" >&6; }
3783 else
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3789 test -n "$ac_ct_CC" && break
3790 done
3792 if test "x$ac_ct_CC" = x; then
3793 CC=""
3794 else
3795 case $cross_compiling:$ac_tool_warned in
3796 yes:)
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3799 ac_tool_warned=yes ;;
3800 esac
3801 CC=$ac_ct_CC
3808 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3810 as_fn_error "no acceptable C compiler found in \$PATH
3811 See \`config.log' for more details." "$LINENO" 5; }
3813 # Provide some information about the compiler.
3814 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3815 set X $ac_compile
3816 ac_compiler=$2
3817 for ac_option in --version -v -V -qversion; do
3818 { { ac_try="$ac_compiler $ac_option >&5"
3819 case "(($ac_try" in
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3822 esac
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3826 ac_status=$?
3827 if test -s conftest.err; then
3828 sed '10a\
3829 ... rest of stderr output deleted ...
3830 10q' conftest.err >conftest.er1
3831 cat conftest.er1 >&5
3832 rm -f conftest.er1 conftest.err
3834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3835 test $ac_status = 0; }
3836 done
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3842 main ()
3846 return 0;
3848 _ACEOF
3849 # FIXME: Cleanup?
3850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3851 (eval $ac_link) 2>&5
3852 ac_status=$?
3853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3854 test $ac_status = 0; }; then :
3855 gcc_no_link=no
3856 else
3857 gcc_no_link=yes
3859 if test x$gcc_no_link = xyes; then
3860 # Setting cross_compile will disable run tests; it will
3861 # also disable AC_CHECK_FILE but that's generally
3862 # correct if we can't link.
3863 cross_compiling=yes
3864 EXEEXT=
3865 else
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3870 main ()
3874 return 0;
3876 _ACEOF
3877 ac_clean_files_save=$ac_clean_files
3878 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3879 # Try to create an executable without -o first, disregard a.out.
3880 # It will help us diagnose broken compilers, and finding out an intuition
3881 # of exeext.
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3883 $as_echo_n "checking for C compiler default output file name... " >&6; }
3884 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3886 # The possible output files:
3887 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3889 ac_rmfiles=
3890 for ac_file in $ac_files
3892 case $ac_file in
3893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3894 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3895 esac
3896 done
3897 rm -f $ac_rmfiles
3899 if { { ac_try="$ac_link_default"
3900 case "(($ac_try" in
3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902 *) ac_try_echo=$ac_try;;
3903 esac
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_link_default") 2>&5
3907 ac_status=$?
3908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3909 test $ac_status = 0; }; then :
3910 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3911 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3912 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3913 # so that the user can short-circuit this test for compilers unknown to
3914 # Autoconf.
3915 for ac_file in $ac_files ''
3917 test -f "$ac_file" || continue
3918 case $ac_file in
3919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3921 [ab].out )
3922 # We found the default executable, but exeext='' is most
3923 # certainly right.
3924 break;;
3925 *.* )
3926 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3927 then :; else
3928 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3930 # We set ac_cv_exeext here because the later test for it is not
3931 # safe: cross compilers may not add the suffix if given an `-o'
3932 # argument, so we may need to know it at that point already.
3933 # Even if this section looks crufty: it has the advantage of
3934 # actually working.
3935 break;;
3937 break;;
3938 esac
3939 done
3940 test "$ac_cv_exeext" = no && ac_cv_exeext=
3942 else
3943 ac_file=''
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3946 $as_echo "$ac_file" >&6; }
3947 if test -z "$ac_file"; then :
3948 $as_echo "$as_me: failed program was:" >&5
3949 sed 's/^/| /' conftest.$ac_ext >&5
3951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3953 { as_fn_set_status 77
3954 as_fn_error "C compiler cannot create executables
3955 See \`config.log' for more details." "$LINENO" 5; }; }
3957 ac_exeext=$ac_cv_exeext
3959 # Check that the compiler produces executables we can run. If not, either
3960 # the compiler is broken, or we cross compile.
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3962 $as_echo_n "checking whether the C compiler works... " >&6; }
3963 # If not cross compiling, check that we can run a simple program.
3964 if test "$cross_compiling" != yes; then
3965 if { ac_try='./$ac_file'
3966 { { case "(($ac_try" in
3967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3969 esac
3970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3971 $as_echo "$ac_try_echo"; } >&5
3972 (eval "$ac_try") 2>&5
3973 ac_status=$?
3974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3975 test $ac_status = 0; }; }; then
3976 cross_compiling=no
3977 else
3978 if test "$cross_compiling" = maybe; then
3979 cross_compiling=yes
3980 else
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 as_fn_error "cannot run C compiled programs.
3984 If you meant to cross compile, use \`--host'.
3985 See \`config.log' for more details." "$LINENO" 5; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3990 $as_echo "yes" >&6; }
3992 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3993 ac_clean_files=$ac_clean_files_save
3994 # Check that the compiler produces executables we can run. If not, either
3995 # the compiler is broken, or we cross compile.
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3997 $as_echo_n "checking whether we are cross compiling... " >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3999 $as_echo "$cross_compiling" >&6; }
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4002 $as_echo_n "checking for suffix of executables... " >&6; }
4003 if { { ac_try="$ac_link"
4004 case "(($ac_try" in
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4007 esac
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
4010 (eval "$ac_link") 2>&5
4011 ac_status=$?
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; then :
4014 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4015 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4016 # work properly (i.e., refer to `conftest.exe'), while it won't with
4017 # `rm'.
4018 for ac_file in conftest.exe conftest conftest.*; do
4019 test -f "$ac_file" || continue
4020 case $ac_file in
4021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4022 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4023 break;;
4024 * ) break;;
4025 esac
4026 done
4027 else
4028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4030 as_fn_error "cannot compute suffix of executables: cannot compile and link
4031 See \`config.log' for more details." "$LINENO" 5; }
4033 rm -f conftest$ac_cv_exeext
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4035 $as_echo "$ac_cv_exeext" >&6; }
4037 rm -f conftest.$ac_ext
4038 EXEEXT=$ac_cv_exeext
4039 ac_exeext=$EXEEXT
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4042 $as_echo_n "checking for suffix of object files... " >&6; }
4043 if test "${ac_cv_objext+set}" = set; then :
4044 $as_echo_n "(cached) " >&6
4045 else
4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4050 main ()
4054 return 0;
4056 _ACEOF
4057 rm -f conftest.o conftest.obj
4058 if { { ac_try="$ac_compile"
4059 case "(($ac_try" in
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4062 esac
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_compile") 2>&5
4066 ac_status=$?
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }; then :
4069 for ac_file in conftest.o conftest.obj conftest.*; do
4070 test -f "$ac_file" || continue;
4071 case $ac_file in
4072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4073 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4074 break;;
4075 esac
4076 done
4077 else
4078 $as_echo "$as_me: failed program was:" >&5
4079 sed 's/^/| /' conftest.$ac_ext >&5
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 as_fn_error "cannot compute suffix of object files: cannot compile
4084 See \`config.log' for more details." "$LINENO" 5; }
4086 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4089 $as_echo "$ac_cv_objext" >&6; }
4090 OBJEXT=$ac_cv_objext
4091 ac_objext=$OBJEXT
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4093 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4094 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4096 else
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4101 main ()
4103 #ifndef __GNUC__
4104 choke me
4105 #endif
4108 return 0;
4110 _ACEOF
4111 if ac_fn_c_try_compile "$LINENO"; then :
4112 ac_compiler_gnu=yes
4113 else
4114 ac_compiler_gnu=no
4116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4117 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4121 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4122 if test $ac_compiler_gnu = yes; then
4123 GCC=yes
4124 else
4125 GCC=
4127 ac_test_CFLAGS=${CFLAGS+set}
4128 ac_save_CFLAGS=$CFLAGS
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4130 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4131 if test "${ac_cv_prog_cc_g+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4133 else
4134 ac_save_c_werror_flag=$ac_c_werror_flag
4135 ac_c_werror_flag=yes
4136 ac_cv_prog_cc_g=no
4137 CFLAGS="-g"
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4142 main ()
4146 return 0;
4148 _ACEOF
4149 if ac_fn_c_try_compile "$LINENO"; then :
4150 ac_cv_prog_cc_g=yes
4151 else
4152 CFLAGS=""
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4157 main ()
4161 return 0;
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4166 else
4167 ac_c_werror_flag=$ac_save_c_werror_flag
4168 CFLAGS="-g"
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4173 main ()
4177 return 0;
4179 _ACEOF
4180 if ac_fn_c_try_compile "$LINENO"; then :
4181 ac_cv_prog_cc_g=yes
4183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 ac_c_werror_flag=$ac_save_c_werror_flag
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4191 $as_echo "$ac_cv_prog_cc_g" >&6; }
4192 if test "$ac_test_CFLAGS" = set; then
4193 CFLAGS=$ac_save_CFLAGS
4194 elif test $ac_cv_prog_cc_g = yes; then
4195 if test "$GCC" = yes; then
4196 CFLAGS="-g -O2"
4197 else
4198 CFLAGS="-g"
4200 else
4201 if test "$GCC" = yes; then
4202 CFLAGS="-O2"
4203 else
4204 CFLAGS=
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4208 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4209 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 ac_cv_prog_cc_c89=no
4213 ac_save_CC=$CC
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4216 #include <stdarg.h>
4217 #include <stdio.h>
4218 #include <sys/types.h>
4219 #include <sys/stat.h>
4220 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4221 struct buf { int x; };
4222 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4223 static char *e (p, i)
4224 char **p;
4225 int i;
4227 return p[i];
4229 static char *f (char * (*g) (char **, int), char **p, ...)
4231 char *s;
4232 va_list v;
4233 va_start (v,p);
4234 s = g (p, va_arg (v,int));
4235 va_end (v);
4236 return s;
4239 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4240 function prototypes and stuff, but not '\xHH' hex character constants.
4241 These don't provoke an error unfortunately, instead are silently treated
4242 as 'x'. The following induces an error, until -std is added to get
4243 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4244 array size at least. It's necessary to write '\x00'==0 to get something
4245 that's true only with -std. */
4246 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4248 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4249 inside strings and character constants. */
4250 #define FOO(x) 'x'
4251 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4253 int test (int i, double x);
4254 struct s1 {int (*f) (int a);};
4255 struct s2 {int (*f) (double a);};
4256 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4257 int argc;
4258 char **argv;
4260 main ()
4262 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4264 return 0;
4266 _ACEOF
4267 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4268 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4270 CC="$ac_save_CC $ac_arg"
4271 if ac_fn_c_try_compile "$LINENO"; then :
4272 ac_cv_prog_cc_c89=$ac_arg
4274 rm -f core conftest.err conftest.$ac_objext
4275 test "x$ac_cv_prog_cc_c89" != "xno" && break
4276 done
4277 rm -f conftest.$ac_ext
4278 CC=$ac_save_CC
4281 # AC_CACHE_VAL
4282 case "x$ac_cv_prog_cc_c89" in
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4285 $as_echo "none needed" >&6; } ;;
4286 xno)
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4288 $as_echo "unsupported" >&6; } ;;
4290 CC="$CC $ac_cv_prog_cc_c89"
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4292 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4293 esac
4294 if test "x$ac_cv_prog_cc_c89" != xno; then :
4298 ac_ext=c
4299 ac_cpp='$CPP $CPPFLAGS'
4300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4304 ac_ext=cpp
4305 ac_cpp='$CXXCPP $CPPFLAGS'
4306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4309 if test -z "$CXX"; then
4310 if test -n "$CCC"; then
4311 CXX=$CCC
4312 else
4313 if test -n "$ac_tool_prefix"; then
4314 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4317 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4319 $as_echo_n "checking for $ac_word... " >&6; }
4320 if test "${ac_cv_prog_CXX+set}" = set; then :
4321 $as_echo_n "(cached) " >&6
4322 else
4323 if test -n "$CXX"; then
4324 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4325 else
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH
4329 IFS=$as_save_IFS
4330 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4333 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 break 2
4337 done
4338 done
4339 IFS=$as_save_IFS
4343 CXX=$ac_cv_prog_CXX
4344 if test -n "$CXX"; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4346 $as_echo "$CXX" >&6; }
4347 else
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4353 test -n "$CXX" && break
4354 done
4356 if test -z "$CXX"; then
4357 ac_ct_CXX=$CXX
4358 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4360 # Extract the first word of "$ac_prog", so it can be a program name with args.
4361 set dummy $ac_prog; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4365 $as_echo_n "(cached) " >&6
4366 else
4367 if test -n "$ac_ct_CXX"; then
4368 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4369 else
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371 for as_dir in $PATH
4373 IFS=$as_save_IFS
4374 test -z "$as_dir" && as_dir=.
4375 for ac_exec_ext in '' $ac_executable_extensions; do
4376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4377 ac_cv_prog_ac_ct_CXX="$ac_prog"
4378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 break 2
4381 done
4382 done
4383 IFS=$as_save_IFS
4387 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4388 if test -n "$ac_ct_CXX"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4390 $as_echo "$ac_ct_CXX" >&6; }
4391 else
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4397 test -n "$ac_ct_CXX" && break
4398 done
4400 if test "x$ac_ct_CXX" = x; then
4401 CXX="g++"
4402 else
4403 case $cross_compiling:$ac_tool_warned in
4404 yes:)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4407 ac_tool_warned=yes ;;
4408 esac
4409 CXX=$ac_ct_CXX
4415 # Provide some information about the compiler.
4416 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4417 set X $ac_compile
4418 ac_compiler=$2
4419 for ac_option in --version -v -V -qversion; do
4420 { { ac_try="$ac_compiler $ac_option >&5"
4421 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4424 esac
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4426 $as_echo "$ac_try_echo"; } >&5
4427 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4428 ac_status=$?
4429 if test -s conftest.err; then
4430 sed '10a\
4431 ... rest of stderr output deleted ...
4432 10q' conftest.err >conftest.er1
4433 cat conftest.er1 >&5
4434 rm -f conftest.er1 conftest.err
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4437 test $ac_status = 0; }
4438 done
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4441 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4442 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4449 main ()
4451 #ifndef __GNUC__
4452 choke me
4453 #endif
4456 return 0;
4458 _ACEOF
4459 if ac_fn_cxx_try_compile "$LINENO"; then :
4460 ac_compiler_gnu=yes
4461 else
4462 ac_compiler_gnu=no
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4465 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4469 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4470 if test $ac_compiler_gnu = yes; then
4471 GXX=yes
4472 else
4473 GXX=
4475 ac_test_CXXFLAGS=${CXXFLAGS+set}
4476 ac_save_CXXFLAGS=$CXXFLAGS
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4478 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4479 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4483 ac_cxx_werror_flag=yes
4484 ac_cv_prog_cxx_g=no
4485 CXXFLAGS="-g"
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4494 return 0;
4496 _ACEOF
4497 if ac_fn_cxx_try_compile "$LINENO"; then :
4498 ac_cv_prog_cxx_g=yes
4499 else
4500 CXXFLAGS=""
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4505 main ()
4509 return 0;
4511 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4514 else
4515 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4516 CXXFLAGS="-g"
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4521 main ()
4525 return 0;
4527 _ACEOF
4528 if ac_fn_cxx_try_compile "$LINENO"; then :
4529 ac_cv_prog_cxx_g=yes
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4539 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4540 if test "$ac_test_CXXFLAGS" = set; then
4541 CXXFLAGS=$ac_save_CXXFLAGS
4542 elif test $ac_cv_prog_cxx_g = yes; then
4543 if test "$GXX" = yes; then
4544 CXXFLAGS="-g -O2"
4545 else
4546 CXXFLAGS="-g"
4548 else
4549 if test "$GXX" = yes; then
4550 CXXFLAGS="-O2"
4551 else
4552 CXXFLAGS=
4555 ac_ext=c
4556 ac_cpp='$CPP $CPPFLAGS'
4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561 CXXFLAGS="$save_CXXFLAGS"
4563 # Runs configure.host, and assorted other critical bits. Sets
4564 # up critical shell variables.
4566 ac_ext=c
4567 ac_cpp='$CPP $CPPFLAGS'
4568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4572 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4573 # On Suns, sometimes $CPP names a directory.
4574 if test -n "$CPP" && test -d "$CPP"; then
4575 CPP=
4577 if test -z "$CPP"; then
4578 if test "${ac_cv_prog_CPP+set}" = set; then :
4579 $as_echo_n "(cached) " >&6
4580 else
4581 # Double quotes because CPP needs to be expanded
4582 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4584 ac_preproc_ok=false
4585 for ac_c_preproc_warn_flag in '' yes
4587 # Use a header file that comes with gcc, so configuring glibc
4588 # with a fresh cross-compiler works.
4589 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4590 # <limits.h> exists even on freestanding compilers.
4591 # On the NeXT, cc -E runs the code through the compiler's parser,
4592 # not just through cpp. "Syntax error" is here to catch this case.
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4595 #ifdef __STDC__
4596 # include <limits.h>
4597 #else
4598 # include <assert.h>
4599 #endif
4600 Syntax error
4601 _ACEOF
4602 if ac_fn_c_try_cpp "$LINENO"; then :
4604 else
4605 # Broken: fails on valid input.
4606 continue
4608 rm -f conftest.err conftest.$ac_ext
4610 # OK, works on sane cases. Now check whether nonexistent headers
4611 # can be detected and how.
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4614 #include <ac_nonexistent.h>
4615 _ACEOF
4616 if ac_fn_c_try_cpp "$LINENO"; then :
4617 # Broken: success on invalid input.
4618 continue
4619 else
4620 # Passes both tests.
4621 ac_preproc_ok=:
4622 break
4624 rm -f conftest.err conftest.$ac_ext
4626 done
4627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4628 rm -f conftest.err conftest.$ac_ext
4629 if $ac_preproc_ok; then :
4630 break
4633 done
4634 ac_cv_prog_CPP=$CPP
4637 CPP=$ac_cv_prog_CPP
4638 else
4639 ac_cv_prog_CPP=$CPP
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4642 $as_echo "$CPP" >&6; }
4643 ac_preproc_ok=false
4644 for ac_c_preproc_warn_flag in '' yes
4646 # Use a header file that comes with gcc, so configuring glibc
4647 # with a fresh cross-compiler works.
4648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4649 # <limits.h> exists even on freestanding compilers.
4650 # On the NeXT, cc -E runs the code through the compiler's parser,
4651 # not just through cpp. "Syntax error" is here to catch this case.
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4654 #ifdef __STDC__
4655 # include <limits.h>
4656 #else
4657 # include <assert.h>
4658 #endif
4659 Syntax error
4660 _ACEOF
4661 if ac_fn_c_try_cpp "$LINENO"; then :
4663 else
4664 # Broken: fails on valid input.
4665 continue
4667 rm -f conftest.err conftest.$ac_ext
4669 # OK, works on sane cases. Now check whether nonexistent headers
4670 # can be detected and how.
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4673 #include <ac_nonexistent.h>
4674 _ACEOF
4675 if ac_fn_c_try_cpp "$LINENO"; then :
4676 # Broken: success on invalid input.
4677 continue
4678 else
4679 # Passes both tests.
4680 ac_preproc_ok=:
4681 break
4683 rm -f conftest.err conftest.$ac_ext
4685 done
4686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4687 rm -f conftest.err conftest.$ac_ext
4688 if $ac_preproc_ok; then :
4690 else
4691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4693 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4694 See \`config.log' for more details." "$LINENO" 5; }
4697 ac_ext=c
4698 ac_cpp='$CPP $CPPFLAGS'
4699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4705 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4706 if test "${ac_cv_path_GREP+set}" = set; then :
4707 $as_echo_n "(cached) " >&6
4708 else
4709 if test -z "$GREP"; then
4710 ac_path_GREP_found=false
4711 # Loop through the user's path and test for each of PROGNAME-LIST
4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4713 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4715 IFS=$as_save_IFS
4716 test -z "$as_dir" && as_dir=.
4717 for ac_prog in grep ggrep; do
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4720 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4721 # Check for GNU ac_path_GREP and select it if it is found.
4722 # Check for GNU $ac_path_GREP
4723 case `"$ac_path_GREP" --version 2>&1` in
4724 *GNU*)
4725 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4727 ac_count=0
4728 $as_echo_n 0123456789 >"conftest.in"
4729 while :
4731 cat "conftest.in" "conftest.in" >"conftest.tmp"
4732 mv "conftest.tmp" "conftest.in"
4733 cp "conftest.in" "conftest.nl"
4734 $as_echo 'GREP' >> "conftest.nl"
4735 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4736 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4737 as_fn_arith $ac_count + 1 && ac_count=$as_val
4738 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4739 # Best one so far, save it but keep looking for a better one
4740 ac_cv_path_GREP="$ac_path_GREP"
4741 ac_path_GREP_max=$ac_count
4743 # 10*(2^10) chars as input seems more than enough
4744 test $ac_count -gt 10 && break
4745 done
4746 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4747 esac
4749 $ac_path_GREP_found && break 3
4750 done
4751 done
4752 done
4753 IFS=$as_save_IFS
4754 if test -z "$ac_cv_path_GREP"; then
4755 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4757 else
4758 ac_cv_path_GREP=$GREP
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4763 $as_echo "$ac_cv_path_GREP" >&6; }
4764 GREP="$ac_cv_path_GREP"
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4768 $as_echo_n "checking for egrep... " >&6; }
4769 if test "${ac_cv_path_EGREP+set}" = set; then :
4770 $as_echo_n "(cached) " >&6
4771 else
4772 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4773 then ac_cv_path_EGREP="$GREP -E"
4774 else
4775 if test -z "$EGREP"; then
4776 ac_path_EGREP_found=false
4777 # Loop through the user's path and test for each of PROGNAME-LIST
4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4781 IFS=$as_save_IFS
4782 test -z "$as_dir" && as_dir=.
4783 for ac_prog in egrep; do
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4786 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4787 # Check for GNU ac_path_EGREP and select it if it is found.
4788 # Check for GNU $ac_path_EGREP
4789 case `"$ac_path_EGREP" --version 2>&1` in
4790 *GNU*)
4791 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4793 ac_count=0
4794 $as_echo_n 0123456789 >"conftest.in"
4795 while :
4797 cat "conftest.in" "conftest.in" >"conftest.tmp"
4798 mv "conftest.tmp" "conftest.in"
4799 cp "conftest.in" "conftest.nl"
4800 $as_echo 'EGREP' >> "conftest.nl"
4801 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4802 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4803 as_fn_arith $ac_count + 1 && ac_count=$as_val
4804 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4805 # Best one so far, save it but keep looking for a better one
4806 ac_cv_path_EGREP="$ac_path_EGREP"
4807 ac_path_EGREP_max=$ac_count
4809 # 10*(2^10) chars as input seems more than enough
4810 test $ac_count -gt 10 && break
4811 done
4812 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4813 esac
4815 $ac_path_EGREP_found && break 3
4816 done
4817 done
4818 done
4819 IFS=$as_save_IFS
4820 if test -z "$ac_cv_path_EGREP"; then
4821 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4823 else
4824 ac_cv_path_EGREP=$EGREP
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4830 $as_echo "$ac_cv_path_EGREP" >&6; }
4831 EGREP="$ac_cv_path_EGREP"
4835 # Keep these sync'd with the list in Makefile.am. The first provides an
4836 # expandable list at autoconf time; the second provides an expandable list
4837 # (i.e., shell variable) at configure time.
4839 SUBDIRS='include libsupc++ python src doc po testsuite'
4841 # These need to be absolute paths, yet at the same time need to
4842 # canonicalize only relative paths, because then amd will not unmount
4843 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4844 glibcxx_builddir=`${PWDCMD-pwd}`
4845 case $srcdir in
4846 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4847 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4848 esac
4849 toplevel_srcdir=${glibcxx_srcdir}/..
4854 # We use these options to decide which functions to include. They are
4855 # set from the top level.
4857 # Check whether --with-target-subdir was given.
4858 if test "${with_target_subdir+set}" = set; then :
4859 withval=$with_target_subdir;
4864 # Check whether --with-cross-host was given.
4865 if test "${with_cross_host+set}" = set; then :
4866 withval=$with_cross_host;
4871 # Check whether --with-newlib was given.
4872 if test "${with_newlib+set}" = set; then :
4873 withval=$with_newlib;
4877 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4878 # available). Uncomment the next line to force a particular method.
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4880 $as_echo_n "checking whether ln -s works... " >&6; }
4881 LN_S=$as_ln_s
4882 if test "$LN_S" = "ln -s"; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4884 $as_echo "yes" >&6; }
4885 else
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4887 $as_echo "no, using $LN_S" >&6; }
4890 #LN_S='cp -p'
4892 if test -n "$ac_tool_prefix"; then
4893 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4894 set dummy ${ac_tool_prefix}as; ac_word=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if test "${ac_cv_prog_AS+set}" = set; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 if test -n "$AS"; then
4901 ac_cv_prog_AS="$AS" # Let the user override the test.
4902 else
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 for as_dir in $PATH
4906 IFS=$as_save_IFS
4907 test -z "$as_dir" && as_dir=.
4908 for ac_exec_ext in '' $ac_executable_extensions; do
4909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4910 ac_cv_prog_AS="${ac_tool_prefix}as"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 break 2
4914 done
4915 done
4916 IFS=$as_save_IFS
4920 AS=$ac_cv_prog_AS
4921 if test -n "$AS"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4923 $as_echo "$AS" >&6; }
4924 else
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4931 if test -z "$ac_cv_prog_AS"; then
4932 ac_ct_AS=$AS
4933 # Extract the first word of "as", so it can be a program name with args.
4934 set dummy as; ac_word=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4938 $as_echo_n "(cached) " >&6
4939 else
4940 if test -n "$ac_ct_AS"; then
4941 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4942 else
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944 for as_dir in $PATH
4946 IFS=$as_save_IFS
4947 test -z "$as_dir" && as_dir=.
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4950 ac_cv_prog_ac_ct_AS="as"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 break 2
4954 done
4955 done
4956 IFS=$as_save_IFS
4960 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4961 if test -n "$ac_ct_AS"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4963 $as_echo "$ac_ct_AS" >&6; }
4964 else
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4969 if test "x$ac_ct_AS" = x; then
4970 AS=""
4971 else
4972 case $cross_compiling:$ac_tool_warned in
4973 yes:)
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4976 ac_tool_warned=yes ;;
4977 esac
4978 AS=$ac_ct_AS
4980 else
4981 AS="$ac_cv_prog_AS"
4984 if test -n "$ac_tool_prefix"; then
4985 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4986 set dummy ${ac_tool_prefix}ar; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if test "${ac_cv_prog_AR+set}" = set; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 if test -n "$AR"; then
4993 ac_cv_prog_AR="$AR" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5002 ac_cv_prog_AR="${ac_tool_prefix}ar"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 break 2
5006 done
5007 done
5008 IFS=$as_save_IFS
5012 AR=$ac_cv_prog_AR
5013 if test -n "$AR"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5015 $as_echo "$AR" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5023 if test -z "$ac_cv_prog_AR"; then
5024 ac_ct_AR=$AR
5025 # Extract the first word of "ar", so it can be a program name with args.
5026 set dummy ar; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5031 else
5032 if test -n "$ac_ct_AR"; then
5033 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5034 else
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH
5038 IFS=$as_save_IFS
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_ac_ct_AR="ar"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 break 2
5046 done
5047 done
5048 IFS=$as_save_IFS
5052 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5053 if test -n "$ac_ct_AR"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5055 $as_echo "$ac_ct_AR" >&6; }
5056 else
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5061 if test "x$ac_ct_AR" = x; then
5062 AR=""
5063 else
5064 case $cross_compiling:$ac_tool_warned in
5065 yes:)
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5068 ac_tool_warned=yes ;;
5069 esac
5070 AR=$ac_ct_AR
5072 else
5073 AR="$ac_cv_prog_AR"
5076 if test -n "$ac_tool_prefix"; then
5077 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5078 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5082 $as_echo_n "(cached) " >&6
5083 else
5084 if test -n "$RANLIB"; then
5085 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5086 else
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 for as_dir in $PATH
5090 IFS=$as_save_IFS
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5094 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 break 2
5098 done
5099 done
5100 IFS=$as_save_IFS
5104 RANLIB=$ac_cv_prog_RANLIB
5105 if test -n "$RANLIB"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5107 $as_echo "$RANLIB" >&6; }
5108 else
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5115 if test -z "$ac_cv_prog_RANLIB"; then
5116 ac_ct_RANLIB=$RANLIB
5117 # Extract the first word of "ranlib", so it can be a program name with args.
5118 set dummy ranlib; ac_word=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5122 $as_echo_n "(cached) " >&6
5123 else
5124 if test -n "$ac_ct_RANLIB"; then
5125 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5126 else
5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 for as_dir in $PATH
5130 IFS=$as_save_IFS
5131 test -z "$as_dir" && as_dir=.
5132 for ac_exec_ext in '' $ac_executable_extensions; do
5133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134 ac_cv_prog_ac_ct_RANLIB="ranlib"
5135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 break 2
5138 done
5139 done
5140 IFS=$as_save_IFS
5144 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5145 if test -n "$ac_ct_RANLIB"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5147 $as_echo "$ac_ct_RANLIB" >&6; }
5148 else
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5153 if test "x$ac_ct_RANLIB" = x; then
5154 RANLIB="ranlib-not-found-in-path-error"
5155 else
5156 case $cross_compiling:$ac_tool_warned in
5157 yes:)
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5160 ac_tool_warned=yes ;;
5161 esac
5162 RANLIB=$ac_ct_RANLIB
5164 else
5165 RANLIB="$ac_cv_prog_RANLIB"
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5171 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5172 # Check whether --enable-maintainer-mode was given.
5173 if test "${enable_maintainer_mode+set}" = set; then :
5174 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5175 else
5176 USE_MAINTAINER_MODE=no
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5180 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5181 if test $USE_MAINTAINER_MODE = yes; then
5182 MAINTAINER_MODE_TRUE=
5183 MAINTAINER_MODE_FALSE='#'
5184 else
5185 MAINTAINER_MODE_TRUE='#'
5186 MAINTAINER_MODE_FALSE=
5189 MAINT=$MAINTAINER_MODE_TRUE
5193 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5194 # which are themselves conditionally expanded.
5195 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5196 ## other macros from doing the same. This should be automated.) -pme
5198 # Check for C library flavor since Linux platforms use different configuration
5199 # directories depending on the C library in use.
5200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5201 /* end confdefs.h. */
5203 #include <stdio.h>
5204 #if __UCLIBC__
5205 _using_uclibc
5206 #endif
5208 _ACEOF
5209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5210 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5211 uclibc=yes
5212 else
5213 uclibc=no
5215 rm -f conftest*
5218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219 /* end confdefs.h. */
5221 #include <stdio.h>
5222 #if __BIONIC__
5223 _using_bionic
5224 #endif
5226 _ACEOF
5227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5228 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5229 bionic=yes
5230 else
5231 bionic=no
5233 rm -f conftest*
5236 # Find platform-specific directories containing configuration info.
5237 # Also possibly modify flags used elsewhere, as needed by the platform.
5239 . $glibcxx_srcdir/configure.host
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5241 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5243 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5247 if test "x${with_newlib}" != "xyes"; then
5248 enable_dlopen=yes
5253 case `pwd` in
5254 *\ * | *\ *)
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5256 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5257 esac
5261 macro_version='2.2.7a'
5262 macro_revision='1.3134'
5276 ltmain="$ac_aux_dir/ltmain.sh"
5278 # Backslashify metacharacters that are still active within
5279 # double-quoted strings.
5280 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5282 # Same as above, but do not quote variable references.
5283 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5285 # Sed substitution to delay expansion of an escaped shell variable in a
5286 # double_quote_subst'ed string.
5287 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5289 # Sed substitution to delay expansion of an escaped single quote.
5290 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5292 # Sed substitution to avoid accidental globbing in evaled expressions
5293 no_glob_subst='s/\*/\\\*/g'
5295 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5296 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5297 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5300 $as_echo_n "checking how to print strings... " >&6; }
5301 # Test print first, because it will be a builtin if present.
5302 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5303 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5304 ECHO='print -r --'
5305 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5306 ECHO='printf %s\n'
5307 else
5308 # Use this function as a fallback that always works.
5309 func_fallback_echo ()
5311 eval 'cat <<_LTECHO_EOF
5313 _LTECHO_EOF'
5315 ECHO='func_fallback_echo'
5318 # func_echo_all arg...
5319 # Invoke $ECHO with all args, space-separated.
5320 func_echo_all ()
5322 $ECHO ""
5325 case "$ECHO" in
5326 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5327 $as_echo "printf" >&6; } ;;
5328 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5329 $as_echo "print -r" >&6; } ;;
5330 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5331 $as_echo "cat" >&6; } ;;
5332 esac
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5348 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5349 if test "${ac_cv_path_SED+set}" = set; then :
5350 $as_echo_n "(cached) " >&6
5351 else
5352 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5353 for ac_i in 1 2 3 4 5 6 7; do
5354 ac_script="$ac_script$as_nl$ac_script"
5355 done
5356 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5357 { ac_script=; unset ac_script;}
5358 if test -z "$SED"; then
5359 ac_path_SED_found=false
5360 # Loop through the user's path and test for each of PROGNAME-LIST
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH
5364 IFS=$as_save_IFS
5365 test -z "$as_dir" && as_dir=.
5366 for ac_prog in sed gsed; do
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5369 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5370 # Check for GNU ac_path_SED and select it if it is found.
5371 # Check for GNU $ac_path_SED
5372 case `"$ac_path_SED" --version 2>&1` in
5373 *GNU*)
5374 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5376 ac_count=0
5377 $as_echo_n 0123456789 >"conftest.in"
5378 while :
5380 cat "conftest.in" "conftest.in" >"conftest.tmp"
5381 mv "conftest.tmp" "conftest.in"
5382 cp "conftest.in" "conftest.nl"
5383 $as_echo '' >> "conftest.nl"
5384 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5386 as_fn_arith $ac_count + 1 && ac_count=$as_val
5387 if test $ac_count -gt ${ac_path_SED_max-0}; then
5388 # Best one so far, save it but keep looking for a better one
5389 ac_cv_path_SED="$ac_path_SED"
5390 ac_path_SED_max=$ac_count
5392 # 10*(2^10) chars as input seems more than enough
5393 test $ac_count -gt 10 && break
5394 done
5395 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5396 esac
5398 $ac_path_SED_found && break 3
5399 done
5400 done
5401 done
5402 IFS=$as_save_IFS
5403 if test -z "$ac_cv_path_SED"; then
5404 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5406 else
5407 ac_cv_path_SED=$SED
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5412 $as_echo "$ac_cv_path_SED" >&6; }
5413 SED="$ac_cv_path_SED"
5414 rm -f conftest.sed
5416 test -z "$SED" && SED=sed
5417 Xsed="$SED -e 1s/^X//"
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5430 $as_echo_n "checking for fgrep... " >&6; }
5431 if test "${ac_cv_path_FGREP+set}" = set; then :
5432 $as_echo_n "(cached) " >&6
5433 else
5434 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5435 then ac_cv_path_FGREP="$GREP -F"
5436 else
5437 if test -z "$FGREP"; then
5438 ac_path_FGREP_found=false
5439 # Loop through the user's path and test for each of PROGNAME-LIST
5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5443 IFS=$as_save_IFS
5444 test -z "$as_dir" && as_dir=.
5445 for ac_prog in fgrep; do
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5448 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5449 # Check for GNU ac_path_FGREP and select it if it is found.
5450 # Check for GNU $ac_path_FGREP
5451 case `"$ac_path_FGREP" --version 2>&1` in
5452 *GNU*)
5453 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5455 ac_count=0
5456 $as_echo_n 0123456789 >"conftest.in"
5457 while :
5459 cat "conftest.in" "conftest.in" >"conftest.tmp"
5460 mv "conftest.tmp" "conftest.in"
5461 cp "conftest.in" "conftest.nl"
5462 $as_echo 'FGREP' >> "conftest.nl"
5463 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5464 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5465 as_fn_arith $ac_count + 1 && ac_count=$as_val
5466 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5467 # Best one so far, save it but keep looking for a better one
5468 ac_cv_path_FGREP="$ac_path_FGREP"
5469 ac_path_FGREP_max=$ac_count
5471 # 10*(2^10) chars as input seems more than enough
5472 test $ac_count -gt 10 && break
5473 done
5474 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5475 esac
5477 $ac_path_FGREP_found && break 3
5478 done
5479 done
5480 done
5481 IFS=$as_save_IFS
5482 if test -z "$ac_cv_path_FGREP"; then
5483 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5485 else
5486 ac_cv_path_FGREP=$FGREP
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5492 $as_echo "$ac_cv_path_FGREP" >&6; }
5493 FGREP="$ac_cv_path_FGREP"
5496 test -z "$GREP" && GREP=grep
5516 # Check whether --with-gnu-ld was given.
5517 if test "${with_gnu_ld+set}" = set; then :
5518 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5519 else
5520 with_gnu_ld=no
5523 ac_prog=ld
5524 if test "$GCC" = yes; then
5525 # Check if gcc -print-prog-name=ld gives a path.
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5527 $as_echo_n "checking for ld used by $CC... " >&6; }
5528 case $host in
5529 *-*-mingw*)
5530 # gcc leaves a trailing carriage return which upsets mingw
5531 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5533 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5534 esac
5535 case $ac_prog in
5536 # Accept absolute paths.
5537 [\\/]* | ?:[\\/]*)
5538 re_direlt='/[^/][^/]*/\.\./'
5539 # Canonicalize the pathname of ld
5540 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5541 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5542 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5543 done
5544 test -z "$LD" && LD="$ac_prog"
5547 # If it fails, then pretend we aren't using GCC.
5548 ac_prog=ld
5551 # If it is relative, then search for the first ld in PATH.
5552 with_gnu_ld=unknown
5554 esac
5555 elif test "$with_gnu_ld" = yes; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5557 $as_echo_n "checking for GNU ld... " >&6; }
5558 else
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5560 $as_echo_n "checking for non-GNU ld... " >&6; }
5562 if test "${lt_cv_path_LD+set}" = set; then :
5563 $as_echo_n "(cached) " >&6
5564 else
5565 if test -z "$LD"; then
5566 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5567 for ac_dir in $PATH; do
5568 IFS="$lt_save_ifs"
5569 test -z "$ac_dir" && ac_dir=.
5570 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5571 lt_cv_path_LD="$ac_dir/$ac_prog"
5572 # Check to see if the program is GNU ld. I'd rather use --version,
5573 # but apparently some variants of GNU ld only accept -v.
5574 # Break only if it was the GNU/non-GNU ld that we prefer.
5575 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5576 *GNU* | *'with BFD'*)
5577 test "$with_gnu_ld" != no && break
5580 test "$with_gnu_ld" != yes && break
5582 esac
5584 done
5585 IFS="$lt_save_ifs"
5586 else
5587 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5591 LD="$lt_cv_path_LD"
5592 if test -n "$LD"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5594 $as_echo "$LD" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5599 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5601 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5602 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5603 $as_echo_n "(cached) " >&6
5604 else
5605 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5606 case `$LD -v 2>&1 </dev/null` in
5607 *GNU* | *'with BFD'*)
5608 lt_cv_prog_gnu_ld=yes
5611 lt_cv_prog_gnu_ld=no
5613 esac
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5616 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5617 with_gnu_ld=$lt_cv_prog_gnu_ld
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5628 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5629 if test "${lt_cv_path_NM+set}" = set; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 if test -n "$NM"; then
5633 # Let the user override the test.
5634 lt_cv_path_NM="$NM"
5635 else
5636 lt_nm_to_check="${ac_tool_prefix}nm"
5637 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5638 lt_nm_to_check="$lt_nm_to_check nm"
5640 for lt_tmp_nm in $lt_nm_to_check; do
5641 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5642 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5643 IFS="$lt_save_ifs"
5644 test -z "$ac_dir" && ac_dir=.
5645 tmp_nm="$ac_dir/$lt_tmp_nm"
5646 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5647 # Check to see if the nm accepts a BSD-compat flag.
5648 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5649 # nm: unknown option "B" ignored
5650 # Tru64's nm complains that /dev/null is an invalid object file
5651 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5652 */dev/null* | *'Invalid file or object type'*)
5653 lt_cv_path_NM="$tmp_nm -B"
5654 break
5657 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5658 */dev/null*)
5659 lt_cv_path_NM="$tmp_nm -p"
5660 break
5663 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5664 continue # so that we can try to find one that supports BSD flags
5666 esac
5668 esac
5670 done
5671 IFS="$lt_save_ifs"
5672 done
5673 : ${lt_cv_path_NM=no}
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5677 $as_echo "$lt_cv_path_NM" >&6; }
5678 if test "$lt_cv_path_NM" != "no"; then
5679 NM="$lt_cv_path_NM"
5680 else
5681 # Didn't find any BSD compatible name lister, look for dumpbin.
5682 if test -n "$DUMPBIN"; then :
5683 # Let the user override the test.
5684 else
5685 if test -n "$ac_tool_prefix"; then
5686 for ac_prog in dumpbin "link -dump"
5688 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5689 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691 $as_echo_n "checking for $ac_word... " >&6; }
5692 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 if test -n "$DUMPBIN"; then
5696 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5697 else
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in $PATH
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5705 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5715 DUMPBIN=$ac_cv_prog_DUMPBIN
5716 if test -n "$DUMPBIN"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5718 $as_echo "$DUMPBIN" >&6; }
5719 else
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5725 test -n "$DUMPBIN" && break
5726 done
5728 if test -z "$DUMPBIN"; then
5729 ac_ct_DUMPBIN=$DUMPBIN
5730 for ac_prog in dumpbin "link -dump"
5732 # Extract the first word of "$ac_prog", so it can be a program name with args.
5733 set dummy $ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$ac_ct_DUMPBIN"; then
5740 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5753 done
5754 done
5755 IFS=$as_save_IFS
5759 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5760 if test -n "$ac_ct_DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5762 $as_echo "$ac_ct_DUMPBIN" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5769 test -n "$ac_ct_DUMPBIN" && break
5770 done
5772 if test "x$ac_ct_DUMPBIN" = x; then
5773 DUMPBIN=":"
5774 else
5775 case $cross_compiling:$ac_tool_warned in
5776 yes:)
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5779 ac_tool_warned=yes ;;
5780 esac
5781 DUMPBIN=$ac_ct_DUMPBIN
5785 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5786 *COFF*)
5787 DUMPBIN="$DUMPBIN -symbols"
5790 DUMPBIN=:
5792 esac
5795 if test "$DUMPBIN" != ":"; then
5796 NM="$DUMPBIN"
5799 test -z "$NM" && NM=nm
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5807 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5808 if test "${lt_cv_nm_interface+set}" = set; then :
5809 $as_echo_n "(cached) " >&6
5810 else
5811 lt_cv_nm_interface="BSD nm"
5812 echo "int some_variable = 0;" > conftest.$ac_ext
5813 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5814 (eval "$ac_compile" 2>conftest.err)
5815 cat conftest.err >&5
5816 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5817 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5818 cat conftest.err >&5
5819 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5820 cat conftest.out >&5
5821 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5822 lt_cv_nm_interface="MS dumpbin"
5824 rm -f conftest*
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5827 $as_echo "$lt_cv_nm_interface" >&6; }
5829 # find the maximum length of command line arguments
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5831 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5832 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5836 teststring="ABCD"
5838 case $build_os in
5839 msdosdjgpp*)
5840 # On DJGPP, this test can blow up pretty badly due to problems in libc
5841 # (any single argument exceeding 2000 bytes causes a buffer overrun
5842 # during glob expansion). Even if it were fixed, the result of this
5843 # check would be larger than it should be.
5844 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5847 gnu*)
5848 # Under GNU Hurd, this test is not required because there is
5849 # no limit to the length of command line arguments.
5850 # Libtool will interpret -1 as no limit whatsoever
5851 lt_cv_sys_max_cmd_len=-1;
5854 cygwin* | mingw* | cegcc*)
5855 # On Win9x/ME, this test blows up -- it succeeds, but takes
5856 # about 5 minutes as the teststring grows exponentially.
5857 # Worse, since 9x/ME are not pre-emptively multitasking,
5858 # you end up with a "frozen" computer, even though with patience
5859 # the test eventually succeeds (with a max line length of 256k).
5860 # Instead, let's just punt: use the minimum linelength reported by
5861 # all of the supported platforms: 8192 (on NT/2K/XP).
5862 lt_cv_sys_max_cmd_len=8192;
5865 mint*)
5866 # On MiNT this can take a long time and run out of memory.
5867 lt_cv_sys_max_cmd_len=8192;
5870 amigaos*)
5871 # On AmigaOS with pdksh, this test takes hours, literally.
5872 # So we just punt and use a minimum line length of 8192.
5873 lt_cv_sys_max_cmd_len=8192;
5876 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5877 # This has been around since 386BSD, at least. Likely further.
5878 if test -x /sbin/sysctl; then
5879 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5880 elif test -x /usr/sbin/sysctl; then
5881 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5882 else
5883 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5885 # And add a safety zone
5886 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5887 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5890 interix*)
5891 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5892 lt_cv_sys_max_cmd_len=196608
5895 osf*)
5896 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5897 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5898 # nice to cause kernel panics so lets avoid the loop below.
5899 # First set a reasonable default.
5900 lt_cv_sys_max_cmd_len=16384
5902 if test -x /sbin/sysconfig; then
5903 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5904 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5905 esac
5908 sco3.2v5*)
5909 lt_cv_sys_max_cmd_len=102400
5911 sysv5* | sco5v6* | sysv4.2uw2*)
5912 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5913 if test -n "$kargmax"; then
5914 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5915 else
5916 lt_cv_sys_max_cmd_len=32768
5920 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5921 if test -n "$lt_cv_sys_max_cmd_len"; then
5922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5924 else
5925 # Make teststring a little bigger before we do anything with it.
5926 # a 1K string should be a reasonable start.
5927 for i in 1 2 3 4 5 6 7 8 ; do
5928 teststring=$teststring$teststring
5929 done
5930 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5931 # If test is not a shell built-in, we'll probably end up computing a
5932 # maximum length that is only half of the actual maximum length, but
5933 # we can't tell.
5934 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5935 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5936 test $i != 17 # 1/2 MB should be enough
5938 i=`expr $i + 1`
5939 teststring=$teststring$teststring
5940 done
5941 # Only check the string length outside the loop.
5942 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5943 teststring=
5944 # Add a significant safety factor because C++ compilers can tack on
5945 # massive amounts of additional arguments before passing them to the
5946 # linker. It appears as though 1/2 is a usable value.
5947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5950 esac
5954 if test -n $lt_cv_sys_max_cmd_len ; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5956 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5957 else
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5959 $as_echo "none" >&6; }
5961 max_cmd_len=$lt_cv_sys_max_cmd_len
5968 : ${CP="cp -f"}
5969 : ${MV="mv -f"}
5970 : ${RM="rm -f"}
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5973 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5974 # Try some XSI features
5975 xsi_shell=no
5976 ( _lt_dummy="a/b/c"
5977 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5978 = c,a/b,, \
5979 && eval 'test $(( 1 + 1 )) -eq 2 \
5980 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5981 && xsi_shell=yes
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5983 $as_echo "$xsi_shell" >&6; }
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5987 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5988 lt_shell_append=no
5989 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5990 >/dev/null 2>&1 \
5991 && lt_shell_append=yes
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5993 $as_echo "$lt_shell_append" >&6; }
5996 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5997 lt_unset=unset
5998 else
5999 lt_unset=false
6006 # test EBCDIC or ASCII
6007 case `echo X|tr X '\101'` in
6008 A) # ASCII based system
6009 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6010 lt_SP2NL='tr \040 \012'
6011 lt_NL2SP='tr \015\012 \040\040'
6013 *) # EBCDIC based system
6014 lt_SP2NL='tr \100 \n'
6015 lt_NL2SP='tr \r\n \100\100'
6017 esac
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6028 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6029 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 lt_cv_ld_reload_flag='-r'
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6035 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6036 reload_flag=$lt_cv_ld_reload_flag
6037 case $reload_flag in
6038 "" | " "*) ;;
6039 *) reload_flag=" $reload_flag" ;;
6040 esac
6041 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6042 case $host_os in
6043 darwin*)
6044 if test "$GCC" = yes; then
6045 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6046 else
6047 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6050 esac
6060 if test -n "$ac_tool_prefix"; then
6061 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6062 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 if test -n "$OBJDUMP"; then
6069 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6074 IFS=$as_save_IFS
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6078 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 break 2
6082 done
6083 done
6084 IFS=$as_save_IFS
6088 OBJDUMP=$ac_cv_prog_OBJDUMP
6089 if test -n "$OBJDUMP"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6091 $as_echo "$OBJDUMP" >&6; }
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6099 if test -z "$ac_cv_prog_OBJDUMP"; then
6100 ac_ct_OBJDUMP=$OBJDUMP
6101 # Extract the first word of "objdump", so it can be a program name with args.
6102 set dummy objdump; ac_word=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6105 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6106 $as_echo_n "(cached) " >&6
6107 else
6108 if test -n "$ac_ct_OBJDUMP"; then
6109 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6110 else
6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 for as_dir in $PATH
6114 IFS=$as_save_IFS
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6118 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 break 2
6122 done
6123 done
6124 IFS=$as_save_IFS
6128 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6129 if test -n "$ac_ct_OBJDUMP"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6131 $as_echo "$ac_ct_OBJDUMP" >&6; }
6132 else
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6137 if test "x$ac_ct_OBJDUMP" = x; then
6138 OBJDUMP="false"
6139 else
6140 case $cross_compiling:$ac_tool_warned in
6141 yes:)
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6144 ac_tool_warned=yes ;;
6145 esac
6146 OBJDUMP=$ac_ct_OBJDUMP
6148 else
6149 OBJDUMP="$ac_cv_prog_OBJDUMP"
6152 test -z "$OBJDUMP" && OBJDUMP=objdump
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6163 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6164 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6165 $as_echo_n "(cached) " >&6
6166 else
6167 lt_cv_file_magic_cmd='$MAGIC_CMD'
6168 lt_cv_file_magic_test_file=
6169 lt_cv_deplibs_check_method='unknown'
6170 # Need to set the preceding variable on all platforms that support
6171 # interlibrary dependencies.
6172 # 'none' -- dependencies not supported.
6173 # `unknown' -- same as none, but documents that we really don't know.
6174 # 'pass_all' -- all dependencies passed with no checks.
6175 # 'test_compile' -- check by making test program.
6176 # 'file_magic [[regex]]' -- check by looking for files in library path
6177 # which responds to the $file_magic_cmd with a given extended regex.
6178 # If you have `file' or equivalent on your system and you're not sure
6179 # whether `pass_all' will *always* work, you probably want this one.
6181 case $host_os in
6182 aix[4-9]*)
6183 lt_cv_deplibs_check_method=pass_all
6186 beos*)
6187 lt_cv_deplibs_check_method=pass_all
6190 bsdi[45]*)
6191 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6192 lt_cv_file_magic_cmd='/usr/bin/file -L'
6193 lt_cv_file_magic_test_file=/shlib/libc.so
6196 cygwin*)
6197 # func_win32_libid is a shell function defined in ltmain.sh
6198 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6199 lt_cv_file_magic_cmd='func_win32_libid'
6202 mingw* | pw32*)
6203 # Base MSYS/MinGW do not provide the 'file' command needed by
6204 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6205 # unless we find 'file', for example because we are cross-compiling.
6206 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6207 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6208 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6209 lt_cv_file_magic_cmd='func_win32_libid'
6210 else
6211 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6212 lt_cv_file_magic_cmd='$OBJDUMP -f'
6216 cegcc*)
6217 # use the weaker test based on 'objdump'. See mingw*.
6218 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6219 lt_cv_file_magic_cmd='$OBJDUMP -f'
6222 darwin* | rhapsody*)
6223 lt_cv_deplibs_check_method=pass_all
6226 freebsd* | dragonfly*)
6227 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6228 case $host_cpu in
6229 i*86 )
6230 # Not sure whether the presence of OpenBSD here was a mistake.
6231 # Let's accept both of them until this is cleared up.
6232 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6233 lt_cv_file_magic_cmd=/usr/bin/file
6234 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6236 esac
6237 else
6238 lt_cv_deplibs_check_method=pass_all
6242 gnu*)
6243 lt_cv_deplibs_check_method=pass_all
6246 haiku*)
6247 lt_cv_deplibs_check_method=pass_all
6250 hpux10.20* | hpux11*)
6251 lt_cv_file_magic_cmd=/usr/bin/file
6252 case $host_cpu in
6253 ia64*)
6254 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6255 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6257 hppa*64*)
6258 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]'
6259 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6262 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6263 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6265 esac
6268 interix[3-9]*)
6269 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6270 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6273 irix5* | irix6* | nonstopux*)
6274 case $LD in
6275 *-32|*"-32 ") libmagic=32-bit;;
6276 *-n32|*"-n32 ") libmagic=N32;;
6277 *-64|*"-64 ") libmagic=64-bit;;
6278 *) libmagic=never-match;;
6279 esac
6280 lt_cv_deplibs_check_method=pass_all
6283 # This must be Linux ELF.
6284 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6285 lt_cv_deplibs_check_method=pass_all
6288 netbsd*)
6289 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6290 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6291 else
6292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6296 newos6*)
6297 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6298 lt_cv_file_magic_cmd=/usr/bin/file
6299 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6302 *nto* | *qnx*)
6303 lt_cv_deplibs_check_method=pass_all
6306 openbsd*)
6307 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6309 else
6310 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6314 osf3* | osf4* | osf5*)
6315 lt_cv_deplibs_check_method=pass_all
6318 rdos*)
6319 lt_cv_deplibs_check_method=pass_all
6322 solaris*)
6323 lt_cv_deplibs_check_method=pass_all
6326 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6327 lt_cv_deplibs_check_method=pass_all
6330 sysv4 | sysv4.3*)
6331 case $host_vendor in
6332 motorola)
6333 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]'
6334 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6336 ncr)
6337 lt_cv_deplibs_check_method=pass_all
6339 sequent)
6340 lt_cv_file_magic_cmd='/bin/file'
6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6343 sni)
6344 lt_cv_file_magic_cmd='/bin/file'
6345 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6346 lt_cv_file_magic_test_file=/lib/libc.so
6348 siemens)
6349 lt_cv_deplibs_check_method=pass_all
6352 lt_cv_deplibs_check_method=pass_all
6354 esac
6357 tpf*)
6358 lt_cv_deplibs_check_method=pass_all
6360 esac
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6364 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6365 file_magic_cmd=$lt_cv_file_magic_cmd
6366 deplibs_check_method=$lt_cv_deplibs_check_method
6367 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6380 if test -n "$ac_tool_prefix"; then
6381 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6382 set dummy ${ac_tool_prefix}ar; ac_word=$2
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6384 $as_echo_n "checking for $ac_word... " >&6; }
6385 if test "${ac_cv_prog_AR+set}" = set; then :
6386 $as_echo_n "(cached) " >&6
6387 else
6388 if test -n "$AR"; then
6389 ac_cv_prog_AR="$AR" # Let the user override the test.
6390 else
6391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 for as_dir in $PATH
6394 IFS=$as_save_IFS
6395 test -z "$as_dir" && as_dir=.
6396 for ac_exec_ext in '' $ac_executable_extensions; do
6397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6398 ac_cv_prog_AR="${ac_tool_prefix}ar"
6399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 break 2
6402 done
6403 done
6404 IFS=$as_save_IFS
6408 AR=$ac_cv_prog_AR
6409 if test -n "$AR"; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6411 $as_echo "$AR" >&6; }
6412 else
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6414 $as_echo "no" >&6; }
6419 if test -z "$ac_cv_prog_AR"; then
6420 ac_ct_AR=$AR
6421 # Extract the first word of "ar", so it can be a program name with args.
6422 set dummy ar; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 if test -n "$ac_ct_AR"; then
6429 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6430 else
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH
6434 IFS=$as_save_IFS
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6438 ac_cv_prog_ac_ct_AR="ar"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 break 2
6442 done
6443 done
6444 IFS=$as_save_IFS
6448 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6449 if test -n "$ac_ct_AR"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6451 $as_echo "$ac_ct_AR" >&6; }
6452 else
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6454 $as_echo "no" >&6; }
6457 if test "x$ac_ct_AR" = x; then
6458 AR="false"
6459 else
6460 case $cross_compiling:$ac_tool_warned in
6461 yes:)
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6464 ac_tool_warned=yes ;;
6465 esac
6466 AR=$ac_ct_AR
6468 else
6469 AR="$ac_cv_prog_AR"
6472 test -z "$AR" && AR=ar
6473 test -z "$AR_FLAGS" && AR_FLAGS=cru
6485 if test -n "$ac_tool_prefix"; then
6486 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6487 set dummy ${ac_tool_prefix}strip; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if test "${ac_cv_prog_STRIP+set}" = set; then :
6491 $as_echo_n "(cached) " >&6
6492 else
6493 if test -n "$STRIP"; then
6494 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6495 else
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497 for as_dir in $PATH
6499 IFS=$as_save_IFS
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 break 2
6507 done
6508 done
6509 IFS=$as_save_IFS
6513 STRIP=$ac_cv_prog_STRIP
6514 if test -n "$STRIP"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6516 $as_echo "$STRIP" >&6; }
6517 else
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6524 if test -z "$ac_cv_prog_STRIP"; then
6525 ac_ct_STRIP=$STRIP
6526 # Extract the first word of "strip", so it can be a program name with args.
6527 set dummy strip; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 $as_echo_n "checking for $ac_word... " >&6; }
6530 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6531 $as_echo_n "(cached) " >&6
6532 else
6533 if test -n "$ac_ct_STRIP"; then
6534 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6535 else
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 for as_dir in $PATH
6539 IFS=$as_save_IFS
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6543 ac_cv_prog_ac_ct_STRIP="strip"
6544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 break 2
6547 done
6548 done
6549 IFS=$as_save_IFS
6553 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6554 if test -n "$ac_ct_STRIP"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6556 $as_echo "$ac_ct_STRIP" >&6; }
6557 else
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6562 if test "x$ac_ct_STRIP" = x; then
6563 STRIP=":"
6564 else
6565 case $cross_compiling:$ac_tool_warned in
6566 yes:)
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6569 ac_tool_warned=yes ;;
6570 esac
6571 STRIP=$ac_ct_STRIP
6573 else
6574 STRIP="$ac_cv_prog_STRIP"
6577 test -z "$STRIP" && STRIP=:
6584 if test -n "$ac_tool_prefix"; then
6585 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6586 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6590 $as_echo_n "(cached) " >&6
6591 else
6592 if test -n "$RANLIB"; then
6593 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6594 else
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 for as_dir in $PATH
6598 IFS=$as_save_IFS
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6602 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604 break 2
6606 done
6607 done
6608 IFS=$as_save_IFS
6612 RANLIB=$ac_cv_prog_RANLIB
6613 if test -n "$RANLIB"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6615 $as_echo "$RANLIB" >&6; }
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6623 if test -z "$ac_cv_prog_RANLIB"; then
6624 ac_ct_RANLIB=$RANLIB
6625 # Extract the first word of "ranlib", so it can be a program name with args.
6626 set dummy ranlib; ac_word=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 $as_echo_n "checking for $ac_word... " >&6; }
6629 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6630 $as_echo_n "(cached) " >&6
6631 else
6632 if test -n "$ac_ct_RANLIB"; then
6633 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6634 else
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 for as_dir in $PATH
6638 IFS=$as_save_IFS
6639 test -z "$as_dir" && as_dir=.
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6642 ac_cv_prog_ac_ct_RANLIB="ranlib"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 break 2
6646 done
6647 done
6648 IFS=$as_save_IFS
6652 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6653 if test -n "$ac_ct_RANLIB"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6655 $as_echo "$ac_ct_RANLIB" >&6; }
6656 else
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 $as_echo "no" >&6; }
6661 if test "x$ac_ct_RANLIB" = x; then
6662 RANLIB=":"
6663 else
6664 case $cross_compiling:$ac_tool_warned in
6665 yes:)
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6668 ac_tool_warned=yes ;;
6669 esac
6670 RANLIB=$ac_ct_RANLIB
6672 else
6673 RANLIB="$ac_cv_prog_RANLIB"
6676 test -z "$RANLIB" && RANLIB=:
6683 # Determine commands to create old-style static archives.
6684 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6685 old_postinstall_cmds='chmod 644 $oldlib'
6686 old_postuninstall_cmds=
6688 if test -n "$RANLIB"; then
6689 case $host_os in
6690 openbsd*)
6691 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6694 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6696 esac
6697 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6700 case $host_os in
6701 darwin*)
6702 lock_old_archive_extraction=yes ;;
6704 lock_old_archive_extraction=no ;;
6705 esac
6745 # If no C compiler was specified, use CC.
6746 LTCC=${LTCC-"$CC"}
6748 # If no C compiler flags were specified, use CFLAGS.
6749 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6751 # Allow CC to be a program name with arguments.
6752 compiler=$CC
6755 # Check for command to grab the raw symbol name followed by C symbol from nm.
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6757 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6758 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6759 $as_echo_n "(cached) " >&6
6760 else
6762 # These are sane defaults that work on at least a few old systems.
6763 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6765 # Character class describing NM global symbol codes.
6766 symcode='[BCDEGRST]'
6768 # Regexp to match symbols that can be accessed directly from C.
6769 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6771 # Define system-specific variables.
6772 case $host_os in
6773 aix*)
6774 symcode='[BCDT]'
6776 cygwin* | mingw* | pw32* | cegcc*)
6777 symcode='[ABCDGISTW]'
6779 hpux*)
6780 if test "$host_cpu" = ia64; then
6781 symcode='[ABCDEGRST]'
6784 irix* | nonstopux*)
6785 symcode='[BCDEGRST]'
6787 osf*)
6788 symcode='[BCDEGQRST]'
6790 solaris*)
6791 symcode='[BDRT]'
6793 sco3.2v5*)
6794 symcode='[DT]'
6796 sysv4.2uw2*)
6797 symcode='[DT]'
6799 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6800 symcode='[ABDT]'
6802 sysv4)
6803 symcode='[DFNSTU]'
6805 esac
6807 # If we're using GNU nm, then use its standard symbol codes.
6808 case `$NM -V 2>&1` in
6809 *GNU* | *'with BFD'*)
6810 symcode='[ABCDGIRSTW]' ;;
6811 esac
6813 # Transform an extracted symbol line into a proper C declaration.
6814 # Some systems (esp. on ia64) link data and code symbols differently,
6815 # so use this general approach.
6816 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6818 # Transform an extracted symbol line into symbol name and symbol address
6819 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6820 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'"
6822 # Handle CRLF in mingw tool chain
6823 opt_cr=
6824 case $build_os in
6825 mingw*)
6826 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6828 esac
6830 # Try without a prefix underscore, then with it.
6831 for ac_symprfx in "" "_"; do
6833 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6834 symxfrm="\\1 $ac_symprfx\\2 \\2"
6836 # Write the raw and C identifiers.
6837 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6838 # Fake it for dumpbin and say T for any non-static function
6839 # and D for any global variable.
6840 # Also find C++ and __fastcall symbols from MSVC++,
6841 # which start with @ or ?.
6842 lt_cv_sys_global_symbol_pipe="$AWK '"\
6843 " {last_section=section; section=\$ 3};"\
6844 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6845 " \$ 0!~/External *\|/{next};"\
6846 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6847 " {if(hide[section]) next};"\
6848 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6849 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6850 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6851 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6852 " ' prfx=^$ac_symprfx"
6853 else
6854 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6857 # Check to see that the pipe works correctly.
6858 pipe_works=no
6860 rm -f conftest*
6861 cat > conftest.$ac_ext <<_LT_EOF
6862 #ifdef __cplusplus
6863 extern "C" {
6864 #endif
6865 char nm_test_var;
6866 void nm_test_func(void);
6867 void nm_test_func(void){}
6868 #ifdef __cplusplus
6870 #endif
6871 int main(){nm_test_var='a';nm_test_func();return(0);}
6872 _LT_EOF
6874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6875 (eval $ac_compile) 2>&5
6876 ac_status=$?
6877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6878 test $ac_status = 0; }; then
6879 # Now try to grab the symbols.
6880 nlist=conftest.nm
6881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6882 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6883 ac_status=$?
6884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6885 test $ac_status = 0; } && test -s "$nlist"; then
6886 # Try sorting and uniquifying the output.
6887 if sort "$nlist" | uniq > "$nlist"T; then
6888 mv -f "$nlist"T "$nlist"
6889 else
6890 rm -f "$nlist"T
6893 # Make sure that we snagged all the symbols we need.
6894 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6895 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6896 cat <<_LT_EOF > conftest.$ac_ext
6897 #ifdef __cplusplus
6898 extern "C" {
6899 #endif
6901 _LT_EOF
6902 # Now generate the symbol file.
6903 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6905 cat <<_LT_EOF >> conftest.$ac_ext
6907 /* The mapping between symbol names and symbols. */
6908 const struct {
6909 const char *name;
6910 void *address;
6912 lt__PROGRAM__LTX_preloaded_symbols[] =
6914 { "@PROGRAM@", (void *) 0 },
6915 _LT_EOF
6916 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6917 cat <<\_LT_EOF >> conftest.$ac_ext
6918 {0, (void *) 0}
6921 /* This works around a problem in FreeBSD linker */
6922 #ifdef FREEBSD_WORKAROUND
6923 static const void *lt_preloaded_setup() {
6924 return lt__PROGRAM__LTX_preloaded_symbols;
6926 #endif
6928 #ifdef __cplusplus
6930 #endif
6931 _LT_EOF
6932 # Now try linking the two files.
6933 mv conftest.$ac_objext conftstm.$ac_objext
6934 lt_save_LIBS="$LIBS"
6935 lt_save_CFLAGS="$CFLAGS"
6936 LIBS="conftstm.$ac_objext"
6937 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6939 (eval $ac_link) 2>&5
6940 ac_status=$?
6941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6942 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6943 pipe_works=yes
6945 LIBS="$lt_save_LIBS"
6946 CFLAGS="$lt_save_CFLAGS"
6947 else
6948 echo "cannot find nm_test_func in $nlist" >&5
6950 else
6951 echo "cannot find nm_test_var in $nlist" >&5
6953 else
6954 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6956 else
6957 echo "$progname: failed program was:" >&5
6958 cat conftest.$ac_ext >&5
6960 rm -rf conftest* conftst*
6962 # Do not use the global_symbol_pipe unless it works.
6963 if test "$pipe_works" = yes; then
6964 break
6965 else
6966 lt_cv_sys_global_symbol_pipe=
6968 done
6972 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6973 lt_cv_sys_global_symbol_to_cdecl=
6975 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6977 $as_echo "failed" >&6; }
6978 else
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6980 $as_echo "ok" >&6; }
7004 # Check whether --enable-libtool-lock was given.
7005 if test "${enable_libtool_lock+set}" = set; then :
7006 enableval=$enable_libtool_lock;
7009 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7011 # Some flags need to be propagated to the compiler or linker for good
7012 # libtool support.
7013 case $host in
7014 ia64-*-hpux*)
7015 # Find out which ABI we are using.
7016 echo 'int i;' > conftest.$ac_ext
7017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7018 (eval $ac_compile) 2>&5
7019 ac_status=$?
7020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7021 test $ac_status = 0; }; then
7022 case `/usr/bin/file conftest.$ac_objext` in
7023 *ELF-32*)
7024 HPUX_IA64_MODE="32"
7026 *ELF-64*)
7027 HPUX_IA64_MODE="64"
7029 esac
7031 rm -rf conftest*
7033 *-*-irix6*)
7034 # Find out which ABI we are using.
7035 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7036 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7037 (eval $ac_compile) 2>&5
7038 ac_status=$?
7039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7040 test $ac_status = 0; }; then
7041 if test "$lt_cv_prog_gnu_ld" = yes; then
7042 case `/usr/bin/file conftest.$ac_objext` in
7043 *32-bit*)
7044 LD="${LD-ld} -melf32bsmip"
7046 *N32*)
7047 LD="${LD-ld} -melf32bmipn32"
7049 *64-bit*)
7050 LD="${LD-ld} -melf64bmip"
7052 esac
7053 else
7054 case `/usr/bin/file conftest.$ac_objext` in
7055 *32-bit*)
7056 LD="${LD-ld} -32"
7058 *N32*)
7059 LD="${LD-ld} -n32"
7061 *64-bit*)
7062 LD="${LD-ld} -64"
7064 esac
7067 rm -rf conftest*
7070 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7071 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7072 # Find out which ABI we are using.
7073 echo 'int i;' > conftest.$ac_ext
7074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7075 (eval $ac_compile) 2>&5
7076 ac_status=$?
7077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7078 test $ac_status = 0; }; then
7079 case `/usr/bin/file conftest.o` in
7080 *32-bit*)
7081 case $host in
7082 x86_64-*kfreebsd*-gnu)
7083 LD="${LD-ld} -m elf_i386_fbsd"
7085 x86_64-*linux*)
7086 LD="${LD-ld} -m elf_i386"
7088 ppc64-*linux*|powerpc64-*linux*)
7089 LD="${LD-ld} -m elf32ppclinux"
7091 s390x-*linux*)
7092 LD="${LD-ld} -m elf_s390"
7094 sparc64-*linux*)
7095 LD="${LD-ld} -m elf32_sparc"
7097 esac
7099 *64-bit*)
7100 case $host in
7101 x86_64-*kfreebsd*-gnu)
7102 LD="${LD-ld} -m elf_x86_64_fbsd"
7104 x86_64-*linux*)
7105 LD="${LD-ld} -m elf_x86_64"
7107 ppc*-*linux*|powerpc*-*linux*)
7108 LD="${LD-ld} -m elf64ppc"
7110 s390*-*linux*|s390*-*tpf*)
7111 LD="${LD-ld} -m elf64_s390"
7113 sparc*-*linux*)
7114 LD="${LD-ld} -m elf64_sparc"
7116 esac
7118 esac
7120 rm -rf conftest*
7123 *-*-sco3.2v5*)
7124 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7125 SAVE_CFLAGS="$CFLAGS"
7126 CFLAGS="$CFLAGS -belf"
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7128 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7129 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132 ac_ext=c
7133 ac_cpp='$CPP $CPPFLAGS'
7134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7138 if test x$gcc_no_link = xyes; then
7139 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7145 main ()
7149 return 0;
7151 _ACEOF
7152 if ac_fn_c_try_link "$LINENO"; then :
7153 lt_cv_cc_needs_belf=yes
7154 else
7155 lt_cv_cc_needs_belf=no
7157 rm -f core conftest.err conftest.$ac_objext \
7158 conftest$ac_exeext conftest.$ac_ext
7159 ac_ext=c
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7167 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7168 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7169 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7170 CFLAGS="$SAVE_CFLAGS"
7173 sparc*-*solaris*)
7174 # Find out which ABI we are using.
7175 echo 'int i;' > conftest.$ac_ext
7176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7177 (eval $ac_compile) 2>&5
7178 ac_status=$?
7179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7180 test $ac_status = 0; }; then
7181 case `/usr/bin/file conftest.o` in
7182 *64-bit*)
7183 case $lt_cv_prog_gnu_ld in
7184 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7186 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7187 LD="${LD-ld} -64"
7190 esac
7192 esac
7194 rm -rf conftest*
7196 esac
7198 need_locks="$enable_libtool_lock"
7201 case $host_os in
7202 rhapsody* | darwin*)
7203 if test -n "$ac_tool_prefix"; then
7204 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7205 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7207 $as_echo_n "checking for $ac_word... " >&6; }
7208 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7209 $as_echo_n "(cached) " >&6
7210 else
7211 if test -n "$DSYMUTIL"; then
7212 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7213 else
7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 for as_dir in $PATH
7217 IFS=$as_save_IFS
7218 test -z "$as_dir" && as_dir=.
7219 for ac_exec_ext in '' $ac_executable_extensions; do
7220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7221 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223 break 2
7225 done
7226 done
7227 IFS=$as_save_IFS
7231 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7232 if test -n "$DSYMUTIL"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7234 $as_echo "$DSYMUTIL" >&6; }
7235 else
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 $as_echo "no" >&6; }
7242 if test -z "$ac_cv_prog_DSYMUTIL"; then
7243 ac_ct_DSYMUTIL=$DSYMUTIL
7244 # Extract the first word of "dsymutil", so it can be a program name with args.
7245 set dummy dsymutil; ac_word=$2
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7247 $as_echo_n "checking for $ac_word... " >&6; }
7248 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7249 $as_echo_n "(cached) " >&6
7250 else
7251 if test -n "$ac_ct_DSYMUTIL"; then
7252 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7257 IFS=$as_save_IFS
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7261 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 break 2
7265 done
7266 done
7267 IFS=$as_save_IFS
7271 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7272 if test -n "$ac_ct_DSYMUTIL"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7274 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7275 else
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 $as_echo "no" >&6; }
7280 if test "x$ac_ct_DSYMUTIL" = x; then
7281 DSYMUTIL=":"
7282 else
7283 case $cross_compiling:$ac_tool_warned in
7284 yes:)
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7287 ac_tool_warned=yes ;;
7288 esac
7289 DSYMUTIL=$ac_ct_DSYMUTIL
7291 else
7292 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7295 if test -n "$ac_tool_prefix"; then
7296 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7297 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7301 $as_echo_n "(cached) " >&6
7302 else
7303 if test -n "$NMEDIT"; then
7304 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7305 else
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 for as_dir in $PATH
7309 IFS=$as_save_IFS
7310 test -z "$as_dir" && as_dir=.
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7313 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315 break 2
7317 done
7318 done
7319 IFS=$as_save_IFS
7323 NMEDIT=$ac_cv_prog_NMEDIT
7324 if test -n "$NMEDIT"; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7326 $as_echo "$NMEDIT" >&6; }
7327 else
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 $as_echo "no" >&6; }
7334 if test -z "$ac_cv_prog_NMEDIT"; then
7335 ac_ct_NMEDIT=$NMEDIT
7336 # Extract the first word of "nmedit", so it can be a program name with args.
7337 set dummy nmedit; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 if test -n "$ac_ct_NMEDIT"; then
7344 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7349 IFS=$as_save_IFS
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 break 2
7357 done
7358 done
7359 IFS=$as_save_IFS
7363 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7364 if test -n "$ac_ct_NMEDIT"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7366 $as_echo "$ac_ct_NMEDIT" >&6; }
7367 else
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7372 if test "x$ac_ct_NMEDIT" = x; then
7373 NMEDIT=":"
7374 else
7375 case $cross_compiling:$ac_tool_warned in
7376 yes:)
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7379 ac_tool_warned=yes ;;
7380 esac
7381 NMEDIT=$ac_ct_NMEDIT
7383 else
7384 NMEDIT="$ac_cv_prog_NMEDIT"
7387 if test -n "$ac_tool_prefix"; then
7388 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7389 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 $as_echo_n "checking for $ac_word... " >&6; }
7392 if test "${ac_cv_prog_LIPO+set}" = set; then :
7393 $as_echo_n "(cached) " >&6
7394 else
7395 if test -n "$LIPO"; then
7396 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7397 else
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 for as_dir in $PATH
7401 IFS=$as_save_IFS
7402 test -z "$as_dir" && as_dir=.
7403 for ac_exec_ext in '' $ac_executable_extensions; do
7404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7405 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 break 2
7409 done
7410 done
7411 IFS=$as_save_IFS
7415 LIPO=$ac_cv_prog_LIPO
7416 if test -n "$LIPO"; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7418 $as_echo "$LIPO" >&6; }
7419 else
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 $as_echo "no" >&6; }
7426 if test -z "$ac_cv_prog_LIPO"; then
7427 ac_ct_LIPO=$LIPO
7428 # Extract the first word of "lipo", so it can be a program name with args.
7429 set dummy lipo; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 if test -n "$ac_ct_LIPO"; then
7436 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7441 IFS=$as_save_IFS
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7445 ac_cv_prog_ac_ct_LIPO="lipo"
7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 break 2
7449 done
7450 done
7451 IFS=$as_save_IFS
7455 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7456 if test -n "$ac_ct_LIPO"; then
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7458 $as_echo "$ac_ct_LIPO" >&6; }
7459 else
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7464 if test "x$ac_ct_LIPO" = x; then
7465 LIPO=":"
7466 else
7467 case $cross_compiling:$ac_tool_warned in
7468 yes:)
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7471 ac_tool_warned=yes ;;
7472 esac
7473 LIPO=$ac_ct_LIPO
7475 else
7476 LIPO="$ac_cv_prog_LIPO"
7479 if test -n "$ac_tool_prefix"; then
7480 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7481 set dummy ${ac_tool_prefix}otool; ac_word=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483 $as_echo_n "checking for $ac_word... " >&6; }
7484 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7485 $as_echo_n "(cached) " >&6
7486 else
7487 if test -n "$OTOOL"; then
7488 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7489 else
7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491 for as_dir in $PATH
7493 IFS=$as_save_IFS
7494 test -z "$as_dir" && as_dir=.
7495 for ac_exec_ext in '' $ac_executable_extensions; do
7496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7497 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499 break 2
7501 done
7502 done
7503 IFS=$as_save_IFS
7507 OTOOL=$ac_cv_prog_OTOOL
7508 if test -n "$OTOOL"; then
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7510 $as_echo "$OTOOL" >&6; }
7511 else
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 $as_echo "no" >&6; }
7518 if test -z "$ac_cv_prog_OTOOL"; then
7519 ac_ct_OTOOL=$OTOOL
7520 # Extract the first word of "otool", so it can be a program name with args.
7521 set dummy otool; ac_word=$2
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7523 $as_echo_n "checking for $ac_word... " >&6; }
7524 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 if test -n "$ac_ct_OTOOL"; then
7528 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7529 else
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 for as_dir in $PATH
7533 IFS=$as_save_IFS
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_prog_ac_ct_OTOOL="otool"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 break 2
7541 done
7542 done
7543 IFS=$as_save_IFS
7547 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7548 if test -n "$ac_ct_OTOOL"; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7550 $as_echo "$ac_ct_OTOOL" >&6; }
7551 else
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7553 $as_echo "no" >&6; }
7556 if test "x$ac_ct_OTOOL" = x; then
7557 OTOOL=":"
7558 else
7559 case $cross_compiling:$ac_tool_warned in
7560 yes:)
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7563 ac_tool_warned=yes ;;
7564 esac
7565 OTOOL=$ac_ct_OTOOL
7567 else
7568 OTOOL="$ac_cv_prog_OTOOL"
7571 if test -n "$ac_tool_prefix"; then
7572 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7573 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7577 $as_echo_n "(cached) " >&6
7578 else
7579 if test -n "$OTOOL64"; then
7580 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7581 else
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 for as_dir in $PATH
7585 IFS=$as_save_IFS
7586 test -z "$as_dir" && as_dir=.
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7589 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 break 2
7593 done
7594 done
7595 IFS=$as_save_IFS
7599 OTOOL64=$ac_cv_prog_OTOOL64
7600 if test -n "$OTOOL64"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7602 $as_echo "$OTOOL64" >&6; }
7603 else
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7610 if test -z "$ac_cv_prog_OTOOL64"; then
7611 ac_ct_OTOOL64=$OTOOL64
7612 # Extract the first word of "otool64", so it can be a program name with args.
7613 set dummy otool64; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 if test -n "$ac_ct_OTOOL64"; then
7620 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7625 IFS=$as_save_IFS
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629 ac_cv_prog_ac_ct_OTOOL64="otool64"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 break 2
7633 done
7634 done
7635 IFS=$as_save_IFS
7639 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7640 if test -n "$ac_ct_OTOOL64"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7642 $as_echo "$ac_ct_OTOOL64" >&6; }
7643 else
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7648 if test "x$ac_ct_OTOOL64" = x; then
7649 OTOOL64=":"
7650 else
7651 case $cross_compiling:$ac_tool_warned in
7652 yes:)
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7655 ac_tool_warned=yes ;;
7656 esac
7657 OTOOL64=$ac_ct_OTOOL64
7659 else
7660 OTOOL64="$ac_cv_prog_OTOOL64"
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7690 $as_echo_n "checking for -single_module linker flag... " >&6; }
7691 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7692 $as_echo_n "(cached) " >&6
7693 else
7694 lt_cv_apple_cc_single_mod=no
7695 if test -z "${LT_MULTI_MODULE}"; then
7696 # By default we will add the -single_module flag. You can override
7697 # by either setting the environment variable LT_MULTI_MODULE
7698 # non-empty at configure time, or by adding -multi_module to the
7699 # link flags.
7700 rm -rf libconftest.dylib*
7701 echo "int foo(void){return 1;}" > conftest.c
7702 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7703 -dynamiclib -Wl,-single_module conftest.c" >&5
7704 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7705 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7706 _lt_result=$?
7707 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7708 lt_cv_apple_cc_single_mod=yes
7709 else
7710 cat conftest.err >&5
7712 rm -rf libconftest.dylib*
7713 rm -f conftest.*
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7717 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7719 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7720 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7721 $as_echo_n "(cached) " >&6
7722 else
7723 lt_cv_ld_exported_symbols_list=no
7724 save_LDFLAGS=$LDFLAGS
7725 echo "_main" > conftest.sym
7726 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7727 if test x$gcc_no_link = xyes; then
7728 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7731 /* end confdefs.h. */
7734 main ()
7738 return 0;
7740 _ACEOF
7741 if ac_fn_c_try_link "$LINENO"; then :
7742 lt_cv_ld_exported_symbols_list=yes
7743 else
7744 lt_cv_ld_exported_symbols_list=no
7746 rm -f core conftest.err conftest.$ac_objext \
7747 conftest$ac_exeext conftest.$ac_ext
7748 LDFLAGS="$save_LDFLAGS"
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7752 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7754 $as_echo_n "checking for -force_load linker flag... " >&6; }
7755 if test "${lt_cv_ld_force_load+set}" = set; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7758 lt_cv_ld_force_load=no
7759 cat > conftest.c << _LT_EOF
7760 int forced_loaded() { return 2;}
7761 _LT_EOF
7762 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7763 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7764 echo "$AR cru libconftest.a conftest.o" >&5
7765 $AR cru libconftest.a conftest.o 2>&5
7766 cat > conftest.c << _LT_EOF
7767 int main() { return 0;}
7768 _LT_EOF
7769 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7770 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7771 _lt_result=$?
7772 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7773 lt_cv_ld_force_load=yes
7774 else
7775 cat conftest.err >&5
7777 rm -f conftest.err libconftest.a conftest conftest.c
7778 rm -rf conftest.dSYM
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7782 $as_echo "$lt_cv_ld_force_load" >&6; }
7783 case $host_os in
7784 rhapsody* | darwin1.[012])
7785 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7786 darwin1.*)
7787 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7788 darwin*) # darwin 5.x on
7789 # if running on 10.5 or later, the deployment target defaults
7790 # to the OS version, if on x86, and 10.4, the deployment
7791 # target defaults to 10.4. Don't you love it?
7792 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7793 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7794 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7795 10.[012]*)
7796 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7797 10.*)
7798 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7799 esac
7801 esac
7802 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7803 _lt_dar_single_mod='$single_module'
7805 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7806 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7807 else
7808 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7810 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7811 _lt_dsymutil='~$DSYMUTIL $lib || :'
7812 else
7813 _lt_dsymutil=
7816 esac
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7819 $as_echo_n "checking for ANSI C header files... " >&6; }
7820 if test "${ac_cv_header_stdc+set}" = set; then :
7821 $as_echo_n "(cached) " >&6
7822 else
7823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824 /* end confdefs.h. */
7825 #include <stdlib.h>
7826 #include <stdarg.h>
7827 #include <string.h>
7828 #include <float.h>
7831 main ()
7835 return 0;
7837 _ACEOF
7838 if ac_fn_c_try_compile "$LINENO"; then :
7839 ac_cv_header_stdc=yes
7840 else
7841 ac_cv_header_stdc=no
7843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7845 if test $ac_cv_header_stdc = yes; then
7846 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h. */
7849 #include <string.h>
7851 _ACEOF
7852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7853 $EGREP "memchr" >/dev/null 2>&1; then :
7855 else
7856 ac_cv_header_stdc=no
7858 rm -f conftest*
7862 if test $ac_cv_header_stdc = yes; then
7863 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7866 #include <stdlib.h>
7868 _ACEOF
7869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7870 $EGREP "free" >/dev/null 2>&1; then :
7872 else
7873 ac_cv_header_stdc=no
7875 rm -f conftest*
7879 if test $ac_cv_header_stdc = yes; then
7880 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7881 if test "$cross_compiling" = yes; then :
7883 else
7884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7885 /* end confdefs.h. */
7886 #include <ctype.h>
7887 #include <stdlib.h>
7888 #if ((' ' & 0x0FF) == 0x020)
7889 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7890 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7891 #else
7892 # define ISLOWER(c) \
7893 (('a' <= (c) && (c) <= 'i') \
7894 || ('j' <= (c) && (c) <= 'r') \
7895 || ('s' <= (c) && (c) <= 'z'))
7896 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7897 #endif
7899 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7901 main ()
7903 int i;
7904 for (i = 0; i < 256; i++)
7905 if (XOR (islower (i), ISLOWER (i))
7906 || toupper (i) != TOUPPER (i))
7907 return 2;
7908 return 0;
7910 _ACEOF
7911 if ac_fn_c_try_run "$LINENO"; then :
7913 else
7914 ac_cv_header_stdc=no
7916 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7917 conftest.$ac_objext conftest.beam conftest.$ac_ext
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7923 $as_echo "$ac_cv_header_stdc" >&6; }
7924 if test $ac_cv_header_stdc = yes; then
7926 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7930 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7931 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7932 inttypes.h stdint.h unistd.h
7933 do :
7934 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7935 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7937 eval as_val=\$$as_ac_Header
7938 if test "x$as_val" = x""yes; then :
7939 cat >>confdefs.h <<_ACEOF
7940 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7941 _ACEOF
7945 done
7948 for ac_header in dlfcn.h
7949 do :
7950 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7952 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7953 cat >>confdefs.h <<_ACEOF
7954 #define HAVE_DLFCN_H 1
7955 _ACEOF
7959 done
7966 # Set options
7971 enable_win32_dll=no
7974 # Check whether --enable-shared was given.
7975 if test "${enable_shared+set}" = set; then :
7976 enableval=$enable_shared; p=${PACKAGE-default}
7977 case $enableval in
7978 yes) enable_shared=yes ;;
7979 no) enable_shared=no ;;
7981 enable_shared=no
7982 # Look at the argument we got. We use all the common list separators.
7983 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7984 for pkg in $enableval; do
7985 IFS="$lt_save_ifs"
7986 if test "X$pkg" = "X$p"; then
7987 enable_shared=yes
7989 done
7990 IFS="$lt_save_ifs"
7992 esac
7993 else
7994 enable_shared=yes
8005 # Check whether --enable-static was given.
8006 if test "${enable_static+set}" = set; then :
8007 enableval=$enable_static; p=${PACKAGE-default}
8008 case $enableval in
8009 yes) enable_static=yes ;;
8010 no) enable_static=no ;;
8012 enable_static=no
8013 # Look at the argument we got. We use all the common list separators.
8014 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8015 for pkg in $enableval; do
8016 IFS="$lt_save_ifs"
8017 if test "X$pkg" = "X$p"; then
8018 enable_static=yes
8020 done
8021 IFS="$lt_save_ifs"
8023 esac
8024 else
8025 enable_static=yes
8037 # Check whether --with-pic was given.
8038 if test "${with_pic+set}" = set; then :
8039 withval=$with_pic; pic_mode="$withval"
8040 else
8041 pic_mode=default
8045 test -z "$pic_mode" && pic_mode=default
8053 # Check whether --enable-fast-install was given.
8054 if test "${enable_fast_install+set}" = set; then :
8055 enableval=$enable_fast_install; p=${PACKAGE-default}
8056 case $enableval in
8057 yes) enable_fast_install=yes ;;
8058 no) enable_fast_install=no ;;
8060 enable_fast_install=no
8061 # Look at the argument we got. We use all the common list separators.
8062 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8063 for pkg in $enableval; do
8064 IFS="$lt_save_ifs"
8065 if test "X$pkg" = "X$p"; then
8066 enable_fast_install=yes
8068 done
8069 IFS="$lt_save_ifs"
8071 esac
8072 else
8073 enable_fast_install=yes
8086 # This can be used to rebuild libtool when needed
8087 LIBTOOL_DEPS="$ltmain"
8089 # Always use our own libtool.
8090 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8117 test -z "$LN_S" && LN_S="ln -s"
8132 if test -n "${ZSH_VERSION+set}" ; then
8133 setopt NO_GLOB_SUBST
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8137 $as_echo_n "checking for objdir... " >&6; }
8138 if test "${lt_cv_objdir+set}" = set; then :
8139 $as_echo_n "(cached) " >&6
8140 else
8141 rm -f .libs 2>/dev/null
8142 mkdir .libs 2>/dev/null
8143 if test -d .libs; then
8144 lt_cv_objdir=.libs
8145 else
8146 # MS-DOS does not allow filenames that begin with a dot.
8147 lt_cv_objdir=_libs
8149 rmdir .libs 2>/dev/null
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8152 $as_echo "$lt_cv_objdir" >&6; }
8153 objdir=$lt_cv_objdir
8159 cat >>confdefs.h <<_ACEOF
8160 #define LT_OBJDIR "$lt_cv_objdir/"
8161 _ACEOF
8166 case $host_os in
8167 aix3*)
8168 # AIX sometimes has problems with the GCC collect2 program. For some
8169 # reason, if we set the COLLECT_NAMES environment variable, the problems
8170 # vanish in a puff of smoke.
8171 if test "X${COLLECT_NAMES+set}" != Xset; then
8172 COLLECT_NAMES=
8173 export COLLECT_NAMES
8176 esac
8178 # Global variables:
8179 ofile=libtool
8180 can_build_shared=yes
8182 # All known linkers require a `.a' archive for static linking (except MSVC,
8183 # which needs '.lib').
8184 libext=a
8186 with_gnu_ld="$lt_cv_prog_gnu_ld"
8188 old_CC="$CC"
8189 old_CFLAGS="$CFLAGS"
8191 # Set sane defaults for various variables
8192 test -z "$CC" && CC=cc
8193 test -z "$LTCC" && LTCC=$CC
8194 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8195 test -z "$LD" && LD=ld
8196 test -z "$ac_objext" && ac_objext=o
8198 for cc_temp in $compiler""; do
8199 case $cc_temp in
8200 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8201 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8202 \-*) ;;
8203 *) break;;
8204 esac
8205 done
8206 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8209 # Only perform the check for file, if the check method requires it
8210 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8211 case $deplibs_check_method in
8212 file_magic*)
8213 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8215 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8216 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8217 $as_echo_n "(cached) " >&6
8218 else
8219 case $MAGIC_CMD in
8220 [\\/*] | ?:[\\/]*)
8221 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8224 lt_save_MAGIC_CMD="$MAGIC_CMD"
8225 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8226 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8227 for ac_dir in $ac_dummy; do
8228 IFS="$lt_save_ifs"
8229 test -z "$ac_dir" && ac_dir=.
8230 if test -f $ac_dir/${ac_tool_prefix}file; then
8231 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8232 if test -n "$file_magic_test_file"; then
8233 case $deplibs_check_method in
8234 "file_magic "*)
8235 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8236 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8237 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8238 $EGREP "$file_magic_regex" > /dev/null; then
8240 else
8241 cat <<_LT_EOF 1>&2
8243 *** Warning: the command libtool uses to detect shared libraries,
8244 *** $file_magic_cmd, produces output that libtool cannot recognize.
8245 *** The result is that libtool may fail to recognize shared libraries
8246 *** as such. This will affect the creation of libtool libraries that
8247 *** depend on shared libraries, but programs linked with such libtool
8248 *** libraries will work regardless of this problem. Nevertheless, you
8249 *** may want to report the problem to your system manager and/or to
8250 *** bug-libtool@gnu.org
8252 _LT_EOF
8253 fi ;;
8254 esac
8256 break
8258 done
8259 IFS="$lt_save_ifs"
8260 MAGIC_CMD="$lt_save_MAGIC_CMD"
8262 esac
8265 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8266 if test -n "$MAGIC_CMD"; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8268 $as_echo "$MAGIC_CMD" >&6; }
8269 else
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271 $as_echo "no" >&6; }
8278 if test -z "$lt_cv_path_MAGIC_CMD"; then
8279 if test -n "$ac_tool_prefix"; then
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8281 $as_echo_n "checking for file... " >&6; }
8282 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8283 $as_echo_n "(cached) " >&6
8284 else
8285 case $MAGIC_CMD in
8286 [\\/*] | ?:[\\/]*)
8287 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8290 lt_save_MAGIC_CMD="$MAGIC_CMD"
8291 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8292 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8293 for ac_dir in $ac_dummy; do
8294 IFS="$lt_save_ifs"
8295 test -z "$ac_dir" && ac_dir=.
8296 if test -f $ac_dir/file; then
8297 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8298 if test -n "$file_magic_test_file"; then
8299 case $deplibs_check_method in
8300 "file_magic "*)
8301 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8302 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8303 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8304 $EGREP "$file_magic_regex" > /dev/null; then
8306 else
8307 cat <<_LT_EOF 1>&2
8309 *** Warning: the command libtool uses to detect shared libraries,
8310 *** $file_magic_cmd, produces output that libtool cannot recognize.
8311 *** The result is that libtool may fail to recognize shared libraries
8312 *** as such. This will affect the creation of libtool libraries that
8313 *** depend on shared libraries, but programs linked with such libtool
8314 *** libraries will work regardless of this problem. Nevertheless, you
8315 *** may want to report the problem to your system manager and/or to
8316 *** bug-libtool@gnu.org
8318 _LT_EOF
8319 fi ;;
8320 esac
8322 break
8324 done
8325 IFS="$lt_save_ifs"
8326 MAGIC_CMD="$lt_save_MAGIC_CMD"
8328 esac
8331 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8332 if test -n "$MAGIC_CMD"; then
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8334 $as_echo "$MAGIC_CMD" >&6; }
8335 else
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8337 $as_echo "no" >&6; }
8341 else
8342 MAGIC_CMD=:
8348 esac
8350 # Use C for the default configuration in the libtool script
8352 lt_save_CC="$CC"
8353 ac_ext=c
8354 ac_cpp='$CPP $CPPFLAGS'
8355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8360 # Source file extension for C test sources.
8361 ac_ext=c
8363 # Object file extension for compiled C test sources.
8364 objext=o
8365 objext=$objext
8367 # Code to be used in simple compile tests
8368 lt_simple_compile_test_code="int some_variable = 0;"
8370 # Code to be used in simple link tests
8371 lt_simple_link_test_code='int main(){return(0);}'
8379 # If no C compiler was specified, use CC.
8380 LTCC=${LTCC-"$CC"}
8382 # If no C compiler flags were specified, use CFLAGS.
8383 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8385 # Allow CC to be a program name with arguments.
8386 compiler=$CC
8388 # Save the default compiler, since it gets overwritten when the other
8389 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8390 compiler_DEFAULT=$CC
8392 # save warnings/boilerplate of simple test code
8393 ac_outfile=conftest.$ac_objext
8394 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8395 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8396 _lt_compiler_boilerplate=`cat conftest.err`
8397 $RM conftest*
8399 ac_outfile=conftest.$ac_objext
8400 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8401 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8402 _lt_linker_boilerplate=`cat conftest.err`
8403 $RM -r conftest*
8406 ## CAVEAT EMPTOR:
8407 ## There is no encapsulation within the following macros, do not change
8408 ## the running order or otherwise move them around unless you know exactly
8409 ## what you are doing...
8410 if test -n "$compiler"; then
8412 lt_prog_compiler_no_builtin_flag=
8414 if test "$GCC" = yes; then
8415 case $cc_basename in
8416 nvcc*)
8417 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8419 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8420 esac
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8423 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8424 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 lt_cv_prog_compiler_rtti_exceptions=no
8428 ac_outfile=conftest.$ac_objext
8429 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8430 lt_compiler_flag="-fno-rtti -fno-exceptions"
8431 # Insert the option either (1) after the last *FLAGS variable, or
8432 # (2) before a word containing "conftest.", or (3) at the end.
8433 # Note that $ac_compile itself does not contain backslashes and begins
8434 # with a dollar sign (not a hyphen), so the echo should work correctly.
8435 # The option is referenced via a variable to avoid confusing sed.
8436 lt_compile=`echo "$ac_compile" | $SED \
8437 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8438 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8439 -e 's:$: $lt_compiler_flag:'`
8440 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8441 (eval "$lt_compile" 2>conftest.err)
8442 ac_status=$?
8443 cat conftest.err >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 if (exit $ac_status) && test -s "$ac_outfile"; then
8446 # The compiler can only warn and ignore the option if not recognized
8447 # So say no if there are warnings other than the usual output.
8448 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8449 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8450 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8451 lt_cv_prog_compiler_rtti_exceptions=yes
8454 $RM conftest*
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8458 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8460 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8461 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8462 else
8473 lt_prog_compiler_wl=
8474 lt_prog_compiler_pic=
8475 lt_prog_compiler_static=
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8478 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8480 if test "$GCC" = yes; then
8481 lt_prog_compiler_wl='-Wl,'
8482 lt_prog_compiler_static='-static'
8484 case $host_os in
8485 aix*)
8486 # All AIX code is PIC.
8487 if test "$host_cpu" = ia64; then
8488 # AIX 5 now supports IA64 processor
8489 lt_prog_compiler_static='-Bstatic'
8493 amigaos*)
8494 case $host_cpu in
8495 powerpc)
8496 # see comment about AmigaOS4 .so support
8497 lt_prog_compiler_pic='-fPIC'
8499 m68k)
8500 # FIXME: we need at least 68020 code to build shared libraries, but
8501 # adding the `-m68020' flag to GCC prevents building anything better,
8502 # like `-m68040'.
8503 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8505 esac
8508 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8509 # PIC is the default for these OSes.
8512 mingw* | cygwin* | pw32* | os2* | cegcc*)
8513 # This hack is so that the source file can tell whether it is being
8514 # built for inclusion in a dll (and should export symbols for example).
8515 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8516 # (--disable-auto-import) libraries
8517 lt_prog_compiler_pic='-DDLL_EXPORT'
8520 darwin* | rhapsody*)
8521 # PIC is the default on this platform
8522 # Common symbols not allowed in MH_DYLIB files
8523 lt_prog_compiler_pic='-fno-common'
8526 haiku*)
8527 # PIC is the default for Haiku.
8528 # The "-static" flag exists, but is broken.
8529 lt_prog_compiler_static=
8532 hpux*)
8533 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8534 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8535 # sets the default TLS model and affects inlining.
8536 case $host_cpu in
8537 hppa*64*)
8538 # +Z the default
8541 lt_prog_compiler_pic='-fPIC'
8543 esac
8546 interix[3-9]*)
8547 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8548 # Instead, we relocate shared libraries at runtime.
8551 msdosdjgpp*)
8552 # Just because we use GCC doesn't mean we suddenly get shared libraries
8553 # on systems that don't support them.
8554 lt_prog_compiler_can_build_shared=no
8555 enable_shared=no
8558 *nto* | *qnx*)
8559 # QNX uses GNU C++, but need to define -shared option too, otherwise
8560 # it will coredump.
8561 lt_prog_compiler_pic='-fPIC -shared'
8564 sysv4*MP*)
8565 if test -d /usr/nec; then
8566 lt_prog_compiler_pic=-Kconform_pic
8571 lt_prog_compiler_pic='-fPIC'
8573 esac
8575 case $cc_basename in
8576 nvcc*) # Cuda Compiler Driver 2.2
8577 lt_prog_compiler_wl='-Xlinker '
8578 lt_prog_compiler_pic='-Xcompiler -fPIC'
8580 esac
8581 else
8582 # PORTME Check for flag to pass linker flags through the system compiler.
8583 case $host_os in
8584 aix*)
8585 lt_prog_compiler_wl='-Wl,'
8586 if test "$host_cpu" = ia64; then
8587 # AIX 5 now supports IA64 processor
8588 lt_prog_compiler_static='-Bstatic'
8589 else
8590 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8594 mingw* | cygwin* | pw32* | os2* | cegcc*)
8595 # This hack is so that the source file can tell whether it is being
8596 # built for inclusion in a dll (and should export symbols for example).
8597 lt_prog_compiler_pic='-DDLL_EXPORT'
8600 hpux9* | hpux10* | hpux11*)
8601 lt_prog_compiler_wl='-Wl,'
8602 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8603 # not for PA HP-UX.
8604 case $host_cpu in
8605 hppa*64*|ia64*)
8606 # +Z the default
8609 lt_prog_compiler_pic='+Z'
8611 esac
8612 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8613 lt_prog_compiler_static='${wl}-a ${wl}archive'
8616 irix5* | irix6* | nonstopux*)
8617 lt_prog_compiler_wl='-Wl,'
8618 # PIC (with -KPIC) is the default.
8619 lt_prog_compiler_static='-non_shared'
8622 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8623 case $cc_basename in
8624 # old Intel for x86_64 which still supported -KPIC.
8625 ecc*)
8626 lt_prog_compiler_wl='-Wl,'
8627 lt_prog_compiler_pic='-KPIC'
8628 lt_prog_compiler_static='-static'
8630 # icc used to be incompatible with GCC.
8631 # ICC 10 doesn't accept -KPIC any more.
8632 icc* | ifort*)
8633 lt_prog_compiler_wl='-Wl,'
8634 lt_prog_compiler_pic='-fPIC'
8635 lt_prog_compiler_static='-static'
8637 # Lahey Fortran 8.1.
8638 lf95*)
8639 lt_prog_compiler_wl='-Wl,'
8640 lt_prog_compiler_pic='--shared'
8641 lt_prog_compiler_static='--static'
8643 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8644 # Portland Group compilers (*not* the Pentium gcc compiler,
8645 # which looks to be a dead project)
8646 lt_prog_compiler_wl='-Wl,'
8647 lt_prog_compiler_pic='-fpic'
8648 lt_prog_compiler_static='-Bstatic'
8650 ccc*)
8651 lt_prog_compiler_wl='-Wl,'
8652 # All Alpha code is PIC.
8653 lt_prog_compiler_static='-non_shared'
8655 xl* | bgxl* | bgf* | mpixl*)
8656 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8657 lt_prog_compiler_wl='-Wl,'
8658 lt_prog_compiler_pic='-qpic'
8659 lt_prog_compiler_static='-qstaticlink'
8662 case `$CC -V 2>&1 | sed 5q` in
8663 *Sun\ F* | *Sun*Fortran*)
8664 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8665 lt_prog_compiler_pic='-KPIC'
8666 lt_prog_compiler_static='-Bstatic'
8667 lt_prog_compiler_wl=''
8669 *Sun\ C*)
8670 # Sun C 5.9
8671 lt_prog_compiler_pic='-KPIC'
8672 lt_prog_compiler_static='-Bstatic'
8673 lt_prog_compiler_wl='-Wl,'
8675 esac
8677 esac
8680 newsos6)
8681 lt_prog_compiler_pic='-KPIC'
8682 lt_prog_compiler_static='-Bstatic'
8685 *nto* | *qnx*)
8686 # QNX uses GNU C++, but need to define -shared option too, otherwise
8687 # it will coredump.
8688 lt_prog_compiler_pic='-fPIC -shared'
8691 osf3* | osf4* | osf5*)
8692 lt_prog_compiler_wl='-Wl,'
8693 # All OSF/1 code is PIC.
8694 lt_prog_compiler_static='-non_shared'
8697 rdos*)
8698 lt_prog_compiler_static='-non_shared'
8701 solaris*)
8702 lt_prog_compiler_pic='-KPIC'
8703 lt_prog_compiler_static='-Bstatic'
8704 case $cc_basename in
8705 f77* | f90* | f95*)
8706 lt_prog_compiler_wl='-Qoption ld ';;
8708 lt_prog_compiler_wl='-Wl,';;
8709 esac
8712 sunos4*)
8713 lt_prog_compiler_wl='-Qoption ld '
8714 lt_prog_compiler_pic='-PIC'
8715 lt_prog_compiler_static='-Bstatic'
8718 sysv4 | sysv4.2uw2* | sysv4.3*)
8719 lt_prog_compiler_wl='-Wl,'
8720 lt_prog_compiler_pic='-KPIC'
8721 lt_prog_compiler_static='-Bstatic'
8724 sysv4*MP*)
8725 if test -d /usr/nec ;then
8726 lt_prog_compiler_pic='-Kconform_pic'
8727 lt_prog_compiler_static='-Bstatic'
8731 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8732 lt_prog_compiler_wl='-Wl,'
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8737 unicos*)
8738 lt_prog_compiler_wl='-Wl,'
8739 lt_prog_compiler_can_build_shared=no
8742 uts4*)
8743 lt_prog_compiler_pic='-pic'
8744 lt_prog_compiler_static='-Bstatic'
8748 lt_prog_compiler_can_build_shared=no
8750 esac
8753 case $host_os in
8754 # For platforms which do not support PIC, -DPIC is meaningless:
8755 *djgpp*)
8756 lt_prog_compiler_pic=
8759 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8761 esac
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8763 $as_echo "$lt_prog_compiler_pic" >&6; }
8771 # Check to make sure the PIC flag actually works.
8773 if test -n "$lt_prog_compiler_pic"; then
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8775 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8776 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 lt_cv_prog_compiler_pic_works=no
8780 ac_outfile=conftest.$ac_objext
8781 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8782 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8783 # Insert the option either (1) after the last *FLAGS variable, or
8784 # (2) before a word containing "conftest.", or (3) at the end.
8785 # Note that $ac_compile itself does not contain backslashes and begins
8786 # with a dollar sign (not a hyphen), so the echo should work correctly.
8787 # The option is referenced via a variable to avoid confusing sed.
8788 lt_compile=`echo "$ac_compile" | $SED \
8789 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8791 -e 's:$: $lt_compiler_flag:'`
8792 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8793 (eval "$lt_compile" 2>conftest.err)
8794 ac_status=$?
8795 cat conftest.err >&5
8796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 if (exit $ac_status) && test -s "$ac_outfile"; then
8798 # The compiler can only warn and ignore the option if not recognized
8799 # So say no if there are warnings other than the usual output.
8800 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8801 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8802 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8803 lt_cv_prog_compiler_pic_works=yes
8806 $RM conftest*
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8810 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8812 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8813 case $lt_prog_compiler_pic in
8814 "" | " "*) ;;
8815 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8816 esac
8817 else
8818 lt_prog_compiler_pic=
8819 lt_prog_compiler_can_build_shared=no
8830 # Check to make sure the static flag actually works.
8832 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8834 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8835 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8836 $as_echo_n "(cached) " >&6
8837 else
8838 lt_cv_prog_compiler_static_works=no
8839 save_LDFLAGS="$LDFLAGS"
8840 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8841 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8842 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8843 # The linker can only warn and ignore the option if not recognized
8844 # So say no if there are warnings
8845 if test -s conftest.err; then
8846 # Append any errors to the config.log.
8847 cat conftest.err 1>&5
8848 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8849 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8850 if diff conftest.exp conftest.er2 >/dev/null; then
8851 lt_cv_prog_compiler_static_works=yes
8853 else
8854 lt_cv_prog_compiler_static_works=yes
8857 $RM -r conftest*
8858 LDFLAGS="$save_LDFLAGS"
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8864 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8866 else
8867 lt_prog_compiler_static=
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8877 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8878 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8879 $as_echo_n "(cached) " >&6
8880 else
8881 lt_cv_prog_compiler_c_o=no
8882 $RM -r conftest 2>/dev/null
8883 mkdir conftest
8884 cd conftest
8885 mkdir out
8886 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8888 lt_compiler_flag="-o out/conftest2.$ac_objext"
8889 # Insert the option either (1) after the last *FLAGS variable, or
8890 # (2) before a word containing "conftest.", or (3) at the end.
8891 # Note that $ac_compile itself does not contain backslashes and begins
8892 # with a dollar sign (not a hyphen), so the echo should work correctly.
8893 lt_compile=`echo "$ac_compile" | $SED \
8894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8896 -e 's:$: $lt_compiler_flag:'`
8897 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8898 (eval "$lt_compile" 2>out/conftest.err)
8899 ac_status=$?
8900 cat out/conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8903 then
8904 # The compiler can only warn and ignore the option if not recognized
8905 # So say no if there are warnings
8906 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8907 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8908 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8909 lt_cv_prog_compiler_c_o=yes
8912 chmod u+w . 2>&5
8913 $RM conftest*
8914 # SGI C++ compiler will create directory out/ii_files/ for
8915 # template instantiation
8916 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8917 $RM out/* && rmdir out
8918 cd ..
8919 $RM -r conftest
8920 $RM conftest*
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8924 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8932 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8933 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8934 $as_echo_n "(cached) " >&6
8935 else
8936 lt_cv_prog_compiler_c_o=no
8937 $RM -r conftest 2>/dev/null
8938 mkdir conftest
8939 cd conftest
8940 mkdir out
8941 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8943 lt_compiler_flag="-o out/conftest2.$ac_objext"
8944 # Insert the option either (1) after the last *FLAGS variable, or
8945 # (2) before a word containing "conftest.", or (3) at the end.
8946 # Note that $ac_compile itself does not contain backslashes and begins
8947 # with a dollar sign (not a hyphen), so the echo should work correctly.
8948 lt_compile=`echo "$ac_compile" | $SED \
8949 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8950 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8951 -e 's:$: $lt_compiler_flag:'`
8952 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8953 (eval "$lt_compile" 2>out/conftest.err)
8954 ac_status=$?
8955 cat out/conftest.err >&5
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8958 then
8959 # The compiler can only warn and ignore the option if not recognized
8960 # So say no if there are warnings
8961 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8962 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8963 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8964 lt_cv_prog_compiler_c_o=yes
8967 chmod u+w . 2>&5
8968 $RM conftest*
8969 # SGI C++ compiler will create directory out/ii_files/ for
8970 # template instantiation
8971 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8972 $RM out/* && rmdir out
8973 cd ..
8974 $RM -r conftest
8975 $RM conftest*
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8979 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8984 hard_links="nottested"
8985 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8986 # do not overwrite the value of need_locks provided by the user
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8988 $as_echo_n "checking if we can lock with hard links... " >&6; }
8989 hard_links=yes
8990 $RM conftest*
8991 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8992 touch conftest.a
8993 ln conftest.a conftest.b 2>&5 || hard_links=no
8994 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8996 $as_echo "$hard_links" >&6; }
8997 if test "$hard_links" = no; then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8999 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9000 need_locks=warn
9002 else
9003 need_locks=no
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9012 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9014 runpath_var=
9015 allow_undefined_flag=
9016 always_export_symbols=no
9017 archive_cmds=
9018 archive_expsym_cmds=
9019 compiler_needs_object=no
9020 enable_shared_with_static_runtimes=no
9021 export_dynamic_flag_spec=
9022 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9023 hardcode_automatic=no
9024 hardcode_direct=no
9025 hardcode_direct_absolute=no
9026 hardcode_libdir_flag_spec=
9027 hardcode_libdir_flag_spec_ld=
9028 hardcode_libdir_separator=
9029 hardcode_minus_L=no
9030 hardcode_shlibpath_var=unsupported
9031 inherit_rpath=no
9032 link_all_deplibs=unknown
9033 module_cmds=
9034 module_expsym_cmds=
9035 old_archive_from_new_cmds=
9036 old_archive_from_expsyms_cmds=
9037 thread_safe_flag_spec=
9038 whole_archive_flag_spec=
9039 # include_expsyms should be a list of space-separated symbols to be *always*
9040 # included in the symbol list
9041 include_expsyms=
9042 # exclude_expsyms can be an extended regexp of symbols to exclude
9043 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9044 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9045 # as well as any symbol that contains `d'.
9046 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9047 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9048 # platforms (ab)use it in PIC code, but their linkers get confused if
9049 # the symbol is explicitly referenced. Since portable code cannot
9050 # rely on this symbol name, it's probably fine to never include it in
9051 # preloaded symbol tables.
9052 # Exclude shared library initialization/finalization symbols.
9053 extract_expsyms_cmds=
9055 case $host_os in
9056 cygwin* | mingw* | pw32* | cegcc*)
9057 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9058 # When not using gcc, we currently assume that we are using
9059 # Microsoft Visual C++.
9060 if test "$GCC" != yes; then
9061 with_gnu_ld=no
9064 interix*)
9065 # we just hope/assume this is gcc and not c89 (= MSVC++)
9066 with_gnu_ld=yes
9068 openbsd*)
9069 with_gnu_ld=no
9071 esac
9073 ld_shlibs=yes
9075 # On some targets, GNU ld is compatible enough with the native linker
9076 # that we're better off using the native interface for both.
9077 lt_use_gnu_ld_interface=no
9078 if test "$with_gnu_ld" = yes; then
9079 case $host_os in
9080 aix*)
9081 # The AIX port of GNU ld has always aspired to compatibility
9082 # with the native linker. However, as the warning in the GNU ld
9083 # block says, versions before 2.19.5* couldn't really create working
9084 # shared libraries, regardless of the interface used.
9085 case `$LD -v 2>&1` in
9086 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9087 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9088 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9090 lt_use_gnu_ld_interface=yes
9092 esac
9095 lt_use_gnu_ld_interface=yes
9097 esac
9100 if test "$lt_use_gnu_ld_interface" = yes; then
9101 # If archive_cmds runs LD, not CC, wlarc should be empty
9102 wlarc='${wl}'
9104 # Set some defaults for GNU ld with shared library support. These
9105 # are reset later if shared libraries are not supported. Putting them
9106 # here allows them to be overridden if necessary.
9107 runpath_var=LD_RUN_PATH
9108 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9109 export_dynamic_flag_spec='${wl}--export-dynamic'
9110 # ancient GNU ld didn't support --whole-archive et. al.
9111 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9112 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9113 else
9114 whole_archive_flag_spec=
9116 supports_anon_versioning=no
9117 case `$LD -v 2>&1` in
9118 *GNU\ gold*) supports_anon_versioning=yes ;;
9119 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9120 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9121 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9122 *\ 2.11.*) ;; # other 2.11 versions
9123 *) supports_anon_versioning=yes ;;
9124 esac
9126 # See if GNU ld supports shared libraries.
9127 case $host_os in
9128 aix[3-9]*)
9129 # On AIX/PPC, the GNU linker is very broken
9130 if test "$host_cpu" != ia64; then
9131 ld_shlibs=no
9132 cat <<_LT_EOF 1>&2
9134 *** Warning: the GNU linker, at least up to release 2.19, is reported
9135 *** to be unable to reliably create shared libraries on AIX.
9136 *** Therefore, libtool is disabling shared libraries support. If you
9137 *** really care for shared libraries, you may want to install binutils
9138 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9139 *** You will then need to restart the configuration process.
9141 _LT_EOF
9145 amigaos*)
9146 case $host_cpu in
9147 powerpc)
9148 # see comment about AmigaOS4 .so support
9149 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9150 archive_expsym_cmds=''
9152 m68k)
9153 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)'
9154 hardcode_libdir_flag_spec='-L$libdir'
9155 hardcode_minus_L=yes
9157 esac
9160 beos*)
9161 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9162 allow_undefined_flag=unsupported
9163 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9164 # support --undefined. This deserves some investigation. FIXME
9165 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9166 else
9167 ld_shlibs=no
9171 cygwin* | mingw* | pw32* | cegcc*)
9172 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9173 # as there is no search path for DLLs.
9174 hardcode_libdir_flag_spec='-L$libdir'
9175 export_dynamic_flag_spec='${wl}--export-all-symbols'
9176 allow_undefined_flag=unsupported
9177 always_export_symbols=no
9178 enable_shared_with_static_runtimes=yes
9179 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9181 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9182 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9183 # If the export-symbols file already is a .def file (1st line
9184 # is EXPORTS), use it as is; otherwise, prepend...
9185 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9186 cp $export_symbols $output_objdir/$soname.def;
9187 else
9188 echo EXPORTS > $output_objdir/$soname.def;
9189 cat $export_symbols >> $output_objdir/$soname.def;
9191 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9192 else
9193 ld_shlibs=no
9197 haiku*)
9198 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9199 link_all_deplibs=yes
9202 interix[3-9]*)
9203 hardcode_direct=no
9204 hardcode_shlibpath_var=no
9205 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9206 export_dynamic_flag_spec='${wl}-E'
9207 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9208 # Instead, shared libraries are loaded at an image base (0x10000000 by
9209 # default) and relocated if they conflict, which is a slow very memory
9210 # consuming and fragmenting process. To avoid this, we pick a random,
9211 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9212 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9213 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9214 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'
9217 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9218 tmp_diet=no
9219 if test "$host_os" = linux-dietlibc; then
9220 case $cc_basename in
9221 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9222 esac
9224 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9225 && test "$tmp_diet" = no
9226 then
9227 tmp_addflag=
9228 tmp_sharedflag='-shared'
9229 case $cc_basename,$host_cpu in
9230 pgcc*) # Portland Group C compiler
9231 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'
9232 tmp_addflag=' $pic_flag'
9234 pgf77* | pgf90* | pgf95* | pgfortran*)
9235 # Portland Group f77 and f90 compilers
9236 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'
9237 tmp_addflag=' $pic_flag -Mnomain' ;;
9238 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9239 tmp_addflag=' -i_dynamic' ;;
9240 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9241 tmp_addflag=' -i_dynamic -nofor_main' ;;
9242 ifc* | ifort*) # Intel Fortran compiler
9243 tmp_addflag=' -nofor_main' ;;
9244 lf95*) # Lahey Fortran 8.1
9245 whole_archive_flag_spec=
9246 tmp_sharedflag='--shared' ;;
9247 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9248 tmp_sharedflag='-qmkshrobj'
9249 tmp_addflag= ;;
9250 nvcc*) # Cuda Compiler Driver 2.2
9251 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'
9252 compiler_needs_object=yes
9254 esac
9255 case `$CC -V 2>&1 | sed 5q` in
9256 *Sun\ C*) # Sun C 5.9
9257 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'
9258 compiler_needs_object=yes
9259 tmp_sharedflag='-G' ;;
9260 *Sun\ F*) # Sun Fortran 8.3
9261 tmp_sharedflag='-G' ;;
9262 esac
9263 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9265 if test "x$supports_anon_versioning" = xyes; then
9266 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9267 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9268 echo "local: *; };" >> $output_objdir/$libname.ver~
9269 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9272 case $cc_basename in
9273 xlf* | bgf* | bgxlf* | mpixlf*)
9274 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9275 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9276 hardcode_libdir_flag_spec=
9277 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9278 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9279 if test "x$supports_anon_versioning" = xyes; then
9280 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9281 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9282 echo "local: *; };" >> $output_objdir/$libname.ver~
9283 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9286 esac
9287 else
9288 ld_shlibs=no
9292 netbsd*)
9293 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9294 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9295 wlarc=
9296 else
9297 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9298 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9302 solaris*)
9303 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9304 ld_shlibs=no
9305 cat <<_LT_EOF 1>&2
9307 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9308 *** create shared libraries on Solaris systems. Therefore, libtool
9309 *** is disabling shared libraries support. We urge you to upgrade GNU
9310 *** binutils to release 2.9.1 or newer. Another option is to modify
9311 *** your PATH or compiler configuration so that the native linker is
9312 *** used, and then restart.
9314 _LT_EOF
9315 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9316 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9317 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9318 else
9319 ld_shlibs=no
9323 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9324 case `$LD -v 2>&1` in
9325 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9326 ld_shlibs=no
9327 cat <<_LT_EOF 1>&2
9329 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9330 *** reliably create shared libraries on SCO systems. Therefore, libtool
9331 *** is disabling shared libraries support. We urge you to upgrade GNU
9332 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9333 *** your PATH or compiler configuration so that the native linker is
9334 *** used, and then restart.
9336 _LT_EOF
9339 # For security reasons, it is highly recommended that you always
9340 # use absolute paths for naming shared libraries, and exclude the
9341 # DT_RUNPATH tag from executables and libraries. But doing so
9342 # requires that you compile everything twice, which is a pain.
9343 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9344 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9345 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9347 else
9348 ld_shlibs=no
9351 esac
9354 sunos4*)
9355 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9356 wlarc=
9357 hardcode_direct=yes
9358 hardcode_shlibpath_var=no
9362 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9363 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9364 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9365 else
9366 ld_shlibs=no
9369 esac
9371 if test "$ld_shlibs" = no; then
9372 runpath_var=
9373 hardcode_libdir_flag_spec=
9374 export_dynamic_flag_spec=
9375 whole_archive_flag_spec=
9377 else
9378 # PORTME fill in a description of your system's linker (not GNU ld)
9379 case $host_os in
9380 aix3*)
9381 allow_undefined_flag=unsupported
9382 always_export_symbols=yes
9383 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'
9384 # Note: this linker hardcodes the directories in LIBPATH if there
9385 # are no directories specified by -L.
9386 hardcode_minus_L=yes
9387 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9388 # Neither direct hardcoding nor static linking is supported with a
9389 # broken collect2.
9390 hardcode_direct=unsupported
9394 aix[4-9]*)
9395 if test "$host_cpu" = ia64; then
9396 # On IA64, the linker does run time linking by default, so we don't
9397 # have to do anything special.
9398 aix_use_runtimelinking=no
9399 exp_sym_flag='-Bexport'
9400 no_entry_flag=""
9401 else
9402 # If we're using GNU nm, then we don't want the "-C" option.
9403 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9404 # Also, AIX nm treats weak defined symbols like other global
9405 # defined symbols, whereas GNU nm marks them as "W".
9406 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9407 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'
9408 else
9409 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'
9411 aix_use_runtimelinking=no
9413 # Test if we are trying to use run time linking or normal
9414 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9415 # need to do runtime linking.
9416 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9417 for ld_flag in $LDFLAGS; do
9418 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9419 aix_use_runtimelinking=yes
9420 break
9422 done
9424 esac
9426 exp_sym_flag='-bexport'
9427 no_entry_flag='-bnoentry'
9430 # When large executables or shared objects are built, AIX ld can
9431 # have problems creating the table of contents. If linking a library
9432 # or program results in "error TOC overflow" add -mminimal-toc to
9433 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9434 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9436 archive_cmds=''
9437 hardcode_direct=yes
9438 hardcode_direct_absolute=yes
9439 hardcode_libdir_separator=':'
9440 link_all_deplibs=yes
9441 file_list_spec='${wl}-f,'
9443 if test "$GCC" = yes; then
9444 case $host_os in aix4.[012]|aix4.[012].*)
9445 # We only want to do this on AIX 4.2 and lower, the check
9446 # below for broken collect2 doesn't work under 4.3+
9447 collect2name=`${CC} -print-prog-name=collect2`
9448 if test -f "$collect2name" &&
9449 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9450 then
9451 # We have reworked collect2
9453 else
9454 # We have old collect2
9455 hardcode_direct=unsupported
9456 # It fails to find uninstalled libraries when the uninstalled
9457 # path is not listed in the libpath. Setting hardcode_minus_L
9458 # to unsupported forces relinking
9459 hardcode_minus_L=yes
9460 hardcode_libdir_flag_spec='-L$libdir'
9461 hardcode_libdir_separator=
9464 esac
9465 shared_flag='-shared'
9466 if test "$aix_use_runtimelinking" = yes; then
9467 shared_flag="$shared_flag "'${wl}-G'
9469 else
9470 # not using gcc
9471 if test "$host_cpu" = ia64; then
9472 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9473 # chokes on -Wl,-G. The following line is correct:
9474 shared_flag='-G'
9475 else
9476 if test "$aix_use_runtimelinking" = yes; then
9477 shared_flag='${wl}-G'
9478 else
9479 shared_flag='${wl}-bM:SRE'
9484 export_dynamic_flag_spec='${wl}-bexpall'
9485 # It seems that -bexpall does not export symbols beginning with
9486 # underscore (_), so it is better to generate a list of symbols to export.
9487 always_export_symbols=yes
9488 if test "$aix_use_runtimelinking" = yes; then
9489 # Warning - without using the other runtime loading flags (-brtl),
9490 # -berok will link without error, but may produce a broken library.
9491 allow_undefined_flag='-berok'
9492 # Determine the default libpath from the value encoded in an
9493 # empty executable.
9494 if test x$gcc_no_link = xyes; then
9495 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9501 main ()
9505 return 0;
9507 _ACEOF
9508 if ac_fn_c_try_link "$LINENO"; then :
9510 lt_aix_libpath_sed='
9511 /Import File Strings/,/^$/ {
9512 /^0/ {
9513 s/^0 *\(.*\)$/\1/
9517 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9518 # Check for a 64-bit object if we didn't find anything.
9519 if test -z "$aix_libpath"; then
9520 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9523 rm -f core conftest.err conftest.$ac_objext \
9524 conftest$ac_exeext conftest.$ac_ext
9525 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9527 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9528 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"
9529 else
9530 if test "$host_cpu" = ia64; then
9531 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9532 allow_undefined_flag="-z nodefs"
9533 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"
9534 else
9535 # Determine the default libpath from the value encoded in an
9536 # empty executable.
9537 if test x$gcc_no_link = xyes; then
9538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9544 main ()
9548 return 0;
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9553 lt_aix_libpath_sed='
9554 /Import File Strings/,/^$/ {
9555 /^0/ {
9556 s/^0 *\(.*\)$/\1/
9560 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9561 # Check for a 64-bit object if we didn't find anything.
9562 if test -z "$aix_libpath"; then
9563 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9566 rm -f core conftest.err conftest.$ac_objext \
9567 conftest$ac_exeext conftest.$ac_ext
9568 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9570 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9571 # Warning - without using the other run time loading flags,
9572 # -berok will link without error, but may produce a broken library.
9573 no_undefined_flag=' ${wl}-bernotok'
9574 allow_undefined_flag=' ${wl}-berok'
9575 if test "$with_gnu_ld" = yes; then
9576 # We only use this code for GNU lds that support --whole-archive.
9577 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9578 else
9579 # Exported symbols can be pulled into shared objects from archives
9580 whole_archive_flag_spec='$convenience'
9582 archive_cmds_need_lc=yes
9583 # This is similar to how AIX traditionally builds its shared libraries.
9584 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'
9589 amigaos*)
9590 case $host_cpu in
9591 powerpc)
9592 # see comment about AmigaOS4 .so support
9593 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9594 archive_expsym_cmds=''
9596 m68k)
9597 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)'
9598 hardcode_libdir_flag_spec='-L$libdir'
9599 hardcode_minus_L=yes
9601 esac
9604 bsdi[45]*)
9605 export_dynamic_flag_spec=-rdynamic
9608 cygwin* | mingw* | pw32* | cegcc*)
9609 # When not using gcc, we currently assume that we are using
9610 # Microsoft Visual C++.
9611 # hardcode_libdir_flag_spec is actually meaningless, as there is
9612 # no search path for DLLs.
9613 hardcode_libdir_flag_spec=' '
9614 allow_undefined_flag=unsupported
9615 # Tell ltmain to make .lib files, not .a files.
9616 libext=lib
9617 # Tell ltmain to make .dll files, not .so files.
9618 shrext_cmds=".dll"
9619 # FIXME: Setting linknames here is a bad hack.
9620 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9621 # The linker will automatically build a .lib file if we build a DLL.
9622 old_archive_from_new_cmds='true'
9623 # FIXME: Should let the user specify the lib program.
9624 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9625 fix_srcfile_path='`cygpath -w "$srcfile"`'
9626 enable_shared_with_static_runtimes=yes
9629 darwin* | rhapsody*)
9632 archive_cmds_need_lc=no
9633 hardcode_direct=no
9634 hardcode_automatic=yes
9635 hardcode_shlibpath_var=unsupported
9636 if test "$lt_cv_ld_force_load" = "yes"; then
9637 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\"`'
9638 else
9639 whole_archive_flag_spec=''
9641 link_all_deplibs=yes
9642 allow_undefined_flag="$_lt_dar_allow_undefined"
9643 case $cc_basename in
9644 ifort*) _lt_dar_can_shared=yes ;;
9645 *) _lt_dar_can_shared=$GCC ;;
9646 esac
9647 if test "$_lt_dar_can_shared" = "yes"; then
9648 output_verbose_link_cmd=func_echo_all
9649 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9650 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9651 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}"
9652 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}"
9654 else
9655 ld_shlibs=no
9660 dgux*)
9661 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9662 hardcode_libdir_flag_spec='-L$libdir'
9663 hardcode_shlibpath_var=no
9666 freebsd1*)
9667 ld_shlibs=no
9670 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9671 # support. Future versions do this automatically, but an explicit c++rt0.o
9672 # does not break anything, and helps significantly (at the cost of a little
9673 # extra space).
9674 freebsd2.2*)
9675 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9676 hardcode_libdir_flag_spec='-R$libdir'
9677 hardcode_direct=yes
9678 hardcode_shlibpath_var=no
9681 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9682 freebsd2*)
9683 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9684 hardcode_direct=yes
9685 hardcode_minus_L=yes
9686 hardcode_shlibpath_var=no
9689 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9690 freebsd* | dragonfly*)
9691 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9692 hardcode_libdir_flag_spec='-R$libdir'
9693 hardcode_direct=yes
9694 hardcode_shlibpath_var=no
9697 hpux9*)
9698 if test "$GCC" = yes; then
9699 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'
9700 else
9701 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'
9703 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9704 hardcode_libdir_separator=:
9705 hardcode_direct=yes
9707 # hardcode_minus_L: Not really in the search PATH,
9708 # but as the default location of the library.
9709 hardcode_minus_L=yes
9710 export_dynamic_flag_spec='${wl}-E'
9713 hpux10*)
9714 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9715 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9716 else
9717 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9719 if test "$with_gnu_ld" = no; then
9720 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9721 hardcode_libdir_flag_spec_ld='+b $libdir'
9722 hardcode_libdir_separator=:
9723 hardcode_direct=yes
9724 hardcode_direct_absolute=yes
9725 export_dynamic_flag_spec='${wl}-E'
9726 # hardcode_minus_L: Not really in the search PATH,
9727 # but as the default location of the library.
9728 hardcode_minus_L=yes
9732 hpux11*)
9733 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9734 case $host_cpu in
9735 hppa*64*)
9736 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9738 ia64*)
9739 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9744 esac
9745 else
9746 case $host_cpu in
9747 hppa*64*)
9748 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9750 ia64*)
9751 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9755 # Older versions of the 11.00 compiler do not understand -b yet
9756 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9758 $as_echo_n "checking if $CC understands -b... " >&6; }
9759 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9760 $as_echo_n "(cached) " >&6
9761 else
9762 lt_cv_prog_compiler__b=no
9763 save_LDFLAGS="$LDFLAGS"
9764 LDFLAGS="$LDFLAGS -b"
9765 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9766 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9767 # The linker can only warn and ignore the option if not recognized
9768 # So say no if there are warnings
9769 if test -s conftest.err; then
9770 # Append any errors to the config.log.
9771 cat conftest.err 1>&5
9772 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9773 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9774 if diff conftest.exp conftest.er2 >/dev/null; then
9775 lt_cv_prog_compiler__b=yes
9777 else
9778 lt_cv_prog_compiler__b=yes
9781 $RM -r conftest*
9782 LDFLAGS="$save_LDFLAGS"
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9786 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9788 if test x"$lt_cv_prog_compiler__b" = xyes; then
9789 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9790 else
9791 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9795 esac
9797 if test "$with_gnu_ld" = no; then
9798 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9799 hardcode_libdir_separator=:
9801 case $host_cpu in
9802 hppa*64*|ia64*)
9803 hardcode_direct=no
9804 hardcode_shlibpath_var=no
9807 hardcode_direct=yes
9808 hardcode_direct_absolute=yes
9809 export_dynamic_flag_spec='${wl}-E'
9811 # hardcode_minus_L: Not really in the search PATH,
9812 # but as the default location of the library.
9813 hardcode_minus_L=yes
9815 esac
9819 irix5* | irix6* | nonstopux*)
9820 if test "$GCC" = yes; then
9821 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'
9822 # Try to use the -exported_symbol ld option, if it does not
9823 # work, assume that -exports_file does not work either and
9824 # implicitly export all symbols.
9825 save_LDFLAGS="$LDFLAGS"
9826 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9827 if test x$gcc_no_link = xyes; then
9828 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9832 int foo(void) {}
9833 _ACEOF
9834 if ac_fn_c_try_link "$LINENO"; then :
9835 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'
9838 rm -f core conftest.err conftest.$ac_objext \
9839 conftest$ac_exeext conftest.$ac_ext
9840 LDFLAGS="$save_LDFLAGS"
9841 else
9842 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'
9843 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'
9845 archive_cmds_need_lc='no'
9846 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9847 hardcode_libdir_separator=:
9848 inherit_rpath=yes
9849 link_all_deplibs=yes
9852 netbsd*)
9853 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9854 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9855 else
9856 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9858 hardcode_libdir_flag_spec='-R$libdir'
9859 hardcode_direct=yes
9860 hardcode_shlibpath_var=no
9863 newsos6)
9864 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9865 hardcode_direct=yes
9866 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9867 hardcode_libdir_separator=:
9868 hardcode_shlibpath_var=no
9871 *nto* | *qnx*)
9874 openbsd*)
9875 if test -f /usr/libexec/ld.so; then
9876 hardcode_direct=yes
9877 hardcode_shlibpath_var=no
9878 hardcode_direct_absolute=yes
9879 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9880 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9881 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9882 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9883 export_dynamic_flag_spec='${wl}-E'
9884 else
9885 case $host_os in
9886 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9887 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9888 hardcode_libdir_flag_spec='-R$libdir'
9891 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9892 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9894 esac
9896 else
9897 ld_shlibs=no
9901 os2*)
9902 hardcode_libdir_flag_spec='-L$libdir'
9903 hardcode_minus_L=yes
9904 allow_undefined_flag=unsupported
9905 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'
9906 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9909 osf3*)
9910 if test "$GCC" = yes; then
9911 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9912 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'
9913 else
9914 allow_undefined_flag=' -expect_unresolved \*'
9915 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'
9917 archive_cmds_need_lc='no'
9918 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9919 hardcode_libdir_separator=:
9922 osf4* | osf5*) # as osf3* with the addition of -msym flag
9923 if test "$GCC" = yes; then
9924 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9925 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'
9926 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9927 else
9928 allow_undefined_flag=' -expect_unresolved \*'
9929 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'
9930 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~
9931 $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'
9933 # Both c and cxx compiler support -rpath directly
9934 hardcode_libdir_flag_spec='-rpath $libdir'
9936 archive_cmds_need_lc='no'
9937 hardcode_libdir_separator=:
9940 solaris*)
9941 no_undefined_flag=' -z defs'
9942 if test "$GCC" = yes; then
9943 wlarc='${wl}'
9944 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9945 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9946 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9947 else
9948 case `$CC -V 2>&1` in
9949 *"Compilers 5.0"*)
9950 wlarc=''
9951 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9952 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9953 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9956 wlarc='${wl}'
9957 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9958 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9959 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9961 esac
9963 hardcode_libdir_flag_spec='-R$libdir'
9964 hardcode_shlibpath_var=no
9965 case $host_os in
9966 solaris2.[0-5] | solaris2.[0-5].*) ;;
9968 # The compiler driver will combine and reorder linker options,
9969 # but understands `-z linker_flag'. GCC discards it without `$wl',
9970 # but is careful enough not to reorder.
9971 # Supported since Solaris 2.6 (maybe 2.5.1?)
9972 if test "$GCC" = yes; then
9973 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9974 else
9975 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9978 esac
9979 link_all_deplibs=yes
9982 sunos4*)
9983 if test "x$host_vendor" = xsequent; then
9984 # Use $CC to link under sequent, because it throws in some extra .o
9985 # files that make .init and .fini sections work.
9986 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9987 else
9988 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9990 hardcode_libdir_flag_spec='-L$libdir'
9991 hardcode_direct=yes
9992 hardcode_minus_L=yes
9993 hardcode_shlibpath_var=no
9996 sysv4)
9997 case $host_vendor in
9998 sni)
9999 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 hardcode_direct=yes # is this really true???
10002 siemens)
10003 ## LD is ld it makes a PLAMLIB
10004 ## CC just makes a GrossModule.
10005 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10006 reload_cmds='$CC -r -o $output$reload_objs'
10007 hardcode_direct=no
10009 motorola)
10010 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10011 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10013 esac
10014 runpath_var='LD_RUN_PATH'
10015 hardcode_shlibpath_var=no
10018 sysv4.3*)
10019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_shlibpath_var=no
10021 export_dynamic_flag_spec='-Bexport'
10024 sysv4*MP*)
10025 if test -d /usr/nec; then
10026 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_shlibpath_var=no
10028 runpath_var=LD_RUN_PATH
10029 hardcode_runpath_var=yes
10030 ld_shlibs=yes
10034 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10035 no_undefined_flag='${wl}-z,text'
10036 archive_cmds_need_lc=no
10037 hardcode_shlibpath_var=no
10038 runpath_var='LD_RUN_PATH'
10040 if test "$GCC" = yes; then
10041 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10042 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10043 else
10044 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10045 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10049 sysv5* | sco3.2v5* | sco5v6*)
10050 # Note: We can NOT use -z defs as we might desire, because we do not
10051 # link with -lc, and that would cause any symbols used from libc to
10052 # always be unresolved, which means just about no library would
10053 # ever link correctly. If we're not using GNU ld we use -z text
10054 # though, which does catch some bad symbols but isn't as heavy-handed
10055 # as -z defs.
10056 no_undefined_flag='${wl}-z,text'
10057 allow_undefined_flag='${wl}-z,nodefs'
10058 archive_cmds_need_lc=no
10059 hardcode_shlibpath_var=no
10060 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10061 hardcode_libdir_separator=':'
10062 link_all_deplibs=yes
10063 export_dynamic_flag_spec='${wl}-Bexport'
10064 runpath_var='LD_RUN_PATH'
10066 if test "$GCC" = yes; then
10067 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 else
10070 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075 uts4*)
10076 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077 hardcode_libdir_flag_spec='-L$libdir'
10078 hardcode_shlibpath_var=no
10082 ld_shlibs=no
10084 esac
10086 if test x$host_vendor = xsni; then
10087 case $host in
10088 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10089 export_dynamic_flag_spec='${wl}-Blargedynsym'
10091 esac
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10096 $as_echo "$ld_shlibs" >&6; }
10097 test "$ld_shlibs" = no && can_build_shared=no
10099 with_gnu_ld=$with_gnu_ld
10116 # Do we need to explicitly link libc?
10118 case "x$archive_cmds_need_lc" in
10119 x|xyes)
10120 # Assume -lc should be added
10121 archive_cmds_need_lc=yes
10123 if test "$enable_shared" = yes && test "$GCC" = yes; then
10124 case $archive_cmds in
10125 *'~'*)
10126 # FIXME: we may have to deal with multi-command sequences.
10128 '$CC '*)
10129 # Test whether the compiler implicitly links with -lc since on some
10130 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10131 # to ld, don't add -lc before -lgcc.
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10133 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10134 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10135 $as_echo_n "(cached) " >&6
10136 else
10137 $RM conftest*
10138 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10140 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10141 (eval $ac_compile) 2>&5
10142 ac_status=$?
10143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10144 test $ac_status = 0; } 2>conftest.err; then
10145 soname=conftest
10146 lib=conftest
10147 libobjs=conftest.$ac_objext
10148 deplibs=
10149 wl=$lt_prog_compiler_wl
10150 pic_flag=$lt_prog_compiler_pic
10151 compiler_flags=-v
10152 linker_flags=-v
10153 verstring=
10154 output_objdir=.
10155 libname=conftest
10156 lt_save_allow_undefined_flag=$allow_undefined_flag
10157 allow_undefined_flag=
10158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10159 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10160 ac_status=$?
10161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10162 test $ac_status = 0; }
10163 then
10164 lt_cv_archive_cmds_need_lc=no
10165 else
10166 lt_cv_archive_cmds_need_lc=yes
10168 allow_undefined_flag=$lt_save_allow_undefined_flag
10169 else
10170 cat conftest.err 1>&5
10172 $RM conftest*
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10176 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10177 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10179 esac
10182 esac
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10341 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10343 if test "$GCC" = yes; then
10344 case $host_os in
10345 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10346 *) lt_awk_arg="/^libraries:/" ;;
10347 esac
10348 case $host_os in
10349 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10350 *) lt_sed_strip_eq="s,=/,/,g" ;;
10351 esac
10352 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10353 case $lt_search_path_spec in
10354 *\;*)
10355 # if the path contains ";" then we assume it to be the separator
10356 # otherwise default to the standard path separator (i.e. ":") - it is
10357 # assumed that no part of a normal pathname contains ";" but that should
10358 # okay in the real world where ";" in dirpaths is itself problematic.
10359 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10362 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10364 esac
10365 # Ok, now we have the path, separated by spaces, we can step through it
10366 # and add multilib dir if necessary.
10367 lt_tmp_lt_search_path_spec=
10368 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10369 for lt_sys_path in $lt_search_path_spec; do
10370 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10371 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10372 else
10373 test -d "$lt_sys_path" && \
10374 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10376 done
10377 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10378 BEGIN {RS=" "; FS="/|\n";} {
10379 lt_foo="";
10380 lt_count=0;
10381 for (lt_i = NF; lt_i > 0; lt_i--) {
10382 if ($lt_i != "" && $lt_i != ".") {
10383 if ($lt_i == "..") {
10384 lt_count++;
10385 } else {
10386 if (lt_count == 0) {
10387 lt_foo="/" $lt_i lt_foo;
10388 } else {
10389 lt_count--;
10394 if (lt_foo != "") { lt_freq[lt_foo]++; }
10395 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10397 # AWK program above erroneously prepends '/' to C:/dos/paths
10398 # for these hosts.
10399 case $host_os in
10400 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10401 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10402 esac
10403 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10404 else
10405 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10407 library_names_spec=
10408 libname_spec='lib$name'
10409 soname_spec=
10410 shrext_cmds=".so"
10411 postinstall_cmds=
10412 postuninstall_cmds=
10413 finish_cmds=
10414 finish_eval=
10415 shlibpath_var=
10416 shlibpath_overrides_runpath=unknown
10417 version_type=none
10418 dynamic_linker="$host_os ld.so"
10419 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10420 need_lib_prefix=unknown
10421 hardcode_into_libs=no
10423 # when you set need_version to no, make sure it does not cause -set_version
10424 # flags to be left without arguments
10425 need_version=unknown
10427 case $host_os in
10428 aix3*)
10429 version_type=linux
10430 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10431 shlibpath_var=LIBPATH
10433 # AIX 3 has no versioning support, so we append a major version to the name.
10434 soname_spec='${libname}${release}${shared_ext}$major'
10437 aix[4-9]*)
10438 version_type=linux
10439 need_lib_prefix=no
10440 need_version=no
10441 hardcode_into_libs=yes
10442 if test "$host_cpu" = ia64; then
10443 # AIX 5 supports IA64
10444 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10445 shlibpath_var=LD_LIBRARY_PATH
10446 else
10447 # With GCC up to 2.95.x, collect2 would create an import file
10448 # for dependence libraries. The import file would start with
10449 # the line `#! .'. This would cause the generated library to
10450 # depend on `.', always an invalid library. This was fixed in
10451 # development snapshots of GCC prior to 3.0.
10452 case $host_os in
10453 aix4 | aix4.[01] | aix4.[01].*)
10454 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10455 echo ' yes '
10456 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10458 else
10459 can_build_shared=no
10462 esac
10463 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10464 # soname into executable. Probably we can add versioning support to
10465 # collect2, so additional links can be useful in future.
10466 if test "$aix_use_runtimelinking" = yes; then
10467 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10468 # instead of lib<name>.a to let people know that these are not
10469 # typical AIX shared libraries.
10470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10471 else
10472 # We preserve .a as extension for shared libraries through AIX4.2
10473 # and later when we are not doing run time linking.
10474 library_names_spec='${libname}${release}.a $libname.a'
10475 soname_spec='${libname}${release}${shared_ext}$major'
10477 shlibpath_var=LIBPATH
10481 amigaos*)
10482 case $host_cpu in
10483 powerpc)
10484 # Since July 2007 AmigaOS4 officially supports .so libraries.
10485 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488 m68k)
10489 library_names_spec='$libname.ixlibrary $libname.a'
10490 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10491 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'
10493 esac
10496 beos*)
10497 library_names_spec='${libname}${shared_ext}'
10498 dynamic_linker="$host_os ld.so"
10499 shlibpath_var=LIBRARY_PATH
10502 bsdi[45]*)
10503 version_type=linux
10504 need_version=no
10505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10506 soname_spec='${libname}${release}${shared_ext}$major'
10507 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10508 shlibpath_var=LD_LIBRARY_PATH
10509 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10510 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10511 # the default ld.so.conf also contains /usr/contrib/lib and
10512 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10513 # libtool to hard-code these into programs
10516 cygwin* | mingw* | pw32* | cegcc*)
10517 version_type=windows
10518 shrext_cmds=".dll"
10519 need_version=no
10520 need_lib_prefix=no
10522 case $GCC,$host_os in
10523 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10524 library_names_spec='$libname.dll.a'
10525 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10526 postinstall_cmds='base_file=`basename \${file}`~
10527 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10528 dldir=$destdir/`dirname \$dlpath`~
10529 test -d \$dldir || mkdir -p \$dldir~
10530 $install_prog $dir/$dlname \$dldir/$dlname~
10531 chmod a+x \$dldir/$dlname~
10532 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10533 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10535 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10536 dlpath=$dir/\$dldll~
10537 $RM \$dlpath'
10538 shlibpath_overrides_runpath=yes
10540 case $host_os in
10541 cygwin*)
10542 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10543 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10545 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10547 mingw* | cegcc*)
10548 # MinGW DLLs use traditional 'lib' prefix
10549 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10551 pw32*)
10552 # pw32 DLLs use 'pw' prefix rather than 'lib'
10553 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10555 esac
10559 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10561 esac
10562 dynamic_linker='Win32 ld.exe'
10563 # FIXME: first we should search . and the directory the executable is in
10564 shlibpath_var=PATH
10567 darwin* | rhapsody*)
10568 dynamic_linker="$host_os dyld"
10569 version_type=darwin
10570 need_lib_prefix=no
10571 need_version=no
10572 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10573 soname_spec='${libname}${release}${major}$shared_ext'
10574 shlibpath_overrides_runpath=yes
10575 shlibpath_var=DYLD_LIBRARY_PATH
10576 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10578 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10579 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10582 dgux*)
10583 version_type=linux
10584 need_lib_prefix=no
10585 need_version=no
10586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10587 soname_spec='${libname}${release}${shared_ext}$major'
10588 shlibpath_var=LD_LIBRARY_PATH
10591 freebsd1*)
10592 dynamic_linker=no
10595 freebsd* | dragonfly*)
10596 # DragonFly does not have aout. When/if they implement a new
10597 # versioning mechanism, adjust this.
10598 if test -x /usr/bin/objformat; then
10599 objformat=`/usr/bin/objformat`
10600 else
10601 case $host_os in
10602 freebsd[123]*) objformat=aout ;;
10603 *) objformat=elf ;;
10604 esac
10606 version_type=freebsd-$objformat
10607 case $version_type in
10608 freebsd-elf*)
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10610 need_version=no
10611 need_lib_prefix=no
10613 freebsd-*)
10614 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10615 need_version=yes
10617 esac
10618 shlibpath_var=LD_LIBRARY_PATH
10619 case $host_os in
10620 freebsd2*)
10621 shlibpath_overrides_runpath=yes
10623 freebsd3.[01]* | freebsdelf3.[01]*)
10624 shlibpath_overrides_runpath=yes
10625 hardcode_into_libs=yes
10627 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10628 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10629 shlibpath_overrides_runpath=no
10630 hardcode_into_libs=yes
10632 *) # from 4.6 on, and DragonFly
10633 shlibpath_overrides_runpath=yes
10634 hardcode_into_libs=yes
10636 esac
10639 gnu*)
10640 version_type=linux
10641 need_lib_prefix=no
10642 need_version=no
10643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10644 soname_spec='${libname}${release}${shared_ext}$major'
10645 shlibpath_var=LD_LIBRARY_PATH
10646 hardcode_into_libs=yes
10649 haiku*)
10650 version_type=linux
10651 need_lib_prefix=no
10652 need_version=no
10653 dynamic_linker="$host_os runtime_loader"
10654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10655 soname_spec='${libname}${release}${shared_ext}$major'
10656 shlibpath_var=LIBRARY_PATH
10657 shlibpath_overrides_runpath=yes
10658 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10659 hardcode_into_libs=yes
10662 hpux9* | hpux10* | hpux11*)
10663 # Give a soname corresponding to the major version so that dld.sl refuses to
10664 # link against other versions.
10665 version_type=sunos
10666 need_lib_prefix=no
10667 need_version=no
10668 case $host_cpu in
10669 ia64*)
10670 shrext_cmds='.so'
10671 hardcode_into_libs=yes
10672 dynamic_linker="$host_os dld.so"
10673 shlibpath_var=LD_LIBRARY_PATH
10674 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 soname_spec='${libname}${release}${shared_ext}$major'
10677 if test "X$HPUX_IA64_MODE" = X32; then
10678 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10679 else
10680 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10682 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10684 hppa*64*)
10685 shrext_cmds='.sl'
10686 hardcode_into_libs=yes
10687 dynamic_linker="$host_os dld.sl"
10688 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10689 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10691 soname_spec='${libname}${release}${shared_ext}$major'
10692 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10693 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10696 shrext_cmds='.sl'
10697 dynamic_linker="$host_os dld.sl"
10698 shlibpath_var=SHLIB_PATH
10699 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10701 soname_spec='${libname}${release}${shared_ext}$major'
10703 esac
10704 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10705 postinstall_cmds='chmod 555 $lib'
10706 # or fails outright, so override atomically:
10707 install_override_mode=555
10710 interix[3-9]*)
10711 version_type=linux
10712 need_lib_prefix=no
10713 need_version=no
10714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10715 soname_spec='${libname}${release}${shared_ext}$major'
10716 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=no
10719 hardcode_into_libs=yes
10722 irix5* | irix6* | nonstopux*)
10723 case $host_os in
10724 nonstopux*) version_type=nonstopux ;;
10726 if test "$lt_cv_prog_gnu_ld" = yes; then
10727 version_type=linux
10728 else
10729 version_type=irix
10730 fi ;;
10731 esac
10732 need_lib_prefix=no
10733 need_version=no
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10736 case $host_os in
10737 irix5* | nonstopux*)
10738 libsuff= shlibsuff=
10741 case $LD in # libtool.m4 will add one of these switches to LD
10742 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10743 libsuff= shlibsuff= libmagic=32-bit;;
10744 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10745 libsuff=32 shlibsuff=N32 libmagic=N32;;
10746 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10747 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10748 *) libsuff= shlibsuff= libmagic=never-match;;
10749 esac
10751 esac
10752 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10753 shlibpath_overrides_runpath=no
10754 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10755 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10756 hardcode_into_libs=yes
10759 # No shared lib support for Linux oldld, aout, or coff.
10760 linux*oldld* | linux*aout* | linux*coff*)
10761 dynamic_linker=no
10764 # This must be Linux ELF.
10765 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10766 version_type=linux
10767 need_lib_prefix=no
10768 need_version=no
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10770 soname_spec='${libname}${release}${shared_ext}$major'
10771 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 shlibpath_overrides_runpath=no
10775 # Some binutils ld are patched to set DT_RUNPATH
10776 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10777 $as_echo_n "(cached) " >&6
10778 else
10779 lt_cv_shlibpath_overrides_runpath=no
10780 save_LDFLAGS=$LDFLAGS
10781 save_libdir=$libdir
10782 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10783 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10784 if test x$gcc_no_link = xyes; then
10785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10791 main ()
10795 return 0;
10797 _ACEOF
10798 if ac_fn_c_try_link "$LINENO"; then :
10799 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10800 lt_cv_shlibpath_overrides_runpath=yes
10803 rm -f core conftest.err conftest.$ac_objext \
10804 conftest$ac_exeext conftest.$ac_ext
10805 LDFLAGS=$save_LDFLAGS
10806 libdir=$save_libdir
10810 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10812 # This implies no fast_install, which is unacceptable.
10813 # Some rework will be needed to allow for fast_install
10814 # before this can be enabled.
10815 hardcode_into_libs=yes
10817 # Append ld.so.conf contents to the search path
10818 if test -f /etc/ld.so.conf; then
10819 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' ' '`
10820 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10823 # We used to test for /lib/ld.so.1 and disable shared libraries on
10824 # powerpc, because MkLinux only supported shared libraries with the
10825 # GNU dynamic linker. Since this was broken with cross compilers,
10826 # most powerpc-linux boxes support dynamic linking these days and
10827 # people can always --disable-shared, the test was removed, and we
10828 # assume the GNU/Linux dynamic linker is in use.
10829 dynamic_linker='GNU/Linux ld.so'
10832 netbsd*)
10833 version_type=sunos
10834 need_lib_prefix=no
10835 need_version=no
10836 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10838 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10839 dynamic_linker='NetBSD (a.out) ld.so'
10840 else
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 dynamic_linker='NetBSD ld.elf_so'
10845 shlibpath_var=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath=yes
10847 hardcode_into_libs=yes
10850 newsos6)
10851 version_type=linux
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853 shlibpath_var=LD_LIBRARY_PATH
10854 shlibpath_overrides_runpath=yes
10857 *nto* | *qnx*)
10858 version_type=qnx
10859 need_lib_prefix=no
10860 need_version=no
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 shlibpath_var=LD_LIBRARY_PATH
10864 shlibpath_overrides_runpath=no
10865 hardcode_into_libs=yes
10866 dynamic_linker='ldqnx.so'
10869 openbsd*)
10870 version_type=sunos
10871 sys_lib_dlsearch_path_spec="/usr/lib"
10872 need_lib_prefix=no
10873 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10874 case $host_os in
10875 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10876 *) need_version=no ;;
10877 esac
10878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10879 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10880 shlibpath_var=LD_LIBRARY_PATH
10881 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10882 case $host_os in
10883 openbsd2.[89] | openbsd2.[89].*)
10884 shlibpath_overrides_runpath=no
10887 shlibpath_overrides_runpath=yes
10889 esac
10890 else
10891 shlibpath_overrides_runpath=yes
10895 os2*)
10896 libname_spec='$name'
10897 shrext_cmds=".dll"
10898 need_lib_prefix=no
10899 library_names_spec='$libname${shared_ext} $libname.a'
10900 dynamic_linker='OS/2 ld.exe'
10901 shlibpath_var=LIBPATH
10904 osf3* | osf4* | osf5*)
10905 version_type=osf
10906 need_lib_prefix=no
10907 need_version=no
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10912 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10915 rdos*)
10916 dynamic_linker=no
10919 solaris*)
10920 version_type=linux
10921 need_lib_prefix=no
10922 need_version=no
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=yes
10927 hardcode_into_libs=yes
10928 # ldd complains unless libraries are executable
10929 postinstall_cmds='chmod +x $lib'
10932 sunos4*)
10933 version_type=sunos
10934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10935 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10936 shlibpath_var=LD_LIBRARY_PATH
10937 shlibpath_overrides_runpath=yes
10938 if test "$with_gnu_ld" = yes; then
10939 need_lib_prefix=no
10941 need_version=yes
10944 sysv4 | sysv4.3*)
10945 version_type=linux
10946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10947 soname_spec='${libname}${release}${shared_ext}$major'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 case $host_vendor in
10950 sni)
10951 shlibpath_overrides_runpath=no
10952 need_lib_prefix=no
10953 runpath_var=LD_RUN_PATH
10955 siemens)
10956 need_lib_prefix=no
10958 motorola)
10959 need_lib_prefix=no
10960 need_version=no
10961 shlibpath_overrides_runpath=no
10962 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10964 esac
10967 sysv4*MP*)
10968 if test -d /usr/nec ;then
10969 version_type=linux
10970 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10971 soname_spec='$libname${shared_ext}.$major'
10972 shlibpath_var=LD_LIBRARY_PATH
10976 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10977 version_type=freebsd-elf
10978 need_lib_prefix=no
10979 need_version=no
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10985 if test "$with_gnu_ld" = yes; then
10986 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10987 else
10988 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10989 case $host_os in
10990 sco3.2v5*)
10991 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10993 esac
10995 sys_lib_dlsearch_path_spec='/usr/lib'
10998 tpf*)
10999 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11000 version_type=linux
11001 need_lib_prefix=no
11002 need_version=no
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 shlibpath_var=LD_LIBRARY_PATH
11005 shlibpath_overrides_runpath=no
11006 hardcode_into_libs=yes
11009 uts4*)
11010 version_type=linux
11011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11012 soname_spec='${libname}${release}${shared_ext}$major'
11013 shlibpath_var=LD_LIBRARY_PATH
11017 dynamic_linker=no
11019 esac
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11021 $as_echo "$dynamic_linker" >&6; }
11022 test "$dynamic_linker" = no && can_build_shared=no
11024 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11025 if test "$GCC" = yes; then
11026 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11029 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11030 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11032 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11033 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11128 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11129 hardcode_action=
11130 if test -n "$hardcode_libdir_flag_spec" ||
11131 test -n "$runpath_var" ||
11132 test "X$hardcode_automatic" = "Xyes" ; then
11134 # We can hardcode non-existent directories.
11135 if test "$hardcode_direct" != no &&
11136 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11137 # have to relink, otherwise we might link with an installed library
11138 # when we should be linking with a yet-to-be-installed one
11139 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11140 test "$hardcode_minus_L" != no; then
11141 # Linking always hardcodes the temporary library directory.
11142 hardcode_action=relink
11143 else
11144 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11145 hardcode_action=immediate
11147 else
11148 # We cannot hardcode anything, or else we can only hardcode existing
11149 # directories.
11150 hardcode_action=unsupported
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11153 $as_echo "$hardcode_action" >&6; }
11155 if test "$hardcode_action" = relink ||
11156 test "$inherit_rpath" = yes; then
11157 # Fast installation is not supported
11158 enable_fast_install=no
11159 elif test "$shlibpath_overrides_runpath" = yes ||
11160 test "$enable_shared" = no; then
11161 # Fast installation is not necessary
11162 enable_fast_install=needless
11170 if test "x$enable_dlopen" != xyes; then
11171 enable_dlopen=unknown
11172 enable_dlopen_self=unknown
11173 enable_dlopen_self_static=unknown
11174 else
11175 lt_cv_dlopen=no
11176 lt_cv_dlopen_libs=
11178 case $host_os in
11179 beos*)
11180 lt_cv_dlopen="load_add_on"
11181 lt_cv_dlopen_libs=
11182 lt_cv_dlopen_self=yes
11185 mingw* | pw32* | cegcc*)
11186 lt_cv_dlopen="LoadLibrary"
11187 lt_cv_dlopen_libs=
11190 cygwin*)
11191 lt_cv_dlopen="dlopen"
11192 lt_cv_dlopen_libs=
11195 darwin*)
11196 # if libdl is installed we need to link against it
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11198 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11199 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11200 $as_echo_n "(cached) " >&6
11201 else
11202 ac_check_lib_save_LIBS=$LIBS
11203 LIBS="-ldl $LIBS"
11204 if test x$gcc_no_link = xyes; then
11205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11208 /* end confdefs.h. */
11210 /* Override any GCC internal prototype to avoid an error.
11211 Use char because int might match the return type of a GCC
11212 builtin and then its argument prototype would still apply. */
11213 #ifdef __cplusplus
11214 extern "C"
11215 #endif
11216 char dlopen ();
11218 main ()
11220 return dlopen ();
11222 return 0;
11224 _ACEOF
11225 if ac_fn_c_try_link "$LINENO"; then :
11226 ac_cv_lib_dl_dlopen=yes
11227 else
11228 ac_cv_lib_dl_dlopen=no
11230 rm -f core conftest.err conftest.$ac_objext \
11231 conftest$ac_exeext conftest.$ac_ext
11232 LIBS=$ac_check_lib_save_LIBS
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11235 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11236 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11237 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11238 else
11240 lt_cv_dlopen="dyld"
11241 lt_cv_dlopen_libs=
11242 lt_cv_dlopen_self=yes
11249 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11250 if test "x$ac_cv_func_shl_load" = x""yes; then :
11251 lt_cv_dlopen="shl_load"
11252 else
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11254 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11255 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11256 $as_echo_n "(cached) " >&6
11257 else
11258 ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-ldld $LIBS"
11260 if test x$gcc_no_link = xyes; then
11261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11269 #ifdef __cplusplus
11270 extern "C"
11271 #endif
11272 char shl_load ();
11274 main ()
11276 return shl_load ();
11278 return 0;
11280 _ACEOF
11281 if ac_fn_c_try_link "$LINENO"; then :
11282 ac_cv_lib_dld_shl_load=yes
11283 else
11284 ac_cv_lib_dld_shl_load=no
11286 rm -f core conftest.err conftest.$ac_objext \
11287 conftest$ac_exeext conftest.$ac_ext
11288 LIBS=$ac_check_lib_save_LIBS
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11291 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11292 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11293 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11294 else
11295 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11296 if test "x$ac_cv_func_dlopen" = x""yes; then :
11297 lt_cv_dlopen="dlopen"
11298 else
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11300 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11301 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_lib_save_LIBS=$LIBS
11305 LIBS="-ldl $LIBS"
11306 if test x$gcc_no_link = xyes; then
11307 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11315 #ifdef __cplusplus
11316 extern "C"
11317 #endif
11318 char dlopen ();
11320 main ()
11322 return dlopen ();
11324 return 0;
11326 _ACEOF
11327 if ac_fn_c_try_link "$LINENO"; then :
11328 ac_cv_lib_dl_dlopen=yes
11329 else
11330 ac_cv_lib_dl_dlopen=no
11332 rm -f core conftest.err conftest.$ac_objext \
11333 conftest$ac_exeext conftest.$ac_ext
11334 LIBS=$ac_check_lib_save_LIBS
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11337 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11338 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11339 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11340 else
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11342 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11343 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11344 $as_echo_n "(cached) " >&6
11345 else
11346 ac_check_lib_save_LIBS=$LIBS
11347 LIBS="-lsvld $LIBS"
11348 if test x$gcc_no_link = xyes; then
11349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char dlopen ();
11362 main ()
11364 return dlopen ();
11366 return 0;
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 ac_cv_lib_svld_dlopen=yes
11371 else
11372 ac_cv_lib_svld_dlopen=no
11374 rm -f core conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
11376 LIBS=$ac_check_lib_save_LIBS
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11379 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11380 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11381 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11382 else
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11384 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11385 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-ldld $LIBS"
11390 if test x$gcc_no_link = xyes; then
11391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char dld_link ();
11404 main ()
11406 return dld_link ();
11408 return 0;
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 ac_cv_lib_dld_dld_link=yes
11413 else
11414 ac_cv_lib_dld_dld_link=no
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11421 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11422 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11423 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11442 esac
11444 if test "x$lt_cv_dlopen" != xno; then
11445 enable_dlopen=yes
11446 else
11447 enable_dlopen=no
11450 case $lt_cv_dlopen in
11451 dlopen)
11452 save_CPPFLAGS="$CPPFLAGS"
11453 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11455 save_LDFLAGS="$LDFLAGS"
11456 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11458 save_LIBS="$LIBS"
11459 LIBS="$lt_cv_dlopen_libs $LIBS"
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11462 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11463 if test "${lt_cv_dlopen_self+set}" = set; then :
11464 $as_echo_n "(cached) " >&6
11465 else
11466 if test "$cross_compiling" = yes; then :
11467 lt_cv_dlopen_self=cross
11468 else
11469 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11470 lt_status=$lt_dlunknown
11471 cat > conftest.$ac_ext <<_LT_EOF
11472 #line 11472 "configure"
11473 #include "confdefs.h"
11475 #if HAVE_DLFCN_H
11476 #include <dlfcn.h>
11477 #endif
11479 #include <stdio.h>
11481 #ifdef RTLD_GLOBAL
11482 # define LT_DLGLOBAL RTLD_GLOBAL
11483 #else
11484 # ifdef DL_GLOBAL
11485 # define LT_DLGLOBAL DL_GLOBAL
11486 # else
11487 # define LT_DLGLOBAL 0
11488 # endif
11489 #endif
11491 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11492 find out it does not work in some platform. */
11493 #ifndef LT_DLLAZY_OR_NOW
11494 # ifdef RTLD_LAZY
11495 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11496 # else
11497 # ifdef DL_LAZY
11498 # define LT_DLLAZY_OR_NOW DL_LAZY
11499 # else
11500 # ifdef RTLD_NOW
11501 # define LT_DLLAZY_OR_NOW RTLD_NOW
11502 # else
11503 # ifdef DL_NOW
11504 # define LT_DLLAZY_OR_NOW DL_NOW
11505 # else
11506 # define LT_DLLAZY_OR_NOW 0
11507 # endif
11508 # endif
11509 # endif
11510 # endif
11511 #endif
11513 /* When -fvisbility=hidden is used, assume the code has been annotated
11514 correspondingly for the symbols needed. */
11515 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11516 void fnord () __attribute__((visibility("default")));
11517 #endif
11519 void fnord () { int i=42; }
11520 int main ()
11522 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11523 int status = $lt_dlunknown;
11525 if (self)
11527 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11528 else
11530 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11531 else puts (dlerror ());
11533 /* dlclose (self); */
11535 else
11536 puts (dlerror ());
11538 return status;
11540 _LT_EOF
11541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11542 (eval $ac_link) 2>&5
11543 ac_status=$?
11544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11545 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11546 (./conftest; exit; ) >&5 2>/dev/null
11547 lt_status=$?
11548 case x$lt_status in
11549 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11550 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11551 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11552 esac
11553 else :
11554 # compilation failed
11555 lt_cv_dlopen_self=no
11558 rm -fr conftest*
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11563 $as_echo "$lt_cv_dlopen_self" >&6; }
11565 if test "x$lt_cv_dlopen_self" = xyes; then
11566 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11568 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11569 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11570 $as_echo_n "(cached) " >&6
11571 else
11572 if test "$cross_compiling" = yes; then :
11573 lt_cv_dlopen_self_static=cross
11574 else
11575 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11576 lt_status=$lt_dlunknown
11577 cat > conftest.$ac_ext <<_LT_EOF
11578 #line 11578 "configure"
11579 #include "confdefs.h"
11581 #if HAVE_DLFCN_H
11582 #include <dlfcn.h>
11583 #endif
11585 #include <stdio.h>
11587 #ifdef RTLD_GLOBAL
11588 # define LT_DLGLOBAL RTLD_GLOBAL
11589 #else
11590 # ifdef DL_GLOBAL
11591 # define LT_DLGLOBAL DL_GLOBAL
11592 # else
11593 # define LT_DLGLOBAL 0
11594 # endif
11595 #endif
11597 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11598 find out it does not work in some platform. */
11599 #ifndef LT_DLLAZY_OR_NOW
11600 # ifdef RTLD_LAZY
11601 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11602 # else
11603 # ifdef DL_LAZY
11604 # define LT_DLLAZY_OR_NOW DL_LAZY
11605 # else
11606 # ifdef RTLD_NOW
11607 # define LT_DLLAZY_OR_NOW RTLD_NOW
11608 # else
11609 # ifdef DL_NOW
11610 # define LT_DLLAZY_OR_NOW DL_NOW
11611 # else
11612 # define LT_DLLAZY_OR_NOW 0
11613 # endif
11614 # endif
11615 # endif
11616 # endif
11617 #endif
11619 /* When -fvisbility=hidden is used, assume the code has been annotated
11620 correspondingly for the symbols needed. */
11621 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11622 void fnord () __attribute__((visibility("default")));
11623 #endif
11625 void fnord () { int i=42; }
11626 int main ()
11628 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11629 int status = $lt_dlunknown;
11631 if (self)
11633 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11634 else
11636 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11637 else puts (dlerror ());
11639 /* dlclose (self); */
11641 else
11642 puts (dlerror ());
11644 return status;
11646 _LT_EOF
11647 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11648 (eval $ac_link) 2>&5
11649 ac_status=$?
11650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11651 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11652 (./conftest; exit; ) >&5 2>/dev/null
11653 lt_status=$?
11654 case x$lt_status in
11655 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11656 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11657 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11658 esac
11659 else :
11660 # compilation failed
11661 lt_cv_dlopen_self_static=no
11664 rm -fr conftest*
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11669 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11672 CPPFLAGS="$save_CPPFLAGS"
11673 LDFLAGS="$save_LDFLAGS"
11674 LIBS="$save_LIBS"
11676 esac
11678 case $lt_cv_dlopen_self in
11679 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11680 *) enable_dlopen_self=unknown ;;
11681 esac
11683 case $lt_cv_dlopen_self_static in
11684 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11685 *) enable_dlopen_self_static=unknown ;;
11686 esac
11705 striplib=
11706 old_striplib=
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11708 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11709 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11710 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11711 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11713 $as_echo "yes" >&6; }
11714 else
11715 # FIXME - insert some real tests, host_os isn't really good enough
11716 case $host_os in
11717 darwin*)
11718 if test -n "$STRIP" ; then
11719 striplib="$STRIP -x"
11720 old_striplib="$STRIP -S"
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11722 $as_echo "yes" >&6; }
11723 else
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11725 $as_echo "no" >&6; }
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11730 $as_echo "no" >&6; }
11732 esac
11746 # Report which library types will actually be built
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11748 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11750 $as_echo "$can_build_shared" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11753 $as_echo_n "checking whether to build shared libraries... " >&6; }
11754 test "$can_build_shared" = "no" && enable_shared=no
11756 # On AIX, shared libraries and static libraries use the same namespace, and
11757 # are all built from PIC.
11758 case $host_os in
11759 aix3*)
11760 test "$enable_shared" = yes && enable_static=no
11761 if test -n "$RANLIB"; then
11762 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11763 postinstall_cmds='$RANLIB $lib'
11767 aix[4-9]*)
11768 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11769 test "$enable_shared" = yes && enable_static=no
11772 esac
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11774 $as_echo "$enable_shared" >&6; }
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11777 $as_echo_n "checking whether to build static libraries... " >&6; }
11778 # Make sure either enable_shared or enable_static is yes.
11779 test "$enable_shared" = yes || enable_static=yes
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11781 $as_echo "$enable_static" >&6; }
11787 ac_ext=c
11788 ac_cpp='$CPP $CPPFLAGS'
11789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11793 CC="$lt_save_CC"
11795 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11796 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11797 (test "X$CXX" != "Xg++"))) ; then
11798 ac_ext=cpp
11799 ac_cpp='$CXXCPP $CPPFLAGS'
11800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11804 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11805 if test -z "$CXXCPP"; then
11806 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 # Double quotes because CXXCPP needs to be expanded
11810 for CXXCPP in "$CXX -E" "/lib/cpp"
11812 ac_preproc_ok=false
11813 for ac_cxx_preproc_warn_flag in '' yes
11815 # Use a header file that comes with gcc, so configuring glibc
11816 # with a fresh cross-compiler works.
11817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11818 # <limits.h> exists even on freestanding compilers.
11819 # On the NeXT, cc -E runs the code through the compiler's parser,
11820 # not just through cpp. "Syntax error" is here to catch this case.
11821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11822 /* end confdefs.h. */
11823 #ifdef __STDC__
11824 # include <limits.h>
11825 #else
11826 # include <assert.h>
11827 #endif
11828 Syntax error
11829 _ACEOF
11830 if ac_fn_cxx_try_cpp "$LINENO"; then :
11832 else
11833 # Broken: fails on valid input.
11834 continue
11836 rm -f conftest.err conftest.$ac_ext
11838 # OK, works on sane cases. Now check whether nonexistent headers
11839 # can be detected and how.
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 #include <ac_nonexistent.h>
11843 _ACEOF
11844 if ac_fn_cxx_try_cpp "$LINENO"; then :
11845 # Broken: success on invalid input.
11846 continue
11847 else
11848 # Passes both tests.
11849 ac_preproc_ok=:
11850 break
11852 rm -f conftest.err conftest.$ac_ext
11854 done
11855 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11856 rm -f conftest.err conftest.$ac_ext
11857 if $ac_preproc_ok; then :
11858 break
11861 done
11862 ac_cv_prog_CXXCPP=$CXXCPP
11865 CXXCPP=$ac_cv_prog_CXXCPP
11866 else
11867 ac_cv_prog_CXXCPP=$CXXCPP
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11870 $as_echo "$CXXCPP" >&6; }
11871 ac_preproc_ok=false
11872 for ac_cxx_preproc_warn_flag in '' yes
11874 # Use a header file that comes with gcc, so configuring glibc
11875 # with a fresh cross-compiler works.
11876 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11877 # <limits.h> exists even on freestanding compilers.
11878 # On the NeXT, cc -E runs the code through the compiler's parser,
11879 # not just through cpp. "Syntax error" is here to catch this case.
11880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11882 #ifdef __STDC__
11883 # include <limits.h>
11884 #else
11885 # include <assert.h>
11886 #endif
11887 Syntax error
11888 _ACEOF
11889 if ac_fn_cxx_try_cpp "$LINENO"; then :
11891 else
11892 # Broken: fails on valid input.
11893 continue
11895 rm -f conftest.err conftest.$ac_ext
11897 # OK, works on sane cases. Now check whether nonexistent headers
11898 # can be detected and how.
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #include <ac_nonexistent.h>
11902 _ACEOF
11903 if ac_fn_cxx_try_cpp "$LINENO"; then :
11904 # Broken: success on invalid input.
11905 continue
11906 else
11907 # Passes both tests.
11908 ac_preproc_ok=:
11909 break
11911 rm -f conftest.err conftest.$ac_ext
11913 done
11914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11915 rm -f conftest.err conftest.$ac_ext
11916 if $ac_preproc_ok; then :
11918 else
11919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11921 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11922 See \`config.log' for more details." "$LINENO" 5; }
11925 ac_ext=c
11926 ac_cpp='$CPP $CPPFLAGS'
11927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11931 else
11932 _lt_caught_CXX_error=yes
11935 ac_ext=cpp
11936 ac_cpp='$CXXCPP $CPPFLAGS'
11937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11941 archive_cmds_need_lc_CXX=no
11942 allow_undefined_flag_CXX=
11943 always_export_symbols_CXX=no
11944 archive_expsym_cmds_CXX=
11945 compiler_needs_object_CXX=no
11946 export_dynamic_flag_spec_CXX=
11947 hardcode_direct_CXX=no
11948 hardcode_direct_absolute_CXX=no
11949 hardcode_libdir_flag_spec_CXX=
11950 hardcode_libdir_flag_spec_ld_CXX=
11951 hardcode_libdir_separator_CXX=
11952 hardcode_minus_L_CXX=no
11953 hardcode_shlibpath_var_CXX=unsupported
11954 hardcode_automatic_CXX=no
11955 inherit_rpath_CXX=no
11956 module_cmds_CXX=
11957 module_expsym_cmds_CXX=
11958 link_all_deplibs_CXX=unknown
11959 old_archive_cmds_CXX=$old_archive_cmds
11960 reload_flag_CXX=$reload_flag
11961 reload_cmds_CXX=$reload_cmds
11962 no_undefined_flag_CXX=
11963 whole_archive_flag_spec_CXX=
11964 enable_shared_with_static_runtimes_CXX=no
11966 # Source file extension for C++ test sources.
11967 ac_ext=cpp
11969 # Object file extension for compiled C++ test sources.
11970 objext=o
11971 objext_CXX=$objext
11973 # No sense in running all these tests if we already determined that
11974 # the CXX compiler isn't working. Some variables (like enable_shared)
11975 # are currently assumed to apply to all compilers on this platform,
11976 # and will be corrupted by setting them based on a non-working compiler.
11977 if test "$_lt_caught_CXX_error" != yes; then
11978 # Code to be used in simple compile tests
11979 lt_simple_compile_test_code="int some_variable = 0;"
11981 # Code to be used in simple link tests
11982 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11984 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11991 # If no C compiler was specified, use CC.
11992 LTCC=${LTCC-"$CC"}
11994 # If no C compiler flags were specified, use CFLAGS.
11995 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11997 # Allow CC to be a program name with arguments.
11998 compiler=$CC
12001 # save warnings/boilerplate of simple test code
12002 ac_outfile=conftest.$ac_objext
12003 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12004 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12005 _lt_compiler_boilerplate=`cat conftest.err`
12006 $RM conftest*
12008 ac_outfile=conftest.$ac_objext
12009 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12010 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12011 _lt_linker_boilerplate=`cat conftest.err`
12012 $RM -r conftest*
12015 # Allow CC to be a program name with arguments.
12016 lt_save_CC=$CC
12017 lt_save_LD=$LD
12018 lt_save_GCC=$GCC
12019 GCC=$GXX
12020 lt_save_with_gnu_ld=$with_gnu_ld
12021 lt_save_path_LD=$lt_cv_path_LD
12022 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12023 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12024 else
12025 $as_unset lt_cv_prog_gnu_ld
12027 if test -n "${lt_cv_path_LDCXX+set}"; then
12028 lt_cv_path_LD=$lt_cv_path_LDCXX
12029 else
12030 $as_unset lt_cv_path_LD
12032 test -z "${LDCXX+set}" || LD=$LDCXX
12033 CC=${CXX-"c++"}
12034 compiler=$CC
12035 compiler_CXX=$CC
12036 for cc_temp in $compiler""; do
12037 case $cc_temp in
12038 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12039 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12040 \-*) ;;
12041 *) break;;
12042 esac
12043 done
12044 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12047 if test -n "$compiler"; then
12048 # We don't want -fno-exception when compiling C++ code, so set the
12049 # no_builtin_flag separately
12050 if test "$GXX" = yes; then
12051 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12052 else
12053 lt_prog_compiler_no_builtin_flag_CXX=
12056 if test "$GXX" = yes; then
12057 # Set up default GNU C++ configuration
12061 # Check whether --with-gnu-ld was given.
12062 if test "${with_gnu_ld+set}" = set; then :
12063 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12064 else
12065 with_gnu_ld=no
12068 ac_prog=ld
12069 if test "$GCC" = yes; then
12070 # Check if gcc -print-prog-name=ld gives a path.
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12072 $as_echo_n "checking for ld used by $CC... " >&6; }
12073 case $host in
12074 *-*-mingw*)
12075 # gcc leaves a trailing carriage return which upsets mingw
12076 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12078 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12079 esac
12080 case $ac_prog in
12081 # Accept absolute paths.
12082 [\\/]* | ?:[\\/]*)
12083 re_direlt='/[^/][^/]*/\.\./'
12084 # Canonicalize the pathname of ld
12085 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12086 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12087 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12088 done
12089 test -z "$LD" && LD="$ac_prog"
12092 # If it fails, then pretend we aren't using GCC.
12093 ac_prog=ld
12096 # If it is relative, then search for the first ld in PATH.
12097 with_gnu_ld=unknown
12099 esac
12100 elif test "$with_gnu_ld" = yes; then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12102 $as_echo_n "checking for GNU ld... " >&6; }
12103 else
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12105 $as_echo_n "checking for non-GNU ld... " >&6; }
12107 if test "${lt_cv_path_LD+set}" = set; then :
12108 $as_echo_n "(cached) " >&6
12109 else
12110 if test -z "$LD"; then
12111 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12112 for ac_dir in $PATH; do
12113 IFS="$lt_save_ifs"
12114 test -z "$ac_dir" && ac_dir=.
12115 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12116 lt_cv_path_LD="$ac_dir/$ac_prog"
12117 # Check to see if the program is GNU ld. I'd rather use --version,
12118 # but apparently some variants of GNU ld only accept -v.
12119 # Break only if it was the GNU/non-GNU ld that we prefer.
12120 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12121 *GNU* | *'with BFD'*)
12122 test "$with_gnu_ld" != no && break
12125 test "$with_gnu_ld" != yes && break
12127 esac
12129 done
12130 IFS="$lt_save_ifs"
12131 else
12132 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12136 LD="$lt_cv_path_LD"
12137 if test -n "$LD"; then
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12139 $as_echo "$LD" >&6; }
12140 else
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12142 $as_echo "no" >&6; }
12144 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12146 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12147 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12148 $as_echo_n "(cached) " >&6
12149 else
12150 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12151 case `$LD -v 2>&1 </dev/null` in
12152 *GNU* | *'with BFD'*)
12153 lt_cv_prog_gnu_ld=yes
12156 lt_cv_prog_gnu_ld=no
12158 esac
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12161 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12162 with_gnu_ld=$lt_cv_prog_gnu_ld
12170 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12171 # archiving commands below assume that GNU ld is being used.
12172 if test "$with_gnu_ld" = yes; then
12173 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12174 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'
12176 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12177 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12179 # If archive_cmds runs LD, not CC, wlarc should be empty
12180 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12181 # investigate it a little bit more. (MM)
12182 wlarc='${wl}'
12184 # ancient GNU ld didn't support --whole-archive et. al.
12185 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12186 $GREP 'no-whole-archive' > /dev/null; then
12187 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12188 else
12189 whole_archive_flag_spec_CXX=
12191 else
12192 with_gnu_ld=no
12193 wlarc=
12195 # A generic and very simple default shared library creation
12196 # command for GNU C++ for the case where it uses the native
12197 # linker, instead of GNU ld. If possible, this setting should
12198 # overridden to take advantage of the native linker features on
12199 # the platform it is being used on.
12200 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12203 # Commands to make compiler produce verbose output that lists
12204 # what "hidden" libraries, object files and flags are used when
12205 # linking a shared library.
12206 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12208 else
12209 GXX=no
12210 with_gnu_ld=no
12211 wlarc=
12214 # PORTME: fill in a description of your system's C++ link characteristics
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12216 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12217 ld_shlibs_CXX=yes
12218 case $host_os in
12219 aix3*)
12220 # FIXME: insert proper C++ library support
12221 ld_shlibs_CXX=no
12223 aix[4-9]*)
12224 if test "$host_cpu" = ia64; then
12225 # On IA64, the linker does run time linking by default, so we don't
12226 # have to do anything special.
12227 aix_use_runtimelinking=no
12228 exp_sym_flag='-Bexport'
12229 no_entry_flag=""
12230 else
12231 aix_use_runtimelinking=no
12233 # Test if we are trying to use run time linking or normal
12234 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12235 # need to do runtime linking.
12236 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12237 for ld_flag in $LDFLAGS; do
12238 case $ld_flag in
12239 *-brtl*)
12240 aix_use_runtimelinking=yes
12241 break
12243 esac
12244 done
12246 esac
12248 exp_sym_flag='-bexport'
12249 no_entry_flag='-bnoentry'
12252 # When large executables or shared objects are built, AIX ld can
12253 # have problems creating the table of contents. If linking a library
12254 # or program results in "error TOC overflow" add -mminimal-toc to
12255 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12256 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12258 archive_cmds_CXX=''
12259 hardcode_direct_CXX=yes
12260 hardcode_direct_absolute_CXX=yes
12261 hardcode_libdir_separator_CXX=':'
12262 link_all_deplibs_CXX=yes
12263 file_list_spec_CXX='${wl}-f,'
12265 if test "$GXX" = yes; then
12266 case $host_os in aix4.[012]|aix4.[012].*)
12267 # We only want to do this on AIX 4.2 and lower, the check
12268 # below for broken collect2 doesn't work under 4.3+
12269 collect2name=`${CC} -print-prog-name=collect2`
12270 if test -f "$collect2name" &&
12271 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12272 then
12273 # We have reworked collect2
12275 else
12276 # We have old collect2
12277 hardcode_direct_CXX=unsupported
12278 # It fails to find uninstalled libraries when the uninstalled
12279 # path is not listed in the libpath. Setting hardcode_minus_L
12280 # to unsupported forces relinking
12281 hardcode_minus_L_CXX=yes
12282 hardcode_libdir_flag_spec_CXX='-L$libdir'
12283 hardcode_libdir_separator_CXX=
12285 esac
12286 shared_flag='-shared'
12287 if test "$aix_use_runtimelinking" = yes; then
12288 shared_flag="$shared_flag "'${wl}-G'
12290 else
12291 # not using gcc
12292 if test "$host_cpu" = ia64; then
12293 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12294 # chokes on -Wl,-G. The following line is correct:
12295 shared_flag='-G'
12296 else
12297 if test "$aix_use_runtimelinking" = yes; then
12298 shared_flag='${wl}-G'
12299 else
12300 shared_flag='${wl}-bM:SRE'
12305 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12306 # It seems that -bexpall does not export symbols beginning with
12307 # underscore (_), so it is better to generate a list of symbols to
12308 # export.
12309 always_export_symbols_CXX=yes
12310 if test "$aix_use_runtimelinking" = yes; then
12311 # Warning - without using the other runtime loading flags (-brtl),
12312 # -berok will link without error, but may produce a broken library.
12313 allow_undefined_flag_CXX='-berok'
12314 # Determine the default libpath from the value encoded in an empty
12315 # executable.
12316 if test x$gcc_no_link = xyes; then
12317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12323 main ()
12327 return 0;
12329 _ACEOF
12330 if ac_fn_cxx_try_link "$LINENO"; then :
12332 lt_aix_libpath_sed='
12333 /Import File Strings/,/^$/ {
12334 /^0/ {
12335 s/^0 *\(.*\)$/\1/
12339 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12340 # Check for a 64-bit object if we didn't find anything.
12341 if test -z "$aix_libpath"; then
12342 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12345 rm -f core conftest.err conftest.$ac_objext \
12346 conftest$ac_exeext conftest.$ac_ext
12347 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12349 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12351 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"
12352 else
12353 if test "$host_cpu" = ia64; then
12354 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12355 allow_undefined_flag_CXX="-z nodefs"
12356 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"
12357 else
12358 # Determine the default libpath from the value encoded in an
12359 # empty executable.
12360 if test x$gcc_no_link = xyes; then
12361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12367 main ()
12371 return 0;
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12376 lt_aix_libpath_sed='
12377 /Import File Strings/,/^$/ {
12378 /^0/ {
12379 s/^0 *\(.*\)$/\1/
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12393 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12394 # Warning - without using the other run time loading flags,
12395 # -berok will link without error, but may produce a broken library.
12396 no_undefined_flag_CXX=' ${wl}-bernotok'
12397 allow_undefined_flag_CXX=' ${wl}-berok'
12398 if test "$with_gnu_ld" = yes; then
12399 # We only use this code for GNU lds that support --whole-archive.
12400 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12401 else
12402 # Exported symbols can be pulled into shared objects from archives
12403 whole_archive_flag_spec_CXX='$convenience'
12405 archive_cmds_need_lc_CXX=yes
12406 # This is similar to how AIX traditionally builds its shared
12407 # libraries.
12408 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'
12413 beos*)
12414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12415 allow_undefined_flag_CXX=unsupported
12416 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12417 # support --undefined. This deserves some investigation. FIXME
12418 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12419 else
12420 ld_shlibs_CXX=no
12424 chorus*)
12425 case $cc_basename in
12427 # FIXME: insert proper C++ library support
12428 ld_shlibs_CXX=no
12430 esac
12433 cygwin* | mingw* | pw32* | cegcc*)
12434 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12435 # as there is no search path for DLLs.
12436 hardcode_libdir_flag_spec_CXX='-L$libdir'
12437 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12438 allow_undefined_flag_CXX=unsupported
12439 always_export_symbols_CXX=no
12440 enable_shared_with_static_runtimes_CXX=yes
12442 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12443 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'
12444 # If the export-symbols file already is a .def file (1st line
12445 # is EXPORTS), use it as is; otherwise, prepend...
12446 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12447 cp $export_symbols $output_objdir/$soname.def;
12448 else
12449 echo EXPORTS > $output_objdir/$soname.def;
12450 cat $export_symbols >> $output_objdir/$soname.def;
12452 $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'
12453 else
12454 ld_shlibs_CXX=no
12457 darwin* | rhapsody*)
12460 archive_cmds_need_lc_CXX=no
12461 hardcode_direct_CXX=no
12462 hardcode_automatic_CXX=yes
12463 hardcode_shlibpath_var_CXX=unsupported
12464 if test "$lt_cv_ld_force_load" = "yes"; then
12465 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\"`'
12466 else
12467 whole_archive_flag_spec_CXX=''
12469 link_all_deplibs_CXX=yes
12470 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12471 case $cc_basename in
12472 ifort*) _lt_dar_can_shared=yes ;;
12473 *) _lt_dar_can_shared=$GCC ;;
12474 esac
12475 if test "$_lt_dar_can_shared" = "yes"; then
12476 output_verbose_link_cmd=func_echo_all
12477 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}"
12478 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12479 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}"
12480 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}"
12481 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12482 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}"
12483 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}"
12486 else
12487 ld_shlibs_CXX=no
12492 dgux*)
12493 case $cc_basename in
12494 ec++*)
12495 # FIXME: insert proper C++ library support
12496 ld_shlibs_CXX=no
12498 ghcx*)
12499 # Green Hills C++ Compiler
12500 # FIXME: insert proper C++ library support
12501 ld_shlibs_CXX=no
12504 # FIXME: insert proper C++ library support
12505 ld_shlibs_CXX=no
12507 esac
12510 freebsd[12]*)
12511 # C++ shared libraries reported to be fairly broken before
12512 # switch to ELF
12513 ld_shlibs_CXX=no
12516 freebsd-elf*)
12517 archive_cmds_need_lc_CXX=no
12520 freebsd* | dragonfly*)
12521 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12522 # conventions
12523 ld_shlibs_CXX=yes
12526 gnu*)
12529 haiku*)
12530 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12531 link_all_deplibs_CXX=yes
12534 hpux9*)
12535 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12536 hardcode_libdir_separator_CXX=:
12537 export_dynamic_flag_spec_CXX='${wl}-E'
12538 hardcode_direct_CXX=yes
12539 hardcode_minus_L_CXX=yes # Not in the search PATH,
12540 # but as the default
12541 # location of the library.
12543 case $cc_basename in
12544 CC*)
12545 # FIXME: insert proper C++ library support
12546 ld_shlibs_CXX=no
12548 aCC*)
12549 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'
12550 # Commands to make compiler produce verbose output that lists
12551 # what "hidden" libraries, object files and flags are used when
12552 # linking a shared library.
12554 # There doesn't appear to be a way to prevent this compiler from
12555 # explicitly linking system object files so we need to strip them
12556 # from the output so that they don't get included in the library
12557 # dependencies.
12558 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"'
12561 if test "$GXX" = yes; then
12562 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'
12563 else
12564 # FIXME: insert proper C++ library support
12565 ld_shlibs_CXX=no
12568 esac
12571 hpux10*|hpux11*)
12572 if test $with_gnu_ld = no; then
12573 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12574 hardcode_libdir_separator_CXX=:
12576 case $host_cpu in
12577 hppa*64*|ia64*)
12580 export_dynamic_flag_spec_CXX='${wl}-E'
12582 esac
12584 case $host_cpu in
12585 hppa*64*|ia64*)
12586 hardcode_direct_CXX=no
12587 hardcode_shlibpath_var_CXX=no
12590 hardcode_direct_CXX=yes
12591 hardcode_direct_absolute_CXX=yes
12592 hardcode_minus_L_CXX=yes # Not in the search PATH,
12593 # but as the default
12594 # location of the library.
12596 esac
12598 case $cc_basename in
12599 CC*)
12600 # FIXME: insert proper C++ library support
12601 ld_shlibs_CXX=no
12603 aCC*)
12604 case $host_cpu in
12605 hppa*64*)
12606 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12608 ia64*)
12609 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12612 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12614 esac
12615 # Commands to make compiler produce verbose output that lists
12616 # what "hidden" libraries, object files and flags are used when
12617 # linking a shared library.
12619 # There doesn't appear to be a way to prevent this compiler from
12620 # explicitly linking system object files so we need to strip them
12621 # from the output so that they don't get included in the library
12622 # dependencies.
12623 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"'
12626 if test "$GXX" = yes; then
12627 if test $with_gnu_ld = no; then
12628 case $host_cpu in
12629 hppa*64*)
12630 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12632 ia64*)
12633 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12636 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'
12638 esac
12640 else
12641 # FIXME: insert proper C++ library support
12642 ld_shlibs_CXX=no
12645 esac
12648 interix[3-9]*)
12649 hardcode_direct_CXX=no
12650 hardcode_shlibpath_var_CXX=no
12651 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12652 export_dynamic_flag_spec_CXX='${wl}-E'
12653 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12654 # Instead, shared libraries are loaded at an image base (0x10000000 by
12655 # default) and relocated if they conflict, which is a slow very memory
12656 # consuming and fragmenting process. To avoid this, we pick a random,
12657 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12658 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12659 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'
12660 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'
12662 irix5* | irix6*)
12663 case $cc_basename in
12664 CC*)
12665 # SGI C++
12666 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'
12668 # Archives containing C++ object files must be created using
12669 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12670 # necessary to make sure instantiated templates are included
12671 # in the archive.
12672 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12675 if test "$GXX" = yes; then
12676 if test "$with_gnu_ld" = no; then
12677 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'
12678 else
12679 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'
12682 link_all_deplibs_CXX=yes
12684 esac
12685 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12686 hardcode_libdir_separator_CXX=:
12687 inherit_rpath_CXX=yes
12690 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12691 case $cc_basename in
12692 KCC*)
12693 # Kuck and Associates, Inc. (KAI) C++ Compiler
12695 # KCC will only create a shared library if the output file
12696 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12697 # to its proper name (with version) after linking.
12698 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'
12699 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'
12700 # Commands to make compiler produce verbose output that lists
12701 # what "hidden" libraries, object files and flags are used when
12702 # linking a shared library.
12704 # There doesn't appear to be a way to prevent this compiler from
12705 # explicitly linking system object files so we need to strip them
12706 # from the output so that they don't get included in the library
12707 # dependencies.
12708 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"'
12710 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12711 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12713 # Archives containing C++ object files must be created using
12714 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12715 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12717 icpc* | ecpc* )
12718 # Intel C++
12719 with_gnu_ld=yes
12720 # version 8.0 and above of icpc choke on multiply defined symbols
12721 # if we add $predep_objects and $postdep_objects, however 7.1 and
12722 # earlier do not add the objects themselves.
12723 case `$CC -V 2>&1` in
12724 *"Version 7."*)
12725 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12726 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'
12728 *) # Version 8.0 or newer
12729 tmp_idyn=
12730 case $host_cpu in
12731 ia64*) tmp_idyn=' -i_dynamic';;
12732 esac
12733 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12734 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'
12736 esac
12737 archive_cmds_need_lc_CXX=no
12738 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12739 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12740 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12742 pgCC* | pgcpp*)
12743 # Portland Group C++ compiler
12744 case `$CC -V` in
12745 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12746 prelink_cmds_CXX='tpldir=Template.dir~
12747 rm -rf $tpldir~
12748 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12749 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12750 old_archive_cmds_CXX='tpldir=Template.dir~
12751 rm -rf $tpldir~
12752 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12753 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12754 $RANLIB $oldlib'
12755 archive_cmds_CXX='tpldir=Template.dir~
12756 rm -rf $tpldir~
12757 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12758 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12759 archive_expsym_cmds_CXX='tpldir=Template.dir~
12760 rm -rf $tpldir~
12761 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12762 $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'
12764 *) # Version 6 and above use weak symbols
12765 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12766 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'
12768 esac
12770 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12771 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12772 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'
12774 cxx*)
12775 # Compaq C++
12776 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12777 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'
12779 runpath_var=LD_RUN_PATH
12780 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12781 hardcode_libdir_separator_CXX=:
12783 # Commands to make compiler produce verbose output that lists
12784 # what "hidden" libraries, object files and flags are used when
12785 # linking a shared library.
12787 # There doesn't appear to be a way to prevent this compiler from
12788 # explicitly linking system object files so we need to strip them
12789 # from the output so that they don't get included in the library
12790 # dependencies.
12791 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'
12793 xl* | mpixl* | bgxl*)
12794 # IBM XL 8.0 on PPC, with GNU ld
12795 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12796 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12797 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12798 if test "x$supports_anon_versioning" = xyes; then
12799 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12800 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12801 echo "local: *; };" >> $output_objdir/$libname.ver~
12802 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12806 case `$CC -V 2>&1 | sed 5q` in
12807 *Sun\ C*)
12808 # Sun C++ 5.9
12809 no_undefined_flag_CXX=' -zdefs'
12810 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12811 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'
12812 hardcode_libdir_flag_spec_CXX='-R$libdir'
12813 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'
12814 compiler_needs_object_CXX=yes
12816 # Not sure whether something based on
12817 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12818 # would be better.
12819 output_verbose_link_cmd='func_echo_all'
12821 # Archives containing C++ object files must be created using
12822 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12823 # necessary to make sure instantiated templates are included
12824 # in the archive.
12825 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12827 esac
12829 esac
12832 lynxos*)
12833 # FIXME: insert proper C++ library support
12834 ld_shlibs_CXX=no
12837 m88k*)
12838 # FIXME: insert proper C++ library support
12839 ld_shlibs_CXX=no
12842 mvs*)
12843 case $cc_basename in
12844 cxx*)
12845 # FIXME: insert proper C++ library support
12846 ld_shlibs_CXX=no
12849 # FIXME: insert proper C++ library support
12850 ld_shlibs_CXX=no
12852 esac
12855 netbsd*)
12856 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12857 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12858 wlarc=
12859 hardcode_libdir_flag_spec_CXX='-R$libdir'
12860 hardcode_direct_CXX=yes
12861 hardcode_shlibpath_var_CXX=no
12863 # Workaround some broken pre-1.5 toolchains
12864 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12867 *nto* | *qnx*)
12868 ld_shlibs_CXX=yes
12871 openbsd2*)
12872 # C++ shared libraries are fairly broken
12873 ld_shlibs_CXX=no
12876 openbsd*)
12877 if test -f /usr/libexec/ld.so; then
12878 hardcode_direct_CXX=yes
12879 hardcode_shlibpath_var_CXX=no
12880 hardcode_direct_absolute_CXX=yes
12881 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12882 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12883 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12884 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12885 export_dynamic_flag_spec_CXX='${wl}-E'
12886 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12888 output_verbose_link_cmd=func_echo_all
12889 else
12890 ld_shlibs_CXX=no
12894 osf3* | osf4* | osf5*)
12895 case $cc_basename in
12896 KCC*)
12897 # Kuck and Associates, Inc. (KAI) C++ Compiler
12899 # KCC will only create a shared library if the output file
12900 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12901 # to its proper name (with version) after linking.
12902 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'
12904 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12905 hardcode_libdir_separator_CXX=:
12907 # Archives containing C++ object files must be created using
12908 # the KAI C++ compiler.
12909 case $host in
12910 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12911 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12912 esac
12914 RCC*)
12915 # Rational C++ 2.4.1
12916 # FIXME: insert proper C++ library support
12917 ld_shlibs_CXX=no
12919 cxx*)
12920 case $host in
12921 osf3*)
12922 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12923 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'
12924 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12927 allow_undefined_flag_CXX=' -expect_unresolved \*'
12928 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'
12929 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12930 echo "-hidden">> $lib.exp~
12931 $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~
12932 $RM $lib.exp'
12933 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12935 esac
12937 hardcode_libdir_separator_CXX=:
12939 # Commands to make compiler produce verbose output that lists
12940 # what "hidden" libraries, object files and flags are used when
12941 # linking a shared library.
12943 # There doesn't appear to be a way to prevent this compiler from
12944 # explicitly linking system object files so we need to strip them
12945 # from the output so that they don't get included in the library
12946 # dependencies.
12947 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"'
12950 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12951 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12952 case $host in
12953 osf3*)
12954 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'
12957 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'
12959 esac
12961 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12962 hardcode_libdir_separator_CXX=:
12964 # Commands to make compiler produce verbose output that lists
12965 # what "hidden" libraries, object files and flags are used when
12966 # linking a shared library.
12967 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12969 else
12970 # FIXME: insert proper C++ library support
12971 ld_shlibs_CXX=no
12974 esac
12977 psos*)
12978 # FIXME: insert proper C++ library support
12979 ld_shlibs_CXX=no
12982 sunos4*)
12983 case $cc_basename in
12984 CC*)
12985 # Sun C++ 4.x
12986 # FIXME: insert proper C++ library support
12987 ld_shlibs_CXX=no
12989 lcc*)
12990 # Lucid
12991 # FIXME: insert proper C++ library support
12992 ld_shlibs_CXX=no
12995 # FIXME: insert proper C++ library support
12996 ld_shlibs_CXX=no
12998 esac
13001 solaris*)
13002 case $cc_basename in
13003 CC*)
13004 # Sun C++ 4.2, 5.x and Centerline C++
13005 archive_cmds_need_lc_CXX=yes
13006 no_undefined_flag_CXX=' -zdefs'
13007 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13008 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13009 $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'
13011 hardcode_libdir_flag_spec_CXX='-R$libdir'
13012 hardcode_shlibpath_var_CXX=no
13013 case $host_os in
13014 solaris2.[0-5] | solaris2.[0-5].*) ;;
13016 # The compiler driver will combine and reorder linker options,
13017 # but understands `-z linker_flag'.
13018 # Supported since Solaris 2.6 (maybe 2.5.1?)
13019 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13021 esac
13022 link_all_deplibs_CXX=yes
13024 output_verbose_link_cmd='func_echo_all'
13026 # Archives containing C++ object files must be created using
13027 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13028 # necessary to make sure instantiated templates are included
13029 # in the archive.
13030 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13032 gcx*)
13033 # Green Hills C++ Compiler
13034 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13036 # The C++ compiler must be used to create the archive.
13037 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13040 # GNU C++ compiler with Solaris linker
13041 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13042 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13043 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13044 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13045 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13046 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13048 # Commands to make compiler produce verbose output that lists
13049 # what "hidden" libraries, object files and flags are used when
13050 # linking a shared library.
13051 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13052 else
13053 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13054 # platform.
13055 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13056 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13057 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13059 # Commands to make compiler produce verbose output that lists
13060 # what "hidden" libraries, object files and flags are used when
13061 # linking a shared library.
13062 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13065 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13066 case $host_os in
13067 solaris2.[0-5] | solaris2.[0-5].*) ;;
13069 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13071 esac
13074 esac
13077 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13078 no_undefined_flag_CXX='${wl}-z,text'
13079 archive_cmds_need_lc_CXX=no
13080 hardcode_shlibpath_var_CXX=no
13081 runpath_var='LD_RUN_PATH'
13083 case $cc_basename in
13084 CC*)
13085 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13086 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13089 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13090 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13092 esac
13095 sysv5* | sco3.2v5* | sco5v6*)
13096 # Note: We can NOT use -z defs as we might desire, because we do not
13097 # link with -lc, and that would cause any symbols used from libc to
13098 # always be unresolved, which means just about no library would
13099 # ever link correctly. If we're not using GNU ld we use -z text
13100 # though, which does catch some bad symbols but isn't as heavy-handed
13101 # as -z defs.
13102 no_undefined_flag_CXX='${wl}-z,text'
13103 allow_undefined_flag_CXX='${wl}-z,nodefs'
13104 archive_cmds_need_lc_CXX=no
13105 hardcode_shlibpath_var_CXX=no
13106 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13107 hardcode_libdir_separator_CXX=':'
13108 link_all_deplibs_CXX=yes
13109 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13110 runpath_var='LD_RUN_PATH'
13112 case $cc_basename in
13113 CC*)
13114 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13115 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13116 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13117 '"$old_archive_cmds_CXX"
13118 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13119 '"$reload_cmds_CXX"
13122 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13123 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13125 esac
13128 tandem*)
13129 case $cc_basename in
13130 NCC*)
13131 # NonStop-UX NCC 3.20
13132 # FIXME: insert proper C++ library support
13133 ld_shlibs_CXX=no
13136 # FIXME: insert proper C++ library support
13137 ld_shlibs_CXX=no
13139 esac
13142 vxworks*)
13143 # FIXME: insert proper C++ library support
13144 ld_shlibs_CXX=no
13148 # FIXME: insert proper C++ library support
13149 ld_shlibs_CXX=no
13151 esac
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13154 $as_echo "$ld_shlibs_CXX" >&6; }
13155 test "$ld_shlibs_CXX" = no && can_build_shared=no
13157 GCC_CXX="$GXX"
13158 LD_CXX="$LD"
13160 ## CAVEAT EMPTOR:
13161 ## There is no encapsulation within the following macros, do not change
13162 ## the running order or otherwise move them around unless you know exactly
13163 ## what you are doing...
13164 # Dependencies to place before and after the object being linked:
13165 predep_objects_CXX=
13166 postdep_objects_CXX=
13167 predeps_CXX=
13168 postdeps_CXX=
13169 compiler_lib_search_path_CXX=
13171 cat > conftest.$ac_ext <<_LT_EOF
13172 class Foo
13174 public:
13175 Foo (void) { a = 0; }
13176 private:
13177 int a;
13179 _LT_EOF
13181 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13182 (eval $ac_compile) 2>&5
13183 ac_status=$?
13184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13185 test $ac_status = 0; }; then
13186 # Parse the compiler output and extract the necessary
13187 # objects, libraries and library flags.
13189 # Sentinel used to keep track of whether or not we are before
13190 # the conftest object file.
13191 pre_test_object_deps_done=no
13193 for p in `eval "$output_verbose_link_cmd"`; do
13194 case $p in
13196 -L* | -R* | -l*)
13197 # Some compilers place space between "-{L,R}" and the path.
13198 # Remove the space.
13199 if test $p = "-L" ||
13200 test $p = "-R"; then
13201 prev=$p
13202 continue
13203 else
13204 prev=
13207 if test "$pre_test_object_deps_done" = no; then
13208 case $p in
13209 -L* | -R*)
13210 # Internal compiler library paths should come after those
13211 # provided the user. The postdeps already come after the
13212 # user supplied libs so there is no need to process them.
13213 if test -z "$compiler_lib_search_path_CXX"; then
13214 compiler_lib_search_path_CXX="${prev}${p}"
13215 else
13216 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13219 # The "-l" case would never come before the object being
13220 # linked, so don't bother handling this case.
13221 esac
13222 else
13223 if test -z "$postdeps_CXX"; then
13224 postdeps_CXX="${prev}${p}"
13225 else
13226 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13231 *.$objext)
13232 # This assumes that the test object file only shows up
13233 # once in the compiler output.
13234 if test "$p" = "conftest.$objext"; then
13235 pre_test_object_deps_done=yes
13236 continue
13239 if test "$pre_test_object_deps_done" = no; then
13240 if test -z "$predep_objects_CXX"; then
13241 predep_objects_CXX="$p"
13242 else
13243 predep_objects_CXX="$predep_objects_CXX $p"
13245 else
13246 if test -z "$postdep_objects_CXX"; then
13247 postdep_objects_CXX="$p"
13248 else
13249 postdep_objects_CXX="$postdep_objects_CXX $p"
13254 *) ;; # Ignore the rest.
13256 esac
13257 done
13259 # Clean up.
13260 rm -f a.out a.exe
13261 else
13262 echo "libtool.m4: error: problem compiling CXX test program"
13265 $RM -f confest.$objext
13267 # PORTME: override above test on systems where it is broken
13268 case $host_os in
13269 interix[3-9]*)
13270 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13271 # hack all around it, let's just trust "g++" to DTRT.
13272 predep_objects_CXX=
13273 postdep_objects_CXX=
13274 postdeps_CXX=
13277 linux*)
13278 case `$CC -V 2>&1 | sed 5q` in
13279 *Sun\ C*)
13280 # Sun C++ 5.9
13282 # The more standards-conforming stlport4 library is
13283 # incompatible with the Cstd library. Avoid specifying
13284 # it if it's in CXXFLAGS. Ignore libCrun as
13285 # -library=stlport4 depends on it.
13286 case " $CXX $CXXFLAGS " in
13287 *" -library=stlport4 "*)
13288 solaris_use_stlport4=yes
13290 esac
13292 if test "$solaris_use_stlport4" != yes; then
13293 postdeps_CXX='-library=Cstd -library=Crun'
13296 esac
13299 solaris*)
13300 case $cc_basename in
13301 CC*)
13302 # The more standards-conforming stlport4 library is
13303 # incompatible with the Cstd library. Avoid specifying
13304 # it if it's in CXXFLAGS. Ignore libCrun as
13305 # -library=stlport4 depends on it.
13306 case " $CXX $CXXFLAGS " in
13307 *" -library=stlport4 "*)
13308 solaris_use_stlport4=yes
13310 esac
13312 # Adding this requires a known-good setup of shared libraries for
13313 # Sun compiler versions before 5.6, else PIC objects from an old
13314 # archive will be linked into the output, leading to subtle bugs.
13315 if test "$solaris_use_stlport4" != yes; then
13316 postdeps_CXX='-library=Cstd -library=Crun'
13319 esac
13321 esac
13324 case " $postdeps_CXX " in
13325 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13326 esac
13327 compiler_lib_search_dirs_CXX=
13328 if test -n "${compiler_lib_search_path_CXX}"; then
13329 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13362 lt_prog_compiler_wl_CXX=
13363 lt_prog_compiler_pic_CXX=
13364 lt_prog_compiler_static_CXX=
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13367 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13369 # C++ specific cases for pic, static, wl, etc.
13370 if test "$GXX" = yes; then
13371 lt_prog_compiler_wl_CXX='-Wl,'
13372 lt_prog_compiler_static_CXX='-static'
13374 case $host_os in
13375 aix*)
13376 # All AIX code is PIC.
13377 if test "$host_cpu" = ia64; then
13378 # AIX 5 now supports IA64 processor
13379 lt_prog_compiler_static_CXX='-Bstatic'
13383 amigaos*)
13384 case $host_cpu in
13385 powerpc)
13386 # see comment about AmigaOS4 .so support
13387 lt_prog_compiler_pic_CXX='-fPIC'
13389 m68k)
13390 # FIXME: we need at least 68020 code to build shared libraries, but
13391 # adding the `-m68020' flag to GCC prevents building anything better,
13392 # like `-m68040'.
13393 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13395 esac
13398 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13399 # PIC is the default for these OSes.
13401 mingw* | cygwin* | os2* | pw32* | cegcc*)
13402 # This hack is so that the source file can tell whether it is being
13403 # built for inclusion in a dll (and should export symbols for example).
13404 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13405 # (--disable-auto-import) libraries
13406 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13408 darwin* | rhapsody*)
13409 # PIC is the default on this platform
13410 # Common symbols not allowed in MH_DYLIB files
13411 lt_prog_compiler_pic_CXX='-fno-common'
13413 *djgpp*)
13414 # DJGPP does not support shared libraries at all
13415 lt_prog_compiler_pic_CXX=
13417 haiku*)
13418 # PIC is the default for Haiku.
13419 # The "-static" flag exists, but is broken.
13420 lt_prog_compiler_static_CXX=
13422 interix[3-9]*)
13423 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13424 # Instead, we relocate shared libraries at runtime.
13426 sysv4*MP*)
13427 if test -d /usr/nec; then
13428 lt_prog_compiler_pic_CXX=-Kconform_pic
13431 hpux*)
13432 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13433 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13434 # sets the default TLS model and affects inlining.
13435 case $host_cpu in
13436 hppa*64*)
13439 lt_prog_compiler_pic_CXX='-fPIC'
13441 esac
13443 *qnx* | *nto*)
13444 # QNX uses GNU C++, but need to define -shared option too, otherwise
13445 # it will coredump.
13446 lt_prog_compiler_pic_CXX='-fPIC -shared'
13449 lt_prog_compiler_pic_CXX='-fPIC'
13451 esac
13452 else
13453 case $host_os in
13454 aix[4-9]*)
13455 # All AIX code is PIC.
13456 if test "$host_cpu" = ia64; then
13457 # AIX 5 now supports IA64 processor
13458 lt_prog_compiler_static_CXX='-Bstatic'
13459 else
13460 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13463 chorus*)
13464 case $cc_basename in
13465 cxch68*)
13466 # Green Hills C++ Compiler
13467 # _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"
13469 esac
13471 dgux*)
13472 case $cc_basename in
13473 ec++*)
13474 lt_prog_compiler_pic_CXX='-KPIC'
13476 ghcx*)
13477 # Green Hills C++ Compiler
13478 lt_prog_compiler_pic_CXX='-pic'
13482 esac
13484 freebsd* | dragonfly*)
13485 # FreeBSD uses GNU C++
13487 hpux9* | hpux10* | hpux11*)
13488 case $cc_basename in
13489 CC*)
13490 lt_prog_compiler_wl_CXX='-Wl,'
13491 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13492 if test "$host_cpu" != ia64; then
13493 lt_prog_compiler_pic_CXX='+Z'
13496 aCC*)
13497 lt_prog_compiler_wl_CXX='-Wl,'
13498 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13499 case $host_cpu in
13500 hppa*64*|ia64*)
13501 # +Z the default
13504 lt_prog_compiler_pic_CXX='+Z'
13506 esac
13510 esac
13512 interix*)
13513 # This is c89, which is MS Visual C++ (no shared libs)
13514 # Anyone wants to do a port?
13516 irix5* | irix6* | nonstopux*)
13517 case $cc_basename in
13518 CC*)
13519 lt_prog_compiler_wl_CXX='-Wl,'
13520 lt_prog_compiler_static_CXX='-non_shared'
13521 # CC pic flag -KPIC is the default.
13525 esac
13527 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13528 case $cc_basename in
13529 KCC*)
13530 # KAI C++ Compiler
13531 lt_prog_compiler_wl_CXX='--backend -Wl,'
13532 lt_prog_compiler_pic_CXX='-fPIC'
13534 ecpc* )
13535 # old Intel C++ for x86_64 which still supported -KPIC.
13536 lt_prog_compiler_wl_CXX='-Wl,'
13537 lt_prog_compiler_pic_CXX='-KPIC'
13538 lt_prog_compiler_static_CXX='-static'
13540 icpc* )
13541 # Intel C++, used to be incompatible with GCC.
13542 # ICC 10 doesn't accept -KPIC any more.
13543 lt_prog_compiler_wl_CXX='-Wl,'
13544 lt_prog_compiler_pic_CXX='-fPIC'
13545 lt_prog_compiler_static_CXX='-static'
13547 pgCC* | pgcpp*)
13548 # Portland Group C++ compiler
13549 lt_prog_compiler_wl_CXX='-Wl,'
13550 lt_prog_compiler_pic_CXX='-fpic'
13551 lt_prog_compiler_static_CXX='-Bstatic'
13553 cxx*)
13554 # Compaq C++
13555 # Make sure the PIC flag is empty. It appears that all Alpha
13556 # Linux and Compaq Tru64 Unix objects are PIC.
13557 lt_prog_compiler_pic_CXX=
13558 lt_prog_compiler_static_CXX='-non_shared'
13560 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13561 # IBM XL 8.0, 9.0 on PPC and BlueGene
13562 lt_prog_compiler_wl_CXX='-Wl,'
13563 lt_prog_compiler_pic_CXX='-qpic'
13564 lt_prog_compiler_static_CXX='-qstaticlink'
13567 case `$CC -V 2>&1 | sed 5q` in
13568 *Sun\ C*)
13569 # Sun C++ 5.9
13570 lt_prog_compiler_pic_CXX='-KPIC'
13571 lt_prog_compiler_static_CXX='-Bstatic'
13572 lt_prog_compiler_wl_CXX='-Qoption ld '
13574 esac
13576 esac
13578 lynxos*)
13580 m88k*)
13582 mvs*)
13583 case $cc_basename in
13584 cxx*)
13585 lt_prog_compiler_pic_CXX='-W c,exportall'
13589 esac
13591 netbsd*)
13593 *qnx* | *nto*)
13594 # QNX uses GNU C++, but need to define -shared option too, otherwise
13595 # it will coredump.
13596 lt_prog_compiler_pic_CXX='-fPIC -shared'
13598 osf3* | osf4* | osf5*)
13599 case $cc_basename in
13600 KCC*)
13601 lt_prog_compiler_wl_CXX='--backend -Wl,'
13603 RCC*)
13604 # Rational C++ 2.4.1
13605 lt_prog_compiler_pic_CXX='-pic'
13607 cxx*)
13608 # Digital/Compaq C++
13609 lt_prog_compiler_wl_CXX='-Wl,'
13610 # Make sure the PIC flag is empty. It appears that all Alpha
13611 # Linux and Compaq Tru64 Unix objects are PIC.
13612 lt_prog_compiler_pic_CXX=
13613 lt_prog_compiler_static_CXX='-non_shared'
13617 esac
13619 psos*)
13621 solaris*)
13622 case $cc_basename in
13623 CC*)
13624 # Sun C++ 4.2, 5.x and Centerline C++
13625 lt_prog_compiler_pic_CXX='-KPIC'
13626 lt_prog_compiler_static_CXX='-Bstatic'
13627 lt_prog_compiler_wl_CXX='-Qoption ld '
13629 gcx*)
13630 # Green Hills C++ Compiler
13631 lt_prog_compiler_pic_CXX='-PIC'
13635 esac
13637 sunos4*)
13638 case $cc_basename in
13639 CC*)
13640 # Sun C++ 4.x
13641 lt_prog_compiler_pic_CXX='-pic'
13642 lt_prog_compiler_static_CXX='-Bstatic'
13644 lcc*)
13645 # Lucid
13646 lt_prog_compiler_pic_CXX='-pic'
13650 esac
13652 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13653 case $cc_basename in
13654 CC*)
13655 lt_prog_compiler_wl_CXX='-Wl,'
13656 lt_prog_compiler_pic_CXX='-KPIC'
13657 lt_prog_compiler_static_CXX='-Bstatic'
13659 esac
13661 tandem*)
13662 case $cc_basename in
13663 NCC*)
13664 # NonStop-UX NCC 3.20
13665 lt_prog_compiler_pic_CXX='-KPIC'
13669 esac
13671 vxworks*)
13674 lt_prog_compiler_can_build_shared_CXX=no
13676 esac
13679 case $host_os in
13680 # For platforms which do not support PIC, -DPIC is meaningless:
13681 *djgpp*)
13682 lt_prog_compiler_pic_CXX=
13685 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13687 esac
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13689 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13694 # Check to make sure the PIC flag actually works.
13696 if test -n "$lt_prog_compiler_pic_CXX"; then
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13698 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13699 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13700 $as_echo_n "(cached) " >&6
13701 else
13702 lt_cv_prog_compiler_pic_works_CXX=no
13703 ac_outfile=conftest.$ac_objext
13704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13705 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13706 # Insert the option either (1) after the last *FLAGS variable, or
13707 # (2) before a word containing "conftest.", or (3) at the end.
13708 # Note that $ac_compile itself does not contain backslashes and begins
13709 # with a dollar sign (not a hyphen), so the echo should work correctly.
13710 # The option is referenced via a variable to avoid confusing sed.
13711 lt_compile=`echo "$ac_compile" | $SED \
13712 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13713 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13714 -e 's:$: $lt_compiler_flag:'`
13715 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13716 (eval "$lt_compile" 2>conftest.err)
13717 ac_status=$?
13718 cat conftest.err >&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 if (exit $ac_status) && test -s "$ac_outfile"; then
13721 # The compiler can only warn and ignore the option if not recognized
13722 # So say no if there are warnings other than the usual output.
13723 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13724 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13725 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13726 lt_cv_prog_compiler_pic_works_CXX=yes
13729 $RM conftest*
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13733 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13735 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13736 case $lt_prog_compiler_pic_CXX in
13737 "" | " "*) ;;
13738 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13739 esac
13740 else
13741 lt_prog_compiler_pic_CXX=
13742 lt_prog_compiler_can_build_shared_CXX=no
13750 # Check to make sure the static flag actually works.
13752 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13754 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13755 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13756 $as_echo_n "(cached) " >&6
13757 else
13758 lt_cv_prog_compiler_static_works_CXX=no
13759 save_LDFLAGS="$LDFLAGS"
13760 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13761 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13762 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13763 # The linker can only warn and ignore the option if not recognized
13764 # So say no if there are warnings
13765 if test -s conftest.err; then
13766 # Append any errors to the config.log.
13767 cat conftest.err 1>&5
13768 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770 if diff conftest.exp conftest.er2 >/dev/null; then
13771 lt_cv_prog_compiler_static_works_CXX=yes
13773 else
13774 lt_cv_prog_compiler_static_works_CXX=yes
13777 $RM -r conftest*
13778 LDFLAGS="$save_LDFLAGS"
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13782 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13784 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13786 else
13787 lt_prog_compiler_static_CXX=
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13794 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13795 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13796 $as_echo_n "(cached) " >&6
13797 else
13798 lt_cv_prog_compiler_c_o_CXX=no
13799 $RM -r conftest 2>/dev/null
13800 mkdir conftest
13801 cd conftest
13802 mkdir out
13803 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13805 lt_compiler_flag="-o out/conftest2.$ac_objext"
13806 # Insert the option either (1) after the last *FLAGS variable, or
13807 # (2) before a word containing "conftest.", or (3) at the end.
13808 # Note that $ac_compile itself does not contain backslashes and begins
13809 # with a dollar sign (not a hyphen), so the echo should work correctly.
13810 lt_compile=`echo "$ac_compile" | $SED \
13811 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13813 -e 's:$: $lt_compiler_flag:'`
13814 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13815 (eval "$lt_compile" 2>out/conftest.err)
13816 ac_status=$?
13817 cat out/conftest.err >&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13820 then
13821 # The compiler can only warn and ignore the option if not recognized
13822 # So say no if there are warnings
13823 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13824 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13825 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13826 lt_cv_prog_compiler_c_o_CXX=yes
13829 chmod u+w . 2>&5
13830 $RM conftest*
13831 # SGI C++ compiler will create directory out/ii_files/ for
13832 # template instantiation
13833 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13834 $RM out/* && rmdir out
13835 cd ..
13836 $RM -r conftest
13837 $RM conftest*
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13841 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13846 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13847 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13848 $as_echo_n "(cached) " >&6
13849 else
13850 lt_cv_prog_compiler_c_o_CXX=no
13851 $RM -r conftest 2>/dev/null
13852 mkdir conftest
13853 cd conftest
13854 mkdir out
13855 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13857 lt_compiler_flag="-o out/conftest2.$ac_objext"
13858 # Insert the option either (1) after the last *FLAGS variable, or
13859 # (2) before a word containing "conftest.", or (3) at the end.
13860 # Note that $ac_compile itself does not contain backslashes and begins
13861 # with a dollar sign (not a hyphen), so the echo should work correctly.
13862 lt_compile=`echo "$ac_compile" | $SED \
13863 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13865 -e 's:$: $lt_compiler_flag:'`
13866 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13867 (eval "$lt_compile" 2>out/conftest.err)
13868 ac_status=$?
13869 cat out/conftest.err >&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13872 then
13873 # The compiler can only warn and ignore the option if not recognized
13874 # So say no if there are warnings
13875 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13876 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13877 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13878 lt_cv_prog_compiler_c_o_CXX=yes
13881 chmod u+w . 2>&5
13882 $RM conftest*
13883 # SGI C++ compiler will create directory out/ii_files/ for
13884 # template instantiation
13885 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13886 $RM out/* && rmdir out
13887 cd ..
13888 $RM -r conftest
13889 $RM conftest*
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13893 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13898 hard_links="nottested"
13899 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13900 # do not overwrite the value of need_locks provided by the user
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13902 $as_echo_n "checking if we can lock with hard links... " >&6; }
13903 hard_links=yes
13904 $RM conftest*
13905 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13906 touch conftest.a
13907 ln conftest.a conftest.b 2>&5 || hard_links=no
13908 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13910 $as_echo "$hard_links" >&6; }
13911 if test "$hard_links" = no; then
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13913 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13914 need_locks=warn
13916 else
13917 need_locks=no
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13923 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13925 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13926 case $host_os in
13927 aix[4-9]*)
13928 # If we're using GNU nm, then we don't want the "-C" option.
13929 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13930 # Also, AIX nm treats weak defined symbols like other global defined
13931 # symbols, whereas GNU nm marks them as "W".
13932 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13933 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'
13934 else
13935 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'
13938 pw32*)
13939 export_symbols_cmds_CXX="$ltdll_cmds"
13941 cygwin* | mingw* | cegcc*)
13942 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'
13945 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13947 esac
13948 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13951 $as_echo "$ld_shlibs_CXX" >&6; }
13952 test "$ld_shlibs_CXX" = no && can_build_shared=no
13954 with_gnu_ld_CXX=$with_gnu_ld
13962 # Do we need to explicitly link libc?
13964 case "x$archive_cmds_need_lc_CXX" in
13965 x|xyes)
13966 # Assume -lc should be added
13967 archive_cmds_need_lc_CXX=yes
13969 if test "$enable_shared" = yes && test "$GCC" = yes; then
13970 case $archive_cmds_CXX in
13971 *'~'*)
13972 # FIXME: we may have to deal with multi-command sequences.
13974 '$CC '*)
13975 # Test whether the compiler implicitly links with -lc since on some
13976 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13977 # to ld, don't add -lc before -lgcc.
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13979 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13980 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13981 $as_echo_n "(cached) " >&6
13982 else
13983 $RM conftest*
13984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13987 (eval $ac_compile) 2>&5
13988 ac_status=$?
13989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13990 test $ac_status = 0; } 2>conftest.err; then
13991 soname=conftest
13992 lib=conftest
13993 libobjs=conftest.$ac_objext
13994 deplibs=
13995 wl=$lt_prog_compiler_wl_CXX
13996 pic_flag=$lt_prog_compiler_pic_CXX
13997 compiler_flags=-v
13998 linker_flags=-v
13999 verstring=
14000 output_objdir=.
14001 libname=conftest
14002 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14003 allow_undefined_flag_CXX=
14004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14005 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14006 ac_status=$?
14007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14008 test $ac_status = 0; }
14009 then
14010 lt_cv_archive_cmds_need_lc_CXX=no
14011 else
14012 lt_cv_archive_cmds_need_lc_CXX=yes
14014 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14015 else
14016 cat conftest.err 1>&5
14018 $RM conftest*
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14022 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14023 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14025 esac
14028 esac
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14094 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14096 library_names_spec=
14097 libname_spec='lib$name'
14098 soname_spec=
14099 shrext_cmds=".so"
14100 postinstall_cmds=
14101 postuninstall_cmds=
14102 finish_cmds=
14103 finish_eval=
14104 shlibpath_var=
14105 shlibpath_overrides_runpath=unknown
14106 version_type=none
14107 dynamic_linker="$host_os ld.so"
14108 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14109 need_lib_prefix=unknown
14110 hardcode_into_libs=no
14112 # when you set need_version to no, make sure it does not cause -set_version
14113 # flags to be left without arguments
14114 need_version=unknown
14116 case $host_os in
14117 aix3*)
14118 version_type=linux
14119 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14120 shlibpath_var=LIBPATH
14122 # AIX 3 has no versioning support, so we append a major version to the name.
14123 soname_spec='${libname}${release}${shared_ext}$major'
14126 aix[4-9]*)
14127 version_type=linux
14128 need_lib_prefix=no
14129 need_version=no
14130 hardcode_into_libs=yes
14131 if test "$host_cpu" = ia64; then
14132 # AIX 5 supports IA64
14133 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14134 shlibpath_var=LD_LIBRARY_PATH
14135 else
14136 # With GCC up to 2.95.x, collect2 would create an import file
14137 # for dependence libraries. The import file would start with
14138 # the line `#! .'. This would cause the generated library to
14139 # depend on `.', always an invalid library. This was fixed in
14140 # development snapshots of GCC prior to 3.0.
14141 case $host_os in
14142 aix4 | aix4.[01] | aix4.[01].*)
14143 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14144 echo ' yes '
14145 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14147 else
14148 can_build_shared=no
14151 esac
14152 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14153 # soname into executable. Probably we can add versioning support to
14154 # collect2, so additional links can be useful in future.
14155 if test "$aix_use_runtimelinking" = yes; then
14156 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14157 # instead of lib<name>.a to let people know that these are not
14158 # typical AIX shared libraries.
14159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14160 else
14161 # We preserve .a as extension for shared libraries through AIX4.2
14162 # and later when we are not doing run time linking.
14163 library_names_spec='${libname}${release}.a $libname.a'
14164 soname_spec='${libname}${release}${shared_ext}$major'
14166 shlibpath_var=LIBPATH
14170 amigaos*)
14171 case $host_cpu in
14172 powerpc)
14173 # Since July 2007 AmigaOS4 officially supports .so libraries.
14174 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14177 m68k)
14178 library_names_spec='$libname.ixlibrary $libname.a'
14179 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14180 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'
14182 esac
14185 beos*)
14186 library_names_spec='${libname}${shared_ext}'
14187 dynamic_linker="$host_os ld.so"
14188 shlibpath_var=LIBRARY_PATH
14191 bsdi[45]*)
14192 version_type=linux
14193 need_version=no
14194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14195 soname_spec='${libname}${release}${shared_ext}$major'
14196 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14197 shlibpath_var=LD_LIBRARY_PATH
14198 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14199 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14200 # the default ld.so.conf also contains /usr/contrib/lib and
14201 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14202 # libtool to hard-code these into programs
14205 cygwin* | mingw* | pw32* | cegcc*)
14206 version_type=windows
14207 shrext_cmds=".dll"
14208 need_version=no
14209 need_lib_prefix=no
14211 case $GCC,$host_os in
14212 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14213 library_names_spec='$libname.dll.a'
14214 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14215 postinstall_cmds='base_file=`basename \${file}`~
14216 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14217 dldir=$destdir/`dirname \$dlpath`~
14218 test -d \$dldir || mkdir -p \$dldir~
14219 $install_prog $dir/$dlname \$dldir/$dlname~
14220 chmod a+x \$dldir/$dlname~
14221 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14222 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14224 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14225 dlpath=$dir/\$dldll~
14226 $RM \$dlpath'
14227 shlibpath_overrides_runpath=yes
14229 case $host_os in
14230 cygwin*)
14231 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14232 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14235 mingw* | cegcc*)
14236 # MinGW DLLs use traditional 'lib' prefix
14237 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14239 pw32*)
14240 # pw32 DLLs use 'pw' prefix rather than 'lib'
14241 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14243 esac
14247 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14249 esac
14250 dynamic_linker='Win32 ld.exe'
14251 # FIXME: first we should search . and the directory the executable is in
14252 shlibpath_var=PATH
14255 darwin* | rhapsody*)
14256 dynamic_linker="$host_os dyld"
14257 version_type=darwin
14258 need_lib_prefix=no
14259 need_version=no
14260 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14261 soname_spec='${libname}${release}${major}$shared_ext'
14262 shlibpath_overrides_runpath=yes
14263 shlibpath_var=DYLD_LIBRARY_PATH
14264 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14266 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14269 dgux*)
14270 version_type=linux
14271 need_lib_prefix=no
14272 need_version=no
14273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14274 soname_spec='${libname}${release}${shared_ext}$major'
14275 shlibpath_var=LD_LIBRARY_PATH
14278 freebsd1*)
14279 dynamic_linker=no
14282 freebsd* | dragonfly*)
14283 # DragonFly does not have aout. When/if they implement a new
14284 # versioning mechanism, adjust this.
14285 if test -x /usr/bin/objformat; then
14286 objformat=`/usr/bin/objformat`
14287 else
14288 case $host_os in
14289 freebsd[123]*) objformat=aout ;;
14290 *) objformat=elf ;;
14291 esac
14293 version_type=freebsd-$objformat
14294 case $version_type in
14295 freebsd-elf*)
14296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14297 need_version=no
14298 need_lib_prefix=no
14300 freebsd-*)
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14302 need_version=yes
14304 esac
14305 shlibpath_var=LD_LIBRARY_PATH
14306 case $host_os in
14307 freebsd2*)
14308 shlibpath_overrides_runpath=yes
14310 freebsd3.[01]* | freebsdelf3.[01]*)
14311 shlibpath_overrides_runpath=yes
14312 hardcode_into_libs=yes
14314 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14315 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14316 shlibpath_overrides_runpath=no
14317 hardcode_into_libs=yes
14319 *) # from 4.6 on, and DragonFly
14320 shlibpath_overrides_runpath=yes
14321 hardcode_into_libs=yes
14323 esac
14326 gnu*)
14327 version_type=linux
14328 need_lib_prefix=no
14329 need_version=no
14330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14331 soname_spec='${libname}${release}${shared_ext}$major'
14332 shlibpath_var=LD_LIBRARY_PATH
14333 hardcode_into_libs=yes
14336 haiku*)
14337 version_type=linux
14338 need_lib_prefix=no
14339 need_version=no
14340 dynamic_linker="$host_os runtime_loader"
14341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14342 soname_spec='${libname}${release}${shared_ext}$major'
14343 shlibpath_var=LIBRARY_PATH
14344 shlibpath_overrides_runpath=yes
14345 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14346 hardcode_into_libs=yes
14349 hpux9* | hpux10* | hpux11*)
14350 # Give a soname corresponding to the major version so that dld.sl refuses to
14351 # link against other versions.
14352 version_type=sunos
14353 need_lib_prefix=no
14354 need_version=no
14355 case $host_cpu in
14356 ia64*)
14357 shrext_cmds='.so'
14358 hardcode_into_libs=yes
14359 dynamic_linker="$host_os dld.so"
14360 shlibpath_var=LD_LIBRARY_PATH
14361 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14363 soname_spec='${libname}${release}${shared_ext}$major'
14364 if test "X$HPUX_IA64_MODE" = X32; then
14365 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14366 else
14367 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14369 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14371 hppa*64*)
14372 shrext_cmds='.sl'
14373 hardcode_into_libs=yes
14374 dynamic_linker="$host_os dld.sl"
14375 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14380 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14383 shrext_cmds='.sl'
14384 dynamic_linker="$host_os dld.sl"
14385 shlibpath_var=SHLIB_PATH
14386 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14388 soname_spec='${libname}${release}${shared_ext}$major'
14390 esac
14391 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14392 postinstall_cmds='chmod 555 $lib'
14393 # or fails outright, so override atomically:
14394 install_override_mode=555
14397 interix[3-9]*)
14398 version_type=linux
14399 need_lib_prefix=no
14400 need_version=no
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'
14403 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14404 shlibpath_var=LD_LIBRARY_PATH
14405 shlibpath_overrides_runpath=no
14406 hardcode_into_libs=yes
14409 irix5* | irix6* | nonstopux*)
14410 case $host_os in
14411 nonstopux*) version_type=nonstopux ;;
14413 if test "$lt_cv_prog_gnu_ld" = yes; then
14414 version_type=linux
14415 else
14416 version_type=irix
14417 fi ;;
14418 esac
14419 need_lib_prefix=no
14420 need_version=no
14421 soname_spec='${libname}${release}${shared_ext}$major'
14422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14423 case $host_os in
14424 irix5* | nonstopux*)
14425 libsuff= shlibsuff=
14428 case $LD in # libtool.m4 will add one of these switches to LD
14429 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14430 libsuff= shlibsuff= libmagic=32-bit;;
14431 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14432 libsuff=32 shlibsuff=N32 libmagic=N32;;
14433 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14434 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14435 *) libsuff= shlibsuff= libmagic=never-match;;
14436 esac
14438 esac
14439 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14440 shlibpath_overrides_runpath=no
14441 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14442 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14443 hardcode_into_libs=yes
14446 # No shared lib support for Linux oldld, aout, or coff.
14447 linux*oldld* | linux*aout* | linux*coff*)
14448 dynamic_linker=no
14451 # This must be Linux ELF.
14452 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14453 version_type=linux
14454 need_lib_prefix=no
14455 need_version=no
14456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14457 soname_spec='${libname}${release}${shared_ext}$major'
14458 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14459 shlibpath_var=LD_LIBRARY_PATH
14460 shlibpath_overrides_runpath=no
14462 # Some binutils ld are patched to set DT_RUNPATH
14463 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14464 $as_echo_n "(cached) " >&6
14465 else
14466 lt_cv_shlibpath_overrides_runpath=no
14467 save_LDFLAGS=$LDFLAGS
14468 save_libdir=$libdir
14469 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14470 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14471 if test x$gcc_no_link = xyes; then
14472 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14478 main ()
14482 return 0;
14484 _ACEOF
14485 if ac_fn_cxx_try_link "$LINENO"; then :
14486 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14487 lt_cv_shlibpath_overrides_runpath=yes
14490 rm -f core conftest.err conftest.$ac_objext \
14491 conftest$ac_exeext conftest.$ac_ext
14492 LDFLAGS=$save_LDFLAGS
14493 libdir=$save_libdir
14497 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14499 # This implies no fast_install, which is unacceptable.
14500 # Some rework will be needed to allow for fast_install
14501 # before this can be enabled.
14502 hardcode_into_libs=yes
14504 # Append ld.so.conf contents to the search path
14505 if test -f /etc/ld.so.conf; then
14506 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' ' '`
14507 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14510 # We used to test for /lib/ld.so.1 and disable shared libraries on
14511 # powerpc, because MkLinux only supported shared libraries with the
14512 # GNU dynamic linker. Since this was broken with cross compilers,
14513 # most powerpc-linux boxes support dynamic linking these days and
14514 # people can always --disable-shared, the test was removed, and we
14515 # assume the GNU/Linux dynamic linker is in use.
14516 dynamic_linker='GNU/Linux ld.so'
14519 netbsd*)
14520 version_type=sunos
14521 need_lib_prefix=no
14522 need_version=no
14523 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14525 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14526 dynamic_linker='NetBSD (a.out) ld.so'
14527 else
14528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14529 soname_spec='${libname}${release}${shared_ext}$major'
14530 dynamic_linker='NetBSD ld.elf_so'
14532 shlibpath_var=LD_LIBRARY_PATH
14533 shlibpath_overrides_runpath=yes
14534 hardcode_into_libs=yes
14537 newsos6)
14538 version_type=linux
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14540 shlibpath_var=LD_LIBRARY_PATH
14541 shlibpath_overrides_runpath=yes
14544 *nto* | *qnx*)
14545 version_type=qnx
14546 need_lib_prefix=no
14547 need_version=no
14548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14549 soname_spec='${libname}${release}${shared_ext}$major'
14550 shlibpath_var=LD_LIBRARY_PATH
14551 shlibpath_overrides_runpath=no
14552 hardcode_into_libs=yes
14553 dynamic_linker='ldqnx.so'
14556 openbsd*)
14557 version_type=sunos
14558 sys_lib_dlsearch_path_spec="/usr/lib"
14559 need_lib_prefix=no
14560 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14561 case $host_os in
14562 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14563 *) need_version=no ;;
14564 esac
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567 shlibpath_var=LD_LIBRARY_PATH
14568 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14569 case $host_os in
14570 openbsd2.[89] | openbsd2.[89].*)
14571 shlibpath_overrides_runpath=no
14574 shlibpath_overrides_runpath=yes
14576 esac
14577 else
14578 shlibpath_overrides_runpath=yes
14582 os2*)
14583 libname_spec='$name'
14584 shrext_cmds=".dll"
14585 need_lib_prefix=no
14586 library_names_spec='$libname${shared_ext} $libname.a'
14587 dynamic_linker='OS/2 ld.exe'
14588 shlibpath_var=LIBPATH
14591 osf3* | osf4* | osf5*)
14592 version_type=osf
14593 need_lib_prefix=no
14594 need_version=no
14595 soname_spec='${libname}${release}${shared_ext}$major'
14596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14597 shlibpath_var=LD_LIBRARY_PATH
14598 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14599 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14602 rdos*)
14603 dynamic_linker=no
14606 solaris*)
14607 version_type=linux
14608 need_lib_prefix=no
14609 need_version=no
14610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14611 soname_spec='${libname}${release}${shared_ext}$major'
14612 shlibpath_var=LD_LIBRARY_PATH
14613 shlibpath_overrides_runpath=yes
14614 hardcode_into_libs=yes
14615 # ldd complains unless libraries are executable
14616 postinstall_cmds='chmod +x $lib'
14619 sunos4*)
14620 version_type=sunos
14621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14622 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14623 shlibpath_var=LD_LIBRARY_PATH
14624 shlibpath_overrides_runpath=yes
14625 if test "$with_gnu_ld" = yes; then
14626 need_lib_prefix=no
14628 need_version=yes
14631 sysv4 | sysv4.3*)
14632 version_type=linux
14633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14634 soname_spec='${libname}${release}${shared_ext}$major'
14635 shlibpath_var=LD_LIBRARY_PATH
14636 case $host_vendor in
14637 sni)
14638 shlibpath_overrides_runpath=no
14639 need_lib_prefix=no
14640 runpath_var=LD_RUN_PATH
14642 siemens)
14643 need_lib_prefix=no
14645 motorola)
14646 need_lib_prefix=no
14647 need_version=no
14648 shlibpath_overrides_runpath=no
14649 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14651 esac
14654 sysv4*MP*)
14655 if test -d /usr/nec ;then
14656 version_type=linux
14657 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14658 soname_spec='$libname${shared_ext}.$major'
14659 shlibpath_var=LD_LIBRARY_PATH
14663 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14664 version_type=freebsd-elf
14665 need_lib_prefix=no
14666 need_version=no
14667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14668 soname_spec='${libname}${release}${shared_ext}$major'
14669 shlibpath_var=LD_LIBRARY_PATH
14670 shlibpath_overrides_runpath=yes
14671 hardcode_into_libs=yes
14672 if test "$with_gnu_ld" = yes; then
14673 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14674 else
14675 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14676 case $host_os in
14677 sco3.2v5*)
14678 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14680 esac
14682 sys_lib_dlsearch_path_spec='/usr/lib'
14685 tpf*)
14686 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14687 version_type=linux
14688 need_lib_prefix=no
14689 need_version=no
14690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14691 shlibpath_var=LD_LIBRARY_PATH
14692 shlibpath_overrides_runpath=no
14693 hardcode_into_libs=yes
14696 uts4*)
14697 version_type=linux
14698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14699 soname_spec='${libname}${release}${shared_ext}$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14704 dynamic_linker=no
14706 esac
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14708 $as_echo "$dynamic_linker" >&6; }
14709 test "$dynamic_linker" = no && can_build_shared=no
14711 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14712 if test "$GCC" = yes; then
14713 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14716 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14717 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14719 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14720 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14761 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14762 hardcode_action_CXX=
14763 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14764 test -n "$runpath_var_CXX" ||
14765 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14767 # We can hardcode non-existent directories.
14768 if test "$hardcode_direct_CXX" != no &&
14769 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14770 # have to relink, otherwise we might link with an installed library
14771 # when we should be linking with a yet-to-be-installed one
14772 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14773 test "$hardcode_minus_L_CXX" != no; then
14774 # Linking always hardcodes the temporary library directory.
14775 hardcode_action_CXX=relink
14776 else
14777 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14778 hardcode_action_CXX=immediate
14780 else
14781 # We cannot hardcode anything, or else we can only hardcode existing
14782 # directories.
14783 hardcode_action_CXX=unsupported
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14786 $as_echo "$hardcode_action_CXX" >&6; }
14788 if test "$hardcode_action_CXX" = relink ||
14789 test "$inherit_rpath_CXX" = yes; then
14790 # Fast installation is not supported
14791 enable_fast_install=no
14792 elif test "$shlibpath_overrides_runpath" = yes ||
14793 test "$enable_shared" = no; then
14794 # Fast installation is not necessary
14795 enable_fast_install=needless
14804 fi # test -n "$compiler"
14806 CC=$lt_save_CC
14807 LDCXX=$LD
14808 LD=$lt_save_LD
14809 GCC=$lt_save_GCC
14810 with_gnu_ld=$lt_save_with_gnu_ld
14811 lt_cv_path_LDCXX=$lt_cv_path_LD
14812 lt_cv_path_LD=$lt_save_path_LD
14813 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14814 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14815 fi # test "$_lt_caught_CXX_error" != yes
14817 ac_ext=c
14818 ac_cpp='$CPP $CPPFLAGS'
14819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14835 ac_config_commands="$ac_config_commands libtool"
14840 # Only expand once:
14846 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14847 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14849 # Possibly disable most of the library.
14850 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14851 ## than just ignoring the results. Faster /and/ more correct, win win.
14853 # Check whether --enable-hosted-libstdcxx was given.
14854 if test "${enable_hosted_libstdcxx+set}" = set; then :
14855 enableval=$enable_hosted_libstdcxx;
14856 else
14857 case "$host" in
14858 arm*-*-symbianelf*)
14859 enable_hosted_libstdcxx=no
14862 enable_hosted_libstdcxx=yes
14864 esac
14867 if test "$enable_hosted_libstdcxx" = no; then
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14869 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14870 is_hosted=no
14871 hosted_define=0
14872 enable_abi_check=no
14873 enable_libstdcxx_pch=no
14874 else
14875 is_hosted=yes
14876 hosted_define=1
14880 cat >>confdefs.h <<_ACEOF
14881 #define _GLIBCXX_HOSTED $hosted_define
14882 _ACEOF
14886 # Enable compiler support that doesn't require linking.
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14889 $as_echo_n "checking for exception model to use... " >&6; }
14891 ac_ext=cpp
14892 ac_cpp='$CXXCPP $CPPFLAGS'
14893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14897 # Check whether --enable-sjlj-exceptions was given.
14898 if test "${enable_sjlj_exceptions+set}" = set; then :
14899 enableval=$enable_sjlj_exceptions;
14900 case "$enableval" in
14901 yes|no|auto) ;;
14902 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14903 esac
14905 else
14906 enable_sjlj_exceptions=auto
14911 if test $enable_sjlj_exceptions = auto; then
14912 # Botheration. Now we've got to detect the exception model. Link tests
14913 # against libgcc.a are problematic since we've not been given proper -L
14914 # bits for single-tree newlib and libgloss.
14916 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14917 cat > conftest.$ac_ext << EOF
14918 #line 14918 "configure"
14919 struct S { ~S(); };
14920 void bar();
14921 void foo()
14923 S s;
14924 bar();
14927 old_CXXFLAGS="$CXXFLAGS"
14928 CXXFLAGS=-S
14929 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14930 (eval $ac_compile) 2>&5
14931 ac_status=$?
14932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14933 test $ac_status = 0; }; then
14934 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14935 enable_sjlj_exceptions=yes
14936 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14937 enable_sjlj_exceptions=no
14938 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14939 enable_sjlj_exceptions=no
14942 CXXFLAGS="$old_CXXFLAGS"
14943 rm -f conftest*
14946 # This is a tad weird, for hysterical raisins. We have to map
14947 # enable/disable to two different models.
14948 case $enable_sjlj_exceptions in
14949 yes)
14951 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14953 ac_exception_model_name=sjlj
14956 ac_exception_model_name="call frame"
14959 as_fn_error "unable to detect exception model" "$LINENO" 5
14961 esac
14962 ac_ext=c
14963 ac_cpp='$CPP $CPPFLAGS'
14964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14969 $as_echo "$ac_exception_model_name" >&6; }
14972 # Check whether --enable-libstdcxx-pch was given.
14973 if test "${enable_libstdcxx_pch+set}" = set; then :
14974 enableval=$enable_libstdcxx_pch;
14975 case "$enableval" in
14976 yes|no) ;;
14977 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14978 esac
14980 else
14981 enable_libstdcxx_pch=$is_hosted
14985 if test $enable_libstdcxx_pch = yes; then
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14987 $as_echo_n "checking for compiler with PCH support... " >&6; }
14988 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14989 $as_echo_n "(cached) " >&6
14990 else
14991 ac_save_CXXFLAGS="$CXXFLAGS"
14992 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14994 ac_ext=cpp
14995 ac_cpp='$CXXCPP $CPPFLAGS'
14996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15000 echo '#include <math.h>' > conftest.h
15001 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15002 -o conftest.h.gch 1>&5 2>&1 &&
15003 echo '#error "pch failed"' > conftest.h &&
15004 echo '#include "conftest.h"' > conftest.cc &&
15005 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15006 then
15007 glibcxx_cv_prog_CXX_pch=yes
15008 else
15009 glibcxx_cv_prog_CXX_pch=no
15011 rm -f conftest*
15012 CXXFLAGS=$ac_save_CXXFLAGS
15013 ac_ext=c
15014 ac_cpp='$CPP $CPPFLAGS'
15015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15022 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15023 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15027 $as_echo_n "checking for enabled PCH... " >&6; }
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15029 $as_echo "$enable_libstdcxx_pch" >&6; }
15032 if test $enable_libstdcxx_pch = yes; then
15033 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15034 else
15035 glibcxx_PCHFLAGS=""
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15041 $as_echo_n "checking for thread model used by GCC... " >&6; }
15042 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15044 $as_echo "$target_thread_file" >&6; }
15046 if test $target_thread_file != single; then
15048 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15052 glibcxx_thread_h=gthr-$target_thread_file.h
15054 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15055 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15056 enable_thread=yes
15057 else
15058 enable_thread=no
15065 ac_ext=cpp
15066 ac_cpp='$CXXCPP $CPPFLAGS'
15067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15071 old_CXXFLAGS="$CXXFLAGS"
15073 # Do link tests if possible, instead asm tests, limited to some platforms
15074 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15075 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15076 atomic_builtins_link_tests=no
15077 if test x$gcc_no_link != xyes; then
15078 # Can do link tests. Limit to some tested platforms
15079 case "$host" in
15080 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15081 atomic_builtins_link_tests=yes
15083 esac
15086 if test x$atomic_builtins_link_tests = xyes; then
15088 # Do link tests.
15090 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15093 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15094 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15095 $as_echo_n "(cached) " >&6
15096 else
15098 if test x$gcc_no_link = xyes; then
15099 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15105 main ()
15107 typedef bool atomic_type;
15108 atomic_type c1;
15109 atomic_type c2;
15110 const atomic_type c3(0);
15111 __sync_fetch_and_add(&c1, c2);
15112 __sync_val_compare_and_swap(&c1, c3, c2);
15113 __sync_lock_test_and_set(&c1, c3);
15114 __sync_lock_release(&c1);
15115 __sync_synchronize();
15117 return 0;
15119 _ACEOF
15120 if ac_fn_cxx_try_link "$LINENO"; then :
15121 glibcxx_cv_atomic_bool=yes
15122 else
15123 glibcxx_cv_atomic_bool=no
15125 rm -f core conftest.err conftest.$ac_objext \
15126 conftest$ac_exeext conftest.$ac_ext
15130 if test $glibcxx_cv_atomic_bool = yes; then
15132 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15136 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15139 $as_echo_n "checking for atomic builtins for short... " >&6; }
15140 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15141 $as_echo_n "(cached) " >&6
15142 else
15144 if test x$gcc_no_link = xyes; then
15145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15148 /* end confdefs.h. */
15151 main ()
15153 typedef short atomic_type;
15154 atomic_type c1;
15155 atomic_type c2;
15156 const atomic_type c3(0);
15157 __sync_fetch_and_add(&c1, c2);
15158 __sync_val_compare_and_swap(&c1, c3, c2);
15159 __sync_lock_test_and_set(&c1, c3);
15160 __sync_lock_release(&c1);
15161 __sync_synchronize();
15163 return 0;
15165 _ACEOF
15166 if ac_fn_cxx_try_link "$LINENO"; then :
15167 glibcxx_cv_atomic_short=yes
15168 else
15169 glibcxx_cv_atomic_short=no
15171 rm -f core conftest.err conftest.$ac_objext \
15172 conftest$ac_exeext conftest.$ac_ext
15176 if test $glibcxx_cv_atomic_short = yes; then
15178 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15182 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15185 $as_echo_n "checking for atomic builtins for int... " >&6; }
15186 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15187 $as_echo_n "(cached) " >&6
15188 else
15190 if test x$gcc_no_link = xyes; then
15191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15197 main ()
15199 typedef int atomic_type;
15200 atomic_type c1;
15201 atomic_type c2;
15202 const atomic_type c3(0);
15203 __sync_fetch_and_add(&c1, c2);
15204 __sync_val_compare_and_swap(&c1, c3, c2);
15205 __sync_lock_test_and_set(&c1, c3);
15206 __sync_lock_release(&c1);
15207 __sync_synchronize();
15209 return 0;
15211 _ACEOF
15212 if ac_fn_cxx_try_link "$LINENO"; then :
15213 glibcxx_cv_atomic_int=yes
15214 else
15215 glibcxx_cv_atomic_int=no
15217 rm -f core conftest.err conftest.$ac_objext \
15218 conftest$ac_exeext conftest.$ac_ext
15222 if test $glibcxx_cv_atomic_int = yes; then
15224 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15228 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15231 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15232 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15233 $as_echo_n "(cached) " >&6
15234 else
15236 if test x$gcc_no_link = xyes; then
15237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15243 main ()
15245 typedef long long atomic_type;
15246 atomic_type c1;
15247 atomic_type c2;
15248 const atomic_type c3(0);
15249 __sync_fetch_and_add(&c1, c2);
15250 __sync_val_compare_and_swap(&c1, c3, c2);
15251 __sync_lock_test_and_set(&c1, c3);
15252 __sync_lock_release(&c1);
15253 __sync_synchronize();
15255 return 0;
15257 _ACEOF
15258 if ac_fn_cxx_try_link "$LINENO"; then :
15259 glibcxx_cv_atomic_long_long=yes
15260 else
15261 glibcxx_cv_atomic_long_long=no
15263 rm -f core conftest.err conftest.$ac_objext \
15264 conftest$ac_exeext conftest.$ac_ext
15268 if test $glibcxx_cv_atomic_long_long = yes; then
15270 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15274 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15276 else
15278 # Do asm tests.
15280 # Compile unoptimized.
15281 CXXFLAGS='-O0 -S'
15283 # Fake what AC_TRY_COMPILE does.
15285 cat > conftest.$ac_ext << EOF
15286 #line 15286 "configure"
15287 int main()
15289 typedef bool atomic_type;
15290 atomic_type c1;
15291 atomic_type c2;
15292 const atomic_type c3(0);
15293 __sync_fetch_and_add(&c1, c2);
15294 __sync_val_compare_and_swap(&c1, c3, c2);
15295 __sync_lock_test_and_set(&c1, c3);
15296 __sync_lock_release(&c1);
15297 __sync_synchronize();
15298 return 0;
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15303 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15305 (eval $ac_compile) 2>&5
15306 ac_status=$?
15307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15308 test $ac_status = 0; }; then
15309 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15310 glibcxx_cv_atomic_bool=no
15311 else
15313 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15315 glibcxx_cv_atomic_bool=yes
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15319 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15320 rm -f conftest*
15322 cat > conftest.$ac_ext << EOF
15323 #line 15323 "configure"
15324 int main()
15326 typedef short atomic_type;
15327 atomic_type c1;
15328 atomic_type c2;
15329 const atomic_type c3(0);
15330 __sync_fetch_and_add(&c1, c2);
15331 __sync_val_compare_and_swap(&c1, c3, c2);
15332 __sync_lock_test_and_set(&c1, c3);
15333 __sync_lock_release(&c1);
15334 __sync_synchronize();
15335 return 0;
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15340 $as_echo_n "checking for atomic builtins for short... " >&6; }
15341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15342 (eval $ac_compile) 2>&5
15343 ac_status=$?
15344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15345 test $ac_status = 0; }; then
15346 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15347 glibcxx_cv_atomic_short=no
15348 else
15350 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15352 glibcxx_cv_atomic_short=yes
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15356 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15357 rm -f conftest*
15359 cat > conftest.$ac_ext << EOF
15360 #line 15360 "configure"
15361 int main()
15363 // NB: _Atomic_word not necessarily int.
15364 typedef int atomic_type;
15365 atomic_type c1;
15366 atomic_type c2;
15367 const atomic_type c3(0);
15368 __sync_fetch_and_add(&c1, c2);
15369 __sync_val_compare_and_swap(&c1, c3, c2);
15370 __sync_lock_test_and_set(&c1, c3);
15371 __sync_lock_release(&c1);
15372 __sync_synchronize();
15373 return 0;
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15378 $as_echo_n "checking for atomic builtins for int... " >&6; }
15379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15380 (eval $ac_compile) 2>&5
15381 ac_status=$?
15382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15383 test $ac_status = 0; }; then
15384 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15385 glibcxx_cv_atomic_int=no
15386 else
15388 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15390 glibcxx_cv_atomic_int=yes
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15394 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15395 rm -f conftest*
15397 cat > conftest.$ac_ext << EOF
15398 #line 15398 "configure"
15399 int main()
15401 typedef long long atomic_type;
15402 atomic_type c1;
15403 atomic_type c2;
15404 const atomic_type c3(0);
15405 __sync_fetch_and_add(&c1, c2);
15406 __sync_val_compare_and_swap(&c1, c3, c2);
15407 __sync_lock_test_and_set(&c1, c3);
15408 __sync_lock_release(&c1);
15409 __sync_synchronize();
15410 return 0;
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15415 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15417 (eval $ac_compile) 2>&5
15418 ac_status=$?
15419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15420 test $ac_status = 0; }; then
15421 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15422 glibcxx_cv_atomic_long_long=no
15423 else
15425 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15427 glibcxx_cv_atomic_long_long=yes
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15431 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15432 rm -f conftest*
15436 CXXFLAGS="$old_CXXFLAGS"
15437 ac_ext=c
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15444 # Set atomicity_dir to builtins if either of above tests pass.
15445 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15446 atomicity_dir=cpu/generic/atomicity_builtins
15449 # If still generic, set to mutex.
15450 if test $atomicity_dir = "cpu/generic" ; then
15451 atomicity_dir=cpu/generic/atomicity_mutex
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15453 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15454 if test "x$target_thread_file" = xsingle; then
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15456 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15458 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15459 else
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15461 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15463 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15470 # Fake what AC_TRY_COMPILE does, without linking as this is
15471 # unnecessary for this test.
15473 cat > conftest.$ac_ext << EOF
15474 #line 15474 "configure"
15475 int main()
15477 _Decimal32 d1;
15478 _Decimal64 d2;
15479 _Decimal128 d3;
15480 return 0;
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15485 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15486 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15487 (eval $ac_compile) 2>&5
15488 ac_status=$?
15489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15490 test $ac_status = 0; }; then
15492 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15494 enable_dfp=yes
15495 else
15496 enable_dfp=no
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15499 $as_echo "$enable_dfp" >&6; }
15500 rm -f conftest*
15503 # Checks for compiler support that doesn't require linking.
15505 # All these tests are for C++; save the language and the compiler flags.
15506 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15507 # found in GLIBCXX_CONFIGURE.
15509 ac_ext=cpp
15510 ac_cpp='$CXXCPP $CPPFLAGS'
15511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15515 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15516 ac_save_CXXFLAGS="$CXXFLAGS"
15518 # Check for maintainer-mode bits.
15519 if test x"$USE_MAINTAINER_MODE" = xno; then
15520 WERROR=''
15521 else
15522 WERROR='-Werror'
15525 # Check for -ffunction-sections -fdata-sections
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15527 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15528 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h. */
15531 int foo; void bar() { };
15533 main ()
15537 return 0;
15539 _ACEOF
15540 if ac_fn_cxx_try_compile "$LINENO"; then :
15541 ac_fdsections=yes
15542 else
15543 ac_fdsections=no
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15546 if test "$ac_test_CXXFLAGS" = set; then
15547 CXXFLAGS="$ac_save_CXXFLAGS"
15548 else
15549 # this is the suspicious part
15550 CXXFLAGS=''
15552 if test x"$ac_fdsections" = x"yes"; then
15553 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15556 $as_echo "$ac_fdsections" >&6; }
15558 ac_ext=c
15559 ac_cpp='$CPP $CPPFLAGS'
15560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15568 # Enable all the variable C++ runtime options that don't require linking.
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15571 $as_echo_n "checking for underlying I/O to use... " >&6; }
15572 # Check whether --enable-cstdio was given.
15573 if test "${enable_cstdio+set}" = set; then :
15574 enableval=$enable_cstdio;
15575 case "$enableval" in
15576 stdio) ;;
15577 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15578 esac
15580 else
15581 enable_cstdio=stdio
15586 # Now that libio has been removed, you can have any color you want as long
15587 # as it's black. This is one big no-op until other packages are added, but
15588 # showing the framework never hurts.
15589 case ${enable_cstdio} in
15590 stdio)
15591 CSTDIO_H=config/io/c_io_stdio.h
15592 BASIC_FILE_H=config/io/basic_file_stdio.h
15593 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15595 $as_echo "stdio" >&6; }
15597 esac
15604 # Check whether --enable-clocale was given.
15605 if test "${enable_clocale+set}" = set; then :
15606 enableval=$enable_clocale;
15607 case "$enableval" in
15608 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15609 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15610 esac
15612 else
15613 enable_clocale=auto
15618 # Deal with gettext issues. Default to not using it (=no) until we detect
15619 # support for it later. Let the user turn it off via --e/d, but let that
15620 # default to on for easier handling.
15621 USE_NLS=no
15622 # Check whether --enable-nls was given.
15623 if test "${enable_nls+set}" = set; then :
15624 enableval=$enable_nls;
15625 else
15626 enable_nls=yes
15630 # Either a known packaage, or "auto"
15631 if test $enable_clocale = no || test $enable_clocale = yes; then
15632 enable_clocale=auto
15634 enable_clocale_flag=$enable_clocale
15636 # Probe for locale model to use if none specified.
15637 # Default to "generic".
15638 if test $enable_clocale_flag = auto; then
15639 case ${target_os} in
15640 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15641 enable_clocale_flag=gnu
15643 darwin* | freebsd*)
15644 enable_clocale_flag=darwin
15647 enable_clocale_flag=generic
15649 esac
15652 # Sanity check model, and test for special functionality.
15653 if test $enable_clocale_flag = gnu; then
15654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15655 /* end confdefs.h. */
15657 #include <features.h>
15658 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15659 _GLIBCXX_ok
15660 #endif
15662 _ACEOF
15663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15664 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15665 enable_clocale_flag=gnu
15666 else
15667 enable_clocale_flag=generic
15669 rm -f conftest*
15672 # Set it to scream when it hurts.
15673 ac_save_CFLAGS="$CFLAGS"
15674 CFLAGS="-Wimplicit-function-declaration -Werror"
15676 # Use strxfrm_l if available.
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15679 #define _GNU_SOURCE 1
15680 #include <string.h>
15681 #include <locale.h>
15683 main ()
15685 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15687 return 0;
15689 _ACEOF
15690 if ac_fn_c_try_compile "$LINENO"; then :
15692 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15697 # Use strerror_l if available.
15698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15700 #define _GNU_SOURCE 1
15701 #include <string.h>
15702 #include <locale.h>
15704 main ()
15706 __locale_t loc; strerror_l(5, loc);
15708 return 0;
15710 _ACEOF
15711 if ac_fn_c_try_compile "$LINENO"; then :
15713 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15718 CFLAGS="$ac_save_CFLAGS"
15721 # Perhaps use strerror_r if available, and strerror_l isn't.
15722 ac_save_CFLAGS="$CFLAGS"
15723 CFLAGS="-Wimplicit-function-declaration -Werror"
15724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15725 /* end confdefs.h. */
15726 #define _GNU_SOURCE 1
15727 #include <string.h>
15728 #include <locale.h>
15730 main ()
15732 char s[128]; strerror_r(5, s, 128);
15734 return 0;
15736 _ACEOF
15737 if ac_fn_c_try_compile "$LINENO"; then :
15739 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15743 CFLAGS="$ac_save_CFLAGS"
15745 # Set configure bits for specified locale package
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15747 $as_echo_n "checking for C locale to use... " >&6; }
15748 case ${enable_clocale_flag} in
15749 generic)
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15751 $as_echo "generic" >&6; }
15753 CLOCALE_H=config/locale/generic/c_locale.h
15754 CLOCALE_CC=config/locale/generic/c_locale.cc
15755 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15756 CCOLLATE_CC=config/locale/generic/collate_members.cc
15757 CCTYPE_CC=config/locale/generic/ctype_members.cc
15758 CMESSAGES_H=config/locale/generic/messages_members.h
15759 CMESSAGES_CC=config/locale/generic/messages_members.cc
15760 CMONEY_CC=config/locale/generic/monetary_members.cc
15761 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15762 CTIME_H=config/locale/generic/time_members.h
15763 CTIME_CC=config/locale/generic/time_members.cc
15764 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15766 darwin)
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15768 $as_echo "darwin or freebsd" >&6; }
15770 CLOCALE_H=config/locale/generic/c_locale.h
15771 CLOCALE_CC=config/locale/generic/c_locale.cc
15772 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15773 CCOLLATE_CC=config/locale/generic/collate_members.cc
15774 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15775 CMESSAGES_H=config/locale/generic/messages_members.h
15776 CMESSAGES_CC=config/locale/generic/messages_members.cc
15777 CMONEY_CC=config/locale/generic/monetary_members.cc
15778 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15779 CTIME_H=config/locale/generic/time_members.h
15780 CTIME_CC=config/locale/generic/time_members.cc
15781 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15784 gnu)
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15786 $as_echo "gnu" >&6; }
15788 # Declare intention to use gettext, and add support for specific
15789 # languages.
15790 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15791 ALL_LINGUAS="de fr"
15793 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15794 # Extract the first word of "msgfmt", so it can be a program name with args.
15795 set dummy msgfmt; ac_word=$2
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15797 $as_echo_n "checking for $ac_word... " >&6; }
15798 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15799 $as_echo_n "(cached) " >&6
15800 else
15801 if test -n "$check_msgfmt"; then
15802 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15803 else
15804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15805 for as_dir in $PATH
15807 IFS=$as_save_IFS
15808 test -z "$as_dir" && as_dir=.
15809 for ac_exec_ext in '' $ac_executable_extensions; do
15810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15811 ac_cv_prog_check_msgfmt="yes"
15812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15813 break 2
15815 done
15816 done
15817 IFS=$as_save_IFS
15819 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15822 check_msgfmt=$ac_cv_prog_check_msgfmt
15823 if test -n "$check_msgfmt"; then
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15825 $as_echo "$check_msgfmt" >&6; }
15826 else
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15828 $as_echo "no" >&6; }
15832 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15833 USE_NLS=yes
15835 # Export the build objects.
15836 for ling in $ALL_LINGUAS; do \
15837 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15838 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15839 done
15843 CLOCALE_H=config/locale/gnu/c_locale.h
15844 CLOCALE_CC=config/locale/gnu/c_locale.cc
15845 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15846 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15847 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15848 CMESSAGES_H=config/locale/gnu/messages_members.h
15849 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15850 CMONEY_CC=config/locale/gnu/monetary_members.cc
15851 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15852 CTIME_H=config/locale/gnu/time_members.h
15853 CTIME_CC=config/locale/gnu/time_members.cc
15854 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15856 ieee_1003.1-2001)
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15858 $as_echo "IEEE 1003.1" >&6; }
15860 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15861 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15862 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15863 CCOLLATE_CC=config/locale/generic/collate_members.cc
15864 CCTYPE_CC=config/locale/generic/ctype_members.cc
15865 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15866 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15867 CMONEY_CC=config/locale/generic/monetary_members.cc
15868 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15869 CTIME_H=config/locale/generic/time_members.h
15870 CTIME_CC=config/locale/generic/time_members.cc
15871 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15873 esac
15875 # This is where the testsuite looks for locale catalogs, using the
15876 # -DLOCALEDIR define during testsuite compilation.
15877 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15880 # A standalone libintl (e.g., GNU libintl) may be in use.
15881 if test $USE_NLS = yes; then
15882 for ac_header in libintl.h
15883 do :
15884 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15885 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15886 cat >>confdefs.h <<_ACEOF
15887 #define HAVE_LIBINTL_H 1
15888 _ACEOF
15890 else
15891 USE_NLS=no
15894 done
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15897 $as_echo_n "checking for library containing gettext... " >&6; }
15898 if test "${ac_cv_search_gettext+set}" = set; then :
15899 $as_echo_n "(cached) " >&6
15900 else
15901 ac_func_search_save_LIBS=$LIBS
15902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15903 /* end confdefs.h. */
15905 /* Override any GCC internal prototype to avoid an error.
15906 Use char because int might match the return type of a GCC
15907 builtin and then its argument prototype would still apply. */
15908 #ifdef __cplusplus
15909 extern "C"
15910 #endif
15911 char gettext ();
15913 main ()
15915 return gettext ();
15917 return 0;
15919 _ACEOF
15920 for ac_lib in '' intl; do
15921 if test -z "$ac_lib"; then
15922 ac_res="none required"
15923 else
15924 ac_res=-l$ac_lib
15925 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15927 if test x$gcc_no_link = xyes; then
15928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15930 if ac_fn_c_try_link "$LINENO"; then :
15931 ac_cv_search_gettext=$ac_res
15933 rm -f core conftest.err conftest.$ac_objext \
15934 conftest$ac_exeext
15935 if test "${ac_cv_search_gettext+set}" = set; then :
15936 break
15938 done
15939 if test "${ac_cv_search_gettext+set}" = set; then :
15941 else
15942 ac_cv_search_gettext=no
15944 rm conftest.$ac_ext
15945 LIBS=$ac_func_search_save_LIBS
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15948 $as_echo "$ac_cv_search_gettext" >&6; }
15949 ac_res=$ac_cv_search_gettext
15950 if test "$ac_res" != no; then :
15951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15953 else
15954 USE_NLS=no
15958 if test $USE_NLS = yes; then
15960 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15980 $as_echo_n "checking for std::allocator base class... " >&6; }
15981 # Check whether --enable-libstdcxx-allocator was given.
15982 if test "${enable_libstdcxx_allocator+set}" = set; then :
15983 enableval=$enable_libstdcxx_allocator;
15984 case "$enableval" in
15985 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15986 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15987 esac
15989 else
15990 enable_libstdcxx_allocator=auto
15995 # If they didn't use this option switch, or if they specified --enable
15996 # with no specific model, we'll have to look for one. If they
15997 # specified --disable (???), do likewise.
15998 if test $enable_libstdcxx_allocator = no ||
15999 test $enable_libstdcxx_allocator = yes;
16000 then
16001 enable_libstdcxx_allocator=auto
16004 # Either a known package, or "auto". Auto implies the default choice
16005 # for a particular platform.
16006 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16008 # Probe for host-specific support if no specific model is specified.
16009 # Default to "new".
16010 if test $enable_libstdcxx_allocator_flag = auto; then
16011 case ${target_os} in
16012 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16013 enable_libstdcxx_allocator_flag=new
16016 enable_libstdcxx_allocator_flag=new
16018 esac
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16021 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16024 # Set configure bits for specified locale package
16025 case ${enable_libstdcxx_allocator_flag} in
16026 bitmap)
16027 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16028 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16030 malloc)
16031 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16032 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16035 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16036 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16038 new)
16039 ALLOCATOR_H=config/allocator/new_allocator_base.h
16040 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16042 pool)
16043 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16044 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16046 esac
16052 # Check whether --enable-cheaders was given.
16053 if test "${enable_cheaders+set}" = set; then :
16054 enableval=$enable_cheaders;
16055 case "$enableval" in
16056 c|c_std|c_global) ;;
16057 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16058 esac
16060 else
16061 enable_cheaders=$c_model
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16066 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16068 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16070 # Allow overrides to configure.host here.
16071 if test $enable_cheaders = c_global; then
16072 c_compatibility=yes
16081 # Check whether --enable-long-long was given.
16082 if test "${enable_long_long+set}" = set; then :
16083 enableval=$enable_long_long;
16084 case "$enableval" in
16085 yes|no) ;;
16086 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16087 esac
16089 else
16090 enable_long_long=yes
16094 if test $enable_long_long = yes; then
16096 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16100 $as_echo_n "checking for enabled long long specializations... " >&6; }
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16102 $as_echo "$enable_long_long" >&6; }
16105 # Check whether --enable-wchar_t was given.
16106 if test "${enable_wchar_t+set}" = set; then :
16107 enableval=$enable_wchar_t;
16108 case "$enableval" in
16109 yes|no) ;;
16110 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16111 esac
16113 else
16114 enable_wchar_t=yes
16119 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16120 for ac_header in wchar.h
16121 do :
16122 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_WCHAR_H 1
16126 _ACEOF
16127 ac_has_wchar_h=yes
16128 else
16129 ac_has_wchar_h=no
16132 done
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16135 $as_echo_n "checking for mbstate_t... " >&6; }
16136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16137 /* end confdefs.h. */
16138 #include <wchar.h>
16140 main ()
16142 mbstate_t teststate;
16144 return 0;
16146 _ACEOF
16147 if ac_fn_c_try_compile "$LINENO"; then :
16148 have_mbstate_t=yes
16149 else
16150 have_mbstate_t=no
16152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16154 $as_echo "$have_mbstate_t" >&6; }
16155 if test x"$have_mbstate_t" = xyes; then
16157 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16161 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16162 # ac_has_wchar_h.
16163 for ac_header in wctype.h
16164 do :
16165 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16166 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16167 cat >>confdefs.h <<_ACEOF
16168 #define HAVE_WCTYPE_H 1
16169 _ACEOF
16170 ac_has_wctype_h=yes
16171 else
16172 ac_has_wctype_h=no
16175 done
16178 if test x"$enable_wchar_t" = x"yes"; then
16181 ac_ext=cpp
16182 ac_cpp='$CXXCPP $CPPFLAGS'
16183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16188 if test x"$ac_has_wchar_h" = xyes &&
16189 test x"$ac_has_wctype_h" = xyes; then
16190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 #include <wchar.h>
16193 #include <stddef.h>
16194 wint_t i;
16195 long l = WEOF;
16196 long j = WCHAR_MIN;
16197 long k = WCHAR_MAX;
16198 namespace test
16200 using ::btowc;
16201 using ::fgetwc;
16202 using ::fgetws;
16203 using ::fputwc;
16204 using ::fputws;
16205 using ::fwide;
16206 using ::fwprintf;
16207 using ::fwscanf;
16208 using ::getwc;
16209 using ::getwchar;
16210 using ::mbrlen;
16211 using ::mbrtowc;
16212 using ::mbsinit;
16213 using ::mbsrtowcs;
16214 using ::putwc;
16215 using ::putwchar;
16216 using ::swprintf;
16217 using ::swscanf;
16218 using ::ungetwc;
16219 using ::vfwprintf;
16220 using ::vswprintf;
16221 using ::vwprintf;
16222 using ::wcrtomb;
16223 using ::wcscat;
16224 using ::wcschr;
16225 using ::wcscmp;
16226 using ::wcscoll;
16227 using ::wcscpy;
16228 using ::wcscspn;
16229 using ::wcsftime;
16230 using ::wcslen;
16231 using ::wcsncat;
16232 using ::wcsncmp;
16233 using ::wcsncpy;
16234 using ::wcspbrk;
16235 using ::wcsrchr;
16236 using ::wcsrtombs;
16237 using ::wcsspn;
16238 using ::wcsstr;
16239 using ::wcstod;
16240 using ::wcstok;
16241 using ::wcstol;
16242 using ::wcstoul;
16243 using ::wcsxfrm;
16244 using ::wctob;
16245 using ::wmemchr;
16246 using ::wmemcmp;
16247 using ::wmemcpy;
16248 using ::wmemmove;
16249 using ::wmemset;
16250 using ::wprintf;
16251 using ::wscanf;
16255 main ()
16259 return 0;
16261 _ACEOF
16262 if ac_fn_cxx_try_compile "$LINENO"; then :
16264 else
16265 enable_wchar_t=no
16267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16268 else
16269 enable_wchar_t=no
16272 ac_ext=c
16273 ac_cpp='$CPP $CPPFLAGS'
16274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16280 if test x"$enable_wchar_t" = x"yes"; then
16282 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16287 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16289 $as_echo "$enable_wchar_t" >&6; }
16293 # Check whether --enable-c99 was given.
16294 if test "${enable_c99+set}" = set; then :
16295 enableval=$enable_c99;
16296 case "$enableval" in
16297 yes|no) ;;
16298 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16299 esac
16301 else
16302 enable_c99=yes
16307 if test x"$enable_c99" = x"yes"; then
16310 ac_ext=cpp
16311 ac_cpp='$CXXCPP $CPPFLAGS'
16312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16317 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16318 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16319 # spuriously enabled.
16320 # Long term, -std=c++0x could be even better, could manage to explicitely
16321 # request C99 facilities to the underlying C headers.
16322 ac_save_CXXFLAGS="$CXXFLAGS"
16323 CXXFLAGS="$CXXFLAGS -std=c++98"
16324 ac_save_LIBS="$LIBS"
16325 ac_save_gcc_no_link="$gcc_no_link"
16327 if test x$gcc_no_link != xyes; then
16328 # Use -fno-exceptions to that the C driver can link these tests without
16329 # hitting undefined references to personality routines.
16330 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16332 $as_echo_n "checking for sin in -lm... " >&6; }
16333 if test "${ac_cv_lib_m_sin+set}" = set; then :
16334 $as_echo_n "(cached) " >&6
16335 else
16336 ac_check_lib_save_LIBS=$LIBS
16337 LIBS="-lm $LIBS"
16338 if test x$gcc_no_link = xyes; then
16339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16342 /* end confdefs.h. */
16344 /* Override any GCC internal prototype to avoid an error.
16345 Use char because int might match the return type of a GCC
16346 builtin and then its argument prototype would still apply. */
16347 #ifdef __cplusplus
16348 extern "C"
16349 #endif
16350 char sin ();
16352 main ()
16354 return sin ();
16356 return 0;
16358 _ACEOF
16359 if ac_fn_cxx_try_link "$LINENO"; then :
16360 ac_cv_lib_m_sin=yes
16361 else
16362 ac_cv_lib_m_sin=no
16364 rm -f core conftest.err conftest.$ac_objext \
16365 conftest$ac_exeext conftest.$ac_ext
16366 LIBS=$ac_check_lib_save_LIBS
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16369 $as_echo "$ac_cv_lib_m_sin" >&6; }
16370 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16372 LIBS="$LIBS -lm"
16374 else
16376 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16377 gcc_no_link=yes
16383 # Check for the existence of <math.h> functions used if C99 is enabled.
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16385 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16386 if test "${glibcxx_cv_c99_math+set}" = set; then :
16387 $as_echo_n "(cached) " >&6
16388 else
16390 if test x$gcc_no_link = xyes; then
16391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h. */
16393 #include <math.h>
16394 volatile double d1, d2;
16395 volatile int i;
16397 main ()
16399 i = fpclassify(d1);
16400 i = isfinite(d1);
16401 i = isinf(d1);
16402 i = isnan(d1);
16403 i = isnormal(d1);
16404 i = signbit(d1);
16405 i = isgreater(d1, d2);
16406 i = isgreaterequal(d1, d2);
16407 i = isless(d1, d2);
16408 i = islessequal(d1, d2);
16409 i = islessgreater(d1, d2);
16410 i = islessgreater(d1, d2);
16411 i = isunordered(d1, d2);
16414 return 0;
16416 _ACEOF
16417 if ac_fn_cxx_try_compile "$LINENO"; then :
16418 glibcxx_cv_c99_math=yes
16419 else
16420 glibcxx_cv_c99_math=no
16422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16423 else
16424 if test x$gcc_no_link = xyes; then
16425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16428 /* end confdefs.h. */
16429 #include <math.h>
16430 volatile double d1, d2;
16431 volatile int i;
16433 main ()
16435 i = fpclassify(d1);
16436 i = isfinite(d1);
16437 i = isinf(d1);
16438 i = isnan(d1);
16439 i = isnormal(d1);
16440 i = signbit(d1);
16441 i = isgreater(d1, d2);
16442 i = isgreaterequal(d1, d2);
16443 i = isless(d1, d2);
16444 i = islessequal(d1, d2);
16445 i = islessgreater(d1, d2);
16446 i = islessgreater(d1, d2);
16447 i = isunordered(d1, d2);
16450 return 0;
16452 _ACEOF
16453 if ac_fn_cxx_try_link "$LINENO"; then :
16454 glibcxx_cv_c99_math=yes
16455 else
16456 glibcxx_cv_c99_math=no
16458 rm -f core conftest.err conftest.$ac_objext \
16459 conftest$ac_exeext conftest.$ac_ext
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16465 $as_echo "$glibcxx_cv_c99_math" >&6; }
16466 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16468 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16472 # Check for the existence of <complex.h> complex math functions.
16473 # This is necessary even though libstdc++ uses the builtin versions
16474 # of these functions, because if the builtin cannot be used, a reference
16475 # to the library function is emitted.
16476 for ac_header in tgmath.h
16477 do :
16478 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16479 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16480 cat >>confdefs.h <<_ACEOF
16481 #define HAVE_TGMATH_H 1
16482 _ACEOF
16483 ac_has_tgmath_h=yes
16484 else
16485 ac_has_tgmath_h=no
16488 done
16490 for ac_header in complex.h
16491 do :
16492 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16493 if test "x$ac_cv_header_complex_h" = x""yes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_COMPLEX_H 1
16496 _ACEOF
16497 ac_has_complex_h=yes
16498 else
16499 ac_has_complex_h=no
16502 done
16504 glibcxx_cv_c99_complex=no;
16505 if test x"$ac_has_complex_h" = x"yes"; then
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16507 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16508 if test x$gcc_no_link = xyes; then
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16511 #include <complex.h>
16512 typedef __complex__ float float_type;
16513 typedef __complex__ double double_type;
16514 typedef __complex__ long double ld_type;
16515 volatile float_type tmpf;
16516 volatile double_type tmpd;
16517 volatile ld_type tmpld;
16518 volatile float f;
16519 volatile double d;
16520 volatile long double ld;
16522 main ()
16524 f = cabsf(tmpf);
16525 f = cargf(tmpf);
16526 tmpf = ccosf(tmpf);
16527 tmpf = ccoshf(tmpf);
16528 tmpf = cexpf(tmpf);
16529 tmpf = clogf(tmpf);
16530 tmpf = csinf(tmpf);
16531 tmpf = csinhf(tmpf);
16532 tmpf = csqrtf(tmpf);
16533 tmpf = ctanf(tmpf);
16534 tmpf = ctanhf(tmpf);
16535 tmpf = cpowf(tmpf, tmpf);
16536 tmpf = cprojf(tmpf);
16537 d = cabs(tmpd);
16538 d = carg(tmpd);
16539 tmpd = ccos(tmpd);
16540 tmpd = ccosh(tmpd);
16541 tmpd = cexp(tmpd);
16542 tmpd = clog(tmpd);
16543 tmpd = csin(tmpd);
16544 tmpd = csinh(tmpd);
16545 tmpd = csqrt(tmpd);
16546 tmpd = ctan(tmpd);
16547 tmpd = ctanh(tmpd);
16548 tmpd = cpow(tmpd, tmpd);
16549 tmpd = cproj(tmpd);
16550 ld = cabsl(tmpld);
16551 ld = cargl(tmpld);
16552 tmpld = ccosl(tmpld);
16553 tmpld = ccoshl(tmpld);
16554 tmpld = cexpl(tmpld);
16555 tmpld = clogl(tmpld);
16556 tmpld = csinl(tmpld);
16557 tmpld = csinhl(tmpld);
16558 tmpld = csqrtl(tmpld);
16559 tmpld = ctanl(tmpld);
16560 tmpld = ctanhl(tmpld);
16561 tmpld = cpowl(tmpld, tmpld);
16562 tmpld = cprojl(tmpld);
16565 return 0;
16567 _ACEOF
16568 if ac_fn_cxx_try_compile "$LINENO"; then :
16569 glibcxx_cv_c99_complex=yes
16570 else
16571 glibcxx_cv_c99_complex=no
16573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16574 else
16575 if test x$gcc_no_link = xyes; then
16576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16580 #include <complex.h>
16581 typedef __complex__ float float_type;
16582 typedef __complex__ double double_type;
16583 typedef __complex__ long double ld_type;
16584 volatile float_type tmpf;
16585 volatile double_type tmpd;
16586 volatile ld_type tmpld;
16587 volatile float f;
16588 volatile double d;
16589 volatile long double ld;
16591 main ()
16593 f = cabsf(tmpf);
16594 f = cargf(tmpf);
16595 tmpf = ccosf(tmpf);
16596 tmpf = ccoshf(tmpf);
16597 tmpf = cexpf(tmpf);
16598 tmpf = clogf(tmpf);
16599 tmpf = csinf(tmpf);
16600 tmpf = csinhf(tmpf);
16601 tmpf = csqrtf(tmpf);
16602 tmpf = ctanf(tmpf);
16603 tmpf = ctanhf(tmpf);
16604 tmpf = cpowf(tmpf, tmpf);
16605 tmpf = cprojf(tmpf);
16606 d = cabs(tmpd);
16607 d = carg(tmpd);
16608 tmpd = ccos(tmpd);
16609 tmpd = ccosh(tmpd);
16610 tmpd = cexp(tmpd);
16611 tmpd = clog(tmpd);
16612 tmpd = csin(tmpd);
16613 tmpd = csinh(tmpd);
16614 tmpd = csqrt(tmpd);
16615 tmpd = ctan(tmpd);
16616 tmpd = ctanh(tmpd);
16617 tmpd = cpow(tmpd, tmpd);
16618 tmpd = cproj(tmpd);
16619 ld = cabsl(tmpld);
16620 ld = cargl(tmpld);
16621 tmpld = ccosl(tmpld);
16622 tmpld = ccoshl(tmpld);
16623 tmpld = cexpl(tmpld);
16624 tmpld = clogl(tmpld);
16625 tmpld = csinl(tmpld);
16626 tmpld = csinhl(tmpld);
16627 tmpld = csqrtl(tmpld);
16628 tmpld = ctanl(tmpld);
16629 tmpld = ctanhl(tmpld);
16630 tmpld = cpowl(tmpld, tmpld);
16631 tmpld = cprojl(tmpld);
16634 return 0;
16636 _ACEOF
16637 if ac_fn_cxx_try_link "$LINENO"; then :
16638 glibcxx_cv_c99_complex=yes
16639 else
16640 glibcxx_cv_c99_complex=no
16642 rm -f core conftest.err conftest.$ac_objext \
16643 conftest$ac_exeext conftest.$ac_ext
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16647 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16648 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16650 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16654 # Check for the existence in <stdio.h> of vscanf, et. al.
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16656 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16657 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16658 $as_echo_n "(cached) " >&6
16659 else
16661 if test x$gcc_no_link = xyes; then
16662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h. */
16664 #include <stdio.h>
16665 #include <stdarg.h>
16666 void foo(char* fmt, ...)
16668 va_list args; va_start(args, fmt);
16669 vfscanf(stderr, "%i", args);
16670 vscanf("%i", args);
16671 vsnprintf(fmt, 0, "%i", args);
16672 vsscanf(fmt, "%i", args);
16675 main ()
16677 snprintf("12", 0, "%i");
16679 return 0;
16681 _ACEOF
16682 if ac_fn_cxx_try_compile "$LINENO"; then :
16683 glibcxx_cv_c99_stdio=yes
16684 else
16685 glibcxx_cv_c99_stdio=no
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688 else
16689 if test x$gcc_no_link = xyes; then
16690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16694 #include <stdio.h>
16695 #include <stdarg.h>
16696 void foo(char* fmt, ...)
16698 va_list args; va_start(args, fmt);
16699 vfscanf(stderr, "%i", args);
16700 vscanf("%i", args);
16701 vsnprintf(fmt, 0, "%i", args);
16702 vsscanf(fmt, "%i", args);
16705 main ()
16707 snprintf("12", 0, "%i");
16709 return 0;
16711 _ACEOF
16712 if ac_fn_cxx_try_link "$LINENO"; then :
16713 glibcxx_cv_c99_stdio=yes
16714 else
16715 glibcxx_cv_c99_stdio=no
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16724 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16726 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16728 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16729 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16730 $as_echo_n "(cached) " >&6
16731 else
16733 if test x$gcc_no_link = xyes; then
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16736 #include <stdlib.h>
16737 volatile float f;
16738 volatile long double ld;
16739 volatile unsigned long long ll;
16740 lldiv_t mydivt;
16742 main ()
16744 char* tmp;
16745 f = strtof("gnu", &tmp);
16746 ld = strtold("gnu", &tmp);
16747 ll = strtoll("gnu", &tmp, 10);
16748 ll = strtoull("gnu", &tmp, 10);
16749 ll = llabs(10);
16750 mydivt = lldiv(10,1);
16751 ll = mydivt.quot;
16752 ll = mydivt.rem;
16753 ll = atoll("10");
16754 _Exit(0);
16757 return 0;
16759 _ACEOF
16760 if ac_fn_cxx_try_compile "$LINENO"; then :
16761 glibcxx_cv_c99_stdlib=yes
16762 else
16763 glibcxx_cv_c99_stdlib=no
16765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16766 else
16767 if test x$gcc_no_link = xyes; then
16768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16771 /* end confdefs.h. */
16772 #include <stdlib.h>
16773 volatile float f;
16774 volatile long double ld;
16775 volatile unsigned long long ll;
16776 lldiv_t mydivt;
16778 main ()
16780 char* tmp;
16781 f = strtof("gnu", &tmp);
16782 ld = strtold("gnu", &tmp);
16783 ll = strtoll("gnu", &tmp, 10);
16784 ll = strtoull("gnu", &tmp, 10);
16785 ll = llabs(10);
16786 mydivt = lldiv(10,1);
16787 ll = mydivt.quot;
16788 ll = mydivt.rem;
16789 ll = atoll("10");
16790 _Exit(0);
16793 return 0;
16795 _ACEOF
16796 if ac_fn_cxx_try_link "$LINENO"; then :
16797 glibcxx_cv_c99_stdlib=yes
16798 else
16799 glibcxx_cv_c99_stdlib=no
16801 rm -f core conftest.err conftest.$ac_objext \
16802 conftest$ac_exeext conftest.$ac_ext
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16808 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16810 # Check for the existence in <wchar.h> of wcstold, etc.
16811 glibcxx_cv_c99_wchar=no;
16812 if test x"$ac_has_wchar_h" = xyes &&
16813 test x"$ac_has_wctype_h" = xyes; then
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16815 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16818 #include <wchar.h>
16819 namespace test
16821 using ::wcstold;
16822 using ::wcstoll;
16823 using ::wcstoull;
16827 main ()
16831 return 0;
16833 _ACEOF
16834 if ac_fn_cxx_try_compile "$LINENO"; then :
16835 glibcxx_cv_c99_wchar=yes
16836 else
16837 glibcxx_cv_c99_wchar=no
16839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16841 # Checks for wide character functions that may not be present.
16842 # Injection of these is wrapped with guard macros.
16843 # NB: only put functions here, instead of immediately above, if
16844 # absolutely necessary.
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h. */
16847 #include <wchar.h>
16848 namespace test { using ::vfwscanf; }
16850 main ()
16854 return 0;
16856 _ACEOF
16857 if ac_fn_cxx_try_compile "$LINENO"; then :
16859 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16866 #include <wchar.h>
16867 namespace test { using ::vswscanf; }
16869 main ()
16873 return 0;
16875 _ACEOF
16876 if ac_fn_cxx_try_compile "$LINENO"; then :
16878 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16885 #include <wchar.h>
16886 namespace test { using ::vwscanf; }
16888 main ()
16892 return 0;
16894 _ACEOF
16895 if ac_fn_cxx_try_compile "$LINENO"; then :
16897 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <wchar.h>
16905 namespace test { using ::wcstof; }
16907 main ()
16911 return 0;
16913 _ACEOF
16914 if ac_fn_cxx_try_compile "$LINENO"; then :
16916 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16922 /* end confdefs.h. */
16923 #include <wctype.h>
16925 main ()
16927 wint_t t; int i = iswblank(t);
16929 return 0;
16931 _ACEOF
16932 if ac_fn_cxx_try_compile "$LINENO"; then :
16934 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16940 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16943 # Option parsed, now set things appropriately.
16944 if test x"$glibcxx_cv_c99_math" = x"no" ||
16945 test x"$glibcxx_cv_c99_complex" = x"no" ||
16946 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16947 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16948 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16949 enable_c99=no;
16950 else
16952 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16956 gcc_no_link="$ac_save_gcc_no_link"
16957 LIBS="$ac_save_LIBS"
16958 CXXFLAGS="$ac_save_CXXFLAGS"
16959 ac_ext=c
16960 ac_cpp='$CPP $CPPFLAGS'
16961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16968 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16970 $as_echo "$enable_c99" >&6; }
16973 # Check whether --enable-concept-checks was given.
16974 if test "${enable_concept_checks+set}" = set; then :
16975 enableval=$enable_concept_checks;
16976 case "$enableval" in
16977 yes|no) ;;
16978 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16979 esac
16981 else
16982 enable_concept_checks=no
16986 if test $enable_concept_checks = yes; then
16988 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16993 # Check whether --enable-libstdcxx-debug-flags was given.
16994 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16995 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16996 xno | x) enable_libstdcxx_debug_flags= ;;
16997 x-*) ;;
16998 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16999 esac
17000 else
17001 enable_libstdcxx_debug_flags="-g3 -O0"
17006 # Option parsed, now set things appropriately
17007 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17011 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17015 $as_echo_n "checking for additional debug build... " >&6; }
17016 # Check whether --enable-libstdcxx-debug was given.
17017 if test "${enable_libstdcxx_debug+set}" = set; then :
17018 enableval=$enable_libstdcxx_debug;
17019 case "$enableval" in
17020 yes|no) ;;
17021 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17022 esac
17024 else
17025 enable_libstdcxx_debug=no
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17030 $as_echo "$enable_libstdcxx_debug" >&6; }
17035 enable_parallel=no;
17037 # See if configured libgomp/omp.h exists. (libgomp may be in
17038 # noconfigdirs but not explicitly disabled.)
17039 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17040 enable_parallel=yes;
17041 else
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17043 $as_echo "$as_me: target-libgomp not built" >&6;}
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17047 $as_echo_n "checking for parallel mode support... " >&6; }
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17049 $as_echo "$enable_parallel" >&6; }
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17053 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17054 # Check whether --enable-cxx-flags was given.
17055 if test "${enable_cxx_flags+set}" = set; then :
17056 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17057 xno | x) enable_cxx_flags= ;;
17058 x-*) ;;
17059 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17060 esac
17061 else
17062 enable_cxx_flags=
17067 # Run through flags (either default or command-line) and set anything
17068 # extra (e.g., #defines) that must accompany particular g++ options.
17069 if test -n "$enable_cxx_flags"; then
17070 for f in $enable_cxx_flags; do
17071 case "$f" in
17072 -fhonor-std) ;;
17073 -*) ;;
17074 *) # and we're trying to pass /what/ exactly?
17075 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17076 esac
17077 done
17080 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17082 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17086 # Check whether --enable-fully-dynamic-string was given.
17087 if test "${enable_fully_dynamic_string+set}" = set; then :
17088 enableval=$enable_fully_dynamic_string;
17089 case "$enableval" in
17090 yes|no) ;;
17091 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17092 esac
17094 else
17095 enable_fully_dynamic_string=no
17099 if test $enable_fully_dynamic_string = yes; then
17101 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17106 # Checks for operating systems support that doesn't require linking.
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17110 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17111 if test "${glibcxx_cv_system_error1+set}" = set; then :
17112 $as_echo_n "(cached) " >&6
17113 else
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 #include <errno.h>
17119 main ()
17121 int i = EOWNERDEAD;
17123 return 0;
17125 _ACEOF
17126 if ac_fn_c_try_compile "$LINENO"; then :
17127 glibcxx_cv_system_error1=yes
17128 else
17129 glibcxx_cv_system_error1=no
17131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17136 $as_echo "$glibcxx_cv_system_error1" >&6; }
17137 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17139 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17143 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17144 if test "${glibcxx_cv_system_error2+set}" = set; then :
17145 $as_echo_n "(cached) " >&6
17146 else
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17150 #include <errno.h>
17152 main ()
17154 int i = ENOTRECOVERABLE;
17156 return 0;
17158 _ACEOF
17159 if ac_fn_c_try_compile "$LINENO"; then :
17160 glibcxx_cv_system_error2=yes
17161 else
17162 glibcxx_cv_system_error2=no
17164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17169 $as_echo "$glibcxx_cv_system_error2" >&6; }
17170 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17172 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17176 $as_echo_n "checking for ENOLINK... " >&6; }
17177 if test "${glibcxx_cv_system_error3+set}" = set; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 #include <errno.h>
17185 main ()
17187 int i = ENOLINK;
17189 return 0;
17191 _ACEOF
17192 if ac_fn_c_try_compile "$LINENO"; then :
17193 glibcxx_cv_system_error3=yes
17194 else
17195 glibcxx_cv_system_error3=no
17197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17202 $as_echo "$glibcxx_cv_system_error3" >&6; }
17203 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17205 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17209 $as_echo_n "checking for EPROTO... " >&6; }
17210 if test "${glibcxx_cv_system_error4+set}" = set; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17216 #include <errno.h>
17218 main ()
17220 int i = EPROTO;
17222 return 0;
17224 _ACEOF
17225 if ac_fn_c_try_compile "$LINENO"; then :
17226 glibcxx_cv_system_error4=yes
17227 else
17228 glibcxx_cv_system_error4=no
17230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17235 $as_echo "$glibcxx_cv_system_error4" >&6; }
17236 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17238 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17242 $as_echo_n "checking for ENODATA... " >&6; }
17243 if test "${glibcxx_cv_system_error5+set}" = set; then :
17244 $as_echo_n "(cached) " >&6
17245 else
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17249 #include <errno.h>
17251 main ()
17253 int i = ENODATA;
17255 return 0;
17257 _ACEOF
17258 if ac_fn_c_try_compile "$LINENO"; then :
17259 glibcxx_cv_system_error5=yes
17260 else
17261 glibcxx_cv_system_error5=no
17263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17268 $as_echo "$glibcxx_cv_system_error5" >&6; }
17269 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17271 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17275 $as_echo_n "checking for ENOSR... " >&6; }
17276 if test "${glibcxx_cv_system_error6+set}" = set; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17282 #include <errno.h>
17284 main ()
17286 int i = ENOSR;
17288 return 0;
17290 _ACEOF
17291 if ac_fn_c_try_compile "$LINENO"; then :
17292 glibcxx_cv_system_error6=yes
17293 else
17294 glibcxx_cv_system_error6=no
17296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17301 $as_echo "$glibcxx_cv_system_error6" >&6; }
17302 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17304 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17308 $as_echo_n "checking for ENOSTR... " >&6; }
17309 if test "${glibcxx_cv_system_error7+set}" = set; then :
17310 $as_echo_n "(cached) " >&6
17311 else
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315 #include <errno.h>
17317 main ()
17319 int i = ENOSTR;
17321 return 0;
17323 _ACEOF
17324 if ac_fn_c_try_compile "$LINENO"; then :
17325 glibcxx_cv_system_error7=yes
17326 else
17327 glibcxx_cv_system_error7=no
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17334 $as_echo "$glibcxx_cv_system_error7" >&6; }
17335 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17337 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17341 $as_echo_n "checking for ETIME... " >&6; }
17342 if test "${glibcxx_cv_system_error8+set}" = set; then :
17343 $as_echo_n "(cached) " >&6
17344 else
17346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17347 /* end confdefs.h. */
17348 #include <errno.h>
17350 main ()
17352 int i = ETIME;
17354 return 0;
17356 _ACEOF
17357 if ac_fn_c_try_compile "$LINENO"; then :
17358 glibcxx_cv_system_error8=yes
17359 else
17360 glibcxx_cv_system_error8=no
17362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17367 $as_echo "$glibcxx_cv_system_error8" >&6; }
17368 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17370 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17374 $as_echo_n "checking for EBADMSG... " >&6; }
17375 if test "${glibcxx_cv_system_error9+set}" = set; then :
17376 $as_echo_n "(cached) " >&6
17377 else
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 #include <errno.h>
17383 main ()
17385 int i = EBADMSG;
17387 return 0;
17389 _ACEOF
17390 if ac_fn_c_try_compile "$LINENO"; then :
17391 glibcxx_cv_system_error9=yes
17392 else
17393 glibcxx_cv_system_error9=no
17395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17400 $as_echo "$glibcxx_cv_system_error9" >&6; }
17401 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17403 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17407 $as_echo_n "checking for ECANCELED... " >&6; }
17408 if test "${glibcxx_cv_system_error10+set}" = set; then :
17409 $as_echo_n "(cached) " >&6
17410 else
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 #include <errno.h>
17416 main ()
17418 int i = ECANCELED;
17420 return 0;
17422 _ACEOF
17423 if ac_fn_c_try_compile "$LINENO"; then :
17424 glibcxx_cv_system_error10=yes
17425 else
17426 glibcxx_cv_system_error10=no
17428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17433 $as_echo "$glibcxx_cv_system_error10" >&6; }
17434 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17436 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17440 $as_echo_n "checking for EOVERFLOW... " >&6; }
17441 if test "${glibcxx_cv_system_error11+set}" = set; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17447 #include <errno.h>
17449 main ()
17451 int i = EOVERFLOW;
17453 return 0;
17455 _ACEOF
17456 if ac_fn_c_try_compile "$LINENO"; then :
17457 glibcxx_cv_system_error11=yes
17458 else
17459 glibcxx_cv_system_error11=no
17461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17466 $as_echo "$glibcxx_cv_system_error11" >&6; }
17467 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17469 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17473 $as_echo_n "checking for ENOTSUP... " >&6; }
17474 if test "${glibcxx_cv_system_error12+set}" = set; then :
17475 $as_echo_n "(cached) " >&6
17476 else
17478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17480 #include <errno.h>
17482 main ()
17484 int i = ENOTSUP;
17486 return 0;
17488 _ACEOF
17489 if ac_fn_c_try_compile "$LINENO"; then :
17490 glibcxx_cv_system_error12=yes
17491 else
17492 glibcxx_cv_system_error12=no
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17499 $as_echo "$glibcxx_cv_system_error12" >&6; }
17500 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17502 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17506 $as_echo_n "checking for EIDRM... " >&6; }
17507 if test "${glibcxx_cv_system_error13+set}" = set; then :
17508 $as_echo_n "(cached) " >&6
17509 else
17511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h. */
17513 #include <errno.h>
17515 main ()
17517 int i = EIDRM;
17519 return 0;
17521 _ACEOF
17522 if ac_fn_c_try_compile "$LINENO"; then :
17523 glibcxx_cv_system_error13=yes
17524 else
17525 glibcxx_cv_system_error13=no
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17532 $as_echo "$glibcxx_cv_system_error13" >&6; }
17533 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17535 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17539 $as_echo_n "checking for ETXTBSY... " >&6; }
17540 if test "${glibcxx_cv_system_error14+set}" = set; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17546 #include <errno.h>
17548 main ()
17550 int i = ETXTBSY;
17552 return 0;
17554 _ACEOF
17555 if ac_fn_c_try_compile "$LINENO"; then :
17556 glibcxx_cv_system_error14=yes
17557 else
17558 glibcxx_cv_system_error14=no
17560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17565 $as_echo "$glibcxx_cv_system_error14" >&6; }
17566 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17568 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17574 # For the streamoff typedef.
17578 ac_ext=cpp
17579 ac_cpp='$CXXCPP $CPPFLAGS'
17580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17586 $as_echo_n "checking for int64_t... " >&6; }
17587 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17588 $as_echo_n "(cached) " >&6
17589 else
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17593 #include <stdint.h>
17595 main ()
17597 int64_t var;
17599 return 0;
17601 _ACEOF
17602 if ac_fn_cxx_try_compile "$LINENO"; then :
17603 glibcxx_cv_INT64_T=yes
17604 else
17605 glibcxx_cv_INT64_T=no
17607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17612 if test $glibcxx_cv_INT64_T = yes; then
17614 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17617 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17620 $as_echo_n "checking for int64_t as long... " >&6; }
17621 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17622 $as_echo_n "(cached) " >&6
17623 else
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627 #include <stdint.h>
17628 template<typename, typename> struct same { enum { value = -1 }; };
17629 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17630 int array[same<int64_t, long>::value];
17632 main ()
17636 return 0;
17638 _ACEOF
17639 if ac_fn_cxx_try_compile "$LINENO"; then :
17640 glibcxx_cv_int64_t_long=yes
17641 else
17642 glibcxx_cv_int64_t_long=no
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17649 if test $glibcxx_cv_int64_t_long = yes; then
17651 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17654 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17658 $as_echo_n "checking for int64_t as long long... " >&6; }
17659 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 #include <stdint.h>
17666 template<typename, typename> struct same { enum { value = -1 }; };
17667 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17668 int array[same<int64_t, long long>::value];
17670 main ()
17674 return 0;
17676 _ACEOF
17677 if ac_fn_cxx_try_compile "$LINENO"; then :
17678 glibcxx_cv_int64_t_long_long=yes
17679 else
17680 glibcxx_cv_int64_t_long_long=no
17682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687 if test $glibcxx_cv_int64_t_long_long = yes; then
17689 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17692 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17696 ac_ext=c
17697 ac_cpp='$CPP $CPPFLAGS'
17698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17704 # For LFS support.
17707 ac_ext=cpp
17708 ac_cpp='$CXXCPP $CPPFLAGS'
17709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17713 ac_save_CXXFLAGS="$CXXFLAGS"
17714 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17716 $as_echo_n "checking for LFS support... " >&6; }
17717 if test "${glibcxx_cv_LFS+set}" = set; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17721 if test x$gcc_no_link = xyes; then
17722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h. */
17724 #include <unistd.h>
17725 #include <stdio.h>
17726 #include <sys/stat.h>
17729 main ()
17731 FILE* fp;
17732 fopen64("t", "w");
17733 fseeko64(fp, 0, SEEK_CUR);
17734 ftello64(fp);
17735 lseek64(1, 0, SEEK_CUR);
17736 struct stat64 buf;
17737 fstat64(1, &buf);
17739 return 0;
17741 _ACEOF
17742 if ac_fn_cxx_try_compile "$LINENO"; then :
17743 glibcxx_cv_LFS=yes
17744 else
17745 glibcxx_cv_LFS=no
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748 else
17749 if test x$gcc_no_link = xyes; then
17750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <unistd.h>
17755 #include <stdio.h>
17756 #include <sys/stat.h>
17759 main ()
17761 FILE* fp;
17762 fopen64("t", "w");
17763 fseeko64(fp, 0, SEEK_CUR);
17764 ftello64(fp);
17765 lseek64(1, 0, SEEK_CUR);
17766 struct stat64 buf;
17767 fstat64(1, &buf);
17769 return 0;
17771 _ACEOF
17772 if ac_fn_cxx_try_link "$LINENO"; then :
17773 glibcxx_cv_LFS=yes
17774 else
17775 glibcxx_cv_LFS=no
17777 rm -f core conftest.err conftest.$ac_objext \
17778 conftest$ac_exeext conftest.$ac_ext
17783 if test $glibcxx_cv_LFS = yes; then
17785 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17789 $as_echo "$glibcxx_cv_LFS" >&6; }
17790 CXXFLAGS="$ac_save_CXXFLAGS"
17791 ac_ext=c
17792 ac_cpp='$CPP $CPPFLAGS'
17793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17799 # For showmanyc_helper().
17800 for ac_header in sys/ioctl.h sys/filio.h
17801 do :
17802 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17803 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17804 eval as_val=\$$as_ac_Header
17805 if test "x$as_val" = x""yes; then :
17806 cat >>confdefs.h <<_ACEOF
17807 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17808 _ACEOF
17812 done
17817 ac_ext=cpp
17818 ac_cpp='$CXXCPP $CPPFLAGS'
17819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17823 ac_save_CXXFLAGS="$CXXFLAGS"
17824 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17827 $as_echo_n "checking for poll... " >&6; }
17828 if test "${glibcxx_cv_POLL+set}" = set; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17832 if test x$gcc_no_link = xyes; then
17833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17834 /* end confdefs.h. */
17835 #include <poll.h>
17837 main ()
17839 struct pollfd pfd[1];
17840 pfd[0].events = POLLIN;
17841 poll(pfd, 1, 0);
17843 return 0;
17845 _ACEOF
17846 if ac_fn_cxx_try_compile "$LINENO"; then :
17847 glibcxx_cv_POLL=yes
17848 else
17849 glibcxx_cv_POLL=no
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17852 else
17853 if test x$gcc_no_link = xyes; then
17854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17858 #include <poll.h>
17860 main ()
17862 struct pollfd pfd[1];
17863 pfd[0].events = POLLIN;
17864 poll(pfd, 1, 0);
17866 return 0;
17868 _ACEOF
17869 if ac_fn_cxx_try_link "$LINENO"; then :
17870 glibcxx_cv_POLL=yes
17871 else
17872 glibcxx_cv_POLL=no
17874 rm -f core conftest.err conftest.$ac_objext \
17875 conftest$ac_exeext conftest.$ac_ext
17880 if test $glibcxx_cv_POLL = yes; then
17882 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17886 $as_echo "$glibcxx_cv_POLL" >&6; }
17888 CXXFLAGS="$ac_save_CXXFLAGS"
17889 ac_ext=c
17890 ac_cpp='$CPP $CPPFLAGS'
17891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17899 ac_ext=cpp
17900 ac_cpp='$CXXCPP $CPPFLAGS'
17901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17905 ac_save_CXXFLAGS="$CXXFLAGS"
17906 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17909 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17910 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17914 if test x$gcc_no_link = xyes; then
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 #include <sys/stat.h>
17919 main ()
17921 struct stat buffer;
17922 fstat(0, &buffer);
17923 S_ISREG(buffer.st_mode);
17925 return 0;
17927 _ACEOF
17928 if ac_fn_cxx_try_compile "$LINENO"; then :
17929 glibcxx_cv_S_ISREG=yes
17930 else
17931 glibcxx_cv_S_ISREG=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934 else
17935 if test x$gcc_no_link = xyes; then
17936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #include <sys/stat.h>
17942 main ()
17944 struct stat buffer;
17945 fstat(0, &buffer);
17946 S_ISREG(buffer.st_mode);
17948 return 0;
17950 _ACEOF
17951 if ac_fn_cxx_try_link "$LINENO"; then :
17952 glibcxx_cv_S_ISREG=yes
17953 else
17954 glibcxx_cv_S_ISREG=no
17956 rm -f core conftest.err conftest.$ac_objext \
17957 conftest$ac_exeext conftest.$ac_ext
17962 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17963 $as_echo_n "(cached) " >&6
17964 else
17966 if test x$gcc_no_link = xyes; then
17967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17969 #include <sys/stat.h>
17971 main ()
17973 struct stat buffer;
17974 fstat(0, &buffer);
17975 S_IFREG & buffer.st_mode;
17977 return 0;
17979 _ACEOF
17980 if ac_fn_cxx_try_compile "$LINENO"; then :
17981 glibcxx_cv_S_IFREG=yes
17982 else
17983 glibcxx_cv_S_IFREG=no
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986 else
17987 if test x$gcc_no_link = xyes; then
17988 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17992 #include <sys/stat.h>
17994 main ()
17996 struct stat buffer;
17997 fstat(0, &buffer);
17998 S_IFREG & buffer.st_mode;
18000 return 0;
18002 _ACEOF
18003 if ac_fn_cxx_try_link "$LINENO"; then :
18004 glibcxx_cv_S_IFREG=yes
18005 else
18006 glibcxx_cv_S_IFREG=no
18008 rm -f core conftest.err conftest.$ac_objext \
18009 conftest$ac_exeext conftest.$ac_ext
18014 res=no
18015 if test $glibcxx_cv_S_ISREG = yes; then
18017 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18019 res=S_ISREG
18020 elif test $glibcxx_cv_S_IFREG = yes; then
18022 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18024 res=S_IFREG
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18027 $as_echo "$res" >&6; }
18029 CXXFLAGS="$ac_save_CXXFLAGS"
18030 ac_ext=c
18031 ac_cpp='$CPP $CPPFLAGS'
18032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18038 # For xsputn_2().
18039 for ac_header in sys/uio.h
18040 do :
18041 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18042 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18043 cat >>confdefs.h <<_ACEOF
18044 #define HAVE_SYS_UIO_H 1
18045 _ACEOF
18049 done
18054 ac_ext=cpp
18055 ac_cpp='$CXXCPP $CPPFLAGS'
18056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18060 ac_save_CXXFLAGS="$CXXFLAGS"
18061 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18064 $as_echo_n "checking for writev... " >&6; }
18065 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18066 $as_echo_n "(cached) " >&6
18067 else
18069 if test x$gcc_no_link = xyes; then
18070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18071 /* end confdefs.h. */
18072 #include <sys/uio.h>
18074 main ()
18076 struct iovec iov[2];
18077 writev(0, iov, 0);
18079 return 0;
18081 _ACEOF
18082 if ac_fn_cxx_try_compile "$LINENO"; then :
18083 glibcxx_cv_WRITEV=yes
18084 else
18085 glibcxx_cv_WRITEV=no
18087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18088 else
18089 if test x$gcc_no_link = xyes; then
18090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18094 #include <sys/uio.h>
18096 main ()
18098 struct iovec iov[2];
18099 writev(0, iov, 0);
18101 return 0;
18103 _ACEOF
18104 if ac_fn_cxx_try_link "$LINENO"; then :
18105 glibcxx_cv_WRITEV=yes
18106 else
18107 glibcxx_cv_WRITEV=no
18109 rm -f core conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext conftest.$ac_ext
18115 if test $glibcxx_cv_WRITEV = yes; then
18117 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18121 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18123 CXXFLAGS="$ac_save_CXXFLAGS"
18124 ac_ext=c
18125 ac_cpp='$CPP $CPPFLAGS'
18126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18132 # For C99 support to TR1.
18136 ac_ext=cpp
18137 ac_cpp='$CXXCPP $CPPFLAGS'
18138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18143 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18144 # undefined and fake C99 facilities may be spuriously enabled.
18145 ac_save_CXXFLAGS="$CXXFLAGS"
18146 CXXFLAGS="$CXXFLAGS -std=c++98"
18148 # Check for the existence of <complex.h> complex math functions used
18149 # by tr1/complex.
18150 for ac_header in complex.h
18151 do :
18152 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18153 if test "x$ac_cv_header_complex_h" = x""yes; then :
18154 cat >>confdefs.h <<_ACEOF
18155 #define HAVE_COMPLEX_H 1
18156 _ACEOF
18157 ac_has_complex_h=yes
18158 else
18159 ac_has_complex_h=no
18162 done
18164 ac_c99_complex_tr1=no;
18165 if test x"$ac_has_complex_h" = x"yes"; then
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18167 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18169 /* end confdefs.h. */
18170 #include <complex.h>
18172 main ()
18174 typedef __complex__ float float_type; float_type tmpf;
18175 cacosf(tmpf);
18176 casinf(tmpf);
18177 catanf(tmpf);
18178 cacoshf(tmpf);
18179 casinhf(tmpf);
18180 catanhf(tmpf);
18181 typedef __complex__ double double_type; double_type tmpd;
18182 cacos(tmpd);
18183 casin(tmpd);
18184 catan(tmpd);
18185 cacosh(tmpd);
18186 casinh(tmpd);
18187 catanh(tmpd);
18188 typedef __complex__ long double ld_type; ld_type tmpld;
18189 cacosl(tmpld);
18190 casinl(tmpld);
18191 catanl(tmpld);
18192 cacoshl(tmpld);
18193 casinhl(tmpld);
18194 catanhl(tmpld);
18197 return 0;
18199 _ACEOF
18200 if ac_fn_cxx_try_compile "$LINENO"; then :
18201 ac_c99_complex_tr1=yes
18202 else
18203 ac_c99_complex_tr1=no
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18208 $as_echo "$ac_c99_complex_tr1" >&6; }
18209 if test x"$ac_c99_complex_tr1" = x"yes"; then
18211 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18215 # Check for the existence of <ctype.h> functions.
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18217 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18218 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18219 $as_echo_n "(cached) " >&6
18220 else
18222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18223 /* end confdefs.h. */
18224 #include <ctype.h>
18226 main ()
18228 int ch;
18229 int ret;
18230 ret = isblank(ch);
18233 return 0;
18235 _ACEOF
18236 if ac_fn_cxx_try_compile "$LINENO"; then :
18237 glibcxx_cv_c99_ctype_tr1=yes
18238 else
18239 glibcxx_cv_c99_ctype_tr1=no
18241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18246 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18247 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18249 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18253 # Check for the existence of <fenv.h> functions.
18254 for ac_header in fenv.h
18255 do :
18256 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18257 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18258 cat >>confdefs.h <<_ACEOF
18259 #define HAVE_FENV_H 1
18260 _ACEOF
18261 ac_has_fenv_h=yes
18262 else
18263 ac_has_fenv_h=no
18266 done
18268 ac_c99_fenv_tr1=no;
18269 if test x"$ac_has_fenv_h" = x"yes"; then
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18271 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18274 #include <fenv.h>
18276 main ()
18278 int except, mode;
18279 fexcept_t* pflag;
18280 fenv_t* penv;
18281 int ret;
18282 ret = feclearexcept(except);
18283 ret = fegetexceptflag(pflag, except);
18284 ret = feraiseexcept(except);
18285 ret = fesetexceptflag(pflag, except);
18286 ret = fetestexcept(except);
18287 ret = fegetround();
18288 ret = fesetround(mode);
18289 ret = fegetenv(penv);
18290 ret = feholdexcept(penv);
18291 ret = fesetenv(penv);
18292 ret = feupdateenv(penv);
18295 return 0;
18297 _ACEOF
18298 if ac_fn_cxx_try_compile "$LINENO"; then :
18299 ac_c99_fenv_tr1=yes
18300 else
18301 ac_c99_fenv_tr1=no
18303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18306 $as_echo "$ac_c99_fenv_tr1" >&6; }
18307 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18309 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18313 # Check for the existence of <stdint.h> types.
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18315 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18316 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18317 $as_echo_n "(cached) " >&6
18318 else
18320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18321 /* end confdefs.h. */
18322 #define __STDC_LIMIT_MACROS
18323 #define __STDC_CONSTANT_MACROS
18324 #include <stdint.h>
18326 main ()
18328 typedef int8_t my_int8_t;
18329 my_int8_t i8 = INT8_MIN;
18330 i8 = INT8_MAX;
18331 typedef int16_t my_int16_t;
18332 my_int16_t i16 = INT16_MIN;
18333 i16 = INT16_MAX;
18334 typedef int32_t my_int32_t;
18335 my_int32_t i32 = INT32_MIN;
18336 i32 = INT32_MAX;
18337 typedef int64_t my_int64_t;
18338 my_int64_t i64 = INT64_MIN;
18339 i64 = INT64_MAX;
18340 typedef int_fast8_t my_int_fast8_t;
18341 my_int_fast8_t if8 = INT_FAST8_MIN;
18342 if8 = INT_FAST8_MAX;
18343 typedef int_fast16_t my_int_fast16_t;
18344 my_int_fast16_t if16 = INT_FAST16_MIN;
18345 if16 = INT_FAST16_MAX;
18346 typedef int_fast32_t my_int_fast32_t;
18347 my_int_fast32_t if32 = INT_FAST32_MIN;
18348 if32 = INT_FAST32_MAX;
18349 typedef int_fast64_t my_int_fast64_t;
18350 my_int_fast64_t if64 = INT_FAST64_MIN;
18351 if64 = INT_FAST64_MAX;
18352 typedef int_least8_t my_int_least8_t;
18353 my_int_least8_t il8 = INT_LEAST8_MIN;
18354 il8 = INT_LEAST8_MAX;
18355 typedef int_least16_t my_int_least16_t;
18356 my_int_least16_t il16 = INT_LEAST16_MIN;
18357 il16 = INT_LEAST16_MAX;
18358 typedef int_least32_t my_int_least32_t;
18359 my_int_least32_t il32 = INT_LEAST32_MIN;
18360 il32 = INT_LEAST32_MAX;
18361 typedef int_least64_t my_int_least64_t;
18362 my_int_least64_t il64 = INT_LEAST64_MIN;
18363 il64 = INT_LEAST64_MAX;
18364 typedef intmax_t my_intmax_t;
18365 my_intmax_t im = INTMAX_MAX;
18366 im = INTMAX_MIN;
18367 typedef intptr_t my_intptr_t;
18368 my_intptr_t ip = INTPTR_MAX;
18369 ip = INTPTR_MIN;
18370 typedef uint8_t my_uint8_t;
18371 my_uint8_t ui8 = UINT8_MAX;
18372 ui8 = UINT8_MAX;
18373 typedef uint16_t my_uint16_t;
18374 my_uint16_t ui16 = UINT16_MAX;
18375 ui16 = UINT16_MAX;
18376 typedef uint32_t my_uint32_t;
18377 my_uint32_t ui32 = UINT32_MAX;
18378 ui32 = UINT32_MAX;
18379 typedef uint64_t my_uint64_t;
18380 my_uint64_t ui64 = UINT64_MAX;
18381 ui64 = UINT64_MAX;
18382 typedef uint_fast8_t my_uint_fast8_t;
18383 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18384 uif8 = UINT_FAST8_MAX;
18385 typedef uint_fast16_t my_uint_fast16_t;
18386 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18387 uif16 = UINT_FAST16_MAX;
18388 typedef uint_fast32_t my_uint_fast32_t;
18389 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18390 uif32 = UINT_FAST32_MAX;
18391 typedef uint_fast64_t my_uint_fast64_t;
18392 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18393 uif64 = UINT_FAST64_MAX;
18394 typedef uint_least8_t my_uint_least8_t;
18395 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18396 uil8 = UINT_LEAST8_MAX;
18397 typedef uint_least16_t my_uint_least16_t;
18398 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18399 uil16 = UINT_LEAST16_MAX;
18400 typedef uint_least32_t my_uint_least32_t;
18401 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18402 uil32 = UINT_LEAST32_MAX;
18403 typedef uint_least64_t my_uint_least64_t;
18404 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18405 uil64 = UINT_LEAST64_MAX;
18406 typedef uintmax_t my_uintmax_t;
18407 my_uintmax_t uim = UINTMAX_MAX;
18408 uim = UINTMAX_MAX;
18409 typedef uintptr_t my_uintptr_t;
18410 my_uintptr_t uip = UINTPTR_MAX;
18411 uip = UINTPTR_MAX;
18414 return 0;
18416 _ACEOF
18417 if ac_fn_cxx_try_compile "$LINENO"; then :
18418 glibcxx_cv_c99_stdint_tr1=yes
18419 else
18420 glibcxx_cv_c99_stdint_tr1=no
18422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18427 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18428 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18430 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18434 # Check for the existence of <math.h> functions.
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18436 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18437 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18438 $as_echo_n "(cached) " >&6
18439 else
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443 #include <math.h>
18445 main ()
18447 typedef double_t my_double_t;
18448 typedef float_t my_float_t;
18449 acosh(0.0);
18450 acoshf(0.0f);
18451 acoshl(0.0l);
18452 asinh(0.0);
18453 asinhf(0.0f);
18454 asinhl(0.0l);
18455 atanh(0.0);
18456 atanhf(0.0f);
18457 atanhl(0.0l);
18458 cbrt(0.0);
18459 cbrtf(0.0f);
18460 cbrtl(0.0l);
18461 copysign(0.0, 0.0);
18462 copysignf(0.0f, 0.0f);
18463 copysignl(0.0l, 0.0l);
18464 erf(0.0);
18465 erff(0.0f);
18466 erfl(0.0l);
18467 erfc(0.0);
18468 erfcf(0.0f);
18469 erfcl(0.0l);
18470 exp2(0.0);
18471 exp2f(0.0f);
18472 exp2l(0.0l);
18473 expm1(0.0);
18474 expm1f(0.0f);
18475 expm1l(0.0l);
18476 fdim(0.0, 0.0);
18477 fdimf(0.0f, 0.0f);
18478 fdiml(0.0l, 0.0l);
18479 fma(0.0, 0.0, 0.0);
18480 fmaf(0.0f, 0.0f, 0.0f);
18481 fmal(0.0l, 0.0l, 0.0l);
18482 fmax(0.0, 0.0);
18483 fmaxf(0.0f, 0.0f);
18484 fmaxl(0.0l, 0.0l);
18485 fmin(0.0, 0.0);
18486 fminf(0.0f, 0.0f);
18487 fminl(0.0l, 0.0l);
18488 hypot(0.0, 0.0);
18489 hypotf(0.0f, 0.0f);
18490 hypotl(0.0l, 0.0l);
18491 ilogb(0.0);
18492 ilogbf(0.0f);
18493 ilogbl(0.0l);
18494 lgamma(0.0);
18495 lgammaf(0.0f);
18496 lgammal(0.0l);
18497 llrint(0.0);
18498 llrintf(0.0f);
18499 llrintl(0.0l);
18500 llround(0.0);
18501 llroundf(0.0f);
18502 llroundl(0.0l);
18503 log1p(0.0);
18504 log1pf(0.0f);
18505 log1pl(0.0l);
18506 log2(0.0);
18507 log2f(0.0f);
18508 log2l(0.0l);
18509 logb(0.0);
18510 logbf(0.0f);
18511 logbl(0.0l);
18512 lrint(0.0);
18513 lrintf(0.0f);
18514 lrintl(0.0l);
18515 lround(0.0);
18516 lroundf(0.0f);
18517 lroundl(0.0l);
18518 nan(0);
18519 nanf(0);
18520 nanl(0);
18521 nearbyint(0.0);
18522 nearbyintf(0.0f);
18523 nearbyintl(0.0l);
18524 nextafter(0.0, 0.0);
18525 nextafterf(0.0f, 0.0f);
18526 nextafterl(0.0l, 0.0l);
18527 nexttoward(0.0, 0.0);
18528 nexttowardf(0.0f, 0.0f);
18529 nexttowardl(0.0l, 0.0l);
18530 remainder(0.0, 0.0);
18531 remainderf(0.0f, 0.0f);
18532 remainderl(0.0l, 0.0l);
18533 remquo(0.0, 0.0, 0);
18534 remquof(0.0f, 0.0f, 0);
18535 remquol(0.0l, 0.0l, 0);
18536 rint(0.0);
18537 rintf(0.0f);
18538 rintl(0.0l);
18539 round(0.0);
18540 roundf(0.0f);
18541 roundl(0.0l);
18542 scalbln(0.0, 0l);
18543 scalblnf(0.0f, 0l);
18544 scalblnl(0.0l, 0l);
18545 scalbn(0.0, 0);
18546 scalbnf(0.0f, 0);
18547 scalbnl(0.0l, 0);
18548 tgamma(0.0);
18549 tgammaf(0.0f);
18550 tgammal(0.0l);
18551 trunc(0.0);
18552 truncf(0.0f);
18553 truncl(0.0l);
18556 return 0;
18558 _ACEOF
18559 if ac_fn_cxx_try_compile "$LINENO"; then :
18560 glibcxx_cv_c99_math_tr1=yes
18561 else
18562 glibcxx_cv_c99_math_tr1=no
18564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18569 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18570 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18572 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18576 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18577 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18578 ac_c99_inttypes_tr1=no;
18579 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18581 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18584 #include <inttypes.h>
18586 main ()
18588 intmax_t i, numer, denom, base;
18589 const char* s;
18590 char** endptr;
18591 intmax_t ret = imaxabs(i);
18592 imaxdiv_t dret = imaxdiv(numer, denom);
18593 ret = strtoimax(s, endptr, base);
18594 uintmax_t uret = strtoumax(s, endptr, base);
18597 return 0;
18599 _ACEOF
18600 if ac_fn_cxx_try_compile "$LINENO"; then :
18601 ac_c99_inttypes_tr1=yes
18602 else
18603 ac_c99_inttypes_tr1=no
18605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18608 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18609 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18611 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18615 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18616 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18617 ac_c99_inttypes_wchar_t_tr1=no;
18618 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18620 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18622 /* end confdefs.h. */
18623 #include <inttypes.h>
18625 main ()
18627 intmax_t base;
18628 const wchar_t* s;
18629 wchar_t** endptr;
18630 intmax_t ret = wcstoimax(s, endptr, base);
18631 uintmax_t uret = wcstoumax(s, endptr, base);
18634 return 0;
18636 _ACEOF
18637 if ac_fn_cxx_try_compile "$LINENO"; then :
18638 ac_c99_inttypes_wchar_t_tr1=yes
18639 else
18640 ac_c99_inttypes_wchar_t_tr1=no
18642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18645 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18646 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18648 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18652 # Check for the existence of the <stdbool.h> header.
18653 for ac_header in stdbool.h
18654 do :
18655 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18656 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18657 cat >>confdefs.h <<_ACEOF
18658 #define HAVE_STDBOOL_H 1
18659 _ACEOF
18663 done
18666 CXXFLAGS="$ac_save_CXXFLAGS"
18667 ac_ext=c
18668 ac_cpp='$CPP $CPPFLAGS'
18669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18675 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18679 $as_echo_n "checking for the value of EOF... " >&6; }
18680 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18681 $as_echo_n "(cached) " >&6
18682 else
18684 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18686 else
18687 as_fn_error "computing EOF failed" "$LINENO" 5
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18693 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18695 cat >>confdefs.h <<_ACEOF
18696 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18697 _ACEOF
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18701 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18702 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18703 $as_echo_n "(cached) " >&6
18704 else
18706 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18708 else
18709 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18715 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18717 cat >>confdefs.h <<_ACEOF
18718 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18719 _ACEOF
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18723 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18724 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18725 $as_echo_n "(cached) " >&6
18726 else
18728 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18730 else
18731 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18737 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18739 cat >>confdefs.h <<_ACEOF
18740 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18741 _ACEOF
18745 # For gettimeofday support.
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18749 $as_echo_n "checking for gettimeofday... " >&6; }
18752 ac_ext=cpp
18753 ac_cpp='$CXXCPP $CPPFLAGS'
18754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18758 ac_save_CXXFLAGS="$CXXFLAGS"
18759 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18761 ac_has_gettimeofday=no;
18762 for ac_header in sys/time.h
18763 do :
18764 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18765 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18766 cat >>confdefs.h <<_ACEOF
18767 #define HAVE_SYS_TIME_H 1
18768 _ACEOF
18769 ac_has_sys_time_h=yes
18770 else
18771 ac_has_sys_time_h=no
18774 done
18776 if test x"$ac_has_sys_time_h" = x"yes"; then
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18778 $as_echo_n "checking for gettimeofday... " >&6; }
18779 if test x$gcc_no_link = xyes; then
18780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18782 #include <sys/time.h>
18784 main ()
18786 timeval tv; gettimeofday(&tv, 0);
18788 return 0;
18790 _ACEOF
18791 if ac_fn_cxx_try_compile "$LINENO"; then :
18792 ac_has_gettimeofday=yes
18793 else
18794 ac_has_gettimeofday=no
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797 else
18798 if test x$gcc_no_link = xyes; then
18799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18803 #include <sys/time.h>
18805 main ()
18807 timeval tv; gettimeofday(&tv, 0);
18809 return 0;
18811 _ACEOF
18812 if ac_fn_cxx_try_link "$LINENO"; then :
18813 ac_has_gettimeofday=yes
18814 else
18815 ac_has_gettimeofday=no
18817 rm -f core conftest.err conftest.$ac_objext \
18818 conftest$ac_exeext conftest.$ac_ext
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18822 $as_echo "$ac_has_gettimeofday" >&6; }
18825 if test x"$ac_has_gettimeofday" = x"yes"; then
18827 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18831 CXXFLAGS="$ac_save_CXXFLAGS"
18832 ac_ext=c
18833 ac_cpp='$CPP $CPPFLAGS'
18834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18840 # For clock_gettime, nanosleep and sched_yield support.
18841 # NB: The default is [no], because otherwise it requires linking.
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18845 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18846 # Check whether --enable-libstdcxx-time was given.
18847 if test "${enable_libstdcxx_time+set}" = set; then :
18848 enableval=$enable_libstdcxx_time;
18849 case "$enableval" in
18850 yes|no|rt) ;;
18851 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18852 esac
18854 else
18855 enable_libstdcxx_time=no
18861 ac_ext=cpp
18862 ac_cpp='$CXXCPP $CPPFLAGS'
18863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18867 ac_save_CXXFLAGS="$CXXFLAGS"
18868 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18869 ac_save_LIBS="$LIBS"
18871 ac_has_clock_monotonic=no
18872 ac_has_clock_realtime=no
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18874 $as_echo "$enable_libstdcxx_time" >&6; }
18876 if test x"$enable_libstdcxx_time" != x"no"; then
18878 if test x"$enable_libstdcxx_time" = x"rt"; then
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18880 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18881 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18882 $as_echo_n "(cached) " >&6
18883 else
18884 ac_func_search_save_LIBS=$LIBS
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18888 /* Override any GCC internal prototype to avoid an error.
18889 Use char because int might match the return type of a GCC
18890 builtin and then its argument prototype would still apply. */
18891 #ifdef __cplusplus
18892 extern "C"
18893 #endif
18894 char clock_gettime ();
18896 main ()
18898 return clock_gettime ();
18900 return 0;
18902 _ACEOF
18903 for ac_lib in '' rt posix4; do
18904 if test -z "$ac_lib"; then
18905 ac_res="none required"
18906 else
18907 ac_res=-l$ac_lib
18908 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18910 if test x$gcc_no_link = xyes; then
18911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18913 if ac_fn_cxx_try_link "$LINENO"; then :
18914 ac_cv_search_clock_gettime=$ac_res
18916 rm -f core conftest.err conftest.$ac_objext \
18917 conftest$ac_exeext
18918 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18919 break
18921 done
18922 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18924 else
18925 ac_cv_search_clock_gettime=no
18927 rm conftest.$ac_ext
18928 LIBS=$ac_func_search_save_LIBS
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18931 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18932 ac_res=$ac_cv_search_clock_gettime
18933 if test "$ac_res" != no; then :
18934 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18939 $as_echo_n "checking for library containing nanosleep... " >&6; }
18940 if test "${ac_cv_search_nanosleep+set}" = set; then :
18941 $as_echo_n "(cached) " >&6
18942 else
18943 ac_func_search_save_LIBS=$LIBS
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18947 /* Override any GCC internal prototype to avoid an error.
18948 Use char because int might match the return type of a GCC
18949 builtin and then its argument prototype would still apply. */
18950 #ifdef __cplusplus
18951 extern "C"
18952 #endif
18953 char nanosleep ();
18955 main ()
18957 return nanosleep ();
18959 return 0;
18961 _ACEOF
18962 for ac_lib in '' rt posix4; do
18963 if test -z "$ac_lib"; then
18964 ac_res="none required"
18965 else
18966 ac_res=-l$ac_lib
18967 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18969 if test x$gcc_no_link = xyes; then
18970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18972 if ac_fn_cxx_try_link "$LINENO"; then :
18973 ac_cv_search_nanosleep=$ac_res
18975 rm -f core conftest.err conftest.$ac_objext \
18976 conftest$ac_exeext
18977 if test "${ac_cv_search_nanosleep+set}" = set; then :
18978 break
18980 done
18981 if test "${ac_cv_search_nanosleep+set}" = set; then :
18983 else
18984 ac_cv_search_nanosleep=no
18986 rm conftest.$ac_ext
18987 LIBS=$ac_func_search_save_LIBS
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18990 $as_echo "$ac_cv_search_nanosleep" >&6; }
18991 ac_res=$ac_cv_search_nanosleep
18992 if test "$ac_res" != no; then :
18993 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18997 else
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18999 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19000 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19001 $as_echo_n "(cached) " >&6
19002 else
19003 ac_func_search_save_LIBS=$LIBS
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19007 /* Override any GCC internal prototype to avoid an error.
19008 Use char because int might match the return type of a GCC
19009 builtin and then its argument prototype would still apply. */
19010 #ifdef __cplusplus
19011 extern "C"
19012 #endif
19013 char clock_gettime ();
19015 main ()
19017 return clock_gettime ();
19019 return 0;
19021 _ACEOF
19022 for ac_lib in '' posix4; do
19023 if test -z "$ac_lib"; then
19024 ac_res="none required"
19025 else
19026 ac_res=-l$ac_lib
19027 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19029 if test x$gcc_no_link = xyes; then
19030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19032 if ac_fn_cxx_try_link "$LINENO"; then :
19033 ac_cv_search_clock_gettime=$ac_res
19035 rm -f core conftest.err conftest.$ac_objext \
19036 conftest$ac_exeext
19037 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19038 break
19040 done
19041 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19043 else
19044 ac_cv_search_clock_gettime=no
19046 rm conftest.$ac_ext
19047 LIBS=$ac_func_search_save_LIBS
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19050 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19051 ac_res=$ac_cv_search_clock_gettime
19052 if test "$ac_res" != no; then :
19053 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19058 $as_echo_n "checking for library containing nanosleep... " >&6; }
19059 if test "${ac_cv_search_nanosleep+set}" = set; then :
19060 $as_echo_n "(cached) " >&6
19061 else
19062 ac_func_search_save_LIBS=$LIBS
19063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h. */
19066 /* Override any GCC internal prototype to avoid an error.
19067 Use char because int might match the return type of a GCC
19068 builtin and then its argument prototype would still apply. */
19069 #ifdef __cplusplus
19070 extern "C"
19071 #endif
19072 char nanosleep ();
19074 main ()
19076 return nanosleep ();
19078 return 0;
19080 _ACEOF
19081 for ac_lib in '' posix4; do
19082 if test -z "$ac_lib"; then
19083 ac_res="none required"
19084 else
19085 ac_res=-l$ac_lib
19086 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19088 if test x$gcc_no_link = xyes; then
19089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19091 if ac_fn_cxx_try_link "$LINENO"; then :
19092 ac_cv_search_nanosleep=$ac_res
19094 rm -f core conftest.err conftest.$ac_objext \
19095 conftest$ac_exeext
19096 if test "${ac_cv_search_nanosleep+set}" = set; then :
19097 break
19099 done
19100 if test "${ac_cv_search_nanosleep+set}" = set; then :
19102 else
19103 ac_cv_search_nanosleep=no
19105 rm conftest.$ac_ext
19106 LIBS=$ac_func_search_save_LIBS
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19109 $as_echo "$ac_cv_search_nanosleep" >&6; }
19110 ac_res=$ac_cv_search_nanosleep
19111 if test "$ac_res" != no; then :
19112 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19118 case "$ac_cv_search_clock_gettime" in
19119 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19121 esac
19122 case "$ac_cv_search_nanosleep" in
19123 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19125 esac
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19128 $as_echo_n "checking for library containing sched_yield... " >&6; }
19129 if test "${ac_cv_search_sched_yield+set}" = set; then :
19130 $as_echo_n "(cached) " >&6
19131 else
19132 ac_func_search_save_LIBS=$LIBS
19133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19134 /* end confdefs.h. */
19136 /* Override any GCC internal prototype to avoid an error.
19137 Use char because int might match the return type of a GCC
19138 builtin and then its argument prototype would still apply. */
19139 #ifdef __cplusplus
19140 extern "C"
19141 #endif
19142 char sched_yield ();
19144 main ()
19146 return sched_yield ();
19148 return 0;
19150 _ACEOF
19151 for ac_lib in '' rt posix4; do
19152 if test -z "$ac_lib"; then
19153 ac_res="none required"
19154 else
19155 ac_res=-l$ac_lib
19156 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19158 if test x$gcc_no_link = xyes; then
19159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19161 if ac_fn_cxx_try_link "$LINENO"; then :
19162 ac_cv_search_sched_yield=$ac_res
19164 rm -f core conftest.err conftest.$ac_objext \
19165 conftest$ac_exeext
19166 if test "${ac_cv_search_sched_yield+set}" = set; then :
19167 break
19169 done
19170 if test "${ac_cv_search_sched_yield+set}" = set; then :
19172 else
19173 ac_cv_search_sched_yield=no
19175 rm conftest.$ac_ext
19176 LIBS=$ac_func_search_save_LIBS
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19179 $as_echo "$ac_cv_search_sched_yield" >&6; }
19180 ac_res=$ac_cv_search_sched_yield
19181 if test "$ac_res" != no; then :
19182 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19187 case "$ac_cv_search_sched_yield" in
19188 -lposix4*)
19189 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19191 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19194 -lrt*)
19195 if test x"$enable_libstdcxx_time" = x"rt"; then
19196 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19198 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19204 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19207 esac
19209 for ac_header in unistd.h
19210 do :
19211 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19212 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19213 cat >>confdefs.h <<_ACEOF
19214 #define HAVE_UNISTD_H 1
19215 _ACEOF
19216 ac_has_unistd_h=yes
19217 else
19218 ac_has_unistd_h=no
19221 done
19224 if test x"$ac_has_unistd_h" = x"yes"; then
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19226 $as_echo_n "checking for monotonic clock... " >&6; }
19227 if test x$gcc_no_link = xyes; then
19228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <unistd.h>
19233 #include <time.h>
19236 main ()
19238 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19239 timespec tp;
19240 #endif
19241 clock_gettime(CLOCK_MONOTONIC, &tp);
19244 return 0;
19246 _ACEOF
19247 if ac_fn_cxx_try_link "$LINENO"; then :
19248 ac_has_clock_monotonic=yes
19249 else
19250 ac_has_clock_monotonic=no
19252 rm -f core conftest.err conftest.$ac_objext \
19253 conftest$ac_exeext conftest.$ac_ext
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19256 $as_echo "$ac_has_clock_monotonic" >&6; }
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19259 $as_echo_n "checking for realtime clock... " >&6; }
19260 if test x$gcc_no_link = xyes; then
19261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 #include <unistd.h>
19266 #include <time.h>
19269 main ()
19271 #if _POSIX_TIMERS > 0
19272 timespec tp;
19273 #endif
19274 clock_gettime(CLOCK_REALTIME, &tp);
19277 return 0;
19279 _ACEOF
19280 if ac_fn_cxx_try_link "$LINENO"; then :
19281 ac_has_clock_realtime=yes
19282 else
19283 ac_has_clock_realtime=no
19285 rm -f core conftest.err conftest.$ac_objext \
19286 conftest$ac_exeext conftest.$ac_ext
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19289 $as_echo "$ac_has_clock_realtime" >&6; }
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19292 $as_echo_n "checking for nanosleep... " >&6; }
19293 if test x$gcc_no_link = xyes; then
19294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19297 /* end confdefs.h. */
19298 #include <unistd.h>
19299 #include <time.h>
19302 main ()
19304 #if _POSIX_TIMERS > 0
19305 timespec tp;
19306 #endif
19307 nanosleep(&tp, 0);
19310 return 0;
19312 _ACEOF
19313 if ac_fn_cxx_try_link "$LINENO"; then :
19314 ac_has_nanosleep=yes
19315 else
19316 ac_has_nanosleep=no
19318 rm -f core conftest.err conftest.$ac_objext \
19319 conftest$ac_exeext conftest.$ac_ext
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19322 $as_echo "$ac_has_nanosleep" >&6; }
19326 if test x"$ac_has_clock_monotonic" = x"yes"; then
19328 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19332 if test x"$ac_has_clock_realtime" = x"yes"; then
19334 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19338 if test x"$ac_has_nanosleep" = x"yes"; then
19340 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19346 CXXFLAGS="$ac_save_CXXFLAGS"
19347 LIBS="$ac_save_LIBS"
19348 ac_ext=c
19349 ac_cpp='$CPP $CPPFLAGS'
19350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19356 # For gthread support
19359 ac_ext=cpp
19360 ac_cpp='$CXXCPP $CPPFLAGS'
19361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19366 ac_save_CXXFLAGS="$CXXFLAGS"
19367 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19369 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19370 case $target_thread_file in
19371 posix)
19372 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19373 esac
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19376 $as_echo_n "checking for gthreads library... " >&6; }
19378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19380 #include "gthr.h"
19382 main ()
19385 #ifndef __GTHREADS_CXX0X
19386 #error
19387 #endif
19389 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19390 #if (defined(_PTHREADS) \
19391 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19392 #error
19393 #endif
19396 return 0;
19398 _ACEOF
19399 if ac_fn_cxx_try_compile "$LINENO"; then :
19400 ac_has_gthreads=yes
19401 else
19402 ac_has_gthreads=no
19404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19407 $as_echo "$ac_has_gthreads" >&6; }
19409 if test x"$ac_has_gthreads" = x"yes"; then
19411 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19415 CXXFLAGS="$ac_save_CXXFLAGS"
19416 ac_ext=c
19417 ac_cpp='$CPP $CPPFLAGS'
19418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19425 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19426 if test "x$ac_cv_header_locale_h" = x""yes; then :
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19429 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19430 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19431 $as_echo_n "(cached) " >&6
19432 else
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <locale.h>
19437 main ()
19439 return LC_MESSAGES
19441 return 0;
19443 _ACEOF
19444 if ac_fn_c_try_compile "$LINENO"; then :
19445 ac_cv_val_LC_MESSAGES=yes
19446 else
19447 ac_cv_val_LC_MESSAGES=no
19449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19452 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19453 if test $ac_cv_val_LC_MESSAGES = yes; then
19455 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19464 # Check for available headers.
19465 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19466 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19467 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19468 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19469 wchar.h wctype.h
19470 do :
19471 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19472 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19473 eval as_val=\$$as_ac_Header
19474 if test "x$as_val" = x""yes; then :
19475 cat >>confdefs.h <<_ACEOF
19476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19477 _ACEOF
19481 done
19484 # Only do link tests if native. Else, hardcode.
19485 if $GLIBCXX_IS_NATIVE; then
19487 # We can do more elaborate tests that assume a working linker.
19488 CANADIAN=no
19492 # Check whether --with-gnu-ld was given.
19493 if test "${with_gnu_ld+set}" = set; then :
19494 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19495 else
19496 with_gnu_ld=no
19499 ac_prog=ld
19500 if test "$GCC" = yes; then
19501 # Check if gcc -print-prog-name=ld gives a path.
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19503 $as_echo_n "checking for ld used by $CC... " >&6; }
19504 case $host in
19505 *-*-mingw*)
19506 # gcc leaves a trailing carriage return which upsets mingw
19507 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19509 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19510 esac
19511 case $ac_prog in
19512 # Accept absolute paths.
19513 [\\/]* | ?:[\\/]*)
19514 re_direlt='/[^/][^/]*/\.\./'
19515 # Canonicalize the pathname of ld
19516 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19517 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19518 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19519 done
19520 test -z "$LD" && LD="$ac_prog"
19523 # If it fails, then pretend we aren't using GCC.
19524 ac_prog=ld
19527 # If it is relative, then search for the first ld in PATH.
19528 with_gnu_ld=unknown
19530 esac
19531 elif test "$with_gnu_ld" = yes; then
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19533 $as_echo_n "checking for GNU ld... " >&6; }
19534 else
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19536 $as_echo_n "checking for non-GNU ld... " >&6; }
19538 if test "${lt_cv_path_LD+set}" = set; then :
19539 $as_echo_n "(cached) " >&6
19540 else
19541 if test -z "$LD"; then
19542 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19543 for ac_dir in $PATH; do
19544 IFS="$lt_save_ifs"
19545 test -z "$ac_dir" && ac_dir=.
19546 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19547 lt_cv_path_LD="$ac_dir/$ac_prog"
19548 # Check to see if the program is GNU ld. I'd rather use --version,
19549 # but apparently some variants of GNU ld only accept -v.
19550 # Break only if it was the GNU/non-GNU ld that we prefer.
19551 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19552 *GNU* | *'with BFD'*)
19553 test "$with_gnu_ld" != no && break
19556 test "$with_gnu_ld" != yes && break
19558 esac
19560 done
19561 IFS="$lt_save_ifs"
19562 else
19563 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19567 LD="$lt_cv_path_LD"
19568 if test -n "$LD"; then
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19570 $as_echo "$LD" >&6; }
19571 else
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19573 $as_echo "no" >&6; }
19575 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19577 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19578 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19579 $as_echo_n "(cached) " >&6
19580 else
19581 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19582 case `$LD -v 2>&1 </dev/null` in
19583 *GNU* | *'with BFD'*)
19584 lt_cv_prog_gnu_ld=yes
19587 lt_cv_prog_gnu_ld=no
19589 esac
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19592 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19593 with_gnu_ld=$lt_cv_prog_gnu_ld
19601 # If we're not using GNU ld, then there's no point in even trying these
19602 # tests. Check for that first. We should have already tested for gld
19603 # by now (in libtool), but require it now just to be safe...
19604 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19605 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19609 # The name set by libtool depends on the version of libtool. Shame on us
19610 # for depending on an impl detail, but c'est la vie. Older versions used
19611 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19612 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19613 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19614 # set (hence we're using an older libtool), then set it.
19615 if test x${with_gnu_ld+set} != xset; then
19616 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19617 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19618 with_gnu_ld=no
19619 else
19620 with_gnu_ld=$ac_cv_prog_gnu_ld
19624 # Start by getting the version number. I think the libtool test already
19625 # does some of this, but throws away the result.
19626 glibcxx_ld_is_gold=no
19627 if test x"$with_gnu_ld" = x"yes"; then
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19629 $as_echo_n "checking for ld version... " >&6; }
19631 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19632 glibcxx_ld_is_gold=yes
19634 ldver=`$LD --version 2>/dev/null |
19635 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'`
19637 glibcxx_gnu_ld_version=`echo $ldver | \
19638 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19640 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19643 # Set --gc-sections.
19644 glibcxx_have_gc_sections=no
19645 if test "$glibcxx_ld_is_gold" = "yes"; then
19646 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19647 glibcxx_have_gc_sections=yes
19649 else
19650 glibcxx_gcsections_min_ld=21602
19651 if test x"$with_gnu_ld" = x"yes" &&
19652 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19653 glibcxx_have_gc_sections=yes
19656 if test "$glibcxx_have_gc_sections" = "yes"; then
19657 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19658 # NB: This flag only works reliably after 2.16.1. Configure tests
19659 # for this are difficult, so hard wire a value that should work.
19661 ac_test_CFLAGS="${CFLAGS+set}"
19662 ac_save_CFLAGS="$CFLAGS"
19663 CFLAGS='-Wl,--gc-sections'
19665 # Check for -Wl,--gc-sections
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19667 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19668 if test x$gcc_no_link = xyes; then
19669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19673 int one(void) { return 1; }
19674 int two(void) { return 2; }
19677 main ()
19679 two();
19681 return 0;
19683 _ACEOF
19684 if ac_fn_c_try_link "$LINENO"; then :
19685 ac_gcsections=yes
19686 else
19687 ac_gcsections=no
19689 rm -f core conftest.err conftest.$ac_objext \
19690 conftest$ac_exeext conftest.$ac_ext
19691 if test "$ac_gcsections" = "yes"; then
19692 rm -f conftest.c
19693 touch conftest.c
19694 if $CC -c conftest.c; then
19695 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19696 grep "Warning: gc-sections option ignored" > /dev/null; then
19697 ac_gcsections=no
19700 rm -f conftest.c conftest.o conftest
19702 if test "$ac_gcsections" = "yes"; then
19703 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19706 $as_echo "$ac_gcsections" >&6; }
19708 if test "$ac_test_CFLAGS" = set; then
19709 CFLAGS="$ac_save_CFLAGS"
19710 else
19711 # this is the suspicious part
19712 CFLAGS=''
19716 # Set -z,relro.
19717 # Note this is only for shared objects.
19718 ac_ld_relro=no
19719 if test x"$with_gnu_ld" = x"yes"; then
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19721 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19722 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19723 if test -n "$cxx_z_relo"; then
19724 OPT_LDFLAGS="-Wl,-z,relro"
19725 ac_ld_relro=yes
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19728 $as_echo "$ac_ld_relro" >&6; }
19731 # Set linker optimization flags.
19732 if test x"$with_gnu_ld" = x"yes"; then
19733 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19740 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19741 ac_save_CXXFLAGS="$CXXFLAGS"
19742 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19745 $as_echo_n "checking for sin in -lm... " >&6; }
19746 if test "${ac_cv_lib_m_sin+set}" = set; then :
19747 $as_echo_n "(cached) " >&6
19748 else
19749 ac_check_lib_save_LIBS=$LIBS
19750 LIBS="-lm $LIBS"
19751 if test x$gcc_no_link = xyes; then
19752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19757 /* Override any GCC internal prototype to avoid an error.
19758 Use char because int might match the return type of a GCC
19759 builtin and then its argument prototype would still apply. */
19760 #ifdef __cplusplus
19761 extern "C"
19762 #endif
19763 char sin ();
19765 main ()
19767 return sin ();
19769 return 0;
19771 _ACEOF
19772 if ac_fn_c_try_link "$LINENO"; then :
19773 ac_cv_lib_m_sin=yes
19774 else
19775 ac_cv_lib_m_sin=no
19777 rm -f core conftest.err conftest.$ac_objext \
19778 conftest$ac_exeext conftest.$ac_ext
19779 LIBS=$ac_check_lib_save_LIBS
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19782 $as_echo "$ac_cv_lib_m_sin" >&6; }
19783 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19784 libm="-lm"
19787 ac_save_LIBS="$LIBS"
19788 LIBS="$LIBS $libm"
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19793 $as_echo_n "checking for isinf declaration... " >&6; }
19794 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19795 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19796 $as_echo_n "(cached) " >&6
19797 else
19800 ac_ext=cpp
19801 ac_cpp='$CXXCPP $CPPFLAGS'
19802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19808 #include <math.h>
19809 #ifdef HAVE_IEEEFP_H
19810 #include <ieeefp.h>
19811 #endif
19814 main ()
19816 isinf(0);
19818 return 0;
19820 _ACEOF
19821 if ac_fn_cxx_try_compile "$LINENO"; then :
19822 glibcxx_cv_func_isinf_use=yes
19823 else
19824 glibcxx_cv_func_isinf_use=no
19826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19827 ac_ext=c
19828 ac_cpp='$CPP $CPPFLAGS'
19829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19838 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19840 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19841 for ac_func in isinf
19842 do :
19843 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19844 if test "x$ac_cv_func_isinf" = x""yes; then :
19845 cat >>confdefs.h <<_ACEOF
19846 #define HAVE_ISINF 1
19847 _ACEOF
19850 done
19852 else
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19855 $as_echo_n "checking for _isinf declaration... " >&6; }
19856 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19857 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19858 $as_echo_n "(cached) " >&6
19859 else
19862 ac_ext=cpp
19863 ac_cpp='$CXXCPP $CPPFLAGS'
19864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #include <math.h>
19871 #ifdef HAVE_IEEEFP_H
19872 #include <ieeefp.h>
19873 #endif
19876 main ()
19878 _isinf(0);
19880 return 0;
19882 _ACEOF
19883 if ac_fn_cxx_try_compile "$LINENO"; then :
19884 glibcxx_cv_func__isinf_use=yes
19885 else
19886 glibcxx_cv_func__isinf_use=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889 ac_ext=c
19890 ac_cpp='$CPP $CPPFLAGS'
19891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19900 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19902 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19903 for ac_func in _isinf
19904 do :
19905 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19906 if test "x$ac_cv_func__isinf" = x""yes; then :
19907 cat >>confdefs.h <<_ACEOF
19908 #define HAVE__ISINF 1
19909 _ACEOF
19912 done
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19922 $as_echo_n "checking for isnan declaration... " >&6; }
19923 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19924 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19925 $as_echo_n "(cached) " >&6
19926 else
19929 ac_ext=cpp
19930 ac_cpp='$CXXCPP $CPPFLAGS'
19931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19937 #include <math.h>
19938 #ifdef HAVE_IEEEFP_H
19939 #include <ieeefp.h>
19940 #endif
19943 main ()
19945 isnan(0);
19947 return 0;
19949 _ACEOF
19950 if ac_fn_cxx_try_compile "$LINENO"; then :
19951 glibcxx_cv_func_isnan_use=yes
19952 else
19953 glibcxx_cv_func_isnan_use=no
19955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19956 ac_ext=c
19957 ac_cpp='$CPP $CPPFLAGS'
19958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19967 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19969 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19970 for ac_func in isnan
19971 do :
19972 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19973 if test "x$ac_cv_func_isnan" = x""yes; then :
19974 cat >>confdefs.h <<_ACEOF
19975 #define HAVE_ISNAN 1
19976 _ACEOF
19979 done
19981 else
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19984 $as_echo_n "checking for _isnan declaration... " >&6; }
19985 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19986 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19987 $as_echo_n "(cached) " >&6
19988 else
19991 ac_ext=cpp
19992 ac_cpp='$CXXCPP $CPPFLAGS'
19993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19998 /* end confdefs.h. */
19999 #include <math.h>
20000 #ifdef HAVE_IEEEFP_H
20001 #include <ieeefp.h>
20002 #endif
20005 main ()
20007 _isnan(0);
20009 return 0;
20011 _ACEOF
20012 if ac_fn_cxx_try_compile "$LINENO"; then :
20013 glibcxx_cv_func__isnan_use=yes
20014 else
20015 glibcxx_cv_func__isnan_use=no
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20018 ac_ext=c
20019 ac_cpp='$CPP $CPPFLAGS'
20020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20029 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20031 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20032 for ac_func in _isnan
20033 do :
20034 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20035 if test "x$ac_cv_func__isnan" = x""yes; then :
20036 cat >>confdefs.h <<_ACEOF
20037 #define HAVE__ISNAN 1
20038 _ACEOF
20041 done
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20051 $as_echo_n "checking for finite declaration... " >&6; }
20052 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20053 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20054 $as_echo_n "(cached) " >&6
20055 else
20058 ac_ext=cpp
20059 ac_cpp='$CXXCPP $CPPFLAGS'
20060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20066 #include <math.h>
20067 #ifdef HAVE_IEEEFP_H
20068 #include <ieeefp.h>
20069 #endif
20072 main ()
20074 finite(0);
20076 return 0;
20078 _ACEOF
20079 if ac_fn_cxx_try_compile "$LINENO"; then :
20080 glibcxx_cv_func_finite_use=yes
20081 else
20082 glibcxx_cv_func_finite_use=no
20084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20085 ac_ext=c
20086 ac_cpp='$CPP $CPPFLAGS'
20087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20096 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20098 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20099 for ac_func in finite
20100 do :
20101 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20102 if test "x$ac_cv_func_finite" = x""yes; then :
20103 cat >>confdefs.h <<_ACEOF
20104 #define HAVE_FINITE 1
20105 _ACEOF
20108 done
20110 else
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20113 $as_echo_n "checking for _finite declaration... " >&6; }
20114 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20115 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20116 $as_echo_n "(cached) " >&6
20117 else
20120 ac_ext=cpp
20121 ac_cpp='$CXXCPP $CPPFLAGS'
20122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20127 /* end confdefs.h. */
20128 #include <math.h>
20129 #ifdef HAVE_IEEEFP_H
20130 #include <ieeefp.h>
20131 #endif
20134 main ()
20136 _finite(0);
20138 return 0;
20140 _ACEOF
20141 if ac_fn_cxx_try_compile "$LINENO"; then :
20142 glibcxx_cv_func__finite_use=yes
20143 else
20144 glibcxx_cv_func__finite_use=no
20146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20147 ac_ext=c
20148 ac_cpp='$CPP $CPPFLAGS'
20149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20158 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20160 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20161 for ac_func in _finite
20162 do :
20163 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20164 if test "x$ac_cv_func__finite" = x""yes; then :
20165 cat >>confdefs.h <<_ACEOF
20166 #define HAVE__FINITE 1
20167 _ACEOF
20170 done
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20180 $as_echo_n "checking for sincos declaration... " >&6; }
20181 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20182 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20183 $as_echo_n "(cached) " >&6
20184 else
20187 ac_ext=cpp
20188 ac_cpp='$CXXCPP $CPPFLAGS'
20189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20195 #include <math.h>
20197 main ()
20199 sincos(0, 0, 0);
20201 return 0;
20203 _ACEOF
20204 if ac_fn_cxx_try_compile "$LINENO"; then :
20205 glibcxx_cv_func_sincos_use=yes
20206 else
20207 glibcxx_cv_func_sincos_use=no
20209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20210 ac_ext=c
20211 ac_cpp='$CPP $CPPFLAGS'
20212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20221 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20223 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20224 for ac_func in sincos
20225 do :
20226 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20227 if test "x$ac_cv_func_sincos" = x""yes; then :
20228 cat >>confdefs.h <<_ACEOF
20229 #define HAVE_SINCOS 1
20230 _ACEOF
20233 done
20235 else
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20238 $as_echo_n "checking for _sincos declaration... " >&6; }
20239 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20240 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20241 $as_echo_n "(cached) " >&6
20242 else
20245 ac_ext=cpp
20246 ac_cpp='$CXXCPP $CPPFLAGS'
20247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20252 /* end confdefs.h. */
20253 #include <math.h>
20255 main ()
20257 _sincos(0, 0, 0);
20259 return 0;
20261 _ACEOF
20262 if ac_fn_cxx_try_compile "$LINENO"; then :
20263 glibcxx_cv_func__sincos_use=yes
20264 else
20265 glibcxx_cv_func__sincos_use=no
20267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20268 ac_ext=c
20269 ac_cpp='$CPP $CPPFLAGS'
20270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20279 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20281 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20282 for ac_func in _sincos
20283 do :
20284 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20285 if test "x$ac_cv_func__sincos" = x""yes; then :
20286 cat >>confdefs.h <<_ACEOF
20287 #define HAVE__SINCOS 1
20288 _ACEOF
20291 done
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20301 $as_echo_n "checking for fpclass declaration... " >&6; }
20302 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20303 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20304 $as_echo_n "(cached) " >&6
20305 else
20308 ac_ext=cpp
20309 ac_cpp='$CXXCPP $CPPFLAGS'
20310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20315 /* end confdefs.h. */
20316 #include <math.h>
20317 #ifdef HAVE_IEEEFP_H
20318 #include <ieeefp.h>
20319 #endif
20322 main ()
20324 fpclass(0);
20326 return 0;
20328 _ACEOF
20329 if ac_fn_cxx_try_compile "$LINENO"; then :
20330 glibcxx_cv_func_fpclass_use=yes
20331 else
20332 glibcxx_cv_func_fpclass_use=no
20334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20335 ac_ext=c
20336 ac_cpp='$CPP $CPPFLAGS'
20337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20346 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20348 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20349 for ac_func in fpclass
20350 do :
20351 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20352 if test "x$ac_cv_func_fpclass" = x""yes; then :
20353 cat >>confdefs.h <<_ACEOF
20354 #define HAVE_FPCLASS 1
20355 _ACEOF
20358 done
20360 else
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20363 $as_echo_n "checking for _fpclass declaration... " >&6; }
20364 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20365 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20366 $as_echo_n "(cached) " >&6
20367 else
20370 ac_ext=cpp
20371 ac_cpp='$CXXCPP $CPPFLAGS'
20372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20377 /* end confdefs.h. */
20378 #include <math.h>
20379 #ifdef HAVE_IEEEFP_H
20380 #include <ieeefp.h>
20381 #endif
20384 main ()
20386 _fpclass(0);
20388 return 0;
20390 _ACEOF
20391 if ac_fn_cxx_try_compile "$LINENO"; then :
20392 glibcxx_cv_func__fpclass_use=yes
20393 else
20394 glibcxx_cv_func__fpclass_use=no
20396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20397 ac_ext=c
20398 ac_cpp='$CPP $CPPFLAGS'
20399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20408 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20410 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20411 for ac_func in _fpclass
20412 do :
20413 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20414 if test "x$ac_cv_func__fpclass" = x""yes; then :
20415 cat >>confdefs.h <<_ACEOF
20416 #define HAVE__FPCLASS 1
20417 _ACEOF
20420 done
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20430 $as_echo_n "checking for qfpclass declaration... " >&6; }
20431 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20432 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20433 $as_echo_n "(cached) " >&6
20434 else
20437 ac_ext=cpp
20438 ac_cpp='$CXXCPP $CPPFLAGS'
20439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20444 /* end confdefs.h. */
20445 #include <math.h>
20446 #ifdef HAVE_IEEEFP_H
20447 #include <ieeefp.h>
20448 #endif
20451 main ()
20453 qfpclass(0);
20455 return 0;
20457 _ACEOF
20458 if ac_fn_cxx_try_compile "$LINENO"; then :
20459 glibcxx_cv_func_qfpclass_use=yes
20460 else
20461 glibcxx_cv_func_qfpclass_use=no
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20464 ac_ext=c
20465 ac_cpp='$CPP $CPPFLAGS'
20466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20475 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20477 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20478 for ac_func in qfpclass
20479 do :
20480 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20481 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20482 cat >>confdefs.h <<_ACEOF
20483 #define HAVE_QFPCLASS 1
20484 _ACEOF
20487 done
20489 else
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20492 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20493 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20494 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20495 $as_echo_n "(cached) " >&6
20496 else
20499 ac_ext=cpp
20500 ac_cpp='$CXXCPP $CPPFLAGS'
20501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20506 /* end confdefs.h. */
20507 #include <math.h>
20508 #ifdef HAVE_IEEEFP_H
20509 #include <ieeefp.h>
20510 #endif
20513 main ()
20515 _qfpclass(0);
20517 return 0;
20519 _ACEOF
20520 if ac_fn_cxx_try_compile "$LINENO"; then :
20521 glibcxx_cv_func__qfpclass_use=yes
20522 else
20523 glibcxx_cv_func__qfpclass_use=no
20525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20526 ac_ext=c
20527 ac_cpp='$CPP $CPPFLAGS'
20528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20537 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20539 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20540 for ac_func in _qfpclass
20541 do :
20542 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20543 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20544 cat >>confdefs.h <<_ACEOF
20545 #define HAVE__QFPCLASS 1
20546 _ACEOF
20549 done
20558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20559 $as_echo_n "checking for hypot declaration... " >&6; }
20560 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20561 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20562 $as_echo_n "(cached) " >&6
20563 else
20566 ac_ext=cpp
20567 ac_cpp='$CXXCPP $CPPFLAGS'
20568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20573 /* end confdefs.h. */
20574 #include <math.h>
20576 main ()
20578 hypot(0, 0);
20580 return 0;
20582 _ACEOF
20583 if ac_fn_cxx_try_compile "$LINENO"; then :
20584 glibcxx_cv_func_hypot_use=yes
20585 else
20586 glibcxx_cv_func_hypot_use=no
20588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20589 ac_ext=c
20590 ac_cpp='$CPP $CPPFLAGS'
20591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20600 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20602 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20603 for ac_func in hypot
20604 do :
20605 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20606 if test "x$ac_cv_func_hypot" = x""yes; then :
20607 cat >>confdefs.h <<_ACEOF
20608 #define HAVE_HYPOT 1
20609 _ACEOF
20612 done
20614 else
20616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20617 $as_echo_n "checking for _hypot declaration... " >&6; }
20618 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20619 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20620 $as_echo_n "(cached) " >&6
20621 else
20624 ac_ext=cpp
20625 ac_cpp='$CXXCPP $CPPFLAGS'
20626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20631 /* end confdefs.h. */
20632 #include <math.h>
20634 main ()
20636 _hypot(0, 0);
20638 return 0;
20640 _ACEOF
20641 if ac_fn_cxx_try_compile "$LINENO"; then :
20642 glibcxx_cv_func__hypot_use=yes
20643 else
20644 glibcxx_cv_func__hypot_use=no
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20647 ac_ext=c
20648 ac_cpp='$CPP $CPPFLAGS'
20649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20658 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20660 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20661 for ac_func in _hypot
20662 do :
20663 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20664 if test "x$ac_cv_func__hypot" = x""yes; then :
20665 cat >>confdefs.h <<_ACEOF
20666 #define HAVE__HYPOT 1
20667 _ACEOF
20670 done
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20680 $as_echo_n "checking for float trig functions... " >&6; }
20681 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20682 $as_echo_n "(cached) " >&6
20683 else
20686 ac_ext=cpp
20687 ac_cpp='$CXXCPP $CPPFLAGS'
20688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20693 /* end confdefs.h. */
20694 #include <math.h>
20696 main ()
20698 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20700 return 0;
20702 _ACEOF
20703 if ac_fn_cxx_try_compile "$LINENO"; then :
20704 glibcxx_cv_func_float_trig_use=yes
20705 else
20706 glibcxx_cv_func_float_trig_use=no
20708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20709 ac_ext=c
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20718 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20719 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20720 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20721 do :
20722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20724 eval as_val=\$$as_ac_var
20725 if test "x$as_val" = x""yes; then :
20726 cat >>confdefs.h <<_ACEOF
20727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20728 _ACEOF
20731 done
20733 else
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20735 $as_echo_n "checking for _float trig functions... " >&6; }
20736 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20737 $as_echo_n "(cached) " >&6
20738 else
20741 ac_ext=cpp
20742 ac_cpp='$CXXCPP $CPPFLAGS'
20743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20749 #include <math.h>
20751 main ()
20753 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20755 return 0;
20757 _ACEOF
20758 if ac_fn_cxx_try_compile "$LINENO"; then :
20759 glibcxx_cv_func__float_trig_use=yes
20760 else
20761 glibcxx_cv_func__float_trig_use=no
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 ac_ext=c
20765 ac_cpp='$CPP $CPPFLAGS'
20766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20773 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20774 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20775 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20776 do :
20777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20779 eval as_val=\$$as_ac_var
20780 if test "x$as_val" = x""yes; then :
20781 cat >>confdefs.h <<_ACEOF
20782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20783 _ACEOF
20786 done
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20796 $as_echo_n "checking for float round functions... " >&6; }
20797 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20798 $as_echo_n "(cached) " >&6
20799 else
20802 ac_ext=cpp
20803 ac_cpp='$CXXCPP $CPPFLAGS'
20804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20809 /* end confdefs.h. */
20810 #include <math.h>
20812 main ()
20814 ceilf (0); floorf (0);
20816 return 0;
20818 _ACEOF
20819 if ac_fn_cxx_try_compile "$LINENO"; then :
20820 glibcxx_cv_func_float_round_use=yes
20821 else
20822 glibcxx_cv_func_float_round_use=no
20824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20825 ac_ext=c
20826 ac_cpp='$CPP $CPPFLAGS'
20827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20834 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20835 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20836 for ac_func in ceilf floorf
20837 do :
20838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20840 eval as_val=\$$as_ac_var
20841 if test "x$as_val" = x""yes; then :
20842 cat >>confdefs.h <<_ACEOF
20843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20844 _ACEOF
20847 done
20849 else
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20851 $as_echo_n "checking for _float round functions... " >&6; }
20852 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20853 $as_echo_n "(cached) " >&6
20854 else
20857 ac_ext=cpp
20858 ac_cpp='$CXXCPP $CPPFLAGS'
20859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865 #include <math.h>
20867 main ()
20869 _ceilf (0); _floorf (0);
20871 return 0;
20873 _ACEOF
20874 if ac_fn_cxx_try_compile "$LINENO"; then :
20875 glibcxx_cv_func__float_round_use=yes
20876 else
20877 glibcxx_cv_func__float_round_use=no
20879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20880 ac_ext=c
20881 ac_cpp='$CPP $CPPFLAGS'
20882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20889 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20890 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20891 for ac_func in _ceilf _floorf
20892 do :
20893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20895 eval as_val=\$$as_ac_var
20896 if test "x$as_val" = x""yes; then :
20897 cat >>confdefs.h <<_ACEOF
20898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20899 _ACEOF
20902 done
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20913 $as_echo_n "checking for expf declaration... " >&6; }
20914 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20915 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20916 $as_echo_n "(cached) " >&6
20917 else
20920 ac_ext=cpp
20921 ac_cpp='$CXXCPP $CPPFLAGS'
20922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20927 /* end confdefs.h. */
20928 #include <math.h>
20929 #ifdef HAVE_IEEEFP_H
20930 #include <ieeefp.h>
20931 #endif
20934 main ()
20936 expf(0);
20938 return 0;
20940 _ACEOF
20941 if ac_fn_cxx_try_compile "$LINENO"; then :
20942 glibcxx_cv_func_expf_use=yes
20943 else
20944 glibcxx_cv_func_expf_use=no
20946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20947 ac_ext=c
20948 ac_cpp='$CPP $CPPFLAGS'
20949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20958 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20960 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20961 for ac_func in expf
20962 do :
20963 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20964 if test "x$ac_cv_func_expf" = x""yes; then :
20965 cat >>confdefs.h <<_ACEOF
20966 #define HAVE_EXPF 1
20967 _ACEOF
20970 done
20972 else
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20975 $as_echo_n "checking for _expf declaration... " >&6; }
20976 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20977 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20978 $as_echo_n "(cached) " >&6
20979 else
20982 ac_ext=cpp
20983 ac_cpp='$CXXCPP $CPPFLAGS'
20984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20990 #include <math.h>
20991 #ifdef HAVE_IEEEFP_H
20992 #include <ieeefp.h>
20993 #endif
20996 main ()
20998 _expf(0);
21000 return 0;
21002 _ACEOF
21003 if ac_fn_cxx_try_compile "$LINENO"; then :
21004 glibcxx_cv_func__expf_use=yes
21005 else
21006 glibcxx_cv_func__expf_use=no
21008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21009 ac_ext=c
21010 ac_cpp='$CPP $CPPFLAGS'
21011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21020 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21022 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21023 for ac_func in _expf
21024 do :
21025 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21026 if test "x$ac_cv_func__expf" = x""yes; then :
21027 cat >>confdefs.h <<_ACEOF
21028 #define HAVE__EXPF 1
21029 _ACEOF
21032 done
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21042 $as_echo_n "checking for isnanf declaration... " >&6; }
21043 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21044 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21045 $as_echo_n "(cached) " >&6
21046 else
21049 ac_ext=cpp
21050 ac_cpp='$CXXCPP $CPPFLAGS'
21051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21056 /* end confdefs.h. */
21057 #include <math.h>
21058 #ifdef HAVE_IEEEFP_H
21059 #include <ieeefp.h>
21060 #endif
21063 main ()
21065 isnanf(0);
21067 return 0;
21069 _ACEOF
21070 if ac_fn_cxx_try_compile "$LINENO"; then :
21071 glibcxx_cv_func_isnanf_use=yes
21072 else
21073 glibcxx_cv_func_isnanf_use=no
21075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21076 ac_ext=c
21077 ac_cpp='$CPP $CPPFLAGS'
21078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21087 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21089 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21090 for ac_func in isnanf
21091 do :
21092 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21093 if test "x$ac_cv_func_isnanf" = x""yes; then :
21094 cat >>confdefs.h <<_ACEOF
21095 #define HAVE_ISNANF 1
21096 _ACEOF
21099 done
21101 else
21103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21104 $as_echo_n "checking for _isnanf declaration... " >&6; }
21105 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21106 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21107 $as_echo_n "(cached) " >&6
21108 else
21111 ac_ext=cpp
21112 ac_cpp='$CXXCPP $CPPFLAGS'
21113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21118 /* end confdefs.h. */
21119 #include <math.h>
21120 #ifdef HAVE_IEEEFP_H
21121 #include <ieeefp.h>
21122 #endif
21125 main ()
21127 _isnanf(0);
21129 return 0;
21131 _ACEOF
21132 if ac_fn_cxx_try_compile "$LINENO"; then :
21133 glibcxx_cv_func__isnanf_use=yes
21134 else
21135 glibcxx_cv_func__isnanf_use=no
21137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21138 ac_ext=c
21139 ac_cpp='$CPP $CPPFLAGS'
21140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21149 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21151 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21152 for ac_func in _isnanf
21153 do :
21154 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21155 if test "x$ac_cv_func__isnanf" = x""yes; then :
21156 cat >>confdefs.h <<_ACEOF
21157 #define HAVE__ISNANF 1
21158 _ACEOF
21161 done
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21171 $as_echo_n "checking for isinff declaration... " >&6; }
21172 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21173 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21174 $as_echo_n "(cached) " >&6
21175 else
21178 ac_ext=cpp
21179 ac_cpp='$CXXCPP $CPPFLAGS'
21180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21185 /* end confdefs.h. */
21186 #include <math.h>
21187 #ifdef HAVE_IEEEFP_H
21188 #include <ieeefp.h>
21189 #endif
21192 main ()
21194 isinff(0);
21196 return 0;
21198 _ACEOF
21199 if ac_fn_cxx_try_compile "$LINENO"; then :
21200 glibcxx_cv_func_isinff_use=yes
21201 else
21202 glibcxx_cv_func_isinff_use=no
21204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21205 ac_ext=c
21206 ac_cpp='$CPP $CPPFLAGS'
21207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21216 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21218 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21219 for ac_func in isinff
21220 do :
21221 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21222 if test "x$ac_cv_func_isinff" = x""yes; then :
21223 cat >>confdefs.h <<_ACEOF
21224 #define HAVE_ISINFF 1
21225 _ACEOF
21228 done
21230 else
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21233 $as_echo_n "checking for _isinff declaration... " >&6; }
21234 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21235 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21236 $as_echo_n "(cached) " >&6
21237 else
21240 ac_ext=cpp
21241 ac_cpp='$CXXCPP $CPPFLAGS'
21242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21247 /* end confdefs.h. */
21248 #include <math.h>
21249 #ifdef HAVE_IEEEFP_H
21250 #include <ieeefp.h>
21251 #endif
21254 main ()
21256 _isinff(0);
21258 return 0;
21260 _ACEOF
21261 if ac_fn_cxx_try_compile "$LINENO"; then :
21262 glibcxx_cv_func__isinff_use=yes
21263 else
21264 glibcxx_cv_func__isinff_use=no
21266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21267 ac_ext=c
21268 ac_cpp='$CPP $CPPFLAGS'
21269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21278 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21280 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21281 for ac_func in _isinff
21282 do :
21283 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21284 if test "x$ac_cv_func__isinff" = x""yes; then :
21285 cat >>confdefs.h <<_ACEOF
21286 #define HAVE__ISINFF 1
21287 _ACEOF
21290 done
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21300 $as_echo_n "checking for atan2f declaration... " >&6; }
21301 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21302 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21303 $as_echo_n "(cached) " >&6
21304 else
21307 ac_ext=cpp
21308 ac_cpp='$CXXCPP $CPPFLAGS'
21309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21314 /* end confdefs.h. */
21315 #include <math.h>
21317 main ()
21319 atan2f(0, 0);
21321 return 0;
21323 _ACEOF
21324 if ac_fn_cxx_try_compile "$LINENO"; then :
21325 glibcxx_cv_func_atan2f_use=yes
21326 else
21327 glibcxx_cv_func_atan2f_use=no
21329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21330 ac_ext=c
21331 ac_cpp='$CPP $CPPFLAGS'
21332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21341 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21343 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21344 for ac_func in atan2f
21345 do :
21346 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21347 if test "x$ac_cv_func_atan2f" = x""yes; then :
21348 cat >>confdefs.h <<_ACEOF
21349 #define HAVE_ATAN2F 1
21350 _ACEOF
21353 done
21355 else
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21358 $as_echo_n "checking for _atan2f declaration... " >&6; }
21359 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21360 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21361 $as_echo_n "(cached) " >&6
21362 else
21365 ac_ext=cpp
21366 ac_cpp='$CXXCPP $CPPFLAGS'
21367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21372 /* end confdefs.h. */
21373 #include <math.h>
21375 main ()
21377 _atan2f(0, 0);
21379 return 0;
21381 _ACEOF
21382 if ac_fn_cxx_try_compile "$LINENO"; then :
21383 glibcxx_cv_func__atan2f_use=yes
21384 else
21385 glibcxx_cv_func__atan2f_use=no
21387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21388 ac_ext=c
21389 ac_cpp='$CPP $CPPFLAGS'
21390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21399 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21401 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21402 for ac_func in _atan2f
21403 do :
21404 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21405 if test "x$ac_cv_func__atan2f" = x""yes; then :
21406 cat >>confdefs.h <<_ACEOF
21407 #define HAVE__ATAN2F 1
21408 _ACEOF
21411 done
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21421 $as_echo_n "checking for fabsf declaration... " >&6; }
21422 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21423 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21424 $as_echo_n "(cached) " >&6
21425 else
21428 ac_ext=cpp
21429 ac_cpp='$CXXCPP $CPPFLAGS'
21430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21436 #include <math.h>
21437 #ifdef HAVE_IEEEFP_H
21438 #include <ieeefp.h>
21439 #endif
21442 main ()
21444 fabsf(0);
21446 return 0;
21448 _ACEOF
21449 if ac_fn_cxx_try_compile "$LINENO"; then :
21450 glibcxx_cv_func_fabsf_use=yes
21451 else
21452 glibcxx_cv_func_fabsf_use=no
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21455 ac_ext=c
21456 ac_cpp='$CPP $CPPFLAGS'
21457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21466 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21468 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21469 for ac_func in fabsf
21470 do :
21471 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21472 if test "x$ac_cv_func_fabsf" = x""yes; then :
21473 cat >>confdefs.h <<_ACEOF
21474 #define HAVE_FABSF 1
21475 _ACEOF
21478 done
21480 else
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21483 $as_echo_n "checking for _fabsf declaration... " >&6; }
21484 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21485 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21486 $as_echo_n "(cached) " >&6
21487 else
21490 ac_ext=cpp
21491 ac_cpp='$CXXCPP $CPPFLAGS'
21492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h. */
21498 #include <math.h>
21499 #ifdef HAVE_IEEEFP_H
21500 #include <ieeefp.h>
21501 #endif
21504 main ()
21506 _fabsf(0);
21508 return 0;
21510 _ACEOF
21511 if ac_fn_cxx_try_compile "$LINENO"; then :
21512 glibcxx_cv_func__fabsf_use=yes
21513 else
21514 glibcxx_cv_func__fabsf_use=no
21516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21517 ac_ext=c
21518 ac_cpp='$CPP $CPPFLAGS'
21519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21528 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21530 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21531 for ac_func in _fabsf
21532 do :
21533 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21534 if test "x$ac_cv_func__fabsf" = x""yes; then :
21535 cat >>confdefs.h <<_ACEOF
21536 #define HAVE__FABSF 1
21537 _ACEOF
21540 done
21549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21550 $as_echo_n "checking for fmodf declaration... " >&6; }
21551 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21552 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21553 $as_echo_n "(cached) " >&6
21554 else
21557 ac_ext=cpp
21558 ac_cpp='$CXXCPP $CPPFLAGS'
21559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h. */
21565 #include <math.h>
21567 main ()
21569 fmodf(0, 0);
21571 return 0;
21573 _ACEOF
21574 if ac_fn_cxx_try_compile "$LINENO"; then :
21575 glibcxx_cv_func_fmodf_use=yes
21576 else
21577 glibcxx_cv_func_fmodf_use=no
21579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21580 ac_ext=c
21581 ac_cpp='$CPP $CPPFLAGS'
21582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21591 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21593 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21594 for ac_func in fmodf
21595 do :
21596 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21597 if test "x$ac_cv_func_fmodf" = x""yes; then :
21598 cat >>confdefs.h <<_ACEOF
21599 #define HAVE_FMODF 1
21600 _ACEOF
21603 done
21605 else
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21608 $as_echo_n "checking for _fmodf declaration... " >&6; }
21609 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21610 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21611 $as_echo_n "(cached) " >&6
21612 else
21615 ac_ext=cpp
21616 ac_cpp='$CXXCPP $CPPFLAGS'
21617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21622 /* end confdefs.h. */
21623 #include <math.h>
21625 main ()
21627 _fmodf(0, 0);
21629 return 0;
21631 _ACEOF
21632 if ac_fn_cxx_try_compile "$LINENO"; then :
21633 glibcxx_cv_func__fmodf_use=yes
21634 else
21635 glibcxx_cv_func__fmodf_use=no
21637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21638 ac_ext=c
21639 ac_cpp='$CPP $CPPFLAGS'
21640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21649 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21651 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21652 for ac_func in _fmodf
21653 do :
21654 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21655 if test "x$ac_cv_func__fmodf" = x""yes; then :
21656 cat >>confdefs.h <<_ACEOF
21657 #define HAVE__FMODF 1
21658 _ACEOF
21661 done
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21671 $as_echo_n "checking for frexpf declaration... " >&6; }
21672 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21673 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21674 $as_echo_n "(cached) " >&6
21675 else
21678 ac_ext=cpp
21679 ac_cpp='$CXXCPP $CPPFLAGS'
21680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21685 /* end confdefs.h. */
21686 #include <math.h>
21688 main ()
21690 frexpf(0, 0);
21692 return 0;
21694 _ACEOF
21695 if ac_fn_cxx_try_compile "$LINENO"; then :
21696 glibcxx_cv_func_frexpf_use=yes
21697 else
21698 glibcxx_cv_func_frexpf_use=no
21700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21701 ac_ext=c
21702 ac_cpp='$CPP $CPPFLAGS'
21703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21712 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21714 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21715 for ac_func in frexpf
21716 do :
21717 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21718 if test "x$ac_cv_func_frexpf" = x""yes; then :
21719 cat >>confdefs.h <<_ACEOF
21720 #define HAVE_FREXPF 1
21721 _ACEOF
21724 done
21726 else
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21729 $as_echo_n "checking for _frexpf declaration... " >&6; }
21730 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21731 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21732 $as_echo_n "(cached) " >&6
21733 else
21736 ac_ext=cpp
21737 ac_cpp='$CXXCPP $CPPFLAGS'
21738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21743 /* end confdefs.h. */
21744 #include <math.h>
21746 main ()
21748 _frexpf(0, 0);
21750 return 0;
21752 _ACEOF
21753 if ac_fn_cxx_try_compile "$LINENO"; then :
21754 glibcxx_cv_func__frexpf_use=yes
21755 else
21756 glibcxx_cv_func__frexpf_use=no
21758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21759 ac_ext=c
21760 ac_cpp='$CPP $CPPFLAGS'
21761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21770 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21772 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21773 for ac_func in _frexpf
21774 do :
21775 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21776 if test "x$ac_cv_func__frexpf" = x""yes; then :
21777 cat >>confdefs.h <<_ACEOF
21778 #define HAVE__FREXPF 1
21779 _ACEOF
21782 done
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21792 $as_echo_n "checking for hypotf declaration... " >&6; }
21793 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21794 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21795 $as_echo_n "(cached) " >&6
21796 else
21799 ac_ext=cpp
21800 ac_cpp='$CXXCPP $CPPFLAGS'
21801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21806 /* end confdefs.h. */
21807 #include <math.h>
21809 main ()
21811 hypotf(0, 0);
21813 return 0;
21815 _ACEOF
21816 if ac_fn_cxx_try_compile "$LINENO"; then :
21817 glibcxx_cv_func_hypotf_use=yes
21818 else
21819 glibcxx_cv_func_hypotf_use=no
21821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21822 ac_ext=c
21823 ac_cpp='$CPP $CPPFLAGS'
21824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21833 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21835 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21836 for ac_func in hypotf
21837 do :
21838 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21839 if test "x$ac_cv_func_hypotf" = x""yes; then :
21840 cat >>confdefs.h <<_ACEOF
21841 #define HAVE_HYPOTF 1
21842 _ACEOF
21845 done
21847 else
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21850 $as_echo_n "checking for _hypotf declaration... " >&6; }
21851 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21852 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21853 $as_echo_n "(cached) " >&6
21854 else
21857 ac_ext=cpp
21858 ac_cpp='$CXXCPP $CPPFLAGS'
21859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h. */
21865 #include <math.h>
21867 main ()
21869 _hypotf(0, 0);
21871 return 0;
21873 _ACEOF
21874 if ac_fn_cxx_try_compile "$LINENO"; then :
21875 glibcxx_cv_func__hypotf_use=yes
21876 else
21877 glibcxx_cv_func__hypotf_use=no
21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 ac_ext=c
21881 ac_cpp='$CPP $CPPFLAGS'
21882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21891 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21893 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21894 for ac_func in _hypotf
21895 do :
21896 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21897 if test "x$ac_cv_func__hypotf" = x""yes; then :
21898 cat >>confdefs.h <<_ACEOF
21899 #define HAVE__HYPOTF 1
21900 _ACEOF
21903 done
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21913 $as_echo_n "checking for ldexpf declaration... " >&6; }
21914 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21915 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21916 $as_echo_n "(cached) " >&6
21917 else
21920 ac_ext=cpp
21921 ac_cpp='$CXXCPP $CPPFLAGS'
21922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21927 /* end confdefs.h. */
21928 #include <math.h>
21930 main ()
21932 ldexpf(0, 0);
21934 return 0;
21936 _ACEOF
21937 if ac_fn_cxx_try_compile "$LINENO"; then :
21938 glibcxx_cv_func_ldexpf_use=yes
21939 else
21940 glibcxx_cv_func_ldexpf_use=no
21942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21943 ac_ext=c
21944 ac_cpp='$CPP $CPPFLAGS'
21945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21954 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21956 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21957 for ac_func in ldexpf
21958 do :
21959 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21960 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21961 cat >>confdefs.h <<_ACEOF
21962 #define HAVE_LDEXPF 1
21963 _ACEOF
21966 done
21968 else
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21971 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21972 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21973 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21974 $as_echo_n "(cached) " >&6
21975 else
21978 ac_ext=cpp
21979 ac_cpp='$CXXCPP $CPPFLAGS'
21980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21985 /* end confdefs.h. */
21986 #include <math.h>
21988 main ()
21990 _ldexpf(0, 0);
21992 return 0;
21994 _ACEOF
21995 if ac_fn_cxx_try_compile "$LINENO"; then :
21996 glibcxx_cv_func__ldexpf_use=yes
21997 else
21998 glibcxx_cv_func__ldexpf_use=no
22000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22001 ac_ext=c
22002 ac_cpp='$CPP $CPPFLAGS'
22003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22012 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22014 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22015 for ac_func in _ldexpf
22016 do :
22017 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22018 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22019 cat >>confdefs.h <<_ACEOF
22020 #define HAVE__LDEXPF 1
22021 _ACEOF
22024 done
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22034 $as_echo_n "checking for logf declaration... " >&6; }
22035 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22036 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22037 $as_echo_n "(cached) " >&6
22038 else
22041 ac_ext=cpp
22042 ac_cpp='$CXXCPP $CPPFLAGS'
22043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22048 /* end confdefs.h. */
22049 #include <math.h>
22050 #ifdef HAVE_IEEEFP_H
22051 #include <ieeefp.h>
22052 #endif
22055 main ()
22057 logf(0);
22059 return 0;
22061 _ACEOF
22062 if ac_fn_cxx_try_compile "$LINENO"; then :
22063 glibcxx_cv_func_logf_use=yes
22064 else
22065 glibcxx_cv_func_logf_use=no
22067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22068 ac_ext=c
22069 ac_cpp='$CPP $CPPFLAGS'
22070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22079 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22081 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22082 for ac_func in logf
22083 do :
22084 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22085 if test "x$ac_cv_func_logf" = x""yes; then :
22086 cat >>confdefs.h <<_ACEOF
22087 #define HAVE_LOGF 1
22088 _ACEOF
22091 done
22093 else
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22096 $as_echo_n "checking for _logf declaration... " >&6; }
22097 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22098 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22099 $as_echo_n "(cached) " >&6
22100 else
22103 ac_ext=cpp
22104 ac_cpp='$CXXCPP $CPPFLAGS'
22105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22110 /* end confdefs.h. */
22111 #include <math.h>
22112 #ifdef HAVE_IEEEFP_H
22113 #include <ieeefp.h>
22114 #endif
22117 main ()
22119 _logf(0);
22121 return 0;
22123 _ACEOF
22124 if ac_fn_cxx_try_compile "$LINENO"; then :
22125 glibcxx_cv_func__logf_use=yes
22126 else
22127 glibcxx_cv_func__logf_use=no
22129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22130 ac_ext=c
22131 ac_cpp='$CPP $CPPFLAGS'
22132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22141 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22143 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22144 for ac_func in _logf
22145 do :
22146 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22147 if test "x$ac_cv_func__logf" = x""yes; then :
22148 cat >>confdefs.h <<_ACEOF
22149 #define HAVE__LOGF 1
22150 _ACEOF
22153 done
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22163 $as_echo_n "checking for log10f declaration... " >&6; }
22164 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22165 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22166 $as_echo_n "(cached) " >&6
22167 else
22170 ac_ext=cpp
22171 ac_cpp='$CXXCPP $CPPFLAGS'
22172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22177 /* end confdefs.h. */
22178 #include <math.h>
22179 #ifdef HAVE_IEEEFP_H
22180 #include <ieeefp.h>
22181 #endif
22184 main ()
22186 log10f(0);
22188 return 0;
22190 _ACEOF
22191 if ac_fn_cxx_try_compile "$LINENO"; then :
22192 glibcxx_cv_func_log10f_use=yes
22193 else
22194 glibcxx_cv_func_log10f_use=no
22196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22197 ac_ext=c
22198 ac_cpp='$CPP $CPPFLAGS'
22199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22208 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22210 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22211 for ac_func in log10f
22212 do :
22213 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22214 if test "x$ac_cv_func_log10f" = x""yes; then :
22215 cat >>confdefs.h <<_ACEOF
22216 #define HAVE_LOG10F 1
22217 _ACEOF
22220 done
22222 else
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22225 $as_echo_n "checking for _log10f declaration... " >&6; }
22226 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22227 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22228 $as_echo_n "(cached) " >&6
22229 else
22232 ac_ext=cpp
22233 ac_cpp='$CXXCPP $CPPFLAGS'
22234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22239 /* end confdefs.h. */
22240 #include <math.h>
22241 #ifdef HAVE_IEEEFP_H
22242 #include <ieeefp.h>
22243 #endif
22246 main ()
22248 _log10f(0);
22250 return 0;
22252 _ACEOF
22253 if ac_fn_cxx_try_compile "$LINENO"; then :
22254 glibcxx_cv_func__log10f_use=yes
22255 else
22256 glibcxx_cv_func__log10f_use=no
22258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22259 ac_ext=c
22260 ac_cpp='$CPP $CPPFLAGS'
22261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22270 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22272 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22273 for ac_func in _log10f
22274 do :
22275 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22276 if test "x$ac_cv_func__log10f" = x""yes; then :
22277 cat >>confdefs.h <<_ACEOF
22278 #define HAVE__LOG10F 1
22279 _ACEOF
22282 done
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22292 $as_echo_n "checking for modff declaration... " >&6; }
22293 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22294 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22295 $as_echo_n "(cached) " >&6
22296 else
22299 ac_ext=cpp
22300 ac_cpp='$CXXCPP $CPPFLAGS'
22301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22307 #include <math.h>
22309 main ()
22311 modff(0, 0);
22313 return 0;
22315 _ACEOF
22316 if ac_fn_cxx_try_compile "$LINENO"; then :
22317 glibcxx_cv_func_modff_use=yes
22318 else
22319 glibcxx_cv_func_modff_use=no
22321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22322 ac_ext=c
22323 ac_cpp='$CPP $CPPFLAGS'
22324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22333 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22335 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22336 for ac_func in modff
22337 do :
22338 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22339 if test "x$ac_cv_func_modff" = x""yes; then :
22340 cat >>confdefs.h <<_ACEOF
22341 #define HAVE_MODFF 1
22342 _ACEOF
22345 done
22347 else
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22350 $as_echo_n "checking for _modff declaration... " >&6; }
22351 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22352 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22353 $as_echo_n "(cached) " >&6
22354 else
22357 ac_ext=cpp
22358 ac_cpp='$CXXCPP $CPPFLAGS'
22359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22364 /* end confdefs.h. */
22365 #include <math.h>
22367 main ()
22369 _modff(0, 0);
22371 return 0;
22373 _ACEOF
22374 if ac_fn_cxx_try_compile "$LINENO"; then :
22375 glibcxx_cv_func__modff_use=yes
22376 else
22377 glibcxx_cv_func__modff_use=no
22379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22380 ac_ext=c
22381 ac_cpp='$CPP $CPPFLAGS'
22382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22391 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22393 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22394 for ac_func in _modff
22395 do :
22396 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22397 if test "x$ac_cv_func__modff" = x""yes; then :
22398 cat >>confdefs.h <<_ACEOF
22399 #define HAVE__MODFF 1
22400 _ACEOF
22403 done
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22413 $as_echo_n "checking for modf declaration... " >&6; }
22414 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22415 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22416 $as_echo_n "(cached) " >&6
22417 else
22420 ac_ext=cpp
22421 ac_cpp='$CXXCPP $CPPFLAGS'
22422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22427 /* end confdefs.h. */
22428 #include <math.h>
22430 main ()
22432 modf(0, 0);
22434 return 0;
22436 _ACEOF
22437 if ac_fn_cxx_try_compile "$LINENO"; then :
22438 glibcxx_cv_func_modf_use=yes
22439 else
22440 glibcxx_cv_func_modf_use=no
22442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22443 ac_ext=c
22444 ac_cpp='$CPP $CPPFLAGS'
22445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22454 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22456 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22457 for ac_func in modf
22458 do :
22459 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22460 if test "x$ac_cv_func_modf" = x""yes; then :
22461 cat >>confdefs.h <<_ACEOF
22462 #define HAVE_MODF 1
22463 _ACEOF
22466 done
22468 else
22470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22471 $as_echo_n "checking for _modf declaration... " >&6; }
22472 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22473 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22474 $as_echo_n "(cached) " >&6
22475 else
22478 ac_ext=cpp
22479 ac_cpp='$CXXCPP $CPPFLAGS'
22480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22485 /* end confdefs.h. */
22486 #include <math.h>
22488 main ()
22490 _modf(0, 0);
22492 return 0;
22494 _ACEOF
22495 if ac_fn_cxx_try_compile "$LINENO"; then :
22496 glibcxx_cv_func__modf_use=yes
22497 else
22498 glibcxx_cv_func__modf_use=no
22500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22501 ac_ext=c
22502 ac_cpp='$CPP $CPPFLAGS'
22503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22512 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22514 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22515 for ac_func in _modf
22516 do :
22517 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22518 if test "x$ac_cv_func__modf" = x""yes; then :
22519 cat >>confdefs.h <<_ACEOF
22520 #define HAVE__MODF 1
22521 _ACEOF
22524 done
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22534 $as_echo_n "checking for powf declaration... " >&6; }
22535 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22536 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22537 $as_echo_n "(cached) " >&6
22538 else
22541 ac_ext=cpp
22542 ac_cpp='$CXXCPP $CPPFLAGS'
22543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22548 /* end confdefs.h. */
22549 #include <math.h>
22551 main ()
22553 powf(0, 0);
22555 return 0;
22557 _ACEOF
22558 if ac_fn_cxx_try_compile "$LINENO"; then :
22559 glibcxx_cv_func_powf_use=yes
22560 else
22561 glibcxx_cv_func_powf_use=no
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22564 ac_ext=c
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22575 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22577 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22578 for ac_func in powf
22579 do :
22580 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22581 if test "x$ac_cv_func_powf" = x""yes; then :
22582 cat >>confdefs.h <<_ACEOF
22583 #define HAVE_POWF 1
22584 _ACEOF
22587 done
22589 else
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22592 $as_echo_n "checking for _powf declaration... " >&6; }
22593 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22594 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22595 $as_echo_n "(cached) " >&6
22596 else
22599 ac_ext=cpp
22600 ac_cpp='$CXXCPP $CPPFLAGS'
22601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22606 /* end confdefs.h. */
22607 #include <math.h>
22609 main ()
22611 _powf(0, 0);
22613 return 0;
22615 _ACEOF
22616 if ac_fn_cxx_try_compile "$LINENO"; then :
22617 glibcxx_cv_func__powf_use=yes
22618 else
22619 glibcxx_cv_func__powf_use=no
22621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22622 ac_ext=c
22623 ac_cpp='$CPP $CPPFLAGS'
22624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22633 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22635 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22636 for ac_func in _powf
22637 do :
22638 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22639 if test "x$ac_cv_func__powf" = x""yes; then :
22640 cat >>confdefs.h <<_ACEOF
22641 #define HAVE__POWF 1
22642 _ACEOF
22645 done
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22655 $as_echo_n "checking for sqrtf declaration... " >&6; }
22656 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22657 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22658 $as_echo_n "(cached) " >&6
22659 else
22662 ac_ext=cpp
22663 ac_cpp='$CXXCPP $CPPFLAGS'
22664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22669 /* end confdefs.h. */
22670 #include <math.h>
22671 #ifdef HAVE_IEEEFP_H
22672 #include <ieeefp.h>
22673 #endif
22676 main ()
22678 sqrtf(0);
22680 return 0;
22682 _ACEOF
22683 if ac_fn_cxx_try_compile "$LINENO"; then :
22684 glibcxx_cv_func_sqrtf_use=yes
22685 else
22686 glibcxx_cv_func_sqrtf_use=no
22688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22689 ac_ext=c
22690 ac_cpp='$CPP $CPPFLAGS'
22691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22700 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22702 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22703 for ac_func in sqrtf
22704 do :
22705 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22706 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22707 cat >>confdefs.h <<_ACEOF
22708 #define HAVE_SQRTF 1
22709 _ACEOF
22712 done
22714 else
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22717 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22718 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22719 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22720 $as_echo_n "(cached) " >&6
22721 else
22724 ac_ext=cpp
22725 ac_cpp='$CXXCPP $CPPFLAGS'
22726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22731 /* end confdefs.h. */
22732 #include <math.h>
22733 #ifdef HAVE_IEEEFP_H
22734 #include <ieeefp.h>
22735 #endif
22738 main ()
22740 _sqrtf(0);
22742 return 0;
22744 _ACEOF
22745 if ac_fn_cxx_try_compile "$LINENO"; then :
22746 glibcxx_cv_func__sqrtf_use=yes
22747 else
22748 glibcxx_cv_func__sqrtf_use=no
22750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22751 ac_ext=c
22752 ac_cpp='$CPP $CPPFLAGS'
22753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22762 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22764 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22765 for ac_func in _sqrtf
22766 do :
22767 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22768 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22769 cat >>confdefs.h <<_ACEOF
22770 #define HAVE__SQRTF 1
22771 _ACEOF
22774 done
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22784 $as_echo_n "checking for sincosf declaration... " >&6; }
22785 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22786 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22787 $as_echo_n "(cached) " >&6
22788 else
22791 ac_ext=cpp
22792 ac_cpp='$CXXCPP $CPPFLAGS'
22793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22798 /* end confdefs.h. */
22799 #include <math.h>
22801 main ()
22803 sincosf(0, 0, 0);
22805 return 0;
22807 _ACEOF
22808 if ac_fn_cxx_try_compile "$LINENO"; then :
22809 glibcxx_cv_func_sincosf_use=yes
22810 else
22811 glibcxx_cv_func_sincosf_use=no
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22814 ac_ext=c
22815 ac_cpp='$CPP $CPPFLAGS'
22816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22825 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22827 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22828 for ac_func in sincosf
22829 do :
22830 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22831 if test "x$ac_cv_func_sincosf" = x""yes; then :
22832 cat >>confdefs.h <<_ACEOF
22833 #define HAVE_SINCOSF 1
22834 _ACEOF
22837 done
22839 else
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22842 $as_echo_n "checking for _sincosf declaration... " >&6; }
22843 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22844 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22845 $as_echo_n "(cached) " >&6
22846 else
22849 ac_ext=cpp
22850 ac_cpp='$CXXCPP $CPPFLAGS'
22851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22856 /* end confdefs.h. */
22857 #include <math.h>
22859 main ()
22861 _sincosf(0, 0, 0);
22863 return 0;
22865 _ACEOF
22866 if ac_fn_cxx_try_compile "$LINENO"; then :
22867 glibcxx_cv_func__sincosf_use=yes
22868 else
22869 glibcxx_cv_func__sincosf_use=no
22871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22872 ac_ext=c
22873 ac_cpp='$CPP $CPPFLAGS'
22874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22883 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22885 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22886 for ac_func in _sincosf
22887 do :
22888 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22889 if test "x$ac_cv_func__sincosf" = x""yes; then :
22890 cat >>confdefs.h <<_ACEOF
22891 #define HAVE__SINCOSF 1
22892 _ACEOF
22895 done
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22905 $as_echo_n "checking for finitef declaration... " >&6; }
22906 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22907 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22908 $as_echo_n "(cached) " >&6
22909 else
22912 ac_ext=cpp
22913 ac_cpp='$CXXCPP $CPPFLAGS'
22914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22919 /* end confdefs.h. */
22920 #include <math.h>
22921 #ifdef HAVE_IEEEFP_H
22922 #include <ieeefp.h>
22923 #endif
22926 main ()
22928 finitef(0);
22930 return 0;
22932 _ACEOF
22933 if ac_fn_cxx_try_compile "$LINENO"; then :
22934 glibcxx_cv_func_finitef_use=yes
22935 else
22936 glibcxx_cv_func_finitef_use=no
22938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22939 ac_ext=c
22940 ac_cpp='$CPP $CPPFLAGS'
22941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22950 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22952 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22953 for ac_func in finitef
22954 do :
22955 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22956 if test "x$ac_cv_func_finitef" = x""yes; then :
22957 cat >>confdefs.h <<_ACEOF
22958 #define HAVE_FINITEF 1
22959 _ACEOF
22962 done
22964 else
22966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22967 $as_echo_n "checking for _finitef declaration... " >&6; }
22968 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22969 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22970 $as_echo_n "(cached) " >&6
22971 else
22974 ac_ext=cpp
22975 ac_cpp='$CXXCPP $CPPFLAGS'
22976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22981 /* end confdefs.h. */
22982 #include <math.h>
22983 #ifdef HAVE_IEEEFP_H
22984 #include <ieeefp.h>
22985 #endif
22988 main ()
22990 _finitef(0);
22992 return 0;
22994 _ACEOF
22995 if ac_fn_cxx_try_compile "$LINENO"; then :
22996 glibcxx_cv_func__finitef_use=yes
22997 else
22998 glibcxx_cv_func__finitef_use=no
23000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23001 ac_ext=c
23002 ac_cpp='$CPP $CPPFLAGS'
23003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23012 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23014 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23015 for ac_func in _finitef
23016 do :
23017 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23018 if test "x$ac_cv_func__finitef" = x""yes; then :
23019 cat >>confdefs.h <<_ACEOF
23020 #define HAVE__FINITEF 1
23021 _ACEOF
23024 done
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23034 $as_echo_n "checking for long double trig functions... " >&6; }
23035 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23036 $as_echo_n "(cached) " >&6
23037 else
23040 ac_ext=cpp
23041 ac_cpp='$CXXCPP $CPPFLAGS'
23042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23047 /* end confdefs.h. */
23048 #include <math.h>
23050 main ()
23052 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23054 return 0;
23056 _ACEOF
23057 if ac_fn_cxx_try_compile "$LINENO"; then :
23058 glibcxx_cv_func_long_double_trig_use=yes
23059 else
23060 glibcxx_cv_func_long_double_trig_use=no
23062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23063 ac_ext=c
23064 ac_cpp='$CPP $CPPFLAGS'
23065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23072 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23073 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23074 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23075 do :
23076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23078 eval as_val=\$$as_ac_var
23079 if test "x$as_val" = x""yes; then :
23080 cat >>confdefs.h <<_ACEOF
23081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23082 _ACEOF
23085 done
23087 else
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23089 $as_echo_n "checking for _long double trig functions... " >&6; }
23090 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23091 $as_echo_n "(cached) " >&6
23092 else
23095 ac_ext=cpp
23096 ac_cpp='$CXXCPP $CPPFLAGS'
23097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23102 /* end confdefs.h. */
23103 #include <math.h>
23105 main ()
23107 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23109 return 0;
23111 _ACEOF
23112 if ac_fn_cxx_try_compile "$LINENO"; then :
23113 glibcxx_cv_func__long_double_trig_use=yes
23114 else
23115 glibcxx_cv_func__long_double_trig_use=no
23117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23118 ac_ext=c
23119 ac_cpp='$CPP $CPPFLAGS'
23120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23127 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23128 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23129 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23130 do :
23131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23133 eval as_val=\$$as_ac_var
23134 if test "x$as_val" = x""yes; then :
23135 cat >>confdefs.h <<_ACEOF
23136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23137 _ACEOF
23140 done
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23150 $as_echo_n "checking for long double round functions... " >&6; }
23151 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23152 $as_echo_n "(cached) " >&6
23153 else
23156 ac_ext=cpp
23157 ac_cpp='$CXXCPP $CPPFLAGS'
23158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23163 /* end confdefs.h. */
23164 #include <math.h>
23166 main ()
23168 ceill (0); floorl (0);
23170 return 0;
23172 _ACEOF
23173 if ac_fn_cxx_try_compile "$LINENO"; then :
23174 glibcxx_cv_func_long_double_round_use=yes
23175 else
23176 glibcxx_cv_func_long_double_round_use=no
23178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23179 ac_ext=c
23180 ac_cpp='$CPP $CPPFLAGS'
23181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23188 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23189 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23190 for ac_func in ceill floorl
23191 do :
23192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23194 eval as_val=\$$as_ac_var
23195 if test "x$as_val" = x""yes; then :
23196 cat >>confdefs.h <<_ACEOF
23197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23198 _ACEOF
23201 done
23203 else
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23205 $as_echo_n "checking for _long double round functions... " >&6; }
23206 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23207 $as_echo_n "(cached) " >&6
23208 else
23211 ac_ext=cpp
23212 ac_cpp='$CXXCPP $CPPFLAGS'
23213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h. */
23219 #include <math.h>
23221 main ()
23223 _ceill (0); _floorl (0);
23225 return 0;
23227 _ACEOF
23228 if ac_fn_cxx_try_compile "$LINENO"; then :
23229 glibcxx_cv_func__long_double_round_use=yes
23230 else
23231 glibcxx_cv_func__long_double_round_use=no
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23234 ac_ext=c
23235 ac_cpp='$CPP $CPPFLAGS'
23236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23243 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23244 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23245 for ac_func in _ceill _floorl
23246 do :
23247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23249 eval as_val=\$$as_ac_var
23250 if test "x$as_val" = x""yes; then :
23251 cat >>confdefs.h <<_ACEOF
23252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23253 _ACEOF
23256 done
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23267 $as_echo_n "checking for isnanl declaration... " >&6; }
23268 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23269 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23270 $as_echo_n "(cached) " >&6
23271 else
23274 ac_ext=cpp
23275 ac_cpp='$CXXCPP $CPPFLAGS'
23276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23281 /* end confdefs.h. */
23282 #include <math.h>
23283 #ifdef HAVE_IEEEFP_H
23284 #include <ieeefp.h>
23285 #endif
23288 main ()
23290 isnanl(0);
23292 return 0;
23294 _ACEOF
23295 if ac_fn_cxx_try_compile "$LINENO"; then :
23296 glibcxx_cv_func_isnanl_use=yes
23297 else
23298 glibcxx_cv_func_isnanl_use=no
23300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23301 ac_ext=c
23302 ac_cpp='$CPP $CPPFLAGS'
23303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23312 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23314 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23315 for ac_func in isnanl
23316 do :
23317 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23318 if test "x$ac_cv_func_isnanl" = x""yes; then :
23319 cat >>confdefs.h <<_ACEOF
23320 #define HAVE_ISNANL 1
23321 _ACEOF
23324 done
23326 else
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23329 $as_echo_n "checking for _isnanl declaration... " >&6; }
23330 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23331 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23332 $as_echo_n "(cached) " >&6
23333 else
23336 ac_ext=cpp
23337 ac_cpp='$CXXCPP $CPPFLAGS'
23338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23343 /* end confdefs.h. */
23344 #include <math.h>
23345 #ifdef HAVE_IEEEFP_H
23346 #include <ieeefp.h>
23347 #endif
23350 main ()
23352 _isnanl(0);
23354 return 0;
23356 _ACEOF
23357 if ac_fn_cxx_try_compile "$LINENO"; then :
23358 glibcxx_cv_func__isnanl_use=yes
23359 else
23360 glibcxx_cv_func__isnanl_use=no
23362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23363 ac_ext=c
23364 ac_cpp='$CPP $CPPFLAGS'
23365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23374 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23376 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23377 for ac_func in _isnanl
23378 do :
23379 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23380 if test "x$ac_cv_func__isnanl" = x""yes; then :
23381 cat >>confdefs.h <<_ACEOF
23382 #define HAVE__ISNANL 1
23383 _ACEOF
23386 done
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23396 $as_echo_n "checking for isinfl declaration... " >&6; }
23397 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23398 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23399 $as_echo_n "(cached) " >&6
23400 else
23403 ac_ext=cpp
23404 ac_cpp='$CXXCPP $CPPFLAGS'
23405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23410 /* end confdefs.h. */
23411 #include <math.h>
23412 #ifdef HAVE_IEEEFP_H
23413 #include <ieeefp.h>
23414 #endif
23417 main ()
23419 isinfl(0);
23421 return 0;
23423 _ACEOF
23424 if ac_fn_cxx_try_compile "$LINENO"; then :
23425 glibcxx_cv_func_isinfl_use=yes
23426 else
23427 glibcxx_cv_func_isinfl_use=no
23429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23430 ac_ext=c
23431 ac_cpp='$CPP $CPPFLAGS'
23432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23441 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23443 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23444 for ac_func in isinfl
23445 do :
23446 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23447 if test "x$ac_cv_func_isinfl" = x""yes; then :
23448 cat >>confdefs.h <<_ACEOF
23449 #define HAVE_ISINFL 1
23450 _ACEOF
23453 done
23455 else
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23458 $as_echo_n "checking for _isinfl declaration... " >&6; }
23459 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23460 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23461 $as_echo_n "(cached) " >&6
23462 else
23465 ac_ext=cpp
23466 ac_cpp='$CXXCPP $CPPFLAGS'
23467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23472 /* end confdefs.h. */
23473 #include <math.h>
23474 #ifdef HAVE_IEEEFP_H
23475 #include <ieeefp.h>
23476 #endif
23479 main ()
23481 _isinfl(0);
23483 return 0;
23485 _ACEOF
23486 if ac_fn_cxx_try_compile "$LINENO"; then :
23487 glibcxx_cv_func__isinfl_use=yes
23488 else
23489 glibcxx_cv_func__isinfl_use=no
23491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23492 ac_ext=c
23493 ac_cpp='$CPP $CPPFLAGS'
23494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23503 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23505 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23506 for ac_func in _isinfl
23507 do :
23508 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23509 if test "x$ac_cv_func__isinfl" = x""yes; then :
23510 cat >>confdefs.h <<_ACEOF
23511 #define HAVE__ISINFL 1
23512 _ACEOF
23515 done
23524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23525 $as_echo_n "checking for atan2l declaration... " >&6; }
23526 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23527 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23528 $as_echo_n "(cached) " >&6
23529 else
23532 ac_ext=cpp
23533 ac_cpp='$CXXCPP $CPPFLAGS'
23534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23539 /* end confdefs.h. */
23540 #include <math.h>
23542 main ()
23544 atan2l(0, 0);
23546 return 0;
23548 _ACEOF
23549 if ac_fn_cxx_try_compile "$LINENO"; then :
23550 glibcxx_cv_func_atan2l_use=yes
23551 else
23552 glibcxx_cv_func_atan2l_use=no
23554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23555 ac_ext=c
23556 ac_cpp='$CPP $CPPFLAGS'
23557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23566 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23568 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23569 for ac_func in atan2l
23570 do :
23571 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23572 if test "x$ac_cv_func_atan2l" = x""yes; then :
23573 cat >>confdefs.h <<_ACEOF
23574 #define HAVE_ATAN2L 1
23575 _ACEOF
23578 done
23580 else
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23583 $as_echo_n "checking for _atan2l declaration... " >&6; }
23584 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23585 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23586 $as_echo_n "(cached) " >&6
23587 else
23590 ac_ext=cpp
23591 ac_cpp='$CXXCPP $CPPFLAGS'
23592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h. */
23598 #include <math.h>
23600 main ()
23602 _atan2l(0, 0);
23604 return 0;
23606 _ACEOF
23607 if ac_fn_cxx_try_compile "$LINENO"; then :
23608 glibcxx_cv_func__atan2l_use=yes
23609 else
23610 glibcxx_cv_func__atan2l_use=no
23612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23613 ac_ext=c
23614 ac_cpp='$CPP $CPPFLAGS'
23615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23624 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23626 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23627 for ac_func in _atan2l
23628 do :
23629 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23630 if test "x$ac_cv_func__atan2l" = x""yes; then :
23631 cat >>confdefs.h <<_ACEOF
23632 #define HAVE__ATAN2L 1
23633 _ACEOF
23636 done
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23646 $as_echo_n "checking for expl declaration... " >&6; }
23647 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23648 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23649 $as_echo_n "(cached) " >&6
23650 else
23653 ac_ext=cpp
23654 ac_cpp='$CXXCPP $CPPFLAGS'
23655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23660 /* end confdefs.h. */
23661 #include <math.h>
23662 #ifdef HAVE_IEEEFP_H
23663 #include <ieeefp.h>
23664 #endif
23667 main ()
23669 expl(0);
23671 return 0;
23673 _ACEOF
23674 if ac_fn_cxx_try_compile "$LINENO"; then :
23675 glibcxx_cv_func_expl_use=yes
23676 else
23677 glibcxx_cv_func_expl_use=no
23679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23680 ac_ext=c
23681 ac_cpp='$CPP $CPPFLAGS'
23682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23691 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23693 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23694 for ac_func in expl
23695 do :
23696 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23697 if test "x$ac_cv_func_expl" = x""yes; then :
23698 cat >>confdefs.h <<_ACEOF
23699 #define HAVE_EXPL 1
23700 _ACEOF
23703 done
23705 else
23707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23708 $as_echo_n "checking for _expl declaration... " >&6; }
23709 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23710 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23711 $as_echo_n "(cached) " >&6
23712 else
23715 ac_ext=cpp
23716 ac_cpp='$CXXCPP $CPPFLAGS'
23717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23722 /* end confdefs.h. */
23723 #include <math.h>
23724 #ifdef HAVE_IEEEFP_H
23725 #include <ieeefp.h>
23726 #endif
23729 main ()
23731 _expl(0);
23733 return 0;
23735 _ACEOF
23736 if ac_fn_cxx_try_compile "$LINENO"; then :
23737 glibcxx_cv_func__expl_use=yes
23738 else
23739 glibcxx_cv_func__expl_use=no
23741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23742 ac_ext=c
23743 ac_cpp='$CPP $CPPFLAGS'
23744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23753 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23755 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23756 for ac_func in _expl
23757 do :
23758 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23759 if test "x$ac_cv_func__expl" = x""yes; then :
23760 cat >>confdefs.h <<_ACEOF
23761 #define HAVE__EXPL 1
23762 _ACEOF
23765 done
23774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23775 $as_echo_n "checking for fabsl declaration... " >&6; }
23776 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23777 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23778 $as_echo_n "(cached) " >&6
23779 else
23782 ac_ext=cpp
23783 ac_cpp='$CXXCPP $CPPFLAGS'
23784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23789 /* end confdefs.h. */
23790 #include <math.h>
23791 #ifdef HAVE_IEEEFP_H
23792 #include <ieeefp.h>
23793 #endif
23796 main ()
23798 fabsl(0);
23800 return 0;
23802 _ACEOF
23803 if ac_fn_cxx_try_compile "$LINENO"; then :
23804 glibcxx_cv_func_fabsl_use=yes
23805 else
23806 glibcxx_cv_func_fabsl_use=no
23808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23809 ac_ext=c
23810 ac_cpp='$CPP $CPPFLAGS'
23811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23820 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23822 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23823 for ac_func in fabsl
23824 do :
23825 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23826 if test "x$ac_cv_func_fabsl" = x""yes; then :
23827 cat >>confdefs.h <<_ACEOF
23828 #define HAVE_FABSL 1
23829 _ACEOF
23832 done
23834 else
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23837 $as_echo_n "checking for _fabsl declaration... " >&6; }
23838 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23839 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23840 $as_echo_n "(cached) " >&6
23841 else
23844 ac_ext=cpp
23845 ac_cpp='$CXXCPP $CPPFLAGS'
23846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23851 /* end confdefs.h. */
23852 #include <math.h>
23853 #ifdef HAVE_IEEEFP_H
23854 #include <ieeefp.h>
23855 #endif
23858 main ()
23860 _fabsl(0);
23862 return 0;
23864 _ACEOF
23865 if ac_fn_cxx_try_compile "$LINENO"; then :
23866 glibcxx_cv_func__fabsl_use=yes
23867 else
23868 glibcxx_cv_func__fabsl_use=no
23870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23871 ac_ext=c
23872 ac_cpp='$CPP $CPPFLAGS'
23873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23882 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23884 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23885 for ac_func in _fabsl
23886 do :
23887 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23888 if test "x$ac_cv_func__fabsl" = x""yes; then :
23889 cat >>confdefs.h <<_ACEOF
23890 #define HAVE__FABSL 1
23891 _ACEOF
23894 done
23903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23904 $as_echo_n "checking for fmodl declaration... " >&6; }
23905 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23906 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23907 $as_echo_n "(cached) " >&6
23908 else
23911 ac_ext=cpp
23912 ac_cpp='$CXXCPP $CPPFLAGS'
23913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23918 /* end confdefs.h. */
23919 #include <math.h>
23921 main ()
23923 fmodl(0, 0);
23925 return 0;
23927 _ACEOF
23928 if ac_fn_cxx_try_compile "$LINENO"; then :
23929 glibcxx_cv_func_fmodl_use=yes
23930 else
23931 glibcxx_cv_func_fmodl_use=no
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934 ac_ext=c
23935 ac_cpp='$CPP $CPPFLAGS'
23936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23945 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23947 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23948 for ac_func in fmodl
23949 do :
23950 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23951 if test "x$ac_cv_func_fmodl" = x""yes; then :
23952 cat >>confdefs.h <<_ACEOF
23953 #define HAVE_FMODL 1
23954 _ACEOF
23957 done
23959 else
23961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23962 $as_echo_n "checking for _fmodl declaration... " >&6; }
23963 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23964 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23965 $as_echo_n "(cached) " >&6
23966 else
23969 ac_ext=cpp
23970 ac_cpp='$CXXCPP $CPPFLAGS'
23971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23976 /* end confdefs.h. */
23977 #include <math.h>
23979 main ()
23981 _fmodl(0, 0);
23983 return 0;
23985 _ACEOF
23986 if ac_fn_cxx_try_compile "$LINENO"; then :
23987 glibcxx_cv_func__fmodl_use=yes
23988 else
23989 glibcxx_cv_func__fmodl_use=no
23991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23992 ac_ext=c
23993 ac_cpp='$CPP $CPPFLAGS'
23994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24003 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24005 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24006 for ac_func in _fmodl
24007 do :
24008 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24009 if test "x$ac_cv_func__fmodl" = x""yes; then :
24010 cat >>confdefs.h <<_ACEOF
24011 #define HAVE__FMODL 1
24012 _ACEOF
24015 done
24024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24025 $as_echo_n "checking for frexpl declaration... " >&6; }
24026 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24027 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24028 $as_echo_n "(cached) " >&6
24029 else
24032 ac_ext=cpp
24033 ac_cpp='$CXXCPP $CPPFLAGS'
24034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24039 /* end confdefs.h. */
24040 #include <math.h>
24042 main ()
24044 frexpl(0, 0);
24046 return 0;
24048 _ACEOF
24049 if ac_fn_cxx_try_compile "$LINENO"; then :
24050 glibcxx_cv_func_frexpl_use=yes
24051 else
24052 glibcxx_cv_func_frexpl_use=no
24054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24055 ac_ext=c
24056 ac_cpp='$CPP $CPPFLAGS'
24057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24066 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24068 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24069 for ac_func in frexpl
24070 do :
24071 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24072 if test "x$ac_cv_func_frexpl" = x""yes; then :
24073 cat >>confdefs.h <<_ACEOF
24074 #define HAVE_FREXPL 1
24075 _ACEOF
24078 done
24080 else
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24083 $as_echo_n "checking for _frexpl declaration... " >&6; }
24084 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24085 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24086 $as_echo_n "(cached) " >&6
24087 else
24090 ac_ext=cpp
24091 ac_cpp='$CXXCPP $CPPFLAGS'
24092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24097 /* end confdefs.h. */
24098 #include <math.h>
24100 main ()
24102 _frexpl(0, 0);
24104 return 0;
24106 _ACEOF
24107 if ac_fn_cxx_try_compile "$LINENO"; then :
24108 glibcxx_cv_func__frexpl_use=yes
24109 else
24110 glibcxx_cv_func__frexpl_use=no
24112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24113 ac_ext=c
24114 ac_cpp='$CPP $CPPFLAGS'
24115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24124 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24126 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24127 for ac_func in _frexpl
24128 do :
24129 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24130 if test "x$ac_cv_func__frexpl" = x""yes; then :
24131 cat >>confdefs.h <<_ACEOF
24132 #define HAVE__FREXPL 1
24133 _ACEOF
24136 done
24145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24146 $as_echo_n "checking for hypotl declaration... " >&6; }
24147 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24148 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24149 $as_echo_n "(cached) " >&6
24150 else
24153 ac_ext=cpp
24154 ac_cpp='$CXXCPP $CPPFLAGS'
24155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24160 /* end confdefs.h. */
24161 #include <math.h>
24163 main ()
24165 hypotl(0, 0);
24167 return 0;
24169 _ACEOF
24170 if ac_fn_cxx_try_compile "$LINENO"; then :
24171 glibcxx_cv_func_hypotl_use=yes
24172 else
24173 glibcxx_cv_func_hypotl_use=no
24175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24176 ac_ext=c
24177 ac_cpp='$CPP $CPPFLAGS'
24178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24187 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24189 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24190 for ac_func in hypotl
24191 do :
24192 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24193 if test "x$ac_cv_func_hypotl" = x""yes; then :
24194 cat >>confdefs.h <<_ACEOF
24195 #define HAVE_HYPOTL 1
24196 _ACEOF
24199 done
24201 else
24203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24204 $as_echo_n "checking for _hypotl declaration... " >&6; }
24205 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24206 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24207 $as_echo_n "(cached) " >&6
24208 else
24211 ac_ext=cpp
24212 ac_cpp='$CXXCPP $CPPFLAGS'
24213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24218 /* end confdefs.h. */
24219 #include <math.h>
24221 main ()
24223 _hypotl(0, 0);
24225 return 0;
24227 _ACEOF
24228 if ac_fn_cxx_try_compile "$LINENO"; then :
24229 glibcxx_cv_func__hypotl_use=yes
24230 else
24231 glibcxx_cv_func__hypotl_use=no
24233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24234 ac_ext=c
24235 ac_cpp='$CPP $CPPFLAGS'
24236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24245 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24247 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24248 for ac_func in _hypotl
24249 do :
24250 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24251 if test "x$ac_cv_func__hypotl" = x""yes; then :
24252 cat >>confdefs.h <<_ACEOF
24253 #define HAVE__HYPOTL 1
24254 _ACEOF
24257 done
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24267 $as_echo_n "checking for ldexpl declaration... " >&6; }
24268 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24269 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24270 $as_echo_n "(cached) " >&6
24271 else
24274 ac_ext=cpp
24275 ac_cpp='$CXXCPP $CPPFLAGS'
24276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h. */
24282 #include <math.h>
24284 main ()
24286 ldexpl(0, 0);
24288 return 0;
24290 _ACEOF
24291 if ac_fn_cxx_try_compile "$LINENO"; then :
24292 glibcxx_cv_func_ldexpl_use=yes
24293 else
24294 glibcxx_cv_func_ldexpl_use=no
24296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24297 ac_ext=c
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24308 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24310 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24311 for ac_func in ldexpl
24312 do :
24313 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24314 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24315 cat >>confdefs.h <<_ACEOF
24316 #define HAVE_LDEXPL 1
24317 _ACEOF
24320 done
24322 else
24324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24325 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24326 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24327 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24328 $as_echo_n "(cached) " >&6
24329 else
24332 ac_ext=cpp
24333 ac_cpp='$CXXCPP $CPPFLAGS'
24334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24339 /* end confdefs.h. */
24340 #include <math.h>
24342 main ()
24344 _ldexpl(0, 0);
24346 return 0;
24348 _ACEOF
24349 if ac_fn_cxx_try_compile "$LINENO"; then :
24350 glibcxx_cv_func__ldexpl_use=yes
24351 else
24352 glibcxx_cv_func__ldexpl_use=no
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355 ac_ext=c
24356 ac_cpp='$CPP $CPPFLAGS'
24357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24366 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24368 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24369 for ac_func in _ldexpl
24370 do :
24371 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24372 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24373 cat >>confdefs.h <<_ACEOF
24374 #define HAVE__LDEXPL 1
24375 _ACEOF
24378 done
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24388 $as_echo_n "checking for logl declaration... " >&6; }
24389 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24390 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24391 $as_echo_n "(cached) " >&6
24392 else
24395 ac_ext=cpp
24396 ac_cpp='$CXXCPP $CPPFLAGS'
24397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24402 /* end confdefs.h. */
24403 #include <math.h>
24404 #ifdef HAVE_IEEEFP_H
24405 #include <ieeefp.h>
24406 #endif
24409 main ()
24411 logl(0);
24413 return 0;
24415 _ACEOF
24416 if ac_fn_cxx_try_compile "$LINENO"; then :
24417 glibcxx_cv_func_logl_use=yes
24418 else
24419 glibcxx_cv_func_logl_use=no
24421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24422 ac_ext=c
24423 ac_cpp='$CPP $CPPFLAGS'
24424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24433 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24435 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24436 for ac_func in logl
24437 do :
24438 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24439 if test "x$ac_cv_func_logl" = x""yes; then :
24440 cat >>confdefs.h <<_ACEOF
24441 #define HAVE_LOGL 1
24442 _ACEOF
24445 done
24447 else
24449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24450 $as_echo_n "checking for _logl declaration... " >&6; }
24451 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24452 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24453 $as_echo_n "(cached) " >&6
24454 else
24457 ac_ext=cpp
24458 ac_cpp='$CXXCPP $CPPFLAGS'
24459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24464 /* end confdefs.h. */
24465 #include <math.h>
24466 #ifdef HAVE_IEEEFP_H
24467 #include <ieeefp.h>
24468 #endif
24471 main ()
24473 _logl(0);
24475 return 0;
24477 _ACEOF
24478 if ac_fn_cxx_try_compile "$LINENO"; then :
24479 glibcxx_cv_func__logl_use=yes
24480 else
24481 glibcxx_cv_func__logl_use=no
24483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24484 ac_ext=c
24485 ac_cpp='$CPP $CPPFLAGS'
24486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24495 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24497 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24498 for ac_func in _logl
24499 do :
24500 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24501 if test "x$ac_cv_func__logl" = x""yes; then :
24502 cat >>confdefs.h <<_ACEOF
24503 #define HAVE__LOGL 1
24504 _ACEOF
24507 done
24516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24517 $as_echo_n "checking for log10l declaration... " >&6; }
24518 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24519 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24520 $as_echo_n "(cached) " >&6
24521 else
24524 ac_ext=cpp
24525 ac_cpp='$CXXCPP $CPPFLAGS'
24526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24531 /* end confdefs.h. */
24532 #include <math.h>
24533 #ifdef HAVE_IEEEFP_H
24534 #include <ieeefp.h>
24535 #endif
24538 main ()
24540 log10l(0);
24542 return 0;
24544 _ACEOF
24545 if ac_fn_cxx_try_compile "$LINENO"; then :
24546 glibcxx_cv_func_log10l_use=yes
24547 else
24548 glibcxx_cv_func_log10l_use=no
24550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24551 ac_ext=c
24552 ac_cpp='$CPP $CPPFLAGS'
24553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24562 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24564 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24565 for ac_func in log10l
24566 do :
24567 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24568 if test "x$ac_cv_func_log10l" = x""yes; then :
24569 cat >>confdefs.h <<_ACEOF
24570 #define HAVE_LOG10L 1
24571 _ACEOF
24574 done
24576 else
24578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24579 $as_echo_n "checking for _log10l declaration... " >&6; }
24580 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24581 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24582 $as_echo_n "(cached) " >&6
24583 else
24586 ac_ext=cpp
24587 ac_cpp='$CXXCPP $CPPFLAGS'
24588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24593 /* end confdefs.h. */
24594 #include <math.h>
24595 #ifdef HAVE_IEEEFP_H
24596 #include <ieeefp.h>
24597 #endif
24600 main ()
24602 _log10l(0);
24604 return 0;
24606 _ACEOF
24607 if ac_fn_cxx_try_compile "$LINENO"; then :
24608 glibcxx_cv_func__log10l_use=yes
24609 else
24610 glibcxx_cv_func__log10l_use=no
24612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24613 ac_ext=c
24614 ac_cpp='$CPP $CPPFLAGS'
24615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24624 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24626 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24627 for ac_func in _log10l
24628 do :
24629 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24630 if test "x$ac_cv_func__log10l" = x""yes; then :
24631 cat >>confdefs.h <<_ACEOF
24632 #define HAVE__LOG10L 1
24633 _ACEOF
24636 done
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24646 $as_echo_n "checking for modfl declaration... " >&6; }
24647 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24648 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24649 $as_echo_n "(cached) " >&6
24650 else
24653 ac_ext=cpp
24654 ac_cpp='$CXXCPP $CPPFLAGS'
24655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24660 /* end confdefs.h. */
24661 #include <math.h>
24663 main ()
24665 modfl(0, 0);
24667 return 0;
24669 _ACEOF
24670 if ac_fn_cxx_try_compile "$LINENO"; then :
24671 glibcxx_cv_func_modfl_use=yes
24672 else
24673 glibcxx_cv_func_modfl_use=no
24675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24676 ac_ext=c
24677 ac_cpp='$CPP $CPPFLAGS'
24678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24687 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24689 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24690 for ac_func in modfl
24691 do :
24692 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24693 if test "x$ac_cv_func_modfl" = x""yes; then :
24694 cat >>confdefs.h <<_ACEOF
24695 #define HAVE_MODFL 1
24696 _ACEOF
24699 done
24701 else
24703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24704 $as_echo_n "checking for _modfl declaration... " >&6; }
24705 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24706 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24707 $as_echo_n "(cached) " >&6
24708 else
24711 ac_ext=cpp
24712 ac_cpp='$CXXCPP $CPPFLAGS'
24713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24718 /* end confdefs.h. */
24719 #include <math.h>
24721 main ()
24723 _modfl(0, 0);
24725 return 0;
24727 _ACEOF
24728 if ac_fn_cxx_try_compile "$LINENO"; then :
24729 glibcxx_cv_func__modfl_use=yes
24730 else
24731 glibcxx_cv_func__modfl_use=no
24733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24734 ac_ext=c
24735 ac_cpp='$CPP $CPPFLAGS'
24736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24745 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24747 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24748 for ac_func in _modfl
24749 do :
24750 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24751 if test "x$ac_cv_func__modfl" = x""yes; then :
24752 cat >>confdefs.h <<_ACEOF
24753 #define HAVE__MODFL 1
24754 _ACEOF
24757 done
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24767 $as_echo_n "checking for powl declaration... " >&6; }
24768 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24769 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24770 $as_echo_n "(cached) " >&6
24771 else
24774 ac_ext=cpp
24775 ac_cpp='$CXXCPP $CPPFLAGS'
24776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24781 /* end confdefs.h. */
24782 #include <math.h>
24784 main ()
24786 powl(0, 0);
24788 return 0;
24790 _ACEOF
24791 if ac_fn_cxx_try_compile "$LINENO"; then :
24792 glibcxx_cv_func_powl_use=yes
24793 else
24794 glibcxx_cv_func_powl_use=no
24796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24797 ac_ext=c
24798 ac_cpp='$CPP $CPPFLAGS'
24799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24808 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24810 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24811 for ac_func in powl
24812 do :
24813 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24814 if test "x$ac_cv_func_powl" = x""yes; then :
24815 cat >>confdefs.h <<_ACEOF
24816 #define HAVE_POWL 1
24817 _ACEOF
24820 done
24822 else
24824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24825 $as_echo_n "checking for _powl declaration... " >&6; }
24826 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24827 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24828 $as_echo_n "(cached) " >&6
24829 else
24832 ac_ext=cpp
24833 ac_cpp='$CXXCPP $CPPFLAGS'
24834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24839 /* end confdefs.h. */
24840 #include <math.h>
24842 main ()
24844 _powl(0, 0);
24846 return 0;
24848 _ACEOF
24849 if ac_fn_cxx_try_compile "$LINENO"; then :
24850 glibcxx_cv_func__powl_use=yes
24851 else
24852 glibcxx_cv_func__powl_use=no
24854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24855 ac_ext=c
24856 ac_cpp='$CPP $CPPFLAGS'
24857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24866 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24868 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24869 for ac_func in _powl
24870 do :
24871 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24872 if test "x$ac_cv_func__powl" = x""yes; then :
24873 cat >>confdefs.h <<_ACEOF
24874 #define HAVE__POWL 1
24875 _ACEOF
24878 done
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24888 $as_echo_n "checking for sqrtl declaration... " >&6; }
24889 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24890 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24891 $as_echo_n "(cached) " >&6
24892 else
24895 ac_ext=cpp
24896 ac_cpp='$CXXCPP $CPPFLAGS'
24897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h. */
24903 #include <math.h>
24904 #ifdef HAVE_IEEEFP_H
24905 #include <ieeefp.h>
24906 #endif
24909 main ()
24911 sqrtl(0);
24913 return 0;
24915 _ACEOF
24916 if ac_fn_cxx_try_compile "$LINENO"; then :
24917 glibcxx_cv_func_sqrtl_use=yes
24918 else
24919 glibcxx_cv_func_sqrtl_use=no
24921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24922 ac_ext=c
24923 ac_cpp='$CPP $CPPFLAGS'
24924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24933 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24935 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24936 for ac_func in sqrtl
24937 do :
24938 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24939 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24940 cat >>confdefs.h <<_ACEOF
24941 #define HAVE_SQRTL 1
24942 _ACEOF
24945 done
24947 else
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24950 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24951 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24952 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24953 $as_echo_n "(cached) " >&6
24954 else
24957 ac_ext=cpp
24958 ac_cpp='$CXXCPP $CPPFLAGS'
24959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24964 /* end confdefs.h. */
24965 #include <math.h>
24966 #ifdef HAVE_IEEEFP_H
24967 #include <ieeefp.h>
24968 #endif
24971 main ()
24973 _sqrtl(0);
24975 return 0;
24977 _ACEOF
24978 if ac_fn_cxx_try_compile "$LINENO"; then :
24979 glibcxx_cv_func__sqrtl_use=yes
24980 else
24981 glibcxx_cv_func__sqrtl_use=no
24983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24984 ac_ext=c
24985 ac_cpp='$CPP $CPPFLAGS'
24986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24995 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24997 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24998 for ac_func in _sqrtl
24999 do :
25000 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25001 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25002 cat >>confdefs.h <<_ACEOF
25003 #define HAVE__SQRTL 1
25004 _ACEOF
25007 done
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25017 $as_echo_n "checking for sincosl declaration... " >&6; }
25018 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25019 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25020 $as_echo_n "(cached) " >&6
25021 else
25024 ac_ext=cpp
25025 ac_cpp='$CXXCPP $CPPFLAGS'
25026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25031 /* end confdefs.h. */
25032 #include <math.h>
25034 main ()
25036 sincosl(0, 0, 0);
25038 return 0;
25040 _ACEOF
25041 if ac_fn_cxx_try_compile "$LINENO"; then :
25042 glibcxx_cv_func_sincosl_use=yes
25043 else
25044 glibcxx_cv_func_sincosl_use=no
25046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25047 ac_ext=c
25048 ac_cpp='$CPP $CPPFLAGS'
25049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25058 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25060 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25061 for ac_func in sincosl
25062 do :
25063 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25064 if test "x$ac_cv_func_sincosl" = x""yes; then :
25065 cat >>confdefs.h <<_ACEOF
25066 #define HAVE_SINCOSL 1
25067 _ACEOF
25070 done
25072 else
25074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25075 $as_echo_n "checking for _sincosl declaration... " >&6; }
25076 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25077 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25078 $as_echo_n "(cached) " >&6
25079 else
25082 ac_ext=cpp
25083 ac_cpp='$CXXCPP $CPPFLAGS'
25084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25089 /* end confdefs.h. */
25090 #include <math.h>
25092 main ()
25094 _sincosl(0, 0, 0);
25096 return 0;
25098 _ACEOF
25099 if ac_fn_cxx_try_compile "$LINENO"; then :
25100 glibcxx_cv_func__sincosl_use=yes
25101 else
25102 glibcxx_cv_func__sincosl_use=no
25104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25105 ac_ext=c
25106 ac_cpp='$CPP $CPPFLAGS'
25107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25116 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25118 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25119 for ac_func in _sincosl
25120 do :
25121 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25122 if test "x$ac_cv_func__sincosl" = x""yes; then :
25123 cat >>confdefs.h <<_ACEOF
25124 #define HAVE__SINCOSL 1
25125 _ACEOF
25128 done
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25138 $as_echo_n "checking for finitel declaration... " >&6; }
25139 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25140 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25141 $as_echo_n "(cached) " >&6
25142 else
25145 ac_ext=cpp
25146 ac_cpp='$CXXCPP $CPPFLAGS'
25147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25152 /* end confdefs.h. */
25153 #include <math.h>
25154 #ifdef HAVE_IEEEFP_H
25155 #include <ieeefp.h>
25156 #endif
25159 main ()
25161 finitel(0);
25163 return 0;
25165 _ACEOF
25166 if ac_fn_cxx_try_compile "$LINENO"; then :
25167 glibcxx_cv_func_finitel_use=yes
25168 else
25169 glibcxx_cv_func_finitel_use=no
25171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25172 ac_ext=c
25173 ac_cpp='$CPP $CPPFLAGS'
25174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25183 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25185 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25186 for ac_func in finitel
25187 do :
25188 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25189 if test "x$ac_cv_func_finitel" = x""yes; then :
25190 cat >>confdefs.h <<_ACEOF
25191 #define HAVE_FINITEL 1
25192 _ACEOF
25195 done
25197 else
25199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25200 $as_echo_n "checking for _finitel declaration... " >&6; }
25201 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25202 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25203 $as_echo_n "(cached) " >&6
25204 else
25207 ac_ext=cpp
25208 ac_cpp='$CXXCPP $CPPFLAGS'
25209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25214 /* end confdefs.h. */
25215 #include <math.h>
25216 #ifdef HAVE_IEEEFP_H
25217 #include <ieeefp.h>
25218 #endif
25221 main ()
25223 _finitel(0);
25225 return 0;
25227 _ACEOF
25228 if ac_fn_cxx_try_compile "$LINENO"; then :
25229 glibcxx_cv_func__finitel_use=yes
25230 else
25231 glibcxx_cv_func__finitel_use=no
25233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25234 ac_ext=c
25235 ac_cpp='$CPP $CPPFLAGS'
25236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25245 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25247 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25248 for ac_func in _finitel
25249 do :
25250 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25251 if test "x$ac_cv_func__finitel" = x""yes; then :
25252 cat >>confdefs.h <<_ACEOF
25253 #define HAVE__FINITEL 1
25254 _ACEOF
25257 done
25265 LIBS="$ac_save_LIBS"
25266 CXXFLAGS="$ac_save_CXXFLAGS"
25269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25270 ac_save_CXXFLAGS="$CXXFLAGS"
25271 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25275 $as_echo_n "checking for strtold declaration... " >&6; }
25276 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25277 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25278 $as_echo_n "(cached) " >&6
25279 else
25282 ac_ext=cpp
25283 ac_cpp='$CXXCPP $CPPFLAGS'
25284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25289 /* end confdefs.h. */
25290 #include <stdlib.h>
25292 main ()
25294 strtold(0, 0);
25296 return 0;
25298 _ACEOF
25299 if ac_fn_cxx_try_compile "$LINENO"; then :
25300 glibcxx_cv_func_strtold_use=yes
25301 else
25302 glibcxx_cv_func_strtold_use=no
25304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25305 ac_ext=c
25306 ac_cpp='$CPP $CPPFLAGS'
25307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25316 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25317 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25318 for ac_func in strtold
25319 do :
25320 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25321 if test "x$ac_cv_func_strtold" = x""yes; then :
25322 cat >>confdefs.h <<_ACEOF
25323 #define HAVE_STRTOLD 1
25324 _ACEOF
25327 done
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25335 $as_echo_n "checking for strtof declaration... " >&6; }
25336 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25337 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25338 $as_echo_n "(cached) " >&6
25339 else
25342 ac_ext=cpp
25343 ac_cpp='$CXXCPP $CPPFLAGS'
25344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25349 /* end confdefs.h. */
25350 #include <stdlib.h>
25352 main ()
25354 strtof(0, 0);
25356 return 0;
25358 _ACEOF
25359 if ac_fn_cxx_try_compile "$LINENO"; then :
25360 glibcxx_cv_func_strtof_use=yes
25361 else
25362 glibcxx_cv_func_strtof_use=no
25364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25365 ac_ext=c
25366 ac_cpp='$CPP $CPPFLAGS'
25367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25376 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25377 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25378 for ac_func in strtof
25379 do :
25380 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25381 if test "x$ac_cv_func_strtof" = x""yes; then :
25382 cat >>confdefs.h <<_ACEOF
25383 #define HAVE_STRTOF 1
25384 _ACEOF
25387 done
25394 CXXFLAGS="$ac_save_CXXFLAGS"
25397 # For /dev/random and /dev/urandom for TR1.
25400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25401 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25402 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25403 $as_echo_n "(cached) " >&6
25404 else
25406 if test -r /dev/random && test -r /dev/urandom; then
25407 glibcxx_cv_random_tr1=yes;
25408 else
25409 glibcxx_cv_random_tr1=no;
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25415 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25417 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25419 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25425 # For TLS support.
25428 # Check whether --enable-tls was given.
25429 if test "${enable_tls+set}" = set; then :
25430 enableval=$enable_tls;
25431 case "$enableval" in
25432 yes|no) ;;
25433 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25434 esac
25436 else
25437 enable_tls=yes
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25442 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25443 if test "${gcc_cv_have_tls+set}" = set; then :
25444 $as_echo_n "(cached) " >&6
25445 else
25447 if test "$cross_compiling" = yes; then :
25448 if test x$gcc_no_link = xyes; then
25449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25452 /* end confdefs.h. */
25453 __thread int a; int b; int main() { return a = b; }
25454 _ACEOF
25455 if ac_fn_c_try_link "$LINENO"; then :
25456 chktls_save_LDFLAGS="$LDFLAGS"
25457 case $host in
25458 *-*-linux*)
25459 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25461 esac
25462 chktls_save_CFLAGS="$CFLAGS"
25463 CFLAGS="-fPIC $CFLAGS"
25464 if test x$gcc_no_link = xyes; then
25465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25468 /* end confdefs.h. */
25469 int f() { return 0; }
25470 _ACEOF
25471 if ac_fn_c_try_link "$LINENO"; then :
25472 if test x$gcc_no_link = xyes; then
25473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25476 /* end confdefs.h. */
25477 __thread int a; int b; int f() { return a = b; }
25478 _ACEOF
25479 if ac_fn_c_try_link "$LINENO"; then :
25480 gcc_cv_have_tls=yes
25481 else
25482 gcc_cv_have_tls=no
25484 rm -f core conftest.err conftest.$ac_objext \
25485 conftest$ac_exeext conftest.$ac_ext
25486 else
25487 gcc_cv_have_tls=yes
25489 rm -f core conftest.err conftest.$ac_objext \
25490 conftest$ac_exeext conftest.$ac_ext
25491 CFLAGS="$chktls_save_CFLAGS"
25492 LDFLAGS="$chktls_save_LDFLAGS"
25493 else
25494 gcc_cv_have_tls=no
25496 rm -f core conftest.err conftest.$ac_objext \
25497 conftest$ac_exeext conftest.$ac_ext
25500 else
25501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25502 /* end confdefs.h. */
25503 __thread int a; int b; int main() { return a = b; }
25504 _ACEOF
25505 if ac_fn_c_try_run "$LINENO"; then :
25506 chktls_save_LDFLAGS="$LDFLAGS"
25507 LDFLAGS="-static $LDFLAGS"
25508 if test x$gcc_no_link = xyes; then
25509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h. */
25513 int main() { return 0; }
25514 _ACEOF
25515 if ac_fn_c_try_link "$LINENO"; then :
25516 if test "$cross_compiling" = yes; then :
25517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25519 as_fn_error "cannot run test program while cross compiling
25520 See \`config.log' for more details." "$LINENO" 5; }
25521 else
25522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25523 /* end confdefs.h. */
25524 __thread int a; int b; int main() { return a = b; }
25525 _ACEOF
25526 if ac_fn_c_try_run "$LINENO"; then :
25527 gcc_cv_have_tls=yes
25528 else
25529 gcc_cv_have_tls=no
25531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25532 conftest.$ac_objext conftest.beam conftest.$ac_ext
25535 else
25536 gcc_cv_have_tls=yes
25538 rm -f core conftest.err conftest.$ac_objext \
25539 conftest$ac_exeext conftest.$ac_ext
25540 LDFLAGS="$chktls_save_LDFLAGS"
25541 if test $gcc_cv_have_tls = yes; then
25542 chktls_save_CFLAGS="$CFLAGS"
25543 thread_CFLAGS=failed
25544 for flag in '' '-pthread' '-lpthread'; do
25545 CFLAGS="$flag $chktls_save_CFLAGS"
25546 if test x$gcc_no_link = xyes; then
25547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25550 /* end confdefs.h. */
25551 #include <pthread.h>
25552 void *g(void *d) { return NULL; }
25554 main ()
25556 pthread_t t; pthread_create(&t,NULL,g,NULL);
25558 return 0;
25560 _ACEOF
25561 if ac_fn_c_try_link "$LINENO"; then :
25562 thread_CFLAGS="$flag"
25564 rm -f core conftest.err conftest.$ac_objext \
25565 conftest$ac_exeext conftest.$ac_ext
25566 if test "X$thread_CFLAGS" != Xfailed; then
25567 break
25569 done
25570 CFLAGS="$chktls_save_CFLAGS"
25571 if test "X$thread_CFLAGS" != Xfailed; then
25572 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25573 if test "$cross_compiling" = yes; then :
25574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25576 as_fn_error "cannot run test program while cross compiling
25577 See \`config.log' for more details." "$LINENO" 5; }
25578 else
25579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25580 /* end confdefs.h. */
25581 #include <pthread.h>
25582 __thread int a;
25583 static int *volatile a_in_other_thread;
25584 static void *
25585 thread_func (void *arg)
25587 a_in_other_thread = &a;
25588 return (void *)0;
25591 main ()
25593 pthread_t thread;
25594 void *thread_retval;
25595 int *volatile a_in_main_thread;
25596 a_in_main_thread = &a;
25597 if (pthread_create (&thread, (pthread_attr_t *)0,
25598 thread_func, (void *)0))
25599 return 0;
25600 if (pthread_join (thread, &thread_retval))
25601 return 0;
25602 return (a_in_other_thread == a_in_main_thread);
25604 return 0;
25606 _ACEOF
25607 if ac_fn_c_try_run "$LINENO"; then :
25608 gcc_cv_have_tls=yes
25609 else
25610 gcc_cv_have_tls=no
25612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25613 conftest.$ac_objext conftest.beam conftest.$ac_ext
25616 CFLAGS="$chktls_save_CFLAGS"
25619 else
25620 gcc_cv_have_tls=no
25622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25623 conftest.$ac_objext conftest.beam conftest.$ac_ext
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25628 $as_echo "$gcc_cv_have_tls" >&6; }
25629 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25631 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25635 # For iconv support.
25637 if test "X$prefix" = "XNONE"; then
25638 acl_final_prefix="$ac_default_prefix"
25639 else
25640 acl_final_prefix="$prefix"
25642 if test "X$exec_prefix" = "XNONE"; then
25643 acl_final_exec_prefix='${prefix}'
25644 else
25645 acl_final_exec_prefix="$exec_prefix"
25647 acl_save_prefix="$prefix"
25648 prefix="$acl_final_prefix"
25649 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25650 prefix="$acl_save_prefix"
25653 # Check whether --with-gnu-ld was given.
25654 if test "${with_gnu_ld+set}" = set; then :
25655 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25656 else
25657 with_gnu_ld=no
25660 # Prepare PATH_SEPARATOR.
25661 # The user is always right.
25662 if test "${PATH_SEPARATOR+set}" != set; then
25663 echo "#! /bin/sh" >conf$$.sh
25664 echo "exit 0" >>conf$$.sh
25665 chmod +x conf$$.sh
25666 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25667 PATH_SEPARATOR=';'
25668 else
25669 PATH_SEPARATOR=:
25671 rm -f conf$$.sh
25673 ac_prog=ld
25674 if test "$GCC" = yes; then
25675 # Check if gcc -print-prog-name=ld gives a path.
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25677 $as_echo_n "checking for ld used by GCC... " >&6; }
25678 case $host in
25679 *-*-mingw*)
25680 # gcc leaves a trailing carriage return which upsets mingw
25681 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25683 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25684 esac
25685 case $ac_prog in
25686 # Accept absolute paths.
25687 [\\/]* | [A-Za-z]:[\\/]*)
25688 re_direlt='/[^/][^/]*/\.\./'
25689 # Canonicalize the path of ld
25690 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25691 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25692 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25693 done
25694 test -z "$LD" && LD="$ac_prog"
25697 # If it fails, then pretend we aren't using GCC.
25698 ac_prog=ld
25701 # If it is relative, then search for the first ld in PATH.
25702 with_gnu_ld=unknown
25704 esac
25705 elif test "$with_gnu_ld" = yes; then
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25707 $as_echo_n "checking for GNU ld... " >&6; }
25708 else
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25710 $as_echo_n "checking for non-GNU ld... " >&6; }
25712 if test "${acl_cv_path_LD+set}" = set; then :
25713 $as_echo_n "(cached) " >&6
25714 else
25715 if test -z "$LD"; then
25716 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25717 for ac_dir in $PATH; do
25718 test -z "$ac_dir" && ac_dir=.
25719 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25720 acl_cv_path_LD="$ac_dir/$ac_prog"
25721 # Check to see if the program is GNU ld. I'd rather use --version,
25722 # but apparently some GNU ld's only accept -v.
25723 # Break only if it was the GNU/non-GNU ld that we prefer.
25724 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25725 test "$with_gnu_ld" != no && break
25726 else
25727 test "$with_gnu_ld" != yes && break
25730 done
25731 IFS="$ac_save_ifs"
25732 else
25733 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25737 LD="$acl_cv_path_LD"
25738 if test -n "$LD"; then
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25740 $as_echo "$LD" >&6; }
25741 else
25742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25743 $as_echo "no" >&6; }
25745 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25747 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25748 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25749 $as_echo_n "(cached) " >&6
25750 else
25751 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25752 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25753 acl_cv_prog_gnu_ld=yes
25754 else
25755 acl_cv_prog_gnu_ld=no
25758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25759 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25760 with_gnu_ld=$acl_cv_prog_gnu_ld
25764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25765 $as_echo_n "checking for shared library run path origin... " >&6; }
25766 if test "${acl_cv_rpath+set}" = set; then :
25767 $as_echo_n "(cached) " >&6
25768 else
25770 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25771 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25772 . ./conftest.sh
25773 rm -f ./conftest.sh
25774 acl_cv_rpath=done
25777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25778 $as_echo "$acl_cv_rpath" >&6; }
25779 wl="$acl_cv_wl"
25780 libext="$acl_cv_libext"
25781 shlibext="$acl_cv_shlibext"
25782 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25783 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25784 hardcode_direct="$acl_cv_hardcode_direct"
25785 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25786 # Check whether --enable-rpath was given.
25787 if test "${enable_rpath+set}" = set; then :
25788 enableval=$enable_rpath; :
25789 else
25790 enable_rpath=yes
25800 use_additional=yes
25802 acl_save_prefix="$prefix"
25803 prefix="$acl_final_prefix"
25804 acl_save_exec_prefix="$exec_prefix"
25805 exec_prefix="$acl_final_exec_prefix"
25807 eval additional_includedir=\"$includedir\"
25808 eval additional_libdir=\"$libdir\"
25810 exec_prefix="$acl_save_exec_prefix"
25811 prefix="$acl_save_prefix"
25814 # Check whether --with-libiconv-prefix was given.
25815 if test "${with_libiconv_prefix+set}" = set; then :
25816 withval=$with_libiconv_prefix;
25817 if test "X$withval" = "Xno"; then
25818 use_additional=no
25819 else
25820 if test "X$withval" = "X"; then
25822 acl_save_prefix="$prefix"
25823 prefix="$acl_final_prefix"
25824 acl_save_exec_prefix="$exec_prefix"
25825 exec_prefix="$acl_final_exec_prefix"
25827 eval additional_includedir=\"$includedir\"
25828 eval additional_libdir=\"$libdir\"
25830 exec_prefix="$acl_save_exec_prefix"
25831 prefix="$acl_save_prefix"
25833 else
25834 additional_includedir="$withval/include"
25835 additional_libdir="$withval/lib"
25841 LIBICONV=
25842 LTLIBICONV=
25843 INCICONV=
25844 rpathdirs=
25845 ltrpathdirs=
25846 names_already_handled=
25847 names_next_round='iconv '
25848 while test -n "$names_next_round"; do
25849 names_this_round="$names_next_round"
25850 names_next_round=
25851 for name in $names_this_round; do
25852 already_handled=
25853 for n in $names_already_handled; do
25854 if test "$n" = "$name"; then
25855 already_handled=yes
25856 break
25858 done
25859 if test -z "$already_handled"; then
25860 names_already_handled="$names_already_handled $name"
25861 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25862 eval value=\"\$HAVE_LIB$uppername\"
25863 if test -n "$value"; then
25864 if test "$value" = yes; then
25865 eval value=\"\$LIB$uppername\"
25866 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25867 eval value=\"\$LTLIB$uppername\"
25868 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25869 else
25872 else
25873 found_dir=
25874 found_la=
25875 found_so=
25876 found_a=
25877 if test $use_additional = yes; then
25878 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25879 found_dir="$additional_libdir"
25880 found_so="$additional_libdir/lib$name.$shlibext"
25881 if test -f "$additional_libdir/lib$name.la"; then
25882 found_la="$additional_libdir/lib$name.la"
25884 else
25885 if test -f "$additional_libdir/lib$name.$libext"; then
25886 found_dir="$additional_libdir"
25887 found_a="$additional_libdir/lib$name.$libext"
25888 if test -f "$additional_libdir/lib$name.la"; then
25889 found_la="$additional_libdir/lib$name.la"
25894 if test "X$found_dir" = "X"; then
25895 for x in $LDFLAGS $LTLIBICONV; do
25897 acl_save_prefix="$prefix"
25898 prefix="$acl_final_prefix"
25899 acl_save_exec_prefix="$exec_prefix"
25900 exec_prefix="$acl_final_exec_prefix"
25901 eval x=\"$x\"
25902 exec_prefix="$acl_save_exec_prefix"
25903 prefix="$acl_save_prefix"
25905 case "$x" in
25906 -L*)
25907 dir=`echo "X$x" | sed -e 's/^X-L//'`
25908 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25909 found_dir="$dir"
25910 found_so="$dir/lib$name.$shlibext"
25911 if test -f "$dir/lib$name.la"; then
25912 found_la="$dir/lib$name.la"
25914 else
25915 if test -f "$dir/lib$name.$libext"; then
25916 found_dir="$dir"
25917 found_a="$dir/lib$name.$libext"
25918 if test -f "$dir/lib$name.la"; then
25919 found_la="$dir/lib$name.la"
25924 esac
25925 if test "X$found_dir" != "X"; then
25926 break
25928 done
25930 if test "X$found_dir" != "X"; then
25931 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25932 if test "X$found_so" != "X"; then
25933 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25934 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25935 else
25936 haveit=
25937 for x in $ltrpathdirs; do
25938 if test "X$x" = "X$found_dir"; then
25939 haveit=yes
25940 break
25942 done
25943 if test -z "$haveit"; then
25944 ltrpathdirs="$ltrpathdirs $found_dir"
25946 if test "$hardcode_direct" = yes; then
25947 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25948 else
25949 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25950 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25951 haveit=
25952 for x in $rpathdirs; do
25953 if test "X$x" = "X$found_dir"; then
25954 haveit=yes
25955 break
25957 done
25958 if test -z "$haveit"; then
25959 rpathdirs="$rpathdirs $found_dir"
25961 else
25962 haveit=
25963 for x in $LDFLAGS $LIBICONV; do
25965 acl_save_prefix="$prefix"
25966 prefix="$acl_final_prefix"
25967 acl_save_exec_prefix="$exec_prefix"
25968 exec_prefix="$acl_final_exec_prefix"
25969 eval x=\"$x\"
25970 exec_prefix="$acl_save_exec_prefix"
25971 prefix="$acl_save_prefix"
25973 if test "X$x" = "X-L$found_dir"; then
25974 haveit=yes
25975 break
25977 done
25978 if test -z "$haveit"; then
25979 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25981 if test "$hardcode_minus_L" != no; then
25982 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25983 else
25984 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25989 else
25990 if test "X$found_a" != "X"; then
25991 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25992 else
25993 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25996 additional_includedir=
25997 case "$found_dir" in
25998 */lib | */lib/)
25999 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26000 additional_includedir="$basedir/include"
26002 esac
26003 if test "X$additional_includedir" != "X"; then
26004 if test "X$additional_includedir" != "X/usr/include"; then
26005 haveit=
26006 if test "X$additional_includedir" = "X/usr/local/include"; then
26007 if test -n "$GCC"; then
26008 case $host_os in
26009 linux*) haveit=yes;;
26010 esac
26013 if test -z "$haveit"; then
26014 for x in $CPPFLAGS $INCICONV; do
26016 acl_save_prefix="$prefix"
26017 prefix="$acl_final_prefix"
26018 acl_save_exec_prefix="$exec_prefix"
26019 exec_prefix="$acl_final_exec_prefix"
26020 eval x=\"$x\"
26021 exec_prefix="$acl_save_exec_prefix"
26022 prefix="$acl_save_prefix"
26024 if test "X$x" = "X-I$additional_includedir"; then
26025 haveit=yes
26026 break
26028 done
26029 if test -z "$haveit"; then
26030 if test -d "$additional_includedir"; then
26031 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26037 if test -n "$found_la"; then
26038 save_libdir="$libdir"
26039 case "$found_la" in
26040 */* | *\\*) . "$found_la" ;;
26041 *) . "./$found_la" ;;
26042 esac
26043 libdir="$save_libdir"
26044 for dep in $dependency_libs; do
26045 case "$dep" in
26046 -L*)
26047 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26048 if test "X$additional_libdir" != "X/usr/lib"; then
26049 haveit=
26050 if test "X$additional_libdir" = "X/usr/local/lib"; then
26051 if test -n "$GCC"; then
26052 case $host_os in
26053 linux*) haveit=yes;;
26054 esac
26057 if test -z "$haveit"; then
26058 haveit=
26059 for x in $LDFLAGS $LIBICONV; do
26061 acl_save_prefix="$prefix"
26062 prefix="$acl_final_prefix"
26063 acl_save_exec_prefix="$exec_prefix"
26064 exec_prefix="$acl_final_exec_prefix"
26065 eval x=\"$x\"
26066 exec_prefix="$acl_save_exec_prefix"
26067 prefix="$acl_save_prefix"
26069 if test "X$x" = "X-L$additional_libdir"; then
26070 haveit=yes
26071 break
26073 done
26074 if test -z "$haveit"; then
26075 if test -d "$additional_libdir"; then
26076 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26079 haveit=
26080 for x in $LDFLAGS $LTLIBICONV; do
26082 acl_save_prefix="$prefix"
26083 prefix="$acl_final_prefix"
26084 acl_save_exec_prefix="$exec_prefix"
26085 exec_prefix="$acl_final_exec_prefix"
26086 eval x=\"$x\"
26087 exec_prefix="$acl_save_exec_prefix"
26088 prefix="$acl_save_prefix"
26090 if test "X$x" = "X-L$additional_libdir"; then
26091 haveit=yes
26092 break
26094 done
26095 if test -z "$haveit"; then
26096 if test -d "$additional_libdir"; then
26097 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26103 -R*)
26104 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26105 if test "$enable_rpath" != no; then
26106 haveit=
26107 for x in $rpathdirs; do
26108 if test "X$x" = "X$dir"; then
26109 haveit=yes
26110 break
26112 done
26113 if test -z "$haveit"; then
26114 rpathdirs="$rpathdirs $dir"
26116 haveit=
26117 for x in $ltrpathdirs; do
26118 if test "X$x" = "X$dir"; then
26119 haveit=yes
26120 break
26122 done
26123 if test -z "$haveit"; then
26124 ltrpathdirs="$ltrpathdirs $dir"
26128 -l*)
26129 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26131 *.la)
26132 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26135 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26136 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26138 esac
26139 done
26141 else
26142 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26143 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26147 done
26148 done
26149 if test "X$rpathdirs" != "X"; then
26150 if test -n "$hardcode_libdir_separator"; then
26151 alldirs=
26152 for found_dir in $rpathdirs; do
26153 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26154 done
26155 acl_save_libdir="$libdir"
26156 libdir="$alldirs"
26157 eval flag=\"$hardcode_libdir_flag_spec\"
26158 libdir="$acl_save_libdir"
26159 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26160 else
26161 for found_dir in $rpathdirs; do
26162 acl_save_libdir="$libdir"
26163 libdir="$found_dir"
26164 eval flag=\"$hardcode_libdir_flag_spec\"
26165 libdir="$acl_save_libdir"
26166 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26167 done
26170 if test "X$ltrpathdirs" != "X"; then
26171 for found_dir in $ltrpathdirs; do
26172 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26173 done
26182 am_save_CPPFLAGS="$CPPFLAGS"
26184 for element in $INCICONV; do
26185 haveit=
26186 for x in $CPPFLAGS; do
26188 acl_save_prefix="$prefix"
26189 prefix="$acl_final_prefix"
26190 acl_save_exec_prefix="$exec_prefix"
26191 exec_prefix="$acl_final_exec_prefix"
26192 eval x=\"$x\"
26193 exec_prefix="$acl_save_exec_prefix"
26194 prefix="$acl_save_prefix"
26196 if test "X$x" = "X$element"; then
26197 haveit=yes
26198 break
26200 done
26201 if test -z "$haveit"; then
26202 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26204 done
26207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26208 $as_echo_n "checking for iconv... " >&6; }
26209 if test "${am_cv_func_iconv+set}" = set; then :
26210 $as_echo_n "(cached) " >&6
26211 else
26213 am_cv_func_iconv="no, consider installing GNU libiconv"
26214 am_cv_lib_iconv=no
26215 if test x$gcc_no_link = xyes; then
26216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26219 /* end confdefs.h. */
26220 #include <stdlib.h>
26221 #include <iconv.h>
26223 main ()
26225 iconv_t cd = iconv_open("","");
26226 iconv(cd,NULL,NULL,NULL,NULL);
26227 iconv_close(cd);
26229 return 0;
26231 _ACEOF
26232 if ac_fn_c_try_link "$LINENO"; then :
26233 am_cv_func_iconv=yes
26235 rm -f core conftest.err conftest.$ac_objext \
26236 conftest$ac_exeext conftest.$ac_ext
26237 if test "$am_cv_func_iconv" != yes; then
26238 am_save_LIBS="$LIBS"
26239 LIBS="$LIBS $LIBICONV"
26240 if test x$gcc_no_link = xyes; then
26241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26244 /* end confdefs.h. */
26245 #include <stdlib.h>
26246 #include <iconv.h>
26248 main ()
26250 iconv_t cd = iconv_open("","");
26251 iconv(cd,NULL,NULL,NULL,NULL);
26252 iconv_close(cd);
26254 return 0;
26256 _ACEOF
26257 if ac_fn_c_try_link "$LINENO"; then :
26258 am_cv_lib_iconv=yes
26259 am_cv_func_iconv=yes
26261 rm -f core conftest.err conftest.$ac_objext \
26262 conftest$ac_exeext conftest.$ac_ext
26263 LIBS="$am_save_LIBS"
26267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26268 $as_echo "$am_cv_func_iconv" >&6; }
26269 if test "$am_cv_func_iconv" = yes; then
26271 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26274 if test "$am_cv_lib_iconv" = yes; then
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26276 $as_echo_n "checking how to link with libiconv... " >&6; }
26277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26278 $as_echo "$LIBICONV" >&6; }
26279 else
26280 CPPFLAGS="$am_save_CPPFLAGS"
26281 LIBICONV=
26282 LTLIBICONV=
26287 if test "$am_cv_func_iconv" = yes; then
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26289 $as_echo_n "checking for iconv declaration... " >&6; }
26290 if test "${am_cv_proto_iconv+set}" = set; then :
26291 $as_echo_n "(cached) " >&6
26292 else
26294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26295 /* end confdefs.h. */
26297 #include <stdlib.h>
26298 #include <iconv.h>
26299 extern
26300 #ifdef __cplusplus
26302 #endif
26303 #if defined(__STDC__) || defined(__cplusplus)
26304 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26305 #else
26306 size_t iconv();
26307 #endif
26310 main ()
26314 return 0;
26316 _ACEOF
26317 if ac_fn_c_try_compile "$LINENO"; then :
26318 am_cv_proto_iconv_arg1=""
26319 else
26320 am_cv_proto_iconv_arg1="const"
26322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26323 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);"
26326 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26328 }$am_cv_proto_iconv" >&5
26329 $as_echo "${ac_t:-
26330 }$am_cv_proto_iconv" >&6; }
26332 cat >>confdefs.h <<_ACEOF
26333 #define ICONV_CONST $am_cv_proto_iconv_arg1
26334 _ACEOF
26339 else
26341 # This lets us hard-code the functionality we know we'll have in the cross
26342 # target environment. "Let" is a sugar-coated word placed on an especially
26343 # dull and tedious hack, actually.
26345 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26346 # that involve linking, can't be used:
26347 # "cannot open sim-crt0.o"
26348 # "cannot open crt0.o"
26349 # etc. All this is because there currently exists no unified, consistent
26350 # way for top level CC information to be passed down to target directories:
26351 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26352 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26353 # crosses can be removed.
26355 # If Canadian cross, then don't pick up tools from the build directory.
26356 # Used only in GLIBCXX_EXPORT_INCLUDES.
26357 if test -n "$with_cross_host" &&
26358 test x"$build_alias" != x"$with_cross_host" &&
26359 test x"$build" != x"$target";
26360 then
26361 CANADIAN=yes
26362 else
26363 CANADIAN=no
26366 # Construct crosses by hand, eliminating bits that need ld...
26367 # GLIBCXX_CHECK_MATH_SUPPORT
26369 # First, test for "known" system libraries. We may be using newlib even
26370 # on a hosted environment.
26371 if test "x${with_newlib}" = "xyes"; then
26372 os_include_dir="os/newlib"
26373 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26376 # GLIBCXX_CHECK_STDLIB_SUPPORT
26377 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26380 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26382 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26384 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26386 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26388 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26390 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26392 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26394 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26396 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26398 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26400 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26402 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26404 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26406 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26408 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26410 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26412 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26414 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26416 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26418 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26420 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26422 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26425 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26427 else
26429 # Base decisions on target environment.
26430 case "${host}" in
26431 arm*-*-symbianelf*)
26432 # This is a freestanding configuration; there is nothing to do here.
26435 mips*-sde-elf*)
26436 # These definitions are for the SDE C library rather than newlib.
26437 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26440 # All these tests are for C++; save the language and the compiler flags.
26441 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26442 # found in GLIBCXX_CONFIGURE.
26444 ac_ext=cpp
26445 ac_cpp='$CXXCPP $CPPFLAGS'
26446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26450 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26451 ac_save_CXXFLAGS="$CXXFLAGS"
26453 # Check for maintainer-mode bits.
26454 if test x"$USE_MAINTAINER_MODE" = xno; then
26455 WERROR=''
26456 else
26457 WERROR='-Werror'
26460 # Check for -ffunction-sections -fdata-sections
26461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26462 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26463 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26465 /* end confdefs.h. */
26466 int foo; void bar() { };
26468 main ()
26472 return 0;
26474 _ACEOF
26475 if ac_fn_cxx_try_compile "$LINENO"; then :
26476 ac_fdsections=yes
26477 else
26478 ac_fdsections=no
26480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26481 if test "$ac_test_CXXFLAGS" = set; then
26482 CXXFLAGS="$ac_save_CXXFLAGS"
26483 else
26484 # this is the suspicious part
26485 CXXFLAGS=''
26487 if test x"$ac_fdsections" = x"yes"; then
26488 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26491 $as_echo "$ac_fdsections" >&6; }
26493 ac_ext=c
26494 ac_cpp='$CPP $CPPFLAGS'
26495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26503 # If we're not using GNU ld, then there's no point in even trying these
26504 # tests. Check for that first. We should have already tested for gld
26505 # by now (in libtool), but require it now just to be safe...
26506 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26507 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26511 # The name set by libtool depends on the version of libtool. Shame on us
26512 # for depending on an impl detail, but c'est la vie. Older versions used
26513 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26514 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26515 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26516 # set (hence we're using an older libtool), then set it.
26517 if test x${with_gnu_ld+set} != xset; then
26518 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26519 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26520 with_gnu_ld=no
26521 else
26522 with_gnu_ld=$ac_cv_prog_gnu_ld
26526 # Start by getting the version number. I think the libtool test already
26527 # does some of this, but throws away the result.
26528 glibcxx_ld_is_gold=no
26529 if test x"$with_gnu_ld" = x"yes"; then
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26531 $as_echo_n "checking for ld version... " >&6; }
26533 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26534 glibcxx_ld_is_gold=yes
26536 ldver=`$LD --version 2>/dev/null |
26537 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'`
26539 glibcxx_gnu_ld_version=`echo $ldver | \
26540 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26542 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26545 # Set --gc-sections.
26546 glibcxx_have_gc_sections=no
26547 if test "$glibcxx_ld_is_gold" = "yes"; then
26548 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26549 glibcxx_have_gc_sections=yes
26551 else
26552 glibcxx_gcsections_min_ld=21602
26553 if test x"$with_gnu_ld" = x"yes" &&
26554 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26555 glibcxx_have_gc_sections=yes
26558 if test "$glibcxx_have_gc_sections" = "yes"; then
26559 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26560 # NB: This flag only works reliably after 2.16.1. Configure tests
26561 # for this are difficult, so hard wire a value that should work.
26563 ac_test_CFLAGS="${CFLAGS+set}"
26564 ac_save_CFLAGS="$CFLAGS"
26565 CFLAGS='-Wl,--gc-sections'
26567 # Check for -Wl,--gc-sections
26568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26569 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26570 if test x$gcc_no_link = xyes; then
26571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26574 /* end confdefs.h. */
26575 int one(void) { return 1; }
26576 int two(void) { return 2; }
26579 main ()
26581 two();
26583 return 0;
26585 _ACEOF
26586 if ac_fn_c_try_link "$LINENO"; then :
26587 ac_gcsections=yes
26588 else
26589 ac_gcsections=no
26591 rm -f core conftest.err conftest.$ac_objext \
26592 conftest$ac_exeext conftest.$ac_ext
26593 if test "$ac_gcsections" = "yes"; then
26594 rm -f conftest.c
26595 touch conftest.c
26596 if $CC -c conftest.c; then
26597 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26598 grep "Warning: gc-sections option ignored" > /dev/null; then
26599 ac_gcsections=no
26602 rm -f conftest.c conftest.o conftest
26604 if test "$ac_gcsections" = "yes"; then
26605 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26608 $as_echo "$ac_gcsections" >&6; }
26610 if test "$ac_test_CFLAGS" = set; then
26611 CFLAGS="$ac_save_CFLAGS"
26612 else
26613 # this is the suspicious part
26614 CFLAGS=''
26618 # Set -z,relro.
26619 # Note this is only for shared objects.
26620 ac_ld_relro=no
26621 if test x"$with_gnu_ld" = x"yes"; then
26622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26623 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26624 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26625 if test -n "$cxx_z_relo"; then
26626 OPT_LDFLAGS="-Wl,-z,relro"
26627 ac_ld_relro=yes
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26630 $as_echo "$ac_ld_relro" >&6; }
26633 # Set linker optimization flags.
26634 if test x"$with_gnu_ld" = x"yes"; then
26635 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26642 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26643 ac_save_CXXFLAGS="$CXXFLAGS"
26644 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26647 $as_echo_n "checking for sin in -lm... " >&6; }
26648 if test "${ac_cv_lib_m_sin+set}" = set; then :
26649 $as_echo_n "(cached) " >&6
26650 else
26651 ac_check_lib_save_LIBS=$LIBS
26652 LIBS="-lm $LIBS"
26653 if test x$gcc_no_link = xyes; then
26654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26657 /* end confdefs.h. */
26659 /* Override any GCC internal prototype to avoid an error.
26660 Use char because int might match the return type of a GCC
26661 builtin and then its argument prototype would still apply. */
26662 #ifdef __cplusplus
26663 extern "C"
26664 #endif
26665 char sin ();
26667 main ()
26669 return sin ();
26671 return 0;
26673 _ACEOF
26674 if ac_fn_c_try_link "$LINENO"; then :
26675 ac_cv_lib_m_sin=yes
26676 else
26677 ac_cv_lib_m_sin=no
26679 rm -f core conftest.err conftest.$ac_objext \
26680 conftest$ac_exeext conftest.$ac_ext
26681 LIBS=$ac_check_lib_save_LIBS
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26684 $as_echo "$ac_cv_lib_m_sin" >&6; }
26685 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26686 libm="-lm"
26689 ac_save_LIBS="$LIBS"
26690 LIBS="$LIBS $libm"
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26695 $as_echo_n "checking for isinf declaration... " >&6; }
26696 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26697 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26698 $as_echo_n "(cached) " >&6
26699 else
26702 ac_ext=cpp
26703 ac_cpp='$CXXCPP $CPPFLAGS'
26704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26709 /* end confdefs.h. */
26710 #include <math.h>
26711 #ifdef HAVE_IEEEFP_H
26712 #include <ieeefp.h>
26713 #endif
26716 main ()
26718 isinf(0);
26720 return 0;
26722 _ACEOF
26723 if ac_fn_cxx_try_compile "$LINENO"; then :
26724 glibcxx_cv_func_isinf_use=yes
26725 else
26726 glibcxx_cv_func_isinf_use=no
26728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26729 ac_ext=c
26730 ac_cpp='$CPP $CPPFLAGS'
26731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26740 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26742 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26743 for ac_func in isinf
26744 do :
26745 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26746 if test "x$ac_cv_func_isinf" = x""yes; then :
26747 cat >>confdefs.h <<_ACEOF
26748 #define HAVE_ISINF 1
26749 _ACEOF
26752 done
26754 else
26756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26757 $as_echo_n "checking for _isinf declaration... " >&6; }
26758 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26759 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26760 $as_echo_n "(cached) " >&6
26761 else
26764 ac_ext=cpp
26765 ac_cpp='$CXXCPP $CPPFLAGS'
26766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26771 /* end confdefs.h. */
26772 #include <math.h>
26773 #ifdef HAVE_IEEEFP_H
26774 #include <ieeefp.h>
26775 #endif
26778 main ()
26780 _isinf(0);
26782 return 0;
26784 _ACEOF
26785 if ac_fn_cxx_try_compile "$LINENO"; then :
26786 glibcxx_cv_func__isinf_use=yes
26787 else
26788 glibcxx_cv_func__isinf_use=no
26790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26791 ac_ext=c
26792 ac_cpp='$CPP $CPPFLAGS'
26793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26802 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26804 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26805 for ac_func in _isinf
26806 do :
26807 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26808 if test "x$ac_cv_func__isinf" = x""yes; then :
26809 cat >>confdefs.h <<_ACEOF
26810 #define HAVE__ISINF 1
26811 _ACEOF
26814 done
26823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26824 $as_echo_n "checking for isnan declaration... " >&6; }
26825 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26826 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26827 $as_echo_n "(cached) " >&6
26828 else
26831 ac_ext=cpp
26832 ac_cpp='$CXXCPP $CPPFLAGS'
26833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26838 /* end confdefs.h. */
26839 #include <math.h>
26840 #ifdef HAVE_IEEEFP_H
26841 #include <ieeefp.h>
26842 #endif
26845 main ()
26847 isnan(0);
26849 return 0;
26851 _ACEOF
26852 if ac_fn_cxx_try_compile "$LINENO"; then :
26853 glibcxx_cv_func_isnan_use=yes
26854 else
26855 glibcxx_cv_func_isnan_use=no
26857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26858 ac_ext=c
26859 ac_cpp='$CPP $CPPFLAGS'
26860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26869 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26871 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26872 for ac_func in isnan
26873 do :
26874 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26875 if test "x$ac_cv_func_isnan" = x""yes; then :
26876 cat >>confdefs.h <<_ACEOF
26877 #define HAVE_ISNAN 1
26878 _ACEOF
26881 done
26883 else
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26886 $as_echo_n "checking for _isnan declaration... " >&6; }
26887 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26888 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26889 $as_echo_n "(cached) " >&6
26890 else
26893 ac_ext=cpp
26894 ac_cpp='$CXXCPP $CPPFLAGS'
26895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26900 /* end confdefs.h. */
26901 #include <math.h>
26902 #ifdef HAVE_IEEEFP_H
26903 #include <ieeefp.h>
26904 #endif
26907 main ()
26909 _isnan(0);
26911 return 0;
26913 _ACEOF
26914 if ac_fn_cxx_try_compile "$LINENO"; then :
26915 glibcxx_cv_func__isnan_use=yes
26916 else
26917 glibcxx_cv_func__isnan_use=no
26919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26920 ac_ext=c
26921 ac_cpp='$CPP $CPPFLAGS'
26922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26931 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26933 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26934 for ac_func in _isnan
26935 do :
26936 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26937 if test "x$ac_cv_func__isnan" = x""yes; then :
26938 cat >>confdefs.h <<_ACEOF
26939 #define HAVE__ISNAN 1
26940 _ACEOF
26943 done
26952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26953 $as_echo_n "checking for finite declaration... " >&6; }
26954 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26955 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26956 $as_echo_n "(cached) " >&6
26957 else
26960 ac_ext=cpp
26961 ac_cpp='$CXXCPP $CPPFLAGS'
26962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26967 /* end confdefs.h. */
26968 #include <math.h>
26969 #ifdef HAVE_IEEEFP_H
26970 #include <ieeefp.h>
26971 #endif
26974 main ()
26976 finite(0);
26978 return 0;
26980 _ACEOF
26981 if ac_fn_cxx_try_compile "$LINENO"; then :
26982 glibcxx_cv_func_finite_use=yes
26983 else
26984 glibcxx_cv_func_finite_use=no
26986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26987 ac_ext=c
26988 ac_cpp='$CPP $CPPFLAGS'
26989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26998 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27000 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27001 for ac_func in finite
27002 do :
27003 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27004 if test "x$ac_cv_func_finite" = x""yes; then :
27005 cat >>confdefs.h <<_ACEOF
27006 #define HAVE_FINITE 1
27007 _ACEOF
27010 done
27012 else
27014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27015 $as_echo_n "checking for _finite declaration... " >&6; }
27016 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27017 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27018 $as_echo_n "(cached) " >&6
27019 else
27022 ac_ext=cpp
27023 ac_cpp='$CXXCPP $CPPFLAGS'
27024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27029 /* end confdefs.h. */
27030 #include <math.h>
27031 #ifdef HAVE_IEEEFP_H
27032 #include <ieeefp.h>
27033 #endif
27036 main ()
27038 _finite(0);
27040 return 0;
27042 _ACEOF
27043 if ac_fn_cxx_try_compile "$LINENO"; then :
27044 glibcxx_cv_func__finite_use=yes
27045 else
27046 glibcxx_cv_func__finite_use=no
27048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27049 ac_ext=c
27050 ac_cpp='$CPP $CPPFLAGS'
27051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27060 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27062 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27063 for ac_func in _finite
27064 do :
27065 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27066 if test "x$ac_cv_func__finite" = x""yes; then :
27067 cat >>confdefs.h <<_ACEOF
27068 #define HAVE__FINITE 1
27069 _ACEOF
27072 done
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27082 $as_echo_n "checking for sincos declaration... " >&6; }
27083 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27084 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27085 $as_echo_n "(cached) " >&6
27086 else
27089 ac_ext=cpp
27090 ac_cpp='$CXXCPP $CPPFLAGS'
27091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27096 /* end confdefs.h. */
27097 #include <math.h>
27099 main ()
27101 sincos(0, 0, 0);
27103 return 0;
27105 _ACEOF
27106 if ac_fn_cxx_try_compile "$LINENO"; then :
27107 glibcxx_cv_func_sincos_use=yes
27108 else
27109 glibcxx_cv_func_sincos_use=no
27111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27112 ac_ext=c
27113 ac_cpp='$CPP $CPPFLAGS'
27114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27123 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27125 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27126 for ac_func in sincos
27127 do :
27128 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27129 if test "x$ac_cv_func_sincos" = x""yes; then :
27130 cat >>confdefs.h <<_ACEOF
27131 #define HAVE_SINCOS 1
27132 _ACEOF
27135 done
27137 else
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27140 $as_echo_n "checking for _sincos declaration... " >&6; }
27141 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27142 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27143 $as_echo_n "(cached) " >&6
27144 else
27147 ac_ext=cpp
27148 ac_cpp='$CXXCPP $CPPFLAGS'
27149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27154 /* end confdefs.h. */
27155 #include <math.h>
27157 main ()
27159 _sincos(0, 0, 0);
27161 return 0;
27163 _ACEOF
27164 if ac_fn_cxx_try_compile "$LINENO"; then :
27165 glibcxx_cv_func__sincos_use=yes
27166 else
27167 glibcxx_cv_func__sincos_use=no
27169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27170 ac_ext=c
27171 ac_cpp='$CPP $CPPFLAGS'
27172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27181 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27183 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27184 for ac_func in _sincos
27185 do :
27186 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27187 if test "x$ac_cv_func__sincos" = x""yes; then :
27188 cat >>confdefs.h <<_ACEOF
27189 #define HAVE__SINCOS 1
27190 _ACEOF
27193 done
27202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27203 $as_echo_n "checking for fpclass declaration... " >&6; }
27204 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27205 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27206 $as_echo_n "(cached) " >&6
27207 else
27210 ac_ext=cpp
27211 ac_cpp='$CXXCPP $CPPFLAGS'
27212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27217 /* end confdefs.h. */
27218 #include <math.h>
27219 #ifdef HAVE_IEEEFP_H
27220 #include <ieeefp.h>
27221 #endif
27224 main ()
27226 fpclass(0);
27228 return 0;
27230 _ACEOF
27231 if ac_fn_cxx_try_compile "$LINENO"; then :
27232 glibcxx_cv_func_fpclass_use=yes
27233 else
27234 glibcxx_cv_func_fpclass_use=no
27236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27237 ac_ext=c
27238 ac_cpp='$CPP $CPPFLAGS'
27239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27248 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27250 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27251 for ac_func in fpclass
27252 do :
27253 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27254 if test "x$ac_cv_func_fpclass" = x""yes; then :
27255 cat >>confdefs.h <<_ACEOF
27256 #define HAVE_FPCLASS 1
27257 _ACEOF
27260 done
27262 else
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27265 $as_echo_n "checking for _fpclass declaration... " >&6; }
27266 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27267 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27268 $as_echo_n "(cached) " >&6
27269 else
27272 ac_ext=cpp
27273 ac_cpp='$CXXCPP $CPPFLAGS'
27274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27279 /* end confdefs.h. */
27280 #include <math.h>
27281 #ifdef HAVE_IEEEFP_H
27282 #include <ieeefp.h>
27283 #endif
27286 main ()
27288 _fpclass(0);
27290 return 0;
27292 _ACEOF
27293 if ac_fn_cxx_try_compile "$LINENO"; then :
27294 glibcxx_cv_func__fpclass_use=yes
27295 else
27296 glibcxx_cv_func__fpclass_use=no
27298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27299 ac_ext=c
27300 ac_cpp='$CPP $CPPFLAGS'
27301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27310 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27312 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27313 for ac_func in _fpclass
27314 do :
27315 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27316 if test "x$ac_cv_func__fpclass" = x""yes; then :
27317 cat >>confdefs.h <<_ACEOF
27318 #define HAVE__FPCLASS 1
27319 _ACEOF
27322 done
27331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27332 $as_echo_n "checking for qfpclass declaration... " >&6; }
27333 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27334 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27335 $as_echo_n "(cached) " >&6
27336 else
27339 ac_ext=cpp
27340 ac_cpp='$CXXCPP $CPPFLAGS'
27341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27346 /* end confdefs.h. */
27347 #include <math.h>
27348 #ifdef HAVE_IEEEFP_H
27349 #include <ieeefp.h>
27350 #endif
27353 main ()
27355 qfpclass(0);
27357 return 0;
27359 _ACEOF
27360 if ac_fn_cxx_try_compile "$LINENO"; then :
27361 glibcxx_cv_func_qfpclass_use=yes
27362 else
27363 glibcxx_cv_func_qfpclass_use=no
27365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27366 ac_ext=c
27367 ac_cpp='$CPP $CPPFLAGS'
27368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27377 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27379 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27380 for ac_func in qfpclass
27381 do :
27382 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27383 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27384 cat >>confdefs.h <<_ACEOF
27385 #define HAVE_QFPCLASS 1
27386 _ACEOF
27389 done
27391 else
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27394 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27395 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27396 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27397 $as_echo_n "(cached) " >&6
27398 else
27401 ac_ext=cpp
27402 ac_cpp='$CXXCPP $CPPFLAGS'
27403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27408 /* end confdefs.h. */
27409 #include <math.h>
27410 #ifdef HAVE_IEEEFP_H
27411 #include <ieeefp.h>
27412 #endif
27415 main ()
27417 _qfpclass(0);
27419 return 0;
27421 _ACEOF
27422 if ac_fn_cxx_try_compile "$LINENO"; then :
27423 glibcxx_cv_func__qfpclass_use=yes
27424 else
27425 glibcxx_cv_func__qfpclass_use=no
27427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27428 ac_ext=c
27429 ac_cpp='$CPP $CPPFLAGS'
27430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27439 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27441 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27442 for ac_func in _qfpclass
27443 do :
27444 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27445 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27446 cat >>confdefs.h <<_ACEOF
27447 #define HAVE__QFPCLASS 1
27448 _ACEOF
27451 done
27460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27461 $as_echo_n "checking for hypot declaration... " >&6; }
27462 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27463 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27464 $as_echo_n "(cached) " >&6
27465 else
27468 ac_ext=cpp
27469 ac_cpp='$CXXCPP $CPPFLAGS'
27470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27475 /* end confdefs.h. */
27476 #include <math.h>
27478 main ()
27480 hypot(0, 0);
27482 return 0;
27484 _ACEOF
27485 if ac_fn_cxx_try_compile "$LINENO"; then :
27486 glibcxx_cv_func_hypot_use=yes
27487 else
27488 glibcxx_cv_func_hypot_use=no
27490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27491 ac_ext=c
27492 ac_cpp='$CPP $CPPFLAGS'
27493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27502 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27504 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27505 for ac_func in hypot
27506 do :
27507 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27508 if test "x$ac_cv_func_hypot" = x""yes; then :
27509 cat >>confdefs.h <<_ACEOF
27510 #define HAVE_HYPOT 1
27511 _ACEOF
27514 done
27516 else
27518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27519 $as_echo_n "checking for _hypot declaration... " >&6; }
27520 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27521 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27522 $as_echo_n "(cached) " >&6
27523 else
27526 ac_ext=cpp
27527 ac_cpp='$CXXCPP $CPPFLAGS'
27528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27533 /* end confdefs.h. */
27534 #include <math.h>
27536 main ()
27538 _hypot(0, 0);
27540 return 0;
27542 _ACEOF
27543 if ac_fn_cxx_try_compile "$LINENO"; then :
27544 glibcxx_cv_func__hypot_use=yes
27545 else
27546 glibcxx_cv_func__hypot_use=no
27548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27549 ac_ext=c
27550 ac_cpp='$CPP $CPPFLAGS'
27551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27560 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27562 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27563 for ac_func in _hypot
27564 do :
27565 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27566 if test "x$ac_cv_func__hypot" = x""yes; then :
27567 cat >>confdefs.h <<_ACEOF
27568 #define HAVE__HYPOT 1
27569 _ACEOF
27572 done
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27582 $as_echo_n "checking for float trig functions... " >&6; }
27583 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27584 $as_echo_n "(cached) " >&6
27585 else
27588 ac_ext=cpp
27589 ac_cpp='$CXXCPP $CPPFLAGS'
27590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27595 /* end confdefs.h. */
27596 #include <math.h>
27598 main ()
27600 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27602 return 0;
27604 _ACEOF
27605 if ac_fn_cxx_try_compile "$LINENO"; then :
27606 glibcxx_cv_func_float_trig_use=yes
27607 else
27608 glibcxx_cv_func_float_trig_use=no
27610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27611 ac_ext=c
27612 ac_cpp='$CPP $CPPFLAGS'
27613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27620 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27621 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27622 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27623 do :
27624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27626 eval as_val=\$$as_ac_var
27627 if test "x$as_val" = x""yes; then :
27628 cat >>confdefs.h <<_ACEOF
27629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27630 _ACEOF
27633 done
27635 else
27636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27637 $as_echo_n "checking for _float trig functions... " >&6; }
27638 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27639 $as_echo_n "(cached) " >&6
27640 else
27643 ac_ext=cpp
27644 ac_cpp='$CXXCPP $CPPFLAGS'
27645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27650 /* end confdefs.h. */
27651 #include <math.h>
27653 main ()
27655 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27657 return 0;
27659 _ACEOF
27660 if ac_fn_cxx_try_compile "$LINENO"; then :
27661 glibcxx_cv_func__float_trig_use=yes
27662 else
27663 glibcxx_cv_func__float_trig_use=no
27665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27666 ac_ext=c
27667 ac_cpp='$CPP $CPPFLAGS'
27668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27675 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27676 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27677 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27678 do :
27679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27681 eval as_val=\$$as_ac_var
27682 if test "x$as_val" = x""yes; then :
27683 cat >>confdefs.h <<_ACEOF
27684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27685 _ACEOF
27688 done
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27698 $as_echo_n "checking for float round functions... " >&6; }
27699 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27700 $as_echo_n "(cached) " >&6
27701 else
27704 ac_ext=cpp
27705 ac_cpp='$CXXCPP $CPPFLAGS'
27706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27711 /* end confdefs.h. */
27712 #include <math.h>
27714 main ()
27716 ceilf (0); floorf (0);
27718 return 0;
27720 _ACEOF
27721 if ac_fn_cxx_try_compile "$LINENO"; then :
27722 glibcxx_cv_func_float_round_use=yes
27723 else
27724 glibcxx_cv_func_float_round_use=no
27726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27727 ac_ext=c
27728 ac_cpp='$CPP $CPPFLAGS'
27729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27736 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27737 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27738 for ac_func in ceilf floorf
27739 do :
27740 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27742 eval as_val=\$$as_ac_var
27743 if test "x$as_val" = x""yes; then :
27744 cat >>confdefs.h <<_ACEOF
27745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27746 _ACEOF
27749 done
27751 else
27752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27753 $as_echo_n "checking for _float round functions... " >&6; }
27754 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27755 $as_echo_n "(cached) " >&6
27756 else
27759 ac_ext=cpp
27760 ac_cpp='$CXXCPP $CPPFLAGS'
27761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27766 /* end confdefs.h. */
27767 #include <math.h>
27769 main ()
27771 _ceilf (0); _floorf (0);
27773 return 0;
27775 _ACEOF
27776 if ac_fn_cxx_try_compile "$LINENO"; then :
27777 glibcxx_cv_func__float_round_use=yes
27778 else
27779 glibcxx_cv_func__float_round_use=no
27781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27782 ac_ext=c
27783 ac_cpp='$CPP $CPPFLAGS'
27784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27791 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27792 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27793 for ac_func in _ceilf _floorf
27794 do :
27795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27797 eval as_val=\$$as_ac_var
27798 if test "x$as_val" = x""yes; then :
27799 cat >>confdefs.h <<_ACEOF
27800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27801 _ACEOF
27804 done
27814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27815 $as_echo_n "checking for expf declaration... " >&6; }
27816 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27817 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27818 $as_echo_n "(cached) " >&6
27819 else
27822 ac_ext=cpp
27823 ac_cpp='$CXXCPP $CPPFLAGS'
27824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27829 /* end confdefs.h. */
27830 #include <math.h>
27831 #ifdef HAVE_IEEEFP_H
27832 #include <ieeefp.h>
27833 #endif
27836 main ()
27838 expf(0);
27840 return 0;
27842 _ACEOF
27843 if ac_fn_cxx_try_compile "$LINENO"; then :
27844 glibcxx_cv_func_expf_use=yes
27845 else
27846 glibcxx_cv_func_expf_use=no
27848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27849 ac_ext=c
27850 ac_cpp='$CPP $CPPFLAGS'
27851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27860 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27862 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27863 for ac_func in expf
27864 do :
27865 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27866 if test "x$ac_cv_func_expf" = x""yes; then :
27867 cat >>confdefs.h <<_ACEOF
27868 #define HAVE_EXPF 1
27869 _ACEOF
27872 done
27874 else
27876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27877 $as_echo_n "checking for _expf declaration... " >&6; }
27878 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27879 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27880 $as_echo_n "(cached) " >&6
27881 else
27884 ac_ext=cpp
27885 ac_cpp='$CXXCPP $CPPFLAGS'
27886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27891 /* end confdefs.h. */
27892 #include <math.h>
27893 #ifdef HAVE_IEEEFP_H
27894 #include <ieeefp.h>
27895 #endif
27898 main ()
27900 _expf(0);
27902 return 0;
27904 _ACEOF
27905 if ac_fn_cxx_try_compile "$LINENO"; then :
27906 glibcxx_cv_func__expf_use=yes
27907 else
27908 glibcxx_cv_func__expf_use=no
27910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27911 ac_ext=c
27912 ac_cpp='$CPP $CPPFLAGS'
27913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27922 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27924 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27925 for ac_func in _expf
27926 do :
27927 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27928 if test "x$ac_cv_func__expf" = x""yes; then :
27929 cat >>confdefs.h <<_ACEOF
27930 #define HAVE__EXPF 1
27931 _ACEOF
27934 done
27943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27944 $as_echo_n "checking for isnanf declaration... " >&6; }
27945 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27946 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27947 $as_echo_n "(cached) " >&6
27948 else
27951 ac_ext=cpp
27952 ac_cpp='$CXXCPP $CPPFLAGS'
27953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27958 /* end confdefs.h. */
27959 #include <math.h>
27960 #ifdef HAVE_IEEEFP_H
27961 #include <ieeefp.h>
27962 #endif
27965 main ()
27967 isnanf(0);
27969 return 0;
27971 _ACEOF
27972 if ac_fn_cxx_try_compile "$LINENO"; then :
27973 glibcxx_cv_func_isnanf_use=yes
27974 else
27975 glibcxx_cv_func_isnanf_use=no
27977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27978 ac_ext=c
27979 ac_cpp='$CPP $CPPFLAGS'
27980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27989 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27991 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27992 for ac_func in isnanf
27993 do :
27994 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27995 if test "x$ac_cv_func_isnanf" = x""yes; then :
27996 cat >>confdefs.h <<_ACEOF
27997 #define HAVE_ISNANF 1
27998 _ACEOF
28001 done
28003 else
28005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28006 $as_echo_n "checking for _isnanf declaration... " >&6; }
28007 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28008 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28009 $as_echo_n "(cached) " >&6
28010 else
28013 ac_ext=cpp
28014 ac_cpp='$CXXCPP $CPPFLAGS'
28015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28020 /* end confdefs.h. */
28021 #include <math.h>
28022 #ifdef HAVE_IEEEFP_H
28023 #include <ieeefp.h>
28024 #endif
28027 main ()
28029 _isnanf(0);
28031 return 0;
28033 _ACEOF
28034 if ac_fn_cxx_try_compile "$LINENO"; then :
28035 glibcxx_cv_func__isnanf_use=yes
28036 else
28037 glibcxx_cv_func__isnanf_use=no
28039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28040 ac_ext=c
28041 ac_cpp='$CPP $CPPFLAGS'
28042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28051 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28053 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28054 for ac_func in _isnanf
28055 do :
28056 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28057 if test "x$ac_cv_func__isnanf" = x""yes; then :
28058 cat >>confdefs.h <<_ACEOF
28059 #define HAVE__ISNANF 1
28060 _ACEOF
28063 done
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28073 $as_echo_n "checking for isinff declaration... " >&6; }
28074 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28075 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28076 $as_echo_n "(cached) " >&6
28077 else
28080 ac_ext=cpp
28081 ac_cpp='$CXXCPP $CPPFLAGS'
28082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28087 /* end confdefs.h. */
28088 #include <math.h>
28089 #ifdef HAVE_IEEEFP_H
28090 #include <ieeefp.h>
28091 #endif
28094 main ()
28096 isinff(0);
28098 return 0;
28100 _ACEOF
28101 if ac_fn_cxx_try_compile "$LINENO"; then :
28102 glibcxx_cv_func_isinff_use=yes
28103 else
28104 glibcxx_cv_func_isinff_use=no
28106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28107 ac_ext=c
28108 ac_cpp='$CPP $CPPFLAGS'
28109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28118 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28120 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28121 for ac_func in isinff
28122 do :
28123 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28124 if test "x$ac_cv_func_isinff" = x""yes; then :
28125 cat >>confdefs.h <<_ACEOF
28126 #define HAVE_ISINFF 1
28127 _ACEOF
28130 done
28132 else
28134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28135 $as_echo_n "checking for _isinff declaration... " >&6; }
28136 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28137 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28138 $as_echo_n "(cached) " >&6
28139 else
28142 ac_ext=cpp
28143 ac_cpp='$CXXCPP $CPPFLAGS'
28144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28149 /* end confdefs.h. */
28150 #include <math.h>
28151 #ifdef HAVE_IEEEFP_H
28152 #include <ieeefp.h>
28153 #endif
28156 main ()
28158 _isinff(0);
28160 return 0;
28162 _ACEOF
28163 if ac_fn_cxx_try_compile "$LINENO"; then :
28164 glibcxx_cv_func__isinff_use=yes
28165 else
28166 glibcxx_cv_func__isinff_use=no
28168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28169 ac_ext=c
28170 ac_cpp='$CPP $CPPFLAGS'
28171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28180 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28182 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28183 for ac_func in _isinff
28184 do :
28185 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28186 if test "x$ac_cv_func__isinff" = x""yes; then :
28187 cat >>confdefs.h <<_ACEOF
28188 #define HAVE__ISINFF 1
28189 _ACEOF
28192 done
28201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28202 $as_echo_n "checking for atan2f declaration... " >&6; }
28203 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28204 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28205 $as_echo_n "(cached) " >&6
28206 else
28209 ac_ext=cpp
28210 ac_cpp='$CXXCPP $CPPFLAGS'
28211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28216 /* end confdefs.h. */
28217 #include <math.h>
28219 main ()
28221 atan2f(0, 0);
28223 return 0;
28225 _ACEOF
28226 if ac_fn_cxx_try_compile "$LINENO"; then :
28227 glibcxx_cv_func_atan2f_use=yes
28228 else
28229 glibcxx_cv_func_atan2f_use=no
28231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28232 ac_ext=c
28233 ac_cpp='$CPP $CPPFLAGS'
28234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28243 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28245 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28246 for ac_func in atan2f
28247 do :
28248 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28249 if test "x$ac_cv_func_atan2f" = x""yes; then :
28250 cat >>confdefs.h <<_ACEOF
28251 #define HAVE_ATAN2F 1
28252 _ACEOF
28255 done
28257 else
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28260 $as_echo_n "checking for _atan2f declaration... " >&6; }
28261 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28262 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28263 $as_echo_n "(cached) " >&6
28264 else
28267 ac_ext=cpp
28268 ac_cpp='$CXXCPP $CPPFLAGS'
28269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28274 /* end confdefs.h. */
28275 #include <math.h>
28277 main ()
28279 _atan2f(0, 0);
28281 return 0;
28283 _ACEOF
28284 if ac_fn_cxx_try_compile "$LINENO"; then :
28285 glibcxx_cv_func__atan2f_use=yes
28286 else
28287 glibcxx_cv_func__atan2f_use=no
28289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28290 ac_ext=c
28291 ac_cpp='$CPP $CPPFLAGS'
28292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28301 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28303 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28304 for ac_func in _atan2f
28305 do :
28306 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28307 if test "x$ac_cv_func__atan2f" = x""yes; then :
28308 cat >>confdefs.h <<_ACEOF
28309 #define HAVE__ATAN2F 1
28310 _ACEOF
28313 done
28322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28323 $as_echo_n "checking for fabsf declaration... " >&6; }
28324 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28325 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28326 $as_echo_n "(cached) " >&6
28327 else
28330 ac_ext=cpp
28331 ac_cpp='$CXXCPP $CPPFLAGS'
28332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28337 /* end confdefs.h. */
28338 #include <math.h>
28339 #ifdef HAVE_IEEEFP_H
28340 #include <ieeefp.h>
28341 #endif
28344 main ()
28346 fabsf(0);
28348 return 0;
28350 _ACEOF
28351 if ac_fn_cxx_try_compile "$LINENO"; then :
28352 glibcxx_cv_func_fabsf_use=yes
28353 else
28354 glibcxx_cv_func_fabsf_use=no
28356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28357 ac_ext=c
28358 ac_cpp='$CPP $CPPFLAGS'
28359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28368 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28370 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28371 for ac_func in fabsf
28372 do :
28373 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28374 if test "x$ac_cv_func_fabsf" = x""yes; then :
28375 cat >>confdefs.h <<_ACEOF
28376 #define HAVE_FABSF 1
28377 _ACEOF
28380 done
28382 else
28384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28385 $as_echo_n "checking for _fabsf declaration... " >&6; }
28386 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28387 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28388 $as_echo_n "(cached) " >&6
28389 else
28392 ac_ext=cpp
28393 ac_cpp='$CXXCPP $CPPFLAGS'
28394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28399 /* end confdefs.h. */
28400 #include <math.h>
28401 #ifdef HAVE_IEEEFP_H
28402 #include <ieeefp.h>
28403 #endif
28406 main ()
28408 _fabsf(0);
28410 return 0;
28412 _ACEOF
28413 if ac_fn_cxx_try_compile "$LINENO"; then :
28414 glibcxx_cv_func__fabsf_use=yes
28415 else
28416 glibcxx_cv_func__fabsf_use=no
28418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28419 ac_ext=c
28420 ac_cpp='$CPP $CPPFLAGS'
28421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28430 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28432 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28433 for ac_func in _fabsf
28434 do :
28435 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28436 if test "x$ac_cv_func__fabsf" = x""yes; then :
28437 cat >>confdefs.h <<_ACEOF
28438 #define HAVE__FABSF 1
28439 _ACEOF
28442 done
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28452 $as_echo_n "checking for fmodf declaration... " >&6; }
28453 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28454 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28455 $as_echo_n "(cached) " >&6
28456 else
28459 ac_ext=cpp
28460 ac_cpp='$CXXCPP $CPPFLAGS'
28461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28466 /* end confdefs.h. */
28467 #include <math.h>
28469 main ()
28471 fmodf(0, 0);
28473 return 0;
28475 _ACEOF
28476 if ac_fn_cxx_try_compile "$LINENO"; then :
28477 glibcxx_cv_func_fmodf_use=yes
28478 else
28479 glibcxx_cv_func_fmodf_use=no
28481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28482 ac_ext=c
28483 ac_cpp='$CPP $CPPFLAGS'
28484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28493 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28495 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28496 for ac_func in fmodf
28497 do :
28498 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28499 if test "x$ac_cv_func_fmodf" = x""yes; then :
28500 cat >>confdefs.h <<_ACEOF
28501 #define HAVE_FMODF 1
28502 _ACEOF
28505 done
28507 else
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28510 $as_echo_n "checking for _fmodf declaration... " >&6; }
28511 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28512 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28513 $as_echo_n "(cached) " >&6
28514 else
28517 ac_ext=cpp
28518 ac_cpp='$CXXCPP $CPPFLAGS'
28519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28524 /* end confdefs.h. */
28525 #include <math.h>
28527 main ()
28529 _fmodf(0, 0);
28531 return 0;
28533 _ACEOF
28534 if ac_fn_cxx_try_compile "$LINENO"; then :
28535 glibcxx_cv_func__fmodf_use=yes
28536 else
28537 glibcxx_cv_func__fmodf_use=no
28539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28540 ac_ext=c
28541 ac_cpp='$CPP $CPPFLAGS'
28542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28551 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28553 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28554 for ac_func in _fmodf
28555 do :
28556 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28557 if test "x$ac_cv_func__fmodf" = x""yes; then :
28558 cat >>confdefs.h <<_ACEOF
28559 #define HAVE__FMODF 1
28560 _ACEOF
28563 done
28572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28573 $as_echo_n "checking for frexpf declaration... " >&6; }
28574 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28575 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28576 $as_echo_n "(cached) " >&6
28577 else
28580 ac_ext=cpp
28581 ac_cpp='$CXXCPP $CPPFLAGS'
28582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28587 /* end confdefs.h. */
28588 #include <math.h>
28590 main ()
28592 frexpf(0, 0);
28594 return 0;
28596 _ACEOF
28597 if ac_fn_cxx_try_compile "$LINENO"; then :
28598 glibcxx_cv_func_frexpf_use=yes
28599 else
28600 glibcxx_cv_func_frexpf_use=no
28602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28603 ac_ext=c
28604 ac_cpp='$CPP $CPPFLAGS'
28605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28614 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28616 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28617 for ac_func in frexpf
28618 do :
28619 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28620 if test "x$ac_cv_func_frexpf" = x""yes; then :
28621 cat >>confdefs.h <<_ACEOF
28622 #define HAVE_FREXPF 1
28623 _ACEOF
28626 done
28628 else
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28631 $as_echo_n "checking for _frexpf declaration... " >&6; }
28632 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28633 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28634 $as_echo_n "(cached) " >&6
28635 else
28638 ac_ext=cpp
28639 ac_cpp='$CXXCPP $CPPFLAGS'
28640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28645 /* end confdefs.h. */
28646 #include <math.h>
28648 main ()
28650 _frexpf(0, 0);
28652 return 0;
28654 _ACEOF
28655 if ac_fn_cxx_try_compile "$LINENO"; then :
28656 glibcxx_cv_func__frexpf_use=yes
28657 else
28658 glibcxx_cv_func__frexpf_use=no
28660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28661 ac_ext=c
28662 ac_cpp='$CPP $CPPFLAGS'
28663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28672 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28674 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28675 for ac_func in _frexpf
28676 do :
28677 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28678 if test "x$ac_cv_func__frexpf" = x""yes; then :
28679 cat >>confdefs.h <<_ACEOF
28680 #define HAVE__FREXPF 1
28681 _ACEOF
28684 done
28693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28694 $as_echo_n "checking for hypotf declaration... " >&6; }
28695 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28696 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28697 $as_echo_n "(cached) " >&6
28698 else
28701 ac_ext=cpp
28702 ac_cpp='$CXXCPP $CPPFLAGS'
28703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28708 /* end confdefs.h. */
28709 #include <math.h>
28711 main ()
28713 hypotf(0, 0);
28715 return 0;
28717 _ACEOF
28718 if ac_fn_cxx_try_compile "$LINENO"; then :
28719 glibcxx_cv_func_hypotf_use=yes
28720 else
28721 glibcxx_cv_func_hypotf_use=no
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28724 ac_ext=c
28725 ac_cpp='$CPP $CPPFLAGS'
28726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28735 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28737 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28738 for ac_func in hypotf
28739 do :
28740 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28741 if test "x$ac_cv_func_hypotf" = x""yes; then :
28742 cat >>confdefs.h <<_ACEOF
28743 #define HAVE_HYPOTF 1
28744 _ACEOF
28747 done
28749 else
28751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28752 $as_echo_n "checking for _hypotf declaration... " >&6; }
28753 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28754 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28755 $as_echo_n "(cached) " >&6
28756 else
28759 ac_ext=cpp
28760 ac_cpp='$CXXCPP $CPPFLAGS'
28761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28766 /* end confdefs.h. */
28767 #include <math.h>
28769 main ()
28771 _hypotf(0, 0);
28773 return 0;
28775 _ACEOF
28776 if ac_fn_cxx_try_compile "$LINENO"; then :
28777 glibcxx_cv_func__hypotf_use=yes
28778 else
28779 glibcxx_cv_func__hypotf_use=no
28781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28782 ac_ext=c
28783 ac_cpp='$CPP $CPPFLAGS'
28784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28793 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28795 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28796 for ac_func in _hypotf
28797 do :
28798 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28799 if test "x$ac_cv_func__hypotf" = x""yes; then :
28800 cat >>confdefs.h <<_ACEOF
28801 #define HAVE__HYPOTF 1
28802 _ACEOF
28805 done
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28815 $as_echo_n "checking for ldexpf declaration... " >&6; }
28816 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28817 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28818 $as_echo_n "(cached) " >&6
28819 else
28822 ac_ext=cpp
28823 ac_cpp='$CXXCPP $CPPFLAGS'
28824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28829 /* end confdefs.h. */
28830 #include <math.h>
28832 main ()
28834 ldexpf(0, 0);
28836 return 0;
28838 _ACEOF
28839 if ac_fn_cxx_try_compile "$LINENO"; then :
28840 glibcxx_cv_func_ldexpf_use=yes
28841 else
28842 glibcxx_cv_func_ldexpf_use=no
28844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28845 ac_ext=c
28846 ac_cpp='$CPP $CPPFLAGS'
28847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28856 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28858 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28859 for ac_func in ldexpf
28860 do :
28861 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28862 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28863 cat >>confdefs.h <<_ACEOF
28864 #define HAVE_LDEXPF 1
28865 _ACEOF
28868 done
28870 else
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28873 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28874 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28875 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28876 $as_echo_n "(cached) " >&6
28877 else
28880 ac_ext=cpp
28881 ac_cpp='$CXXCPP $CPPFLAGS'
28882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28887 /* end confdefs.h. */
28888 #include <math.h>
28890 main ()
28892 _ldexpf(0, 0);
28894 return 0;
28896 _ACEOF
28897 if ac_fn_cxx_try_compile "$LINENO"; then :
28898 glibcxx_cv_func__ldexpf_use=yes
28899 else
28900 glibcxx_cv_func__ldexpf_use=no
28902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28903 ac_ext=c
28904 ac_cpp='$CPP $CPPFLAGS'
28905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28914 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28916 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28917 for ac_func in _ldexpf
28918 do :
28919 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28920 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28921 cat >>confdefs.h <<_ACEOF
28922 #define HAVE__LDEXPF 1
28923 _ACEOF
28926 done
28935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28936 $as_echo_n "checking for logf declaration... " >&6; }
28937 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28938 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28939 $as_echo_n "(cached) " >&6
28940 else
28943 ac_ext=cpp
28944 ac_cpp='$CXXCPP $CPPFLAGS'
28945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28950 /* end confdefs.h. */
28951 #include <math.h>
28952 #ifdef HAVE_IEEEFP_H
28953 #include <ieeefp.h>
28954 #endif
28957 main ()
28959 logf(0);
28961 return 0;
28963 _ACEOF
28964 if ac_fn_cxx_try_compile "$LINENO"; then :
28965 glibcxx_cv_func_logf_use=yes
28966 else
28967 glibcxx_cv_func_logf_use=no
28969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28970 ac_ext=c
28971 ac_cpp='$CPP $CPPFLAGS'
28972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28981 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28983 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28984 for ac_func in logf
28985 do :
28986 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28987 if test "x$ac_cv_func_logf" = x""yes; then :
28988 cat >>confdefs.h <<_ACEOF
28989 #define HAVE_LOGF 1
28990 _ACEOF
28993 done
28995 else
28997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28998 $as_echo_n "checking for _logf declaration... " >&6; }
28999 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29000 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29001 $as_echo_n "(cached) " >&6
29002 else
29005 ac_ext=cpp
29006 ac_cpp='$CXXCPP $CPPFLAGS'
29007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29012 /* end confdefs.h. */
29013 #include <math.h>
29014 #ifdef HAVE_IEEEFP_H
29015 #include <ieeefp.h>
29016 #endif
29019 main ()
29021 _logf(0);
29023 return 0;
29025 _ACEOF
29026 if ac_fn_cxx_try_compile "$LINENO"; then :
29027 glibcxx_cv_func__logf_use=yes
29028 else
29029 glibcxx_cv_func__logf_use=no
29031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29032 ac_ext=c
29033 ac_cpp='$CPP $CPPFLAGS'
29034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29043 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29045 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29046 for ac_func in _logf
29047 do :
29048 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29049 if test "x$ac_cv_func__logf" = x""yes; then :
29050 cat >>confdefs.h <<_ACEOF
29051 #define HAVE__LOGF 1
29052 _ACEOF
29055 done
29064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29065 $as_echo_n "checking for log10f declaration... " >&6; }
29066 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29067 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29068 $as_echo_n "(cached) " >&6
29069 else
29072 ac_ext=cpp
29073 ac_cpp='$CXXCPP $CPPFLAGS'
29074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29079 /* end confdefs.h. */
29080 #include <math.h>
29081 #ifdef HAVE_IEEEFP_H
29082 #include <ieeefp.h>
29083 #endif
29086 main ()
29088 log10f(0);
29090 return 0;
29092 _ACEOF
29093 if ac_fn_cxx_try_compile "$LINENO"; then :
29094 glibcxx_cv_func_log10f_use=yes
29095 else
29096 glibcxx_cv_func_log10f_use=no
29098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29099 ac_ext=c
29100 ac_cpp='$CPP $CPPFLAGS'
29101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29110 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29112 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29113 for ac_func in log10f
29114 do :
29115 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29116 if test "x$ac_cv_func_log10f" = x""yes; then :
29117 cat >>confdefs.h <<_ACEOF
29118 #define HAVE_LOG10F 1
29119 _ACEOF
29122 done
29124 else
29126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29127 $as_echo_n "checking for _log10f declaration... " >&6; }
29128 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29129 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29130 $as_echo_n "(cached) " >&6
29131 else
29134 ac_ext=cpp
29135 ac_cpp='$CXXCPP $CPPFLAGS'
29136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29141 /* end confdefs.h. */
29142 #include <math.h>
29143 #ifdef HAVE_IEEEFP_H
29144 #include <ieeefp.h>
29145 #endif
29148 main ()
29150 _log10f(0);
29152 return 0;
29154 _ACEOF
29155 if ac_fn_cxx_try_compile "$LINENO"; then :
29156 glibcxx_cv_func__log10f_use=yes
29157 else
29158 glibcxx_cv_func__log10f_use=no
29160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29161 ac_ext=c
29162 ac_cpp='$CPP $CPPFLAGS'
29163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29172 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29174 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29175 for ac_func in _log10f
29176 do :
29177 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29178 if test "x$ac_cv_func__log10f" = x""yes; then :
29179 cat >>confdefs.h <<_ACEOF
29180 #define HAVE__LOG10F 1
29181 _ACEOF
29184 done
29193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29194 $as_echo_n "checking for modff declaration... " >&6; }
29195 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29196 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29197 $as_echo_n "(cached) " >&6
29198 else
29201 ac_ext=cpp
29202 ac_cpp='$CXXCPP $CPPFLAGS'
29203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29208 /* end confdefs.h. */
29209 #include <math.h>
29211 main ()
29213 modff(0, 0);
29215 return 0;
29217 _ACEOF
29218 if ac_fn_cxx_try_compile "$LINENO"; then :
29219 glibcxx_cv_func_modff_use=yes
29220 else
29221 glibcxx_cv_func_modff_use=no
29223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29224 ac_ext=c
29225 ac_cpp='$CPP $CPPFLAGS'
29226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29235 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29237 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29238 for ac_func in modff
29239 do :
29240 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29241 if test "x$ac_cv_func_modff" = x""yes; then :
29242 cat >>confdefs.h <<_ACEOF
29243 #define HAVE_MODFF 1
29244 _ACEOF
29247 done
29249 else
29251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29252 $as_echo_n "checking for _modff declaration... " >&6; }
29253 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29254 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29255 $as_echo_n "(cached) " >&6
29256 else
29259 ac_ext=cpp
29260 ac_cpp='$CXXCPP $CPPFLAGS'
29261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29266 /* end confdefs.h. */
29267 #include <math.h>
29269 main ()
29271 _modff(0, 0);
29273 return 0;
29275 _ACEOF
29276 if ac_fn_cxx_try_compile "$LINENO"; then :
29277 glibcxx_cv_func__modff_use=yes
29278 else
29279 glibcxx_cv_func__modff_use=no
29281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29282 ac_ext=c
29283 ac_cpp='$CPP $CPPFLAGS'
29284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29293 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29295 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29296 for ac_func in _modff
29297 do :
29298 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29299 if test "x$ac_cv_func__modff" = x""yes; then :
29300 cat >>confdefs.h <<_ACEOF
29301 #define HAVE__MODFF 1
29302 _ACEOF
29305 done
29314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29315 $as_echo_n "checking for modf declaration... " >&6; }
29316 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29317 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29318 $as_echo_n "(cached) " >&6
29319 else
29322 ac_ext=cpp
29323 ac_cpp='$CXXCPP $CPPFLAGS'
29324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29329 /* end confdefs.h. */
29330 #include <math.h>
29332 main ()
29334 modf(0, 0);
29336 return 0;
29338 _ACEOF
29339 if ac_fn_cxx_try_compile "$LINENO"; then :
29340 glibcxx_cv_func_modf_use=yes
29341 else
29342 glibcxx_cv_func_modf_use=no
29344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29345 ac_ext=c
29346 ac_cpp='$CPP $CPPFLAGS'
29347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29356 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29358 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29359 for ac_func in modf
29360 do :
29361 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29362 if test "x$ac_cv_func_modf" = x""yes; then :
29363 cat >>confdefs.h <<_ACEOF
29364 #define HAVE_MODF 1
29365 _ACEOF
29368 done
29370 else
29372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29373 $as_echo_n "checking for _modf declaration... " >&6; }
29374 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29375 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29376 $as_echo_n "(cached) " >&6
29377 else
29380 ac_ext=cpp
29381 ac_cpp='$CXXCPP $CPPFLAGS'
29382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29387 /* end confdefs.h. */
29388 #include <math.h>
29390 main ()
29392 _modf(0, 0);
29394 return 0;
29396 _ACEOF
29397 if ac_fn_cxx_try_compile "$LINENO"; then :
29398 glibcxx_cv_func__modf_use=yes
29399 else
29400 glibcxx_cv_func__modf_use=no
29402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29403 ac_ext=c
29404 ac_cpp='$CPP $CPPFLAGS'
29405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29414 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29416 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29417 for ac_func in _modf
29418 do :
29419 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29420 if test "x$ac_cv_func__modf" = x""yes; then :
29421 cat >>confdefs.h <<_ACEOF
29422 #define HAVE__MODF 1
29423 _ACEOF
29426 done
29435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29436 $as_echo_n "checking for powf declaration... " >&6; }
29437 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29438 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29439 $as_echo_n "(cached) " >&6
29440 else
29443 ac_ext=cpp
29444 ac_cpp='$CXXCPP $CPPFLAGS'
29445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29450 /* end confdefs.h. */
29451 #include <math.h>
29453 main ()
29455 powf(0, 0);
29457 return 0;
29459 _ACEOF
29460 if ac_fn_cxx_try_compile "$LINENO"; then :
29461 glibcxx_cv_func_powf_use=yes
29462 else
29463 glibcxx_cv_func_powf_use=no
29465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29466 ac_ext=c
29467 ac_cpp='$CPP $CPPFLAGS'
29468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29477 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29479 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29480 for ac_func in powf
29481 do :
29482 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29483 if test "x$ac_cv_func_powf" = x""yes; then :
29484 cat >>confdefs.h <<_ACEOF
29485 #define HAVE_POWF 1
29486 _ACEOF
29489 done
29491 else
29493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29494 $as_echo_n "checking for _powf declaration... " >&6; }
29495 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29496 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29497 $as_echo_n "(cached) " >&6
29498 else
29501 ac_ext=cpp
29502 ac_cpp='$CXXCPP $CPPFLAGS'
29503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29508 /* end confdefs.h. */
29509 #include <math.h>
29511 main ()
29513 _powf(0, 0);
29515 return 0;
29517 _ACEOF
29518 if ac_fn_cxx_try_compile "$LINENO"; then :
29519 glibcxx_cv_func__powf_use=yes
29520 else
29521 glibcxx_cv_func__powf_use=no
29523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29524 ac_ext=c
29525 ac_cpp='$CPP $CPPFLAGS'
29526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29535 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29537 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29538 for ac_func in _powf
29539 do :
29540 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29541 if test "x$ac_cv_func__powf" = x""yes; then :
29542 cat >>confdefs.h <<_ACEOF
29543 #define HAVE__POWF 1
29544 _ACEOF
29547 done
29556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29557 $as_echo_n "checking for sqrtf declaration... " >&6; }
29558 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29559 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29560 $as_echo_n "(cached) " >&6
29561 else
29564 ac_ext=cpp
29565 ac_cpp='$CXXCPP $CPPFLAGS'
29566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29571 /* end confdefs.h. */
29572 #include <math.h>
29573 #ifdef HAVE_IEEEFP_H
29574 #include <ieeefp.h>
29575 #endif
29578 main ()
29580 sqrtf(0);
29582 return 0;
29584 _ACEOF
29585 if ac_fn_cxx_try_compile "$LINENO"; then :
29586 glibcxx_cv_func_sqrtf_use=yes
29587 else
29588 glibcxx_cv_func_sqrtf_use=no
29590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29591 ac_ext=c
29592 ac_cpp='$CPP $CPPFLAGS'
29593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29602 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29604 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29605 for ac_func in sqrtf
29606 do :
29607 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29608 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29609 cat >>confdefs.h <<_ACEOF
29610 #define HAVE_SQRTF 1
29611 _ACEOF
29614 done
29616 else
29618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29619 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29620 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29621 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29622 $as_echo_n "(cached) " >&6
29623 else
29626 ac_ext=cpp
29627 ac_cpp='$CXXCPP $CPPFLAGS'
29628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29633 /* end confdefs.h. */
29634 #include <math.h>
29635 #ifdef HAVE_IEEEFP_H
29636 #include <ieeefp.h>
29637 #endif
29640 main ()
29642 _sqrtf(0);
29644 return 0;
29646 _ACEOF
29647 if ac_fn_cxx_try_compile "$LINENO"; then :
29648 glibcxx_cv_func__sqrtf_use=yes
29649 else
29650 glibcxx_cv_func__sqrtf_use=no
29652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29653 ac_ext=c
29654 ac_cpp='$CPP $CPPFLAGS'
29655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29664 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29666 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29667 for ac_func in _sqrtf
29668 do :
29669 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29670 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29671 cat >>confdefs.h <<_ACEOF
29672 #define HAVE__SQRTF 1
29673 _ACEOF
29676 done
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29686 $as_echo_n "checking for sincosf declaration... " >&6; }
29687 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29688 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29689 $as_echo_n "(cached) " >&6
29690 else
29693 ac_ext=cpp
29694 ac_cpp='$CXXCPP $CPPFLAGS'
29695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29700 /* end confdefs.h. */
29701 #include <math.h>
29703 main ()
29705 sincosf(0, 0, 0);
29707 return 0;
29709 _ACEOF
29710 if ac_fn_cxx_try_compile "$LINENO"; then :
29711 glibcxx_cv_func_sincosf_use=yes
29712 else
29713 glibcxx_cv_func_sincosf_use=no
29715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29716 ac_ext=c
29717 ac_cpp='$CPP $CPPFLAGS'
29718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29727 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29729 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29730 for ac_func in sincosf
29731 do :
29732 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29733 if test "x$ac_cv_func_sincosf" = x""yes; then :
29734 cat >>confdefs.h <<_ACEOF
29735 #define HAVE_SINCOSF 1
29736 _ACEOF
29739 done
29741 else
29743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29744 $as_echo_n "checking for _sincosf declaration... " >&6; }
29745 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29746 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29747 $as_echo_n "(cached) " >&6
29748 else
29751 ac_ext=cpp
29752 ac_cpp='$CXXCPP $CPPFLAGS'
29753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29758 /* end confdefs.h. */
29759 #include <math.h>
29761 main ()
29763 _sincosf(0, 0, 0);
29765 return 0;
29767 _ACEOF
29768 if ac_fn_cxx_try_compile "$LINENO"; then :
29769 glibcxx_cv_func__sincosf_use=yes
29770 else
29771 glibcxx_cv_func__sincosf_use=no
29773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29774 ac_ext=c
29775 ac_cpp='$CPP $CPPFLAGS'
29776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29785 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29787 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29788 for ac_func in _sincosf
29789 do :
29790 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29791 if test "x$ac_cv_func__sincosf" = x""yes; then :
29792 cat >>confdefs.h <<_ACEOF
29793 #define HAVE__SINCOSF 1
29794 _ACEOF
29797 done
29806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29807 $as_echo_n "checking for finitef declaration... " >&6; }
29808 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29809 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29810 $as_echo_n "(cached) " >&6
29811 else
29814 ac_ext=cpp
29815 ac_cpp='$CXXCPP $CPPFLAGS'
29816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29821 /* end confdefs.h. */
29822 #include <math.h>
29823 #ifdef HAVE_IEEEFP_H
29824 #include <ieeefp.h>
29825 #endif
29828 main ()
29830 finitef(0);
29832 return 0;
29834 _ACEOF
29835 if ac_fn_cxx_try_compile "$LINENO"; then :
29836 glibcxx_cv_func_finitef_use=yes
29837 else
29838 glibcxx_cv_func_finitef_use=no
29840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29841 ac_ext=c
29842 ac_cpp='$CPP $CPPFLAGS'
29843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29852 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29854 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29855 for ac_func in finitef
29856 do :
29857 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29858 if test "x$ac_cv_func_finitef" = x""yes; then :
29859 cat >>confdefs.h <<_ACEOF
29860 #define HAVE_FINITEF 1
29861 _ACEOF
29864 done
29866 else
29868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29869 $as_echo_n "checking for _finitef declaration... " >&6; }
29870 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29871 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29872 $as_echo_n "(cached) " >&6
29873 else
29876 ac_ext=cpp
29877 ac_cpp='$CXXCPP $CPPFLAGS'
29878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29883 /* end confdefs.h. */
29884 #include <math.h>
29885 #ifdef HAVE_IEEEFP_H
29886 #include <ieeefp.h>
29887 #endif
29890 main ()
29892 _finitef(0);
29894 return 0;
29896 _ACEOF
29897 if ac_fn_cxx_try_compile "$LINENO"; then :
29898 glibcxx_cv_func__finitef_use=yes
29899 else
29900 glibcxx_cv_func__finitef_use=no
29902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29903 ac_ext=c
29904 ac_cpp='$CPP $CPPFLAGS'
29905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29914 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29916 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29917 for ac_func in _finitef
29918 do :
29919 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29920 if test "x$ac_cv_func__finitef" = x""yes; then :
29921 cat >>confdefs.h <<_ACEOF
29922 #define HAVE__FINITEF 1
29923 _ACEOF
29926 done
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29936 $as_echo_n "checking for long double trig functions... " >&6; }
29937 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29938 $as_echo_n "(cached) " >&6
29939 else
29942 ac_ext=cpp
29943 ac_cpp='$CXXCPP $CPPFLAGS'
29944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29949 /* end confdefs.h. */
29950 #include <math.h>
29952 main ()
29954 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29956 return 0;
29958 _ACEOF
29959 if ac_fn_cxx_try_compile "$LINENO"; then :
29960 glibcxx_cv_func_long_double_trig_use=yes
29961 else
29962 glibcxx_cv_func_long_double_trig_use=no
29964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29965 ac_ext=c
29966 ac_cpp='$CPP $CPPFLAGS'
29967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29974 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29975 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29976 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29977 do :
29978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29980 eval as_val=\$$as_ac_var
29981 if test "x$as_val" = x""yes; then :
29982 cat >>confdefs.h <<_ACEOF
29983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29984 _ACEOF
29987 done
29989 else
29990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29991 $as_echo_n "checking for _long double trig functions... " >&6; }
29992 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29993 $as_echo_n "(cached) " >&6
29994 else
29997 ac_ext=cpp
29998 ac_cpp='$CXXCPP $CPPFLAGS'
29999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30004 /* end confdefs.h. */
30005 #include <math.h>
30007 main ()
30009 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30011 return 0;
30013 _ACEOF
30014 if ac_fn_cxx_try_compile "$LINENO"; then :
30015 glibcxx_cv_func__long_double_trig_use=yes
30016 else
30017 glibcxx_cv_func__long_double_trig_use=no
30019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30020 ac_ext=c
30021 ac_cpp='$CPP $CPPFLAGS'
30022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30029 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30030 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30031 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30032 do :
30033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30035 eval as_val=\$$as_ac_var
30036 if test "x$as_val" = x""yes; then :
30037 cat >>confdefs.h <<_ACEOF
30038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30039 _ACEOF
30042 done
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30052 $as_echo_n "checking for long double round functions... " >&6; }
30053 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30054 $as_echo_n "(cached) " >&6
30055 else
30058 ac_ext=cpp
30059 ac_cpp='$CXXCPP $CPPFLAGS'
30060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30065 /* end confdefs.h. */
30066 #include <math.h>
30068 main ()
30070 ceill (0); floorl (0);
30072 return 0;
30074 _ACEOF
30075 if ac_fn_cxx_try_compile "$LINENO"; then :
30076 glibcxx_cv_func_long_double_round_use=yes
30077 else
30078 glibcxx_cv_func_long_double_round_use=no
30080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30081 ac_ext=c
30082 ac_cpp='$CPP $CPPFLAGS'
30083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30090 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30091 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30092 for ac_func in ceill floorl
30093 do :
30094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30096 eval as_val=\$$as_ac_var
30097 if test "x$as_val" = x""yes; then :
30098 cat >>confdefs.h <<_ACEOF
30099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30100 _ACEOF
30103 done
30105 else
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30107 $as_echo_n "checking for _long double round functions... " >&6; }
30108 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30109 $as_echo_n "(cached) " >&6
30110 else
30113 ac_ext=cpp
30114 ac_cpp='$CXXCPP $CPPFLAGS'
30115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30120 /* end confdefs.h. */
30121 #include <math.h>
30123 main ()
30125 _ceill (0); _floorl (0);
30127 return 0;
30129 _ACEOF
30130 if ac_fn_cxx_try_compile "$LINENO"; then :
30131 glibcxx_cv_func__long_double_round_use=yes
30132 else
30133 glibcxx_cv_func__long_double_round_use=no
30135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30136 ac_ext=c
30137 ac_cpp='$CPP $CPPFLAGS'
30138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30145 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30146 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30147 for ac_func in _ceill _floorl
30148 do :
30149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30151 eval as_val=\$$as_ac_var
30152 if test "x$as_val" = x""yes; then :
30153 cat >>confdefs.h <<_ACEOF
30154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30155 _ACEOF
30158 done
30168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30169 $as_echo_n "checking for isnanl declaration... " >&6; }
30170 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30171 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30172 $as_echo_n "(cached) " >&6
30173 else
30176 ac_ext=cpp
30177 ac_cpp='$CXXCPP $CPPFLAGS'
30178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30183 /* end confdefs.h. */
30184 #include <math.h>
30185 #ifdef HAVE_IEEEFP_H
30186 #include <ieeefp.h>
30187 #endif
30190 main ()
30192 isnanl(0);
30194 return 0;
30196 _ACEOF
30197 if ac_fn_cxx_try_compile "$LINENO"; then :
30198 glibcxx_cv_func_isnanl_use=yes
30199 else
30200 glibcxx_cv_func_isnanl_use=no
30202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30203 ac_ext=c
30204 ac_cpp='$CPP $CPPFLAGS'
30205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30214 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30216 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30217 for ac_func in isnanl
30218 do :
30219 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30220 if test "x$ac_cv_func_isnanl" = x""yes; then :
30221 cat >>confdefs.h <<_ACEOF
30222 #define HAVE_ISNANL 1
30223 _ACEOF
30226 done
30228 else
30230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30231 $as_echo_n "checking for _isnanl declaration... " >&6; }
30232 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30233 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30234 $as_echo_n "(cached) " >&6
30235 else
30238 ac_ext=cpp
30239 ac_cpp='$CXXCPP $CPPFLAGS'
30240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30245 /* end confdefs.h. */
30246 #include <math.h>
30247 #ifdef HAVE_IEEEFP_H
30248 #include <ieeefp.h>
30249 #endif
30252 main ()
30254 _isnanl(0);
30256 return 0;
30258 _ACEOF
30259 if ac_fn_cxx_try_compile "$LINENO"; then :
30260 glibcxx_cv_func__isnanl_use=yes
30261 else
30262 glibcxx_cv_func__isnanl_use=no
30264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30265 ac_ext=c
30266 ac_cpp='$CPP $CPPFLAGS'
30267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30276 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30278 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30279 for ac_func in _isnanl
30280 do :
30281 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30282 if test "x$ac_cv_func__isnanl" = x""yes; then :
30283 cat >>confdefs.h <<_ACEOF
30284 #define HAVE__ISNANL 1
30285 _ACEOF
30288 done
30297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30298 $as_echo_n "checking for isinfl declaration... " >&6; }
30299 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30300 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30301 $as_echo_n "(cached) " >&6
30302 else
30305 ac_ext=cpp
30306 ac_cpp='$CXXCPP $CPPFLAGS'
30307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30312 /* end confdefs.h. */
30313 #include <math.h>
30314 #ifdef HAVE_IEEEFP_H
30315 #include <ieeefp.h>
30316 #endif
30319 main ()
30321 isinfl(0);
30323 return 0;
30325 _ACEOF
30326 if ac_fn_cxx_try_compile "$LINENO"; then :
30327 glibcxx_cv_func_isinfl_use=yes
30328 else
30329 glibcxx_cv_func_isinfl_use=no
30331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30332 ac_ext=c
30333 ac_cpp='$CPP $CPPFLAGS'
30334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30343 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30345 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30346 for ac_func in isinfl
30347 do :
30348 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30349 if test "x$ac_cv_func_isinfl" = x""yes; then :
30350 cat >>confdefs.h <<_ACEOF
30351 #define HAVE_ISINFL 1
30352 _ACEOF
30355 done
30357 else
30359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30360 $as_echo_n "checking for _isinfl declaration... " >&6; }
30361 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30362 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30363 $as_echo_n "(cached) " >&6
30364 else
30367 ac_ext=cpp
30368 ac_cpp='$CXXCPP $CPPFLAGS'
30369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30374 /* end confdefs.h. */
30375 #include <math.h>
30376 #ifdef HAVE_IEEEFP_H
30377 #include <ieeefp.h>
30378 #endif
30381 main ()
30383 _isinfl(0);
30385 return 0;
30387 _ACEOF
30388 if ac_fn_cxx_try_compile "$LINENO"; then :
30389 glibcxx_cv_func__isinfl_use=yes
30390 else
30391 glibcxx_cv_func__isinfl_use=no
30393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30394 ac_ext=c
30395 ac_cpp='$CPP $CPPFLAGS'
30396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30405 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30407 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30408 for ac_func in _isinfl
30409 do :
30410 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30411 if test "x$ac_cv_func__isinfl" = x""yes; then :
30412 cat >>confdefs.h <<_ACEOF
30413 #define HAVE__ISINFL 1
30414 _ACEOF
30417 done
30426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30427 $as_echo_n "checking for atan2l declaration... " >&6; }
30428 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30429 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30430 $as_echo_n "(cached) " >&6
30431 else
30434 ac_ext=cpp
30435 ac_cpp='$CXXCPP $CPPFLAGS'
30436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30441 /* end confdefs.h. */
30442 #include <math.h>
30444 main ()
30446 atan2l(0, 0);
30448 return 0;
30450 _ACEOF
30451 if ac_fn_cxx_try_compile "$LINENO"; then :
30452 glibcxx_cv_func_atan2l_use=yes
30453 else
30454 glibcxx_cv_func_atan2l_use=no
30456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30457 ac_ext=c
30458 ac_cpp='$CPP $CPPFLAGS'
30459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30468 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30470 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30471 for ac_func in atan2l
30472 do :
30473 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30474 if test "x$ac_cv_func_atan2l" = x""yes; then :
30475 cat >>confdefs.h <<_ACEOF
30476 #define HAVE_ATAN2L 1
30477 _ACEOF
30480 done
30482 else
30484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30485 $as_echo_n "checking for _atan2l declaration... " >&6; }
30486 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30487 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30488 $as_echo_n "(cached) " >&6
30489 else
30492 ac_ext=cpp
30493 ac_cpp='$CXXCPP $CPPFLAGS'
30494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30499 /* end confdefs.h. */
30500 #include <math.h>
30502 main ()
30504 _atan2l(0, 0);
30506 return 0;
30508 _ACEOF
30509 if ac_fn_cxx_try_compile "$LINENO"; then :
30510 glibcxx_cv_func__atan2l_use=yes
30511 else
30512 glibcxx_cv_func__atan2l_use=no
30514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30515 ac_ext=c
30516 ac_cpp='$CPP $CPPFLAGS'
30517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30526 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30528 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30529 for ac_func in _atan2l
30530 do :
30531 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30532 if test "x$ac_cv_func__atan2l" = x""yes; then :
30533 cat >>confdefs.h <<_ACEOF
30534 #define HAVE__ATAN2L 1
30535 _ACEOF
30538 done
30547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30548 $as_echo_n "checking for expl declaration... " >&6; }
30549 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30550 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30551 $as_echo_n "(cached) " >&6
30552 else
30555 ac_ext=cpp
30556 ac_cpp='$CXXCPP $CPPFLAGS'
30557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30562 /* end confdefs.h. */
30563 #include <math.h>
30564 #ifdef HAVE_IEEEFP_H
30565 #include <ieeefp.h>
30566 #endif
30569 main ()
30571 expl(0);
30573 return 0;
30575 _ACEOF
30576 if ac_fn_cxx_try_compile "$LINENO"; then :
30577 glibcxx_cv_func_expl_use=yes
30578 else
30579 glibcxx_cv_func_expl_use=no
30581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30582 ac_ext=c
30583 ac_cpp='$CPP $CPPFLAGS'
30584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30593 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30595 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30596 for ac_func in expl
30597 do :
30598 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30599 if test "x$ac_cv_func_expl" = x""yes; then :
30600 cat >>confdefs.h <<_ACEOF
30601 #define HAVE_EXPL 1
30602 _ACEOF
30605 done
30607 else
30609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30610 $as_echo_n "checking for _expl declaration... " >&6; }
30611 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30612 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30613 $as_echo_n "(cached) " >&6
30614 else
30617 ac_ext=cpp
30618 ac_cpp='$CXXCPP $CPPFLAGS'
30619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30624 /* end confdefs.h. */
30625 #include <math.h>
30626 #ifdef HAVE_IEEEFP_H
30627 #include <ieeefp.h>
30628 #endif
30631 main ()
30633 _expl(0);
30635 return 0;
30637 _ACEOF
30638 if ac_fn_cxx_try_compile "$LINENO"; then :
30639 glibcxx_cv_func__expl_use=yes
30640 else
30641 glibcxx_cv_func__expl_use=no
30643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30644 ac_ext=c
30645 ac_cpp='$CPP $CPPFLAGS'
30646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30655 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30657 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30658 for ac_func in _expl
30659 do :
30660 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30661 if test "x$ac_cv_func__expl" = x""yes; then :
30662 cat >>confdefs.h <<_ACEOF
30663 #define HAVE__EXPL 1
30664 _ACEOF
30667 done
30676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30677 $as_echo_n "checking for fabsl declaration... " >&6; }
30678 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30679 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30680 $as_echo_n "(cached) " >&6
30681 else
30684 ac_ext=cpp
30685 ac_cpp='$CXXCPP $CPPFLAGS'
30686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30691 /* end confdefs.h. */
30692 #include <math.h>
30693 #ifdef HAVE_IEEEFP_H
30694 #include <ieeefp.h>
30695 #endif
30698 main ()
30700 fabsl(0);
30702 return 0;
30704 _ACEOF
30705 if ac_fn_cxx_try_compile "$LINENO"; then :
30706 glibcxx_cv_func_fabsl_use=yes
30707 else
30708 glibcxx_cv_func_fabsl_use=no
30710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30711 ac_ext=c
30712 ac_cpp='$CPP $CPPFLAGS'
30713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30722 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30724 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30725 for ac_func in fabsl
30726 do :
30727 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30728 if test "x$ac_cv_func_fabsl" = x""yes; then :
30729 cat >>confdefs.h <<_ACEOF
30730 #define HAVE_FABSL 1
30731 _ACEOF
30734 done
30736 else
30738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30739 $as_echo_n "checking for _fabsl declaration... " >&6; }
30740 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30741 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30742 $as_echo_n "(cached) " >&6
30743 else
30746 ac_ext=cpp
30747 ac_cpp='$CXXCPP $CPPFLAGS'
30748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30753 /* end confdefs.h. */
30754 #include <math.h>
30755 #ifdef HAVE_IEEEFP_H
30756 #include <ieeefp.h>
30757 #endif
30760 main ()
30762 _fabsl(0);
30764 return 0;
30766 _ACEOF
30767 if ac_fn_cxx_try_compile "$LINENO"; then :
30768 glibcxx_cv_func__fabsl_use=yes
30769 else
30770 glibcxx_cv_func__fabsl_use=no
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30773 ac_ext=c
30774 ac_cpp='$CPP $CPPFLAGS'
30775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30784 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30786 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30787 for ac_func in _fabsl
30788 do :
30789 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30790 if test "x$ac_cv_func__fabsl" = x""yes; then :
30791 cat >>confdefs.h <<_ACEOF
30792 #define HAVE__FABSL 1
30793 _ACEOF
30796 done
30805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30806 $as_echo_n "checking for fmodl declaration... " >&6; }
30807 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30808 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30809 $as_echo_n "(cached) " >&6
30810 else
30813 ac_ext=cpp
30814 ac_cpp='$CXXCPP $CPPFLAGS'
30815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30820 /* end confdefs.h. */
30821 #include <math.h>
30823 main ()
30825 fmodl(0, 0);
30827 return 0;
30829 _ACEOF
30830 if ac_fn_cxx_try_compile "$LINENO"; then :
30831 glibcxx_cv_func_fmodl_use=yes
30832 else
30833 glibcxx_cv_func_fmodl_use=no
30835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30836 ac_ext=c
30837 ac_cpp='$CPP $CPPFLAGS'
30838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30847 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30849 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30850 for ac_func in fmodl
30851 do :
30852 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30853 if test "x$ac_cv_func_fmodl" = x""yes; then :
30854 cat >>confdefs.h <<_ACEOF
30855 #define HAVE_FMODL 1
30856 _ACEOF
30859 done
30861 else
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30864 $as_echo_n "checking for _fmodl declaration... " >&6; }
30865 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30866 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30867 $as_echo_n "(cached) " >&6
30868 else
30871 ac_ext=cpp
30872 ac_cpp='$CXXCPP $CPPFLAGS'
30873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30878 /* end confdefs.h. */
30879 #include <math.h>
30881 main ()
30883 _fmodl(0, 0);
30885 return 0;
30887 _ACEOF
30888 if ac_fn_cxx_try_compile "$LINENO"; then :
30889 glibcxx_cv_func__fmodl_use=yes
30890 else
30891 glibcxx_cv_func__fmodl_use=no
30893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30894 ac_ext=c
30895 ac_cpp='$CPP $CPPFLAGS'
30896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30905 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30907 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30908 for ac_func in _fmodl
30909 do :
30910 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30911 if test "x$ac_cv_func__fmodl" = x""yes; then :
30912 cat >>confdefs.h <<_ACEOF
30913 #define HAVE__FMODL 1
30914 _ACEOF
30917 done
30926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30927 $as_echo_n "checking for frexpl declaration... " >&6; }
30928 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30929 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30930 $as_echo_n "(cached) " >&6
30931 else
30934 ac_ext=cpp
30935 ac_cpp='$CXXCPP $CPPFLAGS'
30936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30941 /* end confdefs.h. */
30942 #include <math.h>
30944 main ()
30946 frexpl(0, 0);
30948 return 0;
30950 _ACEOF
30951 if ac_fn_cxx_try_compile "$LINENO"; then :
30952 glibcxx_cv_func_frexpl_use=yes
30953 else
30954 glibcxx_cv_func_frexpl_use=no
30956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30957 ac_ext=c
30958 ac_cpp='$CPP $CPPFLAGS'
30959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30968 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30970 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30971 for ac_func in frexpl
30972 do :
30973 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30974 if test "x$ac_cv_func_frexpl" = x""yes; then :
30975 cat >>confdefs.h <<_ACEOF
30976 #define HAVE_FREXPL 1
30977 _ACEOF
30980 done
30982 else
30984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30985 $as_echo_n "checking for _frexpl declaration... " >&6; }
30986 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30987 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30988 $as_echo_n "(cached) " >&6
30989 else
30992 ac_ext=cpp
30993 ac_cpp='$CXXCPP $CPPFLAGS'
30994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30999 /* end confdefs.h. */
31000 #include <math.h>
31002 main ()
31004 _frexpl(0, 0);
31006 return 0;
31008 _ACEOF
31009 if ac_fn_cxx_try_compile "$LINENO"; then :
31010 glibcxx_cv_func__frexpl_use=yes
31011 else
31012 glibcxx_cv_func__frexpl_use=no
31014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31015 ac_ext=c
31016 ac_cpp='$CPP $CPPFLAGS'
31017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31026 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31028 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31029 for ac_func in _frexpl
31030 do :
31031 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31032 if test "x$ac_cv_func__frexpl" = x""yes; then :
31033 cat >>confdefs.h <<_ACEOF
31034 #define HAVE__FREXPL 1
31035 _ACEOF
31038 done
31047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31048 $as_echo_n "checking for hypotl declaration... " >&6; }
31049 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31050 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31051 $as_echo_n "(cached) " >&6
31052 else
31055 ac_ext=cpp
31056 ac_cpp='$CXXCPP $CPPFLAGS'
31057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31062 /* end confdefs.h. */
31063 #include <math.h>
31065 main ()
31067 hypotl(0, 0);
31069 return 0;
31071 _ACEOF
31072 if ac_fn_cxx_try_compile "$LINENO"; then :
31073 glibcxx_cv_func_hypotl_use=yes
31074 else
31075 glibcxx_cv_func_hypotl_use=no
31077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31078 ac_ext=c
31079 ac_cpp='$CPP $CPPFLAGS'
31080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31089 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31091 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31092 for ac_func in hypotl
31093 do :
31094 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31095 if test "x$ac_cv_func_hypotl" = x""yes; then :
31096 cat >>confdefs.h <<_ACEOF
31097 #define HAVE_HYPOTL 1
31098 _ACEOF
31101 done
31103 else
31105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31106 $as_echo_n "checking for _hypotl declaration... " >&6; }
31107 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31108 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31109 $as_echo_n "(cached) " >&6
31110 else
31113 ac_ext=cpp
31114 ac_cpp='$CXXCPP $CPPFLAGS'
31115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31120 /* end confdefs.h. */
31121 #include <math.h>
31123 main ()
31125 _hypotl(0, 0);
31127 return 0;
31129 _ACEOF
31130 if ac_fn_cxx_try_compile "$LINENO"; then :
31131 glibcxx_cv_func__hypotl_use=yes
31132 else
31133 glibcxx_cv_func__hypotl_use=no
31135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31136 ac_ext=c
31137 ac_cpp='$CPP $CPPFLAGS'
31138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31147 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31149 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31150 for ac_func in _hypotl
31151 do :
31152 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31153 if test "x$ac_cv_func__hypotl" = x""yes; then :
31154 cat >>confdefs.h <<_ACEOF
31155 #define HAVE__HYPOTL 1
31156 _ACEOF
31159 done
31168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31169 $as_echo_n "checking for ldexpl declaration... " >&6; }
31170 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31171 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31172 $as_echo_n "(cached) " >&6
31173 else
31176 ac_ext=cpp
31177 ac_cpp='$CXXCPP $CPPFLAGS'
31178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31183 /* end confdefs.h. */
31184 #include <math.h>
31186 main ()
31188 ldexpl(0, 0);
31190 return 0;
31192 _ACEOF
31193 if ac_fn_cxx_try_compile "$LINENO"; then :
31194 glibcxx_cv_func_ldexpl_use=yes
31195 else
31196 glibcxx_cv_func_ldexpl_use=no
31198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31199 ac_ext=c
31200 ac_cpp='$CPP $CPPFLAGS'
31201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31210 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31212 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31213 for ac_func in ldexpl
31214 do :
31215 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31216 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31217 cat >>confdefs.h <<_ACEOF
31218 #define HAVE_LDEXPL 1
31219 _ACEOF
31222 done
31224 else
31226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31227 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31228 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31229 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31230 $as_echo_n "(cached) " >&6
31231 else
31234 ac_ext=cpp
31235 ac_cpp='$CXXCPP $CPPFLAGS'
31236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31241 /* end confdefs.h. */
31242 #include <math.h>
31244 main ()
31246 _ldexpl(0, 0);
31248 return 0;
31250 _ACEOF
31251 if ac_fn_cxx_try_compile "$LINENO"; then :
31252 glibcxx_cv_func__ldexpl_use=yes
31253 else
31254 glibcxx_cv_func__ldexpl_use=no
31256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31257 ac_ext=c
31258 ac_cpp='$CPP $CPPFLAGS'
31259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31268 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31270 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31271 for ac_func in _ldexpl
31272 do :
31273 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31274 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31275 cat >>confdefs.h <<_ACEOF
31276 #define HAVE__LDEXPL 1
31277 _ACEOF
31280 done
31289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31290 $as_echo_n "checking for logl declaration... " >&6; }
31291 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31292 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31293 $as_echo_n "(cached) " >&6
31294 else
31297 ac_ext=cpp
31298 ac_cpp='$CXXCPP $CPPFLAGS'
31299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31304 /* end confdefs.h. */
31305 #include <math.h>
31306 #ifdef HAVE_IEEEFP_H
31307 #include <ieeefp.h>
31308 #endif
31311 main ()
31313 logl(0);
31315 return 0;
31317 _ACEOF
31318 if ac_fn_cxx_try_compile "$LINENO"; then :
31319 glibcxx_cv_func_logl_use=yes
31320 else
31321 glibcxx_cv_func_logl_use=no
31323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31324 ac_ext=c
31325 ac_cpp='$CPP $CPPFLAGS'
31326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31335 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31337 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31338 for ac_func in logl
31339 do :
31340 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31341 if test "x$ac_cv_func_logl" = x""yes; then :
31342 cat >>confdefs.h <<_ACEOF
31343 #define HAVE_LOGL 1
31344 _ACEOF
31347 done
31349 else
31351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31352 $as_echo_n "checking for _logl declaration... " >&6; }
31353 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31354 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31355 $as_echo_n "(cached) " >&6
31356 else
31359 ac_ext=cpp
31360 ac_cpp='$CXXCPP $CPPFLAGS'
31361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31366 /* end confdefs.h. */
31367 #include <math.h>
31368 #ifdef HAVE_IEEEFP_H
31369 #include <ieeefp.h>
31370 #endif
31373 main ()
31375 _logl(0);
31377 return 0;
31379 _ACEOF
31380 if ac_fn_cxx_try_compile "$LINENO"; then :
31381 glibcxx_cv_func__logl_use=yes
31382 else
31383 glibcxx_cv_func__logl_use=no
31385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31386 ac_ext=c
31387 ac_cpp='$CPP $CPPFLAGS'
31388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31397 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31399 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31400 for ac_func in _logl
31401 do :
31402 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31403 if test "x$ac_cv_func__logl" = x""yes; then :
31404 cat >>confdefs.h <<_ACEOF
31405 #define HAVE__LOGL 1
31406 _ACEOF
31409 done
31418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31419 $as_echo_n "checking for log10l declaration... " >&6; }
31420 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31421 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31422 $as_echo_n "(cached) " >&6
31423 else
31426 ac_ext=cpp
31427 ac_cpp='$CXXCPP $CPPFLAGS'
31428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31433 /* end confdefs.h. */
31434 #include <math.h>
31435 #ifdef HAVE_IEEEFP_H
31436 #include <ieeefp.h>
31437 #endif
31440 main ()
31442 log10l(0);
31444 return 0;
31446 _ACEOF
31447 if ac_fn_cxx_try_compile "$LINENO"; then :
31448 glibcxx_cv_func_log10l_use=yes
31449 else
31450 glibcxx_cv_func_log10l_use=no
31452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31453 ac_ext=c
31454 ac_cpp='$CPP $CPPFLAGS'
31455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31464 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31466 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31467 for ac_func in log10l
31468 do :
31469 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31470 if test "x$ac_cv_func_log10l" = x""yes; then :
31471 cat >>confdefs.h <<_ACEOF
31472 #define HAVE_LOG10L 1
31473 _ACEOF
31476 done
31478 else
31480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31481 $as_echo_n "checking for _log10l declaration... " >&6; }
31482 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31483 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31484 $as_echo_n "(cached) " >&6
31485 else
31488 ac_ext=cpp
31489 ac_cpp='$CXXCPP $CPPFLAGS'
31490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31495 /* end confdefs.h. */
31496 #include <math.h>
31497 #ifdef HAVE_IEEEFP_H
31498 #include <ieeefp.h>
31499 #endif
31502 main ()
31504 _log10l(0);
31506 return 0;
31508 _ACEOF
31509 if ac_fn_cxx_try_compile "$LINENO"; then :
31510 glibcxx_cv_func__log10l_use=yes
31511 else
31512 glibcxx_cv_func__log10l_use=no
31514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31515 ac_ext=c
31516 ac_cpp='$CPP $CPPFLAGS'
31517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31526 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31528 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31529 for ac_func in _log10l
31530 do :
31531 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31532 if test "x$ac_cv_func__log10l" = x""yes; then :
31533 cat >>confdefs.h <<_ACEOF
31534 #define HAVE__LOG10L 1
31535 _ACEOF
31538 done
31547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31548 $as_echo_n "checking for modfl declaration... " >&6; }
31549 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31550 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31551 $as_echo_n "(cached) " >&6
31552 else
31555 ac_ext=cpp
31556 ac_cpp='$CXXCPP $CPPFLAGS'
31557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31562 /* end confdefs.h. */
31563 #include <math.h>
31565 main ()
31567 modfl(0, 0);
31569 return 0;
31571 _ACEOF
31572 if ac_fn_cxx_try_compile "$LINENO"; then :
31573 glibcxx_cv_func_modfl_use=yes
31574 else
31575 glibcxx_cv_func_modfl_use=no
31577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31578 ac_ext=c
31579 ac_cpp='$CPP $CPPFLAGS'
31580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31589 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31591 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31592 for ac_func in modfl
31593 do :
31594 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31595 if test "x$ac_cv_func_modfl" = x""yes; then :
31596 cat >>confdefs.h <<_ACEOF
31597 #define HAVE_MODFL 1
31598 _ACEOF
31601 done
31603 else
31605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31606 $as_echo_n "checking for _modfl declaration... " >&6; }
31607 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31608 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31609 $as_echo_n "(cached) " >&6
31610 else
31613 ac_ext=cpp
31614 ac_cpp='$CXXCPP $CPPFLAGS'
31615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31620 /* end confdefs.h. */
31621 #include <math.h>
31623 main ()
31625 _modfl(0, 0);
31627 return 0;
31629 _ACEOF
31630 if ac_fn_cxx_try_compile "$LINENO"; then :
31631 glibcxx_cv_func__modfl_use=yes
31632 else
31633 glibcxx_cv_func__modfl_use=no
31635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31636 ac_ext=c
31637 ac_cpp='$CPP $CPPFLAGS'
31638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31647 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31649 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31650 for ac_func in _modfl
31651 do :
31652 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31653 if test "x$ac_cv_func__modfl" = x""yes; then :
31654 cat >>confdefs.h <<_ACEOF
31655 #define HAVE__MODFL 1
31656 _ACEOF
31659 done
31668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31669 $as_echo_n "checking for powl declaration... " >&6; }
31670 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31671 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31672 $as_echo_n "(cached) " >&6
31673 else
31676 ac_ext=cpp
31677 ac_cpp='$CXXCPP $CPPFLAGS'
31678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31683 /* end confdefs.h. */
31684 #include <math.h>
31686 main ()
31688 powl(0, 0);
31690 return 0;
31692 _ACEOF
31693 if ac_fn_cxx_try_compile "$LINENO"; then :
31694 glibcxx_cv_func_powl_use=yes
31695 else
31696 glibcxx_cv_func_powl_use=no
31698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31699 ac_ext=c
31700 ac_cpp='$CPP $CPPFLAGS'
31701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31710 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31712 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31713 for ac_func in powl
31714 do :
31715 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31716 if test "x$ac_cv_func_powl" = x""yes; then :
31717 cat >>confdefs.h <<_ACEOF
31718 #define HAVE_POWL 1
31719 _ACEOF
31722 done
31724 else
31726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31727 $as_echo_n "checking for _powl declaration... " >&6; }
31728 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31729 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31730 $as_echo_n "(cached) " >&6
31731 else
31734 ac_ext=cpp
31735 ac_cpp='$CXXCPP $CPPFLAGS'
31736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31741 /* end confdefs.h. */
31742 #include <math.h>
31744 main ()
31746 _powl(0, 0);
31748 return 0;
31750 _ACEOF
31751 if ac_fn_cxx_try_compile "$LINENO"; then :
31752 glibcxx_cv_func__powl_use=yes
31753 else
31754 glibcxx_cv_func__powl_use=no
31756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31757 ac_ext=c
31758 ac_cpp='$CPP $CPPFLAGS'
31759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31768 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31770 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31771 for ac_func in _powl
31772 do :
31773 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31774 if test "x$ac_cv_func__powl" = x""yes; then :
31775 cat >>confdefs.h <<_ACEOF
31776 #define HAVE__POWL 1
31777 _ACEOF
31780 done
31789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31790 $as_echo_n "checking for sqrtl declaration... " >&6; }
31791 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31792 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31793 $as_echo_n "(cached) " >&6
31794 else
31797 ac_ext=cpp
31798 ac_cpp='$CXXCPP $CPPFLAGS'
31799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31804 /* end confdefs.h. */
31805 #include <math.h>
31806 #ifdef HAVE_IEEEFP_H
31807 #include <ieeefp.h>
31808 #endif
31811 main ()
31813 sqrtl(0);
31815 return 0;
31817 _ACEOF
31818 if ac_fn_cxx_try_compile "$LINENO"; then :
31819 glibcxx_cv_func_sqrtl_use=yes
31820 else
31821 glibcxx_cv_func_sqrtl_use=no
31823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31824 ac_ext=c
31825 ac_cpp='$CPP $CPPFLAGS'
31826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31835 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31837 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31838 for ac_func in sqrtl
31839 do :
31840 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31841 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31842 cat >>confdefs.h <<_ACEOF
31843 #define HAVE_SQRTL 1
31844 _ACEOF
31847 done
31849 else
31851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31852 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31853 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31854 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31855 $as_echo_n "(cached) " >&6
31856 else
31859 ac_ext=cpp
31860 ac_cpp='$CXXCPP $CPPFLAGS'
31861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31866 /* end confdefs.h. */
31867 #include <math.h>
31868 #ifdef HAVE_IEEEFP_H
31869 #include <ieeefp.h>
31870 #endif
31873 main ()
31875 _sqrtl(0);
31877 return 0;
31879 _ACEOF
31880 if ac_fn_cxx_try_compile "$LINENO"; then :
31881 glibcxx_cv_func__sqrtl_use=yes
31882 else
31883 glibcxx_cv_func__sqrtl_use=no
31885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31886 ac_ext=c
31887 ac_cpp='$CPP $CPPFLAGS'
31888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31897 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31899 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31900 for ac_func in _sqrtl
31901 do :
31902 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31903 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31904 cat >>confdefs.h <<_ACEOF
31905 #define HAVE__SQRTL 1
31906 _ACEOF
31909 done
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31919 $as_echo_n "checking for sincosl declaration... " >&6; }
31920 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31921 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31922 $as_echo_n "(cached) " >&6
31923 else
31926 ac_ext=cpp
31927 ac_cpp='$CXXCPP $CPPFLAGS'
31928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31933 /* end confdefs.h. */
31934 #include <math.h>
31936 main ()
31938 sincosl(0, 0, 0);
31940 return 0;
31942 _ACEOF
31943 if ac_fn_cxx_try_compile "$LINENO"; then :
31944 glibcxx_cv_func_sincosl_use=yes
31945 else
31946 glibcxx_cv_func_sincosl_use=no
31948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31949 ac_ext=c
31950 ac_cpp='$CPP $CPPFLAGS'
31951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31960 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31962 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31963 for ac_func in sincosl
31964 do :
31965 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31966 if test "x$ac_cv_func_sincosl" = x""yes; then :
31967 cat >>confdefs.h <<_ACEOF
31968 #define HAVE_SINCOSL 1
31969 _ACEOF
31972 done
31974 else
31976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31977 $as_echo_n "checking for _sincosl declaration... " >&6; }
31978 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31979 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31980 $as_echo_n "(cached) " >&6
31981 else
31984 ac_ext=cpp
31985 ac_cpp='$CXXCPP $CPPFLAGS'
31986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31991 /* end confdefs.h. */
31992 #include <math.h>
31994 main ()
31996 _sincosl(0, 0, 0);
31998 return 0;
32000 _ACEOF
32001 if ac_fn_cxx_try_compile "$LINENO"; then :
32002 glibcxx_cv_func__sincosl_use=yes
32003 else
32004 glibcxx_cv_func__sincosl_use=no
32006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32007 ac_ext=c
32008 ac_cpp='$CPP $CPPFLAGS'
32009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32018 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32020 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32021 for ac_func in _sincosl
32022 do :
32023 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32024 if test "x$ac_cv_func__sincosl" = x""yes; then :
32025 cat >>confdefs.h <<_ACEOF
32026 #define HAVE__SINCOSL 1
32027 _ACEOF
32030 done
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32040 $as_echo_n "checking for finitel declaration... " >&6; }
32041 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32042 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32043 $as_echo_n "(cached) " >&6
32044 else
32047 ac_ext=cpp
32048 ac_cpp='$CXXCPP $CPPFLAGS'
32049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32054 /* end confdefs.h. */
32055 #include <math.h>
32056 #ifdef HAVE_IEEEFP_H
32057 #include <ieeefp.h>
32058 #endif
32061 main ()
32063 finitel(0);
32065 return 0;
32067 _ACEOF
32068 if ac_fn_cxx_try_compile "$LINENO"; then :
32069 glibcxx_cv_func_finitel_use=yes
32070 else
32071 glibcxx_cv_func_finitel_use=no
32073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32074 ac_ext=c
32075 ac_cpp='$CPP $CPPFLAGS'
32076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32085 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32087 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32088 for ac_func in finitel
32089 do :
32090 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32091 if test "x$ac_cv_func_finitel" = x""yes; then :
32092 cat >>confdefs.h <<_ACEOF
32093 #define HAVE_FINITEL 1
32094 _ACEOF
32097 done
32099 else
32101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32102 $as_echo_n "checking for _finitel declaration... " >&6; }
32103 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32104 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32105 $as_echo_n "(cached) " >&6
32106 else
32109 ac_ext=cpp
32110 ac_cpp='$CXXCPP $CPPFLAGS'
32111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32116 /* end confdefs.h. */
32117 #include <math.h>
32118 #ifdef HAVE_IEEEFP_H
32119 #include <ieeefp.h>
32120 #endif
32123 main ()
32125 _finitel(0);
32127 return 0;
32129 _ACEOF
32130 if ac_fn_cxx_try_compile "$LINENO"; then :
32131 glibcxx_cv_func__finitel_use=yes
32132 else
32133 glibcxx_cv_func__finitel_use=no
32135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32136 ac_ext=c
32137 ac_cpp='$CPP $CPPFLAGS'
32138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32147 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32149 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32150 for ac_func in _finitel
32151 do :
32152 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32153 if test "x$ac_cv_func__finitel" = x""yes; then :
32154 cat >>confdefs.h <<_ACEOF
32155 #define HAVE__FINITEL 1
32156 _ACEOF
32159 done
32167 LIBS="$ac_save_LIBS"
32168 CXXFLAGS="$ac_save_CXXFLAGS"
32171 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32172 ac_save_CXXFLAGS="$CXXFLAGS"
32173 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32177 $as_echo_n "checking for strtold declaration... " >&6; }
32178 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32179 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32180 $as_echo_n "(cached) " >&6
32181 else
32184 ac_ext=cpp
32185 ac_cpp='$CXXCPP $CPPFLAGS'
32186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32191 /* end confdefs.h. */
32192 #include <stdlib.h>
32194 main ()
32196 strtold(0, 0);
32198 return 0;
32200 _ACEOF
32201 if ac_fn_cxx_try_compile "$LINENO"; then :
32202 glibcxx_cv_func_strtold_use=yes
32203 else
32204 glibcxx_cv_func_strtold_use=no
32206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32207 ac_ext=c
32208 ac_cpp='$CPP $CPPFLAGS'
32209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32218 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32219 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32220 for ac_func in strtold
32221 do :
32222 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32223 if test "x$ac_cv_func_strtold" = x""yes; then :
32224 cat >>confdefs.h <<_ACEOF
32225 #define HAVE_STRTOLD 1
32226 _ACEOF
32229 done
32236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32237 $as_echo_n "checking for strtof declaration... " >&6; }
32238 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32239 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32240 $as_echo_n "(cached) " >&6
32241 else
32244 ac_ext=cpp
32245 ac_cpp='$CXXCPP $CPPFLAGS'
32246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32251 /* end confdefs.h. */
32252 #include <stdlib.h>
32254 main ()
32256 strtof(0, 0);
32258 return 0;
32260 _ACEOF
32261 if ac_fn_cxx_try_compile "$LINENO"; then :
32262 glibcxx_cv_func_strtof_use=yes
32263 else
32264 glibcxx_cv_func_strtof_use=no
32266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32267 ac_ext=c
32268 ac_cpp='$CPP $CPPFLAGS'
32269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32278 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32279 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32280 for ac_func in strtof
32281 do :
32282 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32283 if test "x$ac_cv_func_strtof" = x""yes; then :
32284 cat >>confdefs.h <<_ACEOF
32285 #define HAVE_STRTOF 1
32286 _ACEOF
32289 done
32296 CXXFLAGS="$ac_save_CXXFLAGS"
32299 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32301 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32303 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32305 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32308 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32310 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32312 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32316 *-aix*)
32318 # If we're not using GNU ld, then there's no point in even trying these
32319 # tests. Check for that first. We should have already tested for gld
32320 # by now (in libtool), but require it now just to be safe...
32321 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32322 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32326 # The name set by libtool depends on the version of libtool. Shame on us
32327 # for depending on an impl detail, but c'est la vie. Older versions used
32328 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32329 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32330 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32331 # set (hence we're using an older libtool), then set it.
32332 if test x${with_gnu_ld+set} != xset; then
32333 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32334 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32335 with_gnu_ld=no
32336 else
32337 with_gnu_ld=$ac_cv_prog_gnu_ld
32341 # Start by getting the version number. I think the libtool test already
32342 # does some of this, but throws away the result.
32343 glibcxx_ld_is_gold=no
32344 if test x"$with_gnu_ld" = x"yes"; then
32345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32346 $as_echo_n "checking for ld version... " >&6; }
32348 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32349 glibcxx_ld_is_gold=yes
32351 ldver=`$LD --version 2>/dev/null |
32352 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'`
32354 glibcxx_gnu_ld_version=`echo $ldver | \
32355 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32357 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32360 # Set --gc-sections.
32361 glibcxx_have_gc_sections=no
32362 if test "$glibcxx_ld_is_gold" = "yes"; then
32363 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32364 glibcxx_have_gc_sections=yes
32366 else
32367 glibcxx_gcsections_min_ld=21602
32368 if test x"$with_gnu_ld" = x"yes" &&
32369 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32370 glibcxx_have_gc_sections=yes
32373 if test "$glibcxx_have_gc_sections" = "yes"; then
32374 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32375 # NB: This flag only works reliably after 2.16.1. Configure tests
32376 # for this are difficult, so hard wire a value that should work.
32378 ac_test_CFLAGS="${CFLAGS+set}"
32379 ac_save_CFLAGS="$CFLAGS"
32380 CFLAGS='-Wl,--gc-sections'
32382 # Check for -Wl,--gc-sections
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32384 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32385 if test x$gcc_no_link = xyes; then
32386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32389 /* end confdefs.h. */
32390 int one(void) { return 1; }
32391 int two(void) { return 2; }
32394 main ()
32396 two();
32398 return 0;
32400 _ACEOF
32401 if ac_fn_c_try_link "$LINENO"; then :
32402 ac_gcsections=yes
32403 else
32404 ac_gcsections=no
32406 rm -f core conftest.err conftest.$ac_objext \
32407 conftest$ac_exeext conftest.$ac_ext
32408 if test "$ac_gcsections" = "yes"; then
32409 rm -f conftest.c
32410 touch conftest.c
32411 if $CC -c conftest.c; then
32412 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32413 grep "Warning: gc-sections option ignored" > /dev/null; then
32414 ac_gcsections=no
32417 rm -f conftest.c conftest.o conftest
32419 if test "$ac_gcsections" = "yes"; then
32420 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32423 $as_echo "$ac_gcsections" >&6; }
32425 if test "$ac_test_CFLAGS" = set; then
32426 CFLAGS="$ac_save_CFLAGS"
32427 else
32428 # this is the suspicious part
32429 CFLAGS=''
32433 # Set -z,relro.
32434 # Note this is only for shared objects.
32435 ac_ld_relro=no
32436 if test x"$with_gnu_ld" = x"yes"; then
32437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32438 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32439 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32440 if test -n "$cxx_z_relo"; then
32441 OPT_LDFLAGS="-Wl,-z,relro"
32442 ac_ld_relro=yes
32444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32445 $as_echo "$ac_ld_relro" >&6; }
32448 # Set linker optimization flags.
32449 if test x"$with_gnu_ld" = x"yes"; then
32450 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32457 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32458 ac_save_CXXFLAGS="$CXXFLAGS"
32459 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32462 $as_echo_n "checking for sin in -lm... " >&6; }
32463 if test "${ac_cv_lib_m_sin+set}" = set; then :
32464 $as_echo_n "(cached) " >&6
32465 else
32466 ac_check_lib_save_LIBS=$LIBS
32467 LIBS="-lm $LIBS"
32468 if test x$gcc_no_link = xyes; then
32469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32472 /* end confdefs.h. */
32474 /* Override any GCC internal prototype to avoid an error.
32475 Use char because int might match the return type of a GCC
32476 builtin and then its argument prototype would still apply. */
32477 #ifdef __cplusplus
32478 extern "C"
32479 #endif
32480 char sin ();
32482 main ()
32484 return sin ();
32486 return 0;
32488 _ACEOF
32489 if ac_fn_c_try_link "$LINENO"; then :
32490 ac_cv_lib_m_sin=yes
32491 else
32492 ac_cv_lib_m_sin=no
32494 rm -f core conftest.err conftest.$ac_objext \
32495 conftest$ac_exeext conftest.$ac_ext
32496 LIBS=$ac_check_lib_save_LIBS
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32499 $as_echo "$ac_cv_lib_m_sin" >&6; }
32500 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32501 libm="-lm"
32504 ac_save_LIBS="$LIBS"
32505 LIBS="$LIBS $libm"
32509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32510 $as_echo_n "checking for isinf declaration... " >&6; }
32511 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32512 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32513 $as_echo_n "(cached) " >&6
32514 else
32517 ac_ext=cpp
32518 ac_cpp='$CXXCPP $CPPFLAGS'
32519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32524 /* end confdefs.h. */
32525 #include <math.h>
32526 #ifdef HAVE_IEEEFP_H
32527 #include <ieeefp.h>
32528 #endif
32531 main ()
32533 isinf(0);
32535 return 0;
32537 _ACEOF
32538 if ac_fn_cxx_try_compile "$LINENO"; then :
32539 glibcxx_cv_func_isinf_use=yes
32540 else
32541 glibcxx_cv_func_isinf_use=no
32543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32544 ac_ext=c
32545 ac_cpp='$CPP $CPPFLAGS'
32546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32555 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32557 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32558 for ac_func in isinf
32559 do :
32560 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32561 if test "x$ac_cv_func_isinf" = x""yes; then :
32562 cat >>confdefs.h <<_ACEOF
32563 #define HAVE_ISINF 1
32564 _ACEOF
32567 done
32569 else
32571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32572 $as_echo_n "checking for _isinf declaration... " >&6; }
32573 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32574 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32575 $as_echo_n "(cached) " >&6
32576 else
32579 ac_ext=cpp
32580 ac_cpp='$CXXCPP $CPPFLAGS'
32581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32586 /* end confdefs.h. */
32587 #include <math.h>
32588 #ifdef HAVE_IEEEFP_H
32589 #include <ieeefp.h>
32590 #endif
32593 main ()
32595 _isinf(0);
32597 return 0;
32599 _ACEOF
32600 if ac_fn_cxx_try_compile "$LINENO"; then :
32601 glibcxx_cv_func__isinf_use=yes
32602 else
32603 glibcxx_cv_func__isinf_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__isinf_use" >&5
32617 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32619 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32620 for ac_func in _isinf
32621 do :
32622 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32623 if test "x$ac_cv_func__isinf" = x""yes; then :
32624 cat >>confdefs.h <<_ACEOF
32625 #define HAVE__ISINF 1
32626 _ACEOF
32629 done
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32639 $as_echo_n "checking for isnan declaration... " >&6; }
32640 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32641 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32642 $as_echo_n "(cached) " >&6
32643 else
32646 ac_ext=cpp
32647 ac_cpp='$CXXCPP $CPPFLAGS'
32648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32653 /* end confdefs.h. */
32654 #include <math.h>
32655 #ifdef HAVE_IEEEFP_H
32656 #include <ieeefp.h>
32657 #endif
32660 main ()
32662 isnan(0);
32664 return 0;
32666 _ACEOF
32667 if ac_fn_cxx_try_compile "$LINENO"; then :
32668 glibcxx_cv_func_isnan_use=yes
32669 else
32670 glibcxx_cv_func_isnan_use=no
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32673 ac_ext=c
32674 ac_cpp='$CPP $CPPFLAGS'
32675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32684 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32686 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32687 for ac_func in isnan
32688 do :
32689 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32690 if test "x$ac_cv_func_isnan" = x""yes; then :
32691 cat >>confdefs.h <<_ACEOF
32692 #define HAVE_ISNAN 1
32693 _ACEOF
32696 done
32698 else
32700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32701 $as_echo_n "checking for _isnan declaration... " >&6; }
32702 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32703 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32704 $as_echo_n "(cached) " >&6
32705 else
32708 ac_ext=cpp
32709 ac_cpp='$CXXCPP $CPPFLAGS'
32710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32715 /* end confdefs.h. */
32716 #include <math.h>
32717 #ifdef HAVE_IEEEFP_H
32718 #include <ieeefp.h>
32719 #endif
32722 main ()
32724 _isnan(0);
32726 return 0;
32728 _ACEOF
32729 if ac_fn_cxx_try_compile "$LINENO"; then :
32730 glibcxx_cv_func__isnan_use=yes
32731 else
32732 glibcxx_cv_func__isnan_use=no
32734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32735 ac_ext=c
32736 ac_cpp='$CPP $CPPFLAGS'
32737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32746 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32748 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32749 for ac_func in _isnan
32750 do :
32751 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32752 if test "x$ac_cv_func__isnan" = x""yes; then :
32753 cat >>confdefs.h <<_ACEOF
32754 #define HAVE__ISNAN 1
32755 _ACEOF
32758 done
32767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32768 $as_echo_n "checking for finite declaration... " >&6; }
32769 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32770 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32771 $as_echo_n "(cached) " >&6
32772 else
32775 ac_ext=cpp
32776 ac_cpp='$CXXCPP $CPPFLAGS'
32777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32782 /* end confdefs.h. */
32783 #include <math.h>
32784 #ifdef HAVE_IEEEFP_H
32785 #include <ieeefp.h>
32786 #endif
32789 main ()
32791 finite(0);
32793 return 0;
32795 _ACEOF
32796 if ac_fn_cxx_try_compile "$LINENO"; then :
32797 glibcxx_cv_func_finite_use=yes
32798 else
32799 glibcxx_cv_func_finite_use=no
32801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32802 ac_ext=c
32803 ac_cpp='$CPP $CPPFLAGS'
32804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32813 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32815 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32816 for ac_func in finite
32817 do :
32818 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32819 if test "x$ac_cv_func_finite" = x""yes; then :
32820 cat >>confdefs.h <<_ACEOF
32821 #define HAVE_FINITE 1
32822 _ACEOF
32825 done
32827 else
32829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32830 $as_echo_n "checking for _finite declaration... " >&6; }
32831 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32832 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32833 $as_echo_n "(cached) " >&6
32834 else
32837 ac_ext=cpp
32838 ac_cpp='$CXXCPP $CPPFLAGS'
32839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32844 /* end confdefs.h. */
32845 #include <math.h>
32846 #ifdef HAVE_IEEEFP_H
32847 #include <ieeefp.h>
32848 #endif
32851 main ()
32853 _finite(0);
32855 return 0;
32857 _ACEOF
32858 if ac_fn_cxx_try_compile "$LINENO"; then :
32859 glibcxx_cv_func__finite_use=yes
32860 else
32861 glibcxx_cv_func__finite_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__finite_use" >&5
32875 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32877 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32878 for ac_func in _finite
32879 do :
32880 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32881 if test "x$ac_cv_func__finite" = x""yes; then :
32882 cat >>confdefs.h <<_ACEOF
32883 #define HAVE__FINITE 1
32884 _ACEOF
32887 done
32896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32897 $as_echo_n "checking for sincos declaration... " >&6; }
32898 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32899 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32900 $as_echo_n "(cached) " >&6
32901 else
32904 ac_ext=cpp
32905 ac_cpp='$CXXCPP $CPPFLAGS'
32906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32911 /* end confdefs.h. */
32912 #include <math.h>
32914 main ()
32916 sincos(0, 0, 0);
32918 return 0;
32920 _ACEOF
32921 if ac_fn_cxx_try_compile "$LINENO"; then :
32922 glibcxx_cv_func_sincos_use=yes
32923 else
32924 glibcxx_cv_func_sincos_use=no
32926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32927 ac_ext=c
32928 ac_cpp='$CPP $CPPFLAGS'
32929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32938 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32940 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32941 for ac_func in sincos
32942 do :
32943 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32944 if test "x$ac_cv_func_sincos" = x""yes; then :
32945 cat >>confdefs.h <<_ACEOF
32946 #define HAVE_SINCOS 1
32947 _ACEOF
32950 done
32952 else
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32955 $as_echo_n "checking for _sincos declaration... " >&6; }
32956 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32957 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32958 $as_echo_n "(cached) " >&6
32959 else
32962 ac_ext=cpp
32963 ac_cpp='$CXXCPP $CPPFLAGS'
32964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32969 /* end confdefs.h. */
32970 #include <math.h>
32972 main ()
32974 _sincos(0, 0, 0);
32976 return 0;
32978 _ACEOF
32979 if ac_fn_cxx_try_compile "$LINENO"; then :
32980 glibcxx_cv_func__sincos_use=yes
32981 else
32982 glibcxx_cv_func__sincos_use=no
32984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32985 ac_ext=c
32986 ac_cpp='$CPP $CPPFLAGS'
32987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32996 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32998 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32999 for ac_func in _sincos
33000 do :
33001 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33002 if test "x$ac_cv_func__sincos" = x""yes; then :
33003 cat >>confdefs.h <<_ACEOF
33004 #define HAVE__SINCOS 1
33005 _ACEOF
33008 done
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33018 $as_echo_n "checking for fpclass declaration... " >&6; }
33019 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33020 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33021 $as_echo_n "(cached) " >&6
33022 else
33025 ac_ext=cpp
33026 ac_cpp='$CXXCPP $CPPFLAGS'
33027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032 /* end confdefs.h. */
33033 #include <math.h>
33034 #ifdef HAVE_IEEEFP_H
33035 #include <ieeefp.h>
33036 #endif
33039 main ()
33041 fpclass(0);
33043 return 0;
33045 _ACEOF
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047 glibcxx_cv_func_fpclass_use=yes
33048 else
33049 glibcxx_cv_func_fpclass_use=no
33051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33052 ac_ext=c
33053 ac_cpp='$CPP $CPPFLAGS'
33054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33063 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33065 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33066 for ac_func in fpclass
33067 do :
33068 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33069 if test "x$ac_cv_func_fpclass" = x""yes; then :
33070 cat >>confdefs.h <<_ACEOF
33071 #define HAVE_FPCLASS 1
33072 _ACEOF
33075 done
33077 else
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33080 $as_echo_n "checking for _fpclass declaration... " >&6; }
33081 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33082 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33083 $as_echo_n "(cached) " >&6
33084 else
33087 ac_ext=cpp
33088 ac_cpp='$CXXCPP $CPPFLAGS'
33089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33094 /* end confdefs.h. */
33095 #include <math.h>
33096 #ifdef HAVE_IEEEFP_H
33097 #include <ieeefp.h>
33098 #endif
33101 main ()
33103 _fpclass(0);
33105 return 0;
33107 _ACEOF
33108 if ac_fn_cxx_try_compile "$LINENO"; then :
33109 glibcxx_cv_func__fpclass_use=yes
33110 else
33111 glibcxx_cv_func__fpclass_use=no
33113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33114 ac_ext=c
33115 ac_cpp='$CPP $CPPFLAGS'
33116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33125 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33127 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33128 for ac_func in _fpclass
33129 do :
33130 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33131 if test "x$ac_cv_func__fpclass" = x""yes; then :
33132 cat >>confdefs.h <<_ACEOF
33133 #define HAVE__FPCLASS 1
33134 _ACEOF
33137 done
33146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33147 $as_echo_n "checking for qfpclass declaration... " >&6; }
33148 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33149 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33150 $as_echo_n "(cached) " >&6
33151 else
33154 ac_ext=cpp
33155 ac_cpp='$CXXCPP $CPPFLAGS'
33156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33161 /* end confdefs.h. */
33162 #include <math.h>
33163 #ifdef HAVE_IEEEFP_H
33164 #include <ieeefp.h>
33165 #endif
33168 main ()
33170 qfpclass(0);
33172 return 0;
33174 _ACEOF
33175 if ac_fn_cxx_try_compile "$LINENO"; then :
33176 glibcxx_cv_func_qfpclass_use=yes
33177 else
33178 glibcxx_cv_func_qfpclass_use=no
33180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33181 ac_ext=c
33182 ac_cpp='$CPP $CPPFLAGS'
33183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33192 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33194 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33195 for ac_func in qfpclass
33196 do :
33197 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33198 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33199 cat >>confdefs.h <<_ACEOF
33200 #define HAVE_QFPCLASS 1
33201 _ACEOF
33204 done
33206 else
33208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33209 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33210 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33211 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33212 $as_echo_n "(cached) " >&6
33213 else
33216 ac_ext=cpp
33217 ac_cpp='$CXXCPP $CPPFLAGS'
33218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33223 /* end confdefs.h. */
33224 #include <math.h>
33225 #ifdef HAVE_IEEEFP_H
33226 #include <ieeefp.h>
33227 #endif
33230 main ()
33232 _qfpclass(0);
33234 return 0;
33236 _ACEOF
33237 if ac_fn_cxx_try_compile "$LINENO"; then :
33238 glibcxx_cv_func__qfpclass_use=yes
33239 else
33240 glibcxx_cv_func__qfpclass_use=no
33242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33243 ac_ext=c
33244 ac_cpp='$CPP $CPPFLAGS'
33245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33254 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33256 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33257 for ac_func in _qfpclass
33258 do :
33259 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33260 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33261 cat >>confdefs.h <<_ACEOF
33262 #define HAVE__QFPCLASS 1
33263 _ACEOF
33266 done
33275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33276 $as_echo_n "checking for hypot declaration... " >&6; }
33277 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33278 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33279 $as_echo_n "(cached) " >&6
33280 else
33283 ac_ext=cpp
33284 ac_cpp='$CXXCPP $CPPFLAGS'
33285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33290 /* end confdefs.h. */
33291 #include <math.h>
33293 main ()
33295 hypot(0, 0);
33297 return 0;
33299 _ACEOF
33300 if ac_fn_cxx_try_compile "$LINENO"; then :
33301 glibcxx_cv_func_hypot_use=yes
33302 else
33303 glibcxx_cv_func_hypot_use=no
33305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33306 ac_ext=c
33307 ac_cpp='$CPP $CPPFLAGS'
33308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33317 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33319 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33320 for ac_func in hypot
33321 do :
33322 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33323 if test "x$ac_cv_func_hypot" = x""yes; then :
33324 cat >>confdefs.h <<_ACEOF
33325 #define HAVE_HYPOT 1
33326 _ACEOF
33329 done
33331 else
33333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33334 $as_echo_n "checking for _hypot declaration... " >&6; }
33335 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33336 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33337 $as_echo_n "(cached) " >&6
33338 else
33341 ac_ext=cpp
33342 ac_cpp='$CXXCPP $CPPFLAGS'
33343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33348 /* end confdefs.h. */
33349 #include <math.h>
33351 main ()
33353 _hypot(0, 0);
33355 return 0;
33357 _ACEOF
33358 if ac_fn_cxx_try_compile "$LINENO"; then :
33359 glibcxx_cv_func__hypot_use=yes
33360 else
33361 glibcxx_cv_func__hypot_use=no
33363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33364 ac_ext=c
33365 ac_cpp='$CPP $CPPFLAGS'
33366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33375 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33377 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33378 for ac_func in _hypot
33379 do :
33380 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33381 if test "x$ac_cv_func__hypot" = x""yes; then :
33382 cat >>confdefs.h <<_ACEOF
33383 #define HAVE__HYPOT 1
33384 _ACEOF
33387 done
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33397 $as_echo_n "checking for float trig functions... " >&6; }
33398 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33399 $as_echo_n "(cached) " >&6
33400 else
33403 ac_ext=cpp
33404 ac_cpp='$CXXCPP $CPPFLAGS'
33405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33410 /* end confdefs.h. */
33411 #include <math.h>
33413 main ()
33415 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33417 return 0;
33419 _ACEOF
33420 if ac_fn_cxx_try_compile "$LINENO"; then :
33421 glibcxx_cv_func_float_trig_use=yes
33422 else
33423 glibcxx_cv_func_float_trig_use=no
33425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33426 ac_ext=c
33427 ac_cpp='$CPP $CPPFLAGS'
33428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33435 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33436 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33437 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33438 do :
33439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33441 eval as_val=\$$as_ac_var
33442 if test "x$as_val" = x""yes; then :
33443 cat >>confdefs.h <<_ACEOF
33444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33445 _ACEOF
33448 done
33450 else
33451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33452 $as_echo_n "checking for _float trig functions... " >&6; }
33453 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33454 $as_echo_n "(cached) " >&6
33455 else
33458 ac_ext=cpp
33459 ac_cpp='$CXXCPP $CPPFLAGS'
33460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33465 /* end confdefs.h. */
33466 #include <math.h>
33468 main ()
33470 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33472 return 0;
33474 _ACEOF
33475 if ac_fn_cxx_try_compile "$LINENO"; then :
33476 glibcxx_cv_func__float_trig_use=yes
33477 else
33478 glibcxx_cv_func__float_trig_use=no
33480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33481 ac_ext=c
33482 ac_cpp='$CPP $CPPFLAGS'
33483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33490 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33491 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33492 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33493 do :
33494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33496 eval as_val=\$$as_ac_var
33497 if test "x$as_val" = x""yes; then :
33498 cat >>confdefs.h <<_ACEOF
33499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33500 _ACEOF
33503 done
33512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33513 $as_echo_n "checking for float round functions... " >&6; }
33514 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33515 $as_echo_n "(cached) " >&6
33516 else
33519 ac_ext=cpp
33520 ac_cpp='$CXXCPP $CPPFLAGS'
33521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33526 /* end confdefs.h. */
33527 #include <math.h>
33529 main ()
33531 ceilf (0); floorf (0);
33533 return 0;
33535 _ACEOF
33536 if ac_fn_cxx_try_compile "$LINENO"; then :
33537 glibcxx_cv_func_float_round_use=yes
33538 else
33539 glibcxx_cv_func_float_round_use=no
33541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33542 ac_ext=c
33543 ac_cpp='$CPP $CPPFLAGS'
33544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33551 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33552 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33553 for ac_func in ceilf floorf
33554 do :
33555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33557 eval as_val=\$$as_ac_var
33558 if test "x$as_val" = x""yes; then :
33559 cat >>confdefs.h <<_ACEOF
33560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33561 _ACEOF
33564 done
33566 else
33567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33568 $as_echo_n "checking for _float round functions... " >&6; }
33569 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33570 $as_echo_n "(cached) " >&6
33571 else
33574 ac_ext=cpp
33575 ac_cpp='$CXXCPP $CPPFLAGS'
33576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33581 /* end confdefs.h. */
33582 #include <math.h>
33584 main ()
33586 _ceilf (0); _floorf (0);
33588 return 0;
33590 _ACEOF
33591 if ac_fn_cxx_try_compile "$LINENO"; then :
33592 glibcxx_cv_func__float_round_use=yes
33593 else
33594 glibcxx_cv_func__float_round_use=no
33596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33597 ac_ext=c
33598 ac_cpp='$CPP $CPPFLAGS'
33599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33606 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33607 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33608 for ac_func in _ceilf _floorf
33609 do :
33610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33612 eval as_val=\$$as_ac_var
33613 if test "x$as_val" = x""yes; then :
33614 cat >>confdefs.h <<_ACEOF
33615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33616 _ACEOF
33619 done
33629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33630 $as_echo_n "checking for expf declaration... " >&6; }
33631 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33632 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33633 $as_echo_n "(cached) " >&6
33634 else
33637 ac_ext=cpp
33638 ac_cpp='$CXXCPP $CPPFLAGS'
33639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33644 /* end confdefs.h. */
33645 #include <math.h>
33646 #ifdef HAVE_IEEEFP_H
33647 #include <ieeefp.h>
33648 #endif
33651 main ()
33653 expf(0);
33655 return 0;
33657 _ACEOF
33658 if ac_fn_cxx_try_compile "$LINENO"; then :
33659 glibcxx_cv_func_expf_use=yes
33660 else
33661 glibcxx_cv_func_expf_use=no
33663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33664 ac_ext=c
33665 ac_cpp='$CPP $CPPFLAGS'
33666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33675 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33677 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33678 for ac_func in expf
33679 do :
33680 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33681 if test "x$ac_cv_func_expf" = x""yes; then :
33682 cat >>confdefs.h <<_ACEOF
33683 #define HAVE_EXPF 1
33684 _ACEOF
33687 done
33689 else
33691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33692 $as_echo_n "checking for _expf declaration... " >&6; }
33693 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33694 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33695 $as_echo_n "(cached) " >&6
33696 else
33699 ac_ext=cpp
33700 ac_cpp='$CXXCPP $CPPFLAGS'
33701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33706 /* end confdefs.h. */
33707 #include <math.h>
33708 #ifdef HAVE_IEEEFP_H
33709 #include <ieeefp.h>
33710 #endif
33713 main ()
33715 _expf(0);
33717 return 0;
33719 _ACEOF
33720 if ac_fn_cxx_try_compile "$LINENO"; then :
33721 glibcxx_cv_func__expf_use=yes
33722 else
33723 glibcxx_cv_func__expf_use=no
33725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33726 ac_ext=c
33727 ac_cpp='$CPP $CPPFLAGS'
33728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33737 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33739 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33740 for ac_func in _expf
33741 do :
33742 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33743 if test "x$ac_cv_func__expf" = x""yes; then :
33744 cat >>confdefs.h <<_ACEOF
33745 #define HAVE__EXPF 1
33746 _ACEOF
33749 done
33758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33759 $as_echo_n "checking for isnanf declaration... " >&6; }
33760 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33761 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33762 $as_echo_n "(cached) " >&6
33763 else
33766 ac_ext=cpp
33767 ac_cpp='$CXXCPP $CPPFLAGS'
33768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33773 /* end confdefs.h. */
33774 #include <math.h>
33775 #ifdef HAVE_IEEEFP_H
33776 #include <ieeefp.h>
33777 #endif
33780 main ()
33782 isnanf(0);
33784 return 0;
33786 _ACEOF
33787 if ac_fn_cxx_try_compile "$LINENO"; then :
33788 glibcxx_cv_func_isnanf_use=yes
33789 else
33790 glibcxx_cv_func_isnanf_use=no
33792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33793 ac_ext=c
33794 ac_cpp='$CPP $CPPFLAGS'
33795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33804 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33806 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33807 for ac_func in isnanf
33808 do :
33809 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33810 if test "x$ac_cv_func_isnanf" = x""yes; then :
33811 cat >>confdefs.h <<_ACEOF
33812 #define HAVE_ISNANF 1
33813 _ACEOF
33816 done
33818 else
33820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33821 $as_echo_n "checking for _isnanf declaration... " >&6; }
33822 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33823 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33824 $as_echo_n "(cached) " >&6
33825 else
33828 ac_ext=cpp
33829 ac_cpp='$CXXCPP $CPPFLAGS'
33830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33835 /* end confdefs.h. */
33836 #include <math.h>
33837 #ifdef HAVE_IEEEFP_H
33838 #include <ieeefp.h>
33839 #endif
33842 main ()
33844 _isnanf(0);
33846 return 0;
33848 _ACEOF
33849 if ac_fn_cxx_try_compile "$LINENO"; then :
33850 glibcxx_cv_func__isnanf_use=yes
33851 else
33852 glibcxx_cv_func__isnanf_use=no
33854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33855 ac_ext=c
33856 ac_cpp='$CPP $CPPFLAGS'
33857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33866 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33868 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33869 for ac_func in _isnanf
33870 do :
33871 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33872 if test "x$ac_cv_func__isnanf" = x""yes; then :
33873 cat >>confdefs.h <<_ACEOF
33874 #define HAVE__ISNANF 1
33875 _ACEOF
33878 done
33887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33888 $as_echo_n "checking for isinff declaration... " >&6; }
33889 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33890 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33891 $as_echo_n "(cached) " >&6
33892 else
33895 ac_ext=cpp
33896 ac_cpp='$CXXCPP $CPPFLAGS'
33897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33902 /* end confdefs.h. */
33903 #include <math.h>
33904 #ifdef HAVE_IEEEFP_H
33905 #include <ieeefp.h>
33906 #endif
33909 main ()
33911 isinff(0);
33913 return 0;
33915 _ACEOF
33916 if ac_fn_cxx_try_compile "$LINENO"; then :
33917 glibcxx_cv_func_isinff_use=yes
33918 else
33919 glibcxx_cv_func_isinff_use=no
33921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33922 ac_ext=c
33923 ac_cpp='$CPP $CPPFLAGS'
33924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33933 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33935 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33936 for ac_func in isinff
33937 do :
33938 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33939 if test "x$ac_cv_func_isinff" = x""yes; then :
33940 cat >>confdefs.h <<_ACEOF
33941 #define HAVE_ISINFF 1
33942 _ACEOF
33945 done
33947 else
33949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33950 $as_echo_n "checking for _isinff declaration... " >&6; }
33951 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33952 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33953 $as_echo_n "(cached) " >&6
33954 else
33957 ac_ext=cpp
33958 ac_cpp='$CXXCPP $CPPFLAGS'
33959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33964 /* end confdefs.h. */
33965 #include <math.h>
33966 #ifdef HAVE_IEEEFP_H
33967 #include <ieeefp.h>
33968 #endif
33971 main ()
33973 _isinff(0);
33975 return 0;
33977 _ACEOF
33978 if ac_fn_cxx_try_compile "$LINENO"; then :
33979 glibcxx_cv_func__isinff_use=yes
33980 else
33981 glibcxx_cv_func__isinff_use=no
33983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33984 ac_ext=c
33985 ac_cpp='$CPP $CPPFLAGS'
33986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33995 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33997 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33998 for ac_func in _isinff
33999 do :
34000 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34001 if test "x$ac_cv_func__isinff" = x""yes; then :
34002 cat >>confdefs.h <<_ACEOF
34003 #define HAVE__ISINFF 1
34004 _ACEOF
34007 done
34016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34017 $as_echo_n "checking for atan2f declaration... " >&6; }
34018 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34019 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34020 $as_echo_n "(cached) " >&6
34021 else
34024 ac_ext=cpp
34025 ac_cpp='$CXXCPP $CPPFLAGS'
34026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34031 /* end confdefs.h. */
34032 #include <math.h>
34034 main ()
34036 atan2f(0, 0);
34038 return 0;
34040 _ACEOF
34041 if ac_fn_cxx_try_compile "$LINENO"; then :
34042 glibcxx_cv_func_atan2f_use=yes
34043 else
34044 glibcxx_cv_func_atan2f_use=no
34046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34047 ac_ext=c
34048 ac_cpp='$CPP $CPPFLAGS'
34049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34058 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34060 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34061 for ac_func in atan2f
34062 do :
34063 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34064 if test "x$ac_cv_func_atan2f" = x""yes; then :
34065 cat >>confdefs.h <<_ACEOF
34066 #define HAVE_ATAN2F 1
34067 _ACEOF
34070 done
34072 else
34074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34075 $as_echo_n "checking for _atan2f declaration... " >&6; }
34076 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34077 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34078 $as_echo_n "(cached) " >&6
34079 else
34082 ac_ext=cpp
34083 ac_cpp='$CXXCPP $CPPFLAGS'
34084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34089 /* end confdefs.h. */
34090 #include <math.h>
34092 main ()
34094 _atan2f(0, 0);
34096 return 0;
34098 _ACEOF
34099 if ac_fn_cxx_try_compile "$LINENO"; then :
34100 glibcxx_cv_func__atan2f_use=yes
34101 else
34102 glibcxx_cv_func__atan2f_use=no
34104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34105 ac_ext=c
34106 ac_cpp='$CPP $CPPFLAGS'
34107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34116 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34118 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34119 for ac_func in _atan2f
34120 do :
34121 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34122 if test "x$ac_cv_func__atan2f" = x""yes; then :
34123 cat >>confdefs.h <<_ACEOF
34124 #define HAVE__ATAN2F 1
34125 _ACEOF
34128 done
34137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34138 $as_echo_n "checking for fabsf declaration... " >&6; }
34139 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34140 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34141 $as_echo_n "(cached) " >&6
34142 else
34145 ac_ext=cpp
34146 ac_cpp='$CXXCPP $CPPFLAGS'
34147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34152 /* end confdefs.h. */
34153 #include <math.h>
34154 #ifdef HAVE_IEEEFP_H
34155 #include <ieeefp.h>
34156 #endif
34159 main ()
34161 fabsf(0);
34163 return 0;
34165 _ACEOF
34166 if ac_fn_cxx_try_compile "$LINENO"; then :
34167 glibcxx_cv_func_fabsf_use=yes
34168 else
34169 glibcxx_cv_func_fabsf_use=no
34171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34172 ac_ext=c
34173 ac_cpp='$CPP $CPPFLAGS'
34174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34183 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34185 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34186 for ac_func in fabsf
34187 do :
34188 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34189 if test "x$ac_cv_func_fabsf" = x""yes; then :
34190 cat >>confdefs.h <<_ACEOF
34191 #define HAVE_FABSF 1
34192 _ACEOF
34195 done
34197 else
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34200 $as_echo_n "checking for _fabsf declaration... " >&6; }
34201 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34202 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34203 $as_echo_n "(cached) " >&6
34204 else
34207 ac_ext=cpp
34208 ac_cpp='$CXXCPP $CPPFLAGS'
34209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34214 /* end confdefs.h. */
34215 #include <math.h>
34216 #ifdef HAVE_IEEEFP_H
34217 #include <ieeefp.h>
34218 #endif
34221 main ()
34223 _fabsf(0);
34225 return 0;
34227 _ACEOF
34228 if ac_fn_cxx_try_compile "$LINENO"; then :
34229 glibcxx_cv_func__fabsf_use=yes
34230 else
34231 glibcxx_cv_func__fabsf_use=no
34233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34234 ac_ext=c
34235 ac_cpp='$CPP $CPPFLAGS'
34236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34245 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34247 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34248 for ac_func in _fabsf
34249 do :
34250 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34251 if test "x$ac_cv_func__fabsf" = x""yes; then :
34252 cat >>confdefs.h <<_ACEOF
34253 #define HAVE__FABSF 1
34254 _ACEOF
34257 done
34266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34267 $as_echo_n "checking for fmodf declaration... " >&6; }
34268 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34269 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34270 $as_echo_n "(cached) " >&6
34271 else
34274 ac_ext=cpp
34275 ac_cpp='$CXXCPP $CPPFLAGS'
34276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34281 /* end confdefs.h. */
34282 #include <math.h>
34284 main ()
34286 fmodf(0, 0);
34288 return 0;
34290 _ACEOF
34291 if ac_fn_cxx_try_compile "$LINENO"; then :
34292 glibcxx_cv_func_fmodf_use=yes
34293 else
34294 glibcxx_cv_func_fmodf_use=no
34296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34297 ac_ext=c
34298 ac_cpp='$CPP $CPPFLAGS'
34299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34308 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34310 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34311 for ac_func in fmodf
34312 do :
34313 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34314 if test "x$ac_cv_func_fmodf" = x""yes; then :
34315 cat >>confdefs.h <<_ACEOF
34316 #define HAVE_FMODF 1
34317 _ACEOF
34320 done
34322 else
34324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34325 $as_echo_n "checking for _fmodf declaration... " >&6; }
34326 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34327 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34328 $as_echo_n "(cached) " >&6
34329 else
34332 ac_ext=cpp
34333 ac_cpp='$CXXCPP $CPPFLAGS'
34334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34339 /* end confdefs.h. */
34340 #include <math.h>
34342 main ()
34344 _fmodf(0, 0);
34346 return 0;
34348 _ACEOF
34349 if ac_fn_cxx_try_compile "$LINENO"; then :
34350 glibcxx_cv_func__fmodf_use=yes
34351 else
34352 glibcxx_cv_func__fmodf_use=no
34354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34355 ac_ext=c
34356 ac_cpp='$CPP $CPPFLAGS'
34357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34366 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34368 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34369 for ac_func in _fmodf
34370 do :
34371 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34372 if test "x$ac_cv_func__fmodf" = x""yes; then :
34373 cat >>confdefs.h <<_ACEOF
34374 #define HAVE__FMODF 1
34375 _ACEOF
34378 done
34387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34388 $as_echo_n "checking for frexpf declaration... " >&6; }
34389 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34390 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34391 $as_echo_n "(cached) " >&6
34392 else
34395 ac_ext=cpp
34396 ac_cpp='$CXXCPP $CPPFLAGS'
34397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34402 /* end confdefs.h. */
34403 #include <math.h>
34405 main ()
34407 frexpf(0, 0);
34409 return 0;
34411 _ACEOF
34412 if ac_fn_cxx_try_compile "$LINENO"; then :
34413 glibcxx_cv_func_frexpf_use=yes
34414 else
34415 glibcxx_cv_func_frexpf_use=no
34417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34418 ac_ext=c
34419 ac_cpp='$CPP $CPPFLAGS'
34420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34429 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34431 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34432 for ac_func in frexpf
34433 do :
34434 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34435 if test "x$ac_cv_func_frexpf" = x""yes; then :
34436 cat >>confdefs.h <<_ACEOF
34437 #define HAVE_FREXPF 1
34438 _ACEOF
34441 done
34443 else
34445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34446 $as_echo_n "checking for _frexpf declaration... " >&6; }
34447 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34448 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34449 $as_echo_n "(cached) " >&6
34450 else
34453 ac_ext=cpp
34454 ac_cpp='$CXXCPP $CPPFLAGS'
34455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34460 /* end confdefs.h. */
34461 #include <math.h>
34463 main ()
34465 _frexpf(0, 0);
34467 return 0;
34469 _ACEOF
34470 if ac_fn_cxx_try_compile "$LINENO"; then :
34471 glibcxx_cv_func__frexpf_use=yes
34472 else
34473 glibcxx_cv_func__frexpf_use=no
34475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34476 ac_ext=c
34477 ac_cpp='$CPP $CPPFLAGS'
34478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34487 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34489 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34490 for ac_func in _frexpf
34491 do :
34492 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34493 if test "x$ac_cv_func__frexpf" = x""yes; then :
34494 cat >>confdefs.h <<_ACEOF
34495 #define HAVE__FREXPF 1
34496 _ACEOF
34499 done
34508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34509 $as_echo_n "checking for hypotf declaration... " >&6; }
34510 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34511 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34512 $as_echo_n "(cached) " >&6
34513 else
34516 ac_ext=cpp
34517 ac_cpp='$CXXCPP $CPPFLAGS'
34518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34523 /* end confdefs.h. */
34524 #include <math.h>
34526 main ()
34528 hypotf(0, 0);
34530 return 0;
34532 _ACEOF
34533 if ac_fn_cxx_try_compile "$LINENO"; then :
34534 glibcxx_cv_func_hypotf_use=yes
34535 else
34536 glibcxx_cv_func_hypotf_use=no
34538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34539 ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34550 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34552 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34553 for ac_func in hypotf
34554 do :
34555 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34556 if test "x$ac_cv_func_hypotf" = x""yes; then :
34557 cat >>confdefs.h <<_ACEOF
34558 #define HAVE_HYPOTF 1
34559 _ACEOF
34562 done
34564 else
34566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34567 $as_echo_n "checking for _hypotf declaration... " >&6; }
34568 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34569 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34570 $as_echo_n "(cached) " >&6
34571 else
34574 ac_ext=cpp
34575 ac_cpp='$CXXCPP $CPPFLAGS'
34576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34581 /* end confdefs.h. */
34582 #include <math.h>
34584 main ()
34586 _hypotf(0, 0);
34588 return 0;
34590 _ACEOF
34591 if ac_fn_cxx_try_compile "$LINENO"; then :
34592 glibcxx_cv_func__hypotf_use=yes
34593 else
34594 glibcxx_cv_func__hypotf_use=no
34596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34597 ac_ext=c
34598 ac_cpp='$CPP $CPPFLAGS'
34599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34608 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34610 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34611 for ac_func in _hypotf
34612 do :
34613 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34614 if test "x$ac_cv_func__hypotf" = x""yes; then :
34615 cat >>confdefs.h <<_ACEOF
34616 #define HAVE__HYPOTF 1
34617 _ACEOF
34620 done
34629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34630 $as_echo_n "checking for ldexpf declaration... " >&6; }
34631 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34632 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34633 $as_echo_n "(cached) " >&6
34634 else
34637 ac_ext=cpp
34638 ac_cpp='$CXXCPP $CPPFLAGS'
34639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34644 /* end confdefs.h. */
34645 #include <math.h>
34647 main ()
34649 ldexpf(0, 0);
34651 return 0;
34653 _ACEOF
34654 if ac_fn_cxx_try_compile "$LINENO"; then :
34655 glibcxx_cv_func_ldexpf_use=yes
34656 else
34657 glibcxx_cv_func_ldexpf_use=no
34659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34660 ac_ext=c
34661 ac_cpp='$CPP $CPPFLAGS'
34662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34671 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34673 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34674 for ac_func in ldexpf
34675 do :
34676 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34677 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34678 cat >>confdefs.h <<_ACEOF
34679 #define HAVE_LDEXPF 1
34680 _ACEOF
34683 done
34685 else
34687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34688 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34689 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34690 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34691 $as_echo_n "(cached) " >&6
34692 else
34695 ac_ext=cpp
34696 ac_cpp='$CXXCPP $CPPFLAGS'
34697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34702 /* end confdefs.h. */
34703 #include <math.h>
34705 main ()
34707 _ldexpf(0, 0);
34709 return 0;
34711 _ACEOF
34712 if ac_fn_cxx_try_compile "$LINENO"; then :
34713 glibcxx_cv_func__ldexpf_use=yes
34714 else
34715 glibcxx_cv_func__ldexpf_use=no
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34718 ac_ext=c
34719 ac_cpp='$CPP $CPPFLAGS'
34720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34729 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34731 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34732 for ac_func in _ldexpf
34733 do :
34734 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34735 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34736 cat >>confdefs.h <<_ACEOF
34737 #define HAVE__LDEXPF 1
34738 _ACEOF
34741 done
34750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34751 $as_echo_n "checking for logf declaration... " >&6; }
34752 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34753 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34754 $as_echo_n "(cached) " >&6
34755 else
34758 ac_ext=cpp
34759 ac_cpp='$CXXCPP $CPPFLAGS'
34760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34765 /* end confdefs.h. */
34766 #include <math.h>
34767 #ifdef HAVE_IEEEFP_H
34768 #include <ieeefp.h>
34769 #endif
34772 main ()
34774 logf(0);
34776 return 0;
34778 _ACEOF
34779 if ac_fn_cxx_try_compile "$LINENO"; then :
34780 glibcxx_cv_func_logf_use=yes
34781 else
34782 glibcxx_cv_func_logf_use=no
34784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34785 ac_ext=c
34786 ac_cpp='$CPP $CPPFLAGS'
34787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34796 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34798 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34799 for ac_func in logf
34800 do :
34801 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34802 if test "x$ac_cv_func_logf" = x""yes; then :
34803 cat >>confdefs.h <<_ACEOF
34804 #define HAVE_LOGF 1
34805 _ACEOF
34808 done
34810 else
34812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34813 $as_echo_n "checking for _logf declaration... " >&6; }
34814 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34815 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34816 $as_echo_n "(cached) " >&6
34817 else
34820 ac_ext=cpp
34821 ac_cpp='$CXXCPP $CPPFLAGS'
34822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34827 /* end confdefs.h. */
34828 #include <math.h>
34829 #ifdef HAVE_IEEEFP_H
34830 #include <ieeefp.h>
34831 #endif
34834 main ()
34836 _logf(0);
34838 return 0;
34840 _ACEOF
34841 if ac_fn_cxx_try_compile "$LINENO"; then :
34842 glibcxx_cv_func__logf_use=yes
34843 else
34844 glibcxx_cv_func__logf_use=no
34846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34847 ac_ext=c
34848 ac_cpp='$CPP $CPPFLAGS'
34849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34858 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34860 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34861 for ac_func in _logf
34862 do :
34863 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34864 if test "x$ac_cv_func__logf" = x""yes; then :
34865 cat >>confdefs.h <<_ACEOF
34866 #define HAVE__LOGF 1
34867 _ACEOF
34870 done
34879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34880 $as_echo_n "checking for log10f declaration... " >&6; }
34881 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34882 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34883 $as_echo_n "(cached) " >&6
34884 else
34887 ac_ext=cpp
34888 ac_cpp='$CXXCPP $CPPFLAGS'
34889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34894 /* end confdefs.h. */
34895 #include <math.h>
34896 #ifdef HAVE_IEEEFP_H
34897 #include <ieeefp.h>
34898 #endif
34901 main ()
34903 log10f(0);
34905 return 0;
34907 _ACEOF
34908 if ac_fn_cxx_try_compile "$LINENO"; then :
34909 glibcxx_cv_func_log10f_use=yes
34910 else
34911 glibcxx_cv_func_log10f_use=no
34913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34914 ac_ext=c
34915 ac_cpp='$CPP $CPPFLAGS'
34916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34925 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34927 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34928 for ac_func in log10f
34929 do :
34930 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34931 if test "x$ac_cv_func_log10f" = x""yes; then :
34932 cat >>confdefs.h <<_ACEOF
34933 #define HAVE_LOG10F 1
34934 _ACEOF
34937 done
34939 else
34941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34942 $as_echo_n "checking for _log10f declaration... " >&6; }
34943 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34944 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34945 $as_echo_n "(cached) " >&6
34946 else
34949 ac_ext=cpp
34950 ac_cpp='$CXXCPP $CPPFLAGS'
34951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34956 /* end confdefs.h. */
34957 #include <math.h>
34958 #ifdef HAVE_IEEEFP_H
34959 #include <ieeefp.h>
34960 #endif
34963 main ()
34965 _log10f(0);
34967 return 0;
34969 _ACEOF
34970 if ac_fn_cxx_try_compile "$LINENO"; then :
34971 glibcxx_cv_func__log10f_use=yes
34972 else
34973 glibcxx_cv_func__log10f_use=no
34975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34976 ac_ext=c
34977 ac_cpp='$CPP $CPPFLAGS'
34978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34987 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34989 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34990 for ac_func in _log10f
34991 do :
34992 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34993 if test "x$ac_cv_func__log10f" = x""yes; then :
34994 cat >>confdefs.h <<_ACEOF
34995 #define HAVE__LOG10F 1
34996 _ACEOF
34999 done
35008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35009 $as_echo_n "checking for modff declaration... " >&6; }
35010 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35011 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35012 $as_echo_n "(cached) " >&6
35013 else
35016 ac_ext=cpp
35017 ac_cpp='$CXXCPP $CPPFLAGS'
35018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35023 /* end confdefs.h. */
35024 #include <math.h>
35026 main ()
35028 modff(0, 0);
35030 return 0;
35032 _ACEOF
35033 if ac_fn_cxx_try_compile "$LINENO"; then :
35034 glibcxx_cv_func_modff_use=yes
35035 else
35036 glibcxx_cv_func_modff_use=no
35038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35039 ac_ext=c
35040 ac_cpp='$CPP $CPPFLAGS'
35041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35050 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35052 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35053 for ac_func in modff
35054 do :
35055 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35056 if test "x$ac_cv_func_modff" = x""yes; then :
35057 cat >>confdefs.h <<_ACEOF
35058 #define HAVE_MODFF 1
35059 _ACEOF
35062 done
35064 else
35066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35067 $as_echo_n "checking for _modff declaration... " >&6; }
35068 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35069 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35070 $as_echo_n "(cached) " >&6
35071 else
35074 ac_ext=cpp
35075 ac_cpp='$CXXCPP $CPPFLAGS'
35076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35081 /* end confdefs.h. */
35082 #include <math.h>
35084 main ()
35086 _modff(0, 0);
35088 return 0;
35090 _ACEOF
35091 if ac_fn_cxx_try_compile "$LINENO"; then :
35092 glibcxx_cv_func__modff_use=yes
35093 else
35094 glibcxx_cv_func__modff_use=no
35096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35097 ac_ext=c
35098 ac_cpp='$CPP $CPPFLAGS'
35099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35108 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35110 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35111 for ac_func in _modff
35112 do :
35113 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35114 if test "x$ac_cv_func__modff" = x""yes; then :
35115 cat >>confdefs.h <<_ACEOF
35116 #define HAVE__MODFF 1
35117 _ACEOF
35120 done
35129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35130 $as_echo_n "checking for modf declaration... " >&6; }
35131 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35132 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35133 $as_echo_n "(cached) " >&6
35134 else
35137 ac_ext=cpp
35138 ac_cpp='$CXXCPP $CPPFLAGS'
35139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35144 /* end confdefs.h. */
35145 #include <math.h>
35147 main ()
35149 modf(0, 0);
35151 return 0;
35153 _ACEOF
35154 if ac_fn_cxx_try_compile "$LINENO"; then :
35155 glibcxx_cv_func_modf_use=yes
35156 else
35157 glibcxx_cv_func_modf_use=no
35159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35160 ac_ext=c
35161 ac_cpp='$CPP $CPPFLAGS'
35162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35171 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35173 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35174 for ac_func in modf
35175 do :
35176 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35177 if test "x$ac_cv_func_modf" = x""yes; then :
35178 cat >>confdefs.h <<_ACEOF
35179 #define HAVE_MODF 1
35180 _ACEOF
35183 done
35185 else
35187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35188 $as_echo_n "checking for _modf declaration... " >&6; }
35189 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35190 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35191 $as_echo_n "(cached) " >&6
35192 else
35195 ac_ext=cpp
35196 ac_cpp='$CXXCPP $CPPFLAGS'
35197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35202 /* end confdefs.h. */
35203 #include <math.h>
35205 main ()
35207 _modf(0, 0);
35209 return 0;
35211 _ACEOF
35212 if ac_fn_cxx_try_compile "$LINENO"; then :
35213 glibcxx_cv_func__modf_use=yes
35214 else
35215 glibcxx_cv_func__modf_use=no
35217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35218 ac_ext=c
35219 ac_cpp='$CPP $CPPFLAGS'
35220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35229 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35231 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35232 for ac_func in _modf
35233 do :
35234 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35235 if test "x$ac_cv_func__modf" = x""yes; then :
35236 cat >>confdefs.h <<_ACEOF
35237 #define HAVE__MODF 1
35238 _ACEOF
35241 done
35250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35251 $as_echo_n "checking for powf declaration... " >&6; }
35252 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35253 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35254 $as_echo_n "(cached) " >&6
35255 else
35258 ac_ext=cpp
35259 ac_cpp='$CXXCPP $CPPFLAGS'
35260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35265 /* end confdefs.h. */
35266 #include <math.h>
35268 main ()
35270 powf(0, 0);
35272 return 0;
35274 _ACEOF
35275 if ac_fn_cxx_try_compile "$LINENO"; then :
35276 glibcxx_cv_func_powf_use=yes
35277 else
35278 glibcxx_cv_func_powf_use=no
35280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35281 ac_ext=c
35282 ac_cpp='$CPP $CPPFLAGS'
35283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35292 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35294 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35295 for ac_func in powf
35296 do :
35297 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35298 if test "x$ac_cv_func_powf" = x""yes; then :
35299 cat >>confdefs.h <<_ACEOF
35300 #define HAVE_POWF 1
35301 _ACEOF
35304 done
35306 else
35308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35309 $as_echo_n "checking for _powf declaration... " >&6; }
35310 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35311 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35312 $as_echo_n "(cached) " >&6
35313 else
35316 ac_ext=cpp
35317 ac_cpp='$CXXCPP $CPPFLAGS'
35318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35323 /* end confdefs.h. */
35324 #include <math.h>
35326 main ()
35328 _powf(0, 0);
35330 return 0;
35332 _ACEOF
35333 if ac_fn_cxx_try_compile "$LINENO"; then :
35334 glibcxx_cv_func__powf_use=yes
35335 else
35336 glibcxx_cv_func__powf_use=no
35338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35339 ac_ext=c
35340 ac_cpp='$CPP $CPPFLAGS'
35341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35350 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35352 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35353 for ac_func in _powf
35354 do :
35355 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35356 if test "x$ac_cv_func__powf" = x""yes; then :
35357 cat >>confdefs.h <<_ACEOF
35358 #define HAVE__POWF 1
35359 _ACEOF
35362 done
35371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35372 $as_echo_n "checking for sqrtf declaration... " >&6; }
35373 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35374 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35375 $as_echo_n "(cached) " >&6
35376 else
35379 ac_ext=cpp
35380 ac_cpp='$CXXCPP $CPPFLAGS'
35381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35386 /* end confdefs.h. */
35387 #include <math.h>
35388 #ifdef HAVE_IEEEFP_H
35389 #include <ieeefp.h>
35390 #endif
35393 main ()
35395 sqrtf(0);
35397 return 0;
35399 _ACEOF
35400 if ac_fn_cxx_try_compile "$LINENO"; then :
35401 glibcxx_cv_func_sqrtf_use=yes
35402 else
35403 glibcxx_cv_func_sqrtf_use=no
35405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35406 ac_ext=c
35407 ac_cpp='$CPP $CPPFLAGS'
35408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35417 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35419 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35420 for ac_func in sqrtf
35421 do :
35422 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35423 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35424 cat >>confdefs.h <<_ACEOF
35425 #define HAVE_SQRTF 1
35426 _ACEOF
35429 done
35431 else
35433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35434 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35435 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35436 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35437 $as_echo_n "(cached) " >&6
35438 else
35441 ac_ext=cpp
35442 ac_cpp='$CXXCPP $CPPFLAGS'
35443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35448 /* end confdefs.h. */
35449 #include <math.h>
35450 #ifdef HAVE_IEEEFP_H
35451 #include <ieeefp.h>
35452 #endif
35455 main ()
35457 _sqrtf(0);
35459 return 0;
35461 _ACEOF
35462 if ac_fn_cxx_try_compile "$LINENO"; then :
35463 glibcxx_cv_func__sqrtf_use=yes
35464 else
35465 glibcxx_cv_func__sqrtf_use=no
35467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35468 ac_ext=c
35469 ac_cpp='$CPP $CPPFLAGS'
35470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35479 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35481 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35482 for ac_func in _sqrtf
35483 do :
35484 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35485 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35486 cat >>confdefs.h <<_ACEOF
35487 #define HAVE__SQRTF 1
35488 _ACEOF
35491 done
35500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35501 $as_echo_n "checking for sincosf declaration... " >&6; }
35502 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35503 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35504 $as_echo_n "(cached) " >&6
35505 else
35508 ac_ext=cpp
35509 ac_cpp='$CXXCPP $CPPFLAGS'
35510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35515 /* end confdefs.h. */
35516 #include <math.h>
35518 main ()
35520 sincosf(0, 0, 0);
35522 return 0;
35524 _ACEOF
35525 if ac_fn_cxx_try_compile "$LINENO"; then :
35526 glibcxx_cv_func_sincosf_use=yes
35527 else
35528 glibcxx_cv_func_sincosf_use=no
35530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35531 ac_ext=c
35532 ac_cpp='$CPP $CPPFLAGS'
35533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35542 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35544 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35545 for ac_func in sincosf
35546 do :
35547 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35548 if test "x$ac_cv_func_sincosf" = x""yes; then :
35549 cat >>confdefs.h <<_ACEOF
35550 #define HAVE_SINCOSF 1
35551 _ACEOF
35554 done
35556 else
35558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35559 $as_echo_n "checking for _sincosf declaration... " >&6; }
35560 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35561 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35562 $as_echo_n "(cached) " >&6
35563 else
35566 ac_ext=cpp
35567 ac_cpp='$CXXCPP $CPPFLAGS'
35568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35573 /* end confdefs.h. */
35574 #include <math.h>
35576 main ()
35578 _sincosf(0, 0, 0);
35580 return 0;
35582 _ACEOF
35583 if ac_fn_cxx_try_compile "$LINENO"; then :
35584 glibcxx_cv_func__sincosf_use=yes
35585 else
35586 glibcxx_cv_func__sincosf_use=no
35588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35589 ac_ext=c
35590 ac_cpp='$CPP $CPPFLAGS'
35591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35600 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35602 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35603 for ac_func in _sincosf
35604 do :
35605 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35606 if test "x$ac_cv_func__sincosf" = x""yes; then :
35607 cat >>confdefs.h <<_ACEOF
35608 #define HAVE__SINCOSF 1
35609 _ACEOF
35612 done
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35622 $as_echo_n "checking for finitef declaration... " >&6; }
35623 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35624 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35625 $as_echo_n "(cached) " >&6
35626 else
35629 ac_ext=cpp
35630 ac_cpp='$CXXCPP $CPPFLAGS'
35631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35636 /* end confdefs.h. */
35637 #include <math.h>
35638 #ifdef HAVE_IEEEFP_H
35639 #include <ieeefp.h>
35640 #endif
35643 main ()
35645 finitef(0);
35647 return 0;
35649 _ACEOF
35650 if ac_fn_cxx_try_compile "$LINENO"; then :
35651 glibcxx_cv_func_finitef_use=yes
35652 else
35653 glibcxx_cv_func_finitef_use=no
35655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35656 ac_ext=c
35657 ac_cpp='$CPP $CPPFLAGS'
35658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35667 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35669 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35670 for ac_func in finitef
35671 do :
35672 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35673 if test "x$ac_cv_func_finitef" = x""yes; then :
35674 cat >>confdefs.h <<_ACEOF
35675 #define HAVE_FINITEF 1
35676 _ACEOF
35679 done
35681 else
35683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35684 $as_echo_n "checking for _finitef declaration... " >&6; }
35685 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35686 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35687 $as_echo_n "(cached) " >&6
35688 else
35691 ac_ext=cpp
35692 ac_cpp='$CXXCPP $CPPFLAGS'
35693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35698 /* end confdefs.h. */
35699 #include <math.h>
35700 #ifdef HAVE_IEEEFP_H
35701 #include <ieeefp.h>
35702 #endif
35705 main ()
35707 _finitef(0);
35709 return 0;
35711 _ACEOF
35712 if ac_fn_cxx_try_compile "$LINENO"; then :
35713 glibcxx_cv_func__finitef_use=yes
35714 else
35715 glibcxx_cv_func__finitef_use=no
35717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35718 ac_ext=c
35719 ac_cpp='$CPP $CPPFLAGS'
35720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35729 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35731 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35732 for ac_func in _finitef
35733 do :
35734 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35735 if test "x$ac_cv_func__finitef" = x""yes; then :
35736 cat >>confdefs.h <<_ACEOF
35737 #define HAVE__FINITEF 1
35738 _ACEOF
35741 done
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35751 $as_echo_n "checking for long double trig functions... " >&6; }
35752 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35753 $as_echo_n "(cached) " >&6
35754 else
35757 ac_ext=cpp
35758 ac_cpp='$CXXCPP $CPPFLAGS'
35759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35764 /* end confdefs.h. */
35765 #include <math.h>
35767 main ()
35769 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35771 return 0;
35773 _ACEOF
35774 if ac_fn_cxx_try_compile "$LINENO"; then :
35775 glibcxx_cv_func_long_double_trig_use=yes
35776 else
35777 glibcxx_cv_func_long_double_trig_use=no
35779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35780 ac_ext=c
35781 ac_cpp='$CPP $CPPFLAGS'
35782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35789 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35790 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35791 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35792 do :
35793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35795 eval as_val=\$$as_ac_var
35796 if test "x$as_val" = x""yes; then :
35797 cat >>confdefs.h <<_ACEOF
35798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35799 _ACEOF
35802 done
35804 else
35805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35806 $as_echo_n "checking for _long double trig functions... " >&6; }
35807 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35808 $as_echo_n "(cached) " >&6
35809 else
35812 ac_ext=cpp
35813 ac_cpp='$CXXCPP $CPPFLAGS'
35814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35819 /* end confdefs.h. */
35820 #include <math.h>
35822 main ()
35824 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35826 return 0;
35828 _ACEOF
35829 if ac_fn_cxx_try_compile "$LINENO"; then :
35830 glibcxx_cv_func__long_double_trig_use=yes
35831 else
35832 glibcxx_cv_func__long_double_trig_use=no
35834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35835 ac_ext=c
35836 ac_cpp='$CPP $CPPFLAGS'
35837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35844 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35845 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35846 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35847 do :
35848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35850 eval as_val=\$$as_ac_var
35851 if test "x$as_val" = x""yes; then :
35852 cat >>confdefs.h <<_ACEOF
35853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35854 _ACEOF
35857 done
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35867 $as_echo_n "checking for long double round functions... " >&6; }
35868 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35869 $as_echo_n "(cached) " >&6
35870 else
35873 ac_ext=cpp
35874 ac_cpp='$CXXCPP $CPPFLAGS'
35875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35880 /* end confdefs.h. */
35881 #include <math.h>
35883 main ()
35885 ceill (0); floorl (0);
35887 return 0;
35889 _ACEOF
35890 if ac_fn_cxx_try_compile "$LINENO"; then :
35891 glibcxx_cv_func_long_double_round_use=yes
35892 else
35893 glibcxx_cv_func_long_double_round_use=no
35895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35896 ac_ext=c
35897 ac_cpp='$CPP $CPPFLAGS'
35898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35905 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35906 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35907 for ac_func in ceill floorl
35908 do :
35909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35911 eval as_val=\$$as_ac_var
35912 if test "x$as_val" = x""yes; then :
35913 cat >>confdefs.h <<_ACEOF
35914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35915 _ACEOF
35918 done
35920 else
35921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35922 $as_echo_n "checking for _long double round functions... " >&6; }
35923 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35924 $as_echo_n "(cached) " >&6
35925 else
35928 ac_ext=cpp
35929 ac_cpp='$CXXCPP $CPPFLAGS'
35930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35935 /* end confdefs.h. */
35936 #include <math.h>
35938 main ()
35940 _ceill (0); _floorl (0);
35942 return 0;
35944 _ACEOF
35945 if ac_fn_cxx_try_compile "$LINENO"; then :
35946 glibcxx_cv_func__long_double_round_use=yes
35947 else
35948 glibcxx_cv_func__long_double_round_use=no
35950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35951 ac_ext=c
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35960 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35961 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35962 for ac_func in _ceill _floorl
35963 do :
35964 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35966 eval as_val=\$$as_ac_var
35967 if test "x$as_val" = x""yes; then :
35968 cat >>confdefs.h <<_ACEOF
35969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35970 _ACEOF
35973 done
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35984 $as_echo_n "checking for isnanl declaration... " >&6; }
35985 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35986 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35987 $as_echo_n "(cached) " >&6
35988 else
35991 ac_ext=cpp
35992 ac_cpp='$CXXCPP $CPPFLAGS'
35993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35998 /* end confdefs.h. */
35999 #include <math.h>
36000 #ifdef HAVE_IEEEFP_H
36001 #include <ieeefp.h>
36002 #endif
36005 main ()
36007 isnanl(0);
36009 return 0;
36011 _ACEOF
36012 if ac_fn_cxx_try_compile "$LINENO"; then :
36013 glibcxx_cv_func_isnanl_use=yes
36014 else
36015 glibcxx_cv_func_isnanl_use=no
36017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36018 ac_ext=c
36019 ac_cpp='$CPP $CPPFLAGS'
36020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36029 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36031 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36032 for ac_func in isnanl
36033 do :
36034 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36035 if test "x$ac_cv_func_isnanl" = x""yes; then :
36036 cat >>confdefs.h <<_ACEOF
36037 #define HAVE_ISNANL 1
36038 _ACEOF
36041 done
36043 else
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36046 $as_echo_n "checking for _isnanl declaration... " >&6; }
36047 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36048 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36049 $as_echo_n "(cached) " >&6
36050 else
36053 ac_ext=cpp
36054 ac_cpp='$CXXCPP $CPPFLAGS'
36055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36060 /* end confdefs.h. */
36061 #include <math.h>
36062 #ifdef HAVE_IEEEFP_H
36063 #include <ieeefp.h>
36064 #endif
36067 main ()
36069 _isnanl(0);
36071 return 0;
36073 _ACEOF
36074 if ac_fn_cxx_try_compile "$LINENO"; then :
36075 glibcxx_cv_func__isnanl_use=yes
36076 else
36077 glibcxx_cv_func__isnanl_use=no
36079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36080 ac_ext=c
36081 ac_cpp='$CPP $CPPFLAGS'
36082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36091 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36093 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36094 for ac_func in _isnanl
36095 do :
36096 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36097 if test "x$ac_cv_func__isnanl" = x""yes; then :
36098 cat >>confdefs.h <<_ACEOF
36099 #define HAVE__ISNANL 1
36100 _ACEOF
36103 done
36112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36113 $as_echo_n "checking for isinfl declaration... " >&6; }
36114 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36115 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36116 $as_echo_n "(cached) " >&6
36117 else
36120 ac_ext=cpp
36121 ac_cpp='$CXXCPP $CPPFLAGS'
36122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36127 /* end confdefs.h. */
36128 #include <math.h>
36129 #ifdef HAVE_IEEEFP_H
36130 #include <ieeefp.h>
36131 #endif
36134 main ()
36136 isinfl(0);
36138 return 0;
36140 _ACEOF
36141 if ac_fn_cxx_try_compile "$LINENO"; then :
36142 glibcxx_cv_func_isinfl_use=yes
36143 else
36144 glibcxx_cv_func_isinfl_use=no
36146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36147 ac_ext=c
36148 ac_cpp='$CPP $CPPFLAGS'
36149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36158 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36160 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36161 for ac_func in isinfl
36162 do :
36163 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36164 if test "x$ac_cv_func_isinfl" = x""yes; then :
36165 cat >>confdefs.h <<_ACEOF
36166 #define HAVE_ISINFL 1
36167 _ACEOF
36170 done
36172 else
36174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36175 $as_echo_n "checking for _isinfl declaration... " >&6; }
36176 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36177 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36178 $as_echo_n "(cached) " >&6
36179 else
36182 ac_ext=cpp
36183 ac_cpp='$CXXCPP $CPPFLAGS'
36184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36189 /* end confdefs.h. */
36190 #include <math.h>
36191 #ifdef HAVE_IEEEFP_H
36192 #include <ieeefp.h>
36193 #endif
36196 main ()
36198 _isinfl(0);
36200 return 0;
36202 _ACEOF
36203 if ac_fn_cxx_try_compile "$LINENO"; then :
36204 glibcxx_cv_func__isinfl_use=yes
36205 else
36206 glibcxx_cv_func__isinfl_use=no
36208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36209 ac_ext=c
36210 ac_cpp='$CPP $CPPFLAGS'
36211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36220 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36222 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36223 for ac_func in _isinfl
36224 do :
36225 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36226 if test "x$ac_cv_func__isinfl" = x""yes; then :
36227 cat >>confdefs.h <<_ACEOF
36228 #define HAVE__ISINFL 1
36229 _ACEOF
36232 done
36241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36242 $as_echo_n "checking for atan2l declaration... " >&6; }
36243 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36244 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36245 $as_echo_n "(cached) " >&6
36246 else
36249 ac_ext=cpp
36250 ac_cpp='$CXXCPP $CPPFLAGS'
36251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36256 /* end confdefs.h. */
36257 #include <math.h>
36259 main ()
36261 atan2l(0, 0);
36263 return 0;
36265 _ACEOF
36266 if ac_fn_cxx_try_compile "$LINENO"; then :
36267 glibcxx_cv_func_atan2l_use=yes
36268 else
36269 glibcxx_cv_func_atan2l_use=no
36271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36272 ac_ext=c
36273 ac_cpp='$CPP $CPPFLAGS'
36274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36283 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36285 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36286 for ac_func in atan2l
36287 do :
36288 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36289 if test "x$ac_cv_func_atan2l" = x""yes; then :
36290 cat >>confdefs.h <<_ACEOF
36291 #define HAVE_ATAN2L 1
36292 _ACEOF
36295 done
36297 else
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36300 $as_echo_n "checking for _atan2l declaration... " >&6; }
36301 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36302 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36303 $as_echo_n "(cached) " >&6
36304 else
36307 ac_ext=cpp
36308 ac_cpp='$CXXCPP $CPPFLAGS'
36309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36314 /* end confdefs.h. */
36315 #include <math.h>
36317 main ()
36319 _atan2l(0, 0);
36321 return 0;
36323 _ACEOF
36324 if ac_fn_cxx_try_compile "$LINENO"; then :
36325 glibcxx_cv_func__atan2l_use=yes
36326 else
36327 glibcxx_cv_func__atan2l_use=no
36329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36330 ac_ext=c
36331 ac_cpp='$CPP $CPPFLAGS'
36332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36341 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36343 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36344 for ac_func in _atan2l
36345 do :
36346 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36347 if test "x$ac_cv_func__atan2l" = x""yes; then :
36348 cat >>confdefs.h <<_ACEOF
36349 #define HAVE__ATAN2L 1
36350 _ACEOF
36353 done
36362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36363 $as_echo_n "checking for expl declaration... " >&6; }
36364 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36365 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36366 $as_echo_n "(cached) " >&6
36367 else
36370 ac_ext=cpp
36371 ac_cpp='$CXXCPP $CPPFLAGS'
36372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36377 /* end confdefs.h. */
36378 #include <math.h>
36379 #ifdef HAVE_IEEEFP_H
36380 #include <ieeefp.h>
36381 #endif
36384 main ()
36386 expl(0);
36388 return 0;
36390 _ACEOF
36391 if ac_fn_cxx_try_compile "$LINENO"; then :
36392 glibcxx_cv_func_expl_use=yes
36393 else
36394 glibcxx_cv_func_expl_use=no
36396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36397 ac_ext=c
36398 ac_cpp='$CPP $CPPFLAGS'
36399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36408 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36410 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36411 for ac_func in expl
36412 do :
36413 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36414 if test "x$ac_cv_func_expl" = x""yes; then :
36415 cat >>confdefs.h <<_ACEOF
36416 #define HAVE_EXPL 1
36417 _ACEOF
36420 done
36422 else
36424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36425 $as_echo_n "checking for _expl declaration... " >&6; }
36426 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36427 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36428 $as_echo_n "(cached) " >&6
36429 else
36432 ac_ext=cpp
36433 ac_cpp='$CXXCPP $CPPFLAGS'
36434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36439 /* end confdefs.h. */
36440 #include <math.h>
36441 #ifdef HAVE_IEEEFP_H
36442 #include <ieeefp.h>
36443 #endif
36446 main ()
36448 _expl(0);
36450 return 0;
36452 _ACEOF
36453 if ac_fn_cxx_try_compile "$LINENO"; then :
36454 glibcxx_cv_func__expl_use=yes
36455 else
36456 glibcxx_cv_func__expl_use=no
36458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36459 ac_ext=c
36460 ac_cpp='$CPP $CPPFLAGS'
36461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36470 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36472 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36473 for ac_func in _expl
36474 do :
36475 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36476 if test "x$ac_cv_func__expl" = x""yes; then :
36477 cat >>confdefs.h <<_ACEOF
36478 #define HAVE__EXPL 1
36479 _ACEOF
36482 done
36491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36492 $as_echo_n "checking for fabsl declaration... " >&6; }
36493 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36494 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36495 $as_echo_n "(cached) " >&6
36496 else
36499 ac_ext=cpp
36500 ac_cpp='$CXXCPP $CPPFLAGS'
36501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36506 /* end confdefs.h. */
36507 #include <math.h>
36508 #ifdef HAVE_IEEEFP_H
36509 #include <ieeefp.h>
36510 #endif
36513 main ()
36515 fabsl(0);
36517 return 0;
36519 _ACEOF
36520 if ac_fn_cxx_try_compile "$LINENO"; then :
36521 glibcxx_cv_func_fabsl_use=yes
36522 else
36523 glibcxx_cv_func_fabsl_use=no
36525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36526 ac_ext=c
36527 ac_cpp='$CPP $CPPFLAGS'
36528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36537 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36539 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36540 for ac_func in fabsl
36541 do :
36542 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36543 if test "x$ac_cv_func_fabsl" = x""yes; then :
36544 cat >>confdefs.h <<_ACEOF
36545 #define HAVE_FABSL 1
36546 _ACEOF
36549 done
36551 else
36553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36554 $as_echo_n "checking for _fabsl declaration... " >&6; }
36555 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36556 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36557 $as_echo_n "(cached) " >&6
36558 else
36561 ac_ext=cpp
36562 ac_cpp='$CXXCPP $CPPFLAGS'
36563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36568 /* end confdefs.h. */
36569 #include <math.h>
36570 #ifdef HAVE_IEEEFP_H
36571 #include <ieeefp.h>
36572 #endif
36575 main ()
36577 _fabsl(0);
36579 return 0;
36581 _ACEOF
36582 if ac_fn_cxx_try_compile "$LINENO"; then :
36583 glibcxx_cv_func__fabsl_use=yes
36584 else
36585 glibcxx_cv_func__fabsl_use=no
36587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36588 ac_ext=c
36589 ac_cpp='$CPP $CPPFLAGS'
36590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36599 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36601 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36602 for ac_func in _fabsl
36603 do :
36604 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36605 if test "x$ac_cv_func__fabsl" = x""yes; then :
36606 cat >>confdefs.h <<_ACEOF
36607 #define HAVE__FABSL 1
36608 _ACEOF
36611 done
36620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36621 $as_echo_n "checking for fmodl declaration... " >&6; }
36622 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36623 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36624 $as_echo_n "(cached) " >&6
36625 else
36628 ac_ext=cpp
36629 ac_cpp='$CXXCPP $CPPFLAGS'
36630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36635 /* end confdefs.h. */
36636 #include <math.h>
36638 main ()
36640 fmodl(0, 0);
36642 return 0;
36644 _ACEOF
36645 if ac_fn_cxx_try_compile "$LINENO"; then :
36646 glibcxx_cv_func_fmodl_use=yes
36647 else
36648 glibcxx_cv_func_fmodl_use=no
36650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36651 ac_ext=c
36652 ac_cpp='$CPP $CPPFLAGS'
36653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36662 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36664 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36665 for ac_func in fmodl
36666 do :
36667 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36668 if test "x$ac_cv_func_fmodl" = x""yes; then :
36669 cat >>confdefs.h <<_ACEOF
36670 #define HAVE_FMODL 1
36671 _ACEOF
36674 done
36676 else
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36679 $as_echo_n "checking for _fmodl declaration... " >&6; }
36680 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36681 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36682 $as_echo_n "(cached) " >&6
36683 else
36686 ac_ext=cpp
36687 ac_cpp='$CXXCPP $CPPFLAGS'
36688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36693 /* end confdefs.h. */
36694 #include <math.h>
36696 main ()
36698 _fmodl(0, 0);
36700 return 0;
36702 _ACEOF
36703 if ac_fn_cxx_try_compile "$LINENO"; then :
36704 glibcxx_cv_func__fmodl_use=yes
36705 else
36706 glibcxx_cv_func__fmodl_use=no
36708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36709 ac_ext=c
36710 ac_cpp='$CPP $CPPFLAGS'
36711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36720 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36722 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36723 for ac_func in _fmodl
36724 do :
36725 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36726 if test "x$ac_cv_func__fmodl" = x""yes; then :
36727 cat >>confdefs.h <<_ACEOF
36728 #define HAVE__FMODL 1
36729 _ACEOF
36732 done
36741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36742 $as_echo_n "checking for frexpl declaration... " >&6; }
36743 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36744 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36745 $as_echo_n "(cached) " >&6
36746 else
36749 ac_ext=cpp
36750 ac_cpp='$CXXCPP $CPPFLAGS'
36751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36756 /* end confdefs.h. */
36757 #include <math.h>
36759 main ()
36761 frexpl(0, 0);
36763 return 0;
36765 _ACEOF
36766 if ac_fn_cxx_try_compile "$LINENO"; then :
36767 glibcxx_cv_func_frexpl_use=yes
36768 else
36769 glibcxx_cv_func_frexpl_use=no
36771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36772 ac_ext=c
36773 ac_cpp='$CPP $CPPFLAGS'
36774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36783 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36785 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36786 for ac_func in frexpl
36787 do :
36788 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36789 if test "x$ac_cv_func_frexpl" = x""yes; then :
36790 cat >>confdefs.h <<_ACEOF
36791 #define HAVE_FREXPL 1
36792 _ACEOF
36795 done
36797 else
36799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36800 $as_echo_n "checking for _frexpl declaration... " >&6; }
36801 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36802 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36803 $as_echo_n "(cached) " >&6
36804 else
36807 ac_ext=cpp
36808 ac_cpp='$CXXCPP $CPPFLAGS'
36809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36814 /* end confdefs.h. */
36815 #include <math.h>
36817 main ()
36819 _frexpl(0, 0);
36821 return 0;
36823 _ACEOF
36824 if ac_fn_cxx_try_compile "$LINENO"; then :
36825 glibcxx_cv_func__frexpl_use=yes
36826 else
36827 glibcxx_cv_func__frexpl_use=no
36829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36830 ac_ext=c
36831 ac_cpp='$CPP $CPPFLAGS'
36832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36841 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36843 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36844 for ac_func in _frexpl
36845 do :
36846 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36847 if test "x$ac_cv_func__frexpl" = x""yes; then :
36848 cat >>confdefs.h <<_ACEOF
36849 #define HAVE__FREXPL 1
36850 _ACEOF
36853 done
36862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36863 $as_echo_n "checking for hypotl declaration... " >&6; }
36864 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36865 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36866 $as_echo_n "(cached) " >&6
36867 else
36870 ac_ext=cpp
36871 ac_cpp='$CXXCPP $CPPFLAGS'
36872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36877 /* end confdefs.h. */
36878 #include <math.h>
36880 main ()
36882 hypotl(0, 0);
36884 return 0;
36886 _ACEOF
36887 if ac_fn_cxx_try_compile "$LINENO"; then :
36888 glibcxx_cv_func_hypotl_use=yes
36889 else
36890 glibcxx_cv_func_hypotl_use=no
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36893 ac_ext=c
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36904 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36906 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36907 for ac_func in hypotl
36908 do :
36909 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36910 if test "x$ac_cv_func_hypotl" = x""yes; then :
36911 cat >>confdefs.h <<_ACEOF
36912 #define HAVE_HYPOTL 1
36913 _ACEOF
36916 done
36918 else
36920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36921 $as_echo_n "checking for _hypotl declaration... " >&6; }
36922 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36923 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36924 $as_echo_n "(cached) " >&6
36925 else
36928 ac_ext=cpp
36929 ac_cpp='$CXXCPP $CPPFLAGS'
36930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36935 /* end confdefs.h. */
36936 #include <math.h>
36938 main ()
36940 _hypotl(0, 0);
36942 return 0;
36944 _ACEOF
36945 if ac_fn_cxx_try_compile "$LINENO"; then :
36946 glibcxx_cv_func__hypotl_use=yes
36947 else
36948 glibcxx_cv_func__hypotl_use=no
36950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36951 ac_ext=c
36952 ac_cpp='$CPP $CPPFLAGS'
36953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36962 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36964 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36965 for ac_func in _hypotl
36966 do :
36967 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36968 if test "x$ac_cv_func__hypotl" = x""yes; then :
36969 cat >>confdefs.h <<_ACEOF
36970 #define HAVE__HYPOTL 1
36971 _ACEOF
36974 done
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36984 $as_echo_n "checking for ldexpl declaration... " >&6; }
36985 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36986 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36987 $as_echo_n "(cached) " >&6
36988 else
36991 ac_ext=cpp
36992 ac_cpp='$CXXCPP $CPPFLAGS'
36993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36998 /* end confdefs.h. */
36999 #include <math.h>
37001 main ()
37003 ldexpl(0, 0);
37005 return 0;
37007 _ACEOF
37008 if ac_fn_cxx_try_compile "$LINENO"; then :
37009 glibcxx_cv_func_ldexpl_use=yes
37010 else
37011 glibcxx_cv_func_ldexpl_use=no
37013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37014 ac_ext=c
37015 ac_cpp='$CPP $CPPFLAGS'
37016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37025 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37027 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37028 for ac_func in ldexpl
37029 do :
37030 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37031 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37032 cat >>confdefs.h <<_ACEOF
37033 #define HAVE_LDEXPL 1
37034 _ACEOF
37037 done
37039 else
37041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37042 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37043 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37044 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37045 $as_echo_n "(cached) " >&6
37046 else
37049 ac_ext=cpp
37050 ac_cpp='$CXXCPP $CPPFLAGS'
37051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37056 /* end confdefs.h. */
37057 #include <math.h>
37059 main ()
37061 _ldexpl(0, 0);
37063 return 0;
37065 _ACEOF
37066 if ac_fn_cxx_try_compile "$LINENO"; then :
37067 glibcxx_cv_func__ldexpl_use=yes
37068 else
37069 glibcxx_cv_func__ldexpl_use=no
37071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37072 ac_ext=c
37073 ac_cpp='$CPP $CPPFLAGS'
37074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37083 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37085 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37086 for ac_func in _ldexpl
37087 do :
37088 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37089 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37090 cat >>confdefs.h <<_ACEOF
37091 #define HAVE__LDEXPL 1
37092 _ACEOF
37095 done
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37105 $as_echo_n "checking for logl declaration... " >&6; }
37106 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37107 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37108 $as_echo_n "(cached) " >&6
37109 else
37112 ac_ext=cpp
37113 ac_cpp='$CXXCPP $CPPFLAGS'
37114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37119 /* end confdefs.h. */
37120 #include <math.h>
37121 #ifdef HAVE_IEEEFP_H
37122 #include <ieeefp.h>
37123 #endif
37126 main ()
37128 logl(0);
37130 return 0;
37132 _ACEOF
37133 if ac_fn_cxx_try_compile "$LINENO"; then :
37134 glibcxx_cv_func_logl_use=yes
37135 else
37136 glibcxx_cv_func_logl_use=no
37138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37139 ac_ext=c
37140 ac_cpp='$CPP $CPPFLAGS'
37141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37150 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37152 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37153 for ac_func in logl
37154 do :
37155 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37156 if test "x$ac_cv_func_logl" = x""yes; then :
37157 cat >>confdefs.h <<_ACEOF
37158 #define HAVE_LOGL 1
37159 _ACEOF
37162 done
37164 else
37166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37167 $as_echo_n "checking for _logl declaration... " >&6; }
37168 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37169 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37170 $as_echo_n "(cached) " >&6
37171 else
37174 ac_ext=cpp
37175 ac_cpp='$CXXCPP $CPPFLAGS'
37176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37181 /* end confdefs.h. */
37182 #include <math.h>
37183 #ifdef HAVE_IEEEFP_H
37184 #include <ieeefp.h>
37185 #endif
37188 main ()
37190 _logl(0);
37192 return 0;
37194 _ACEOF
37195 if ac_fn_cxx_try_compile "$LINENO"; then :
37196 glibcxx_cv_func__logl_use=yes
37197 else
37198 glibcxx_cv_func__logl_use=no
37200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37201 ac_ext=c
37202 ac_cpp='$CPP $CPPFLAGS'
37203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37212 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37214 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37215 for ac_func in _logl
37216 do :
37217 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37218 if test "x$ac_cv_func__logl" = x""yes; then :
37219 cat >>confdefs.h <<_ACEOF
37220 #define HAVE__LOGL 1
37221 _ACEOF
37224 done
37233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37234 $as_echo_n "checking for log10l declaration... " >&6; }
37235 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37236 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37237 $as_echo_n "(cached) " >&6
37238 else
37241 ac_ext=cpp
37242 ac_cpp='$CXXCPP $CPPFLAGS'
37243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37248 /* end confdefs.h. */
37249 #include <math.h>
37250 #ifdef HAVE_IEEEFP_H
37251 #include <ieeefp.h>
37252 #endif
37255 main ()
37257 log10l(0);
37259 return 0;
37261 _ACEOF
37262 if ac_fn_cxx_try_compile "$LINENO"; then :
37263 glibcxx_cv_func_log10l_use=yes
37264 else
37265 glibcxx_cv_func_log10l_use=no
37267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37268 ac_ext=c
37269 ac_cpp='$CPP $CPPFLAGS'
37270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37279 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37281 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37282 for ac_func in log10l
37283 do :
37284 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37285 if test "x$ac_cv_func_log10l" = x""yes; then :
37286 cat >>confdefs.h <<_ACEOF
37287 #define HAVE_LOG10L 1
37288 _ACEOF
37291 done
37293 else
37295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37296 $as_echo_n "checking for _log10l declaration... " >&6; }
37297 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37298 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37299 $as_echo_n "(cached) " >&6
37300 else
37303 ac_ext=cpp
37304 ac_cpp='$CXXCPP $CPPFLAGS'
37305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37310 /* end confdefs.h. */
37311 #include <math.h>
37312 #ifdef HAVE_IEEEFP_H
37313 #include <ieeefp.h>
37314 #endif
37317 main ()
37319 _log10l(0);
37321 return 0;
37323 _ACEOF
37324 if ac_fn_cxx_try_compile "$LINENO"; then :
37325 glibcxx_cv_func__log10l_use=yes
37326 else
37327 glibcxx_cv_func__log10l_use=no
37329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37330 ac_ext=c
37331 ac_cpp='$CPP $CPPFLAGS'
37332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37341 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37343 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37344 for ac_func in _log10l
37345 do :
37346 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37347 if test "x$ac_cv_func__log10l" = x""yes; then :
37348 cat >>confdefs.h <<_ACEOF
37349 #define HAVE__LOG10L 1
37350 _ACEOF
37353 done
37362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37363 $as_echo_n "checking for modfl declaration... " >&6; }
37364 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37365 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37366 $as_echo_n "(cached) " >&6
37367 else
37370 ac_ext=cpp
37371 ac_cpp='$CXXCPP $CPPFLAGS'
37372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37377 /* end confdefs.h. */
37378 #include <math.h>
37380 main ()
37382 modfl(0, 0);
37384 return 0;
37386 _ACEOF
37387 if ac_fn_cxx_try_compile "$LINENO"; then :
37388 glibcxx_cv_func_modfl_use=yes
37389 else
37390 glibcxx_cv_func_modfl_use=no
37392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37393 ac_ext=c
37394 ac_cpp='$CPP $CPPFLAGS'
37395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37404 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37406 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37407 for ac_func in modfl
37408 do :
37409 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37410 if test "x$ac_cv_func_modfl" = x""yes; then :
37411 cat >>confdefs.h <<_ACEOF
37412 #define HAVE_MODFL 1
37413 _ACEOF
37416 done
37418 else
37420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37421 $as_echo_n "checking for _modfl declaration... " >&6; }
37422 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37423 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37424 $as_echo_n "(cached) " >&6
37425 else
37428 ac_ext=cpp
37429 ac_cpp='$CXXCPP $CPPFLAGS'
37430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37435 /* end confdefs.h. */
37436 #include <math.h>
37438 main ()
37440 _modfl(0, 0);
37442 return 0;
37444 _ACEOF
37445 if ac_fn_cxx_try_compile "$LINENO"; then :
37446 glibcxx_cv_func__modfl_use=yes
37447 else
37448 glibcxx_cv_func__modfl_use=no
37450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37451 ac_ext=c
37452 ac_cpp='$CPP $CPPFLAGS'
37453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37462 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37464 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37465 for ac_func in _modfl
37466 do :
37467 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37468 if test "x$ac_cv_func__modfl" = x""yes; then :
37469 cat >>confdefs.h <<_ACEOF
37470 #define HAVE__MODFL 1
37471 _ACEOF
37474 done
37483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37484 $as_echo_n "checking for powl declaration... " >&6; }
37485 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37486 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37487 $as_echo_n "(cached) " >&6
37488 else
37491 ac_ext=cpp
37492 ac_cpp='$CXXCPP $CPPFLAGS'
37493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37498 /* end confdefs.h. */
37499 #include <math.h>
37501 main ()
37503 powl(0, 0);
37505 return 0;
37507 _ACEOF
37508 if ac_fn_cxx_try_compile "$LINENO"; then :
37509 glibcxx_cv_func_powl_use=yes
37510 else
37511 glibcxx_cv_func_powl_use=no
37513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37514 ac_ext=c
37515 ac_cpp='$CPP $CPPFLAGS'
37516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37525 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37527 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37528 for ac_func in powl
37529 do :
37530 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37531 if test "x$ac_cv_func_powl" = x""yes; then :
37532 cat >>confdefs.h <<_ACEOF
37533 #define HAVE_POWL 1
37534 _ACEOF
37537 done
37539 else
37541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37542 $as_echo_n "checking for _powl declaration... " >&6; }
37543 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37544 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37545 $as_echo_n "(cached) " >&6
37546 else
37549 ac_ext=cpp
37550 ac_cpp='$CXXCPP $CPPFLAGS'
37551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37556 /* end confdefs.h. */
37557 #include <math.h>
37559 main ()
37561 _powl(0, 0);
37563 return 0;
37565 _ACEOF
37566 if ac_fn_cxx_try_compile "$LINENO"; then :
37567 glibcxx_cv_func__powl_use=yes
37568 else
37569 glibcxx_cv_func__powl_use=no
37571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37572 ac_ext=c
37573 ac_cpp='$CPP $CPPFLAGS'
37574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37583 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37585 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37586 for ac_func in _powl
37587 do :
37588 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37589 if test "x$ac_cv_func__powl" = x""yes; then :
37590 cat >>confdefs.h <<_ACEOF
37591 #define HAVE__POWL 1
37592 _ACEOF
37595 done
37604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37605 $as_echo_n "checking for sqrtl declaration... " >&6; }
37606 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37607 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37608 $as_echo_n "(cached) " >&6
37609 else
37612 ac_ext=cpp
37613 ac_cpp='$CXXCPP $CPPFLAGS'
37614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37619 /* end confdefs.h. */
37620 #include <math.h>
37621 #ifdef HAVE_IEEEFP_H
37622 #include <ieeefp.h>
37623 #endif
37626 main ()
37628 sqrtl(0);
37630 return 0;
37632 _ACEOF
37633 if ac_fn_cxx_try_compile "$LINENO"; then :
37634 glibcxx_cv_func_sqrtl_use=yes
37635 else
37636 glibcxx_cv_func_sqrtl_use=no
37638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37639 ac_ext=c
37640 ac_cpp='$CPP $CPPFLAGS'
37641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37650 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37652 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37653 for ac_func in sqrtl
37654 do :
37655 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37656 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37657 cat >>confdefs.h <<_ACEOF
37658 #define HAVE_SQRTL 1
37659 _ACEOF
37662 done
37664 else
37666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37667 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37668 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37669 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37670 $as_echo_n "(cached) " >&6
37671 else
37674 ac_ext=cpp
37675 ac_cpp='$CXXCPP $CPPFLAGS'
37676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37681 /* end confdefs.h. */
37682 #include <math.h>
37683 #ifdef HAVE_IEEEFP_H
37684 #include <ieeefp.h>
37685 #endif
37688 main ()
37690 _sqrtl(0);
37692 return 0;
37694 _ACEOF
37695 if ac_fn_cxx_try_compile "$LINENO"; then :
37696 glibcxx_cv_func__sqrtl_use=yes
37697 else
37698 glibcxx_cv_func__sqrtl_use=no
37700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37701 ac_ext=c
37702 ac_cpp='$CPP $CPPFLAGS'
37703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37712 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37714 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37715 for ac_func in _sqrtl
37716 do :
37717 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37718 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37719 cat >>confdefs.h <<_ACEOF
37720 #define HAVE__SQRTL 1
37721 _ACEOF
37724 done
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37734 $as_echo_n "checking for sincosl declaration... " >&6; }
37735 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37736 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37737 $as_echo_n "(cached) " >&6
37738 else
37741 ac_ext=cpp
37742 ac_cpp='$CXXCPP $CPPFLAGS'
37743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37748 /* end confdefs.h. */
37749 #include <math.h>
37751 main ()
37753 sincosl(0, 0, 0);
37755 return 0;
37757 _ACEOF
37758 if ac_fn_cxx_try_compile "$LINENO"; then :
37759 glibcxx_cv_func_sincosl_use=yes
37760 else
37761 glibcxx_cv_func_sincosl_use=no
37763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37764 ac_ext=c
37765 ac_cpp='$CPP $CPPFLAGS'
37766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37775 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37777 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37778 for ac_func in sincosl
37779 do :
37780 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37781 if test "x$ac_cv_func_sincosl" = x""yes; then :
37782 cat >>confdefs.h <<_ACEOF
37783 #define HAVE_SINCOSL 1
37784 _ACEOF
37787 done
37789 else
37791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37792 $as_echo_n "checking for _sincosl declaration... " >&6; }
37793 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37794 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37795 $as_echo_n "(cached) " >&6
37796 else
37799 ac_ext=cpp
37800 ac_cpp='$CXXCPP $CPPFLAGS'
37801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37806 /* end confdefs.h. */
37807 #include <math.h>
37809 main ()
37811 _sincosl(0, 0, 0);
37813 return 0;
37815 _ACEOF
37816 if ac_fn_cxx_try_compile "$LINENO"; then :
37817 glibcxx_cv_func__sincosl_use=yes
37818 else
37819 glibcxx_cv_func__sincosl_use=no
37821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37822 ac_ext=c
37823 ac_cpp='$CPP $CPPFLAGS'
37824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37833 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37835 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37836 for ac_func in _sincosl
37837 do :
37838 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37839 if test "x$ac_cv_func__sincosl" = x""yes; then :
37840 cat >>confdefs.h <<_ACEOF
37841 #define HAVE__SINCOSL 1
37842 _ACEOF
37845 done
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37855 $as_echo_n "checking for finitel declaration... " >&6; }
37856 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37857 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37858 $as_echo_n "(cached) " >&6
37859 else
37862 ac_ext=cpp
37863 ac_cpp='$CXXCPP $CPPFLAGS'
37864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37869 /* end confdefs.h. */
37870 #include <math.h>
37871 #ifdef HAVE_IEEEFP_H
37872 #include <ieeefp.h>
37873 #endif
37876 main ()
37878 finitel(0);
37880 return 0;
37882 _ACEOF
37883 if ac_fn_cxx_try_compile "$LINENO"; then :
37884 glibcxx_cv_func_finitel_use=yes
37885 else
37886 glibcxx_cv_func_finitel_use=no
37888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37889 ac_ext=c
37890 ac_cpp='$CPP $CPPFLAGS'
37891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37900 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37902 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37903 for ac_func in finitel
37904 do :
37905 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37906 if test "x$ac_cv_func_finitel" = x""yes; then :
37907 cat >>confdefs.h <<_ACEOF
37908 #define HAVE_FINITEL 1
37909 _ACEOF
37912 done
37914 else
37916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37917 $as_echo_n "checking for _finitel declaration... " >&6; }
37918 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37919 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37920 $as_echo_n "(cached) " >&6
37921 else
37924 ac_ext=cpp
37925 ac_cpp='$CXXCPP $CPPFLAGS'
37926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37931 /* end confdefs.h. */
37932 #include <math.h>
37933 #ifdef HAVE_IEEEFP_H
37934 #include <ieeefp.h>
37935 #endif
37938 main ()
37940 _finitel(0);
37942 return 0;
37944 _ACEOF
37945 if ac_fn_cxx_try_compile "$LINENO"; then :
37946 glibcxx_cv_func__finitel_use=yes
37947 else
37948 glibcxx_cv_func__finitel_use=no
37950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37951 ac_ext=c
37952 ac_cpp='$CPP $CPPFLAGS'
37953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37962 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37964 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37965 for ac_func in _finitel
37966 do :
37967 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37968 if test "x$ac_cv_func__finitel" = x""yes; then :
37969 cat >>confdefs.h <<_ACEOF
37970 #define HAVE__FINITEL 1
37971 _ACEOF
37974 done
37982 LIBS="$ac_save_LIBS"
37983 CXXFLAGS="$ac_save_CXXFLAGS"
37986 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37987 ac_save_CXXFLAGS="$CXXFLAGS"
37988 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37992 $as_echo_n "checking for strtold declaration... " >&6; }
37993 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37994 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37995 $as_echo_n "(cached) " >&6
37996 else
37999 ac_ext=cpp
38000 ac_cpp='$CXXCPP $CPPFLAGS'
38001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38006 /* end confdefs.h. */
38007 #include <stdlib.h>
38009 main ()
38011 strtold(0, 0);
38013 return 0;
38015 _ACEOF
38016 if ac_fn_cxx_try_compile "$LINENO"; then :
38017 glibcxx_cv_func_strtold_use=yes
38018 else
38019 glibcxx_cv_func_strtold_use=no
38021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38022 ac_ext=c
38023 ac_cpp='$CPP $CPPFLAGS'
38024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38033 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38034 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38035 for ac_func in strtold
38036 do :
38037 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38038 if test "x$ac_cv_func_strtold" = x""yes; then :
38039 cat >>confdefs.h <<_ACEOF
38040 #define HAVE_STRTOLD 1
38041 _ACEOF
38044 done
38051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38052 $as_echo_n "checking for strtof declaration... " >&6; }
38053 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38054 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38055 $as_echo_n "(cached) " >&6
38056 else
38059 ac_ext=cpp
38060 ac_cpp='$CXXCPP $CPPFLAGS'
38061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38066 /* end confdefs.h. */
38067 #include <stdlib.h>
38069 main ()
38071 strtof(0, 0);
38073 return 0;
38075 _ACEOF
38076 if ac_fn_cxx_try_compile "$LINENO"; then :
38077 glibcxx_cv_func_strtof_use=yes
38078 else
38079 glibcxx_cv_func_strtof_use=no
38081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38082 ac_ext=c
38083 ac_cpp='$CPP $CPPFLAGS'
38084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38093 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38094 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38095 for ac_func in strtof
38096 do :
38097 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38098 if test "x$ac_cv_func_strtof" = x""yes; then :
38099 cat >>confdefs.h <<_ACEOF
38100 #define HAVE_STRTOF 1
38101 _ACEOF
38104 done
38111 CXXFLAGS="$ac_save_CXXFLAGS"
38113 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38115 # We don't yet support AIX's TLS ABI.
38116 #GCC_CHECK_TLS
38122 am_save_CPPFLAGS="$CPPFLAGS"
38124 for element in $INCICONV; do
38125 haveit=
38126 for x in $CPPFLAGS; do
38128 acl_save_prefix="$prefix"
38129 prefix="$acl_final_prefix"
38130 acl_save_exec_prefix="$exec_prefix"
38131 exec_prefix="$acl_final_exec_prefix"
38132 eval x=\"$x\"
38133 exec_prefix="$acl_save_exec_prefix"
38134 prefix="$acl_save_prefix"
38136 if test "X$x" = "X$element"; then
38137 haveit=yes
38138 break
38140 done
38141 if test -z "$haveit"; then
38142 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38144 done
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38148 $as_echo_n "checking for iconv... " >&6; }
38149 if test "${am_cv_func_iconv+set}" = set; then :
38150 $as_echo_n "(cached) " >&6
38151 else
38153 am_cv_func_iconv="no, consider installing GNU libiconv"
38154 am_cv_lib_iconv=no
38155 if test x$gcc_no_link = xyes; then
38156 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38159 /* end confdefs.h. */
38160 #include <stdlib.h>
38161 #include <iconv.h>
38163 main ()
38165 iconv_t cd = iconv_open("","");
38166 iconv(cd,NULL,NULL,NULL,NULL);
38167 iconv_close(cd);
38169 return 0;
38171 _ACEOF
38172 if ac_fn_c_try_link "$LINENO"; then :
38173 am_cv_func_iconv=yes
38175 rm -f core conftest.err conftest.$ac_objext \
38176 conftest$ac_exeext conftest.$ac_ext
38177 if test "$am_cv_func_iconv" != yes; then
38178 am_save_LIBS="$LIBS"
38179 LIBS="$LIBS $LIBICONV"
38180 if test x$gcc_no_link = xyes; then
38181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38184 /* end confdefs.h. */
38185 #include <stdlib.h>
38186 #include <iconv.h>
38188 main ()
38190 iconv_t cd = iconv_open("","");
38191 iconv(cd,NULL,NULL,NULL,NULL);
38192 iconv_close(cd);
38194 return 0;
38196 _ACEOF
38197 if ac_fn_c_try_link "$LINENO"; then :
38198 am_cv_lib_iconv=yes
38199 am_cv_func_iconv=yes
38201 rm -f core conftest.err conftest.$ac_objext \
38202 conftest$ac_exeext conftest.$ac_ext
38203 LIBS="$am_save_LIBS"
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38208 $as_echo "$am_cv_func_iconv" >&6; }
38209 if test "$am_cv_func_iconv" = yes; then
38211 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38214 if test "$am_cv_lib_iconv" = yes; then
38215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38216 $as_echo_n "checking how to link with libiconv... " >&6; }
38217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38218 $as_echo "$LIBICONV" >&6; }
38219 else
38220 CPPFLAGS="$am_save_CPPFLAGS"
38221 LIBICONV=
38222 LTLIBICONV=
38227 if test "$am_cv_func_iconv" = yes; then
38228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38229 $as_echo_n "checking for iconv declaration... " >&6; }
38230 if test "${am_cv_proto_iconv+set}" = set; then :
38231 $as_echo_n "(cached) " >&6
38232 else
38234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38235 /* end confdefs.h. */
38237 #include <stdlib.h>
38238 #include <iconv.h>
38239 extern
38240 #ifdef __cplusplus
38242 #endif
38243 #if defined(__STDC__) || defined(__cplusplus)
38244 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38245 #else
38246 size_t iconv();
38247 #endif
38250 main ()
38254 return 0;
38256 _ACEOF
38257 if ac_fn_c_try_compile "$LINENO"; then :
38258 am_cv_proto_iconv_arg1=""
38259 else
38260 am_cv_proto_iconv_arg1="const"
38262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38263 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);"
38266 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38268 }$am_cv_proto_iconv" >&5
38269 $as_echo "${ac_t:-
38270 }$am_cv_proto_iconv" >&6; }
38272 cat >>confdefs.h <<_ACEOF
38273 #define ICONV_CONST $am_cv_proto_iconv_arg1
38274 _ACEOF
38280 *-darwin*)
38281 # Darwin versions vary, but the linker should work in a cross environment,
38282 # so we just check for all the features here.
38283 # Check for available headers.
38285 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38287 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38288 ac_save_CXXFLAGS="$CXXFLAGS"
38289 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38292 $as_echo_n "checking for sin in -lm... " >&6; }
38293 if test "${ac_cv_lib_m_sin+set}" = set; then :
38294 $as_echo_n "(cached) " >&6
38295 else
38296 ac_check_lib_save_LIBS=$LIBS
38297 LIBS="-lm $LIBS"
38298 if test x$gcc_no_link = xyes; then
38299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38302 /* end confdefs.h. */
38304 /* Override any GCC internal prototype to avoid an error.
38305 Use char because int might match the return type of a GCC
38306 builtin and then its argument prototype would still apply. */
38307 #ifdef __cplusplus
38308 extern "C"
38309 #endif
38310 char sin ();
38312 main ()
38314 return sin ();
38316 return 0;
38318 _ACEOF
38319 if ac_fn_c_try_link "$LINENO"; then :
38320 ac_cv_lib_m_sin=yes
38321 else
38322 ac_cv_lib_m_sin=no
38324 rm -f core conftest.err conftest.$ac_objext \
38325 conftest$ac_exeext conftest.$ac_ext
38326 LIBS=$ac_check_lib_save_LIBS
38328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38329 $as_echo "$ac_cv_lib_m_sin" >&6; }
38330 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38331 libm="-lm"
38334 ac_save_LIBS="$LIBS"
38335 LIBS="$LIBS $libm"
38339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38340 $as_echo_n "checking for isinf declaration... " >&6; }
38341 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38342 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38343 $as_echo_n "(cached) " >&6
38344 else
38347 ac_ext=cpp
38348 ac_cpp='$CXXCPP $CPPFLAGS'
38349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38354 /* end confdefs.h. */
38355 #include <math.h>
38356 #ifdef HAVE_IEEEFP_H
38357 #include <ieeefp.h>
38358 #endif
38361 main ()
38363 isinf(0);
38365 return 0;
38367 _ACEOF
38368 if ac_fn_cxx_try_compile "$LINENO"; then :
38369 glibcxx_cv_func_isinf_use=yes
38370 else
38371 glibcxx_cv_func_isinf_use=no
38373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38374 ac_ext=c
38375 ac_cpp='$CPP $CPPFLAGS'
38376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38385 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38387 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38388 for ac_func in isinf
38389 do :
38390 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38391 if test "x$ac_cv_func_isinf" = x""yes; then :
38392 cat >>confdefs.h <<_ACEOF
38393 #define HAVE_ISINF 1
38394 _ACEOF
38397 done
38399 else
38401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38402 $as_echo_n "checking for _isinf declaration... " >&6; }
38403 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38404 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38405 $as_echo_n "(cached) " >&6
38406 else
38409 ac_ext=cpp
38410 ac_cpp='$CXXCPP $CPPFLAGS'
38411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38416 /* end confdefs.h. */
38417 #include <math.h>
38418 #ifdef HAVE_IEEEFP_H
38419 #include <ieeefp.h>
38420 #endif
38423 main ()
38425 _isinf(0);
38427 return 0;
38429 _ACEOF
38430 if ac_fn_cxx_try_compile "$LINENO"; then :
38431 glibcxx_cv_func__isinf_use=yes
38432 else
38433 glibcxx_cv_func__isinf_use=no
38435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38436 ac_ext=c
38437 ac_cpp='$CPP $CPPFLAGS'
38438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38447 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38449 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38450 for ac_func in _isinf
38451 do :
38452 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38453 if test "x$ac_cv_func__isinf" = x""yes; then :
38454 cat >>confdefs.h <<_ACEOF
38455 #define HAVE__ISINF 1
38456 _ACEOF
38459 done
38468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38469 $as_echo_n "checking for isnan declaration... " >&6; }
38470 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38471 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38472 $as_echo_n "(cached) " >&6
38473 else
38476 ac_ext=cpp
38477 ac_cpp='$CXXCPP $CPPFLAGS'
38478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38483 /* end confdefs.h. */
38484 #include <math.h>
38485 #ifdef HAVE_IEEEFP_H
38486 #include <ieeefp.h>
38487 #endif
38490 main ()
38492 isnan(0);
38494 return 0;
38496 _ACEOF
38497 if ac_fn_cxx_try_compile "$LINENO"; then :
38498 glibcxx_cv_func_isnan_use=yes
38499 else
38500 glibcxx_cv_func_isnan_use=no
38502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38503 ac_ext=c
38504 ac_cpp='$CPP $CPPFLAGS'
38505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38514 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38516 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38517 for ac_func in isnan
38518 do :
38519 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38520 if test "x$ac_cv_func_isnan" = x""yes; then :
38521 cat >>confdefs.h <<_ACEOF
38522 #define HAVE_ISNAN 1
38523 _ACEOF
38526 done
38528 else
38530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38531 $as_echo_n "checking for _isnan declaration... " >&6; }
38532 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38533 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38534 $as_echo_n "(cached) " >&6
38535 else
38538 ac_ext=cpp
38539 ac_cpp='$CXXCPP $CPPFLAGS'
38540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38545 /* end confdefs.h. */
38546 #include <math.h>
38547 #ifdef HAVE_IEEEFP_H
38548 #include <ieeefp.h>
38549 #endif
38552 main ()
38554 _isnan(0);
38556 return 0;
38558 _ACEOF
38559 if ac_fn_cxx_try_compile "$LINENO"; then :
38560 glibcxx_cv_func__isnan_use=yes
38561 else
38562 glibcxx_cv_func__isnan_use=no
38564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38565 ac_ext=c
38566 ac_cpp='$CPP $CPPFLAGS'
38567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38576 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38578 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38579 for ac_func in _isnan
38580 do :
38581 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38582 if test "x$ac_cv_func__isnan" = x""yes; then :
38583 cat >>confdefs.h <<_ACEOF
38584 #define HAVE__ISNAN 1
38585 _ACEOF
38588 done
38597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38598 $as_echo_n "checking for finite declaration... " >&6; }
38599 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38600 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38601 $as_echo_n "(cached) " >&6
38602 else
38605 ac_ext=cpp
38606 ac_cpp='$CXXCPP $CPPFLAGS'
38607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38612 /* end confdefs.h. */
38613 #include <math.h>
38614 #ifdef HAVE_IEEEFP_H
38615 #include <ieeefp.h>
38616 #endif
38619 main ()
38621 finite(0);
38623 return 0;
38625 _ACEOF
38626 if ac_fn_cxx_try_compile "$LINENO"; then :
38627 glibcxx_cv_func_finite_use=yes
38628 else
38629 glibcxx_cv_func_finite_use=no
38631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38632 ac_ext=c
38633 ac_cpp='$CPP $CPPFLAGS'
38634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38643 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38645 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38646 for ac_func in finite
38647 do :
38648 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38649 if test "x$ac_cv_func_finite" = x""yes; then :
38650 cat >>confdefs.h <<_ACEOF
38651 #define HAVE_FINITE 1
38652 _ACEOF
38655 done
38657 else
38659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38660 $as_echo_n "checking for _finite declaration... " >&6; }
38661 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38662 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38663 $as_echo_n "(cached) " >&6
38664 else
38667 ac_ext=cpp
38668 ac_cpp='$CXXCPP $CPPFLAGS'
38669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38674 /* end confdefs.h. */
38675 #include <math.h>
38676 #ifdef HAVE_IEEEFP_H
38677 #include <ieeefp.h>
38678 #endif
38681 main ()
38683 _finite(0);
38685 return 0;
38687 _ACEOF
38688 if ac_fn_cxx_try_compile "$LINENO"; then :
38689 glibcxx_cv_func__finite_use=yes
38690 else
38691 glibcxx_cv_func__finite_use=no
38693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38694 ac_ext=c
38695 ac_cpp='$CPP $CPPFLAGS'
38696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38705 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38707 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38708 for ac_func in _finite
38709 do :
38710 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38711 if test "x$ac_cv_func__finite" = x""yes; then :
38712 cat >>confdefs.h <<_ACEOF
38713 #define HAVE__FINITE 1
38714 _ACEOF
38717 done
38726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38727 $as_echo_n "checking for sincos declaration... " >&6; }
38728 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38729 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38730 $as_echo_n "(cached) " >&6
38731 else
38734 ac_ext=cpp
38735 ac_cpp='$CXXCPP $CPPFLAGS'
38736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38741 /* end confdefs.h. */
38742 #include <math.h>
38744 main ()
38746 sincos(0, 0, 0);
38748 return 0;
38750 _ACEOF
38751 if ac_fn_cxx_try_compile "$LINENO"; then :
38752 glibcxx_cv_func_sincos_use=yes
38753 else
38754 glibcxx_cv_func_sincos_use=no
38756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38757 ac_ext=c
38758 ac_cpp='$CPP $CPPFLAGS'
38759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38768 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38770 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38771 for ac_func in sincos
38772 do :
38773 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38774 if test "x$ac_cv_func_sincos" = x""yes; then :
38775 cat >>confdefs.h <<_ACEOF
38776 #define HAVE_SINCOS 1
38777 _ACEOF
38780 done
38782 else
38784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38785 $as_echo_n "checking for _sincos declaration... " >&6; }
38786 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38787 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38788 $as_echo_n "(cached) " >&6
38789 else
38792 ac_ext=cpp
38793 ac_cpp='$CXXCPP $CPPFLAGS'
38794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38799 /* end confdefs.h. */
38800 #include <math.h>
38802 main ()
38804 _sincos(0, 0, 0);
38806 return 0;
38808 _ACEOF
38809 if ac_fn_cxx_try_compile "$LINENO"; then :
38810 glibcxx_cv_func__sincos_use=yes
38811 else
38812 glibcxx_cv_func__sincos_use=no
38814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38815 ac_ext=c
38816 ac_cpp='$CPP $CPPFLAGS'
38817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38826 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38828 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38829 for ac_func in _sincos
38830 do :
38831 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38832 if test "x$ac_cv_func__sincos" = x""yes; then :
38833 cat >>confdefs.h <<_ACEOF
38834 #define HAVE__SINCOS 1
38835 _ACEOF
38838 done
38847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38848 $as_echo_n "checking for fpclass declaration... " >&6; }
38849 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38850 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38851 $as_echo_n "(cached) " >&6
38852 else
38855 ac_ext=cpp
38856 ac_cpp='$CXXCPP $CPPFLAGS'
38857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38862 /* end confdefs.h. */
38863 #include <math.h>
38864 #ifdef HAVE_IEEEFP_H
38865 #include <ieeefp.h>
38866 #endif
38869 main ()
38871 fpclass(0);
38873 return 0;
38875 _ACEOF
38876 if ac_fn_cxx_try_compile "$LINENO"; then :
38877 glibcxx_cv_func_fpclass_use=yes
38878 else
38879 glibcxx_cv_func_fpclass_use=no
38881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38882 ac_ext=c
38883 ac_cpp='$CPP $CPPFLAGS'
38884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38893 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38895 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38896 for ac_func in fpclass
38897 do :
38898 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38899 if test "x$ac_cv_func_fpclass" = x""yes; then :
38900 cat >>confdefs.h <<_ACEOF
38901 #define HAVE_FPCLASS 1
38902 _ACEOF
38905 done
38907 else
38909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38910 $as_echo_n "checking for _fpclass declaration... " >&6; }
38911 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38912 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38913 $as_echo_n "(cached) " >&6
38914 else
38917 ac_ext=cpp
38918 ac_cpp='$CXXCPP $CPPFLAGS'
38919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38924 /* end confdefs.h. */
38925 #include <math.h>
38926 #ifdef HAVE_IEEEFP_H
38927 #include <ieeefp.h>
38928 #endif
38931 main ()
38933 _fpclass(0);
38935 return 0;
38937 _ACEOF
38938 if ac_fn_cxx_try_compile "$LINENO"; then :
38939 glibcxx_cv_func__fpclass_use=yes
38940 else
38941 glibcxx_cv_func__fpclass_use=no
38943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38944 ac_ext=c
38945 ac_cpp='$CPP $CPPFLAGS'
38946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38955 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38957 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38958 for ac_func in _fpclass
38959 do :
38960 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38961 if test "x$ac_cv_func__fpclass" = x""yes; then :
38962 cat >>confdefs.h <<_ACEOF
38963 #define HAVE__FPCLASS 1
38964 _ACEOF
38967 done
38976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38977 $as_echo_n "checking for qfpclass declaration... " >&6; }
38978 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38979 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38980 $as_echo_n "(cached) " >&6
38981 else
38984 ac_ext=cpp
38985 ac_cpp='$CXXCPP $CPPFLAGS'
38986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38991 /* end confdefs.h. */
38992 #include <math.h>
38993 #ifdef HAVE_IEEEFP_H
38994 #include <ieeefp.h>
38995 #endif
38998 main ()
39000 qfpclass(0);
39002 return 0;
39004 _ACEOF
39005 if ac_fn_cxx_try_compile "$LINENO"; then :
39006 glibcxx_cv_func_qfpclass_use=yes
39007 else
39008 glibcxx_cv_func_qfpclass_use=no
39010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39011 ac_ext=c
39012 ac_cpp='$CPP $CPPFLAGS'
39013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39022 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39024 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39025 for ac_func in qfpclass
39026 do :
39027 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39028 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39029 cat >>confdefs.h <<_ACEOF
39030 #define HAVE_QFPCLASS 1
39031 _ACEOF
39034 done
39036 else
39038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39039 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39040 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39041 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39042 $as_echo_n "(cached) " >&6
39043 else
39046 ac_ext=cpp
39047 ac_cpp='$CXXCPP $CPPFLAGS'
39048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39053 /* end confdefs.h. */
39054 #include <math.h>
39055 #ifdef HAVE_IEEEFP_H
39056 #include <ieeefp.h>
39057 #endif
39060 main ()
39062 _qfpclass(0);
39064 return 0;
39066 _ACEOF
39067 if ac_fn_cxx_try_compile "$LINENO"; then :
39068 glibcxx_cv_func__qfpclass_use=yes
39069 else
39070 glibcxx_cv_func__qfpclass_use=no
39072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39073 ac_ext=c
39074 ac_cpp='$CPP $CPPFLAGS'
39075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39084 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39086 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39087 for ac_func in _qfpclass
39088 do :
39089 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39090 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39091 cat >>confdefs.h <<_ACEOF
39092 #define HAVE__QFPCLASS 1
39093 _ACEOF
39096 done
39105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39106 $as_echo_n "checking for hypot declaration... " >&6; }
39107 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39108 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39109 $as_echo_n "(cached) " >&6
39110 else
39113 ac_ext=cpp
39114 ac_cpp='$CXXCPP $CPPFLAGS'
39115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39120 /* end confdefs.h. */
39121 #include <math.h>
39123 main ()
39125 hypot(0, 0);
39127 return 0;
39129 _ACEOF
39130 if ac_fn_cxx_try_compile "$LINENO"; then :
39131 glibcxx_cv_func_hypot_use=yes
39132 else
39133 glibcxx_cv_func_hypot_use=no
39135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39136 ac_ext=c
39137 ac_cpp='$CPP $CPPFLAGS'
39138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39147 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39149 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39150 for ac_func in hypot
39151 do :
39152 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39153 if test "x$ac_cv_func_hypot" = x""yes; then :
39154 cat >>confdefs.h <<_ACEOF
39155 #define HAVE_HYPOT 1
39156 _ACEOF
39159 done
39161 else
39163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39164 $as_echo_n "checking for _hypot declaration... " >&6; }
39165 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39166 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39167 $as_echo_n "(cached) " >&6
39168 else
39171 ac_ext=cpp
39172 ac_cpp='$CXXCPP $CPPFLAGS'
39173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39178 /* end confdefs.h. */
39179 #include <math.h>
39181 main ()
39183 _hypot(0, 0);
39185 return 0;
39187 _ACEOF
39188 if ac_fn_cxx_try_compile "$LINENO"; then :
39189 glibcxx_cv_func__hypot_use=yes
39190 else
39191 glibcxx_cv_func__hypot_use=no
39193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39194 ac_ext=c
39195 ac_cpp='$CPP $CPPFLAGS'
39196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39205 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39207 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39208 for ac_func in _hypot
39209 do :
39210 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39211 if test "x$ac_cv_func__hypot" = x""yes; then :
39212 cat >>confdefs.h <<_ACEOF
39213 #define HAVE__HYPOT 1
39214 _ACEOF
39217 done
39226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39227 $as_echo_n "checking for float trig functions... " >&6; }
39228 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39229 $as_echo_n "(cached) " >&6
39230 else
39233 ac_ext=cpp
39234 ac_cpp='$CXXCPP $CPPFLAGS'
39235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39240 /* end confdefs.h. */
39241 #include <math.h>
39243 main ()
39245 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39247 return 0;
39249 _ACEOF
39250 if ac_fn_cxx_try_compile "$LINENO"; then :
39251 glibcxx_cv_func_float_trig_use=yes
39252 else
39253 glibcxx_cv_func_float_trig_use=no
39255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39256 ac_ext=c
39257 ac_cpp='$CPP $CPPFLAGS'
39258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39265 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39266 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39267 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39268 do :
39269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39271 eval as_val=\$$as_ac_var
39272 if test "x$as_val" = x""yes; then :
39273 cat >>confdefs.h <<_ACEOF
39274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39275 _ACEOF
39278 done
39280 else
39281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39282 $as_echo_n "checking for _float trig functions... " >&6; }
39283 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39284 $as_echo_n "(cached) " >&6
39285 else
39288 ac_ext=cpp
39289 ac_cpp='$CXXCPP $CPPFLAGS'
39290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39295 /* end confdefs.h. */
39296 #include <math.h>
39298 main ()
39300 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39302 return 0;
39304 _ACEOF
39305 if ac_fn_cxx_try_compile "$LINENO"; then :
39306 glibcxx_cv_func__float_trig_use=yes
39307 else
39308 glibcxx_cv_func__float_trig_use=no
39310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39311 ac_ext=c
39312 ac_cpp='$CPP $CPPFLAGS'
39313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39320 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39321 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39322 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39323 do :
39324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39326 eval as_val=\$$as_ac_var
39327 if test "x$as_val" = x""yes; then :
39328 cat >>confdefs.h <<_ACEOF
39329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39330 _ACEOF
39333 done
39342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39343 $as_echo_n "checking for float round functions... " >&6; }
39344 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39345 $as_echo_n "(cached) " >&6
39346 else
39349 ac_ext=cpp
39350 ac_cpp='$CXXCPP $CPPFLAGS'
39351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39356 /* end confdefs.h. */
39357 #include <math.h>
39359 main ()
39361 ceilf (0); floorf (0);
39363 return 0;
39365 _ACEOF
39366 if ac_fn_cxx_try_compile "$LINENO"; then :
39367 glibcxx_cv_func_float_round_use=yes
39368 else
39369 glibcxx_cv_func_float_round_use=no
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39381 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39382 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39383 for ac_func in ceilf floorf
39384 do :
39385 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39386 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39387 eval as_val=\$$as_ac_var
39388 if test "x$as_val" = x""yes; then :
39389 cat >>confdefs.h <<_ACEOF
39390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39391 _ACEOF
39394 done
39396 else
39397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39398 $as_echo_n "checking for _float round functions... " >&6; }
39399 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39400 $as_echo_n "(cached) " >&6
39401 else
39404 ac_ext=cpp
39405 ac_cpp='$CXXCPP $CPPFLAGS'
39406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39411 /* end confdefs.h. */
39412 #include <math.h>
39414 main ()
39416 _ceilf (0); _floorf (0);
39418 return 0;
39420 _ACEOF
39421 if ac_fn_cxx_try_compile "$LINENO"; then :
39422 glibcxx_cv_func__float_round_use=yes
39423 else
39424 glibcxx_cv_func__float_round_use=no
39426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39427 ac_ext=c
39428 ac_cpp='$CPP $CPPFLAGS'
39429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39436 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39437 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39438 for ac_func in _ceilf _floorf
39439 do :
39440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39442 eval as_val=\$$as_ac_var
39443 if test "x$as_val" = x""yes; then :
39444 cat >>confdefs.h <<_ACEOF
39445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39446 _ACEOF
39449 done
39459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39460 $as_echo_n "checking for expf declaration... " >&6; }
39461 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39462 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39463 $as_echo_n "(cached) " >&6
39464 else
39467 ac_ext=cpp
39468 ac_cpp='$CXXCPP $CPPFLAGS'
39469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39474 /* end confdefs.h. */
39475 #include <math.h>
39476 #ifdef HAVE_IEEEFP_H
39477 #include <ieeefp.h>
39478 #endif
39481 main ()
39483 expf(0);
39485 return 0;
39487 _ACEOF
39488 if ac_fn_cxx_try_compile "$LINENO"; then :
39489 glibcxx_cv_func_expf_use=yes
39490 else
39491 glibcxx_cv_func_expf_use=no
39493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39494 ac_ext=c
39495 ac_cpp='$CPP $CPPFLAGS'
39496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39505 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39507 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39508 for ac_func in expf
39509 do :
39510 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39511 if test "x$ac_cv_func_expf" = x""yes; then :
39512 cat >>confdefs.h <<_ACEOF
39513 #define HAVE_EXPF 1
39514 _ACEOF
39517 done
39519 else
39521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39522 $as_echo_n "checking for _expf declaration... " >&6; }
39523 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39524 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39525 $as_echo_n "(cached) " >&6
39526 else
39529 ac_ext=cpp
39530 ac_cpp='$CXXCPP $CPPFLAGS'
39531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39536 /* end confdefs.h. */
39537 #include <math.h>
39538 #ifdef HAVE_IEEEFP_H
39539 #include <ieeefp.h>
39540 #endif
39543 main ()
39545 _expf(0);
39547 return 0;
39549 _ACEOF
39550 if ac_fn_cxx_try_compile "$LINENO"; then :
39551 glibcxx_cv_func__expf_use=yes
39552 else
39553 glibcxx_cv_func__expf_use=no
39555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39556 ac_ext=c
39557 ac_cpp='$CPP $CPPFLAGS'
39558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39567 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39569 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39570 for ac_func in _expf
39571 do :
39572 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39573 if test "x$ac_cv_func__expf" = x""yes; then :
39574 cat >>confdefs.h <<_ACEOF
39575 #define HAVE__EXPF 1
39576 _ACEOF
39579 done
39588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39589 $as_echo_n "checking for isnanf declaration... " >&6; }
39590 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39591 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39592 $as_echo_n "(cached) " >&6
39593 else
39596 ac_ext=cpp
39597 ac_cpp='$CXXCPP $CPPFLAGS'
39598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39603 /* end confdefs.h. */
39604 #include <math.h>
39605 #ifdef HAVE_IEEEFP_H
39606 #include <ieeefp.h>
39607 #endif
39610 main ()
39612 isnanf(0);
39614 return 0;
39616 _ACEOF
39617 if ac_fn_cxx_try_compile "$LINENO"; then :
39618 glibcxx_cv_func_isnanf_use=yes
39619 else
39620 glibcxx_cv_func_isnanf_use=no
39622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39623 ac_ext=c
39624 ac_cpp='$CPP $CPPFLAGS'
39625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39634 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39636 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39637 for ac_func in isnanf
39638 do :
39639 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39640 if test "x$ac_cv_func_isnanf" = x""yes; then :
39641 cat >>confdefs.h <<_ACEOF
39642 #define HAVE_ISNANF 1
39643 _ACEOF
39646 done
39648 else
39650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39651 $as_echo_n "checking for _isnanf declaration... " >&6; }
39652 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39653 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39654 $as_echo_n "(cached) " >&6
39655 else
39658 ac_ext=cpp
39659 ac_cpp='$CXXCPP $CPPFLAGS'
39660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39665 /* end confdefs.h. */
39666 #include <math.h>
39667 #ifdef HAVE_IEEEFP_H
39668 #include <ieeefp.h>
39669 #endif
39672 main ()
39674 _isnanf(0);
39676 return 0;
39678 _ACEOF
39679 if ac_fn_cxx_try_compile "$LINENO"; then :
39680 glibcxx_cv_func__isnanf_use=yes
39681 else
39682 glibcxx_cv_func__isnanf_use=no
39684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39685 ac_ext=c
39686 ac_cpp='$CPP $CPPFLAGS'
39687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39696 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39698 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39699 for ac_func in _isnanf
39700 do :
39701 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39702 if test "x$ac_cv_func__isnanf" = x""yes; then :
39703 cat >>confdefs.h <<_ACEOF
39704 #define HAVE__ISNANF 1
39705 _ACEOF
39708 done
39717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39718 $as_echo_n "checking for isinff declaration... " >&6; }
39719 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39720 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39721 $as_echo_n "(cached) " >&6
39722 else
39725 ac_ext=cpp
39726 ac_cpp='$CXXCPP $CPPFLAGS'
39727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39732 /* end confdefs.h. */
39733 #include <math.h>
39734 #ifdef HAVE_IEEEFP_H
39735 #include <ieeefp.h>
39736 #endif
39739 main ()
39741 isinff(0);
39743 return 0;
39745 _ACEOF
39746 if ac_fn_cxx_try_compile "$LINENO"; then :
39747 glibcxx_cv_func_isinff_use=yes
39748 else
39749 glibcxx_cv_func_isinff_use=no
39751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39752 ac_ext=c
39753 ac_cpp='$CPP $CPPFLAGS'
39754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39763 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39765 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39766 for ac_func in isinff
39767 do :
39768 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39769 if test "x$ac_cv_func_isinff" = x""yes; then :
39770 cat >>confdefs.h <<_ACEOF
39771 #define HAVE_ISINFF 1
39772 _ACEOF
39775 done
39777 else
39779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39780 $as_echo_n "checking for _isinff declaration... " >&6; }
39781 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39782 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39783 $as_echo_n "(cached) " >&6
39784 else
39787 ac_ext=cpp
39788 ac_cpp='$CXXCPP $CPPFLAGS'
39789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39794 /* end confdefs.h. */
39795 #include <math.h>
39796 #ifdef HAVE_IEEEFP_H
39797 #include <ieeefp.h>
39798 #endif
39801 main ()
39803 _isinff(0);
39805 return 0;
39807 _ACEOF
39808 if ac_fn_cxx_try_compile "$LINENO"; then :
39809 glibcxx_cv_func__isinff_use=yes
39810 else
39811 glibcxx_cv_func__isinff_use=no
39813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39814 ac_ext=c
39815 ac_cpp='$CPP $CPPFLAGS'
39816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39825 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39827 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39828 for ac_func in _isinff
39829 do :
39830 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39831 if test "x$ac_cv_func__isinff" = x""yes; then :
39832 cat >>confdefs.h <<_ACEOF
39833 #define HAVE__ISINFF 1
39834 _ACEOF
39837 done
39846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39847 $as_echo_n "checking for atan2f declaration... " >&6; }
39848 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39849 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39850 $as_echo_n "(cached) " >&6
39851 else
39854 ac_ext=cpp
39855 ac_cpp='$CXXCPP $CPPFLAGS'
39856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39861 /* end confdefs.h. */
39862 #include <math.h>
39864 main ()
39866 atan2f(0, 0);
39868 return 0;
39870 _ACEOF
39871 if ac_fn_cxx_try_compile "$LINENO"; then :
39872 glibcxx_cv_func_atan2f_use=yes
39873 else
39874 glibcxx_cv_func_atan2f_use=no
39876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39877 ac_ext=c
39878 ac_cpp='$CPP $CPPFLAGS'
39879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39888 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39890 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39891 for ac_func in atan2f
39892 do :
39893 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39894 if test "x$ac_cv_func_atan2f" = x""yes; then :
39895 cat >>confdefs.h <<_ACEOF
39896 #define HAVE_ATAN2F 1
39897 _ACEOF
39900 done
39902 else
39904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39905 $as_echo_n "checking for _atan2f declaration... " >&6; }
39906 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39907 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39908 $as_echo_n "(cached) " >&6
39909 else
39912 ac_ext=cpp
39913 ac_cpp='$CXXCPP $CPPFLAGS'
39914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39919 /* end confdefs.h. */
39920 #include <math.h>
39922 main ()
39924 _atan2f(0, 0);
39926 return 0;
39928 _ACEOF
39929 if ac_fn_cxx_try_compile "$LINENO"; then :
39930 glibcxx_cv_func__atan2f_use=yes
39931 else
39932 glibcxx_cv_func__atan2f_use=no
39934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39935 ac_ext=c
39936 ac_cpp='$CPP $CPPFLAGS'
39937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39946 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39948 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39949 for ac_func in _atan2f
39950 do :
39951 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39952 if test "x$ac_cv_func__atan2f" = x""yes; then :
39953 cat >>confdefs.h <<_ACEOF
39954 #define HAVE__ATAN2F 1
39955 _ACEOF
39958 done
39967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39968 $as_echo_n "checking for fabsf declaration... " >&6; }
39969 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39970 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39971 $as_echo_n "(cached) " >&6
39972 else
39975 ac_ext=cpp
39976 ac_cpp='$CXXCPP $CPPFLAGS'
39977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39982 /* end confdefs.h. */
39983 #include <math.h>
39984 #ifdef HAVE_IEEEFP_H
39985 #include <ieeefp.h>
39986 #endif
39989 main ()
39991 fabsf(0);
39993 return 0;
39995 _ACEOF
39996 if ac_fn_cxx_try_compile "$LINENO"; then :
39997 glibcxx_cv_func_fabsf_use=yes
39998 else
39999 glibcxx_cv_func_fabsf_use=no
40001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40002 ac_ext=c
40003 ac_cpp='$CPP $CPPFLAGS'
40004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40013 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40015 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40016 for ac_func in fabsf
40017 do :
40018 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40019 if test "x$ac_cv_func_fabsf" = x""yes; then :
40020 cat >>confdefs.h <<_ACEOF
40021 #define HAVE_FABSF 1
40022 _ACEOF
40025 done
40027 else
40029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40030 $as_echo_n "checking for _fabsf declaration... " >&6; }
40031 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40032 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40033 $as_echo_n "(cached) " >&6
40034 else
40037 ac_ext=cpp
40038 ac_cpp='$CXXCPP $CPPFLAGS'
40039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40044 /* end confdefs.h. */
40045 #include <math.h>
40046 #ifdef HAVE_IEEEFP_H
40047 #include <ieeefp.h>
40048 #endif
40051 main ()
40053 _fabsf(0);
40055 return 0;
40057 _ACEOF
40058 if ac_fn_cxx_try_compile "$LINENO"; then :
40059 glibcxx_cv_func__fabsf_use=yes
40060 else
40061 glibcxx_cv_func__fabsf_use=no
40063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40064 ac_ext=c
40065 ac_cpp='$CPP $CPPFLAGS'
40066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40075 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40077 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40078 for ac_func in _fabsf
40079 do :
40080 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40081 if test "x$ac_cv_func__fabsf" = x""yes; then :
40082 cat >>confdefs.h <<_ACEOF
40083 #define HAVE__FABSF 1
40084 _ACEOF
40087 done
40096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40097 $as_echo_n "checking for fmodf declaration... " >&6; }
40098 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40099 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40100 $as_echo_n "(cached) " >&6
40101 else
40104 ac_ext=cpp
40105 ac_cpp='$CXXCPP $CPPFLAGS'
40106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40111 /* end confdefs.h. */
40112 #include <math.h>
40114 main ()
40116 fmodf(0, 0);
40118 return 0;
40120 _ACEOF
40121 if ac_fn_cxx_try_compile "$LINENO"; then :
40122 glibcxx_cv_func_fmodf_use=yes
40123 else
40124 glibcxx_cv_func_fmodf_use=no
40126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40127 ac_ext=c
40128 ac_cpp='$CPP $CPPFLAGS'
40129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40138 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40140 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40141 for ac_func in fmodf
40142 do :
40143 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40144 if test "x$ac_cv_func_fmodf" = x""yes; then :
40145 cat >>confdefs.h <<_ACEOF
40146 #define HAVE_FMODF 1
40147 _ACEOF
40150 done
40152 else
40154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40155 $as_echo_n "checking for _fmodf declaration... " >&6; }
40156 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40157 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40158 $as_echo_n "(cached) " >&6
40159 else
40162 ac_ext=cpp
40163 ac_cpp='$CXXCPP $CPPFLAGS'
40164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40169 /* end confdefs.h. */
40170 #include <math.h>
40172 main ()
40174 _fmodf(0, 0);
40176 return 0;
40178 _ACEOF
40179 if ac_fn_cxx_try_compile "$LINENO"; then :
40180 glibcxx_cv_func__fmodf_use=yes
40181 else
40182 glibcxx_cv_func__fmodf_use=no
40184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40185 ac_ext=c
40186 ac_cpp='$CPP $CPPFLAGS'
40187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40196 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40198 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40199 for ac_func in _fmodf
40200 do :
40201 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40202 if test "x$ac_cv_func__fmodf" = x""yes; then :
40203 cat >>confdefs.h <<_ACEOF
40204 #define HAVE__FMODF 1
40205 _ACEOF
40208 done
40217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40218 $as_echo_n "checking for frexpf declaration... " >&6; }
40219 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40220 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40221 $as_echo_n "(cached) " >&6
40222 else
40225 ac_ext=cpp
40226 ac_cpp='$CXXCPP $CPPFLAGS'
40227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40232 /* end confdefs.h. */
40233 #include <math.h>
40235 main ()
40237 frexpf(0, 0);
40239 return 0;
40241 _ACEOF
40242 if ac_fn_cxx_try_compile "$LINENO"; then :
40243 glibcxx_cv_func_frexpf_use=yes
40244 else
40245 glibcxx_cv_func_frexpf_use=no
40247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40248 ac_ext=c
40249 ac_cpp='$CPP $CPPFLAGS'
40250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40259 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40261 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40262 for ac_func in frexpf
40263 do :
40264 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40265 if test "x$ac_cv_func_frexpf" = x""yes; then :
40266 cat >>confdefs.h <<_ACEOF
40267 #define HAVE_FREXPF 1
40268 _ACEOF
40271 done
40273 else
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40276 $as_echo_n "checking for _frexpf declaration... " >&6; }
40277 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40278 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40279 $as_echo_n "(cached) " >&6
40280 else
40283 ac_ext=cpp
40284 ac_cpp='$CXXCPP $CPPFLAGS'
40285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40290 /* end confdefs.h. */
40291 #include <math.h>
40293 main ()
40295 _frexpf(0, 0);
40297 return 0;
40299 _ACEOF
40300 if ac_fn_cxx_try_compile "$LINENO"; then :
40301 glibcxx_cv_func__frexpf_use=yes
40302 else
40303 glibcxx_cv_func__frexpf_use=no
40305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40306 ac_ext=c
40307 ac_cpp='$CPP $CPPFLAGS'
40308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40317 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40319 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40320 for ac_func in _frexpf
40321 do :
40322 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40323 if test "x$ac_cv_func__frexpf" = x""yes; then :
40324 cat >>confdefs.h <<_ACEOF
40325 #define HAVE__FREXPF 1
40326 _ACEOF
40329 done
40338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40339 $as_echo_n "checking for hypotf declaration... " >&6; }
40340 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40341 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40342 $as_echo_n "(cached) " >&6
40343 else
40346 ac_ext=cpp
40347 ac_cpp='$CXXCPP $CPPFLAGS'
40348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40353 /* end confdefs.h. */
40354 #include <math.h>
40356 main ()
40358 hypotf(0, 0);
40360 return 0;
40362 _ACEOF
40363 if ac_fn_cxx_try_compile "$LINENO"; then :
40364 glibcxx_cv_func_hypotf_use=yes
40365 else
40366 glibcxx_cv_func_hypotf_use=no
40368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40369 ac_ext=c
40370 ac_cpp='$CPP $CPPFLAGS'
40371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40380 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40382 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40383 for ac_func in hypotf
40384 do :
40385 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40386 if test "x$ac_cv_func_hypotf" = x""yes; then :
40387 cat >>confdefs.h <<_ACEOF
40388 #define HAVE_HYPOTF 1
40389 _ACEOF
40392 done
40394 else
40396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40397 $as_echo_n "checking for _hypotf declaration... " >&6; }
40398 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40399 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40400 $as_echo_n "(cached) " >&6
40401 else
40404 ac_ext=cpp
40405 ac_cpp='$CXXCPP $CPPFLAGS'
40406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40411 /* end confdefs.h. */
40412 #include <math.h>
40414 main ()
40416 _hypotf(0, 0);
40418 return 0;
40420 _ACEOF
40421 if ac_fn_cxx_try_compile "$LINENO"; then :
40422 glibcxx_cv_func__hypotf_use=yes
40423 else
40424 glibcxx_cv_func__hypotf_use=no
40426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40427 ac_ext=c
40428 ac_cpp='$CPP $CPPFLAGS'
40429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40438 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40440 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40441 for ac_func in _hypotf
40442 do :
40443 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40444 if test "x$ac_cv_func__hypotf" = x""yes; then :
40445 cat >>confdefs.h <<_ACEOF
40446 #define HAVE__HYPOTF 1
40447 _ACEOF
40450 done
40459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40460 $as_echo_n "checking for ldexpf declaration... " >&6; }
40461 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40462 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40463 $as_echo_n "(cached) " >&6
40464 else
40467 ac_ext=cpp
40468 ac_cpp='$CXXCPP $CPPFLAGS'
40469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40474 /* end confdefs.h. */
40475 #include <math.h>
40477 main ()
40479 ldexpf(0, 0);
40481 return 0;
40483 _ACEOF
40484 if ac_fn_cxx_try_compile "$LINENO"; then :
40485 glibcxx_cv_func_ldexpf_use=yes
40486 else
40487 glibcxx_cv_func_ldexpf_use=no
40489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40490 ac_ext=c
40491 ac_cpp='$CPP $CPPFLAGS'
40492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40501 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40503 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40504 for ac_func in ldexpf
40505 do :
40506 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40507 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40508 cat >>confdefs.h <<_ACEOF
40509 #define HAVE_LDEXPF 1
40510 _ACEOF
40513 done
40515 else
40517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40518 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40519 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40520 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40521 $as_echo_n "(cached) " >&6
40522 else
40525 ac_ext=cpp
40526 ac_cpp='$CXXCPP $CPPFLAGS'
40527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40532 /* end confdefs.h. */
40533 #include <math.h>
40535 main ()
40537 _ldexpf(0, 0);
40539 return 0;
40541 _ACEOF
40542 if ac_fn_cxx_try_compile "$LINENO"; then :
40543 glibcxx_cv_func__ldexpf_use=yes
40544 else
40545 glibcxx_cv_func__ldexpf_use=no
40547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40548 ac_ext=c
40549 ac_cpp='$CPP $CPPFLAGS'
40550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40559 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40561 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40562 for ac_func in _ldexpf
40563 do :
40564 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40565 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40566 cat >>confdefs.h <<_ACEOF
40567 #define HAVE__LDEXPF 1
40568 _ACEOF
40571 done
40580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40581 $as_echo_n "checking for logf declaration... " >&6; }
40582 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40583 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40584 $as_echo_n "(cached) " >&6
40585 else
40588 ac_ext=cpp
40589 ac_cpp='$CXXCPP $CPPFLAGS'
40590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40595 /* end confdefs.h. */
40596 #include <math.h>
40597 #ifdef HAVE_IEEEFP_H
40598 #include <ieeefp.h>
40599 #endif
40602 main ()
40604 logf(0);
40606 return 0;
40608 _ACEOF
40609 if ac_fn_cxx_try_compile "$LINENO"; then :
40610 glibcxx_cv_func_logf_use=yes
40611 else
40612 glibcxx_cv_func_logf_use=no
40614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40615 ac_ext=c
40616 ac_cpp='$CPP $CPPFLAGS'
40617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40626 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40628 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40629 for ac_func in logf
40630 do :
40631 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40632 if test "x$ac_cv_func_logf" = x""yes; then :
40633 cat >>confdefs.h <<_ACEOF
40634 #define HAVE_LOGF 1
40635 _ACEOF
40638 done
40640 else
40642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40643 $as_echo_n "checking for _logf declaration... " >&6; }
40644 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40645 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40646 $as_echo_n "(cached) " >&6
40647 else
40650 ac_ext=cpp
40651 ac_cpp='$CXXCPP $CPPFLAGS'
40652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40657 /* end confdefs.h. */
40658 #include <math.h>
40659 #ifdef HAVE_IEEEFP_H
40660 #include <ieeefp.h>
40661 #endif
40664 main ()
40666 _logf(0);
40668 return 0;
40670 _ACEOF
40671 if ac_fn_cxx_try_compile "$LINENO"; then :
40672 glibcxx_cv_func__logf_use=yes
40673 else
40674 glibcxx_cv_func__logf_use=no
40676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40677 ac_ext=c
40678 ac_cpp='$CPP $CPPFLAGS'
40679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40688 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40690 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40691 for ac_func in _logf
40692 do :
40693 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40694 if test "x$ac_cv_func__logf" = x""yes; then :
40695 cat >>confdefs.h <<_ACEOF
40696 #define HAVE__LOGF 1
40697 _ACEOF
40700 done
40709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40710 $as_echo_n "checking for log10f declaration... " >&6; }
40711 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40712 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40713 $as_echo_n "(cached) " >&6
40714 else
40717 ac_ext=cpp
40718 ac_cpp='$CXXCPP $CPPFLAGS'
40719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40724 /* end confdefs.h. */
40725 #include <math.h>
40726 #ifdef HAVE_IEEEFP_H
40727 #include <ieeefp.h>
40728 #endif
40731 main ()
40733 log10f(0);
40735 return 0;
40737 _ACEOF
40738 if ac_fn_cxx_try_compile "$LINENO"; then :
40739 glibcxx_cv_func_log10f_use=yes
40740 else
40741 glibcxx_cv_func_log10f_use=no
40743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40744 ac_ext=c
40745 ac_cpp='$CPP $CPPFLAGS'
40746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40755 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40757 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40758 for ac_func in log10f
40759 do :
40760 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40761 if test "x$ac_cv_func_log10f" = x""yes; then :
40762 cat >>confdefs.h <<_ACEOF
40763 #define HAVE_LOG10F 1
40764 _ACEOF
40767 done
40769 else
40771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40772 $as_echo_n "checking for _log10f declaration... " >&6; }
40773 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40774 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40775 $as_echo_n "(cached) " >&6
40776 else
40779 ac_ext=cpp
40780 ac_cpp='$CXXCPP $CPPFLAGS'
40781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40786 /* end confdefs.h. */
40787 #include <math.h>
40788 #ifdef HAVE_IEEEFP_H
40789 #include <ieeefp.h>
40790 #endif
40793 main ()
40795 _log10f(0);
40797 return 0;
40799 _ACEOF
40800 if ac_fn_cxx_try_compile "$LINENO"; then :
40801 glibcxx_cv_func__log10f_use=yes
40802 else
40803 glibcxx_cv_func__log10f_use=no
40805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40806 ac_ext=c
40807 ac_cpp='$CPP $CPPFLAGS'
40808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40817 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40819 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40820 for ac_func in _log10f
40821 do :
40822 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40823 if test "x$ac_cv_func__log10f" = x""yes; then :
40824 cat >>confdefs.h <<_ACEOF
40825 #define HAVE__LOG10F 1
40826 _ACEOF
40829 done
40838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40839 $as_echo_n "checking for modff declaration... " >&6; }
40840 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40841 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40842 $as_echo_n "(cached) " >&6
40843 else
40846 ac_ext=cpp
40847 ac_cpp='$CXXCPP $CPPFLAGS'
40848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40853 /* end confdefs.h. */
40854 #include <math.h>
40856 main ()
40858 modff(0, 0);
40860 return 0;
40862 _ACEOF
40863 if ac_fn_cxx_try_compile "$LINENO"; then :
40864 glibcxx_cv_func_modff_use=yes
40865 else
40866 glibcxx_cv_func_modff_use=no
40868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40869 ac_ext=c
40870 ac_cpp='$CPP $CPPFLAGS'
40871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40880 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40882 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40883 for ac_func in modff
40884 do :
40885 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40886 if test "x$ac_cv_func_modff" = x""yes; then :
40887 cat >>confdefs.h <<_ACEOF
40888 #define HAVE_MODFF 1
40889 _ACEOF
40892 done
40894 else
40896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40897 $as_echo_n "checking for _modff declaration... " >&6; }
40898 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40899 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40900 $as_echo_n "(cached) " >&6
40901 else
40904 ac_ext=cpp
40905 ac_cpp='$CXXCPP $CPPFLAGS'
40906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40911 /* end confdefs.h. */
40912 #include <math.h>
40914 main ()
40916 _modff(0, 0);
40918 return 0;
40920 _ACEOF
40921 if ac_fn_cxx_try_compile "$LINENO"; then :
40922 glibcxx_cv_func__modff_use=yes
40923 else
40924 glibcxx_cv_func__modff_use=no
40926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40927 ac_ext=c
40928 ac_cpp='$CPP $CPPFLAGS'
40929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40938 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40940 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40941 for ac_func in _modff
40942 do :
40943 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40944 if test "x$ac_cv_func__modff" = x""yes; then :
40945 cat >>confdefs.h <<_ACEOF
40946 #define HAVE__MODFF 1
40947 _ACEOF
40950 done
40959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40960 $as_echo_n "checking for modf declaration... " >&6; }
40961 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40962 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40963 $as_echo_n "(cached) " >&6
40964 else
40967 ac_ext=cpp
40968 ac_cpp='$CXXCPP $CPPFLAGS'
40969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40974 /* end confdefs.h. */
40975 #include <math.h>
40977 main ()
40979 modf(0, 0);
40981 return 0;
40983 _ACEOF
40984 if ac_fn_cxx_try_compile "$LINENO"; then :
40985 glibcxx_cv_func_modf_use=yes
40986 else
40987 glibcxx_cv_func_modf_use=no
40989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40990 ac_ext=c
40991 ac_cpp='$CPP $CPPFLAGS'
40992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41001 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41003 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41004 for ac_func in modf
41005 do :
41006 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41007 if test "x$ac_cv_func_modf" = x""yes; then :
41008 cat >>confdefs.h <<_ACEOF
41009 #define HAVE_MODF 1
41010 _ACEOF
41013 done
41015 else
41017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41018 $as_echo_n "checking for _modf declaration... " >&6; }
41019 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41020 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41021 $as_echo_n "(cached) " >&6
41022 else
41025 ac_ext=cpp
41026 ac_cpp='$CXXCPP $CPPFLAGS'
41027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41032 /* end confdefs.h. */
41033 #include <math.h>
41035 main ()
41037 _modf(0, 0);
41039 return 0;
41041 _ACEOF
41042 if ac_fn_cxx_try_compile "$LINENO"; then :
41043 glibcxx_cv_func__modf_use=yes
41044 else
41045 glibcxx_cv_func__modf_use=no
41047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41048 ac_ext=c
41049 ac_cpp='$CPP $CPPFLAGS'
41050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41059 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41061 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41062 for ac_func in _modf
41063 do :
41064 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41065 if test "x$ac_cv_func__modf" = x""yes; then :
41066 cat >>confdefs.h <<_ACEOF
41067 #define HAVE__MODF 1
41068 _ACEOF
41071 done
41080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41081 $as_echo_n "checking for powf declaration... " >&6; }
41082 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41083 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41084 $as_echo_n "(cached) " >&6
41085 else
41088 ac_ext=cpp
41089 ac_cpp='$CXXCPP $CPPFLAGS'
41090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41095 /* end confdefs.h. */
41096 #include <math.h>
41098 main ()
41100 powf(0, 0);
41102 return 0;
41104 _ACEOF
41105 if ac_fn_cxx_try_compile "$LINENO"; then :
41106 glibcxx_cv_func_powf_use=yes
41107 else
41108 glibcxx_cv_func_powf_use=no
41110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41111 ac_ext=c
41112 ac_cpp='$CPP $CPPFLAGS'
41113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41122 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41124 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41125 for ac_func in powf
41126 do :
41127 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41128 if test "x$ac_cv_func_powf" = x""yes; then :
41129 cat >>confdefs.h <<_ACEOF
41130 #define HAVE_POWF 1
41131 _ACEOF
41134 done
41136 else
41138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41139 $as_echo_n "checking for _powf declaration... " >&6; }
41140 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41141 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41142 $as_echo_n "(cached) " >&6
41143 else
41146 ac_ext=cpp
41147 ac_cpp='$CXXCPP $CPPFLAGS'
41148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41153 /* end confdefs.h. */
41154 #include <math.h>
41156 main ()
41158 _powf(0, 0);
41160 return 0;
41162 _ACEOF
41163 if ac_fn_cxx_try_compile "$LINENO"; then :
41164 glibcxx_cv_func__powf_use=yes
41165 else
41166 glibcxx_cv_func__powf_use=no
41168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41169 ac_ext=c
41170 ac_cpp='$CPP $CPPFLAGS'
41171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41180 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41182 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41183 for ac_func in _powf
41184 do :
41185 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41186 if test "x$ac_cv_func__powf" = x""yes; then :
41187 cat >>confdefs.h <<_ACEOF
41188 #define HAVE__POWF 1
41189 _ACEOF
41192 done
41201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41202 $as_echo_n "checking for sqrtf declaration... " >&6; }
41203 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41204 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41205 $as_echo_n "(cached) " >&6
41206 else
41209 ac_ext=cpp
41210 ac_cpp='$CXXCPP $CPPFLAGS'
41211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41216 /* end confdefs.h. */
41217 #include <math.h>
41218 #ifdef HAVE_IEEEFP_H
41219 #include <ieeefp.h>
41220 #endif
41223 main ()
41225 sqrtf(0);
41227 return 0;
41229 _ACEOF
41230 if ac_fn_cxx_try_compile "$LINENO"; then :
41231 glibcxx_cv_func_sqrtf_use=yes
41232 else
41233 glibcxx_cv_func_sqrtf_use=no
41235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41236 ac_ext=c
41237 ac_cpp='$CPP $CPPFLAGS'
41238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41247 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41249 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41250 for ac_func in sqrtf
41251 do :
41252 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41253 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41254 cat >>confdefs.h <<_ACEOF
41255 #define HAVE_SQRTF 1
41256 _ACEOF
41259 done
41261 else
41263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41264 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41265 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41266 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41267 $as_echo_n "(cached) " >&6
41268 else
41271 ac_ext=cpp
41272 ac_cpp='$CXXCPP $CPPFLAGS'
41273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41278 /* end confdefs.h. */
41279 #include <math.h>
41280 #ifdef HAVE_IEEEFP_H
41281 #include <ieeefp.h>
41282 #endif
41285 main ()
41287 _sqrtf(0);
41289 return 0;
41291 _ACEOF
41292 if ac_fn_cxx_try_compile "$LINENO"; then :
41293 glibcxx_cv_func__sqrtf_use=yes
41294 else
41295 glibcxx_cv_func__sqrtf_use=no
41297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41298 ac_ext=c
41299 ac_cpp='$CPP $CPPFLAGS'
41300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41309 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41311 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41312 for ac_func in _sqrtf
41313 do :
41314 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41315 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41316 cat >>confdefs.h <<_ACEOF
41317 #define HAVE__SQRTF 1
41318 _ACEOF
41321 done
41330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41331 $as_echo_n "checking for sincosf declaration... " >&6; }
41332 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41333 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41334 $as_echo_n "(cached) " >&6
41335 else
41338 ac_ext=cpp
41339 ac_cpp='$CXXCPP $CPPFLAGS'
41340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41345 /* end confdefs.h. */
41346 #include <math.h>
41348 main ()
41350 sincosf(0, 0, 0);
41352 return 0;
41354 _ACEOF
41355 if ac_fn_cxx_try_compile "$LINENO"; then :
41356 glibcxx_cv_func_sincosf_use=yes
41357 else
41358 glibcxx_cv_func_sincosf_use=no
41360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41361 ac_ext=c
41362 ac_cpp='$CPP $CPPFLAGS'
41363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41372 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41374 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41375 for ac_func in sincosf
41376 do :
41377 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41378 if test "x$ac_cv_func_sincosf" = x""yes; then :
41379 cat >>confdefs.h <<_ACEOF
41380 #define HAVE_SINCOSF 1
41381 _ACEOF
41384 done
41386 else
41388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41389 $as_echo_n "checking for _sincosf declaration... " >&6; }
41390 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41391 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41392 $as_echo_n "(cached) " >&6
41393 else
41396 ac_ext=cpp
41397 ac_cpp='$CXXCPP $CPPFLAGS'
41398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41403 /* end confdefs.h. */
41404 #include <math.h>
41406 main ()
41408 _sincosf(0, 0, 0);
41410 return 0;
41412 _ACEOF
41413 if ac_fn_cxx_try_compile "$LINENO"; then :
41414 glibcxx_cv_func__sincosf_use=yes
41415 else
41416 glibcxx_cv_func__sincosf_use=no
41418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41419 ac_ext=c
41420 ac_cpp='$CPP $CPPFLAGS'
41421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41430 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41432 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41433 for ac_func in _sincosf
41434 do :
41435 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41436 if test "x$ac_cv_func__sincosf" = x""yes; then :
41437 cat >>confdefs.h <<_ACEOF
41438 #define HAVE__SINCOSF 1
41439 _ACEOF
41442 done
41451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41452 $as_echo_n "checking for finitef declaration... " >&6; }
41453 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41454 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41455 $as_echo_n "(cached) " >&6
41456 else
41459 ac_ext=cpp
41460 ac_cpp='$CXXCPP $CPPFLAGS'
41461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41466 /* end confdefs.h. */
41467 #include <math.h>
41468 #ifdef HAVE_IEEEFP_H
41469 #include <ieeefp.h>
41470 #endif
41473 main ()
41475 finitef(0);
41477 return 0;
41479 _ACEOF
41480 if ac_fn_cxx_try_compile "$LINENO"; then :
41481 glibcxx_cv_func_finitef_use=yes
41482 else
41483 glibcxx_cv_func_finitef_use=no
41485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41486 ac_ext=c
41487 ac_cpp='$CPP $CPPFLAGS'
41488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41497 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41499 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41500 for ac_func in finitef
41501 do :
41502 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41503 if test "x$ac_cv_func_finitef" = x""yes; then :
41504 cat >>confdefs.h <<_ACEOF
41505 #define HAVE_FINITEF 1
41506 _ACEOF
41509 done
41511 else
41513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41514 $as_echo_n "checking for _finitef declaration... " >&6; }
41515 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41516 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41517 $as_echo_n "(cached) " >&6
41518 else
41521 ac_ext=cpp
41522 ac_cpp='$CXXCPP $CPPFLAGS'
41523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41528 /* end confdefs.h. */
41529 #include <math.h>
41530 #ifdef HAVE_IEEEFP_H
41531 #include <ieeefp.h>
41532 #endif
41535 main ()
41537 _finitef(0);
41539 return 0;
41541 _ACEOF
41542 if ac_fn_cxx_try_compile "$LINENO"; then :
41543 glibcxx_cv_func__finitef_use=yes
41544 else
41545 glibcxx_cv_func__finitef_use=no
41547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41548 ac_ext=c
41549 ac_cpp='$CPP $CPPFLAGS'
41550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41559 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41561 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41562 for ac_func in _finitef
41563 do :
41564 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41565 if test "x$ac_cv_func__finitef" = x""yes; then :
41566 cat >>confdefs.h <<_ACEOF
41567 #define HAVE__FINITEF 1
41568 _ACEOF
41571 done
41580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41581 $as_echo_n "checking for long double trig functions... " >&6; }
41582 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41583 $as_echo_n "(cached) " >&6
41584 else
41587 ac_ext=cpp
41588 ac_cpp='$CXXCPP $CPPFLAGS'
41589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41594 /* end confdefs.h. */
41595 #include <math.h>
41597 main ()
41599 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41601 return 0;
41603 _ACEOF
41604 if ac_fn_cxx_try_compile "$LINENO"; then :
41605 glibcxx_cv_func_long_double_trig_use=yes
41606 else
41607 glibcxx_cv_func_long_double_trig_use=no
41609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41610 ac_ext=c
41611 ac_cpp='$CPP $CPPFLAGS'
41612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41619 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41620 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41621 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41622 do :
41623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41625 eval as_val=\$$as_ac_var
41626 if test "x$as_val" = x""yes; then :
41627 cat >>confdefs.h <<_ACEOF
41628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41629 _ACEOF
41632 done
41634 else
41635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41636 $as_echo_n "checking for _long double trig functions... " >&6; }
41637 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41638 $as_echo_n "(cached) " >&6
41639 else
41642 ac_ext=cpp
41643 ac_cpp='$CXXCPP $CPPFLAGS'
41644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41649 /* end confdefs.h. */
41650 #include <math.h>
41652 main ()
41654 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41656 return 0;
41658 _ACEOF
41659 if ac_fn_cxx_try_compile "$LINENO"; then :
41660 glibcxx_cv_func__long_double_trig_use=yes
41661 else
41662 glibcxx_cv_func__long_double_trig_use=no
41664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41665 ac_ext=c
41666 ac_cpp='$CPP $CPPFLAGS'
41667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41674 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41675 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41676 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41677 do :
41678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41680 eval as_val=\$$as_ac_var
41681 if test "x$as_val" = x""yes; then :
41682 cat >>confdefs.h <<_ACEOF
41683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41684 _ACEOF
41687 done
41696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41697 $as_echo_n "checking for long double round functions... " >&6; }
41698 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41699 $as_echo_n "(cached) " >&6
41700 else
41703 ac_ext=cpp
41704 ac_cpp='$CXXCPP $CPPFLAGS'
41705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41710 /* end confdefs.h. */
41711 #include <math.h>
41713 main ()
41715 ceill (0); floorl (0);
41717 return 0;
41719 _ACEOF
41720 if ac_fn_cxx_try_compile "$LINENO"; then :
41721 glibcxx_cv_func_long_double_round_use=yes
41722 else
41723 glibcxx_cv_func_long_double_round_use=no
41725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41726 ac_ext=c
41727 ac_cpp='$CPP $CPPFLAGS'
41728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41735 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41736 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41737 for ac_func in ceill floorl
41738 do :
41739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41741 eval as_val=\$$as_ac_var
41742 if test "x$as_val" = x""yes; then :
41743 cat >>confdefs.h <<_ACEOF
41744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41745 _ACEOF
41748 done
41750 else
41751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41752 $as_echo_n "checking for _long double round functions... " >&6; }
41753 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41754 $as_echo_n "(cached) " >&6
41755 else
41758 ac_ext=cpp
41759 ac_cpp='$CXXCPP $CPPFLAGS'
41760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41765 /* end confdefs.h. */
41766 #include <math.h>
41768 main ()
41770 _ceill (0); _floorl (0);
41772 return 0;
41774 _ACEOF
41775 if ac_fn_cxx_try_compile "$LINENO"; then :
41776 glibcxx_cv_func__long_double_round_use=yes
41777 else
41778 glibcxx_cv_func__long_double_round_use=no
41780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41781 ac_ext=c
41782 ac_cpp='$CPP $CPPFLAGS'
41783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41790 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41791 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41792 for ac_func in _ceill _floorl
41793 do :
41794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41796 eval as_val=\$$as_ac_var
41797 if test "x$as_val" = x""yes; then :
41798 cat >>confdefs.h <<_ACEOF
41799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41800 _ACEOF
41803 done
41813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41814 $as_echo_n "checking for isnanl declaration... " >&6; }
41815 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41816 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41817 $as_echo_n "(cached) " >&6
41818 else
41821 ac_ext=cpp
41822 ac_cpp='$CXXCPP $CPPFLAGS'
41823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41828 /* end confdefs.h. */
41829 #include <math.h>
41830 #ifdef HAVE_IEEEFP_H
41831 #include <ieeefp.h>
41832 #endif
41835 main ()
41837 isnanl(0);
41839 return 0;
41841 _ACEOF
41842 if ac_fn_cxx_try_compile "$LINENO"; then :
41843 glibcxx_cv_func_isnanl_use=yes
41844 else
41845 glibcxx_cv_func_isnanl_use=no
41847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41848 ac_ext=c
41849 ac_cpp='$CPP $CPPFLAGS'
41850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41859 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41861 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41862 for ac_func in isnanl
41863 do :
41864 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41865 if test "x$ac_cv_func_isnanl" = x""yes; then :
41866 cat >>confdefs.h <<_ACEOF
41867 #define HAVE_ISNANL 1
41868 _ACEOF
41871 done
41873 else
41875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41876 $as_echo_n "checking for _isnanl declaration... " >&6; }
41877 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41878 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41879 $as_echo_n "(cached) " >&6
41880 else
41883 ac_ext=cpp
41884 ac_cpp='$CXXCPP $CPPFLAGS'
41885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41890 /* end confdefs.h. */
41891 #include <math.h>
41892 #ifdef HAVE_IEEEFP_H
41893 #include <ieeefp.h>
41894 #endif
41897 main ()
41899 _isnanl(0);
41901 return 0;
41903 _ACEOF
41904 if ac_fn_cxx_try_compile "$LINENO"; then :
41905 glibcxx_cv_func__isnanl_use=yes
41906 else
41907 glibcxx_cv_func__isnanl_use=no
41909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41910 ac_ext=c
41911 ac_cpp='$CPP $CPPFLAGS'
41912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41921 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41923 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41924 for ac_func in _isnanl
41925 do :
41926 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41927 if test "x$ac_cv_func__isnanl" = x""yes; then :
41928 cat >>confdefs.h <<_ACEOF
41929 #define HAVE__ISNANL 1
41930 _ACEOF
41933 done
41942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41943 $as_echo_n "checking for isinfl declaration... " >&6; }
41944 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41945 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41946 $as_echo_n "(cached) " >&6
41947 else
41950 ac_ext=cpp
41951 ac_cpp='$CXXCPP $CPPFLAGS'
41952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41957 /* end confdefs.h. */
41958 #include <math.h>
41959 #ifdef HAVE_IEEEFP_H
41960 #include <ieeefp.h>
41961 #endif
41964 main ()
41966 isinfl(0);
41968 return 0;
41970 _ACEOF
41971 if ac_fn_cxx_try_compile "$LINENO"; then :
41972 glibcxx_cv_func_isinfl_use=yes
41973 else
41974 glibcxx_cv_func_isinfl_use=no
41976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41977 ac_ext=c
41978 ac_cpp='$CPP $CPPFLAGS'
41979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41988 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41990 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41991 for ac_func in isinfl
41992 do :
41993 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41994 if test "x$ac_cv_func_isinfl" = x""yes; then :
41995 cat >>confdefs.h <<_ACEOF
41996 #define HAVE_ISINFL 1
41997 _ACEOF
42000 done
42002 else
42004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42005 $as_echo_n "checking for _isinfl declaration... " >&6; }
42006 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42007 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42008 $as_echo_n "(cached) " >&6
42009 else
42012 ac_ext=cpp
42013 ac_cpp='$CXXCPP $CPPFLAGS'
42014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42019 /* end confdefs.h. */
42020 #include <math.h>
42021 #ifdef HAVE_IEEEFP_H
42022 #include <ieeefp.h>
42023 #endif
42026 main ()
42028 _isinfl(0);
42030 return 0;
42032 _ACEOF
42033 if ac_fn_cxx_try_compile "$LINENO"; then :
42034 glibcxx_cv_func__isinfl_use=yes
42035 else
42036 glibcxx_cv_func__isinfl_use=no
42038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42039 ac_ext=c
42040 ac_cpp='$CPP $CPPFLAGS'
42041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42050 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42052 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42053 for ac_func in _isinfl
42054 do :
42055 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42056 if test "x$ac_cv_func__isinfl" = x""yes; then :
42057 cat >>confdefs.h <<_ACEOF
42058 #define HAVE__ISINFL 1
42059 _ACEOF
42062 done
42071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42072 $as_echo_n "checking for atan2l declaration... " >&6; }
42073 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42074 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42075 $as_echo_n "(cached) " >&6
42076 else
42079 ac_ext=cpp
42080 ac_cpp='$CXXCPP $CPPFLAGS'
42081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42086 /* end confdefs.h. */
42087 #include <math.h>
42089 main ()
42091 atan2l(0, 0);
42093 return 0;
42095 _ACEOF
42096 if ac_fn_cxx_try_compile "$LINENO"; then :
42097 glibcxx_cv_func_atan2l_use=yes
42098 else
42099 glibcxx_cv_func_atan2l_use=no
42101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42102 ac_ext=c
42103 ac_cpp='$CPP $CPPFLAGS'
42104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42113 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42115 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42116 for ac_func in atan2l
42117 do :
42118 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42119 if test "x$ac_cv_func_atan2l" = x""yes; then :
42120 cat >>confdefs.h <<_ACEOF
42121 #define HAVE_ATAN2L 1
42122 _ACEOF
42125 done
42127 else
42129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42130 $as_echo_n "checking for _atan2l declaration... " >&6; }
42131 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42132 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42133 $as_echo_n "(cached) " >&6
42134 else
42137 ac_ext=cpp
42138 ac_cpp='$CXXCPP $CPPFLAGS'
42139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42144 /* end confdefs.h. */
42145 #include <math.h>
42147 main ()
42149 _atan2l(0, 0);
42151 return 0;
42153 _ACEOF
42154 if ac_fn_cxx_try_compile "$LINENO"; then :
42155 glibcxx_cv_func__atan2l_use=yes
42156 else
42157 glibcxx_cv_func__atan2l_use=no
42159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42160 ac_ext=c
42161 ac_cpp='$CPP $CPPFLAGS'
42162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42171 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42173 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42174 for ac_func in _atan2l
42175 do :
42176 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42177 if test "x$ac_cv_func__atan2l" = x""yes; then :
42178 cat >>confdefs.h <<_ACEOF
42179 #define HAVE__ATAN2L 1
42180 _ACEOF
42183 done
42192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42193 $as_echo_n "checking for expl declaration... " >&6; }
42194 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42195 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42196 $as_echo_n "(cached) " >&6
42197 else
42200 ac_ext=cpp
42201 ac_cpp='$CXXCPP $CPPFLAGS'
42202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42207 /* end confdefs.h. */
42208 #include <math.h>
42209 #ifdef HAVE_IEEEFP_H
42210 #include <ieeefp.h>
42211 #endif
42214 main ()
42216 expl(0);
42218 return 0;
42220 _ACEOF
42221 if ac_fn_cxx_try_compile "$LINENO"; then :
42222 glibcxx_cv_func_expl_use=yes
42223 else
42224 glibcxx_cv_func_expl_use=no
42226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42227 ac_ext=c
42228 ac_cpp='$CPP $CPPFLAGS'
42229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42238 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42240 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42241 for ac_func in expl
42242 do :
42243 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42244 if test "x$ac_cv_func_expl" = x""yes; then :
42245 cat >>confdefs.h <<_ACEOF
42246 #define HAVE_EXPL 1
42247 _ACEOF
42250 done
42252 else
42254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42255 $as_echo_n "checking for _expl declaration... " >&6; }
42256 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42257 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42258 $as_echo_n "(cached) " >&6
42259 else
42262 ac_ext=cpp
42263 ac_cpp='$CXXCPP $CPPFLAGS'
42264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42269 /* end confdefs.h. */
42270 #include <math.h>
42271 #ifdef HAVE_IEEEFP_H
42272 #include <ieeefp.h>
42273 #endif
42276 main ()
42278 _expl(0);
42280 return 0;
42282 _ACEOF
42283 if ac_fn_cxx_try_compile "$LINENO"; then :
42284 glibcxx_cv_func__expl_use=yes
42285 else
42286 glibcxx_cv_func__expl_use=no
42288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42289 ac_ext=c
42290 ac_cpp='$CPP $CPPFLAGS'
42291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42300 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42302 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42303 for ac_func in _expl
42304 do :
42305 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42306 if test "x$ac_cv_func__expl" = x""yes; then :
42307 cat >>confdefs.h <<_ACEOF
42308 #define HAVE__EXPL 1
42309 _ACEOF
42312 done
42321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42322 $as_echo_n "checking for fabsl declaration... " >&6; }
42323 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42324 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42325 $as_echo_n "(cached) " >&6
42326 else
42329 ac_ext=cpp
42330 ac_cpp='$CXXCPP $CPPFLAGS'
42331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42336 /* end confdefs.h. */
42337 #include <math.h>
42338 #ifdef HAVE_IEEEFP_H
42339 #include <ieeefp.h>
42340 #endif
42343 main ()
42345 fabsl(0);
42347 return 0;
42349 _ACEOF
42350 if ac_fn_cxx_try_compile "$LINENO"; then :
42351 glibcxx_cv_func_fabsl_use=yes
42352 else
42353 glibcxx_cv_func_fabsl_use=no
42355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42356 ac_ext=c
42357 ac_cpp='$CPP $CPPFLAGS'
42358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42367 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42369 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42370 for ac_func in fabsl
42371 do :
42372 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42373 if test "x$ac_cv_func_fabsl" = x""yes; then :
42374 cat >>confdefs.h <<_ACEOF
42375 #define HAVE_FABSL 1
42376 _ACEOF
42379 done
42381 else
42383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42384 $as_echo_n "checking for _fabsl declaration... " >&6; }
42385 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42386 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42387 $as_echo_n "(cached) " >&6
42388 else
42391 ac_ext=cpp
42392 ac_cpp='$CXXCPP $CPPFLAGS'
42393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42398 /* end confdefs.h. */
42399 #include <math.h>
42400 #ifdef HAVE_IEEEFP_H
42401 #include <ieeefp.h>
42402 #endif
42405 main ()
42407 _fabsl(0);
42409 return 0;
42411 _ACEOF
42412 if ac_fn_cxx_try_compile "$LINENO"; then :
42413 glibcxx_cv_func__fabsl_use=yes
42414 else
42415 glibcxx_cv_func__fabsl_use=no
42417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42418 ac_ext=c
42419 ac_cpp='$CPP $CPPFLAGS'
42420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42429 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42431 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42432 for ac_func in _fabsl
42433 do :
42434 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42435 if test "x$ac_cv_func__fabsl" = x""yes; then :
42436 cat >>confdefs.h <<_ACEOF
42437 #define HAVE__FABSL 1
42438 _ACEOF
42441 done
42450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42451 $as_echo_n "checking for fmodl declaration... " >&6; }
42452 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42453 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42454 $as_echo_n "(cached) " >&6
42455 else
42458 ac_ext=cpp
42459 ac_cpp='$CXXCPP $CPPFLAGS'
42460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42465 /* end confdefs.h. */
42466 #include <math.h>
42468 main ()
42470 fmodl(0, 0);
42472 return 0;
42474 _ACEOF
42475 if ac_fn_cxx_try_compile "$LINENO"; then :
42476 glibcxx_cv_func_fmodl_use=yes
42477 else
42478 glibcxx_cv_func_fmodl_use=no
42480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42481 ac_ext=c
42482 ac_cpp='$CPP $CPPFLAGS'
42483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42492 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42494 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42495 for ac_func in fmodl
42496 do :
42497 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42498 if test "x$ac_cv_func_fmodl" = x""yes; then :
42499 cat >>confdefs.h <<_ACEOF
42500 #define HAVE_FMODL 1
42501 _ACEOF
42504 done
42506 else
42508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42509 $as_echo_n "checking for _fmodl declaration... " >&6; }
42510 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42511 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42512 $as_echo_n "(cached) " >&6
42513 else
42516 ac_ext=cpp
42517 ac_cpp='$CXXCPP $CPPFLAGS'
42518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42523 /* end confdefs.h. */
42524 #include <math.h>
42526 main ()
42528 _fmodl(0, 0);
42530 return 0;
42532 _ACEOF
42533 if ac_fn_cxx_try_compile "$LINENO"; then :
42534 glibcxx_cv_func__fmodl_use=yes
42535 else
42536 glibcxx_cv_func__fmodl_use=no
42538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42539 ac_ext=c
42540 ac_cpp='$CPP $CPPFLAGS'
42541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42550 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42552 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42553 for ac_func in _fmodl
42554 do :
42555 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42556 if test "x$ac_cv_func__fmodl" = x""yes; then :
42557 cat >>confdefs.h <<_ACEOF
42558 #define HAVE__FMODL 1
42559 _ACEOF
42562 done
42571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42572 $as_echo_n "checking for frexpl declaration... " >&6; }
42573 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42574 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42575 $as_echo_n "(cached) " >&6
42576 else
42579 ac_ext=cpp
42580 ac_cpp='$CXXCPP $CPPFLAGS'
42581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42586 /* end confdefs.h. */
42587 #include <math.h>
42589 main ()
42591 frexpl(0, 0);
42593 return 0;
42595 _ACEOF
42596 if ac_fn_cxx_try_compile "$LINENO"; then :
42597 glibcxx_cv_func_frexpl_use=yes
42598 else
42599 glibcxx_cv_func_frexpl_use=no
42601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42602 ac_ext=c
42603 ac_cpp='$CPP $CPPFLAGS'
42604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42613 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42615 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42616 for ac_func in frexpl
42617 do :
42618 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42619 if test "x$ac_cv_func_frexpl" = x""yes; then :
42620 cat >>confdefs.h <<_ACEOF
42621 #define HAVE_FREXPL 1
42622 _ACEOF
42625 done
42627 else
42629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42630 $as_echo_n "checking for _frexpl declaration... " >&6; }
42631 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42632 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42633 $as_echo_n "(cached) " >&6
42634 else
42637 ac_ext=cpp
42638 ac_cpp='$CXXCPP $CPPFLAGS'
42639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42644 /* end confdefs.h. */
42645 #include <math.h>
42647 main ()
42649 _frexpl(0, 0);
42651 return 0;
42653 _ACEOF
42654 if ac_fn_cxx_try_compile "$LINENO"; then :
42655 glibcxx_cv_func__frexpl_use=yes
42656 else
42657 glibcxx_cv_func__frexpl_use=no
42659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42660 ac_ext=c
42661 ac_cpp='$CPP $CPPFLAGS'
42662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42671 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42673 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42674 for ac_func in _frexpl
42675 do :
42676 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42677 if test "x$ac_cv_func__frexpl" = x""yes; then :
42678 cat >>confdefs.h <<_ACEOF
42679 #define HAVE__FREXPL 1
42680 _ACEOF
42683 done
42692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42693 $as_echo_n "checking for hypotl declaration... " >&6; }
42694 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42695 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42696 $as_echo_n "(cached) " >&6
42697 else
42700 ac_ext=cpp
42701 ac_cpp='$CXXCPP $CPPFLAGS'
42702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42707 /* end confdefs.h. */
42708 #include <math.h>
42710 main ()
42712 hypotl(0, 0);
42714 return 0;
42716 _ACEOF
42717 if ac_fn_cxx_try_compile "$LINENO"; then :
42718 glibcxx_cv_func_hypotl_use=yes
42719 else
42720 glibcxx_cv_func_hypotl_use=no
42722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42723 ac_ext=c
42724 ac_cpp='$CPP $CPPFLAGS'
42725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42734 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42736 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42737 for ac_func in hypotl
42738 do :
42739 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42740 if test "x$ac_cv_func_hypotl" = x""yes; then :
42741 cat >>confdefs.h <<_ACEOF
42742 #define HAVE_HYPOTL 1
42743 _ACEOF
42746 done
42748 else
42750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42751 $as_echo_n "checking for _hypotl declaration... " >&6; }
42752 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42753 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42754 $as_echo_n "(cached) " >&6
42755 else
42758 ac_ext=cpp
42759 ac_cpp='$CXXCPP $CPPFLAGS'
42760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42765 /* end confdefs.h. */
42766 #include <math.h>
42768 main ()
42770 _hypotl(0, 0);
42772 return 0;
42774 _ACEOF
42775 if ac_fn_cxx_try_compile "$LINENO"; then :
42776 glibcxx_cv_func__hypotl_use=yes
42777 else
42778 glibcxx_cv_func__hypotl_use=no
42780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42781 ac_ext=c
42782 ac_cpp='$CPP $CPPFLAGS'
42783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42792 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42794 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42795 for ac_func in _hypotl
42796 do :
42797 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42798 if test "x$ac_cv_func__hypotl" = x""yes; then :
42799 cat >>confdefs.h <<_ACEOF
42800 #define HAVE__HYPOTL 1
42801 _ACEOF
42804 done
42813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42814 $as_echo_n "checking for ldexpl declaration... " >&6; }
42815 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42816 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42817 $as_echo_n "(cached) " >&6
42818 else
42821 ac_ext=cpp
42822 ac_cpp='$CXXCPP $CPPFLAGS'
42823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42828 /* end confdefs.h. */
42829 #include <math.h>
42831 main ()
42833 ldexpl(0, 0);
42835 return 0;
42837 _ACEOF
42838 if ac_fn_cxx_try_compile "$LINENO"; then :
42839 glibcxx_cv_func_ldexpl_use=yes
42840 else
42841 glibcxx_cv_func_ldexpl_use=no
42843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42844 ac_ext=c
42845 ac_cpp='$CPP $CPPFLAGS'
42846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42855 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42857 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42858 for ac_func in ldexpl
42859 do :
42860 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42861 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42862 cat >>confdefs.h <<_ACEOF
42863 #define HAVE_LDEXPL 1
42864 _ACEOF
42867 done
42869 else
42871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42872 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42873 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42874 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42875 $as_echo_n "(cached) " >&6
42876 else
42879 ac_ext=cpp
42880 ac_cpp='$CXXCPP $CPPFLAGS'
42881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42886 /* end confdefs.h. */
42887 #include <math.h>
42889 main ()
42891 _ldexpl(0, 0);
42893 return 0;
42895 _ACEOF
42896 if ac_fn_cxx_try_compile "$LINENO"; then :
42897 glibcxx_cv_func__ldexpl_use=yes
42898 else
42899 glibcxx_cv_func__ldexpl_use=no
42901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42902 ac_ext=c
42903 ac_cpp='$CPP $CPPFLAGS'
42904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42913 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42915 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42916 for ac_func in _ldexpl
42917 do :
42918 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42919 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42920 cat >>confdefs.h <<_ACEOF
42921 #define HAVE__LDEXPL 1
42922 _ACEOF
42925 done
42934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42935 $as_echo_n "checking for logl declaration... " >&6; }
42936 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42937 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42938 $as_echo_n "(cached) " >&6
42939 else
42942 ac_ext=cpp
42943 ac_cpp='$CXXCPP $CPPFLAGS'
42944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42949 /* end confdefs.h. */
42950 #include <math.h>
42951 #ifdef HAVE_IEEEFP_H
42952 #include <ieeefp.h>
42953 #endif
42956 main ()
42958 logl(0);
42960 return 0;
42962 _ACEOF
42963 if ac_fn_cxx_try_compile "$LINENO"; then :
42964 glibcxx_cv_func_logl_use=yes
42965 else
42966 glibcxx_cv_func_logl_use=no
42968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42969 ac_ext=c
42970 ac_cpp='$CPP $CPPFLAGS'
42971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42980 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42982 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42983 for ac_func in logl
42984 do :
42985 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42986 if test "x$ac_cv_func_logl" = x""yes; then :
42987 cat >>confdefs.h <<_ACEOF
42988 #define HAVE_LOGL 1
42989 _ACEOF
42992 done
42994 else
42996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42997 $as_echo_n "checking for _logl declaration... " >&6; }
42998 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42999 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43000 $as_echo_n "(cached) " >&6
43001 else
43004 ac_ext=cpp
43005 ac_cpp='$CXXCPP $CPPFLAGS'
43006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43011 /* end confdefs.h. */
43012 #include <math.h>
43013 #ifdef HAVE_IEEEFP_H
43014 #include <ieeefp.h>
43015 #endif
43018 main ()
43020 _logl(0);
43022 return 0;
43024 _ACEOF
43025 if ac_fn_cxx_try_compile "$LINENO"; then :
43026 glibcxx_cv_func__logl_use=yes
43027 else
43028 glibcxx_cv_func__logl_use=no
43030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43031 ac_ext=c
43032 ac_cpp='$CPP $CPPFLAGS'
43033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43042 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43044 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43045 for ac_func in _logl
43046 do :
43047 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43048 if test "x$ac_cv_func__logl" = x""yes; then :
43049 cat >>confdefs.h <<_ACEOF
43050 #define HAVE__LOGL 1
43051 _ACEOF
43054 done
43063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43064 $as_echo_n "checking for log10l declaration... " >&6; }
43065 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43066 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43067 $as_echo_n "(cached) " >&6
43068 else
43071 ac_ext=cpp
43072 ac_cpp='$CXXCPP $CPPFLAGS'
43073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43078 /* end confdefs.h. */
43079 #include <math.h>
43080 #ifdef HAVE_IEEEFP_H
43081 #include <ieeefp.h>
43082 #endif
43085 main ()
43087 log10l(0);
43089 return 0;
43091 _ACEOF
43092 if ac_fn_cxx_try_compile "$LINENO"; then :
43093 glibcxx_cv_func_log10l_use=yes
43094 else
43095 glibcxx_cv_func_log10l_use=no
43097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43098 ac_ext=c
43099 ac_cpp='$CPP $CPPFLAGS'
43100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43109 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43111 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43112 for ac_func in log10l
43113 do :
43114 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43115 if test "x$ac_cv_func_log10l" = x""yes; then :
43116 cat >>confdefs.h <<_ACEOF
43117 #define HAVE_LOG10L 1
43118 _ACEOF
43121 done
43123 else
43125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43126 $as_echo_n "checking for _log10l declaration... " >&6; }
43127 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43128 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43129 $as_echo_n "(cached) " >&6
43130 else
43133 ac_ext=cpp
43134 ac_cpp='$CXXCPP $CPPFLAGS'
43135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43140 /* end confdefs.h. */
43141 #include <math.h>
43142 #ifdef HAVE_IEEEFP_H
43143 #include <ieeefp.h>
43144 #endif
43147 main ()
43149 _log10l(0);
43151 return 0;
43153 _ACEOF
43154 if ac_fn_cxx_try_compile "$LINENO"; then :
43155 glibcxx_cv_func__log10l_use=yes
43156 else
43157 glibcxx_cv_func__log10l_use=no
43159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43160 ac_ext=c
43161 ac_cpp='$CPP $CPPFLAGS'
43162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43171 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43173 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43174 for ac_func in _log10l
43175 do :
43176 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43177 if test "x$ac_cv_func__log10l" = x""yes; then :
43178 cat >>confdefs.h <<_ACEOF
43179 #define HAVE__LOG10L 1
43180 _ACEOF
43183 done
43192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43193 $as_echo_n "checking for modfl declaration... " >&6; }
43194 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43195 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43196 $as_echo_n "(cached) " >&6
43197 else
43200 ac_ext=cpp
43201 ac_cpp='$CXXCPP $CPPFLAGS'
43202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43207 /* end confdefs.h. */
43208 #include <math.h>
43210 main ()
43212 modfl(0, 0);
43214 return 0;
43216 _ACEOF
43217 if ac_fn_cxx_try_compile "$LINENO"; then :
43218 glibcxx_cv_func_modfl_use=yes
43219 else
43220 glibcxx_cv_func_modfl_use=no
43222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43223 ac_ext=c
43224 ac_cpp='$CPP $CPPFLAGS'
43225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43234 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43236 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43237 for ac_func in modfl
43238 do :
43239 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43240 if test "x$ac_cv_func_modfl" = x""yes; then :
43241 cat >>confdefs.h <<_ACEOF
43242 #define HAVE_MODFL 1
43243 _ACEOF
43246 done
43248 else
43250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43251 $as_echo_n "checking for _modfl declaration... " >&6; }
43252 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43253 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43254 $as_echo_n "(cached) " >&6
43255 else
43258 ac_ext=cpp
43259 ac_cpp='$CXXCPP $CPPFLAGS'
43260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43265 /* end confdefs.h. */
43266 #include <math.h>
43268 main ()
43270 _modfl(0, 0);
43272 return 0;
43274 _ACEOF
43275 if ac_fn_cxx_try_compile "$LINENO"; then :
43276 glibcxx_cv_func__modfl_use=yes
43277 else
43278 glibcxx_cv_func__modfl_use=no
43280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43281 ac_ext=c
43282 ac_cpp='$CPP $CPPFLAGS'
43283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43292 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43294 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43295 for ac_func in _modfl
43296 do :
43297 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43298 if test "x$ac_cv_func__modfl" = x""yes; then :
43299 cat >>confdefs.h <<_ACEOF
43300 #define HAVE__MODFL 1
43301 _ACEOF
43304 done
43313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43314 $as_echo_n "checking for powl declaration... " >&6; }
43315 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43316 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43317 $as_echo_n "(cached) " >&6
43318 else
43321 ac_ext=cpp
43322 ac_cpp='$CXXCPP $CPPFLAGS'
43323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43328 /* end confdefs.h. */
43329 #include <math.h>
43331 main ()
43333 powl(0, 0);
43335 return 0;
43337 _ACEOF
43338 if ac_fn_cxx_try_compile "$LINENO"; then :
43339 glibcxx_cv_func_powl_use=yes
43340 else
43341 glibcxx_cv_func_powl_use=no
43343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43344 ac_ext=c
43345 ac_cpp='$CPP $CPPFLAGS'
43346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43355 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43357 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43358 for ac_func in powl
43359 do :
43360 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43361 if test "x$ac_cv_func_powl" = x""yes; then :
43362 cat >>confdefs.h <<_ACEOF
43363 #define HAVE_POWL 1
43364 _ACEOF
43367 done
43369 else
43371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43372 $as_echo_n "checking for _powl declaration... " >&6; }
43373 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43374 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43375 $as_echo_n "(cached) " >&6
43376 else
43379 ac_ext=cpp
43380 ac_cpp='$CXXCPP $CPPFLAGS'
43381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43386 /* end confdefs.h. */
43387 #include <math.h>
43389 main ()
43391 _powl(0, 0);
43393 return 0;
43395 _ACEOF
43396 if ac_fn_cxx_try_compile "$LINENO"; then :
43397 glibcxx_cv_func__powl_use=yes
43398 else
43399 glibcxx_cv_func__powl_use=no
43401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43402 ac_ext=c
43403 ac_cpp='$CPP $CPPFLAGS'
43404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43413 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43415 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43416 for ac_func in _powl
43417 do :
43418 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43419 if test "x$ac_cv_func__powl" = x""yes; then :
43420 cat >>confdefs.h <<_ACEOF
43421 #define HAVE__POWL 1
43422 _ACEOF
43425 done
43434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43435 $as_echo_n "checking for sqrtl declaration... " >&6; }
43436 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43437 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43438 $as_echo_n "(cached) " >&6
43439 else
43442 ac_ext=cpp
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43449 /* end confdefs.h. */
43450 #include <math.h>
43451 #ifdef HAVE_IEEEFP_H
43452 #include <ieeefp.h>
43453 #endif
43456 main ()
43458 sqrtl(0);
43460 return 0;
43462 _ACEOF
43463 if ac_fn_cxx_try_compile "$LINENO"; then :
43464 glibcxx_cv_func_sqrtl_use=yes
43465 else
43466 glibcxx_cv_func_sqrtl_use=no
43468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43469 ac_ext=c
43470 ac_cpp='$CPP $CPPFLAGS'
43471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43480 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43482 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43483 for ac_func in sqrtl
43484 do :
43485 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43486 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43487 cat >>confdefs.h <<_ACEOF
43488 #define HAVE_SQRTL 1
43489 _ACEOF
43492 done
43494 else
43496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43497 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43498 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43499 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43500 $as_echo_n "(cached) " >&6
43501 else
43504 ac_ext=cpp
43505 ac_cpp='$CXXCPP $CPPFLAGS'
43506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43511 /* end confdefs.h. */
43512 #include <math.h>
43513 #ifdef HAVE_IEEEFP_H
43514 #include <ieeefp.h>
43515 #endif
43518 main ()
43520 _sqrtl(0);
43522 return 0;
43524 _ACEOF
43525 if ac_fn_cxx_try_compile "$LINENO"; then :
43526 glibcxx_cv_func__sqrtl_use=yes
43527 else
43528 glibcxx_cv_func__sqrtl_use=no
43530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43531 ac_ext=c
43532 ac_cpp='$CPP $CPPFLAGS'
43533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43542 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43544 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43545 for ac_func in _sqrtl
43546 do :
43547 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43548 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43549 cat >>confdefs.h <<_ACEOF
43550 #define HAVE__SQRTL 1
43551 _ACEOF
43554 done
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43564 $as_echo_n "checking for sincosl declaration... " >&6; }
43565 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43566 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43567 $as_echo_n "(cached) " >&6
43568 else
43571 ac_ext=cpp
43572 ac_cpp='$CXXCPP $CPPFLAGS'
43573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43578 /* end confdefs.h. */
43579 #include <math.h>
43581 main ()
43583 sincosl(0, 0, 0);
43585 return 0;
43587 _ACEOF
43588 if ac_fn_cxx_try_compile "$LINENO"; then :
43589 glibcxx_cv_func_sincosl_use=yes
43590 else
43591 glibcxx_cv_func_sincosl_use=no
43593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43594 ac_ext=c
43595 ac_cpp='$CPP $CPPFLAGS'
43596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43605 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43607 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43608 for ac_func in sincosl
43609 do :
43610 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43611 if test "x$ac_cv_func_sincosl" = x""yes; then :
43612 cat >>confdefs.h <<_ACEOF
43613 #define HAVE_SINCOSL 1
43614 _ACEOF
43617 done
43619 else
43621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43622 $as_echo_n "checking for _sincosl declaration... " >&6; }
43623 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43624 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43625 $as_echo_n "(cached) " >&6
43626 else
43629 ac_ext=cpp
43630 ac_cpp='$CXXCPP $CPPFLAGS'
43631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43636 /* end confdefs.h. */
43637 #include <math.h>
43639 main ()
43641 _sincosl(0, 0, 0);
43643 return 0;
43645 _ACEOF
43646 if ac_fn_cxx_try_compile "$LINENO"; then :
43647 glibcxx_cv_func__sincosl_use=yes
43648 else
43649 glibcxx_cv_func__sincosl_use=no
43651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43652 ac_ext=c
43653 ac_cpp='$CPP $CPPFLAGS'
43654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43663 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43665 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43666 for ac_func in _sincosl
43667 do :
43668 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43669 if test "x$ac_cv_func__sincosl" = x""yes; then :
43670 cat >>confdefs.h <<_ACEOF
43671 #define HAVE__SINCOSL 1
43672 _ACEOF
43675 done
43684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43685 $as_echo_n "checking for finitel declaration... " >&6; }
43686 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43687 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43688 $as_echo_n "(cached) " >&6
43689 else
43692 ac_ext=cpp
43693 ac_cpp='$CXXCPP $CPPFLAGS'
43694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43699 /* end confdefs.h. */
43700 #include <math.h>
43701 #ifdef HAVE_IEEEFP_H
43702 #include <ieeefp.h>
43703 #endif
43706 main ()
43708 finitel(0);
43710 return 0;
43712 _ACEOF
43713 if ac_fn_cxx_try_compile "$LINENO"; then :
43714 glibcxx_cv_func_finitel_use=yes
43715 else
43716 glibcxx_cv_func_finitel_use=no
43718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43719 ac_ext=c
43720 ac_cpp='$CPP $CPPFLAGS'
43721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43730 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43732 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43733 for ac_func in finitel
43734 do :
43735 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43736 if test "x$ac_cv_func_finitel" = x""yes; then :
43737 cat >>confdefs.h <<_ACEOF
43738 #define HAVE_FINITEL 1
43739 _ACEOF
43742 done
43744 else
43746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43747 $as_echo_n "checking for _finitel declaration... " >&6; }
43748 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43749 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43750 $as_echo_n "(cached) " >&6
43751 else
43754 ac_ext=cpp
43755 ac_cpp='$CXXCPP $CPPFLAGS'
43756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43761 /* end confdefs.h. */
43762 #include <math.h>
43763 #ifdef HAVE_IEEEFP_H
43764 #include <ieeefp.h>
43765 #endif
43768 main ()
43770 _finitel(0);
43772 return 0;
43774 _ACEOF
43775 if ac_fn_cxx_try_compile "$LINENO"; then :
43776 glibcxx_cv_func__finitel_use=yes
43777 else
43778 glibcxx_cv_func__finitel_use=no
43780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43781 ac_ext=c
43782 ac_cpp='$CPP $CPPFLAGS'
43783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43792 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43794 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43795 for ac_func in _finitel
43796 do :
43797 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43798 if test "x$ac_cv_func__finitel" = x""yes; then :
43799 cat >>confdefs.h <<_ACEOF
43800 #define HAVE__FINITEL 1
43801 _ACEOF
43804 done
43812 LIBS="$ac_save_LIBS"
43813 CXXFLAGS="$ac_save_CXXFLAGS"
43816 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43817 ac_save_CXXFLAGS="$CXXFLAGS"
43818 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43822 $as_echo_n "checking for strtold declaration... " >&6; }
43823 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43824 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43825 $as_echo_n "(cached) " >&6
43826 else
43829 ac_ext=cpp
43830 ac_cpp='$CXXCPP $CPPFLAGS'
43831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43836 /* end confdefs.h. */
43837 #include <stdlib.h>
43839 main ()
43841 strtold(0, 0);
43843 return 0;
43845 _ACEOF
43846 if ac_fn_cxx_try_compile "$LINENO"; then :
43847 glibcxx_cv_func_strtold_use=yes
43848 else
43849 glibcxx_cv_func_strtold_use=no
43851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43852 ac_ext=c
43853 ac_cpp='$CPP $CPPFLAGS'
43854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43863 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43864 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43865 for ac_func in strtold
43866 do :
43867 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43868 if test "x$ac_cv_func_strtold" = x""yes; then :
43869 cat >>confdefs.h <<_ACEOF
43870 #define HAVE_STRTOLD 1
43871 _ACEOF
43874 done
43881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43882 $as_echo_n "checking for strtof declaration... " >&6; }
43883 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43884 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43885 $as_echo_n "(cached) " >&6
43886 else
43889 ac_ext=cpp
43890 ac_cpp='$CXXCPP $CPPFLAGS'
43891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43896 /* end confdefs.h. */
43897 #include <stdlib.h>
43899 main ()
43901 strtof(0, 0);
43903 return 0;
43905 _ACEOF
43906 if ac_fn_cxx_try_compile "$LINENO"; then :
43907 glibcxx_cv_func_strtof_use=yes
43908 else
43909 glibcxx_cv_func_strtof_use=no
43911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43912 ac_ext=c
43913 ac_cpp='$CPP $CPPFLAGS'
43914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43923 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43924 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43925 for ac_func in strtof
43926 do :
43927 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43928 if test "x$ac_cv_func_strtof" = x""yes; then :
43929 cat >>confdefs.h <<_ACEOF
43930 #define HAVE_STRTOF 1
43931 _ACEOF
43934 done
43941 CXXFLAGS="$ac_save_CXXFLAGS"
43945 *djgpp)
43946 # GLIBCXX_CHECK_MATH_SUPPORT
43947 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43949 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43951 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43953 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43955 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43959 *-freebsd*)
43960 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43963 # If we're not using GNU ld, then there's no point in even trying these
43964 # tests. Check for that first. We should have already tested for gld
43965 # by now (in libtool), but require it now just to be safe...
43966 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43967 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43971 # The name set by libtool depends on the version of libtool. Shame on us
43972 # for depending on an impl detail, but c'est la vie. Older versions used
43973 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43974 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43975 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43976 # set (hence we're using an older libtool), then set it.
43977 if test x${with_gnu_ld+set} != xset; then
43978 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43979 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43980 with_gnu_ld=no
43981 else
43982 with_gnu_ld=$ac_cv_prog_gnu_ld
43986 # Start by getting the version number. I think the libtool test already
43987 # does some of this, but throws away the result.
43988 glibcxx_ld_is_gold=no
43989 if test x"$with_gnu_ld" = x"yes"; then
43990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43991 $as_echo_n "checking for ld version... " >&6; }
43993 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43994 glibcxx_ld_is_gold=yes
43996 ldver=`$LD --version 2>/dev/null |
43997 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'`
43999 glibcxx_gnu_ld_version=`echo $ldver | \
44000 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44002 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44005 # Set --gc-sections.
44006 glibcxx_have_gc_sections=no
44007 if test "$glibcxx_ld_is_gold" = "yes"; then
44008 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44009 glibcxx_have_gc_sections=yes
44011 else
44012 glibcxx_gcsections_min_ld=21602
44013 if test x"$with_gnu_ld" = x"yes" &&
44014 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44015 glibcxx_have_gc_sections=yes
44018 if test "$glibcxx_have_gc_sections" = "yes"; then
44019 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44020 # NB: This flag only works reliably after 2.16.1. Configure tests
44021 # for this are difficult, so hard wire a value that should work.
44023 ac_test_CFLAGS="${CFLAGS+set}"
44024 ac_save_CFLAGS="$CFLAGS"
44025 CFLAGS='-Wl,--gc-sections'
44027 # Check for -Wl,--gc-sections
44028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44029 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44030 if test x$gcc_no_link = xyes; then
44031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44034 /* end confdefs.h. */
44035 int one(void) { return 1; }
44036 int two(void) { return 2; }
44039 main ()
44041 two();
44043 return 0;
44045 _ACEOF
44046 if ac_fn_c_try_link "$LINENO"; then :
44047 ac_gcsections=yes
44048 else
44049 ac_gcsections=no
44051 rm -f core conftest.err conftest.$ac_objext \
44052 conftest$ac_exeext conftest.$ac_ext
44053 if test "$ac_gcsections" = "yes"; then
44054 rm -f conftest.c
44055 touch conftest.c
44056 if $CC -c conftest.c; then
44057 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44058 grep "Warning: gc-sections option ignored" > /dev/null; then
44059 ac_gcsections=no
44062 rm -f conftest.c conftest.o conftest
44064 if test "$ac_gcsections" = "yes"; then
44065 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44068 $as_echo "$ac_gcsections" >&6; }
44070 if test "$ac_test_CFLAGS" = set; then
44071 CFLAGS="$ac_save_CFLAGS"
44072 else
44073 # this is the suspicious part
44074 CFLAGS=''
44078 # Set -z,relro.
44079 # Note this is only for shared objects.
44080 ac_ld_relro=no
44081 if test x"$with_gnu_ld" = x"yes"; then
44082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44083 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44084 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44085 if test -n "$cxx_z_relo"; then
44086 OPT_LDFLAGS="-Wl,-z,relro"
44087 ac_ld_relro=yes
44089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44090 $as_echo "$ac_ld_relro" >&6; }
44093 # Set linker optimization flags.
44094 if test x"$with_gnu_ld" = x"yes"; then
44095 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44101 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44103 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44105 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44107 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44109 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44111 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44113 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44115 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44117 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44120 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44122 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44124 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44126 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44128 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44130 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44132 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44134 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44136 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44138 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44140 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44142 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44144 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44146 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44148 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44150 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44152 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44154 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44156 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44158 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44160 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44162 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44164 if test x"long_double_math_on_this_cpu" = x"yes"; then
44165 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44167 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44169 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44173 *-hpux*)
44174 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44177 # If we're not using GNU ld, then there's no point in even trying these
44178 # tests. Check for that first. We should have already tested for gld
44179 # by now (in libtool), but require it now just to be safe...
44180 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44181 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44185 # The name set by libtool depends on the version of libtool. Shame on us
44186 # for depending on an impl detail, but c'est la vie. Older versions used
44187 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44188 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44189 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44190 # set (hence we're using an older libtool), then set it.
44191 if test x${with_gnu_ld+set} != xset; then
44192 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44193 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44194 with_gnu_ld=no
44195 else
44196 with_gnu_ld=$ac_cv_prog_gnu_ld
44200 # Start by getting the version number. I think the libtool test already
44201 # does some of this, but throws away the result.
44202 glibcxx_ld_is_gold=no
44203 if test x"$with_gnu_ld" = x"yes"; then
44204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44205 $as_echo_n "checking for ld version... " >&6; }
44207 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44208 glibcxx_ld_is_gold=yes
44210 ldver=`$LD --version 2>/dev/null |
44211 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'`
44213 glibcxx_gnu_ld_version=`echo $ldver | \
44214 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44216 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44219 # Set --gc-sections.
44220 glibcxx_have_gc_sections=no
44221 if test "$glibcxx_ld_is_gold" = "yes"; then
44222 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44223 glibcxx_have_gc_sections=yes
44225 else
44226 glibcxx_gcsections_min_ld=21602
44227 if test x"$with_gnu_ld" = x"yes" &&
44228 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44229 glibcxx_have_gc_sections=yes
44232 if test "$glibcxx_have_gc_sections" = "yes"; then
44233 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44234 # NB: This flag only works reliably after 2.16.1. Configure tests
44235 # for this are difficult, so hard wire a value that should work.
44237 ac_test_CFLAGS="${CFLAGS+set}"
44238 ac_save_CFLAGS="$CFLAGS"
44239 CFLAGS='-Wl,--gc-sections'
44241 # Check for -Wl,--gc-sections
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44243 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44244 if test x$gcc_no_link = xyes; then
44245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44248 /* end confdefs.h. */
44249 int one(void) { return 1; }
44250 int two(void) { return 2; }
44253 main ()
44255 two();
44257 return 0;
44259 _ACEOF
44260 if ac_fn_c_try_link "$LINENO"; then :
44261 ac_gcsections=yes
44262 else
44263 ac_gcsections=no
44265 rm -f core conftest.err conftest.$ac_objext \
44266 conftest$ac_exeext conftest.$ac_ext
44267 if test "$ac_gcsections" = "yes"; then
44268 rm -f conftest.c
44269 touch conftest.c
44270 if $CC -c conftest.c; then
44271 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44272 grep "Warning: gc-sections option ignored" > /dev/null; then
44273 ac_gcsections=no
44276 rm -f conftest.c conftest.o conftest
44278 if test "$ac_gcsections" = "yes"; then
44279 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44282 $as_echo "$ac_gcsections" >&6; }
44284 if test "$ac_test_CFLAGS" = set; then
44285 CFLAGS="$ac_save_CFLAGS"
44286 else
44287 # this is the suspicious part
44288 CFLAGS=''
44292 # Set -z,relro.
44293 # Note this is only for shared objects.
44294 ac_ld_relro=no
44295 if test x"$with_gnu_ld" = x"yes"; then
44296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44297 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44298 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44299 if test -n "$cxx_z_relo"; then
44300 OPT_LDFLAGS="-Wl,-z,relro"
44301 ac_ld_relro=yes
44303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44304 $as_echo "$ac_ld_relro" >&6; }
44307 # Set linker optimization flags.
44308 if test x"$with_gnu_ld" = x"yes"; then
44309 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44316 # GLIBCXX_CHECK_MATH_SUPPORT
44317 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44319 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44321 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44323 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44325 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44327 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44329 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44331 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44333 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44335 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44337 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44339 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44341 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44343 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44345 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44347 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44349 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44351 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44353 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44355 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44357 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44360 # GLIBCXX_CHECK_STDLIB_SUPPORT
44361 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44366 # Check whether --enable-tls was given.
44367 if test "${enable_tls+set}" = set; then :
44368 enableval=$enable_tls;
44369 case "$enableval" in
44370 yes|no) ;;
44371 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44372 esac
44374 else
44375 enable_tls=yes
44379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44380 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44381 if test "${gcc_cv_have_tls+set}" = set; then :
44382 $as_echo_n "(cached) " >&6
44383 else
44385 if test "$cross_compiling" = yes; then :
44386 if test x$gcc_no_link = xyes; then
44387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44390 /* end confdefs.h. */
44391 __thread int a; int b; int main() { return a = b; }
44392 _ACEOF
44393 if ac_fn_c_try_link "$LINENO"; then :
44394 chktls_save_LDFLAGS="$LDFLAGS"
44395 case $host in
44396 *-*-linux*)
44397 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44399 esac
44400 chktls_save_CFLAGS="$CFLAGS"
44401 CFLAGS="-fPIC $CFLAGS"
44402 if test x$gcc_no_link = xyes; then
44403 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44406 /* end confdefs.h. */
44407 int f() { return 0; }
44408 _ACEOF
44409 if ac_fn_c_try_link "$LINENO"; then :
44410 if test x$gcc_no_link = xyes; then
44411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44414 /* end confdefs.h. */
44415 __thread int a; int b; int f() { return a = b; }
44416 _ACEOF
44417 if ac_fn_c_try_link "$LINENO"; then :
44418 gcc_cv_have_tls=yes
44419 else
44420 gcc_cv_have_tls=no
44422 rm -f core conftest.err conftest.$ac_objext \
44423 conftest$ac_exeext conftest.$ac_ext
44424 else
44425 gcc_cv_have_tls=yes
44427 rm -f core conftest.err conftest.$ac_objext \
44428 conftest$ac_exeext conftest.$ac_ext
44429 CFLAGS="$chktls_save_CFLAGS"
44430 LDFLAGS="$chktls_save_LDFLAGS"
44431 else
44432 gcc_cv_have_tls=no
44434 rm -f core conftest.err conftest.$ac_objext \
44435 conftest$ac_exeext conftest.$ac_ext
44438 else
44439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44440 /* end confdefs.h. */
44441 __thread int a; int b; int main() { return a = b; }
44442 _ACEOF
44443 if ac_fn_c_try_run "$LINENO"; then :
44444 chktls_save_LDFLAGS="$LDFLAGS"
44445 LDFLAGS="-static $LDFLAGS"
44446 if test x$gcc_no_link = xyes; then
44447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44450 /* end confdefs.h. */
44451 int main() { return 0; }
44452 _ACEOF
44453 if ac_fn_c_try_link "$LINENO"; then :
44454 if test "$cross_compiling" = yes; then :
44455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44457 as_fn_error "cannot run test program while cross compiling
44458 See \`config.log' for more details." "$LINENO" 5; }
44459 else
44460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44461 /* end confdefs.h. */
44462 __thread int a; int b; int main() { return a = b; }
44463 _ACEOF
44464 if ac_fn_c_try_run "$LINENO"; then :
44465 gcc_cv_have_tls=yes
44466 else
44467 gcc_cv_have_tls=no
44469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44470 conftest.$ac_objext conftest.beam conftest.$ac_ext
44473 else
44474 gcc_cv_have_tls=yes
44476 rm -f core conftest.err conftest.$ac_objext \
44477 conftest$ac_exeext conftest.$ac_ext
44478 LDFLAGS="$chktls_save_LDFLAGS"
44479 if test $gcc_cv_have_tls = yes; then
44480 chktls_save_CFLAGS="$CFLAGS"
44481 thread_CFLAGS=failed
44482 for flag in '' '-pthread' '-lpthread'; do
44483 CFLAGS="$flag $chktls_save_CFLAGS"
44484 if test x$gcc_no_link = xyes; then
44485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44488 /* end confdefs.h. */
44489 #include <pthread.h>
44490 void *g(void *d) { return NULL; }
44492 main ()
44494 pthread_t t; pthread_create(&t,NULL,g,NULL);
44496 return 0;
44498 _ACEOF
44499 if ac_fn_c_try_link "$LINENO"; then :
44500 thread_CFLAGS="$flag"
44502 rm -f core conftest.err conftest.$ac_objext \
44503 conftest$ac_exeext conftest.$ac_ext
44504 if test "X$thread_CFLAGS" != Xfailed; then
44505 break
44507 done
44508 CFLAGS="$chktls_save_CFLAGS"
44509 if test "X$thread_CFLAGS" != Xfailed; then
44510 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44511 if test "$cross_compiling" = yes; then :
44512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44514 as_fn_error "cannot run test program while cross compiling
44515 See \`config.log' for more details." "$LINENO" 5; }
44516 else
44517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44518 /* end confdefs.h. */
44519 #include <pthread.h>
44520 __thread int a;
44521 static int *volatile a_in_other_thread;
44522 static void *
44523 thread_func (void *arg)
44525 a_in_other_thread = &a;
44526 return (void *)0;
44529 main ()
44531 pthread_t thread;
44532 void *thread_retval;
44533 int *volatile a_in_main_thread;
44534 a_in_main_thread = &a;
44535 if (pthread_create (&thread, (pthread_attr_t *)0,
44536 thread_func, (void *)0))
44537 return 0;
44538 if (pthread_join (thread, &thread_retval))
44539 return 0;
44540 return (a_in_other_thread == a_in_main_thread);
44542 return 0;
44544 _ACEOF
44545 if ac_fn_c_try_run "$LINENO"; then :
44546 gcc_cv_have_tls=yes
44547 else
44548 gcc_cv_have_tls=no
44550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44551 conftest.$ac_objext conftest.beam conftest.$ac_ext
44554 CFLAGS="$chktls_save_CFLAGS"
44557 else
44558 gcc_cv_have_tls=no
44560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44561 conftest.$ac_objext conftest.beam conftest.$ac_ext
44565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44566 $as_echo "$gcc_cv_have_tls" >&6; }
44567 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44569 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44572 case "$target" in
44573 *-hpux10*)
44574 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44576 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44578 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44580 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44582 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44585 esac
44587 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44589 # All these tests are for C++; save the language and the compiler flags.
44590 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44591 # found in GLIBCXX_CONFIGURE.
44593 ac_ext=cpp
44594 ac_cpp='$CXXCPP $CPPFLAGS'
44595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44599 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44600 ac_save_CXXFLAGS="$CXXFLAGS"
44602 # Check for maintainer-mode bits.
44603 if test x"$USE_MAINTAINER_MODE" = xno; then
44604 WERROR=''
44605 else
44606 WERROR='-Werror'
44609 # Check for -ffunction-sections -fdata-sections
44610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44611 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44612 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44614 /* end confdefs.h. */
44615 int foo; void bar() { };
44617 main ()
44621 return 0;
44623 _ACEOF
44624 if ac_fn_cxx_try_compile "$LINENO"; then :
44625 ac_fdsections=yes
44626 else
44627 ac_fdsections=no
44629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44630 if test "$ac_test_CXXFLAGS" = set; then
44631 CXXFLAGS="$ac_save_CXXFLAGS"
44632 else
44633 # this is the suspicious part
44634 CXXFLAGS=''
44636 if test x"$ac_fdsections" = x"yes"; then
44637 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44640 $as_echo "$ac_fdsections" >&6; }
44642 ac_ext=c
44643 ac_cpp='$CPP $CPPFLAGS'
44644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44652 # If we're not using GNU ld, then there's no point in even trying these
44653 # tests. Check for that first. We should have already tested for gld
44654 # by now (in libtool), but require it now just to be safe...
44655 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44656 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44660 # The name set by libtool depends on the version of libtool. Shame on us
44661 # for depending on an impl detail, but c'est la vie. Older versions used
44662 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44663 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44664 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44665 # set (hence we're using an older libtool), then set it.
44666 if test x${with_gnu_ld+set} != xset; then
44667 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44668 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44669 with_gnu_ld=no
44670 else
44671 with_gnu_ld=$ac_cv_prog_gnu_ld
44675 # Start by getting the version number. I think the libtool test already
44676 # does some of this, but throws away the result.
44677 glibcxx_ld_is_gold=no
44678 if test x"$with_gnu_ld" = x"yes"; then
44679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44680 $as_echo_n "checking for ld version... " >&6; }
44682 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44683 glibcxx_ld_is_gold=yes
44685 ldver=`$LD --version 2>/dev/null |
44686 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'`
44688 glibcxx_gnu_ld_version=`echo $ldver | \
44689 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44691 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44694 # Set --gc-sections.
44695 glibcxx_have_gc_sections=no
44696 if test "$glibcxx_ld_is_gold" = "yes"; then
44697 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44698 glibcxx_have_gc_sections=yes
44700 else
44701 glibcxx_gcsections_min_ld=21602
44702 if test x"$with_gnu_ld" = x"yes" &&
44703 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44704 glibcxx_have_gc_sections=yes
44707 if test "$glibcxx_have_gc_sections" = "yes"; then
44708 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44709 # NB: This flag only works reliably after 2.16.1. Configure tests
44710 # for this are difficult, so hard wire a value that should work.
44712 ac_test_CFLAGS="${CFLAGS+set}"
44713 ac_save_CFLAGS="$CFLAGS"
44714 CFLAGS='-Wl,--gc-sections'
44716 # Check for -Wl,--gc-sections
44717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44718 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44719 if test x$gcc_no_link = xyes; then
44720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44723 /* end confdefs.h. */
44724 int one(void) { return 1; }
44725 int two(void) { return 2; }
44728 main ()
44730 two();
44732 return 0;
44734 _ACEOF
44735 if ac_fn_c_try_link "$LINENO"; then :
44736 ac_gcsections=yes
44737 else
44738 ac_gcsections=no
44740 rm -f core conftest.err conftest.$ac_objext \
44741 conftest$ac_exeext conftest.$ac_ext
44742 if test "$ac_gcsections" = "yes"; then
44743 rm -f conftest.c
44744 touch conftest.c
44745 if $CC -c conftest.c; then
44746 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44747 grep "Warning: gc-sections option ignored" > /dev/null; then
44748 ac_gcsections=no
44751 rm -f conftest.c conftest.o conftest
44753 if test "$ac_gcsections" = "yes"; then
44754 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44757 $as_echo "$ac_gcsections" >&6; }
44759 if test "$ac_test_CFLAGS" = set; then
44760 CFLAGS="$ac_save_CFLAGS"
44761 else
44762 # this is the suspicious part
44763 CFLAGS=''
44767 # Set -z,relro.
44768 # Note this is only for shared objects.
44769 ac_ld_relro=no
44770 if test x"$with_gnu_ld" = x"yes"; then
44771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44772 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44773 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44774 if test -n "$cxx_z_relo"; then
44775 OPT_LDFLAGS="-Wl,-z,relro"
44776 ac_ld_relro=yes
44778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44779 $as_echo "$ac_ld_relro" >&6; }
44782 # Set linker optimization flags.
44783 if test x"$with_gnu_ld" = x"yes"; then
44784 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44791 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44792 ac_save_CXXFLAGS="$CXXFLAGS"
44793 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44796 $as_echo_n "checking for sin in -lm... " >&6; }
44797 if test "${ac_cv_lib_m_sin+set}" = set; then :
44798 $as_echo_n "(cached) " >&6
44799 else
44800 ac_check_lib_save_LIBS=$LIBS
44801 LIBS="-lm $LIBS"
44802 if test x$gcc_no_link = xyes; then
44803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44806 /* end confdefs.h. */
44808 /* Override any GCC internal prototype to avoid an error.
44809 Use char because int might match the return type of a GCC
44810 builtin and then its argument prototype would still apply. */
44811 #ifdef __cplusplus
44812 extern "C"
44813 #endif
44814 char sin ();
44816 main ()
44818 return sin ();
44820 return 0;
44822 _ACEOF
44823 if ac_fn_c_try_link "$LINENO"; then :
44824 ac_cv_lib_m_sin=yes
44825 else
44826 ac_cv_lib_m_sin=no
44828 rm -f core conftest.err conftest.$ac_objext \
44829 conftest$ac_exeext conftest.$ac_ext
44830 LIBS=$ac_check_lib_save_LIBS
44832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44833 $as_echo "$ac_cv_lib_m_sin" >&6; }
44834 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44835 libm="-lm"
44838 ac_save_LIBS="$LIBS"
44839 LIBS="$LIBS $libm"
44843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44844 $as_echo_n "checking for isinf declaration... " >&6; }
44845 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44846 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44847 $as_echo_n "(cached) " >&6
44848 else
44851 ac_ext=cpp
44852 ac_cpp='$CXXCPP $CPPFLAGS'
44853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44858 /* end confdefs.h. */
44859 #include <math.h>
44860 #ifdef HAVE_IEEEFP_H
44861 #include <ieeefp.h>
44862 #endif
44865 main ()
44867 isinf(0);
44869 return 0;
44871 _ACEOF
44872 if ac_fn_cxx_try_compile "$LINENO"; then :
44873 glibcxx_cv_func_isinf_use=yes
44874 else
44875 glibcxx_cv_func_isinf_use=no
44877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44878 ac_ext=c
44879 ac_cpp='$CPP $CPPFLAGS'
44880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44889 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44891 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44892 for ac_func in isinf
44893 do :
44894 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44895 if test "x$ac_cv_func_isinf" = x""yes; then :
44896 cat >>confdefs.h <<_ACEOF
44897 #define HAVE_ISINF 1
44898 _ACEOF
44901 done
44903 else
44905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44906 $as_echo_n "checking for _isinf declaration... " >&6; }
44907 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44908 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44909 $as_echo_n "(cached) " >&6
44910 else
44913 ac_ext=cpp
44914 ac_cpp='$CXXCPP $CPPFLAGS'
44915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44920 /* end confdefs.h. */
44921 #include <math.h>
44922 #ifdef HAVE_IEEEFP_H
44923 #include <ieeefp.h>
44924 #endif
44927 main ()
44929 _isinf(0);
44931 return 0;
44933 _ACEOF
44934 if ac_fn_cxx_try_compile "$LINENO"; then :
44935 glibcxx_cv_func__isinf_use=yes
44936 else
44937 glibcxx_cv_func__isinf_use=no
44939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44940 ac_ext=c
44941 ac_cpp='$CPP $CPPFLAGS'
44942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44951 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44953 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44954 for ac_func in _isinf
44955 do :
44956 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44957 if test "x$ac_cv_func__isinf" = x""yes; then :
44958 cat >>confdefs.h <<_ACEOF
44959 #define HAVE__ISINF 1
44960 _ACEOF
44963 done
44972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44973 $as_echo_n "checking for isnan declaration... " >&6; }
44974 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44975 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44976 $as_echo_n "(cached) " >&6
44977 else
44980 ac_ext=cpp
44981 ac_cpp='$CXXCPP $CPPFLAGS'
44982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44987 /* end confdefs.h. */
44988 #include <math.h>
44989 #ifdef HAVE_IEEEFP_H
44990 #include <ieeefp.h>
44991 #endif
44994 main ()
44996 isnan(0);
44998 return 0;
45000 _ACEOF
45001 if ac_fn_cxx_try_compile "$LINENO"; then :
45002 glibcxx_cv_func_isnan_use=yes
45003 else
45004 glibcxx_cv_func_isnan_use=no
45006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45007 ac_ext=c
45008 ac_cpp='$CPP $CPPFLAGS'
45009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45018 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45020 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45021 for ac_func in isnan
45022 do :
45023 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45024 if test "x$ac_cv_func_isnan" = x""yes; then :
45025 cat >>confdefs.h <<_ACEOF
45026 #define HAVE_ISNAN 1
45027 _ACEOF
45030 done
45032 else
45034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45035 $as_echo_n "checking for _isnan declaration... " >&6; }
45036 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45037 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45038 $as_echo_n "(cached) " >&6
45039 else
45042 ac_ext=cpp
45043 ac_cpp='$CXXCPP $CPPFLAGS'
45044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45049 /* end confdefs.h. */
45050 #include <math.h>
45051 #ifdef HAVE_IEEEFP_H
45052 #include <ieeefp.h>
45053 #endif
45056 main ()
45058 _isnan(0);
45060 return 0;
45062 _ACEOF
45063 if ac_fn_cxx_try_compile "$LINENO"; then :
45064 glibcxx_cv_func__isnan_use=yes
45065 else
45066 glibcxx_cv_func__isnan_use=no
45068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45069 ac_ext=c
45070 ac_cpp='$CPP $CPPFLAGS'
45071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45080 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45082 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45083 for ac_func in _isnan
45084 do :
45085 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45086 if test "x$ac_cv_func__isnan" = x""yes; then :
45087 cat >>confdefs.h <<_ACEOF
45088 #define HAVE__ISNAN 1
45089 _ACEOF
45092 done
45101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45102 $as_echo_n "checking for finite declaration... " >&6; }
45103 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45104 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45105 $as_echo_n "(cached) " >&6
45106 else
45109 ac_ext=cpp
45110 ac_cpp='$CXXCPP $CPPFLAGS'
45111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45116 /* end confdefs.h. */
45117 #include <math.h>
45118 #ifdef HAVE_IEEEFP_H
45119 #include <ieeefp.h>
45120 #endif
45123 main ()
45125 finite(0);
45127 return 0;
45129 _ACEOF
45130 if ac_fn_cxx_try_compile "$LINENO"; then :
45131 glibcxx_cv_func_finite_use=yes
45132 else
45133 glibcxx_cv_func_finite_use=no
45135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45136 ac_ext=c
45137 ac_cpp='$CPP $CPPFLAGS'
45138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45147 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45149 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45150 for ac_func in finite
45151 do :
45152 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45153 if test "x$ac_cv_func_finite" = x""yes; then :
45154 cat >>confdefs.h <<_ACEOF
45155 #define HAVE_FINITE 1
45156 _ACEOF
45159 done
45161 else
45163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45164 $as_echo_n "checking for _finite declaration... " >&6; }
45165 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45166 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45167 $as_echo_n "(cached) " >&6
45168 else
45171 ac_ext=cpp
45172 ac_cpp='$CXXCPP $CPPFLAGS'
45173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45178 /* end confdefs.h. */
45179 #include <math.h>
45180 #ifdef HAVE_IEEEFP_H
45181 #include <ieeefp.h>
45182 #endif
45185 main ()
45187 _finite(0);
45189 return 0;
45191 _ACEOF
45192 if ac_fn_cxx_try_compile "$LINENO"; then :
45193 glibcxx_cv_func__finite_use=yes
45194 else
45195 glibcxx_cv_func__finite_use=no
45197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45198 ac_ext=c
45199 ac_cpp='$CPP $CPPFLAGS'
45200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45209 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45211 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45212 for ac_func in _finite
45213 do :
45214 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45215 if test "x$ac_cv_func__finite" = x""yes; then :
45216 cat >>confdefs.h <<_ACEOF
45217 #define HAVE__FINITE 1
45218 _ACEOF
45221 done
45230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45231 $as_echo_n "checking for sincos declaration... " >&6; }
45232 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45233 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45234 $as_echo_n "(cached) " >&6
45235 else
45238 ac_ext=cpp
45239 ac_cpp='$CXXCPP $CPPFLAGS'
45240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45245 /* end confdefs.h. */
45246 #include <math.h>
45248 main ()
45250 sincos(0, 0, 0);
45252 return 0;
45254 _ACEOF
45255 if ac_fn_cxx_try_compile "$LINENO"; then :
45256 glibcxx_cv_func_sincos_use=yes
45257 else
45258 glibcxx_cv_func_sincos_use=no
45260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45261 ac_ext=c
45262 ac_cpp='$CPP $CPPFLAGS'
45263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45272 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45274 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45275 for ac_func in sincos
45276 do :
45277 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45278 if test "x$ac_cv_func_sincos" = x""yes; then :
45279 cat >>confdefs.h <<_ACEOF
45280 #define HAVE_SINCOS 1
45281 _ACEOF
45284 done
45286 else
45288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45289 $as_echo_n "checking for _sincos declaration... " >&6; }
45290 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45291 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45292 $as_echo_n "(cached) " >&6
45293 else
45296 ac_ext=cpp
45297 ac_cpp='$CXXCPP $CPPFLAGS'
45298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45303 /* end confdefs.h. */
45304 #include <math.h>
45306 main ()
45308 _sincos(0, 0, 0);
45310 return 0;
45312 _ACEOF
45313 if ac_fn_cxx_try_compile "$LINENO"; then :
45314 glibcxx_cv_func__sincos_use=yes
45315 else
45316 glibcxx_cv_func__sincos_use=no
45318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45319 ac_ext=c
45320 ac_cpp='$CPP $CPPFLAGS'
45321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45330 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45332 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45333 for ac_func in _sincos
45334 do :
45335 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45336 if test "x$ac_cv_func__sincos" = x""yes; then :
45337 cat >>confdefs.h <<_ACEOF
45338 #define HAVE__SINCOS 1
45339 _ACEOF
45342 done
45351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45352 $as_echo_n "checking for fpclass declaration... " >&6; }
45353 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45354 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45355 $as_echo_n "(cached) " >&6
45356 else
45359 ac_ext=cpp
45360 ac_cpp='$CXXCPP $CPPFLAGS'
45361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45366 /* end confdefs.h. */
45367 #include <math.h>
45368 #ifdef HAVE_IEEEFP_H
45369 #include <ieeefp.h>
45370 #endif
45373 main ()
45375 fpclass(0);
45377 return 0;
45379 _ACEOF
45380 if ac_fn_cxx_try_compile "$LINENO"; then :
45381 glibcxx_cv_func_fpclass_use=yes
45382 else
45383 glibcxx_cv_func_fpclass_use=no
45385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45386 ac_ext=c
45387 ac_cpp='$CPP $CPPFLAGS'
45388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45397 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45399 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45400 for ac_func in fpclass
45401 do :
45402 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45403 if test "x$ac_cv_func_fpclass" = x""yes; then :
45404 cat >>confdefs.h <<_ACEOF
45405 #define HAVE_FPCLASS 1
45406 _ACEOF
45409 done
45411 else
45413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45414 $as_echo_n "checking for _fpclass declaration... " >&6; }
45415 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45416 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45417 $as_echo_n "(cached) " >&6
45418 else
45421 ac_ext=cpp
45422 ac_cpp='$CXXCPP $CPPFLAGS'
45423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45428 /* end confdefs.h. */
45429 #include <math.h>
45430 #ifdef HAVE_IEEEFP_H
45431 #include <ieeefp.h>
45432 #endif
45435 main ()
45437 _fpclass(0);
45439 return 0;
45441 _ACEOF
45442 if ac_fn_cxx_try_compile "$LINENO"; then :
45443 glibcxx_cv_func__fpclass_use=yes
45444 else
45445 glibcxx_cv_func__fpclass_use=no
45447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45448 ac_ext=c
45449 ac_cpp='$CPP $CPPFLAGS'
45450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45459 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45461 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45462 for ac_func in _fpclass
45463 do :
45464 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45465 if test "x$ac_cv_func__fpclass" = x""yes; then :
45466 cat >>confdefs.h <<_ACEOF
45467 #define HAVE__FPCLASS 1
45468 _ACEOF
45471 done
45480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45481 $as_echo_n "checking for qfpclass declaration... " >&6; }
45482 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45483 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45484 $as_echo_n "(cached) " >&6
45485 else
45488 ac_ext=cpp
45489 ac_cpp='$CXXCPP $CPPFLAGS'
45490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45495 /* end confdefs.h. */
45496 #include <math.h>
45497 #ifdef HAVE_IEEEFP_H
45498 #include <ieeefp.h>
45499 #endif
45502 main ()
45504 qfpclass(0);
45506 return 0;
45508 _ACEOF
45509 if ac_fn_cxx_try_compile "$LINENO"; then :
45510 glibcxx_cv_func_qfpclass_use=yes
45511 else
45512 glibcxx_cv_func_qfpclass_use=no
45514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45515 ac_ext=c
45516 ac_cpp='$CPP $CPPFLAGS'
45517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45526 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45528 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45529 for ac_func in qfpclass
45530 do :
45531 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45532 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45533 cat >>confdefs.h <<_ACEOF
45534 #define HAVE_QFPCLASS 1
45535 _ACEOF
45538 done
45540 else
45542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45543 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45544 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45545 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45546 $as_echo_n "(cached) " >&6
45547 else
45550 ac_ext=cpp
45551 ac_cpp='$CXXCPP $CPPFLAGS'
45552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45557 /* end confdefs.h. */
45558 #include <math.h>
45559 #ifdef HAVE_IEEEFP_H
45560 #include <ieeefp.h>
45561 #endif
45564 main ()
45566 _qfpclass(0);
45568 return 0;
45570 _ACEOF
45571 if ac_fn_cxx_try_compile "$LINENO"; then :
45572 glibcxx_cv_func__qfpclass_use=yes
45573 else
45574 glibcxx_cv_func__qfpclass_use=no
45576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45577 ac_ext=c
45578 ac_cpp='$CPP $CPPFLAGS'
45579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45588 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45590 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45591 for ac_func in _qfpclass
45592 do :
45593 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45594 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45595 cat >>confdefs.h <<_ACEOF
45596 #define HAVE__QFPCLASS 1
45597 _ACEOF
45600 done
45609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45610 $as_echo_n "checking for hypot declaration... " >&6; }
45611 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45612 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45613 $as_echo_n "(cached) " >&6
45614 else
45617 ac_ext=cpp
45618 ac_cpp='$CXXCPP $CPPFLAGS'
45619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45624 /* end confdefs.h. */
45625 #include <math.h>
45627 main ()
45629 hypot(0, 0);
45631 return 0;
45633 _ACEOF
45634 if ac_fn_cxx_try_compile "$LINENO"; then :
45635 glibcxx_cv_func_hypot_use=yes
45636 else
45637 glibcxx_cv_func_hypot_use=no
45639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45640 ac_ext=c
45641 ac_cpp='$CPP $CPPFLAGS'
45642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45651 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45653 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45654 for ac_func in hypot
45655 do :
45656 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45657 if test "x$ac_cv_func_hypot" = x""yes; then :
45658 cat >>confdefs.h <<_ACEOF
45659 #define HAVE_HYPOT 1
45660 _ACEOF
45663 done
45665 else
45667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45668 $as_echo_n "checking for _hypot declaration... " >&6; }
45669 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45670 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45671 $as_echo_n "(cached) " >&6
45672 else
45675 ac_ext=cpp
45676 ac_cpp='$CXXCPP $CPPFLAGS'
45677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45682 /* end confdefs.h. */
45683 #include <math.h>
45685 main ()
45687 _hypot(0, 0);
45689 return 0;
45691 _ACEOF
45692 if ac_fn_cxx_try_compile "$LINENO"; then :
45693 glibcxx_cv_func__hypot_use=yes
45694 else
45695 glibcxx_cv_func__hypot_use=no
45697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45698 ac_ext=c
45699 ac_cpp='$CPP $CPPFLAGS'
45700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45709 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45711 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45712 for ac_func in _hypot
45713 do :
45714 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45715 if test "x$ac_cv_func__hypot" = x""yes; then :
45716 cat >>confdefs.h <<_ACEOF
45717 #define HAVE__HYPOT 1
45718 _ACEOF
45721 done
45730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45731 $as_echo_n "checking for float trig functions... " >&6; }
45732 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45733 $as_echo_n "(cached) " >&6
45734 else
45737 ac_ext=cpp
45738 ac_cpp='$CXXCPP $CPPFLAGS'
45739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45744 /* end confdefs.h. */
45745 #include <math.h>
45747 main ()
45749 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45751 return 0;
45753 _ACEOF
45754 if ac_fn_cxx_try_compile "$LINENO"; then :
45755 glibcxx_cv_func_float_trig_use=yes
45756 else
45757 glibcxx_cv_func_float_trig_use=no
45759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45760 ac_ext=c
45761 ac_cpp='$CPP $CPPFLAGS'
45762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45769 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45770 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45771 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45772 do :
45773 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45774 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45775 eval as_val=\$$as_ac_var
45776 if test "x$as_val" = x""yes; then :
45777 cat >>confdefs.h <<_ACEOF
45778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45779 _ACEOF
45782 done
45784 else
45785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45786 $as_echo_n "checking for _float trig functions... " >&6; }
45787 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45788 $as_echo_n "(cached) " >&6
45789 else
45792 ac_ext=cpp
45793 ac_cpp='$CXXCPP $CPPFLAGS'
45794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45799 /* end confdefs.h. */
45800 #include <math.h>
45802 main ()
45804 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45806 return 0;
45808 _ACEOF
45809 if ac_fn_cxx_try_compile "$LINENO"; then :
45810 glibcxx_cv_func__float_trig_use=yes
45811 else
45812 glibcxx_cv_func__float_trig_use=no
45814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45815 ac_ext=c
45816 ac_cpp='$CPP $CPPFLAGS'
45817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45824 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45825 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45826 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45827 do :
45828 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45829 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45830 eval as_val=\$$as_ac_var
45831 if test "x$as_val" = x""yes; then :
45832 cat >>confdefs.h <<_ACEOF
45833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45834 _ACEOF
45837 done
45846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45847 $as_echo_n "checking for float round functions... " >&6; }
45848 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45849 $as_echo_n "(cached) " >&6
45850 else
45853 ac_ext=cpp
45854 ac_cpp='$CXXCPP $CPPFLAGS'
45855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45860 /* end confdefs.h. */
45861 #include <math.h>
45863 main ()
45865 ceilf (0); floorf (0);
45867 return 0;
45869 _ACEOF
45870 if ac_fn_cxx_try_compile "$LINENO"; then :
45871 glibcxx_cv_func_float_round_use=yes
45872 else
45873 glibcxx_cv_func_float_round_use=no
45875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45876 ac_ext=c
45877 ac_cpp='$CPP $CPPFLAGS'
45878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45885 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45886 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45887 for ac_func in ceilf floorf
45888 do :
45889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45891 eval as_val=\$$as_ac_var
45892 if test "x$as_val" = x""yes; then :
45893 cat >>confdefs.h <<_ACEOF
45894 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45895 _ACEOF
45898 done
45900 else
45901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45902 $as_echo_n "checking for _float round functions... " >&6; }
45903 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45904 $as_echo_n "(cached) " >&6
45905 else
45908 ac_ext=cpp
45909 ac_cpp='$CXXCPP $CPPFLAGS'
45910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45915 /* end confdefs.h. */
45916 #include <math.h>
45918 main ()
45920 _ceilf (0); _floorf (0);
45922 return 0;
45924 _ACEOF
45925 if ac_fn_cxx_try_compile "$LINENO"; then :
45926 glibcxx_cv_func__float_round_use=yes
45927 else
45928 glibcxx_cv_func__float_round_use=no
45930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45931 ac_ext=c
45932 ac_cpp='$CPP $CPPFLAGS'
45933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45940 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45941 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45942 for ac_func in _ceilf _floorf
45943 do :
45944 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45945 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45946 eval as_val=\$$as_ac_var
45947 if test "x$as_val" = x""yes; then :
45948 cat >>confdefs.h <<_ACEOF
45949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45950 _ACEOF
45953 done
45963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45964 $as_echo_n "checking for expf declaration... " >&6; }
45965 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45966 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45967 $as_echo_n "(cached) " >&6
45968 else
45971 ac_ext=cpp
45972 ac_cpp='$CXXCPP $CPPFLAGS'
45973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45978 /* end confdefs.h. */
45979 #include <math.h>
45980 #ifdef HAVE_IEEEFP_H
45981 #include <ieeefp.h>
45982 #endif
45985 main ()
45987 expf(0);
45989 return 0;
45991 _ACEOF
45992 if ac_fn_cxx_try_compile "$LINENO"; then :
45993 glibcxx_cv_func_expf_use=yes
45994 else
45995 glibcxx_cv_func_expf_use=no
45997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45998 ac_ext=c
45999 ac_cpp='$CPP $CPPFLAGS'
46000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46009 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46011 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46012 for ac_func in expf
46013 do :
46014 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46015 if test "x$ac_cv_func_expf" = x""yes; then :
46016 cat >>confdefs.h <<_ACEOF
46017 #define HAVE_EXPF 1
46018 _ACEOF
46021 done
46023 else
46025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46026 $as_echo_n "checking for _expf declaration... " >&6; }
46027 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46028 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46029 $as_echo_n "(cached) " >&6
46030 else
46033 ac_ext=cpp
46034 ac_cpp='$CXXCPP $CPPFLAGS'
46035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46040 /* end confdefs.h. */
46041 #include <math.h>
46042 #ifdef HAVE_IEEEFP_H
46043 #include <ieeefp.h>
46044 #endif
46047 main ()
46049 _expf(0);
46051 return 0;
46053 _ACEOF
46054 if ac_fn_cxx_try_compile "$LINENO"; then :
46055 glibcxx_cv_func__expf_use=yes
46056 else
46057 glibcxx_cv_func__expf_use=no
46059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46060 ac_ext=c
46061 ac_cpp='$CPP $CPPFLAGS'
46062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46071 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46073 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46074 for ac_func in _expf
46075 do :
46076 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46077 if test "x$ac_cv_func__expf" = x""yes; then :
46078 cat >>confdefs.h <<_ACEOF
46079 #define HAVE__EXPF 1
46080 _ACEOF
46083 done
46092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46093 $as_echo_n "checking for isnanf declaration... " >&6; }
46094 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46095 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46096 $as_echo_n "(cached) " >&6
46097 else
46100 ac_ext=cpp
46101 ac_cpp='$CXXCPP $CPPFLAGS'
46102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46107 /* end confdefs.h. */
46108 #include <math.h>
46109 #ifdef HAVE_IEEEFP_H
46110 #include <ieeefp.h>
46111 #endif
46114 main ()
46116 isnanf(0);
46118 return 0;
46120 _ACEOF
46121 if ac_fn_cxx_try_compile "$LINENO"; then :
46122 glibcxx_cv_func_isnanf_use=yes
46123 else
46124 glibcxx_cv_func_isnanf_use=no
46126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46127 ac_ext=c
46128 ac_cpp='$CPP $CPPFLAGS'
46129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46138 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46140 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46141 for ac_func in isnanf
46142 do :
46143 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46144 if test "x$ac_cv_func_isnanf" = x""yes; then :
46145 cat >>confdefs.h <<_ACEOF
46146 #define HAVE_ISNANF 1
46147 _ACEOF
46150 done
46152 else
46154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46155 $as_echo_n "checking for _isnanf declaration... " >&6; }
46156 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46157 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46158 $as_echo_n "(cached) " >&6
46159 else
46162 ac_ext=cpp
46163 ac_cpp='$CXXCPP $CPPFLAGS'
46164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46169 /* end confdefs.h. */
46170 #include <math.h>
46171 #ifdef HAVE_IEEEFP_H
46172 #include <ieeefp.h>
46173 #endif
46176 main ()
46178 _isnanf(0);
46180 return 0;
46182 _ACEOF
46183 if ac_fn_cxx_try_compile "$LINENO"; then :
46184 glibcxx_cv_func__isnanf_use=yes
46185 else
46186 glibcxx_cv_func__isnanf_use=no
46188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46189 ac_ext=c
46190 ac_cpp='$CPP $CPPFLAGS'
46191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46200 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46202 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46203 for ac_func in _isnanf
46204 do :
46205 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46206 if test "x$ac_cv_func__isnanf" = x""yes; then :
46207 cat >>confdefs.h <<_ACEOF
46208 #define HAVE__ISNANF 1
46209 _ACEOF
46212 done
46221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46222 $as_echo_n "checking for isinff declaration... " >&6; }
46223 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46224 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46225 $as_echo_n "(cached) " >&6
46226 else
46229 ac_ext=cpp
46230 ac_cpp='$CXXCPP $CPPFLAGS'
46231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46236 /* end confdefs.h. */
46237 #include <math.h>
46238 #ifdef HAVE_IEEEFP_H
46239 #include <ieeefp.h>
46240 #endif
46243 main ()
46245 isinff(0);
46247 return 0;
46249 _ACEOF
46250 if ac_fn_cxx_try_compile "$LINENO"; then :
46251 glibcxx_cv_func_isinff_use=yes
46252 else
46253 glibcxx_cv_func_isinff_use=no
46255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46256 ac_ext=c
46257 ac_cpp='$CPP $CPPFLAGS'
46258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46267 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46269 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46270 for ac_func in isinff
46271 do :
46272 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46273 if test "x$ac_cv_func_isinff" = x""yes; then :
46274 cat >>confdefs.h <<_ACEOF
46275 #define HAVE_ISINFF 1
46276 _ACEOF
46279 done
46281 else
46283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46284 $as_echo_n "checking for _isinff declaration... " >&6; }
46285 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46286 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46287 $as_echo_n "(cached) " >&6
46288 else
46291 ac_ext=cpp
46292 ac_cpp='$CXXCPP $CPPFLAGS'
46293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46298 /* end confdefs.h. */
46299 #include <math.h>
46300 #ifdef HAVE_IEEEFP_H
46301 #include <ieeefp.h>
46302 #endif
46305 main ()
46307 _isinff(0);
46309 return 0;
46311 _ACEOF
46312 if ac_fn_cxx_try_compile "$LINENO"; then :
46313 glibcxx_cv_func__isinff_use=yes
46314 else
46315 glibcxx_cv_func__isinff_use=no
46317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46318 ac_ext=c
46319 ac_cpp='$CPP $CPPFLAGS'
46320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46329 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46331 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46332 for ac_func in _isinff
46333 do :
46334 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46335 if test "x$ac_cv_func__isinff" = x""yes; then :
46336 cat >>confdefs.h <<_ACEOF
46337 #define HAVE__ISINFF 1
46338 _ACEOF
46341 done
46350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46351 $as_echo_n "checking for atan2f declaration... " >&6; }
46352 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46353 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46354 $as_echo_n "(cached) " >&6
46355 else
46358 ac_ext=cpp
46359 ac_cpp='$CXXCPP $CPPFLAGS'
46360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46365 /* end confdefs.h. */
46366 #include <math.h>
46368 main ()
46370 atan2f(0, 0);
46372 return 0;
46374 _ACEOF
46375 if ac_fn_cxx_try_compile "$LINENO"; then :
46376 glibcxx_cv_func_atan2f_use=yes
46377 else
46378 glibcxx_cv_func_atan2f_use=no
46380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46381 ac_ext=c
46382 ac_cpp='$CPP $CPPFLAGS'
46383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46392 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46394 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46395 for ac_func in atan2f
46396 do :
46397 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46398 if test "x$ac_cv_func_atan2f" = x""yes; then :
46399 cat >>confdefs.h <<_ACEOF
46400 #define HAVE_ATAN2F 1
46401 _ACEOF
46404 done
46406 else
46408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46409 $as_echo_n "checking for _atan2f declaration... " >&6; }
46410 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46411 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46412 $as_echo_n "(cached) " >&6
46413 else
46416 ac_ext=cpp
46417 ac_cpp='$CXXCPP $CPPFLAGS'
46418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46423 /* end confdefs.h. */
46424 #include <math.h>
46426 main ()
46428 _atan2f(0, 0);
46430 return 0;
46432 _ACEOF
46433 if ac_fn_cxx_try_compile "$LINENO"; then :
46434 glibcxx_cv_func__atan2f_use=yes
46435 else
46436 glibcxx_cv_func__atan2f_use=no
46438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46439 ac_ext=c
46440 ac_cpp='$CPP $CPPFLAGS'
46441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46450 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46452 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46453 for ac_func in _atan2f
46454 do :
46455 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46456 if test "x$ac_cv_func__atan2f" = x""yes; then :
46457 cat >>confdefs.h <<_ACEOF
46458 #define HAVE__ATAN2F 1
46459 _ACEOF
46462 done
46471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46472 $as_echo_n "checking for fabsf declaration... " >&6; }
46473 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46474 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46475 $as_echo_n "(cached) " >&6
46476 else
46479 ac_ext=cpp
46480 ac_cpp='$CXXCPP $CPPFLAGS'
46481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46486 /* end confdefs.h. */
46487 #include <math.h>
46488 #ifdef HAVE_IEEEFP_H
46489 #include <ieeefp.h>
46490 #endif
46493 main ()
46495 fabsf(0);
46497 return 0;
46499 _ACEOF
46500 if ac_fn_cxx_try_compile "$LINENO"; then :
46501 glibcxx_cv_func_fabsf_use=yes
46502 else
46503 glibcxx_cv_func_fabsf_use=no
46505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46506 ac_ext=c
46507 ac_cpp='$CPP $CPPFLAGS'
46508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46517 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46519 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46520 for ac_func in fabsf
46521 do :
46522 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46523 if test "x$ac_cv_func_fabsf" = x""yes; then :
46524 cat >>confdefs.h <<_ACEOF
46525 #define HAVE_FABSF 1
46526 _ACEOF
46529 done
46531 else
46533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46534 $as_echo_n "checking for _fabsf declaration... " >&6; }
46535 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46536 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46537 $as_echo_n "(cached) " >&6
46538 else
46541 ac_ext=cpp
46542 ac_cpp='$CXXCPP $CPPFLAGS'
46543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46548 /* end confdefs.h. */
46549 #include <math.h>
46550 #ifdef HAVE_IEEEFP_H
46551 #include <ieeefp.h>
46552 #endif
46555 main ()
46557 _fabsf(0);
46559 return 0;
46561 _ACEOF
46562 if ac_fn_cxx_try_compile "$LINENO"; then :
46563 glibcxx_cv_func__fabsf_use=yes
46564 else
46565 glibcxx_cv_func__fabsf_use=no
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46568 ac_ext=c
46569 ac_cpp='$CPP $CPPFLAGS'
46570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46579 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46581 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46582 for ac_func in _fabsf
46583 do :
46584 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46585 if test "x$ac_cv_func__fabsf" = x""yes; then :
46586 cat >>confdefs.h <<_ACEOF
46587 #define HAVE__FABSF 1
46588 _ACEOF
46591 done
46600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46601 $as_echo_n "checking for fmodf declaration... " >&6; }
46602 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46603 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46604 $as_echo_n "(cached) " >&6
46605 else
46608 ac_ext=cpp
46609 ac_cpp='$CXXCPP $CPPFLAGS'
46610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46615 /* end confdefs.h. */
46616 #include <math.h>
46618 main ()
46620 fmodf(0, 0);
46622 return 0;
46624 _ACEOF
46625 if ac_fn_cxx_try_compile "$LINENO"; then :
46626 glibcxx_cv_func_fmodf_use=yes
46627 else
46628 glibcxx_cv_func_fmodf_use=no
46630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46631 ac_ext=c
46632 ac_cpp='$CPP $CPPFLAGS'
46633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46642 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46644 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46645 for ac_func in fmodf
46646 do :
46647 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46648 if test "x$ac_cv_func_fmodf" = x""yes; then :
46649 cat >>confdefs.h <<_ACEOF
46650 #define HAVE_FMODF 1
46651 _ACEOF
46654 done
46656 else
46658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46659 $as_echo_n "checking for _fmodf declaration... " >&6; }
46660 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46661 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46662 $as_echo_n "(cached) " >&6
46663 else
46666 ac_ext=cpp
46667 ac_cpp='$CXXCPP $CPPFLAGS'
46668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46673 /* end confdefs.h. */
46674 #include <math.h>
46676 main ()
46678 _fmodf(0, 0);
46680 return 0;
46682 _ACEOF
46683 if ac_fn_cxx_try_compile "$LINENO"; then :
46684 glibcxx_cv_func__fmodf_use=yes
46685 else
46686 glibcxx_cv_func__fmodf_use=no
46688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46689 ac_ext=c
46690 ac_cpp='$CPP $CPPFLAGS'
46691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46700 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46702 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46703 for ac_func in _fmodf
46704 do :
46705 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46706 if test "x$ac_cv_func__fmodf" = x""yes; then :
46707 cat >>confdefs.h <<_ACEOF
46708 #define HAVE__FMODF 1
46709 _ACEOF
46712 done
46721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46722 $as_echo_n "checking for frexpf declaration... " >&6; }
46723 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46724 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46725 $as_echo_n "(cached) " >&6
46726 else
46729 ac_ext=cpp
46730 ac_cpp='$CXXCPP $CPPFLAGS'
46731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46736 /* end confdefs.h. */
46737 #include <math.h>
46739 main ()
46741 frexpf(0, 0);
46743 return 0;
46745 _ACEOF
46746 if ac_fn_cxx_try_compile "$LINENO"; then :
46747 glibcxx_cv_func_frexpf_use=yes
46748 else
46749 glibcxx_cv_func_frexpf_use=no
46751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46752 ac_ext=c
46753 ac_cpp='$CPP $CPPFLAGS'
46754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46763 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46765 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46766 for ac_func in frexpf
46767 do :
46768 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46769 if test "x$ac_cv_func_frexpf" = x""yes; then :
46770 cat >>confdefs.h <<_ACEOF
46771 #define HAVE_FREXPF 1
46772 _ACEOF
46775 done
46777 else
46779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46780 $as_echo_n "checking for _frexpf declaration... " >&6; }
46781 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46782 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46783 $as_echo_n "(cached) " >&6
46784 else
46787 ac_ext=cpp
46788 ac_cpp='$CXXCPP $CPPFLAGS'
46789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46794 /* end confdefs.h. */
46795 #include <math.h>
46797 main ()
46799 _frexpf(0, 0);
46801 return 0;
46803 _ACEOF
46804 if ac_fn_cxx_try_compile "$LINENO"; then :
46805 glibcxx_cv_func__frexpf_use=yes
46806 else
46807 glibcxx_cv_func__frexpf_use=no
46809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46810 ac_ext=c
46811 ac_cpp='$CPP $CPPFLAGS'
46812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46821 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46823 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46824 for ac_func in _frexpf
46825 do :
46826 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46827 if test "x$ac_cv_func__frexpf" = x""yes; then :
46828 cat >>confdefs.h <<_ACEOF
46829 #define HAVE__FREXPF 1
46830 _ACEOF
46833 done
46842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46843 $as_echo_n "checking for hypotf declaration... " >&6; }
46844 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46845 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46846 $as_echo_n "(cached) " >&6
46847 else
46850 ac_ext=cpp
46851 ac_cpp='$CXXCPP $CPPFLAGS'
46852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46857 /* end confdefs.h. */
46858 #include <math.h>
46860 main ()
46862 hypotf(0, 0);
46864 return 0;
46866 _ACEOF
46867 if ac_fn_cxx_try_compile "$LINENO"; then :
46868 glibcxx_cv_func_hypotf_use=yes
46869 else
46870 glibcxx_cv_func_hypotf_use=no
46872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46873 ac_ext=c
46874 ac_cpp='$CPP $CPPFLAGS'
46875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46884 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46886 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46887 for ac_func in hypotf
46888 do :
46889 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46890 if test "x$ac_cv_func_hypotf" = x""yes; then :
46891 cat >>confdefs.h <<_ACEOF
46892 #define HAVE_HYPOTF 1
46893 _ACEOF
46896 done
46898 else
46900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46901 $as_echo_n "checking for _hypotf declaration... " >&6; }
46902 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46903 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46904 $as_echo_n "(cached) " >&6
46905 else
46908 ac_ext=cpp
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915 /* end confdefs.h. */
46916 #include <math.h>
46918 main ()
46920 _hypotf(0, 0);
46922 return 0;
46924 _ACEOF
46925 if ac_fn_cxx_try_compile "$LINENO"; then :
46926 glibcxx_cv_func__hypotf_use=yes
46927 else
46928 glibcxx_cv_func__hypotf_use=no
46930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46931 ac_ext=c
46932 ac_cpp='$CPP $CPPFLAGS'
46933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46942 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46944 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46945 for ac_func in _hypotf
46946 do :
46947 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46948 if test "x$ac_cv_func__hypotf" = x""yes; then :
46949 cat >>confdefs.h <<_ACEOF
46950 #define HAVE__HYPOTF 1
46951 _ACEOF
46954 done
46963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46964 $as_echo_n "checking for ldexpf declaration... " >&6; }
46965 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46966 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46967 $as_echo_n "(cached) " >&6
46968 else
46971 ac_ext=cpp
46972 ac_cpp='$CXXCPP $CPPFLAGS'
46973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46978 /* end confdefs.h. */
46979 #include <math.h>
46981 main ()
46983 ldexpf(0, 0);
46985 return 0;
46987 _ACEOF
46988 if ac_fn_cxx_try_compile "$LINENO"; then :
46989 glibcxx_cv_func_ldexpf_use=yes
46990 else
46991 glibcxx_cv_func_ldexpf_use=no
46993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46994 ac_ext=c
46995 ac_cpp='$CPP $CPPFLAGS'
46996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47005 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47007 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47008 for ac_func in ldexpf
47009 do :
47010 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47011 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47012 cat >>confdefs.h <<_ACEOF
47013 #define HAVE_LDEXPF 1
47014 _ACEOF
47017 done
47019 else
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47022 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47023 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47024 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47025 $as_echo_n "(cached) " >&6
47026 else
47029 ac_ext=cpp
47030 ac_cpp='$CXXCPP $CPPFLAGS'
47031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47036 /* end confdefs.h. */
47037 #include <math.h>
47039 main ()
47041 _ldexpf(0, 0);
47043 return 0;
47045 _ACEOF
47046 if ac_fn_cxx_try_compile "$LINENO"; then :
47047 glibcxx_cv_func__ldexpf_use=yes
47048 else
47049 glibcxx_cv_func__ldexpf_use=no
47051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47052 ac_ext=c
47053 ac_cpp='$CPP $CPPFLAGS'
47054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47063 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47065 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47066 for ac_func in _ldexpf
47067 do :
47068 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47069 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47070 cat >>confdefs.h <<_ACEOF
47071 #define HAVE__LDEXPF 1
47072 _ACEOF
47075 done
47084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47085 $as_echo_n "checking for logf declaration... " >&6; }
47086 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47087 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47088 $as_echo_n "(cached) " >&6
47089 else
47092 ac_ext=cpp
47093 ac_cpp='$CXXCPP $CPPFLAGS'
47094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47099 /* end confdefs.h. */
47100 #include <math.h>
47101 #ifdef HAVE_IEEEFP_H
47102 #include <ieeefp.h>
47103 #endif
47106 main ()
47108 logf(0);
47110 return 0;
47112 _ACEOF
47113 if ac_fn_cxx_try_compile "$LINENO"; then :
47114 glibcxx_cv_func_logf_use=yes
47115 else
47116 glibcxx_cv_func_logf_use=no
47118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47119 ac_ext=c
47120 ac_cpp='$CPP $CPPFLAGS'
47121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47130 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47132 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47133 for ac_func in logf
47134 do :
47135 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47136 if test "x$ac_cv_func_logf" = x""yes; then :
47137 cat >>confdefs.h <<_ACEOF
47138 #define HAVE_LOGF 1
47139 _ACEOF
47142 done
47144 else
47146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47147 $as_echo_n "checking for _logf declaration... " >&6; }
47148 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47149 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47150 $as_echo_n "(cached) " >&6
47151 else
47154 ac_ext=cpp
47155 ac_cpp='$CXXCPP $CPPFLAGS'
47156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47161 /* end confdefs.h. */
47162 #include <math.h>
47163 #ifdef HAVE_IEEEFP_H
47164 #include <ieeefp.h>
47165 #endif
47168 main ()
47170 _logf(0);
47172 return 0;
47174 _ACEOF
47175 if ac_fn_cxx_try_compile "$LINENO"; then :
47176 glibcxx_cv_func__logf_use=yes
47177 else
47178 glibcxx_cv_func__logf_use=no
47180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47181 ac_ext=c
47182 ac_cpp='$CPP $CPPFLAGS'
47183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47192 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47194 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47195 for ac_func in _logf
47196 do :
47197 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47198 if test "x$ac_cv_func__logf" = x""yes; then :
47199 cat >>confdefs.h <<_ACEOF
47200 #define HAVE__LOGF 1
47201 _ACEOF
47204 done
47213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47214 $as_echo_n "checking for log10f declaration... " >&6; }
47215 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47216 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47217 $as_echo_n "(cached) " >&6
47218 else
47221 ac_ext=cpp
47222 ac_cpp='$CXXCPP $CPPFLAGS'
47223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47228 /* end confdefs.h. */
47229 #include <math.h>
47230 #ifdef HAVE_IEEEFP_H
47231 #include <ieeefp.h>
47232 #endif
47235 main ()
47237 log10f(0);
47239 return 0;
47241 _ACEOF
47242 if ac_fn_cxx_try_compile "$LINENO"; then :
47243 glibcxx_cv_func_log10f_use=yes
47244 else
47245 glibcxx_cv_func_log10f_use=no
47247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47248 ac_ext=c
47249 ac_cpp='$CPP $CPPFLAGS'
47250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47259 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47261 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47262 for ac_func in log10f
47263 do :
47264 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47265 if test "x$ac_cv_func_log10f" = x""yes; then :
47266 cat >>confdefs.h <<_ACEOF
47267 #define HAVE_LOG10F 1
47268 _ACEOF
47271 done
47273 else
47275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47276 $as_echo_n "checking for _log10f declaration... " >&6; }
47277 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47278 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47279 $as_echo_n "(cached) " >&6
47280 else
47283 ac_ext=cpp
47284 ac_cpp='$CXXCPP $CPPFLAGS'
47285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47290 /* end confdefs.h. */
47291 #include <math.h>
47292 #ifdef HAVE_IEEEFP_H
47293 #include <ieeefp.h>
47294 #endif
47297 main ()
47299 _log10f(0);
47301 return 0;
47303 _ACEOF
47304 if ac_fn_cxx_try_compile "$LINENO"; then :
47305 glibcxx_cv_func__log10f_use=yes
47306 else
47307 glibcxx_cv_func__log10f_use=no
47309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47310 ac_ext=c
47311 ac_cpp='$CPP $CPPFLAGS'
47312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47321 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47323 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47324 for ac_func in _log10f
47325 do :
47326 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47327 if test "x$ac_cv_func__log10f" = x""yes; then :
47328 cat >>confdefs.h <<_ACEOF
47329 #define HAVE__LOG10F 1
47330 _ACEOF
47333 done
47342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47343 $as_echo_n "checking for modff declaration... " >&6; }
47344 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47345 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47346 $as_echo_n "(cached) " >&6
47347 else
47350 ac_ext=cpp
47351 ac_cpp='$CXXCPP $CPPFLAGS'
47352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47357 /* end confdefs.h. */
47358 #include <math.h>
47360 main ()
47362 modff(0, 0);
47364 return 0;
47366 _ACEOF
47367 if ac_fn_cxx_try_compile "$LINENO"; then :
47368 glibcxx_cv_func_modff_use=yes
47369 else
47370 glibcxx_cv_func_modff_use=no
47372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47373 ac_ext=c
47374 ac_cpp='$CPP $CPPFLAGS'
47375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47384 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47386 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47387 for ac_func in modff
47388 do :
47389 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47390 if test "x$ac_cv_func_modff" = x""yes; then :
47391 cat >>confdefs.h <<_ACEOF
47392 #define HAVE_MODFF 1
47393 _ACEOF
47396 done
47398 else
47400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47401 $as_echo_n "checking for _modff declaration... " >&6; }
47402 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47403 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47404 $as_echo_n "(cached) " >&6
47405 else
47408 ac_ext=cpp
47409 ac_cpp='$CXXCPP $CPPFLAGS'
47410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47415 /* end confdefs.h. */
47416 #include <math.h>
47418 main ()
47420 _modff(0, 0);
47422 return 0;
47424 _ACEOF
47425 if ac_fn_cxx_try_compile "$LINENO"; then :
47426 glibcxx_cv_func__modff_use=yes
47427 else
47428 glibcxx_cv_func__modff_use=no
47430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47431 ac_ext=c
47432 ac_cpp='$CPP $CPPFLAGS'
47433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47442 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47444 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47445 for ac_func in _modff
47446 do :
47447 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47448 if test "x$ac_cv_func__modff" = x""yes; then :
47449 cat >>confdefs.h <<_ACEOF
47450 #define HAVE__MODFF 1
47451 _ACEOF
47454 done
47463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47464 $as_echo_n "checking for modf declaration... " >&6; }
47465 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47466 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47467 $as_echo_n "(cached) " >&6
47468 else
47471 ac_ext=cpp
47472 ac_cpp='$CXXCPP $CPPFLAGS'
47473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47478 /* end confdefs.h. */
47479 #include <math.h>
47481 main ()
47483 modf(0, 0);
47485 return 0;
47487 _ACEOF
47488 if ac_fn_cxx_try_compile "$LINENO"; then :
47489 glibcxx_cv_func_modf_use=yes
47490 else
47491 glibcxx_cv_func_modf_use=no
47493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47494 ac_ext=c
47495 ac_cpp='$CPP $CPPFLAGS'
47496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47505 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47507 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47508 for ac_func in modf
47509 do :
47510 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47511 if test "x$ac_cv_func_modf" = x""yes; then :
47512 cat >>confdefs.h <<_ACEOF
47513 #define HAVE_MODF 1
47514 _ACEOF
47517 done
47519 else
47521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47522 $as_echo_n "checking for _modf declaration... " >&6; }
47523 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47524 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47525 $as_echo_n "(cached) " >&6
47526 else
47529 ac_ext=cpp
47530 ac_cpp='$CXXCPP $CPPFLAGS'
47531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47536 /* end confdefs.h. */
47537 #include <math.h>
47539 main ()
47541 _modf(0, 0);
47543 return 0;
47545 _ACEOF
47546 if ac_fn_cxx_try_compile "$LINENO"; then :
47547 glibcxx_cv_func__modf_use=yes
47548 else
47549 glibcxx_cv_func__modf_use=no
47551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47552 ac_ext=c
47553 ac_cpp='$CPP $CPPFLAGS'
47554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47563 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47565 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47566 for ac_func in _modf
47567 do :
47568 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47569 if test "x$ac_cv_func__modf" = x""yes; then :
47570 cat >>confdefs.h <<_ACEOF
47571 #define HAVE__MODF 1
47572 _ACEOF
47575 done
47584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47585 $as_echo_n "checking for powf declaration... " >&6; }
47586 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47587 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47588 $as_echo_n "(cached) " >&6
47589 else
47592 ac_ext=cpp
47593 ac_cpp='$CXXCPP $CPPFLAGS'
47594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47599 /* end confdefs.h. */
47600 #include <math.h>
47602 main ()
47604 powf(0, 0);
47606 return 0;
47608 _ACEOF
47609 if ac_fn_cxx_try_compile "$LINENO"; then :
47610 glibcxx_cv_func_powf_use=yes
47611 else
47612 glibcxx_cv_func_powf_use=no
47614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47615 ac_ext=c
47616 ac_cpp='$CPP $CPPFLAGS'
47617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47626 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47628 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47629 for ac_func in powf
47630 do :
47631 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47632 if test "x$ac_cv_func_powf" = x""yes; then :
47633 cat >>confdefs.h <<_ACEOF
47634 #define HAVE_POWF 1
47635 _ACEOF
47638 done
47640 else
47642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47643 $as_echo_n "checking for _powf declaration... " >&6; }
47644 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47645 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47646 $as_echo_n "(cached) " >&6
47647 else
47650 ac_ext=cpp
47651 ac_cpp='$CXXCPP $CPPFLAGS'
47652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47657 /* end confdefs.h. */
47658 #include <math.h>
47660 main ()
47662 _powf(0, 0);
47664 return 0;
47666 _ACEOF
47667 if ac_fn_cxx_try_compile "$LINENO"; then :
47668 glibcxx_cv_func__powf_use=yes
47669 else
47670 glibcxx_cv_func__powf_use=no
47672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47673 ac_ext=c
47674 ac_cpp='$CPP $CPPFLAGS'
47675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47684 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47686 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47687 for ac_func in _powf
47688 do :
47689 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47690 if test "x$ac_cv_func__powf" = x""yes; then :
47691 cat >>confdefs.h <<_ACEOF
47692 #define HAVE__POWF 1
47693 _ACEOF
47696 done
47705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47706 $as_echo_n "checking for sqrtf declaration... " >&6; }
47707 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47708 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47709 $as_echo_n "(cached) " >&6
47710 else
47713 ac_ext=cpp
47714 ac_cpp='$CXXCPP $CPPFLAGS'
47715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47720 /* end confdefs.h. */
47721 #include <math.h>
47722 #ifdef HAVE_IEEEFP_H
47723 #include <ieeefp.h>
47724 #endif
47727 main ()
47729 sqrtf(0);
47731 return 0;
47733 _ACEOF
47734 if ac_fn_cxx_try_compile "$LINENO"; then :
47735 glibcxx_cv_func_sqrtf_use=yes
47736 else
47737 glibcxx_cv_func_sqrtf_use=no
47739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47740 ac_ext=c
47741 ac_cpp='$CPP $CPPFLAGS'
47742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47751 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47753 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47754 for ac_func in sqrtf
47755 do :
47756 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47757 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47758 cat >>confdefs.h <<_ACEOF
47759 #define HAVE_SQRTF 1
47760 _ACEOF
47763 done
47765 else
47767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47768 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47769 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47770 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47771 $as_echo_n "(cached) " >&6
47772 else
47775 ac_ext=cpp
47776 ac_cpp='$CXXCPP $CPPFLAGS'
47777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47782 /* end confdefs.h. */
47783 #include <math.h>
47784 #ifdef HAVE_IEEEFP_H
47785 #include <ieeefp.h>
47786 #endif
47789 main ()
47791 _sqrtf(0);
47793 return 0;
47795 _ACEOF
47796 if ac_fn_cxx_try_compile "$LINENO"; then :
47797 glibcxx_cv_func__sqrtf_use=yes
47798 else
47799 glibcxx_cv_func__sqrtf_use=no
47801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47802 ac_ext=c
47803 ac_cpp='$CPP $CPPFLAGS'
47804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47813 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47815 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47816 for ac_func in _sqrtf
47817 do :
47818 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47819 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47820 cat >>confdefs.h <<_ACEOF
47821 #define HAVE__SQRTF 1
47822 _ACEOF
47825 done
47834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47835 $as_echo_n "checking for sincosf declaration... " >&6; }
47836 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47837 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47838 $as_echo_n "(cached) " >&6
47839 else
47842 ac_ext=cpp
47843 ac_cpp='$CXXCPP $CPPFLAGS'
47844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47849 /* end confdefs.h. */
47850 #include <math.h>
47852 main ()
47854 sincosf(0, 0, 0);
47856 return 0;
47858 _ACEOF
47859 if ac_fn_cxx_try_compile "$LINENO"; then :
47860 glibcxx_cv_func_sincosf_use=yes
47861 else
47862 glibcxx_cv_func_sincosf_use=no
47864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47865 ac_ext=c
47866 ac_cpp='$CPP $CPPFLAGS'
47867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47876 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47878 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47879 for ac_func in sincosf
47880 do :
47881 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47882 if test "x$ac_cv_func_sincosf" = x""yes; then :
47883 cat >>confdefs.h <<_ACEOF
47884 #define HAVE_SINCOSF 1
47885 _ACEOF
47888 done
47890 else
47892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47893 $as_echo_n "checking for _sincosf declaration... " >&6; }
47894 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47895 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47896 $as_echo_n "(cached) " >&6
47897 else
47900 ac_ext=cpp
47901 ac_cpp='$CXXCPP $CPPFLAGS'
47902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47907 /* end confdefs.h. */
47908 #include <math.h>
47910 main ()
47912 _sincosf(0, 0, 0);
47914 return 0;
47916 _ACEOF
47917 if ac_fn_cxx_try_compile "$LINENO"; then :
47918 glibcxx_cv_func__sincosf_use=yes
47919 else
47920 glibcxx_cv_func__sincosf_use=no
47922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47923 ac_ext=c
47924 ac_cpp='$CPP $CPPFLAGS'
47925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47934 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47936 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47937 for ac_func in _sincosf
47938 do :
47939 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47940 if test "x$ac_cv_func__sincosf" = x""yes; then :
47941 cat >>confdefs.h <<_ACEOF
47942 #define HAVE__SINCOSF 1
47943 _ACEOF
47946 done
47955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47956 $as_echo_n "checking for finitef declaration... " >&6; }
47957 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47958 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47959 $as_echo_n "(cached) " >&6
47960 else
47963 ac_ext=cpp
47964 ac_cpp='$CXXCPP $CPPFLAGS'
47965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47970 /* end confdefs.h. */
47971 #include <math.h>
47972 #ifdef HAVE_IEEEFP_H
47973 #include <ieeefp.h>
47974 #endif
47977 main ()
47979 finitef(0);
47981 return 0;
47983 _ACEOF
47984 if ac_fn_cxx_try_compile "$LINENO"; then :
47985 glibcxx_cv_func_finitef_use=yes
47986 else
47987 glibcxx_cv_func_finitef_use=no
47989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47990 ac_ext=c
47991 ac_cpp='$CPP $CPPFLAGS'
47992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48001 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48003 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48004 for ac_func in finitef
48005 do :
48006 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48007 if test "x$ac_cv_func_finitef" = x""yes; then :
48008 cat >>confdefs.h <<_ACEOF
48009 #define HAVE_FINITEF 1
48010 _ACEOF
48013 done
48015 else
48017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48018 $as_echo_n "checking for _finitef declaration... " >&6; }
48019 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48020 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48021 $as_echo_n "(cached) " >&6
48022 else
48025 ac_ext=cpp
48026 ac_cpp='$CXXCPP $CPPFLAGS'
48027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48032 /* end confdefs.h. */
48033 #include <math.h>
48034 #ifdef HAVE_IEEEFP_H
48035 #include <ieeefp.h>
48036 #endif
48039 main ()
48041 _finitef(0);
48043 return 0;
48045 _ACEOF
48046 if ac_fn_cxx_try_compile "$LINENO"; then :
48047 glibcxx_cv_func__finitef_use=yes
48048 else
48049 glibcxx_cv_func__finitef_use=no
48051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48052 ac_ext=c
48053 ac_cpp='$CPP $CPPFLAGS'
48054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48063 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48065 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48066 for ac_func in _finitef
48067 do :
48068 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48069 if test "x$ac_cv_func__finitef" = x""yes; then :
48070 cat >>confdefs.h <<_ACEOF
48071 #define HAVE__FINITEF 1
48072 _ACEOF
48075 done
48084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48085 $as_echo_n "checking for long double trig functions... " >&6; }
48086 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48087 $as_echo_n "(cached) " >&6
48088 else
48091 ac_ext=cpp
48092 ac_cpp='$CXXCPP $CPPFLAGS'
48093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48098 /* end confdefs.h. */
48099 #include <math.h>
48101 main ()
48103 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48105 return 0;
48107 _ACEOF
48108 if ac_fn_cxx_try_compile "$LINENO"; then :
48109 glibcxx_cv_func_long_double_trig_use=yes
48110 else
48111 glibcxx_cv_func_long_double_trig_use=no
48113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48114 ac_ext=c
48115 ac_cpp='$CPP $CPPFLAGS'
48116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48123 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48124 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48125 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48126 do :
48127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48129 eval as_val=\$$as_ac_var
48130 if test "x$as_val" = x""yes; then :
48131 cat >>confdefs.h <<_ACEOF
48132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48133 _ACEOF
48136 done
48138 else
48139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48140 $as_echo_n "checking for _long double trig functions... " >&6; }
48141 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48142 $as_echo_n "(cached) " >&6
48143 else
48146 ac_ext=cpp
48147 ac_cpp='$CXXCPP $CPPFLAGS'
48148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48153 /* end confdefs.h. */
48154 #include <math.h>
48156 main ()
48158 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48160 return 0;
48162 _ACEOF
48163 if ac_fn_cxx_try_compile "$LINENO"; then :
48164 glibcxx_cv_func__long_double_trig_use=yes
48165 else
48166 glibcxx_cv_func__long_double_trig_use=no
48168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48169 ac_ext=c
48170 ac_cpp='$CPP $CPPFLAGS'
48171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48178 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48179 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48180 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48181 do :
48182 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48183 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48184 eval as_val=\$$as_ac_var
48185 if test "x$as_val" = x""yes; then :
48186 cat >>confdefs.h <<_ACEOF
48187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48188 _ACEOF
48191 done
48200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48201 $as_echo_n "checking for long double round functions... " >&6; }
48202 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48203 $as_echo_n "(cached) " >&6
48204 else
48207 ac_ext=cpp
48208 ac_cpp='$CXXCPP $CPPFLAGS'
48209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48214 /* end confdefs.h. */
48215 #include <math.h>
48217 main ()
48219 ceill (0); floorl (0);
48221 return 0;
48223 _ACEOF
48224 if ac_fn_cxx_try_compile "$LINENO"; then :
48225 glibcxx_cv_func_long_double_round_use=yes
48226 else
48227 glibcxx_cv_func_long_double_round_use=no
48229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48230 ac_ext=c
48231 ac_cpp='$CPP $CPPFLAGS'
48232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48239 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48240 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48241 for ac_func in ceill floorl
48242 do :
48243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48245 eval as_val=\$$as_ac_var
48246 if test "x$as_val" = x""yes; then :
48247 cat >>confdefs.h <<_ACEOF
48248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48249 _ACEOF
48252 done
48254 else
48255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48256 $as_echo_n "checking for _long double round functions... " >&6; }
48257 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48258 $as_echo_n "(cached) " >&6
48259 else
48262 ac_ext=cpp
48263 ac_cpp='$CXXCPP $CPPFLAGS'
48264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48269 /* end confdefs.h. */
48270 #include <math.h>
48272 main ()
48274 _ceill (0); _floorl (0);
48276 return 0;
48278 _ACEOF
48279 if ac_fn_cxx_try_compile "$LINENO"; then :
48280 glibcxx_cv_func__long_double_round_use=yes
48281 else
48282 glibcxx_cv_func__long_double_round_use=no
48284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48285 ac_ext=c
48286 ac_cpp='$CPP $CPPFLAGS'
48287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48294 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48295 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48296 for ac_func in _ceill _floorl
48297 do :
48298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48300 eval as_val=\$$as_ac_var
48301 if test "x$as_val" = x""yes; then :
48302 cat >>confdefs.h <<_ACEOF
48303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48304 _ACEOF
48307 done
48317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48318 $as_echo_n "checking for isnanl declaration... " >&6; }
48319 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48320 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48321 $as_echo_n "(cached) " >&6
48322 else
48325 ac_ext=cpp
48326 ac_cpp='$CXXCPP $CPPFLAGS'
48327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48332 /* end confdefs.h. */
48333 #include <math.h>
48334 #ifdef HAVE_IEEEFP_H
48335 #include <ieeefp.h>
48336 #endif
48339 main ()
48341 isnanl(0);
48343 return 0;
48345 _ACEOF
48346 if ac_fn_cxx_try_compile "$LINENO"; then :
48347 glibcxx_cv_func_isnanl_use=yes
48348 else
48349 glibcxx_cv_func_isnanl_use=no
48351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48352 ac_ext=c
48353 ac_cpp='$CPP $CPPFLAGS'
48354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48363 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48365 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48366 for ac_func in isnanl
48367 do :
48368 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48369 if test "x$ac_cv_func_isnanl" = x""yes; then :
48370 cat >>confdefs.h <<_ACEOF
48371 #define HAVE_ISNANL 1
48372 _ACEOF
48375 done
48377 else
48379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48380 $as_echo_n "checking for _isnanl declaration... " >&6; }
48381 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48382 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48383 $as_echo_n "(cached) " >&6
48384 else
48387 ac_ext=cpp
48388 ac_cpp='$CXXCPP $CPPFLAGS'
48389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48394 /* end confdefs.h. */
48395 #include <math.h>
48396 #ifdef HAVE_IEEEFP_H
48397 #include <ieeefp.h>
48398 #endif
48401 main ()
48403 _isnanl(0);
48405 return 0;
48407 _ACEOF
48408 if ac_fn_cxx_try_compile "$LINENO"; then :
48409 glibcxx_cv_func__isnanl_use=yes
48410 else
48411 glibcxx_cv_func__isnanl_use=no
48413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48414 ac_ext=c
48415 ac_cpp='$CPP $CPPFLAGS'
48416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48425 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48427 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48428 for ac_func in _isnanl
48429 do :
48430 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48431 if test "x$ac_cv_func__isnanl" = x""yes; then :
48432 cat >>confdefs.h <<_ACEOF
48433 #define HAVE__ISNANL 1
48434 _ACEOF
48437 done
48446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48447 $as_echo_n "checking for isinfl declaration... " >&6; }
48448 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48449 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48450 $as_echo_n "(cached) " >&6
48451 else
48454 ac_ext=cpp
48455 ac_cpp='$CXXCPP $CPPFLAGS'
48456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48461 /* end confdefs.h. */
48462 #include <math.h>
48463 #ifdef HAVE_IEEEFP_H
48464 #include <ieeefp.h>
48465 #endif
48468 main ()
48470 isinfl(0);
48472 return 0;
48474 _ACEOF
48475 if ac_fn_cxx_try_compile "$LINENO"; then :
48476 glibcxx_cv_func_isinfl_use=yes
48477 else
48478 glibcxx_cv_func_isinfl_use=no
48480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48481 ac_ext=c
48482 ac_cpp='$CPP $CPPFLAGS'
48483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48492 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48494 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48495 for ac_func in isinfl
48496 do :
48497 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48498 if test "x$ac_cv_func_isinfl" = x""yes; then :
48499 cat >>confdefs.h <<_ACEOF
48500 #define HAVE_ISINFL 1
48501 _ACEOF
48504 done
48506 else
48508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48509 $as_echo_n "checking for _isinfl declaration... " >&6; }
48510 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48511 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48512 $as_echo_n "(cached) " >&6
48513 else
48516 ac_ext=cpp
48517 ac_cpp='$CXXCPP $CPPFLAGS'
48518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48523 /* end confdefs.h. */
48524 #include <math.h>
48525 #ifdef HAVE_IEEEFP_H
48526 #include <ieeefp.h>
48527 #endif
48530 main ()
48532 _isinfl(0);
48534 return 0;
48536 _ACEOF
48537 if ac_fn_cxx_try_compile "$LINENO"; then :
48538 glibcxx_cv_func__isinfl_use=yes
48539 else
48540 glibcxx_cv_func__isinfl_use=no
48542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48543 ac_ext=c
48544 ac_cpp='$CPP $CPPFLAGS'
48545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48554 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48556 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48557 for ac_func in _isinfl
48558 do :
48559 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48560 if test "x$ac_cv_func__isinfl" = x""yes; then :
48561 cat >>confdefs.h <<_ACEOF
48562 #define HAVE__ISINFL 1
48563 _ACEOF
48566 done
48575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48576 $as_echo_n "checking for atan2l declaration... " >&6; }
48577 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48578 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48579 $as_echo_n "(cached) " >&6
48580 else
48583 ac_ext=cpp
48584 ac_cpp='$CXXCPP $CPPFLAGS'
48585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48590 /* end confdefs.h. */
48591 #include <math.h>
48593 main ()
48595 atan2l(0, 0);
48597 return 0;
48599 _ACEOF
48600 if ac_fn_cxx_try_compile "$LINENO"; then :
48601 glibcxx_cv_func_atan2l_use=yes
48602 else
48603 glibcxx_cv_func_atan2l_use=no
48605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48606 ac_ext=c
48607 ac_cpp='$CPP $CPPFLAGS'
48608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48617 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48619 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48620 for ac_func in atan2l
48621 do :
48622 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48623 if test "x$ac_cv_func_atan2l" = x""yes; then :
48624 cat >>confdefs.h <<_ACEOF
48625 #define HAVE_ATAN2L 1
48626 _ACEOF
48629 done
48631 else
48633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48634 $as_echo_n "checking for _atan2l declaration... " >&6; }
48635 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48636 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48637 $as_echo_n "(cached) " >&6
48638 else
48641 ac_ext=cpp
48642 ac_cpp='$CXXCPP $CPPFLAGS'
48643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48648 /* end confdefs.h. */
48649 #include <math.h>
48651 main ()
48653 _atan2l(0, 0);
48655 return 0;
48657 _ACEOF
48658 if ac_fn_cxx_try_compile "$LINENO"; then :
48659 glibcxx_cv_func__atan2l_use=yes
48660 else
48661 glibcxx_cv_func__atan2l_use=no
48663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48664 ac_ext=c
48665 ac_cpp='$CPP $CPPFLAGS'
48666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48675 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48677 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48678 for ac_func in _atan2l
48679 do :
48680 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48681 if test "x$ac_cv_func__atan2l" = x""yes; then :
48682 cat >>confdefs.h <<_ACEOF
48683 #define HAVE__ATAN2L 1
48684 _ACEOF
48687 done
48696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48697 $as_echo_n "checking for expl declaration... " >&6; }
48698 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48699 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48700 $as_echo_n "(cached) " >&6
48701 else
48704 ac_ext=cpp
48705 ac_cpp='$CXXCPP $CPPFLAGS'
48706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48711 /* end confdefs.h. */
48712 #include <math.h>
48713 #ifdef HAVE_IEEEFP_H
48714 #include <ieeefp.h>
48715 #endif
48718 main ()
48720 expl(0);
48722 return 0;
48724 _ACEOF
48725 if ac_fn_cxx_try_compile "$LINENO"; then :
48726 glibcxx_cv_func_expl_use=yes
48727 else
48728 glibcxx_cv_func_expl_use=no
48730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48731 ac_ext=c
48732 ac_cpp='$CPP $CPPFLAGS'
48733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48742 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48744 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48745 for ac_func in expl
48746 do :
48747 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48748 if test "x$ac_cv_func_expl" = x""yes; then :
48749 cat >>confdefs.h <<_ACEOF
48750 #define HAVE_EXPL 1
48751 _ACEOF
48754 done
48756 else
48758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48759 $as_echo_n "checking for _expl declaration... " >&6; }
48760 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48761 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48762 $as_echo_n "(cached) " >&6
48763 else
48766 ac_ext=cpp
48767 ac_cpp='$CXXCPP $CPPFLAGS'
48768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48773 /* end confdefs.h. */
48774 #include <math.h>
48775 #ifdef HAVE_IEEEFP_H
48776 #include <ieeefp.h>
48777 #endif
48780 main ()
48782 _expl(0);
48784 return 0;
48786 _ACEOF
48787 if ac_fn_cxx_try_compile "$LINENO"; then :
48788 glibcxx_cv_func__expl_use=yes
48789 else
48790 glibcxx_cv_func__expl_use=no
48792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48793 ac_ext=c
48794 ac_cpp='$CPP $CPPFLAGS'
48795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48804 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48806 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48807 for ac_func in _expl
48808 do :
48809 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48810 if test "x$ac_cv_func__expl" = x""yes; then :
48811 cat >>confdefs.h <<_ACEOF
48812 #define HAVE__EXPL 1
48813 _ACEOF
48816 done
48825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48826 $as_echo_n "checking for fabsl declaration... " >&6; }
48827 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48828 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48829 $as_echo_n "(cached) " >&6
48830 else
48833 ac_ext=cpp
48834 ac_cpp='$CXXCPP $CPPFLAGS'
48835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48840 /* end confdefs.h. */
48841 #include <math.h>
48842 #ifdef HAVE_IEEEFP_H
48843 #include <ieeefp.h>
48844 #endif
48847 main ()
48849 fabsl(0);
48851 return 0;
48853 _ACEOF
48854 if ac_fn_cxx_try_compile "$LINENO"; then :
48855 glibcxx_cv_func_fabsl_use=yes
48856 else
48857 glibcxx_cv_func_fabsl_use=no
48859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48860 ac_ext=c
48861 ac_cpp='$CPP $CPPFLAGS'
48862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48871 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48873 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48874 for ac_func in fabsl
48875 do :
48876 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48877 if test "x$ac_cv_func_fabsl" = x""yes; then :
48878 cat >>confdefs.h <<_ACEOF
48879 #define HAVE_FABSL 1
48880 _ACEOF
48883 done
48885 else
48887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48888 $as_echo_n "checking for _fabsl declaration... " >&6; }
48889 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48890 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48891 $as_echo_n "(cached) " >&6
48892 else
48895 ac_ext=cpp
48896 ac_cpp='$CXXCPP $CPPFLAGS'
48897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48902 /* end confdefs.h. */
48903 #include <math.h>
48904 #ifdef HAVE_IEEEFP_H
48905 #include <ieeefp.h>
48906 #endif
48909 main ()
48911 _fabsl(0);
48913 return 0;
48915 _ACEOF
48916 if ac_fn_cxx_try_compile "$LINENO"; then :
48917 glibcxx_cv_func__fabsl_use=yes
48918 else
48919 glibcxx_cv_func__fabsl_use=no
48921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48922 ac_ext=c
48923 ac_cpp='$CPP $CPPFLAGS'
48924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48933 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48935 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48936 for ac_func in _fabsl
48937 do :
48938 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48939 if test "x$ac_cv_func__fabsl" = x""yes; then :
48940 cat >>confdefs.h <<_ACEOF
48941 #define HAVE__FABSL 1
48942 _ACEOF
48945 done
48954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48955 $as_echo_n "checking for fmodl declaration... " >&6; }
48956 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48957 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48958 $as_echo_n "(cached) " >&6
48959 else
48962 ac_ext=cpp
48963 ac_cpp='$CXXCPP $CPPFLAGS'
48964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48969 /* end confdefs.h. */
48970 #include <math.h>
48972 main ()
48974 fmodl(0, 0);
48976 return 0;
48978 _ACEOF
48979 if ac_fn_cxx_try_compile "$LINENO"; then :
48980 glibcxx_cv_func_fmodl_use=yes
48981 else
48982 glibcxx_cv_func_fmodl_use=no
48984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48985 ac_ext=c
48986 ac_cpp='$CPP $CPPFLAGS'
48987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48996 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48998 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48999 for ac_func in fmodl
49000 do :
49001 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49002 if test "x$ac_cv_func_fmodl" = x""yes; then :
49003 cat >>confdefs.h <<_ACEOF
49004 #define HAVE_FMODL 1
49005 _ACEOF
49008 done
49010 else
49012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49013 $as_echo_n "checking for _fmodl declaration... " >&6; }
49014 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49015 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49016 $as_echo_n "(cached) " >&6
49017 else
49020 ac_ext=cpp
49021 ac_cpp='$CXXCPP $CPPFLAGS'
49022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49027 /* end confdefs.h. */
49028 #include <math.h>
49030 main ()
49032 _fmodl(0, 0);
49034 return 0;
49036 _ACEOF
49037 if ac_fn_cxx_try_compile "$LINENO"; then :
49038 glibcxx_cv_func__fmodl_use=yes
49039 else
49040 glibcxx_cv_func__fmodl_use=no
49042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49043 ac_ext=c
49044 ac_cpp='$CPP $CPPFLAGS'
49045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49054 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49056 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49057 for ac_func in _fmodl
49058 do :
49059 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49060 if test "x$ac_cv_func__fmodl" = x""yes; then :
49061 cat >>confdefs.h <<_ACEOF
49062 #define HAVE__FMODL 1
49063 _ACEOF
49066 done
49075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49076 $as_echo_n "checking for frexpl declaration... " >&6; }
49077 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49078 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49079 $as_echo_n "(cached) " >&6
49080 else
49083 ac_ext=cpp
49084 ac_cpp='$CXXCPP $CPPFLAGS'
49085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49090 /* end confdefs.h. */
49091 #include <math.h>
49093 main ()
49095 frexpl(0, 0);
49097 return 0;
49099 _ACEOF
49100 if ac_fn_cxx_try_compile "$LINENO"; then :
49101 glibcxx_cv_func_frexpl_use=yes
49102 else
49103 glibcxx_cv_func_frexpl_use=no
49105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49106 ac_ext=c
49107 ac_cpp='$CPP $CPPFLAGS'
49108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49117 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49119 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49120 for ac_func in frexpl
49121 do :
49122 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49123 if test "x$ac_cv_func_frexpl" = x""yes; then :
49124 cat >>confdefs.h <<_ACEOF
49125 #define HAVE_FREXPL 1
49126 _ACEOF
49129 done
49131 else
49133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49134 $as_echo_n "checking for _frexpl declaration... " >&6; }
49135 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49136 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49137 $as_echo_n "(cached) " >&6
49138 else
49141 ac_ext=cpp
49142 ac_cpp='$CXXCPP $CPPFLAGS'
49143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49148 /* end confdefs.h. */
49149 #include <math.h>
49151 main ()
49153 _frexpl(0, 0);
49155 return 0;
49157 _ACEOF
49158 if ac_fn_cxx_try_compile "$LINENO"; then :
49159 glibcxx_cv_func__frexpl_use=yes
49160 else
49161 glibcxx_cv_func__frexpl_use=no
49163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49164 ac_ext=c
49165 ac_cpp='$CPP $CPPFLAGS'
49166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49175 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49177 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49178 for ac_func in _frexpl
49179 do :
49180 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49181 if test "x$ac_cv_func__frexpl" = x""yes; then :
49182 cat >>confdefs.h <<_ACEOF
49183 #define HAVE__FREXPL 1
49184 _ACEOF
49187 done
49196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49197 $as_echo_n "checking for hypotl declaration... " >&6; }
49198 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49199 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49200 $as_echo_n "(cached) " >&6
49201 else
49204 ac_ext=cpp
49205 ac_cpp='$CXXCPP $CPPFLAGS'
49206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49211 /* end confdefs.h. */
49212 #include <math.h>
49214 main ()
49216 hypotl(0, 0);
49218 return 0;
49220 _ACEOF
49221 if ac_fn_cxx_try_compile "$LINENO"; then :
49222 glibcxx_cv_func_hypotl_use=yes
49223 else
49224 glibcxx_cv_func_hypotl_use=no
49226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49227 ac_ext=c
49228 ac_cpp='$CPP $CPPFLAGS'
49229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49238 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49240 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49241 for ac_func in hypotl
49242 do :
49243 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49244 if test "x$ac_cv_func_hypotl" = x""yes; then :
49245 cat >>confdefs.h <<_ACEOF
49246 #define HAVE_HYPOTL 1
49247 _ACEOF
49250 done
49252 else
49254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49255 $as_echo_n "checking for _hypotl declaration... " >&6; }
49256 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49257 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49258 $as_echo_n "(cached) " >&6
49259 else
49262 ac_ext=cpp
49263 ac_cpp='$CXXCPP $CPPFLAGS'
49264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49269 /* end confdefs.h. */
49270 #include <math.h>
49272 main ()
49274 _hypotl(0, 0);
49276 return 0;
49278 _ACEOF
49279 if ac_fn_cxx_try_compile "$LINENO"; then :
49280 glibcxx_cv_func__hypotl_use=yes
49281 else
49282 glibcxx_cv_func__hypotl_use=no
49284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49285 ac_ext=c
49286 ac_cpp='$CPP $CPPFLAGS'
49287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49296 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49298 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49299 for ac_func in _hypotl
49300 do :
49301 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49302 if test "x$ac_cv_func__hypotl" = x""yes; then :
49303 cat >>confdefs.h <<_ACEOF
49304 #define HAVE__HYPOTL 1
49305 _ACEOF
49308 done
49317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49318 $as_echo_n "checking for ldexpl declaration... " >&6; }
49319 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49320 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49321 $as_echo_n "(cached) " >&6
49322 else
49325 ac_ext=cpp
49326 ac_cpp='$CXXCPP $CPPFLAGS'
49327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49332 /* end confdefs.h. */
49333 #include <math.h>
49335 main ()
49337 ldexpl(0, 0);
49339 return 0;
49341 _ACEOF
49342 if ac_fn_cxx_try_compile "$LINENO"; then :
49343 glibcxx_cv_func_ldexpl_use=yes
49344 else
49345 glibcxx_cv_func_ldexpl_use=no
49347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49348 ac_ext=c
49349 ac_cpp='$CPP $CPPFLAGS'
49350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49359 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49361 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49362 for ac_func in ldexpl
49363 do :
49364 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49365 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49366 cat >>confdefs.h <<_ACEOF
49367 #define HAVE_LDEXPL 1
49368 _ACEOF
49371 done
49373 else
49375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49376 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49377 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49378 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49379 $as_echo_n "(cached) " >&6
49380 else
49383 ac_ext=cpp
49384 ac_cpp='$CXXCPP $CPPFLAGS'
49385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49390 /* end confdefs.h. */
49391 #include <math.h>
49393 main ()
49395 _ldexpl(0, 0);
49397 return 0;
49399 _ACEOF
49400 if ac_fn_cxx_try_compile "$LINENO"; then :
49401 glibcxx_cv_func__ldexpl_use=yes
49402 else
49403 glibcxx_cv_func__ldexpl_use=no
49405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49406 ac_ext=c
49407 ac_cpp='$CPP $CPPFLAGS'
49408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49417 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49419 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49420 for ac_func in _ldexpl
49421 do :
49422 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49423 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49424 cat >>confdefs.h <<_ACEOF
49425 #define HAVE__LDEXPL 1
49426 _ACEOF
49429 done
49438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49439 $as_echo_n "checking for logl declaration... " >&6; }
49440 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49441 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49442 $as_echo_n "(cached) " >&6
49443 else
49446 ac_ext=cpp
49447 ac_cpp='$CXXCPP $CPPFLAGS'
49448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49453 /* end confdefs.h. */
49454 #include <math.h>
49455 #ifdef HAVE_IEEEFP_H
49456 #include <ieeefp.h>
49457 #endif
49460 main ()
49462 logl(0);
49464 return 0;
49466 _ACEOF
49467 if ac_fn_cxx_try_compile "$LINENO"; then :
49468 glibcxx_cv_func_logl_use=yes
49469 else
49470 glibcxx_cv_func_logl_use=no
49472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49473 ac_ext=c
49474 ac_cpp='$CPP $CPPFLAGS'
49475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49484 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49486 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49487 for ac_func in logl
49488 do :
49489 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49490 if test "x$ac_cv_func_logl" = x""yes; then :
49491 cat >>confdefs.h <<_ACEOF
49492 #define HAVE_LOGL 1
49493 _ACEOF
49496 done
49498 else
49500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49501 $as_echo_n "checking for _logl declaration... " >&6; }
49502 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49503 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49504 $as_echo_n "(cached) " >&6
49505 else
49508 ac_ext=cpp
49509 ac_cpp='$CXXCPP $CPPFLAGS'
49510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49515 /* end confdefs.h. */
49516 #include <math.h>
49517 #ifdef HAVE_IEEEFP_H
49518 #include <ieeefp.h>
49519 #endif
49522 main ()
49524 _logl(0);
49526 return 0;
49528 _ACEOF
49529 if ac_fn_cxx_try_compile "$LINENO"; then :
49530 glibcxx_cv_func__logl_use=yes
49531 else
49532 glibcxx_cv_func__logl_use=no
49534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49535 ac_ext=c
49536 ac_cpp='$CPP $CPPFLAGS'
49537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49546 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49548 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49549 for ac_func in _logl
49550 do :
49551 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49552 if test "x$ac_cv_func__logl" = x""yes; then :
49553 cat >>confdefs.h <<_ACEOF
49554 #define HAVE__LOGL 1
49555 _ACEOF
49558 done
49567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49568 $as_echo_n "checking for log10l declaration... " >&6; }
49569 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49570 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49571 $as_echo_n "(cached) " >&6
49572 else
49575 ac_ext=cpp
49576 ac_cpp='$CXXCPP $CPPFLAGS'
49577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49582 /* end confdefs.h. */
49583 #include <math.h>
49584 #ifdef HAVE_IEEEFP_H
49585 #include <ieeefp.h>
49586 #endif
49589 main ()
49591 log10l(0);
49593 return 0;
49595 _ACEOF
49596 if ac_fn_cxx_try_compile "$LINENO"; then :
49597 glibcxx_cv_func_log10l_use=yes
49598 else
49599 glibcxx_cv_func_log10l_use=no
49601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49602 ac_ext=c
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49613 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49615 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49616 for ac_func in log10l
49617 do :
49618 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49619 if test "x$ac_cv_func_log10l" = x""yes; then :
49620 cat >>confdefs.h <<_ACEOF
49621 #define HAVE_LOG10L 1
49622 _ACEOF
49625 done
49627 else
49629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49630 $as_echo_n "checking for _log10l declaration... " >&6; }
49631 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49632 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49633 $as_echo_n "(cached) " >&6
49634 else
49637 ac_ext=cpp
49638 ac_cpp='$CXXCPP $CPPFLAGS'
49639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49644 /* end confdefs.h. */
49645 #include <math.h>
49646 #ifdef HAVE_IEEEFP_H
49647 #include <ieeefp.h>
49648 #endif
49651 main ()
49653 _log10l(0);
49655 return 0;
49657 _ACEOF
49658 if ac_fn_cxx_try_compile "$LINENO"; then :
49659 glibcxx_cv_func__log10l_use=yes
49660 else
49661 glibcxx_cv_func__log10l_use=no
49663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49664 ac_ext=c
49665 ac_cpp='$CPP $CPPFLAGS'
49666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49675 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49677 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49678 for ac_func in _log10l
49679 do :
49680 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49681 if test "x$ac_cv_func__log10l" = x""yes; then :
49682 cat >>confdefs.h <<_ACEOF
49683 #define HAVE__LOG10L 1
49684 _ACEOF
49687 done
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49697 $as_echo_n "checking for modfl declaration... " >&6; }
49698 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49699 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49700 $as_echo_n "(cached) " >&6
49701 else
49704 ac_ext=cpp
49705 ac_cpp='$CXXCPP $CPPFLAGS'
49706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49711 /* end confdefs.h. */
49712 #include <math.h>
49714 main ()
49716 modfl(0, 0);
49718 return 0;
49720 _ACEOF
49721 if ac_fn_cxx_try_compile "$LINENO"; then :
49722 glibcxx_cv_func_modfl_use=yes
49723 else
49724 glibcxx_cv_func_modfl_use=no
49726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49727 ac_ext=c
49728 ac_cpp='$CPP $CPPFLAGS'
49729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49738 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49740 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49741 for ac_func in modfl
49742 do :
49743 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49744 if test "x$ac_cv_func_modfl" = x""yes; then :
49745 cat >>confdefs.h <<_ACEOF
49746 #define HAVE_MODFL 1
49747 _ACEOF
49750 done
49752 else
49754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49755 $as_echo_n "checking for _modfl declaration... " >&6; }
49756 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49757 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49758 $as_echo_n "(cached) " >&6
49759 else
49762 ac_ext=cpp
49763 ac_cpp='$CXXCPP $CPPFLAGS'
49764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49769 /* end confdefs.h. */
49770 #include <math.h>
49772 main ()
49774 _modfl(0, 0);
49776 return 0;
49778 _ACEOF
49779 if ac_fn_cxx_try_compile "$LINENO"; then :
49780 glibcxx_cv_func__modfl_use=yes
49781 else
49782 glibcxx_cv_func__modfl_use=no
49784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49785 ac_ext=c
49786 ac_cpp='$CPP $CPPFLAGS'
49787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49796 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49798 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49799 for ac_func in _modfl
49800 do :
49801 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49802 if test "x$ac_cv_func__modfl" = x""yes; then :
49803 cat >>confdefs.h <<_ACEOF
49804 #define HAVE__MODFL 1
49805 _ACEOF
49808 done
49817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49818 $as_echo_n "checking for powl declaration... " >&6; }
49819 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49820 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49821 $as_echo_n "(cached) " >&6
49822 else
49825 ac_ext=cpp
49826 ac_cpp='$CXXCPP $CPPFLAGS'
49827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49832 /* end confdefs.h. */
49833 #include <math.h>
49835 main ()
49837 powl(0, 0);
49839 return 0;
49841 _ACEOF
49842 if ac_fn_cxx_try_compile "$LINENO"; then :
49843 glibcxx_cv_func_powl_use=yes
49844 else
49845 glibcxx_cv_func_powl_use=no
49847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49848 ac_ext=c
49849 ac_cpp='$CPP $CPPFLAGS'
49850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49859 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49861 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49862 for ac_func in powl
49863 do :
49864 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49865 if test "x$ac_cv_func_powl" = x""yes; then :
49866 cat >>confdefs.h <<_ACEOF
49867 #define HAVE_POWL 1
49868 _ACEOF
49871 done
49873 else
49875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49876 $as_echo_n "checking for _powl declaration... " >&6; }
49877 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49878 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49879 $as_echo_n "(cached) " >&6
49880 else
49883 ac_ext=cpp
49884 ac_cpp='$CXXCPP $CPPFLAGS'
49885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49890 /* end confdefs.h. */
49891 #include <math.h>
49893 main ()
49895 _powl(0, 0);
49897 return 0;
49899 _ACEOF
49900 if ac_fn_cxx_try_compile "$LINENO"; then :
49901 glibcxx_cv_func__powl_use=yes
49902 else
49903 glibcxx_cv_func__powl_use=no
49905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49906 ac_ext=c
49907 ac_cpp='$CPP $CPPFLAGS'
49908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49917 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49919 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49920 for ac_func in _powl
49921 do :
49922 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49923 if test "x$ac_cv_func__powl" = x""yes; then :
49924 cat >>confdefs.h <<_ACEOF
49925 #define HAVE__POWL 1
49926 _ACEOF
49929 done
49938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49939 $as_echo_n "checking for sqrtl declaration... " >&6; }
49940 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49941 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49942 $as_echo_n "(cached) " >&6
49943 else
49946 ac_ext=cpp
49947 ac_cpp='$CXXCPP $CPPFLAGS'
49948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49953 /* end confdefs.h. */
49954 #include <math.h>
49955 #ifdef HAVE_IEEEFP_H
49956 #include <ieeefp.h>
49957 #endif
49960 main ()
49962 sqrtl(0);
49964 return 0;
49966 _ACEOF
49967 if ac_fn_cxx_try_compile "$LINENO"; then :
49968 glibcxx_cv_func_sqrtl_use=yes
49969 else
49970 glibcxx_cv_func_sqrtl_use=no
49972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49973 ac_ext=c
49974 ac_cpp='$CPP $CPPFLAGS'
49975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49984 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49986 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49987 for ac_func in sqrtl
49988 do :
49989 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49990 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49991 cat >>confdefs.h <<_ACEOF
49992 #define HAVE_SQRTL 1
49993 _ACEOF
49996 done
49998 else
50000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50001 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50002 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50003 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50004 $as_echo_n "(cached) " >&6
50005 else
50008 ac_ext=cpp
50009 ac_cpp='$CXXCPP $CPPFLAGS'
50010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50015 /* end confdefs.h. */
50016 #include <math.h>
50017 #ifdef HAVE_IEEEFP_H
50018 #include <ieeefp.h>
50019 #endif
50022 main ()
50024 _sqrtl(0);
50026 return 0;
50028 _ACEOF
50029 if ac_fn_cxx_try_compile "$LINENO"; then :
50030 glibcxx_cv_func__sqrtl_use=yes
50031 else
50032 glibcxx_cv_func__sqrtl_use=no
50034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50035 ac_ext=c
50036 ac_cpp='$CPP $CPPFLAGS'
50037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50046 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50048 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50049 for ac_func in _sqrtl
50050 do :
50051 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50052 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50053 cat >>confdefs.h <<_ACEOF
50054 #define HAVE__SQRTL 1
50055 _ACEOF
50058 done
50067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50068 $as_echo_n "checking for sincosl declaration... " >&6; }
50069 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50070 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50071 $as_echo_n "(cached) " >&6
50072 else
50075 ac_ext=cpp
50076 ac_cpp='$CXXCPP $CPPFLAGS'
50077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50082 /* end confdefs.h. */
50083 #include <math.h>
50085 main ()
50087 sincosl(0, 0, 0);
50089 return 0;
50091 _ACEOF
50092 if ac_fn_cxx_try_compile "$LINENO"; then :
50093 glibcxx_cv_func_sincosl_use=yes
50094 else
50095 glibcxx_cv_func_sincosl_use=no
50097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50098 ac_ext=c
50099 ac_cpp='$CPP $CPPFLAGS'
50100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50109 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50111 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50112 for ac_func in sincosl
50113 do :
50114 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50115 if test "x$ac_cv_func_sincosl" = x""yes; then :
50116 cat >>confdefs.h <<_ACEOF
50117 #define HAVE_SINCOSL 1
50118 _ACEOF
50121 done
50123 else
50125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50126 $as_echo_n "checking for _sincosl declaration... " >&6; }
50127 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50128 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50129 $as_echo_n "(cached) " >&6
50130 else
50133 ac_ext=cpp
50134 ac_cpp='$CXXCPP $CPPFLAGS'
50135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50140 /* end confdefs.h. */
50141 #include <math.h>
50143 main ()
50145 _sincosl(0, 0, 0);
50147 return 0;
50149 _ACEOF
50150 if ac_fn_cxx_try_compile "$LINENO"; then :
50151 glibcxx_cv_func__sincosl_use=yes
50152 else
50153 glibcxx_cv_func__sincosl_use=no
50155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50156 ac_ext=c
50157 ac_cpp='$CPP $CPPFLAGS'
50158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50167 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50169 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50170 for ac_func in _sincosl
50171 do :
50172 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50173 if test "x$ac_cv_func__sincosl" = x""yes; then :
50174 cat >>confdefs.h <<_ACEOF
50175 #define HAVE__SINCOSL 1
50176 _ACEOF
50179 done
50188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50189 $as_echo_n "checking for finitel declaration... " >&6; }
50190 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50191 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50192 $as_echo_n "(cached) " >&6
50193 else
50196 ac_ext=cpp
50197 ac_cpp='$CXXCPP $CPPFLAGS'
50198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50203 /* end confdefs.h. */
50204 #include <math.h>
50205 #ifdef HAVE_IEEEFP_H
50206 #include <ieeefp.h>
50207 #endif
50210 main ()
50212 finitel(0);
50214 return 0;
50216 _ACEOF
50217 if ac_fn_cxx_try_compile "$LINENO"; then :
50218 glibcxx_cv_func_finitel_use=yes
50219 else
50220 glibcxx_cv_func_finitel_use=no
50222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50223 ac_ext=c
50224 ac_cpp='$CPP $CPPFLAGS'
50225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50234 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50236 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50237 for ac_func in finitel
50238 do :
50239 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50240 if test "x$ac_cv_func_finitel" = x""yes; then :
50241 cat >>confdefs.h <<_ACEOF
50242 #define HAVE_FINITEL 1
50243 _ACEOF
50246 done
50248 else
50250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50251 $as_echo_n "checking for _finitel declaration... " >&6; }
50252 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50253 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50254 $as_echo_n "(cached) " >&6
50255 else
50258 ac_ext=cpp
50259 ac_cpp='$CXXCPP $CPPFLAGS'
50260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50265 /* end confdefs.h. */
50266 #include <math.h>
50267 #ifdef HAVE_IEEEFP_H
50268 #include <ieeefp.h>
50269 #endif
50272 main ()
50274 _finitel(0);
50276 return 0;
50278 _ACEOF
50279 if ac_fn_cxx_try_compile "$LINENO"; then :
50280 glibcxx_cv_func__finitel_use=yes
50281 else
50282 glibcxx_cv_func__finitel_use=no
50284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50285 ac_ext=c
50286 ac_cpp='$CPP $CPPFLAGS'
50287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50296 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50298 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50299 for ac_func in _finitel
50300 do :
50301 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50302 if test "x$ac_cv_func__finitel" = x""yes; then :
50303 cat >>confdefs.h <<_ACEOF
50304 #define HAVE__FINITEL 1
50305 _ACEOF
50308 done
50316 LIBS="$ac_save_LIBS"
50317 CXXFLAGS="$ac_save_CXXFLAGS"
50320 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50321 ac_save_CXXFLAGS="$CXXFLAGS"
50322 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50326 $as_echo_n "checking for strtold declaration... " >&6; }
50327 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50328 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50329 $as_echo_n "(cached) " >&6
50330 else
50333 ac_ext=cpp
50334 ac_cpp='$CXXCPP $CPPFLAGS'
50335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50340 /* end confdefs.h. */
50341 #include <stdlib.h>
50343 main ()
50345 strtold(0, 0);
50347 return 0;
50349 _ACEOF
50350 if ac_fn_cxx_try_compile "$LINENO"; then :
50351 glibcxx_cv_func_strtold_use=yes
50352 else
50353 glibcxx_cv_func_strtold_use=no
50355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50356 ac_ext=c
50357 ac_cpp='$CPP $CPPFLAGS'
50358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50367 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50368 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50369 for ac_func in strtold
50370 do :
50371 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50372 if test "x$ac_cv_func_strtold" = x""yes; then :
50373 cat >>confdefs.h <<_ACEOF
50374 #define HAVE_STRTOLD 1
50375 _ACEOF
50378 done
50385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50386 $as_echo_n "checking for strtof declaration... " >&6; }
50387 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50388 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50389 $as_echo_n "(cached) " >&6
50390 else
50393 ac_ext=cpp
50394 ac_cpp='$CXXCPP $CPPFLAGS'
50395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50400 /* end confdefs.h. */
50401 #include <stdlib.h>
50403 main ()
50405 strtof(0, 0);
50407 return 0;
50409 _ACEOF
50410 if ac_fn_cxx_try_compile "$LINENO"; then :
50411 glibcxx_cv_func_strtof_use=yes
50412 else
50413 glibcxx_cv_func_strtof_use=no
50415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50416 ac_ext=c
50417 ac_cpp='$CPP $CPPFLAGS'
50418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50427 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50428 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50429 for ac_func in strtof
50430 do :
50431 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50432 if test "x$ac_cv_func_strtof" = x""yes; then :
50433 cat >>confdefs.h <<_ACEOF
50434 #define HAVE_STRTOF 1
50435 _ACEOF
50438 done
50445 CXXFLAGS="$ac_save_CXXFLAGS"
50447 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50451 # Check whether --enable-tls was given.
50452 if test "${enable_tls+set}" = set; then :
50453 enableval=$enable_tls;
50454 case "$enableval" in
50455 yes|no) ;;
50456 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50457 esac
50459 else
50460 enable_tls=yes
50464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50465 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50466 if test "${gcc_cv_have_tls+set}" = set; then :
50467 $as_echo_n "(cached) " >&6
50468 else
50470 if test "$cross_compiling" = yes; then :
50471 if test x$gcc_no_link = xyes; then
50472 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50475 /* end confdefs.h. */
50476 __thread int a; int b; int main() { return a = b; }
50477 _ACEOF
50478 if ac_fn_c_try_link "$LINENO"; then :
50479 chktls_save_LDFLAGS="$LDFLAGS"
50480 case $host in
50481 *-*-linux*)
50482 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50484 esac
50485 chktls_save_CFLAGS="$CFLAGS"
50486 CFLAGS="-fPIC $CFLAGS"
50487 if test x$gcc_no_link = xyes; then
50488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50491 /* end confdefs.h. */
50492 int f() { return 0; }
50493 _ACEOF
50494 if ac_fn_c_try_link "$LINENO"; then :
50495 if test x$gcc_no_link = xyes; then
50496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50499 /* end confdefs.h. */
50500 __thread int a; int b; int f() { return a = b; }
50501 _ACEOF
50502 if ac_fn_c_try_link "$LINENO"; then :
50503 gcc_cv_have_tls=yes
50504 else
50505 gcc_cv_have_tls=no
50507 rm -f core conftest.err conftest.$ac_objext \
50508 conftest$ac_exeext conftest.$ac_ext
50509 else
50510 gcc_cv_have_tls=yes
50512 rm -f core conftest.err conftest.$ac_objext \
50513 conftest$ac_exeext conftest.$ac_ext
50514 CFLAGS="$chktls_save_CFLAGS"
50515 LDFLAGS="$chktls_save_LDFLAGS"
50516 else
50517 gcc_cv_have_tls=no
50519 rm -f core conftest.err conftest.$ac_objext \
50520 conftest$ac_exeext conftest.$ac_ext
50523 else
50524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50525 /* end confdefs.h. */
50526 __thread int a; int b; int main() { return a = b; }
50527 _ACEOF
50528 if ac_fn_c_try_run "$LINENO"; then :
50529 chktls_save_LDFLAGS="$LDFLAGS"
50530 LDFLAGS="-static $LDFLAGS"
50531 if test x$gcc_no_link = xyes; then
50532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50535 /* end confdefs.h. */
50536 int main() { return 0; }
50537 _ACEOF
50538 if ac_fn_c_try_link "$LINENO"; then :
50539 if test "$cross_compiling" = yes; then :
50540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50542 as_fn_error "cannot run test program while cross compiling
50543 See \`config.log' for more details." "$LINENO" 5; }
50544 else
50545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50546 /* end confdefs.h. */
50547 __thread int a; int b; int main() { return a = b; }
50548 _ACEOF
50549 if ac_fn_c_try_run "$LINENO"; then :
50550 gcc_cv_have_tls=yes
50551 else
50552 gcc_cv_have_tls=no
50554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50555 conftest.$ac_objext conftest.beam conftest.$ac_ext
50558 else
50559 gcc_cv_have_tls=yes
50561 rm -f core conftest.err conftest.$ac_objext \
50562 conftest$ac_exeext conftest.$ac_ext
50563 LDFLAGS="$chktls_save_LDFLAGS"
50564 if test $gcc_cv_have_tls = yes; then
50565 chktls_save_CFLAGS="$CFLAGS"
50566 thread_CFLAGS=failed
50567 for flag in '' '-pthread' '-lpthread'; do
50568 CFLAGS="$flag $chktls_save_CFLAGS"
50569 if test x$gcc_no_link = xyes; then
50570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50573 /* end confdefs.h. */
50574 #include <pthread.h>
50575 void *g(void *d) { return NULL; }
50577 main ()
50579 pthread_t t; pthread_create(&t,NULL,g,NULL);
50581 return 0;
50583 _ACEOF
50584 if ac_fn_c_try_link "$LINENO"; then :
50585 thread_CFLAGS="$flag"
50587 rm -f core conftest.err conftest.$ac_objext \
50588 conftest$ac_exeext conftest.$ac_ext
50589 if test "X$thread_CFLAGS" != Xfailed; then
50590 break
50592 done
50593 CFLAGS="$chktls_save_CFLAGS"
50594 if test "X$thread_CFLAGS" != Xfailed; then
50595 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50596 if test "$cross_compiling" = yes; then :
50597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50599 as_fn_error "cannot run test program while cross compiling
50600 See \`config.log' for more details." "$LINENO" 5; }
50601 else
50602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50603 /* end confdefs.h. */
50604 #include <pthread.h>
50605 __thread int a;
50606 static int *volatile a_in_other_thread;
50607 static void *
50608 thread_func (void *arg)
50610 a_in_other_thread = &a;
50611 return (void *)0;
50614 main ()
50616 pthread_t thread;
50617 void *thread_retval;
50618 int *volatile a_in_main_thread;
50619 a_in_main_thread = &a;
50620 if (pthread_create (&thread, (pthread_attr_t *)0,
50621 thread_func, (void *)0))
50622 return 0;
50623 if (pthread_join (thread, &thread_retval))
50624 return 0;
50625 return (a_in_other_thread == a_in_main_thread);
50627 return 0;
50629 _ACEOF
50630 if ac_fn_c_try_run "$LINENO"; then :
50631 gcc_cv_have_tls=yes
50632 else
50633 gcc_cv_have_tls=no
50635 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50636 conftest.$ac_objext conftest.beam conftest.$ac_ext
50639 CFLAGS="$chktls_save_CFLAGS"
50642 else
50643 gcc_cv_have_tls=no
50645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50646 conftest.$ac_objext conftest.beam conftest.$ac_ext
50650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50651 $as_echo "$gcc_cv_have_tls" >&6; }
50652 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50654 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50662 am_save_CPPFLAGS="$CPPFLAGS"
50664 for element in $INCICONV; do
50665 haveit=
50666 for x in $CPPFLAGS; do
50668 acl_save_prefix="$prefix"
50669 prefix="$acl_final_prefix"
50670 acl_save_exec_prefix="$exec_prefix"
50671 exec_prefix="$acl_final_exec_prefix"
50672 eval x=\"$x\"
50673 exec_prefix="$acl_save_exec_prefix"
50674 prefix="$acl_save_prefix"
50676 if test "X$x" = "X$element"; then
50677 haveit=yes
50678 break
50680 done
50681 if test -z "$haveit"; then
50682 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50684 done
50687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50688 $as_echo_n "checking for iconv... " >&6; }
50689 if test "${am_cv_func_iconv+set}" = set; then :
50690 $as_echo_n "(cached) " >&6
50691 else
50693 am_cv_func_iconv="no, consider installing GNU libiconv"
50694 am_cv_lib_iconv=no
50695 if test x$gcc_no_link = xyes; then
50696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50699 /* end confdefs.h. */
50700 #include <stdlib.h>
50701 #include <iconv.h>
50703 main ()
50705 iconv_t cd = iconv_open("","");
50706 iconv(cd,NULL,NULL,NULL,NULL);
50707 iconv_close(cd);
50709 return 0;
50711 _ACEOF
50712 if ac_fn_c_try_link "$LINENO"; then :
50713 am_cv_func_iconv=yes
50715 rm -f core conftest.err conftest.$ac_objext \
50716 conftest$ac_exeext conftest.$ac_ext
50717 if test "$am_cv_func_iconv" != yes; then
50718 am_save_LIBS="$LIBS"
50719 LIBS="$LIBS $LIBICONV"
50720 if test x$gcc_no_link = xyes; then
50721 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50724 /* end confdefs.h. */
50725 #include <stdlib.h>
50726 #include <iconv.h>
50728 main ()
50730 iconv_t cd = iconv_open("","");
50731 iconv(cd,NULL,NULL,NULL,NULL);
50732 iconv_close(cd);
50734 return 0;
50736 _ACEOF
50737 if ac_fn_c_try_link "$LINENO"; then :
50738 am_cv_lib_iconv=yes
50739 am_cv_func_iconv=yes
50741 rm -f core conftest.err conftest.$ac_objext \
50742 conftest$ac_exeext conftest.$ac_ext
50743 LIBS="$am_save_LIBS"
50747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50748 $as_echo "$am_cv_func_iconv" >&6; }
50749 if test "$am_cv_func_iconv" = yes; then
50751 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50754 if test "$am_cv_lib_iconv" = yes; then
50755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50756 $as_echo_n "checking how to link with libiconv... " >&6; }
50757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50758 $as_echo "$LIBICONV" >&6; }
50759 else
50760 CPPFLAGS="$am_save_CPPFLAGS"
50761 LIBICONV=
50762 LTLIBICONV=
50767 if test "$am_cv_func_iconv" = yes; then
50768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50769 $as_echo_n "checking for iconv declaration... " >&6; }
50770 if test "${am_cv_proto_iconv+set}" = set; then :
50771 $as_echo_n "(cached) " >&6
50772 else
50774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50775 /* end confdefs.h. */
50777 #include <stdlib.h>
50778 #include <iconv.h>
50779 extern
50780 #ifdef __cplusplus
50782 #endif
50783 #if defined(__STDC__) || defined(__cplusplus)
50784 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50785 #else
50786 size_t iconv();
50787 #endif
50790 main ()
50794 return 0;
50796 _ACEOF
50797 if ac_fn_c_try_compile "$LINENO"; then :
50798 am_cv_proto_iconv_arg1=""
50799 else
50800 am_cv_proto_iconv_arg1="const"
50802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50803 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);"
50806 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50808 }$am_cv_proto_iconv" >&5
50809 $as_echo "${ac_t:-
50810 }$am_cv_proto_iconv" >&6; }
50812 cat >>confdefs.h <<_ACEOF
50813 #define ICONV_CONST $am_cv_proto_iconv_arg1
50814 _ACEOF
50819 *-mingw32*)
50821 # If we're not using GNU ld, then there's no point in even trying these
50822 # tests. Check for that first. We should have already tested for gld
50823 # by now (in libtool), but require it now just to be safe...
50824 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50825 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50829 # The name set by libtool depends on the version of libtool. Shame on us
50830 # for depending on an impl detail, but c'est la vie. Older versions used
50831 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50832 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50833 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50834 # set (hence we're using an older libtool), then set it.
50835 if test x${with_gnu_ld+set} != xset; then
50836 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50837 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50838 with_gnu_ld=no
50839 else
50840 with_gnu_ld=$ac_cv_prog_gnu_ld
50844 # Start by getting the version number. I think the libtool test already
50845 # does some of this, but throws away the result.
50846 glibcxx_ld_is_gold=no
50847 if test x"$with_gnu_ld" = x"yes"; then
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50849 $as_echo_n "checking for ld version... " >&6; }
50851 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50852 glibcxx_ld_is_gold=yes
50854 ldver=`$LD --version 2>/dev/null |
50855 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'`
50857 glibcxx_gnu_ld_version=`echo $ldver | \
50858 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50860 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50863 # Set --gc-sections.
50864 glibcxx_have_gc_sections=no
50865 if test "$glibcxx_ld_is_gold" = "yes"; then
50866 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50867 glibcxx_have_gc_sections=yes
50869 else
50870 glibcxx_gcsections_min_ld=21602
50871 if test x"$with_gnu_ld" = x"yes" &&
50872 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50873 glibcxx_have_gc_sections=yes
50876 if test "$glibcxx_have_gc_sections" = "yes"; then
50877 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50878 # NB: This flag only works reliably after 2.16.1. Configure tests
50879 # for this are difficult, so hard wire a value that should work.
50881 ac_test_CFLAGS="${CFLAGS+set}"
50882 ac_save_CFLAGS="$CFLAGS"
50883 CFLAGS='-Wl,--gc-sections'
50885 # Check for -Wl,--gc-sections
50886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50887 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50888 if test x$gcc_no_link = xyes; then
50889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50892 /* end confdefs.h. */
50893 int one(void) { return 1; }
50894 int two(void) { return 2; }
50897 main ()
50899 two();
50901 return 0;
50903 _ACEOF
50904 if ac_fn_c_try_link "$LINENO"; then :
50905 ac_gcsections=yes
50906 else
50907 ac_gcsections=no
50909 rm -f core conftest.err conftest.$ac_objext \
50910 conftest$ac_exeext conftest.$ac_ext
50911 if test "$ac_gcsections" = "yes"; then
50912 rm -f conftest.c
50913 touch conftest.c
50914 if $CC -c conftest.c; then
50915 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50916 grep "Warning: gc-sections option ignored" > /dev/null; then
50917 ac_gcsections=no
50920 rm -f conftest.c conftest.o conftest
50922 if test "$ac_gcsections" = "yes"; then
50923 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50926 $as_echo "$ac_gcsections" >&6; }
50928 if test "$ac_test_CFLAGS" = set; then
50929 CFLAGS="$ac_save_CFLAGS"
50930 else
50931 # this is the suspicious part
50932 CFLAGS=''
50936 # Set -z,relro.
50937 # Note this is only for shared objects.
50938 ac_ld_relro=no
50939 if test x"$with_gnu_ld" = x"yes"; then
50940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50941 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50942 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50943 if test -n "$cxx_z_relo"; then
50944 OPT_LDFLAGS="-Wl,-z,relro"
50945 ac_ld_relro=yes
50947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50948 $as_echo "$ac_ld_relro" >&6; }
50951 # Set linker optimization flags.
50952 if test x"$with_gnu_ld" = x"yes"; then
50953 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50960 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50961 ac_save_CXXFLAGS="$CXXFLAGS"
50962 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50965 $as_echo_n "checking for sin in -lm... " >&6; }
50966 if test "${ac_cv_lib_m_sin+set}" = set; then :
50967 $as_echo_n "(cached) " >&6
50968 else
50969 ac_check_lib_save_LIBS=$LIBS
50970 LIBS="-lm $LIBS"
50971 if test x$gcc_no_link = xyes; then
50972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50975 /* end confdefs.h. */
50977 /* Override any GCC internal prototype to avoid an error.
50978 Use char because int might match the return type of a GCC
50979 builtin and then its argument prototype would still apply. */
50980 #ifdef __cplusplus
50981 extern "C"
50982 #endif
50983 char sin ();
50985 main ()
50987 return sin ();
50989 return 0;
50991 _ACEOF
50992 if ac_fn_c_try_link "$LINENO"; then :
50993 ac_cv_lib_m_sin=yes
50994 else
50995 ac_cv_lib_m_sin=no
50997 rm -f core conftest.err conftest.$ac_objext \
50998 conftest$ac_exeext conftest.$ac_ext
50999 LIBS=$ac_check_lib_save_LIBS
51001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51002 $as_echo "$ac_cv_lib_m_sin" >&6; }
51003 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51004 libm="-lm"
51007 ac_save_LIBS="$LIBS"
51008 LIBS="$LIBS $libm"
51012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51013 $as_echo_n "checking for isinf declaration... " >&6; }
51014 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51015 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51016 $as_echo_n "(cached) " >&6
51017 else
51020 ac_ext=cpp
51021 ac_cpp='$CXXCPP $CPPFLAGS'
51022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51027 /* end confdefs.h. */
51028 #include <math.h>
51029 #ifdef HAVE_IEEEFP_H
51030 #include <ieeefp.h>
51031 #endif
51034 main ()
51036 isinf(0);
51038 return 0;
51040 _ACEOF
51041 if ac_fn_cxx_try_compile "$LINENO"; then :
51042 glibcxx_cv_func_isinf_use=yes
51043 else
51044 glibcxx_cv_func_isinf_use=no
51046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51047 ac_ext=c
51048 ac_cpp='$CPP $CPPFLAGS'
51049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51058 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51060 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51061 for ac_func in isinf
51062 do :
51063 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51064 if test "x$ac_cv_func_isinf" = x""yes; then :
51065 cat >>confdefs.h <<_ACEOF
51066 #define HAVE_ISINF 1
51067 _ACEOF
51070 done
51072 else
51074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51075 $as_echo_n "checking for _isinf declaration... " >&6; }
51076 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51077 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51078 $as_echo_n "(cached) " >&6
51079 else
51082 ac_ext=cpp
51083 ac_cpp='$CXXCPP $CPPFLAGS'
51084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51089 /* end confdefs.h. */
51090 #include <math.h>
51091 #ifdef HAVE_IEEEFP_H
51092 #include <ieeefp.h>
51093 #endif
51096 main ()
51098 _isinf(0);
51100 return 0;
51102 _ACEOF
51103 if ac_fn_cxx_try_compile "$LINENO"; then :
51104 glibcxx_cv_func__isinf_use=yes
51105 else
51106 glibcxx_cv_func__isinf_use=no
51108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51109 ac_ext=c
51110 ac_cpp='$CPP $CPPFLAGS'
51111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51120 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51122 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51123 for ac_func in _isinf
51124 do :
51125 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51126 if test "x$ac_cv_func__isinf" = x""yes; then :
51127 cat >>confdefs.h <<_ACEOF
51128 #define HAVE__ISINF 1
51129 _ACEOF
51132 done
51141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51142 $as_echo_n "checking for isnan declaration... " >&6; }
51143 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51144 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51145 $as_echo_n "(cached) " >&6
51146 else
51149 ac_ext=cpp
51150 ac_cpp='$CXXCPP $CPPFLAGS'
51151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51156 /* end confdefs.h. */
51157 #include <math.h>
51158 #ifdef HAVE_IEEEFP_H
51159 #include <ieeefp.h>
51160 #endif
51163 main ()
51165 isnan(0);
51167 return 0;
51169 _ACEOF
51170 if ac_fn_cxx_try_compile "$LINENO"; then :
51171 glibcxx_cv_func_isnan_use=yes
51172 else
51173 glibcxx_cv_func_isnan_use=no
51175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51176 ac_ext=c
51177 ac_cpp='$CPP $CPPFLAGS'
51178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51187 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51189 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51190 for ac_func in isnan
51191 do :
51192 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51193 if test "x$ac_cv_func_isnan" = x""yes; then :
51194 cat >>confdefs.h <<_ACEOF
51195 #define HAVE_ISNAN 1
51196 _ACEOF
51199 done
51201 else
51203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51204 $as_echo_n "checking for _isnan declaration... " >&6; }
51205 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51206 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51207 $as_echo_n "(cached) " >&6
51208 else
51211 ac_ext=cpp
51212 ac_cpp='$CXXCPP $CPPFLAGS'
51213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51218 /* end confdefs.h. */
51219 #include <math.h>
51220 #ifdef HAVE_IEEEFP_H
51221 #include <ieeefp.h>
51222 #endif
51225 main ()
51227 _isnan(0);
51229 return 0;
51231 _ACEOF
51232 if ac_fn_cxx_try_compile "$LINENO"; then :
51233 glibcxx_cv_func__isnan_use=yes
51234 else
51235 glibcxx_cv_func__isnan_use=no
51237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51238 ac_ext=c
51239 ac_cpp='$CPP $CPPFLAGS'
51240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51249 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51251 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51252 for ac_func in _isnan
51253 do :
51254 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51255 if test "x$ac_cv_func__isnan" = x""yes; then :
51256 cat >>confdefs.h <<_ACEOF
51257 #define HAVE__ISNAN 1
51258 _ACEOF
51261 done
51270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51271 $as_echo_n "checking for finite declaration... " >&6; }
51272 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51273 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51274 $as_echo_n "(cached) " >&6
51275 else
51278 ac_ext=cpp
51279 ac_cpp='$CXXCPP $CPPFLAGS'
51280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51285 /* end confdefs.h. */
51286 #include <math.h>
51287 #ifdef HAVE_IEEEFP_H
51288 #include <ieeefp.h>
51289 #endif
51292 main ()
51294 finite(0);
51296 return 0;
51298 _ACEOF
51299 if ac_fn_cxx_try_compile "$LINENO"; then :
51300 glibcxx_cv_func_finite_use=yes
51301 else
51302 glibcxx_cv_func_finite_use=no
51304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51305 ac_ext=c
51306 ac_cpp='$CPP $CPPFLAGS'
51307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51316 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51318 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51319 for ac_func in finite
51320 do :
51321 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51322 if test "x$ac_cv_func_finite" = x""yes; then :
51323 cat >>confdefs.h <<_ACEOF
51324 #define HAVE_FINITE 1
51325 _ACEOF
51328 done
51330 else
51332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51333 $as_echo_n "checking for _finite declaration... " >&6; }
51334 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51335 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51336 $as_echo_n "(cached) " >&6
51337 else
51340 ac_ext=cpp
51341 ac_cpp='$CXXCPP $CPPFLAGS'
51342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51347 /* end confdefs.h. */
51348 #include <math.h>
51349 #ifdef HAVE_IEEEFP_H
51350 #include <ieeefp.h>
51351 #endif
51354 main ()
51356 _finite(0);
51358 return 0;
51360 _ACEOF
51361 if ac_fn_cxx_try_compile "$LINENO"; then :
51362 glibcxx_cv_func__finite_use=yes
51363 else
51364 glibcxx_cv_func__finite_use=no
51366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51367 ac_ext=c
51368 ac_cpp='$CPP $CPPFLAGS'
51369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51378 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51380 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51381 for ac_func in _finite
51382 do :
51383 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51384 if test "x$ac_cv_func__finite" = x""yes; then :
51385 cat >>confdefs.h <<_ACEOF
51386 #define HAVE__FINITE 1
51387 _ACEOF
51390 done
51399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51400 $as_echo_n "checking for sincos declaration... " >&6; }
51401 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51402 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51403 $as_echo_n "(cached) " >&6
51404 else
51407 ac_ext=cpp
51408 ac_cpp='$CXXCPP $CPPFLAGS'
51409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51414 /* end confdefs.h. */
51415 #include <math.h>
51417 main ()
51419 sincos(0, 0, 0);
51421 return 0;
51423 _ACEOF
51424 if ac_fn_cxx_try_compile "$LINENO"; then :
51425 glibcxx_cv_func_sincos_use=yes
51426 else
51427 glibcxx_cv_func_sincos_use=no
51429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51430 ac_ext=c
51431 ac_cpp='$CPP $CPPFLAGS'
51432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51441 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51443 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51444 for ac_func in sincos
51445 do :
51446 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51447 if test "x$ac_cv_func_sincos" = x""yes; then :
51448 cat >>confdefs.h <<_ACEOF
51449 #define HAVE_SINCOS 1
51450 _ACEOF
51453 done
51455 else
51457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51458 $as_echo_n "checking for _sincos declaration... " >&6; }
51459 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51460 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51461 $as_echo_n "(cached) " >&6
51462 else
51465 ac_ext=cpp
51466 ac_cpp='$CXXCPP $CPPFLAGS'
51467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51472 /* end confdefs.h. */
51473 #include <math.h>
51475 main ()
51477 _sincos(0, 0, 0);
51479 return 0;
51481 _ACEOF
51482 if ac_fn_cxx_try_compile "$LINENO"; then :
51483 glibcxx_cv_func__sincos_use=yes
51484 else
51485 glibcxx_cv_func__sincos_use=no
51487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51488 ac_ext=c
51489 ac_cpp='$CPP $CPPFLAGS'
51490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51499 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51501 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51502 for ac_func in _sincos
51503 do :
51504 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51505 if test "x$ac_cv_func__sincos" = x""yes; then :
51506 cat >>confdefs.h <<_ACEOF
51507 #define HAVE__SINCOS 1
51508 _ACEOF
51511 done
51520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51521 $as_echo_n "checking for fpclass declaration... " >&6; }
51522 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51523 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51524 $as_echo_n "(cached) " >&6
51525 else
51528 ac_ext=cpp
51529 ac_cpp='$CXXCPP $CPPFLAGS'
51530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51535 /* end confdefs.h. */
51536 #include <math.h>
51537 #ifdef HAVE_IEEEFP_H
51538 #include <ieeefp.h>
51539 #endif
51542 main ()
51544 fpclass(0);
51546 return 0;
51548 _ACEOF
51549 if ac_fn_cxx_try_compile "$LINENO"; then :
51550 glibcxx_cv_func_fpclass_use=yes
51551 else
51552 glibcxx_cv_func_fpclass_use=no
51554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51555 ac_ext=c
51556 ac_cpp='$CPP $CPPFLAGS'
51557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51566 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51568 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51569 for ac_func in fpclass
51570 do :
51571 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51572 if test "x$ac_cv_func_fpclass" = x""yes; then :
51573 cat >>confdefs.h <<_ACEOF
51574 #define HAVE_FPCLASS 1
51575 _ACEOF
51578 done
51580 else
51582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51583 $as_echo_n "checking for _fpclass declaration... " >&6; }
51584 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51585 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51586 $as_echo_n "(cached) " >&6
51587 else
51590 ac_ext=cpp
51591 ac_cpp='$CXXCPP $CPPFLAGS'
51592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51597 /* end confdefs.h. */
51598 #include <math.h>
51599 #ifdef HAVE_IEEEFP_H
51600 #include <ieeefp.h>
51601 #endif
51604 main ()
51606 _fpclass(0);
51608 return 0;
51610 _ACEOF
51611 if ac_fn_cxx_try_compile "$LINENO"; then :
51612 glibcxx_cv_func__fpclass_use=yes
51613 else
51614 glibcxx_cv_func__fpclass_use=no
51616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51617 ac_ext=c
51618 ac_cpp='$CPP $CPPFLAGS'
51619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51628 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51630 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51631 for ac_func in _fpclass
51632 do :
51633 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51634 if test "x$ac_cv_func__fpclass" = x""yes; then :
51635 cat >>confdefs.h <<_ACEOF
51636 #define HAVE__FPCLASS 1
51637 _ACEOF
51640 done
51649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51650 $as_echo_n "checking for qfpclass declaration... " >&6; }
51651 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51652 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51653 $as_echo_n "(cached) " >&6
51654 else
51657 ac_ext=cpp
51658 ac_cpp='$CXXCPP $CPPFLAGS'
51659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51664 /* end confdefs.h. */
51665 #include <math.h>
51666 #ifdef HAVE_IEEEFP_H
51667 #include <ieeefp.h>
51668 #endif
51671 main ()
51673 qfpclass(0);
51675 return 0;
51677 _ACEOF
51678 if ac_fn_cxx_try_compile "$LINENO"; then :
51679 glibcxx_cv_func_qfpclass_use=yes
51680 else
51681 glibcxx_cv_func_qfpclass_use=no
51683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51684 ac_ext=c
51685 ac_cpp='$CPP $CPPFLAGS'
51686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51695 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51697 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51698 for ac_func in qfpclass
51699 do :
51700 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51701 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51702 cat >>confdefs.h <<_ACEOF
51703 #define HAVE_QFPCLASS 1
51704 _ACEOF
51707 done
51709 else
51711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51712 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51713 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51714 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51715 $as_echo_n "(cached) " >&6
51716 else
51719 ac_ext=cpp
51720 ac_cpp='$CXXCPP $CPPFLAGS'
51721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51726 /* end confdefs.h. */
51727 #include <math.h>
51728 #ifdef HAVE_IEEEFP_H
51729 #include <ieeefp.h>
51730 #endif
51733 main ()
51735 _qfpclass(0);
51737 return 0;
51739 _ACEOF
51740 if ac_fn_cxx_try_compile "$LINENO"; then :
51741 glibcxx_cv_func__qfpclass_use=yes
51742 else
51743 glibcxx_cv_func__qfpclass_use=no
51745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51746 ac_ext=c
51747 ac_cpp='$CPP $CPPFLAGS'
51748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51757 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51759 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51760 for ac_func in _qfpclass
51761 do :
51762 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51763 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51764 cat >>confdefs.h <<_ACEOF
51765 #define HAVE__QFPCLASS 1
51766 _ACEOF
51769 done
51778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51779 $as_echo_n "checking for hypot declaration... " >&6; }
51780 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51781 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51782 $as_echo_n "(cached) " >&6
51783 else
51786 ac_ext=cpp
51787 ac_cpp='$CXXCPP $CPPFLAGS'
51788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51793 /* end confdefs.h. */
51794 #include <math.h>
51796 main ()
51798 hypot(0, 0);
51800 return 0;
51802 _ACEOF
51803 if ac_fn_cxx_try_compile "$LINENO"; then :
51804 glibcxx_cv_func_hypot_use=yes
51805 else
51806 glibcxx_cv_func_hypot_use=no
51808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51809 ac_ext=c
51810 ac_cpp='$CPP $CPPFLAGS'
51811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51820 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51822 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51823 for ac_func in hypot
51824 do :
51825 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51826 if test "x$ac_cv_func_hypot" = x""yes; then :
51827 cat >>confdefs.h <<_ACEOF
51828 #define HAVE_HYPOT 1
51829 _ACEOF
51832 done
51834 else
51836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51837 $as_echo_n "checking for _hypot declaration... " >&6; }
51838 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51839 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51840 $as_echo_n "(cached) " >&6
51841 else
51844 ac_ext=cpp
51845 ac_cpp='$CXXCPP $CPPFLAGS'
51846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51851 /* end confdefs.h. */
51852 #include <math.h>
51854 main ()
51856 _hypot(0, 0);
51858 return 0;
51860 _ACEOF
51861 if ac_fn_cxx_try_compile "$LINENO"; then :
51862 glibcxx_cv_func__hypot_use=yes
51863 else
51864 glibcxx_cv_func__hypot_use=no
51866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51867 ac_ext=c
51868 ac_cpp='$CPP $CPPFLAGS'
51869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51878 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51880 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51881 for ac_func in _hypot
51882 do :
51883 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51884 if test "x$ac_cv_func__hypot" = x""yes; then :
51885 cat >>confdefs.h <<_ACEOF
51886 #define HAVE__HYPOT 1
51887 _ACEOF
51890 done
51899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51900 $as_echo_n "checking for float trig functions... " >&6; }
51901 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51902 $as_echo_n "(cached) " >&6
51903 else
51906 ac_ext=cpp
51907 ac_cpp='$CXXCPP $CPPFLAGS'
51908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51913 /* end confdefs.h. */
51914 #include <math.h>
51916 main ()
51918 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51920 return 0;
51922 _ACEOF
51923 if ac_fn_cxx_try_compile "$LINENO"; then :
51924 glibcxx_cv_func_float_trig_use=yes
51925 else
51926 glibcxx_cv_func_float_trig_use=no
51928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51929 ac_ext=c
51930 ac_cpp='$CPP $CPPFLAGS'
51931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51938 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51939 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51940 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51941 do :
51942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51944 eval as_val=\$$as_ac_var
51945 if test "x$as_val" = x""yes; then :
51946 cat >>confdefs.h <<_ACEOF
51947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51948 _ACEOF
51951 done
51953 else
51954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51955 $as_echo_n "checking for _float trig functions... " >&6; }
51956 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51957 $as_echo_n "(cached) " >&6
51958 else
51961 ac_ext=cpp
51962 ac_cpp='$CXXCPP $CPPFLAGS'
51963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51968 /* end confdefs.h. */
51969 #include <math.h>
51971 main ()
51973 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51975 return 0;
51977 _ACEOF
51978 if ac_fn_cxx_try_compile "$LINENO"; then :
51979 glibcxx_cv_func__float_trig_use=yes
51980 else
51981 glibcxx_cv_func__float_trig_use=no
51983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51984 ac_ext=c
51985 ac_cpp='$CPP $CPPFLAGS'
51986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51993 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51994 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51995 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51996 do :
51997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51999 eval as_val=\$$as_ac_var
52000 if test "x$as_val" = x""yes; then :
52001 cat >>confdefs.h <<_ACEOF
52002 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52003 _ACEOF
52006 done
52015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52016 $as_echo_n "checking for float round functions... " >&6; }
52017 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52018 $as_echo_n "(cached) " >&6
52019 else
52022 ac_ext=cpp
52023 ac_cpp='$CXXCPP $CPPFLAGS'
52024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52029 /* end confdefs.h. */
52030 #include <math.h>
52032 main ()
52034 ceilf (0); floorf (0);
52036 return 0;
52038 _ACEOF
52039 if ac_fn_cxx_try_compile "$LINENO"; then :
52040 glibcxx_cv_func_float_round_use=yes
52041 else
52042 glibcxx_cv_func_float_round_use=no
52044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52045 ac_ext=c
52046 ac_cpp='$CPP $CPPFLAGS'
52047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52054 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52055 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52056 for ac_func in ceilf floorf
52057 do :
52058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52060 eval as_val=\$$as_ac_var
52061 if test "x$as_val" = x""yes; then :
52062 cat >>confdefs.h <<_ACEOF
52063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52064 _ACEOF
52067 done
52069 else
52070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52071 $as_echo_n "checking for _float round functions... " >&6; }
52072 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52073 $as_echo_n "(cached) " >&6
52074 else
52077 ac_ext=cpp
52078 ac_cpp='$CXXCPP $CPPFLAGS'
52079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52084 /* end confdefs.h. */
52085 #include <math.h>
52087 main ()
52089 _ceilf (0); _floorf (0);
52091 return 0;
52093 _ACEOF
52094 if ac_fn_cxx_try_compile "$LINENO"; then :
52095 glibcxx_cv_func__float_round_use=yes
52096 else
52097 glibcxx_cv_func__float_round_use=no
52099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52100 ac_ext=c
52101 ac_cpp='$CPP $CPPFLAGS'
52102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52109 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52110 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52111 for ac_func in _ceilf _floorf
52112 do :
52113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52115 eval as_val=\$$as_ac_var
52116 if test "x$as_val" = x""yes; then :
52117 cat >>confdefs.h <<_ACEOF
52118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52119 _ACEOF
52122 done
52132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52133 $as_echo_n "checking for expf declaration... " >&6; }
52134 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52135 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52136 $as_echo_n "(cached) " >&6
52137 else
52140 ac_ext=cpp
52141 ac_cpp='$CXXCPP $CPPFLAGS'
52142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52147 /* end confdefs.h. */
52148 #include <math.h>
52149 #ifdef HAVE_IEEEFP_H
52150 #include <ieeefp.h>
52151 #endif
52154 main ()
52156 expf(0);
52158 return 0;
52160 _ACEOF
52161 if ac_fn_cxx_try_compile "$LINENO"; then :
52162 glibcxx_cv_func_expf_use=yes
52163 else
52164 glibcxx_cv_func_expf_use=no
52166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52167 ac_ext=c
52168 ac_cpp='$CPP $CPPFLAGS'
52169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52178 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52180 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52181 for ac_func in expf
52182 do :
52183 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52184 if test "x$ac_cv_func_expf" = x""yes; then :
52185 cat >>confdefs.h <<_ACEOF
52186 #define HAVE_EXPF 1
52187 _ACEOF
52190 done
52192 else
52194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52195 $as_echo_n "checking for _expf declaration... " >&6; }
52196 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52197 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52198 $as_echo_n "(cached) " >&6
52199 else
52202 ac_ext=cpp
52203 ac_cpp='$CXXCPP $CPPFLAGS'
52204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52209 /* end confdefs.h. */
52210 #include <math.h>
52211 #ifdef HAVE_IEEEFP_H
52212 #include <ieeefp.h>
52213 #endif
52216 main ()
52218 _expf(0);
52220 return 0;
52222 _ACEOF
52223 if ac_fn_cxx_try_compile "$LINENO"; then :
52224 glibcxx_cv_func__expf_use=yes
52225 else
52226 glibcxx_cv_func__expf_use=no
52228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52229 ac_ext=c
52230 ac_cpp='$CPP $CPPFLAGS'
52231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52240 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52242 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52243 for ac_func in _expf
52244 do :
52245 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52246 if test "x$ac_cv_func__expf" = x""yes; then :
52247 cat >>confdefs.h <<_ACEOF
52248 #define HAVE__EXPF 1
52249 _ACEOF
52252 done
52261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52262 $as_echo_n "checking for isnanf declaration... " >&6; }
52263 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52264 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52265 $as_echo_n "(cached) " >&6
52266 else
52269 ac_ext=cpp
52270 ac_cpp='$CXXCPP $CPPFLAGS'
52271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52276 /* end confdefs.h. */
52277 #include <math.h>
52278 #ifdef HAVE_IEEEFP_H
52279 #include <ieeefp.h>
52280 #endif
52283 main ()
52285 isnanf(0);
52287 return 0;
52289 _ACEOF
52290 if ac_fn_cxx_try_compile "$LINENO"; then :
52291 glibcxx_cv_func_isnanf_use=yes
52292 else
52293 glibcxx_cv_func_isnanf_use=no
52295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52296 ac_ext=c
52297 ac_cpp='$CPP $CPPFLAGS'
52298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52307 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52309 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52310 for ac_func in isnanf
52311 do :
52312 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52313 if test "x$ac_cv_func_isnanf" = x""yes; then :
52314 cat >>confdefs.h <<_ACEOF
52315 #define HAVE_ISNANF 1
52316 _ACEOF
52319 done
52321 else
52323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52324 $as_echo_n "checking for _isnanf declaration... " >&6; }
52325 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52326 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52327 $as_echo_n "(cached) " >&6
52328 else
52331 ac_ext=cpp
52332 ac_cpp='$CXXCPP $CPPFLAGS'
52333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52338 /* end confdefs.h. */
52339 #include <math.h>
52340 #ifdef HAVE_IEEEFP_H
52341 #include <ieeefp.h>
52342 #endif
52345 main ()
52347 _isnanf(0);
52349 return 0;
52351 _ACEOF
52352 if ac_fn_cxx_try_compile "$LINENO"; then :
52353 glibcxx_cv_func__isnanf_use=yes
52354 else
52355 glibcxx_cv_func__isnanf_use=no
52357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52358 ac_ext=c
52359 ac_cpp='$CPP $CPPFLAGS'
52360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52369 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52371 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52372 for ac_func in _isnanf
52373 do :
52374 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52375 if test "x$ac_cv_func__isnanf" = x""yes; then :
52376 cat >>confdefs.h <<_ACEOF
52377 #define HAVE__ISNANF 1
52378 _ACEOF
52381 done
52390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52391 $as_echo_n "checking for isinff declaration... " >&6; }
52392 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52393 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52394 $as_echo_n "(cached) " >&6
52395 else
52398 ac_ext=cpp
52399 ac_cpp='$CXXCPP $CPPFLAGS'
52400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52405 /* end confdefs.h. */
52406 #include <math.h>
52407 #ifdef HAVE_IEEEFP_H
52408 #include <ieeefp.h>
52409 #endif
52412 main ()
52414 isinff(0);
52416 return 0;
52418 _ACEOF
52419 if ac_fn_cxx_try_compile "$LINENO"; then :
52420 glibcxx_cv_func_isinff_use=yes
52421 else
52422 glibcxx_cv_func_isinff_use=no
52424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52425 ac_ext=c
52426 ac_cpp='$CPP $CPPFLAGS'
52427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52436 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52438 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52439 for ac_func in isinff
52440 do :
52441 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52442 if test "x$ac_cv_func_isinff" = x""yes; then :
52443 cat >>confdefs.h <<_ACEOF
52444 #define HAVE_ISINFF 1
52445 _ACEOF
52448 done
52450 else
52452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52453 $as_echo_n "checking for _isinff declaration... " >&6; }
52454 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52455 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52456 $as_echo_n "(cached) " >&6
52457 else
52460 ac_ext=cpp
52461 ac_cpp='$CXXCPP $CPPFLAGS'
52462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52467 /* end confdefs.h. */
52468 #include <math.h>
52469 #ifdef HAVE_IEEEFP_H
52470 #include <ieeefp.h>
52471 #endif
52474 main ()
52476 _isinff(0);
52478 return 0;
52480 _ACEOF
52481 if ac_fn_cxx_try_compile "$LINENO"; then :
52482 glibcxx_cv_func__isinff_use=yes
52483 else
52484 glibcxx_cv_func__isinff_use=no
52486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52487 ac_ext=c
52488 ac_cpp='$CPP $CPPFLAGS'
52489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52498 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52500 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52501 for ac_func in _isinff
52502 do :
52503 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52504 if test "x$ac_cv_func__isinff" = x""yes; then :
52505 cat >>confdefs.h <<_ACEOF
52506 #define HAVE__ISINFF 1
52507 _ACEOF
52510 done
52519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52520 $as_echo_n "checking for atan2f declaration... " >&6; }
52521 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52522 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52523 $as_echo_n "(cached) " >&6
52524 else
52527 ac_ext=cpp
52528 ac_cpp='$CXXCPP $CPPFLAGS'
52529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52534 /* end confdefs.h. */
52535 #include <math.h>
52537 main ()
52539 atan2f(0, 0);
52541 return 0;
52543 _ACEOF
52544 if ac_fn_cxx_try_compile "$LINENO"; then :
52545 glibcxx_cv_func_atan2f_use=yes
52546 else
52547 glibcxx_cv_func_atan2f_use=no
52549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52550 ac_ext=c
52551 ac_cpp='$CPP $CPPFLAGS'
52552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52561 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52563 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52564 for ac_func in atan2f
52565 do :
52566 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52567 if test "x$ac_cv_func_atan2f" = x""yes; then :
52568 cat >>confdefs.h <<_ACEOF
52569 #define HAVE_ATAN2F 1
52570 _ACEOF
52573 done
52575 else
52577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52578 $as_echo_n "checking for _atan2f declaration... " >&6; }
52579 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52580 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52581 $as_echo_n "(cached) " >&6
52582 else
52585 ac_ext=cpp
52586 ac_cpp='$CXXCPP $CPPFLAGS'
52587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52592 /* end confdefs.h. */
52593 #include <math.h>
52595 main ()
52597 _atan2f(0, 0);
52599 return 0;
52601 _ACEOF
52602 if ac_fn_cxx_try_compile "$LINENO"; then :
52603 glibcxx_cv_func__atan2f_use=yes
52604 else
52605 glibcxx_cv_func__atan2f_use=no
52607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52608 ac_ext=c
52609 ac_cpp='$CPP $CPPFLAGS'
52610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52619 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52621 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52622 for ac_func in _atan2f
52623 do :
52624 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52625 if test "x$ac_cv_func__atan2f" = x""yes; then :
52626 cat >>confdefs.h <<_ACEOF
52627 #define HAVE__ATAN2F 1
52628 _ACEOF
52631 done
52640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52641 $as_echo_n "checking for fabsf declaration... " >&6; }
52642 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52643 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52644 $as_echo_n "(cached) " >&6
52645 else
52648 ac_ext=cpp
52649 ac_cpp='$CXXCPP $CPPFLAGS'
52650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52655 /* end confdefs.h. */
52656 #include <math.h>
52657 #ifdef HAVE_IEEEFP_H
52658 #include <ieeefp.h>
52659 #endif
52662 main ()
52664 fabsf(0);
52666 return 0;
52668 _ACEOF
52669 if ac_fn_cxx_try_compile "$LINENO"; then :
52670 glibcxx_cv_func_fabsf_use=yes
52671 else
52672 glibcxx_cv_func_fabsf_use=no
52674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52675 ac_ext=c
52676 ac_cpp='$CPP $CPPFLAGS'
52677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52686 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52688 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52689 for ac_func in fabsf
52690 do :
52691 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52692 if test "x$ac_cv_func_fabsf" = x""yes; then :
52693 cat >>confdefs.h <<_ACEOF
52694 #define HAVE_FABSF 1
52695 _ACEOF
52698 done
52700 else
52702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52703 $as_echo_n "checking for _fabsf declaration... " >&6; }
52704 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52705 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52706 $as_echo_n "(cached) " >&6
52707 else
52710 ac_ext=cpp
52711 ac_cpp='$CXXCPP $CPPFLAGS'
52712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52717 /* end confdefs.h. */
52718 #include <math.h>
52719 #ifdef HAVE_IEEEFP_H
52720 #include <ieeefp.h>
52721 #endif
52724 main ()
52726 _fabsf(0);
52728 return 0;
52730 _ACEOF
52731 if ac_fn_cxx_try_compile "$LINENO"; then :
52732 glibcxx_cv_func__fabsf_use=yes
52733 else
52734 glibcxx_cv_func__fabsf_use=no
52736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52737 ac_ext=c
52738 ac_cpp='$CPP $CPPFLAGS'
52739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52748 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52750 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52751 for ac_func in _fabsf
52752 do :
52753 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52754 if test "x$ac_cv_func__fabsf" = x""yes; then :
52755 cat >>confdefs.h <<_ACEOF
52756 #define HAVE__FABSF 1
52757 _ACEOF
52760 done
52769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52770 $as_echo_n "checking for fmodf declaration... " >&6; }
52771 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52772 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52773 $as_echo_n "(cached) " >&6
52774 else
52777 ac_ext=cpp
52778 ac_cpp='$CXXCPP $CPPFLAGS'
52779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52784 /* end confdefs.h. */
52785 #include <math.h>
52787 main ()
52789 fmodf(0, 0);
52791 return 0;
52793 _ACEOF
52794 if ac_fn_cxx_try_compile "$LINENO"; then :
52795 glibcxx_cv_func_fmodf_use=yes
52796 else
52797 glibcxx_cv_func_fmodf_use=no
52799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52800 ac_ext=c
52801 ac_cpp='$CPP $CPPFLAGS'
52802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52811 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52813 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52814 for ac_func in fmodf
52815 do :
52816 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52817 if test "x$ac_cv_func_fmodf" = x""yes; then :
52818 cat >>confdefs.h <<_ACEOF
52819 #define HAVE_FMODF 1
52820 _ACEOF
52823 done
52825 else
52827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52828 $as_echo_n "checking for _fmodf declaration... " >&6; }
52829 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52830 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52831 $as_echo_n "(cached) " >&6
52832 else
52835 ac_ext=cpp
52836 ac_cpp='$CXXCPP $CPPFLAGS'
52837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52842 /* end confdefs.h. */
52843 #include <math.h>
52845 main ()
52847 _fmodf(0, 0);
52849 return 0;
52851 _ACEOF
52852 if ac_fn_cxx_try_compile "$LINENO"; then :
52853 glibcxx_cv_func__fmodf_use=yes
52854 else
52855 glibcxx_cv_func__fmodf_use=no
52857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52858 ac_ext=c
52859 ac_cpp='$CPP $CPPFLAGS'
52860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52869 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52871 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52872 for ac_func in _fmodf
52873 do :
52874 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52875 if test "x$ac_cv_func__fmodf" = x""yes; then :
52876 cat >>confdefs.h <<_ACEOF
52877 #define HAVE__FMODF 1
52878 _ACEOF
52881 done
52890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52891 $as_echo_n "checking for frexpf declaration... " >&6; }
52892 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52893 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52894 $as_echo_n "(cached) " >&6
52895 else
52898 ac_ext=cpp
52899 ac_cpp='$CXXCPP $CPPFLAGS'
52900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52905 /* end confdefs.h. */
52906 #include <math.h>
52908 main ()
52910 frexpf(0, 0);
52912 return 0;
52914 _ACEOF
52915 if ac_fn_cxx_try_compile "$LINENO"; then :
52916 glibcxx_cv_func_frexpf_use=yes
52917 else
52918 glibcxx_cv_func_frexpf_use=no
52920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52921 ac_ext=c
52922 ac_cpp='$CPP $CPPFLAGS'
52923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52932 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52934 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52935 for ac_func in frexpf
52936 do :
52937 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52938 if test "x$ac_cv_func_frexpf" = x""yes; then :
52939 cat >>confdefs.h <<_ACEOF
52940 #define HAVE_FREXPF 1
52941 _ACEOF
52944 done
52946 else
52948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52949 $as_echo_n "checking for _frexpf declaration... " >&6; }
52950 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52951 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52952 $as_echo_n "(cached) " >&6
52953 else
52956 ac_ext=cpp
52957 ac_cpp='$CXXCPP $CPPFLAGS'
52958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52963 /* end confdefs.h. */
52964 #include <math.h>
52966 main ()
52968 _frexpf(0, 0);
52970 return 0;
52972 _ACEOF
52973 if ac_fn_cxx_try_compile "$LINENO"; then :
52974 glibcxx_cv_func__frexpf_use=yes
52975 else
52976 glibcxx_cv_func__frexpf_use=no
52978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52979 ac_ext=c
52980 ac_cpp='$CPP $CPPFLAGS'
52981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52990 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52992 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52993 for ac_func in _frexpf
52994 do :
52995 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52996 if test "x$ac_cv_func__frexpf" = x""yes; then :
52997 cat >>confdefs.h <<_ACEOF
52998 #define HAVE__FREXPF 1
52999 _ACEOF
53002 done
53011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53012 $as_echo_n "checking for hypotf declaration... " >&6; }
53013 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53014 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53015 $as_echo_n "(cached) " >&6
53016 else
53019 ac_ext=cpp
53020 ac_cpp='$CXXCPP $CPPFLAGS'
53021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53026 /* end confdefs.h. */
53027 #include <math.h>
53029 main ()
53031 hypotf(0, 0);
53033 return 0;
53035 _ACEOF
53036 if ac_fn_cxx_try_compile "$LINENO"; then :
53037 glibcxx_cv_func_hypotf_use=yes
53038 else
53039 glibcxx_cv_func_hypotf_use=no
53041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53042 ac_ext=c
53043 ac_cpp='$CPP $CPPFLAGS'
53044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53053 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53055 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53056 for ac_func in hypotf
53057 do :
53058 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53059 if test "x$ac_cv_func_hypotf" = x""yes; then :
53060 cat >>confdefs.h <<_ACEOF
53061 #define HAVE_HYPOTF 1
53062 _ACEOF
53065 done
53067 else
53069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53070 $as_echo_n "checking for _hypotf declaration... " >&6; }
53071 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53072 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53073 $as_echo_n "(cached) " >&6
53074 else
53077 ac_ext=cpp
53078 ac_cpp='$CXXCPP $CPPFLAGS'
53079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53084 /* end confdefs.h. */
53085 #include <math.h>
53087 main ()
53089 _hypotf(0, 0);
53091 return 0;
53093 _ACEOF
53094 if ac_fn_cxx_try_compile "$LINENO"; then :
53095 glibcxx_cv_func__hypotf_use=yes
53096 else
53097 glibcxx_cv_func__hypotf_use=no
53099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53100 ac_ext=c
53101 ac_cpp='$CPP $CPPFLAGS'
53102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53111 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53113 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53114 for ac_func in _hypotf
53115 do :
53116 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53117 if test "x$ac_cv_func__hypotf" = x""yes; then :
53118 cat >>confdefs.h <<_ACEOF
53119 #define HAVE__HYPOTF 1
53120 _ACEOF
53123 done
53132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53133 $as_echo_n "checking for ldexpf declaration... " >&6; }
53134 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53135 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53136 $as_echo_n "(cached) " >&6
53137 else
53140 ac_ext=cpp
53141 ac_cpp='$CXXCPP $CPPFLAGS'
53142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53147 /* end confdefs.h. */
53148 #include <math.h>
53150 main ()
53152 ldexpf(0, 0);
53154 return 0;
53156 _ACEOF
53157 if ac_fn_cxx_try_compile "$LINENO"; then :
53158 glibcxx_cv_func_ldexpf_use=yes
53159 else
53160 glibcxx_cv_func_ldexpf_use=no
53162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53163 ac_ext=c
53164 ac_cpp='$CPP $CPPFLAGS'
53165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53174 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53176 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53177 for ac_func in ldexpf
53178 do :
53179 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53180 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53181 cat >>confdefs.h <<_ACEOF
53182 #define HAVE_LDEXPF 1
53183 _ACEOF
53186 done
53188 else
53190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53191 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53192 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53193 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53194 $as_echo_n "(cached) " >&6
53195 else
53198 ac_ext=cpp
53199 ac_cpp='$CXXCPP $CPPFLAGS'
53200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53205 /* end confdefs.h. */
53206 #include <math.h>
53208 main ()
53210 _ldexpf(0, 0);
53212 return 0;
53214 _ACEOF
53215 if ac_fn_cxx_try_compile "$LINENO"; then :
53216 glibcxx_cv_func__ldexpf_use=yes
53217 else
53218 glibcxx_cv_func__ldexpf_use=no
53220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53221 ac_ext=c
53222 ac_cpp='$CPP $CPPFLAGS'
53223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53232 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53234 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53235 for ac_func in _ldexpf
53236 do :
53237 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53238 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53239 cat >>confdefs.h <<_ACEOF
53240 #define HAVE__LDEXPF 1
53241 _ACEOF
53244 done
53253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53254 $as_echo_n "checking for logf declaration... " >&6; }
53255 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53256 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53257 $as_echo_n "(cached) " >&6
53258 else
53261 ac_ext=cpp
53262 ac_cpp='$CXXCPP $CPPFLAGS'
53263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53268 /* end confdefs.h. */
53269 #include <math.h>
53270 #ifdef HAVE_IEEEFP_H
53271 #include <ieeefp.h>
53272 #endif
53275 main ()
53277 logf(0);
53279 return 0;
53281 _ACEOF
53282 if ac_fn_cxx_try_compile "$LINENO"; then :
53283 glibcxx_cv_func_logf_use=yes
53284 else
53285 glibcxx_cv_func_logf_use=no
53287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53288 ac_ext=c
53289 ac_cpp='$CPP $CPPFLAGS'
53290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53299 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53301 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53302 for ac_func in logf
53303 do :
53304 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53305 if test "x$ac_cv_func_logf" = x""yes; then :
53306 cat >>confdefs.h <<_ACEOF
53307 #define HAVE_LOGF 1
53308 _ACEOF
53311 done
53313 else
53315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53316 $as_echo_n "checking for _logf declaration... " >&6; }
53317 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53318 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53319 $as_echo_n "(cached) " >&6
53320 else
53323 ac_ext=cpp
53324 ac_cpp='$CXXCPP $CPPFLAGS'
53325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53330 /* end confdefs.h. */
53331 #include <math.h>
53332 #ifdef HAVE_IEEEFP_H
53333 #include <ieeefp.h>
53334 #endif
53337 main ()
53339 _logf(0);
53341 return 0;
53343 _ACEOF
53344 if ac_fn_cxx_try_compile "$LINENO"; then :
53345 glibcxx_cv_func__logf_use=yes
53346 else
53347 glibcxx_cv_func__logf_use=no
53349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53350 ac_ext=c
53351 ac_cpp='$CPP $CPPFLAGS'
53352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53361 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53363 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53364 for ac_func in _logf
53365 do :
53366 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53367 if test "x$ac_cv_func__logf" = x""yes; then :
53368 cat >>confdefs.h <<_ACEOF
53369 #define HAVE__LOGF 1
53370 _ACEOF
53373 done
53382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53383 $as_echo_n "checking for log10f declaration... " >&6; }
53384 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53385 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53386 $as_echo_n "(cached) " >&6
53387 else
53390 ac_ext=cpp
53391 ac_cpp='$CXXCPP $CPPFLAGS'
53392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53397 /* end confdefs.h. */
53398 #include <math.h>
53399 #ifdef HAVE_IEEEFP_H
53400 #include <ieeefp.h>
53401 #endif
53404 main ()
53406 log10f(0);
53408 return 0;
53410 _ACEOF
53411 if ac_fn_cxx_try_compile "$LINENO"; then :
53412 glibcxx_cv_func_log10f_use=yes
53413 else
53414 glibcxx_cv_func_log10f_use=no
53416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53417 ac_ext=c
53418 ac_cpp='$CPP $CPPFLAGS'
53419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53428 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53430 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53431 for ac_func in log10f
53432 do :
53433 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53434 if test "x$ac_cv_func_log10f" = x""yes; then :
53435 cat >>confdefs.h <<_ACEOF
53436 #define HAVE_LOG10F 1
53437 _ACEOF
53440 done
53442 else
53444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53445 $as_echo_n "checking for _log10f declaration... " >&6; }
53446 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53447 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53448 $as_echo_n "(cached) " >&6
53449 else
53452 ac_ext=cpp
53453 ac_cpp='$CXXCPP $CPPFLAGS'
53454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53459 /* end confdefs.h. */
53460 #include <math.h>
53461 #ifdef HAVE_IEEEFP_H
53462 #include <ieeefp.h>
53463 #endif
53466 main ()
53468 _log10f(0);
53470 return 0;
53472 _ACEOF
53473 if ac_fn_cxx_try_compile "$LINENO"; then :
53474 glibcxx_cv_func__log10f_use=yes
53475 else
53476 glibcxx_cv_func__log10f_use=no
53478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53479 ac_ext=c
53480 ac_cpp='$CPP $CPPFLAGS'
53481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53490 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53492 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53493 for ac_func in _log10f
53494 do :
53495 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53496 if test "x$ac_cv_func__log10f" = x""yes; then :
53497 cat >>confdefs.h <<_ACEOF
53498 #define HAVE__LOG10F 1
53499 _ACEOF
53502 done
53511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53512 $as_echo_n "checking for modff declaration... " >&6; }
53513 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53514 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53515 $as_echo_n "(cached) " >&6
53516 else
53519 ac_ext=cpp
53520 ac_cpp='$CXXCPP $CPPFLAGS'
53521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53526 /* end confdefs.h. */
53527 #include <math.h>
53529 main ()
53531 modff(0, 0);
53533 return 0;
53535 _ACEOF
53536 if ac_fn_cxx_try_compile "$LINENO"; then :
53537 glibcxx_cv_func_modff_use=yes
53538 else
53539 glibcxx_cv_func_modff_use=no
53541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53542 ac_ext=c
53543 ac_cpp='$CPP $CPPFLAGS'
53544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53553 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53555 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53556 for ac_func in modff
53557 do :
53558 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53559 if test "x$ac_cv_func_modff" = x""yes; then :
53560 cat >>confdefs.h <<_ACEOF
53561 #define HAVE_MODFF 1
53562 _ACEOF
53565 done
53567 else
53569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53570 $as_echo_n "checking for _modff declaration... " >&6; }
53571 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53572 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53573 $as_echo_n "(cached) " >&6
53574 else
53577 ac_ext=cpp
53578 ac_cpp='$CXXCPP $CPPFLAGS'
53579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53584 /* end confdefs.h. */
53585 #include <math.h>
53587 main ()
53589 _modff(0, 0);
53591 return 0;
53593 _ACEOF
53594 if ac_fn_cxx_try_compile "$LINENO"; then :
53595 glibcxx_cv_func__modff_use=yes
53596 else
53597 glibcxx_cv_func__modff_use=no
53599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53600 ac_ext=c
53601 ac_cpp='$CPP $CPPFLAGS'
53602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53611 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53613 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53614 for ac_func in _modff
53615 do :
53616 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53617 if test "x$ac_cv_func__modff" = x""yes; then :
53618 cat >>confdefs.h <<_ACEOF
53619 #define HAVE__MODFF 1
53620 _ACEOF
53623 done
53632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53633 $as_echo_n "checking for modf declaration... " >&6; }
53634 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53635 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53636 $as_echo_n "(cached) " >&6
53637 else
53640 ac_ext=cpp
53641 ac_cpp='$CXXCPP $CPPFLAGS'
53642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53647 /* end confdefs.h. */
53648 #include <math.h>
53650 main ()
53652 modf(0, 0);
53654 return 0;
53656 _ACEOF
53657 if ac_fn_cxx_try_compile "$LINENO"; then :
53658 glibcxx_cv_func_modf_use=yes
53659 else
53660 glibcxx_cv_func_modf_use=no
53662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53663 ac_ext=c
53664 ac_cpp='$CPP $CPPFLAGS'
53665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53674 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53676 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53677 for ac_func in modf
53678 do :
53679 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53680 if test "x$ac_cv_func_modf" = x""yes; then :
53681 cat >>confdefs.h <<_ACEOF
53682 #define HAVE_MODF 1
53683 _ACEOF
53686 done
53688 else
53690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53691 $as_echo_n "checking for _modf declaration... " >&6; }
53692 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53693 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53694 $as_echo_n "(cached) " >&6
53695 else
53698 ac_ext=cpp
53699 ac_cpp='$CXXCPP $CPPFLAGS'
53700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53705 /* end confdefs.h. */
53706 #include <math.h>
53708 main ()
53710 _modf(0, 0);
53712 return 0;
53714 _ACEOF
53715 if ac_fn_cxx_try_compile "$LINENO"; then :
53716 glibcxx_cv_func__modf_use=yes
53717 else
53718 glibcxx_cv_func__modf_use=no
53720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53721 ac_ext=c
53722 ac_cpp='$CPP $CPPFLAGS'
53723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53732 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53734 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53735 for ac_func in _modf
53736 do :
53737 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53738 if test "x$ac_cv_func__modf" = x""yes; then :
53739 cat >>confdefs.h <<_ACEOF
53740 #define HAVE__MODF 1
53741 _ACEOF
53744 done
53753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53754 $as_echo_n "checking for powf declaration... " >&6; }
53755 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53756 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53757 $as_echo_n "(cached) " >&6
53758 else
53761 ac_ext=cpp
53762 ac_cpp='$CXXCPP $CPPFLAGS'
53763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53768 /* end confdefs.h. */
53769 #include <math.h>
53771 main ()
53773 powf(0, 0);
53775 return 0;
53777 _ACEOF
53778 if ac_fn_cxx_try_compile "$LINENO"; then :
53779 glibcxx_cv_func_powf_use=yes
53780 else
53781 glibcxx_cv_func_powf_use=no
53783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53784 ac_ext=c
53785 ac_cpp='$CPP $CPPFLAGS'
53786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53795 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53797 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53798 for ac_func in powf
53799 do :
53800 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53801 if test "x$ac_cv_func_powf" = x""yes; then :
53802 cat >>confdefs.h <<_ACEOF
53803 #define HAVE_POWF 1
53804 _ACEOF
53807 done
53809 else
53811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53812 $as_echo_n "checking for _powf declaration... " >&6; }
53813 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53814 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53815 $as_echo_n "(cached) " >&6
53816 else
53819 ac_ext=cpp
53820 ac_cpp='$CXXCPP $CPPFLAGS'
53821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53826 /* end confdefs.h. */
53827 #include <math.h>
53829 main ()
53831 _powf(0, 0);
53833 return 0;
53835 _ACEOF
53836 if ac_fn_cxx_try_compile "$LINENO"; then :
53837 glibcxx_cv_func__powf_use=yes
53838 else
53839 glibcxx_cv_func__powf_use=no
53841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53842 ac_ext=c
53843 ac_cpp='$CPP $CPPFLAGS'
53844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53853 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53855 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53856 for ac_func in _powf
53857 do :
53858 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53859 if test "x$ac_cv_func__powf" = x""yes; then :
53860 cat >>confdefs.h <<_ACEOF
53861 #define HAVE__POWF 1
53862 _ACEOF
53865 done
53874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53875 $as_echo_n "checking for sqrtf declaration... " >&6; }
53876 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53877 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53878 $as_echo_n "(cached) " >&6
53879 else
53882 ac_ext=cpp
53883 ac_cpp='$CXXCPP $CPPFLAGS'
53884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53889 /* end confdefs.h. */
53890 #include <math.h>
53891 #ifdef HAVE_IEEEFP_H
53892 #include <ieeefp.h>
53893 #endif
53896 main ()
53898 sqrtf(0);
53900 return 0;
53902 _ACEOF
53903 if ac_fn_cxx_try_compile "$LINENO"; then :
53904 glibcxx_cv_func_sqrtf_use=yes
53905 else
53906 glibcxx_cv_func_sqrtf_use=no
53908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53909 ac_ext=c
53910 ac_cpp='$CPP $CPPFLAGS'
53911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53920 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53922 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53923 for ac_func in sqrtf
53924 do :
53925 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53926 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53927 cat >>confdefs.h <<_ACEOF
53928 #define HAVE_SQRTF 1
53929 _ACEOF
53932 done
53934 else
53936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53937 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53938 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53939 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53940 $as_echo_n "(cached) " >&6
53941 else
53944 ac_ext=cpp
53945 ac_cpp='$CXXCPP $CPPFLAGS'
53946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53951 /* end confdefs.h. */
53952 #include <math.h>
53953 #ifdef HAVE_IEEEFP_H
53954 #include <ieeefp.h>
53955 #endif
53958 main ()
53960 _sqrtf(0);
53962 return 0;
53964 _ACEOF
53965 if ac_fn_cxx_try_compile "$LINENO"; then :
53966 glibcxx_cv_func__sqrtf_use=yes
53967 else
53968 glibcxx_cv_func__sqrtf_use=no
53970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53971 ac_ext=c
53972 ac_cpp='$CPP $CPPFLAGS'
53973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53982 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53984 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53985 for ac_func in _sqrtf
53986 do :
53987 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53988 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53989 cat >>confdefs.h <<_ACEOF
53990 #define HAVE__SQRTF 1
53991 _ACEOF
53994 done
54003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54004 $as_echo_n "checking for sincosf declaration... " >&6; }
54005 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54006 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54007 $as_echo_n "(cached) " >&6
54008 else
54011 ac_ext=cpp
54012 ac_cpp='$CXXCPP $CPPFLAGS'
54013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54018 /* end confdefs.h. */
54019 #include <math.h>
54021 main ()
54023 sincosf(0, 0, 0);
54025 return 0;
54027 _ACEOF
54028 if ac_fn_cxx_try_compile "$LINENO"; then :
54029 glibcxx_cv_func_sincosf_use=yes
54030 else
54031 glibcxx_cv_func_sincosf_use=no
54033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54034 ac_ext=c
54035 ac_cpp='$CPP $CPPFLAGS'
54036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54045 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54047 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54048 for ac_func in sincosf
54049 do :
54050 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54051 if test "x$ac_cv_func_sincosf" = x""yes; then :
54052 cat >>confdefs.h <<_ACEOF
54053 #define HAVE_SINCOSF 1
54054 _ACEOF
54057 done
54059 else
54061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54062 $as_echo_n "checking for _sincosf declaration... " >&6; }
54063 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54064 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54065 $as_echo_n "(cached) " >&6
54066 else
54069 ac_ext=cpp
54070 ac_cpp='$CXXCPP $CPPFLAGS'
54071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54076 /* end confdefs.h. */
54077 #include <math.h>
54079 main ()
54081 _sincosf(0, 0, 0);
54083 return 0;
54085 _ACEOF
54086 if ac_fn_cxx_try_compile "$LINENO"; then :
54087 glibcxx_cv_func__sincosf_use=yes
54088 else
54089 glibcxx_cv_func__sincosf_use=no
54091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54092 ac_ext=c
54093 ac_cpp='$CPP $CPPFLAGS'
54094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54103 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54105 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54106 for ac_func in _sincosf
54107 do :
54108 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54109 if test "x$ac_cv_func__sincosf" = x""yes; then :
54110 cat >>confdefs.h <<_ACEOF
54111 #define HAVE__SINCOSF 1
54112 _ACEOF
54115 done
54124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54125 $as_echo_n "checking for finitef declaration... " >&6; }
54126 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54127 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54128 $as_echo_n "(cached) " >&6
54129 else
54132 ac_ext=cpp
54133 ac_cpp='$CXXCPP $CPPFLAGS'
54134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54139 /* end confdefs.h. */
54140 #include <math.h>
54141 #ifdef HAVE_IEEEFP_H
54142 #include <ieeefp.h>
54143 #endif
54146 main ()
54148 finitef(0);
54150 return 0;
54152 _ACEOF
54153 if ac_fn_cxx_try_compile "$LINENO"; then :
54154 glibcxx_cv_func_finitef_use=yes
54155 else
54156 glibcxx_cv_func_finitef_use=no
54158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54159 ac_ext=c
54160 ac_cpp='$CPP $CPPFLAGS'
54161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54170 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54172 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54173 for ac_func in finitef
54174 do :
54175 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54176 if test "x$ac_cv_func_finitef" = x""yes; then :
54177 cat >>confdefs.h <<_ACEOF
54178 #define HAVE_FINITEF 1
54179 _ACEOF
54182 done
54184 else
54186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54187 $as_echo_n "checking for _finitef declaration... " >&6; }
54188 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54189 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54190 $as_echo_n "(cached) " >&6
54191 else
54194 ac_ext=cpp
54195 ac_cpp='$CXXCPP $CPPFLAGS'
54196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54201 /* end confdefs.h. */
54202 #include <math.h>
54203 #ifdef HAVE_IEEEFP_H
54204 #include <ieeefp.h>
54205 #endif
54208 main ()
54210 _finitef(0);
54212 return 0;
54214 _ACEOF
54215 if ac_fn_cxx_try_compile "$LINENO"; then :
54216 glibcxx_cv_func__finitef_use=yes
54217 else
54218 glibcxx_cv_func__finitef_use=no
54220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54221 ac_ext=c
54222 ac_cpp='$CPP $CPPFLAGS'
54223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54232 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54234 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54235 for ac_func in _finitef
54236 do :
54237 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54238 if test "x$ac_cv_func__finitef" = x""yes; then :
54239 cat >>confdefs.h <<_ACEOF
54240 #define HAVE__FINITEF 1
54241 _ACEOF
54244 done
54253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54254 $as_echo_n "checking for long double trig functions... " >&6; }
54255 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54256 $as_echo_n "(cached) " >&6
54257 else
54260 ac_ext=cpp
54261 ac_cpp='$CXXCPP $CPPFLAGS'
54262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54267 /* end confdefs.h. */
54268 #include <math.h>
54270 main ()
54272 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54274 return 0;
54276 _ACEOF
54277 if ac_fn_cxx_try_compile "$LINENO"; then :
54278 glibcxx_cv_func_long_double_trig_use=yes
54279 else
54280 glibcxx_cv_func_long_double_trig_use=no
54282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54283 ac_ext=c
54284 ac_cpp='$CPP $CPPFLAGS'
54285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54292 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54293 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54294 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54295 do :
54296 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54297 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54298 eval as_val=\$$as_ac_var
54299 if test "x$as_val" = x""yes; then :
54300 cat >>confdefs.h <<_ACEOF
54301 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54302 _ACEOF
54305 done
54307 else
54308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54309 $as_echo_n "checking for _long double trig functions... " >&6; }
54310 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54311 $as_echo_n "(cached) " >&6
54312 else
54315 ac_ext=cpp
54316 ac_cpp='$CXXCPP $CPPFLAGS'
54317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54322 /* end confdefs.h. */
54323 #include <math.h>
54325 main ()
54327 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54329 return 0;
54331 _ACEOF
54332 if ac_fn_cxx_try_compile "$LINENO"; then :
54333 glibcxx_cv_func__long_double_trig_use=yes
54334 else
54335 glibcxx_cv_func__long_double_trig_use=no
54337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54338 ac_ext=c
54339 ac_cpp='$CPP $CPPFLAGS'
54340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54347 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54348 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54349 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54350 do :
54351 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54352 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54353 eval as_val=\$$as_ac_var
54354 if test "x$as_val" = x""yes; then :
54355 cat >>confdefs.h <<_ACEOF
54356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54357 _ACEOF
54360 done
54369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54370 $as_echo_n "checking for long double round functions... " >&6; }
54371 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54372 $as_echo_n "(cached) " >&6
54373 else
54376 ac_ext=cpp
54377 ac_cpp='$CXXCPP $CPPFLAGS'
54378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54383 /* end confdefs.h. */
54384 #include <math.h>
54386 main ()
54388 ceill (0); floorl (0);
54390 return 0;
54392 _ACEOF
54393 if ac_fn_cxx_try_compile "$LINENO"; then :
54394 glibcxx_cv_func_long_double_round_use=yes
54395 else
54396 glibcxx_cv_func_long_double_round_use=no
54398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54399 ac_ext=c
54400 ac_cpp='$CPP $CPPFLAGS'
54401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54408 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54409 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54410 for ac_func in ceill floorl
54411 do :
54412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54414 eval as_val=\$$as_ac_var
54415 if test "x$as_val" = x""yes; then :
54416 cat >>confdefs.h <<_ACEOF
54417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54418 _ACEOF
54421 done
54423 else
54424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54425 $as_echo_n "checking for _long double round functions... " >&6; }
54426 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54427 $as_echo_n "(cached) " >&6
54428 else
54431 ac_ext=cpp
54432 ac_cpp='$CXXCPP $CPPFLAGS'
54433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54438 /* end confdefs.h. */
54439 #include <math.h>
54441 main ()
54443 _ceill (0); _floorl (0);
54445 return 0;
54447 _ACEOF
54448 if ac_fn_cxx_try_compile "$LINENO"; then :
54449 glibcxx_cv_func__long_double_round_use=yes
54450 else
54451 glibcxx_cv_func__long_double_round_use=no
54453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54454 ac_ext=c
54455 ac_cpp='$CPP $CPPFLAGS'
54456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54463 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54464 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54465 for ac_func in _ceill _floorl
54466 do :
54467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54469 eval as_val=\$$as_ac_var
54470 if test "x$as_val" = x""yes; then :
54471 cat >>confdefs.h <<_ACEOF
54472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54473 _ACEOF
54476 done
54486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54487 $as_echo_n "checking for isnanl declaration... " >&6; }
54488 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54489 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54490 $as_echo_n "(cached) " >&6
54491 else
54494 ac_ext=cpp
54495 ac_cpp='$CXXCPP $CPPFLAGS'
54496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54501 /* end confdefs.h. */
54502 #include <math.h>
54503 #ifdef HAVE_IEEEFP_H
54504 #include <ieeefp.h>
54505 #endif
54508 main ()
54510 isnanl(0);
54512 return 0;
54514 _ACEOF
54515 if ac_fn_cxx_try_compile "$LINENO"; then :
54516 glibcxx_cv_func_isnanl_use=yes
54517 else
54518 glibcxx_cv_func_isnanl_use=no
54520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54521 ac_ext=c
54522 ac_cpp='$CPP $CPPFLAGS'
54523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54532 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54534 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54535 for ac_func in isnanl
54536 do :
54537 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54538 if test "x$ac_cv_func_isnanl" = x""yes; then :
54539 cat >>confdefs.h <<_ACEOF
54540 #define HAVE_ISNANL 1
54541 _ACEOF
54544 done
54546 else
54548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54549 $as_echo_n "checking for _isnanl declaration... " >&6; }
54550 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54551 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54552 $as_echo_n "(cached) " >&6
54553 else
54556 ac_ext=cpp
54557 ac_cpp='$CXXCPP $CPPFLAGS'
54558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54563 /* end confdefs.h. */
54564 #include <math.h>
54565 #ifdef HAVE_IEEEFP_H
54566 #include <ieeefp.h>
54567 #endif
54570 main ()
54572 _isnanl(0);
54574 return 0;
54576 _ACEOF
54577 if ac_fn_cxx_try_compile "$LINENO"; then :
54578 glibcxx_cv_func__isnanl_use=yes
54579 else
54580 glibcxx_cv_func__isnanl_use=no
54582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54583 ac_ext=c
54584 ac_cpp='$CPP $CPPFLAGS'
54585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54594 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54596 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54597 for ac_func in _isnanl
54598 do :
54599 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54600 if test "x$ac_cv_func__isnanl" = x""yes; then :
54601 cat >>confdefs.h <<_ACEOF
54602 #define HAVE__ISNANL 1
54603 _ACEOF
54606 done
54615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54616 $as_echo_n "checking for isinfl declaration... " >&6; }
54617 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54618 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54619 $as_echo_n "(cached) " >&6
54620 else
54623 ac_ext=cpp
54624 ac_cpp='$CXXCPP $CPPFLAGS'
54625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54630 /* end confdefs.h. */
54631 #include <math.h>
54632 #ifdef HAVE_IEEEFP_H
54633 #include <ieeefp.h>
54634 #endif
54637 main ()
54639 isinfl(0);
54641 return 0;
54643 _ACEOF
54644 if ac_fn_cxx_try_compile "$LINENO"; then :
54645 glibcxx_cv_func_isinfl_use=yes
54646 else
54647 glibcxx_cv_func_isinfl_use=no
54649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54650 ac_ext=c
54651 ac_cpp='$CPP $CPPFLAGS'
54652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54661 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54663 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54664 for ac_func in isinfl
54665 do :
54666 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54667 if test "x$ac_cv_func_isinfl" = x""yes; then :
54668 cat >>confdefs.h <<_ACEOF
54669 #define HAVE_ISINFL 1
54670 _ACEOF
54673 done
54675 else
54677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54678 $as_echo_n "checking for _isinfl declaration... " >&6; }
54679 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54680 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54681 $as_echo_n "(cached) " >&6
54682 else
54685 ac_ext=cpp
54686 ac_cpp='$CXXCPP $CPPFLAGS'
54687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54692 /* end confdefs.h. */
54693 #include <math.h>
54694 #ifdef HAVE_IEEEFP_H
54695 #include <ieeefp.h>
54696 #endif
54699 main ()
54701 _isinfl(0);
54703 return 0;
54705 _ACEOF
54706 if ac_fn_cxx_try_compile "$LINENO"; then :
54707 glibcxx_cv_func__isinfl_use=yes
54708 else
54709 glibcxx_cv_func__isinfl_use=no
54711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54712 ac_ext=c
54713 ac_cpp='$CPP $CPPFLAGS'
54714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54723 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54725 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54726 for ac_func in _isinfl
54727 do :
54728 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54729 if test "x$ac_cv_func__isinfl" = x""yes; then :
54730 cat >>confdefs.h <<_ACEOF
54731 #define HAVE__ISINFL 1
54732 _ACEOF
54735 done
54744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54745 $as_echo_n "checking for atan2l declaration... " >&6; }
54746 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54747 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54748 $as_echo_n "(cached) " >&6
54749 else
54752 ac_ext=cpp
54753 ac_cpp='$CXXCPP $CPPFLAGS'
54754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54759 /* end confdefs.h. */
54760 #include <math.h>
54762 main ()
54764 atan2l(0, 0);
54766 return 0;
54768 _ACEOF
54769 if ac_fn_cxx_try_compile "$LINENO"; then :
54770 glibcxx_cv_func_atan2l_use=yes
54771 else
54772 glibcxx_cv_func_atan2l_use=no
54774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54775 ac_ext=c
54776 ac_cpp='$CPP $CPPFLAGS'
54777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54786 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54788 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54789 for ac_func in atan2l
54790 do :
54791 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54792 if test "x$ac_cv_func_atan2l" = x""yes; then :
54793 cat >>confdefs.h <<_ACEOF
54794 #define HAVE_ATAN2L 1
54795 _ACEOF
54798 done
54800 else
54802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54803 $as_echo_n "checking for _atan2l declaration... " >&6; }
54804 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54805 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54806 $as_echo_n "(cached) " >&6
54807 else
54810 ac_ext=cpp
54811 ac_cpp='$CXXCPP $CPPFLAGS'
54812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54817 /* end confdefs.h. */
54818 #include <math.h>
54820 main ()
54822 _atan2l(0, 0);
54824 return 0;
54826 _ACEOF
54827 if ac_fn_cxx_try_compile "$LINENO"; then :
54828 glibcxx_cv_func__atan2l_use=yes
54829 else
54830 glibcxx_cv_func__atan2l_use=no
54832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54833 ac_ext=c
54834 ac_cpp='$CPP $CPPFLAGS'
54835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54844 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54846 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54847 for ac_func in _atan2l
54848 do :
54849 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54850 if test "x$ac_cv_func__atan2l" = x""yes; then :
54851 cat >>confdefs.h <<_ACEOF
54852 #define HAVE__ATAN2L 1
54853 _ACEOF
54856 done
54865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54866 $as_echo_n "checking for expl declaration... " >&6; }
54867 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54868 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54869 $as_echo_n "(cached) " >&6
54870 else
54873 ac_ext=cpp
54874 ac_cpp='$CXXCPP $CPPFLAGS'
54875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54880 /* end confdefs.h. */
54881 #include <math.h>
54882 #ifdef HAVE_IEEEFP_H
54883 #include <ieeefp.h>
54884 #endif
54887 main ()
54889 expl(0);
54891 return 0;
54893 _ACEOF
54894 if ac_fn_cxx_try_compile "$LINENO"; then :
54895 glibcxx_cv_func_expl_use=yes
54896 else
54897 glibcxx_cv_func_expl_use=no
54899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54900 ac_ext=c
54901 ac_cpp='$CPP $CPPFLAGS'
54902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54911 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54913 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54914 for ac_func in expl
54915 do :
54916 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54917 if test "x$ac_cv_func_expl" = x""yes; then :
54918 cat >>confdefs.h <<_ACEOF
54919 #define HAVE_EXPL 1
54920 _ACEOF
54923 done
54925 else
54927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54928 $as_echo_n "checking for _expl declaration... " >&6; }
54929 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54930 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54931 $as_echo_n "(cached) " >&6
54932 else
54935 ac_ext=cpp
54936 ac_cpp='$CXXCPP $CPPFLAGS'
54937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54942 /* end confdefs.h. */
54943 #include <math.h>
54944 #ifdef HAVE_IEEEFP_H
54945 #include <ieeefp.h>
54946 #endif
54949 main ()
54951 _expl(0);
54953 return 0;
54955 _ACEOF
54956 if ac_fn_cxx_try_compile "$LINENO"; then :
54957 glibcxx_cv_func__expl_use=yes
54958 else
54959 glibcxx_cv_func__expl_use=no
54961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54962 ac_ext=c
54963 ac_cpp='$CPP $CPPFLAGS'
54964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54973 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54975 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54976 for ac_func in _expl
54977 do :
54978 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54979 if test "x$ac_cv_func__expl" = x""yes; then :
54980 cat >>confdefs.h <<_ACEOF
54981 #define HAVE__EXPL 1
54982 _ACEOF
54985 done
54994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54995 $as_echo_n "checking for fabsl declaration... " >&6; }
54996 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54997 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54998 $as_echo_n "(cached) " >&6
54999 else
55002 ac_ext=cpp
55003 ac_cpp='$CXXCPP $CPPFLAGS'
55004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55009 /* end confdefs.h. */
55010 #include <math.h>
55011 #ifdef HAVE_IEEEFP_H
55012 #include <ieeefp.h>
55013 #endif
55016 main ()
55018 fabsl(0);
55020 return 0;
55022 _ACEOF
55023 if ac_fn_cxx_try_compile "$LINENO"; then :
55024 glibcxx_cv_func_fabsl_use=yes
55025 else
55026 glibcxx_cv_func_fabsl_use=no
55028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55029 ac_ext=c
55030 ac_cpp='$CPP $CPPFLAGS'
55031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55040 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55042 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55043 for ac_func in fabsl
55044 do :
55045 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55046 if test "x$ac_cv_func_fabsl" = x""yes; then :
55047 cat >>confdefs.h <<_ACEOF
55048 #define HAVE_FABSL 1
55049 _ACEOF
55052 done
55054 else
55056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55057 $as_echo_n "checking for _fabsl declaration... " >&6; }
55058 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55059 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55060 $as_echo_n "(cached) " >&6
55061 else
55064 ac_ext=cpp
55065 ac_cpp='$CXXCPP $CPPFLAGS'
55066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55071 /* end confdefs.h. */
55072 #include <math.h>
55073 #ifdef HAVE_IEEEFP_H
55074 #include <ieeefp.h>
55075 #endif
55078 main ()
55080 _fabsl(0);
55082 return 0;
55084 _ACEOF
55085 if ac_fn_cxx_try_compile "$LINENO"; then :
55086 glibcxx_cv_func__fabsl_use=yes
55087 else
55088 glibcxx_cv_func__fabsl_use=no
55090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55091 ac_ext=c
55092 ac_cpp='$CPP $CPPFLAGS'
55093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55102 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55104 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55105 for ac_func in _fabsl
55106 do :
55107 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55108 if test "x$ac_cv_func__fabsl" = x""yes; then :
55109 cat >>confdefs.h <<_ACEOF
55110 #define HAVE__FABSL 1
55111 _ACEOF
55114 done
55123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55124 $as_echo_n "checking for fmodl declaration... " >&6; }
55125 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55126 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55127 $as_echo_n "(cached) " >&6
55128 else
55131 ac_ext=cpp
55132 ac_cpp='$CXXCPP $CPPFLAGS'
55133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55138 /* end confdefs.h. */
55139 #include <math.h>
55141 main ()
55143 fmodl(0, 0);
55145 return 0;
55147 _ACEOF
55148 if ac_fn_cxx_try_compile "$LINENO"; then :
55149 glibcxx_cv_func_fmodl_use=yes
55150 else
55151 glibcxx_cv_func_fmodl_use=no
55153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55154 ac_ext=c
55155 ac_cpp='$CPP $CPPFLAGS'
55156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55165 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55167 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55168 for ac_func in fmodl
55169 do :
55170 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55171 if test "x$ac_cv_func_fmodl" = x""yes; then :
55172 cat >>confdefs.h <<_ACEOF
55173 #define HAVE_FMODL 1
55174 _ACEOF
55177 done
55179 else
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55182 $as_echo_n "checking for _fmodl declaration... " >&6; }
55183 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55184 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55185 $as_echo_n "(cached) " >&6
55186 else
55189 ac_ext=cpp
55190 ac_cpp='$CXXCPP $CPPFLAGS'
55191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55196 /* end confdefs.h. */
55197 #include <math.h>
55199 main ()
55201 _fmodl(0, 0);
55203 return 0;
55205 _ACEOF
55206 if ac_fn_cxx_try_compile "$LINENO"; then :
55207 glibcxx_cv_func__fmodl_use=yes
55208 else
55209 glibcxx_cv_func__fmodl_use=no
55211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55212 ac_ext=c
55213 ac_cpp='$CPP $CPPFLAGS'
55214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55223 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55225 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55226 for ac_func in _fmodl
55227 do :
55228 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55229 if test "x$ac_cv_func__fmodl" = x""yes; then :
55230 cat >>confdefs.h <<_ACEOF
55231 #define HAVE__FMODL 1
55232 _ACEOF
55235 done
55244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55245 $as_echo_n "checking for frexpl declaration... " >&6; }
55246 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55247 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55248 $as_echo_n "(cached) " >&6
55249 else
55252 ac_ext=cpp
55253 ac_cpp='$CXXCPP $CPPFLAGS'
55254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55259 /* end confdefs.h. */
55260 #include <math.h>
55262 main ()
55264 frexpl(0, 0);
55266 return 0;
55268 _ACEOF
55269 if ac_fn_cxx_try_compile "$LINENO"; then :
55270 glibcxx_cv_func_frexpl_use=yes
55271 else
55272 glibcxx_cv_func_frexpl_use=no
55274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55275 ac_ext=c
55276 ac_cpp='$CPP $CPPFLAGS'
55277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55286 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55288 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55289 for ac_func in frexpl
55290 do :
55291 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55292 if test "x$ac_cv_func_frexpl" = x""yes; then :
55293 cat >>confdefs.h <<_ACEOF
55294 #define HAVE_FREXPL 1
55295 _ACEOF
55298 done
55300 else
55302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55303 $as_echo_n "checking for _frexpl declaration... " >&6; }
55304 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55305 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55306 $as_echo_n "(cached) " >&6
55307 else
55310 ac_ext=cpp
55311 ac_cpp='$CXXCPP $CPPFLAGS'
55312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55317 /* end confdefs.h. */
55318 #include <math.h>
55320 main ()
55322 _frexpl(0, 0);
55324 return 0;
55326 _ACEOF
55327 if ac_fn_cxx_try_compile "$LINENO"; then :
55328 glibcxx_cv_func__frexpl_use=yes
55329 else
55330 glibcxx_cv_func__frexpl_use=no
55332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55333 ac_ext=c
55334 ac_cpp='$CPP $CPPFLAGS'
55335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55344 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55346 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55347 for ac_func in _frexpl
55348 do :
55349 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55350 if test "x$ac_cv_func__frexpl" = x""yes; then :
55351 cat >>confdefs.h <<_ACEOF
55352 #define HAVE__FREXPL 1
55353 _ACEOF
55356 done
55365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55366 $as_echo_n "checking for hypotl declaration... " >&6; }
55367 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55368 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55369 $as_echo_n "(cached) " >&6
55370 else
55373 ac_ext=cpp
55374 ac_cpp='$CXXCPP $CPPFLAGS'
55375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55380 /* end confdefs.h. */
55381 #include <math.h>
55383 main ()
55385 hypotl(0, 0);
55387 return 0;
55389 _ACEOF
55390 if ac_fn_cxx_try_compile "$LINENO"; then :
55391 glibcxx_cv_func_hypotl_use=yes
55392 else
55393 glibcxx_cv_func_hypotl_use=no
55395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55396 ac_ext=c
55397 ac_cpp='$CPP $CPPFLAGS'
55398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55407 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55409 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55410 for ac_func in hypotl
55411 do :
55412 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55413 if test "x$ac_cv_func_hypotl" = x""yes; then :
55414 cat >>confdefs.h <<_ACEOF
55415 #define HAVE_HYPOTL 1
55416 _ACEOF
55419 done
55421 else
55423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55424 $as_echo_n "checking for _hypotl declaration... " >&6; }
55425 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55426 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55427 $as_echo_n "(cached) " >&6
55428 else
55431 ac_ext=cpp
55432 ac_cpp='$CXXCPP $CPPFLAGS'
55433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55438 /* end confdefs.h. */
55439 #include <math.h>
55441 main ()
55443 _hypotl(0, 0);
55445 return 0;
55447 _ACEOF
55448 if ac_fn_cxx_try_compile "$LINENO"; then :
55449 glibcxx_cv_func__hypotl_use=yes
55450 else
55451 glibcxx_cv_func__hypotl_use=no
55453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55454 ac_ext=c
55455 ac_cpp='$CPP $CPPFLAGS'
55456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55465 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55467 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55468 for ac_func in _hypotl
55469 do :
55470 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55471 if test "x$ac_cv_func__hypotl" = x""yes; then :
55472 cat >>confdefs.h <<_ACEOF
55473 #define HAVE__HYPOTL 1
55474 _ACEOF
55477 done
55486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55487 $as_echo_n "checking for ldexpl declaration... " >&6; }
55488 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55489 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55490 $as_echo_n "(cached) " >&6
55491 else
55494 ac_ext=cpp
55495 ac_cpp='$CXXCPP $CPPFLAGS'
55496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55501 /* end confdefs.h. */
55502 #include <math.h>
55504 main ()
55506 ldexpl(0, 0);
55508 return 0;
55510 _ACEOF
55511 if ac_fn_cxx_try_compile "$LINENO"; then :
55512 glibcxx_cv_func_ldexpl_use=yes
55513 else
55514 glibcxx_cv_func_ldexpl_use=no
55516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55517 ac_ext=c
55518 ac_cpp='$CPP $CPPFLAGS'
55519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55528 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55530 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55531 for ac_func in ldexpl
55532 do :
55533 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55534 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55535 cat >>confdefs.h <<_ACEOF
55536 #define HAVE_LDEXPL 1
55537 _ACEOF
55540 done
55542 else
55544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55545 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55546 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55547 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55548 $as_echo_n "(cached) " >&6
55549 else
55552 ac_ext=cpp
55553 ac_cpp='$CXXCPP $CPPFLAGS'
55554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55559 /* end confdefs.h. */
55560 #include <math.h>
55562 main ()
55564 _ldexpl(0, 0);
55566 return 0;
55568 _ACEOF
55569 if ac_fn_cxx_try_compile "$LINENO"; then :
55570 glibcxx_cv_func__ldexpl_use=yes
55571 else
55572 glibcxx_cv_func__ldexpl_use=no
55574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55575 ac_ext=c
55576 ac_cpp='$CPP $CPPFLAGS'
55577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55586 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55588 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55589 for ac_func in _ldexpl
55590 do :
55591 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55592 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55593 cat >>confdefs.h <<_ACEOF
55594 #define HAVE__LDEXPL 1
55595 _ACEOF
55598 done
55607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55608 $as_echo_n "checking for logl declaration... " >&6; }
55609 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55610 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55611 $as_echo_n "(cached) " >&6
55612 else
55615 ac_ext=cpp
55616 ac_cpp='$CXXCPP $CPPFLAGS'
55617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55622 /* end confdefs.h. */
55623 #include <math.h>
55624 #ifdef HAVE_IEEEFP_H
55625 #include <ieeefp.h>
55626 #endif
55629 main ()
55631 logl(0);
55633 return 0;
55635 _ACEOF
55636 if ac_fn_cxx_try_compile "$LINENO"; then :
55637 glibcxx_cv_func_logl_use=yes
55638 else
55639 glibcxx_cv_func_logl_use=no
55641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55642 ac_ext=c
55643 ac_cpp='$CPP $CPPFLAGS'
55644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55653 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55655 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55656 for ac_func in logl
55657 do :
55658 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55659 if test "x$ac_cv_func_logl" = x""yes; then :
55660 cat >>confdefs.h <<_ACEOF
55661 #define HAVE_LOGL 1
55662 _ACEOF
55665 done
55667 else
55669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55670 $as_echo_n "checking for _logl declaration... " >&6; }
55671 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55672 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55673 $as_echo_n "(cached) " >&6
55674 else
55677 ac_ext=cpp
55678 ac_cpp='$CXXCPP $CPPFLAGS'
55679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55684 /* end confdefs.h. */
55685 #include <math.h>
55686 #ifdef HAVE_IEEEFP_H
55687 #include <ieeefp.h>
55688 #endif
55691 main ()
55693 _logl(0);
55695 return 0;
55697 _ACEOF
55698 if ac_fn_cxx_try_compile "$LINENO"; then :
55699 glibcxx_cv_func__logl_use=yes
55700 else
55701 glibcxx_cv_func__logl_use=no
55703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55704 ac_ext=c
55705 ac_cpp='$CPP $CPPFLAGS'
55706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55715 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55717 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55718 for ac_func in _logl
55719 do :
55720 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55721 if test "x$ac_cv_func__logl" = x""yes; then :
55722 cat >>confdefs.h <<_ACEOF
55723 #define HAVE__LOGL 1
55724 _ACEOF
55727 done
55736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55737 $as_echo_n "checking for log10l declaration... " >&6; }
55738 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55739 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55740 $as_echo_n "(cached) " >&6
55741 else
55744 ac_ext=cpp
55745 ac_cpp='$CXXCPP $CPPFLAGS'
55746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55751 /* end confdefs.h. */
55752 #include <math.h>
55753 #ifdef HAVE_IEEEFP_H
55754 #include <ieeefp.h>
55755 #endif
55758 main ()
55760 log10l(0);
55762 return 0;
55764 _ACEOF
55765 if ac_fn_cxx_try_compile "$LINENO"; then :
55766 glibcxx_cv_func_log10l_use=yes
55767 else
55768 glibcxx_cv_func_log10l_use=no
55770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55771 ac_ext=c
55772 ac_cpp='$CPP $CPPFLAGS'
55773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55782 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55784 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55785 for ac_func in log10l
55786 do :
55787 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55788 if test "x$ac_cv_func_log10l" = x""yes; then :
55789 cat >>confdefs.h <<_ACEOF
55790 #define HAVE_LOG10L 1
55791 _ACEOF
55794 done
55796 else
55798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55799 $as_echo_n "checking for _log10l declaration... " >&6; }
55800 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55801 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55802 $as_echo_n "(cached) " >&6
55803 else
55806 ac_ext=cpp
55807 ac_cpp='$CXXCPP $CPPFLAGS'
55808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55813 /* end confdefs.h. */
55814 #include <math.h>
55815 #ifdef HAVE_IEEEFP_H
55816 #include <ieeefp.h>
55817 #endif
55820 main ()
55822 _log10l(0);
55824 return 0;
55826 _ACEOF
55827 if ac_fn_cxx_try_compile "$LINENO"; then :
55828 glibcxx_cv_func__log10l_use=yes
55829 else
55830 glibcxx_cv_func__log10l_use=no
55832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55833 ac_ext=c
55834 ac_cpp='$CPP $CPPFLAGS'
55835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55844 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55846 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55847 for ac_func in _log10l
55848 do :
55849 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55850 if test "x$ac_cv_func__log10l" = x""yes; then :
55851 cat >>confdefs.h <<_ACEOF
55852 #define HAVE__LOG10L 1
55853 _ACEOF
55856 done
55865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55866 $as_echo_n "checking for modfl declaration... " >&6; }
55867 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55868 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55869 $as_echo_n "(cached) " >&6
55870 else
55873 ac_ext=cpp
55874 ac_cpp='$CXXCPP $CPPFLAGS'
55875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55880 /* end confdefs.h. */
55881 #include <math.h>
55883 main ()
55885 modfl(0, 0);
55887 return 0;
55889 _ACEOF
55890 if ac_fn_cxx_try_compile "$LINENO"; then :
55891 glibcxx_cv_func_modfl_use=yes
55892 else
55893 glibcxx_cv_func_modfl_use=no
55895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55896 ac_ext=c
55897 ac_cpp='$CPP $CPPFLAGS'
55898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55907 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55909 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55910 for ac_func in modfl
55911 do :
55912 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55913 if test "x$ac_cv_func_modfl" = x""yes; then :
55914 cat >>confdefs.h <<_ACEOF
55915 #define HAVE_MODFL 1
55916 _ACEOF
55919 done
55921 else
55923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55924 $as_echo_n "checking for _modfl declaration... " >&6; }
55925 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55926 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55927 $as_echo_n "(cached) " >&6
55928 else
55931 ac_ext=cpp
55932 ac_cpp='$CXXCPP $CPPFLAGS'
55933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55938 /* end confdefs.h. */
55939 #include <math.h>
55941 main ()
55943 _modfl(0, 0);
55945 return 0;
55947 _ACEOF
55948 if ac_fn_cxx_try_compile "$LINENO"; then :
55949 glibcxx_cv_func__modfl_use=yes
55950 else
55951 glibcxx_cv_func__modfl_use=no
55953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55954 ac_ext=c
55955 ac_cpp='$CPP $CPPFLAGS'
55956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55965 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55967 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55968 for ac_func in _modfl
55969 do :
55970 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55971 if test "x$ac_cv_func__modfl" = x""yes; then :
55972 cat >>confdefs.h <<_ACEOF
55973 #define HAVE__MODFL 1
55974 _ACEOF
55977 done
55986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55987 $as_echo_n "checking for powl declaration... " >&6; }
55988 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55989 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55990 $as_echo_n "(cached) " >&6
55991 else
55994 ac_ext=cpp
55995 ac_cpp='$CXXCPP $CPPFLAGS'
55996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56001 /* end confdefs.h. */
56002 #include <math.h>
56004 main ()
56006 powl(0, 0);
56008 return 0;
56010 _ACEOF
56011 if ac_fn_cxx_try_compile "$LINENO"; then :
56012 glibcxx_cv_func_powl_use=yes
56013 else
56014 glibcxx_cv_func_powl_use=no
56016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56017 ac_ext=c
56018 ac_cpp='$CPP $CPPFLAGS'
56019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56028 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56030 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56031 for ac_func in powl
56032 do :
56033 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56034 if test "x$ac_cv_func_powl" = x""yes; then :
56035 cat >>confdefs.h <<_ACEOF
56036 #define HAVE_POWL 1
56037 _ACEOF
56040 done
56042 else
56044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56045 $as_echo_n "checking for _powl declaration... " >&6; }
56046 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56047 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56048 $as_echo_n "(cached) " >&6
56049 else
56052 ac_ext=cpp
56053 ac_cpp='$CXXCPP $CPPFLAGS'
56054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56059 /* end confdefs.h. */
56060 #include <math.h>
56062 main ()
56064 _powl(0, 0);
56066 return 0;
56068 _ACEOF
56069 if ac_fn_cxx_try_compile "$LINENO"; then :
56070 glibcxx_cv_func__powl_use=yes
56071 else
56072 glibcxx_cv_func__powl_use=no
56074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56075 ac_ext=c
56076 ac_cpp='$CPP $CPPFLAGS'
56077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56086 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56088 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56089 for ac_func in _powl
56090 do :
56091 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56092 if test "x$ac_cv_func__powl" = x""yes; then :
56093 cat >>confdefs.h <<_ACEOF
56094 #define HAVE__POWL 1
56095 _ACEOF
56098 done
56107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56108 $as_echo_n "checking for sqrtl declaration... " >&6; }
56109 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56110 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56111 $as_echo_n "(cached) " >&6
56112 else
56115 ac_ext=cpp
56116 ac_cpp='$CXXCPP $CPPFLAGS'
56117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56122 /* end confdefs.h. */
56123 #include <math.h>
56124 #ifdef HAVE_IEEEFP_H
56125 #include <ieeefp.h>
56126 #endif
56129 main ()
56131 sqrtl(0);
56133 return 0;
56135 _ACEOF
56136 if ac_fn_cxx_try_compile "$LINENO"; then :
56137 glibcxx_cv_func_sqrtl_use=yes
56138 else
56139 glibcxx_cv_func_sqrtl_use=no
56141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56142 ac_ext=c
56143 ac_cpp='$CPP $CPPFLAGS'
56144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56153 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56155 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56156 for ac_func in sqrtl
56157 do :
56158 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56159 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56160 cat >>confdefs.h <<_ACEOF
56161 #define HAVE_SQRTL 1
56162 _ACEOF
56165 done
56167 else
56169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56170 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56171 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56172 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56173 $as_echo_n "(cached) " >&6
56174 else
56177 ac_ext=cpp
56178 ac_cpp='$CXXCPP $CPPFLAGS'
56179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56184 /* end confdefs.h. */
56185 #include <math.h>
56186 #ifdef HAVE_IEEEFP_H
56187 #include <ieeefp.h>
56188 #endif
56191 main ()
56193 _sqrtl(0);
56195 return 0;
56197 _ACEOF
56198 if ac_fn_cxx_try_compile "$LINENO"; then :
56199 glibcxx_cv_func__sqrtl_use=yes
56200 else
56201 glibcxx_cv_func__sqrtl_use=no
56203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56204 ac_ext=c
56205 ac_cpp='$CPP $CPPFLAGS'
56206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56215 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56217 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56218 for ac_func in _sqrtl
56219 do :
56220 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56221 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56222 cat >>confdefs.h <<_ACEOF
56223 #define HAVE__SQRTL 1
56224 _ACEOF
56227 done
56236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56237 $as_echo_n "checking for sincosl declaration... " >&6; }
56238 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56239 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56240 $as_echo_n "(cached) " >&6
56241 else
56244 ac_ext=cpp
56245 ac_cpp='$CXXCPP $CPPFLAGS'
56246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56251 /* end confdefs.h. */
56252 #include <math.h>
56254 main ()
56256 sincosl(0, 0, 0);
56258 return 0;
56260 _ACEOF
56261 if ac_fn_cxx_try_compile "$LINENO"; then :
56262 glibcxx_cv_func_sincosl_use=yes
56263 else
56264 glibcxx_cv_func_sincosl_use=no
56266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56267 ac_ext=c
56268 ac_cpp='$CPP $CPPFLAGS'
56269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56278 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56280 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56281 for ac_func in sincosl
56282 do :
56283 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56284 if test "x$ac_cv_func_sincosl" = x""yes; then :
56285 cat >>confdefs.h <<_ACEOF
56286 #define HAVE_SINCOSL 1
56287 _ACEOF
56290 done
56292 else
56294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56295 $as_echo_n "checking for _sincosl declaration... " >&6; }
56296 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56297 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56298 $as_echo_n "(cached) " >&6
56299 else
56302 ac_ext=cpp
56303 ac_cpp='$CXXCPP $CPPFLAGS'
56304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56309 /* end confdefs.h. */
56310 #include <math.h>
56312 main ()
56314 _sincosl(0, 0, 0);
56316 return 0;
56318 _ACEOF
56319 if ac_fn_cxx_try_compile "$LINENO"; then :
56320 glibcxx_cv_func__sincosl_use=yes
56321 else
56322 glibcxx_cv_func__sincosl_use=no
56324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56325 ac_ext=c
56326 ac_cpp='$CPP $CPPFLAGS'
56327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56336 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56338 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56339 for ac_func in _sincosl
56340 do :
56341 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56342 if test "x$ac_cv_func__sincosl" = x""yes; then :
56343 cat >>confdefs.h <<_ACEOF
56344 #define HAVE__SINCOSL 1
56345 _ACEOF
56348 done
56357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56358 $as_echo_n "checking for finitel declaration... " >&6; }
56359 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56360 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56361 $as_echo_n "(cached) " >&6
56362 else
56365 ac_ext=cpp
56366 ac_cpp='$CXXCPP $CPPFLAGS'
56367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56372 /* end confdefs.h. */
56373 #include <math.h>
56374 #ifdef HAVE_IEEEFP_H
56375 #include <ieeefp.h>
56376 #endif
56379 main ()
56381 finitel(0);
56383 return 0;
56385 _ACEOF
56386 if ac_fn_cxx_try_compile "$LINENO"; then :
56387 glibcxx_cv_func_finitel_use=yes
56388 else
56389 glibcxx_cv_func_finitel_use=no
56391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56392 ac_ext=c
56393 ac_cpp='$CPP $CPPFLAGS'
56394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56403 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56405 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56406 for ac_func in finitel
56407 do :
56408 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56409 if test "x$ac_cv_func_finitel" = x""yes; then :
56410 cat >>confdefs.h <<_ACEOF
56411 #define HAVE_FINITEL 1
56412 _ACEOF
56415 done
56417 else
56419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56420 $as_echo_n "checking for _finitel declaration... " >&6; }
56421 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56422 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56423 $as_echo_n "(cached) " >&6
56424 else
56427 ac_ext=cpp
56428 ac_cpp='$CXXCPP $CPPFLAGS'
56429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56434 /* end confdefs.h. */
56435 #include <math.h>
56436 #ifdef HAVE_IEEEFP_H
56437 #include <ieeefp.h>
56438 #endif
56441 main ()
56443 _finitel(0);
56445 return 0;
56447 _ACEOF
56448 if ac_fn_cxx_try_compile "$LINENO"; then :
56449 glibcxx_cv_func__finitel_use=yes
56450 else
56451 glibcxx_cv_func__finitel_use=no
56453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56454 ac_ext=c
56455 ac_cpp='$CPP $CPPFLAGS'
56456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56465 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56467 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56468 for ac_func in _finitel
56469 do :
56470 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56471 if test "x$ac_cv_func__finitel" = x""yes; then :
56472 cat >>confdefs.h <<_ACEOF
56473 #define HAVE__FINITEL 1
56474 _ACEOF
56477 done
56485 LIBS="$ac_save_LIBS"
56486 CXXFLAGS="$ac_save_CXXFLAGS"
56489 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56490 ac_save_CXXFLAGS="$CXXFLAGS"
56491 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56495 $as_echo_n "checking for strtold declaration... " >&6; }
56496 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56497 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56498 $as_echo_n "(cached) " >&6
56499 else
56502 ac_ext=cpp
56503 ac_cpp='$CXXCPP $CPPFLAGS'
56504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56509 /* end confdefs.h. */
56510 #include <stdlib.h>
56512 main ()
56514 strtold(0, 0);
56516 return 0;
56518 _ACEOF
56519 if ac_fn_cxx_try_compile "$LINENO"; then :
56520 glibcxx_cv_func_strtold_use=yes
56521 else
56522 glibcxx_cv_func_strtold_use=no
56524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56525 ac_ext=c
56526 ac_cpp='$CPP $CPPFLAGS'
56527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56536 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56537 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56538 for ac_func in strtold
56539 do :
56540 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56541 if test "x$ac_cv_func_strtold" = x""yes; then :
56542 cat >>confdefs.h <<_ACEOF
56543 #define HAVE_STRTOLD 1
56544 _ACEOF
56547 done
56554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56555 $as_echo_n "checking for strtof declaration... " >&6; }
56556 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56557 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56558 $as_echo_n "(cached) " >&6
56559 else
56562 ac_ext=cpp
56563 ac_cpp='$CXXCPP $CPPFLAGS'
56564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56569 /* end confdefs.h. */
56570 #include <stdlib.h>
56572 main ()
56574 strtof(0, 0);
56576 return 0;
56578 _ACEOF
56579 if ac_fn_cxx_try_compile "$LINENO"; then :
56580 glibcxx_cv_func_strtof_use=yes
56581 else
56582 glibcxx_cv_func_strtof_use=no
56584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56585 ac_ext=c
56586 ac_cpp='$CPP $CPPFLAGS'
56587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56596 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56597 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56598 for ac_func in strtof
56599 do :
56600 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56601 if test "x$ac_cv_func_strtof" = x""yes; then :
56602 cat >>confdefs.h <<_ACEOF
56603 #define HAVE_STRTOF 1
56604 _ACEOF
56607 done
56614 CXXFLAGS="$ac_save_CXXFLAGS"
56617 *-netbsd*)
56618 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56621 # If we're not using GNU ld, then there's no point in even trying these
56622 # tests. Check for that first. We should have already tested for gld
56623 # by now (in libtool), but require it now just to be safe...
56624 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56625 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56629 # The name set by libtool depends on the version of libtool. Shame on us
56630 # for depending on an impl detail, but c'est la vie. Older versions used
56631 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56632 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56633 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56634 # set (hence we're using an older libtool), then set it.
56635 if test x${with_gnu_ld+set} != xset; then
56636 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56637 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56638 with_gnu_ld=no
56639 else
56640 with_gnu_ld=$ac_cv_prog_gnu_ld
56644 # Start by getting the version number. I think the libtool test already
56645 # does some of this, but throws away the result.
56646 glibcxx_ld_is_gold=no
56647 if test x"$with_gnu_ld" = x"yes"; then
56648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56649 $as_echo_n "checking for ld version... " >&6; }
56651 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56652 glibcxx_ld_is_gold=yes
56654 ldver=`$LD --version 2>/dev/null |
56655 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'`
56657 glibcxx_gnu_ld_version=`echo $ldver | \
56658 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56660 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56663 # Set --gc-sections.
56664 glibcxx_have_gc_sections=no
56665 if test "$glibcxx_ld_is_gold" = "yes"; then
56666 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56667 glibcxx_have_gc_sections=yes
56669 else
56670 glibcxx_gcsections_min_ld=21602
56671 if test x"$with_gnu_ld" = x"yes" &&
56672 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56673 glibcxx_have_gc_sections=yes
56676 if test "$glibcxx_have_gc_sections" = "yes"; then
56677 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56678 # NB: This flag only works reliably after 2.16.1. Configure tests
56679 # for this are difficult, so hard wire a value that should work.
56681 ac_test_CFLAGS="${CFLAGS+set}"
56682 ac_save_CFLAGS="$CFLAGS"
56683 CFLAGS='-Wl,--gc-sections'
56685 # Check for -Wl,--gc-sections
56686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56687 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56688 if test x$gcc_no_link = xyes; then
56689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56692 /* end confdefs.h. */
56693 int one(void) { return 1; }
56694 int two(void) { return 2; }
56697 main ()
56699 two();
56701 return 0;
56703 _ACEOF
56704 if ac_fn_c_try_link "$LINENO"; then :
56705 ac_gcsections=yes
56706 else
56707 ac_gcsections=no
56709 rm -f core conftest.err conftest.$ac_objext \
56710 conftest$ac_exeext conftest.$ac_ext
56711 if test "$ac_gcsections" = "yes"; then
56712 rm -f conftest.c
56713 touch conftest.c
56714 if $CC -c conftest.c; then
56715 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56716 grep "Warning: gc-sections option ignored" > /dev/null; then
56717 ac_gcsections=no
56720 rm -f conftest.c conftest.o conftest
56722 if test "$ac_gcsections" = "yes"; then
56723 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56726 $as_echo "$ac_gcsections" >&6; }
56728 if test "$ac_test_CFLAGS" = set; then
56729 CFLAGS="$ac_save_CFLAGS"
56730 else
56731 # this is the suspicious part
56732 CFLAGS=''
56736 # Set -z,relro.
56737 # Note this is only for shared objects.
56738 ac_ld_relro=no
56739 if test x"$with_gnu_ld" = x"yes"; then
56740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56741 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56742 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56743 if test -n "$cxx_z_relo"; then
56744 OPT_LDFLAGS="-Wl,-z,relro"
56745 ac_ld_relro=yes
56747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56748 $as_echo "$ac_ld_relro" >&6; }
56751 # Set linker optimization flags.
56752 if test x"$with_gnu_ld" = x"yes"; then
56753 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56759 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56761 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56763 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56765 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56767 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56769 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56771 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56773 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56775 if test x"long_double_math_on_this_cpu" = x"yes"; then
56776 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56778 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56780 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56784 *-netware)
56785 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56788 # If we're not using GNU ld, then there's no point in even trying these
56789 # tests. Check for that first. We should have already tested for gld
56790 # by now (in libtool), but require it now just to be safe...
56791 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56792 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56796 # The name set by libtool depends on the version of libtool. Shame on us
56797 # for depending on an impl detail, but c'est la vie. Older versions used
56798 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56799 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56800 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56801 # set (hence we're using an older libtool), then set it.
56802 if test x${with_gnu_ld+set} != xset; then
56803 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56804 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56805 with_gnu_ld=no
56806 else
56807 with_gnu_ld=$ac_cv_prog_gnu_ld
56811 # Start by getting the version number. I think the libtool test already
56812 # does some of this, but throws away the result.
56813 glibcxx_ld_is_gold=no
56814 if test x"$with_gnu_ld" = x"yes"; then
56815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56816 $as_echo_n "checking for ld version... " >&6; }
56818 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56819 glibcxx_ld_is_gold=yes
56821 ldver=`$LD --version 2>/dev/null |
56822 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'`
56824 glibcxx_gnu_ld_version=`echo $ldver | \
56825 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56827 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56830 # Set --gc-sections.
56831 glibcxx_have_gc_sections=no
56832 if test "$glibcxx_ld_is_gold" = "yes"; then
56833 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56834 glibcxx_have_gc_sections=yes
56836 else
56837 glibcxx_gcsections_min_ld=21602
56838 if test x"$with_gnu_ld" = x"yes" &&
56839 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56840 glibcxx_have_gc_sections=yes
56843 if test "$glibcxx_have_gc_sections" = "yes"; then
56844 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56845 # NB: This flag only works reliably after 2.16.1. Configure tests
56846 # for this are difficult, so hard wire a value that should work.
56848 ac_test_CFLAGS="${CFLAGS+set}"
56849 ac_save_CFLAGS="$CFLAGS"
56850 CFLAGS='-Wl,--gc-sections'
56852 # Check for -Wl,--gc-sections
56853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56854 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56855 if test x$gcc_no_link = xyes; then
56856 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56859 /* end confdefs.h. */
56860 int one(void) { return 1; }
56861 int two(void) { return 2; }
56864 main ()
56866 two();
56868 return 0;
56870 _ACEOF
56871 if ac_fn_c_try_link "$LINENO"; then :
56872 ac_gcsections=yes
56873 else
56874 ac_gcsections=no
56876 rm -f core conftest.err conftest.$ac_objext \
56877 conftest$ac_exeext conftest.$ac_ext
56878 if test "$ac_gcsections" = "yes"; then
56879 rm -f conftest.c
56880 touch conftest.c
56881 if $CC -c conftest.c; then
56882 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56883 grep "Warning: gc-sections option ignored" > /dev/null; then
56884 ac_gcsections=no
56887 rm -f conftest.c conftest.o conftest
56889 if test "$ac_gcsections" = "yes"; then
56890 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56893 $as_echo "$ac_gcsections" >&6; }
56895 if test "$ac_test_CFLAGS" = set; then
56896 CFLAGS="$ac_save_CFLAGS"
56897 else
56898 # this is the suspicious part
56899 CFLAGS=''
56903 # Set -z,relro.
56904 # Note this is only for shared objects.
56905 ac_ld_relro=no
56906 if test x"$with_gnu_ld" = x"yes"; then
56907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56908 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56909 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56910 if test -n "$cxx_z_relo"; then
56911 OPT_LDFLAGS="-Wl,-z,relro"
56912 ac_ld_relro=yes
56914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56915 $as_echo "$ac_ld_relro" >&6; }
56918 # Set linker optimization flags.
56919 if test x"$with_gnu_ld" = x"yes"; then
56920 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56926 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56928 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56930 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56933 *-qnx6.1* | *-qnx6.2*)
56934 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56937 # If we're not using GNU ld, then there's no point in even trying these
56938 # tests. Check for that first. We should have already tested for gld
56939 # by now (in libtool), but require it now just to be safe...
56940 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56941 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56945 # The name set by libtool depends on the version of libtool. Shame on us
56946 # for depending on an impl detail, but c'est la vie. Older versions used
56947 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56948 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56949 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56950 # set (hence we're using an older libtool), then set it.
56951 if test x${with_gnu_ld+set} != xset; then
56952 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56953 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56954 with_gnu_ld=no
56955 else
56956 with_gnu_ld=$ac_cv_prog_gnu_ld
56960 # Start by getting the version number. I think the libtool test already
56961 # does some of this, but throws away the result.
56962 glibcxx_ld_is_gold=no
56963 if test x"$with_gnu_ld" = x"yes"; then
56964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56965 $as_echo_n "checking for ld version... " >&6; }
56967 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56968 glibcxx_ld_is_gold=yes
56970 ldver=`$LD --version 2>/dev/null |
56971 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'`
56973 glibcxx_gnu_ld_version=`echo $ldver | \
56974 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56976 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56979 # Set --gc-sections.
56980 glibcxx_have_gc_sections=no
56981 if test "$glibcxx_ld_is_gold" = "yes"; then
56982 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56983 glibcxx_have_gc_sections=yes
56985 else
56986 glibcxx_gcsections_min_ld=21602
56987 if test x"$with_gnu_ld" = x"yes" &&
56988 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56989 glibcxx_have_gc_sections=yes
56992 if test "$glibcxx_have_gc_sections" = "yes"; then
56993 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56994 # NB: This flag only works reliably after 2.16.1. Configure tests
56995 # for this are difficult, so hard wire a value that should work.
56997 ac_test_CFLAGS="${CFLAGS+set}"
56998 ac_save_CFLAGS="$CFLAGS"
56999 CFLAGS='-Wl,--gc-sections'
57001 # Check for -Wl,--gc-sections
57002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57003 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57004 if test x$gcc_no_link = xyes; then
57005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57008 /* end confdefs.h. */
57009 int one(void) { return 1; }
57010 int two(void) { return 2; }
57013 main ()
57015 two();
57017 return 0;
57019 _ACEOF
57020 if ac_fn_c_try_link "$LINENO"; then :
57021 ac_gcsections=yes
57022 else
57023 ac_gcsections=no
57025 rm -f core conftest.err conftest.$ac_objext \
57026 conftest$ac_exeext conftest.$ac_ext
57027 if test "$ac_gcsections" = "yes"; then
57028 rm -f conftest.c
57029 touch conftest.c
57030 if $CC -c conftest.c; then
57031 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57032 grep "Warning: gc-sections option ignored" > /dev/null; then
57033 ac_gcsections=no
57036 rm -f conftest.c conftest.o conftest
57038 if test "$ac_gcsections" = "yes"; then
57039 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57042 $as_echo "$ac_gcsections" >&6; }
57044 if test "$ac_test_CFLAGS" = set; then
57045 CFLAGS="$ac_save_CFLAGS"
57046 else
57047 # this is the suspicious part
57048 CFLAGS=''
57052 # Set -z,relro.
57053 # Note this is only for shared objects.
57054 ac_ld_relro=no
57055 if test x"$with_gnu_ld" = x"yes"; then
57056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57057 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57058 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57059 if test -n "$cxx_z_relo"; then
57060 OPT_LDFLAGS="-Wl,-z,relro"
57061 ac_ld_relro=yes
57063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57064 $as_echo "$ac_ld_relro" >&6; }
57067 # Set linker optimization flags.
57068 if test x"$with_gnu_ld" = x"yes"; then
57069 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57075 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57077 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57079 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57081 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57083 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57085 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57087 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57089 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57091 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57093 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57095 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57097 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57100 *-solaris*)
57101 case "$target" in
57102 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57104 # If we're not using GNU ld, then there's no point in even trying these
57105 # tests. Check for that first. We should have already tested for gld
57106 # by now (in libtool), but require it now just to be safe...
57107 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57108 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57112 # The name set by libtool depends on the version of libtool. Shame on us
57113 # for depending on an impl detail, but c'est la vie. Older versions used
57114 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57115 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57116 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57117 # set (hence we're using an older libtool), then set it.
57118 if test x${with_gnu_ld+set} != xset; then
57119 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57120 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57121 with_gnu_ld=no
57122 else
57123 with_gnu_ld=$ac_cv_prog_gnu_ld
57127 # Start by getting the version number. I think the libtool test already
57128 # does some of this, but throws away the result.
57129 glibcxx_ld_is_gold=no
57130 if test x"$with_gnu_ld" = x"yes"; then
57131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57132 $as_echo_n "checking for ld version... " >&6; }
57134 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57135 glibcxx_ld_is_gold=yes
57137 ldver=`$LD --version 2>/dev/null |
57138 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'`
57140 glibcxx_gnu_ld_version=`echo $ldver | \
57141 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57143 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57146 # Set --gc-sections.
57147 glibcxx_have_gc_sections=no
57148 if test "$glibcxx_ld_is_gold" = "yes"; then
57149 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57150 glibcxx_have_gc_sections=yes
57152 else
57153 glibcxx_gcsections_min_ld=21602
57154 if test x"$with_gnu_ld" = x"yes" &&
57155 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57156 glibcxx_have_gc_sections=yes
57159 if test "$glibcxx_have_gc_sections" = "yes"; then
57160 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57161 # NB: This flag only works reliably after 2.16.1. Configure tests
57162 # for this are difficult, so hard wire a value that should work.
57164 ac_test_CFLAGS="${CFLAGS+set}"
57165 ac_save_CFLAGS="$CFLAGS"
57166 CFLAGS='-Wl,--gc-sections'
57168 # Check for -Wl,--gc-sections
57169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57170 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57171 if test x$gcc_no_link = xyes; then
57172 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57175 /* end confdefs.h. */
57176 int one(void) { return 1; }
57177 int two(void) { return 2; }
57180 main ()
57182 two();
57184 return 0;
57186 _ACEOF
57187 if ac_fn_c_try_link "$LINENO"; then :
57188 ac_gcsections=yes
57189 else
57190 ac_gcsections=no
57192 rm -f core conftest.err conftest.$ac_objext \
57193 conftest$ac_exeext conftest.$ac_ext
57194 if test "$ac_gcsections" = "yes"; then
57195 rm -f conftest.c
57196 touch conftest.c
57197 if $CC -c conftest.c; then
57198 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57199 grep "Warning: gc-sections option ignored" > /dev/null; then
57200 ac_gcsections=no
57203 rm -f conftest.c conftest.o conftest
57205 if test "$ac_gcsections" = "yes"; then
57206 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57209 $as_echo "$ac_gcsections" >&6; }
57211 if test "$ac_test_CFLAGS" = set; then
57212 CFLAGS="$ac_save_CFLAGS"
57213 else
57214 # this is the suspicious part
57215 CFLAGS=''
57219 # Set -z,relro.
57220 # Note this is only for shared objects.
57221 ac_ld_relro=no
57222 if test x"$with_gnu_ld" = x"yes"; then
57223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57224 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57225 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57226 if test -n "$cxx_z_relo"; then
57227 OPT_LDFLAGS="-Wl,-z,relro"
57228 ac_ld_relro=yes
57230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57231 $as_echo "$ac_ld_relro" >&6; }
57234 # Set linker optimization flags.
57235 if test x"$with_gnu_ld" = x"yes"; then
57236 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57242 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57244 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57246 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57248 # All of the dependencies for wide character support are here, so
57249 # turn it on.
57250 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57253 esac
57254 case "$target" in
57255 *-*-solaris2.10)
57256 # These two C99 functions are present only in Solaris >= 10
57257 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57259 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57262 esac
57263 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57265 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57267 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57269 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57272 *-tpf)
57273 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57276 # If we're not using GNU ld, then there's no point in even trying these
57277 # tests. Check for that first. We should have already tested for gld
57278 # by now (in libtool), but require it now just to be safe...
57279 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57280 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57284 # The name set by libtool depends on the version of libtool. Shame on us
57285 # for depending on an impl detail, but c'est la vie. Older versions used
57286 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57287 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57288 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57289 # set (hence we're using an older libtool), then set it.
57290 if test x${with_gnu_ld+set} != xset; then
57291 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57292 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57293 with_gnu_ld=no
57294 else
57295 with_gnu_ld=$ac_cv_prog_gnu_ld
57299 # Start by getting the version number. I think the libtool test already
57300 # does some of this, but throws away the result.
57301 glibcxx_ld_is_gold=no
57302 if test x"$with_gnu_ld" = x"yes"; then
57303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57304 $as_echo_n "checking for ld version... " >&6; }
57306 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57307 glibcxx_ld_is_gold=yes
57309 ldver=`$LD --version 2>/dev/null |
57310 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'`
57312 glibcxx_gnu_ld_version=`echo $ldver | \
57313 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57315 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57318 # Set --gc-sections.
57319 glibcxx_have_gc_sections=no
57320 if test "$glibcxx_ld_is_gold" = "yes"; then
57321 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57322 glibcxx_have_gc_sections=yes
57324 else
57325 glibcxx_gcsections_min_ld=21602
57326 if test x"$with_gnu_ld" = x"yes" &&
57327 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57328 glibcxx_have_gc_sections=yes
57331 if test "$glibcxx_have_gc_sections" = "yes"; then
57332 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57333 # NB: This flag only works reliably after 2.16.1. Configure tests
57334 # for this are difficult, so hard wire a value that should work.
57336 ac_test_CFLAGS="${CFLAGS+set}"
57337 ac_save_CFLAGS="$CFLAGS"
57338 CFLAGS='-Wl,--gc-sections'
57340 # Check for -Wl,--gc-sections
57341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57342 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57343 if test x$gcc_no_link = xyes; then
57344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57347 /* end confdefs.h. */
57348 int one(void) { return 1; }
57349 int two(void) { return 2; }
57352 main ()
57354 two();
57356 return 0;
57358 _ACEOF
57359 if ac_fn_c_try_link "$LINENO"; then :
57360 ac_gcsections=yes
57361 else
57362 ac_gcsections=no
57364 rm -f core conftest.err conftest.$ac_objext \
57365 conftest$ac_exeext conftest.$ac_ext
57366 if test "$ac_gcsections" = "yes"; then
57367 rm -f conftest.c
57368 touch conftest.c
57369 if $CC -c conftest.c; then
57370 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57371 grep "Warning: gc-sections option ignored" > /dev/null; then
57372 ac_gcsections=no
57375 rm -f conftest.c conftest.o conftest
57377 if test "$ac_gcsections" = "yes"; then
57378 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57381 $as_echo "$ac_gcsections" >&6; }
57383 if test "$ac_test_CFLAGS" = set; then
57384 CFLAGS="$ac_save_CFLAGS"
57385 else
57386 # this is the suspicious part
57387 CFLAGS=''
57391 # Set -z,relro.
57392 # Note this is only for shared objects.
57393 ac_ld_relro=no
57394 if test x"$with_gnu_ld" = x"yes"; then
57395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57396 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57397 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57398 if test -n "$cxx_z_relo"; then
57399 OPT_LDFLAGS="-Wl,-z,relro"
57400 ac_ld_relro=yes
57402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57403 $as_echo "$ac_ld_relro" >&6; }
57406 # Set linker optimization flags.
57407 if test x"$with_gnu_ld" = x"yes"; then
57408 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57414 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57416 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57418 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57420 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57422 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57424 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57426 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57428 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57430 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57432 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57434 if test x"long_double_math_on_this_cpu" = x"yes"; then
57435 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57437 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57439 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57441 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57445 *-vxworks)
57446 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57448 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57450 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57452 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57454 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57456 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57458 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57460 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57462 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57464 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57466 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57468 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57470 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57472 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57474 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57476 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57478 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57480 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57482 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57484 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57488 as_fn_error "No support for this host/target combination." "$LINENO" 5
57490 esac
57494 # At some point, we should differentiate between architectures
57495 # like x86, which have long double versions, and alpha/powerpc/etc.,
57496 # which don't. For the time being, punt.
57497 if test x"long_double_math_on_this_cpu" = x"yes"; then
57498 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57500 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57502 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57504 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57506 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57508 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57510 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57512 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57514 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57516 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57518 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57520 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57522 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57524 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57526 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57528 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57530 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57532 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57534 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57536 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57538 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57540 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57542 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57547 # Check for _Unwind_GetIPInfo.
57550 # Check whether --with-system-libunwind was given.
57551 if test "${with_system_libunwind+set}" = set; then :
57552 withval=$with_system_libunwind;
57555 # If system-libunwind was not specifically set, pick a default setting.
57556 if test x$with_system_libunwind = x; then
57557 case ${target} in
57558 ia64-*-hpux*) with_system_libunwind=yes ;;
57559 *) with_system_libunwind=no ;;
57560 esac
57562 # Based on system-libunwind and target, do we have ipinfo?
57563 if test x$with_system_libunwind = xyes; then
57564 case ${target} in
57565 ia64-*-*) have_unwind_getipinfo=no ;;
57566 *) have_unwind_getipinfo=yes ;;
57567 esac
57568 else
57569 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57571 case ${target} in
57572 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57573 *) have_unwind_getipinfo=yes ;;
57574 esac
57578 if test x$have_unwind_getipinfo = xyes; then
57580 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57586 # Check whether --enable-linux-futex was given.
57587 if test "${enable_linux_futex+set}" = set; then :
57588 enableval=$enable_linux_futex;
57589 case "$enableval" in
57590 yes|no|default) ;;
57591 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57592 esac
57594 else
57595 enable_linux_futex=default
57599 case "$target" in
57600 *-linux*)
57601 case "$enable_linux_futex" in
57602 default)
57603 # If headers don't have gettid/futex syscalls definition, then
57604 # default to no, otherwise there will be compile time failures.
57605 # Otherwise, default to yes. If we don't detect we are
57606 # compiled/linked against NPTL and not cross-compiling, check
57607 # if programs are run by default against NPTL and if not, issue
57608 # a warning.
57609 enable_linux_futex=no
57610 if test x$gcc_no_link = xyes; then
57611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57614 /* end confdefs.h. */
57615 #include <sys/syscall.h>
57616 int lk;
57618 main ()
57620 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57622 return 0;
57624 _ACEOF
57625 if ac_fn_c_try_link "$LINENO"; then :
57626 save_LIBS="$LIBS"
57627 LIBS="-lpthread $LIBS"
57628 if test x$gcc_no_link = xyes; then
57629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57632 /* end confdefs.h. */
57633 #ifndef _GNU_SOURCE
57634 #define _GNU_SOURCE 1
57635 #endif
57636 #include <pthread.h>
57637 pthread_t th; void *status;
57639 main ()
57641 pthread_tryjoin_np (th, &status);
57643 return 0;
57645 _ACEOF
57646 if ac_fn_c_try_link "$LINENO"; then :
57647 enable_linux_futex=yes
57648 else
57649 if test x$cross_compiling = xno; then
57650 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57651 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57653 If so, please configure with --disable-linux-futex" >&5
57654 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57655 If so, please configure with --disable-linux-futex" >&2;}
57658 enable_linux_futex=yes
57660 rm -f core conftest.err conftest.$ac_objext \
57661 conftest$ac_exeext conftest.$ac_ext
57662 LIBS="$save_LIBS"
57664 rm -f core conftest.err conftest.$ac_objext \
57665 conftest$ac_exeext conftest.$ac_ext
57667 yes)
57668 if test x$gcc_no_link = xyes; then
57669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57672 /* end confdefs.h. */
57673 #include <sys/syscall.h>
57674 int lk;
57676 main ()
57678 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57680 return 0;
57682 _ACEOF
57683 if ac_fn_c_try_link "$LINENO"; then :
57685 else
57686 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57688 rm -f core conftest.err conftest.$ac_objext \
57689 conftest$ac_exeext conftest.$ac_ext
57691 esac
57694 enable_linux_futex=no
57696 esac
57697 if test x$enable_linux_futex = xyes; then
57699 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57706 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57708 acx_cv_header_stdint=stddef.h
57709 acx_cv_header_stdint_kind="(already complete)"
57710 for i in stdint.h $inttype_headers; do
57711 unset ac_cv_type_uintptr_t
57712 unset ac_cv_type_uintmax_t
57713 unset ac_cv_type_int_least32_t
57714 unset ac_cv_type_int_fast32_t
57715 unset ac_cv_type_uint64_t
57716 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57717 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57718 #include <$i>
57720 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57721 acx_cv_header_stdint=$i
57722 else
57723 continue
57726 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57727 #include <$i>
57729 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57731 else
57732 acx_cv_header_stdint_kind="(mostly complete)"
57735 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57736 #include <$i>
57738 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57740 else
57741 acx_cv_header_stdint_kind="(mostly complete)"
57744 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57745 #include <$i>
57747 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57749 else
57750 acx_cv_header_stdint_kind="(mostly complete)"
57753 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57754 #include <$i>
57756 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57758 else
57759 acx_cv_header_stdint_kind="(lacks uint64_t)"
57762 break
57763 done
57764 if test "$acx_cv_header_stdint" = stddef.h; then
57765 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57766 for i in stdint.h $inttype_headers; do
57767 unset ac_cv_type_uintptr_t
57768 unset ac_cv_type_uint32_t
57769 unset ac_cv_type_uint64_t
57770 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57771 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57772 #include <$i>
57774 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57775 acx_cv_header_stdint=$i
57776 else
57777 continue
57780 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57781 #include <$i>
57783 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57787 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57788 #include <$i>
57790 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57794 break
57795 done
57797 if test "$acx_cv_header_stdint" = stddef.h; then
57798 acx_cv_header_stdint_kind="(u_intXX_t style)"
57799 for i in sys/types.h $inttype_headers; do
57800 unset ac_cv_type_u_int32_t
57801 unset ac_cv_type_u_int64_t
57802 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57803 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57804 #include <$i>
57806 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57807 acx_cv_header_stdint=$i
57808 else
57809 continue
57812 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57813 #include <$i>
57815 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57819 break
57820 done
57822 if test "$acx_cv_header_stdint" = stddef.h; then
57823 acx_cv_header_stdint_kind="(using manual detection)"
57826 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57827 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57828 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57829 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57830 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57832 # ----------------- Summarize what we found so far
57834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57835 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57837 case `$as_basename -- include/gstdint.h ||
57838 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57839 Xinclude/gstdint.h : 'X\(//\)$' \| \
57840 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57841 $as_echo X/include/gstdint.h |
57842 sed '/^.*\/\([^/][^/]*\)\/*$/{
57843 s//\1/
57846 /^X\/\(\/\/\)$/{
57847 s//\1/
57850 /^X\/\(\/\).*/{
57851 s//\1/
57854 s/.*/./; q'` in
57855 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57856 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57857 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57858 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57859 *) ;;
57860 esac
57862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57863 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57865 # ----------------- done included file, check C basic types --------
57867 # Lacking an uintptr_t? Test size of void *
57868 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57869 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57872 # This bug is HP SR number 8606223364.
57873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57874 $as_echo_n "checking size of void *... " >&6; }
57875 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57876 $as_echo_n "(cached) " >&6
57877 else
57878 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57880 else
57881 if test "$ac_cv_type_void_p" = yes; then
57882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57884 { as_fn_set_status 77
57885 as_fn_error "cannot compute sizeof (void *)
57886 See \`config.log' for more details." "$LINENO" 5; }; }
57887 else
57888 ac_cv_sizeof_void_p=0
57893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57894 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57898 cat >>confdefs.h <<_ACEOF
57899 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57900 _ACEOF
57903 esac
57905 # Lacking an uint64_t? Test size of long
57906 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57907 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57910 # This bug is HP SR number 8606223364.
57911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57912 $as_echo_n "checking size of long... " >&6; }
57913 if test "${ac_cv_sizeof_long+set}" = set; then :
57914 $as_echo_n "(cached) " >&6
57915 else
57916 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57918 else
57919 if test "$ac_cv_type_long" = yes; then
57920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57922 { as_fn_set_status 77
57923 as_fn_error "cannot compute sizeof (long)
57924 See \`config.log' for more details." "$LINENO" 5; }; }
57925 else
57926 ac_cv_sizeof_long=0
57931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57932 $as_echo "$ac_cv_sizeof_long" >&6; }
57936 cat >>confdefs.h <<_ACEOF
57937 #define SIZEOF_LONG $ac_cv_sizeof_long
57938 _ACEOF
57941 esac
57943 if test $acx_cv_header_stdint = stddef.h; then
57944 # Lacking a good header? Test size of everything and deduce all types.
57945 # The cast to long int works around a bug in the HP C Compiler
57946 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57947 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57948 # This bug is HP SR number 8606223364.
57949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57950 $as_echo_n "checking size of int... " >&6; }
57951 if test "${ac_cv_sizeof_int+set}" = set; then :
57952 $as_echo_n "(cached) " >&6
57953 else
57954 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57956 else
57957 if test "$ac_cv_type_int" = yes; then
57958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57960 { as_fn_set_status 77
57961 as_fn_error "cannot compute sizeof (int)
57962 See \`config.log' for more details." "$LINENO" 5; }; }
57963 else
57964 ac_cv_sizeof_int=0
57969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57970 $as_echo "$ac_cv_sizeof_int" >&6; }
57974 cat >>confdefs.h <<_ACEOF
57975 #define SIZEOF_INT $ac_cv_sizeof_int
57976 _ACEOF
57979 # The cast to long int works around a bug in the HP C Compiler
57980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57982 # This bug is HP SR number 8606223364.
57983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57984 $as_echo_n "checking size of short... " >&6; }
57985 if test "${ac_cv_sizeof_short+set}" = set; then :
57986 $as_echo_n "(cached) " >&6
57987 else
57988 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57990 else
57991 if test "$ac_cv_type_short" = yes; then
57992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57994 { as_fn_set_status 77
57995 as_fn_error "cannot compute sizeof (short)
57996 See \`config.log' for more details." "$LINENO" 5; }; }
57997 else
57998 ac_cv_sizeof_short=0
58003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
58004 $as_echo "$ac_cv_sizeof_short" >&6; }
58008 cat >>confdefs.h <<_ACEOF
58009 #define SIZEOF_SHORT $ac_cv_sizeof_short
58010 _ACEOF
58013 # The cast to long int works around a bug in the HP C Compiler
58014 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58015 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58016 # This bug is HP SR number 8606223364.
58017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58018 $as_echo_n "checking size of char... " >&6; }
58019 if test "${ac_cv_sizeof_char+set}" = set; then :
58020 $as_echo_n "(cached) " >&6
58021 else
58022 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
58024 else
58025 if test "$ac_cv_type_char" = yes; then
58026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58028 { as_fn_set_status 77
58029 as_fn_error "cannot compute sizeof (char)
58030 See \`config.log' for more details." "$LINENO" 5; }; }
58031 else
58032 ac_cv_sizeof_char=0
58037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58038 $as_echo "$ac_cv_sizeof_char" >&6; }
58042 cat >>confdefs.h <<_ACEOF
58043 #define SIZEOF_CHAR $ac_cv_sizeof_char
58044 _ACEOF
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58049 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58050 case "$ac_cv_sizeof_char" in
58051 1) acx_cv_type_int8_t=char ;;
58052 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
58053 esac
58054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58055 $as_echo "$acx_cv_type_int8_t" >&6; }
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58058 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58059 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58060 2:*) acx_cv_type_int16_t=int ;;
58061 *:2) acx_cv_type_int16_t=short ;;
58062 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
58063 esac
58064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58065 $as_echo "$acx_cv_type_int16_t" >&6; }
58067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58068 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58069 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58070 4:*) acx_cv_type_int32_t=int ;;
58071 *:4) acx_cv_type_int32_t=long ;;
58072 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
58073 esac
58074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58075 $as_echo "$acx_cv_type_int32_t" >&6; }
58078 # These tests are here to make the output prettier
58080 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58081 case "$ac_cv_sizeof_long" in
58082 8) acx_cv_type_int64_t=long ;;
58083 esac
58084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58085 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58087 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58090 # Now we can use the above types
58092 if test "$ac_cv_type_uintptr_t" != yes; then
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58094 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58095 case $ac_cv_sizeof_void_p in
58096 2) acx_cv_type_intptr_t=int16_t ;;
58097 4) acx_cv_type_intptr_t=int32_t ;;
58098 8) acx_cv_type_intptr_t=int64_t ;;
58099 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
58100 esac
58101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58102 $as_echo "$acx_cv_type_intptr_t" >&6; }
58105 # ----------------- done all checks, emit header -------------
58106 ac_config_commands="$ac_config_commands include/gstdint.h"
58111 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
58114 $as_echo_n "checking for GNU c++filt... " >&6; }
58115 if test "${ac_cv_path_CXXFILT+set}" = set; then :
58116 $as_echo_n "(cached) " >&6
58117 else
58118 if test -z "$CXXFILT"; then
58119 ac_path_CXXFILT_found=false
58120 # Loop through the user's path and test for each of PROGNAME-LIST
58121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58122 for as_dir in $PATH
58124 IFS=$as_save_IFS
58125 test -z "$as_dir" && as_dir=.
58126 for ac_prog in c++filt gc++filt; do
58127 for ac_exec_ext in '' $ac_executable_extensions; do
58128 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
58129 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
58130 # Check for GNU $ac_path_CXXFILT
58131 case `"$ac_path_CXXFILT" --version 2>&1` in
58132 *GNU*)
58133 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
58134 esac
58136 $ac_path_CXXFILT_found && break 3
58137 done
58138 done
58139 done
58140 IFS=$as_save_IFS
58141 if test -z "$ac_cv_path_CXXFILT"; then
58144 else
58145 ac_cv_path_CXXFILT=$CXXFILT
58149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
58150 $as_echo "$ac_cv_path_CXXFILT" >&6; }
58151 CXXFILT=$ac_cv_path_CXXFILT
58155 # Check whether --enable-symvers was given.
58156 if test "${enable_symvers+set}" = set; then :
58157 enableval=$enable_symvers;
58158 case "$enableval" in
58159 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
58160 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58161 esac
58163 else
58164 enable_symvers=yes
58169 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58170 # don't know enough about $LD to do tricks...
58172 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
58173 # with extern "C++" in version scripts.
58176 # Turn a 'yes' into a suitable default.
58177 if test x$enable_symvers = xyes ; then
58178 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58179 enable_symvers=no
58180 else
58181 if test $with_gnu_ld = yes ; then
58182 case ${target_os} in
58183 hpux*)
58184 enable_symvers=no ;;
58186 enable_symvers=gnu ;;
58187 esac
58188 else
58189 case ${target_os} in
58190 darwin*)
58191 enable_symvers=darwin ;;
58192 # Sun symbol versioning exists since Solaris 2.5.
58193 solaris2.[5-9]* | solaris2.1[0-9]*)
58194 # make_sunver.pl needs GNU c++filt to support extern "C++" in
58195 # version scripts, so disable symbol versioning if none can be
58196 # found.
58197 if test -z "$ac_cv_path_CXXFILT"; then
58198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58199 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
58201 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
58202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58203 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58204 enable_symvers=no
58205 else
58206 enable_symvers=sun
58210 enable_symvers=no ;;
58211 esac
58216 # Check to see if 'darwin' or 'darwin-export' can win.
58217 if test x$enable_symvers = xdarwin-export ; then
58218 enable_symvers=darwin
58221 # Check if 'sun' was requested on non-Solaris 2 platforms.
58222 if test x$enable_symvers = xsun ; then
58223 case ${target_os} in
58224 solaris2*)
58225 # All fine.
58228 # Unlikely to work.
58229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58230 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
58232 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
58233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58234 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58235 enable_symvers=no
58237 esac
58240 # Check to see if 'gnu' can win.
58241 if test $enable_symvers = gnu ||
58242 test $enable_symvers = gnu-versioned-namespace ||
58243 test $enable_symvers = sun; then
58244 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58246 $as_echo_n "checking for shared libgcc... " >&6; }
58247 ac_save_CFLAGS="$CFLAGS"
58248 CFLAGS=' -lgcc_s'
58249 if test x$gcc_no_link = xyes; then
58250 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58253 /* end confdefs.h. */
58256 main ()
58258 return 0;
58260 return 0;
58262 _ACEOF
58263 if ac_fn_c_try_link "$LINENO"; then :
58264 glibcxx_shared_libgcc=yes
58265 else
58266 glibcxx_shared_libgcc=no
58268 rm -f core conftest.err conftest.$ac_objext \
58269 conftest$ac_exeext conftest.$ac_ext
58270 CFLAGS="$ac_save_CFLAGS"
58271 if test $glibcxx_shared_libgcc = no; then
58272 cat > conftest.c <<EOF
58273 int main (void) { return 0; }
58275 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58276 -shared -shared-libgcc -o conftest.so \
58277 conftest.c -v 2>&1 >/dev/null \
58278 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58279 rm -f conftest.c conftest.so
58280 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58281 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58282 if test x$gcc_no_link = xyes; then
58283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58286 /* end confdefs.h. */
58289 main ()
58291 return 0;
58293 return 0;
58295 _ACEOF
58296 if ac_fn_c_try_link "$LINENO"; then :
58297 glibcxx_shared_libgcc=yes
58299 rm -f core conftest.err conftest.$ac_objext \
58300 conftest$ac_exeext conftest.$ac_ext
58301 CFLAGS="$ac_save_CFLAGS"
58304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58305 $as_echo "$glibcxx_shared_libgcc" >&6; }
58307 # For GNU ld, we need at least this version. The format is described in
58308 # GLIBCXX_CHECK_LINKER_FEATURES above.
58309 glibcxx_min_gnu_ld_version=21400
58311 # If no shared libgcc, can't win.
58312 if test $glibcxx_shared_libgcc != yes; then
58313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58314 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58316 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58318 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58319 enable_symvers=no
58320 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
58321 : All interesting versions of Sun ld support sun style symbol versioning.
58322 elif test $with_gnu_ld != yes ; then
58323 # just fail for now
58324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58325 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58327 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58329 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58330 enable_symvers=no
58331 elif test $glibcxx_ld_is_gold = yes ; then
58332 : All versions of gold support symbol versioning.
58333 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58334 # The right tools, the right setup, but too old. Fallbacks?
58335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58336 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58338 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58340 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58342 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58344 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58345 enable_symvers=no
58349 # Everything parsed; figure out what file to use.
58350 case $enable_symvers in
58352 SYMVER_FILE=config/abi/pre/none.ver
58354 gnu)
58355 SYMVER_FILE=config/abi/pre/gnu.ver
58357 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58360 gnu-versioned-namespace)
58361 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58363 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58366 darwin)
58367 SYMVER_FILE=config/abi/pre/gnu.ver
58369 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58372 sun)
58373 SYMVER_FILE=config/abi/pre/gnu.ver
58375 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
58378 esac
58380 if test x$enable_symvers != xno ; then
58382 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58387 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58388 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58389 $as_echo_n "(cached) " >&6
58390 else
58392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58393 /* end confdefs.h. */
58394 void foo (void); __asm (".symver foo, bar@SYMVER");
58396 main ()
58400 return 0;
58402 _ACEOF
58403 if ac_fn_c_try_compile "$LINENO"; then :
58404 glibcxx_cv_have_as_symver_directive=yes
58405 else
58406 glibcxx_cv_have_as_symver_directive=no
58408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58411 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58412 if test $glibcxx_cv_have_as_symver_directive = yes; then
58414 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58425 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58426 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58428 if test $enable_symvers != no ; then
58429 case ${target_os} in
58430 # The Solaris 2 runtime linker doesn't support the GNU extension of
58431 # binding the same symbol to different versions
58432 solaris2*)
58433 symvers_renaming=no ;;
58434 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
58437 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
58439 symvers_renaming=yes ;;
58440 esac
58444 # Now, set up compatibility support, if any.
58445 # In addition, need this to deal with std::size_t mangling in
58446 # src/compatibility.cc. In a perfect world, could use
58447 # typeid(std::size_t).name()[0] to do direct substitution.
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58449 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58450 ac_save_CFLAGS="$CFLAGS"
58451 CFLAGS="-Werror"
58452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58453 /* end confdefs.h. */
58456 main ()
58458 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58460 return 0;
58462 _ACEOF
58463 if ac_fn_c_try_compile "$LINENO"; then :
58464 glibcxx_size_t_is_i=yes
58465 else
58466 glibcxx_size_t_is_i=no
58468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58469 CFLAGS=$ac_save_CFLAGS
58470 if test "$glibcxx_size_t_is_i" = yes; then
58472 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58476 $as_echo "$glibcxx_size_t_is_i" >&6; }
58478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58479 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58480 ac_save_CFLAGS="$CFLAGS"
58481 CFLAGS="-Werror"
58482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58483 /* end confdefs.h. */
58486 main ()
58488 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58490 return 0;
58492 _ACEOF
58493 if ac_fn_c_try_compile "$LINENO"; then :
58494 glibcxx_ptrdiff_t_is_i=yes
58495 else
58496 glibcxx_ptrdiff_t_is_i=no
58498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58499 CFLAGS=$ac_save_CFLAGS
58500 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58502 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58506 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58509 # Check whether --enable-visibility was given.
58510 if test "${enable_visibility+set}" = set; then :
58511 enableval=$enable_visibility;
58512 case "$enableval" in
58513 yes|no) ;;
58514 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58515 esac
58517 else
58518 enable_visibility=yes
58523 if test x$enable_visibility = xyes ; then
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58525 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58526 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58527 $as_echo_n "(cached) " >&6
58528 else
58530 save_CFLAGS="$CFLAGS"
58531 CFLAGS="$CFLAGS -Werror"
58532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58533 /* end confdefs.h. */
58534 void __attribute__((visibility("hidden"))) foo(void) { }
58536 main ()
58540 return 0;
58542 _ACEOF
58543 if ac_fn_c_try_compile "$LINENO"; then :
58544 glibcxx_cv_have_attribute_visibility=yes
58545 else
58546 glibcxx_cv_have_attribute_visibility=no
58548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58549 CFLAGS="$save_CFLAGS"
58551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58552 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58553 if test $glibcxx_cv_have_attribute_visibility = no; then
58554 enable_visibility=no
58559 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58560 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58563 ac_ldbl_compat=no
58564 case "$target" in
58565 powerpc*-*-linux* | \
58566 powerpc*-*-gnu* | \
58567 sparc*-*-linux* | \
58568 s390*-*-linux* | \
58569 alpha*-*-linux*)
58570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58571 /* end confdefs.h. */
58574 main ()
58577 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58578 #error no need for long double compatibility
58579 #endif
58582 return 0;
58584 _ACEOF
58585 if ac_fn_c_try_compile "$LINENO"; then :
58586 ac_ldbl_compat=yes
58587 else
58588 ac_ldbl_compat=no
58590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58591 if test "$ac_ldbl_compat" = yes; then
58593 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58595 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58597 esac
58600 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58602 if $GLIBCXX_IS_NATIVE ; then
58603 # Do checks for resource limit functions.
58605 setrlimit_have_headers=yes
58606 for ac_header in unistd.h sys/time.h sys/resource.h
58607 do :
58608 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58609 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58610 eval as_val=\$$as_ac_Header
58611 if test "x$as_val" = x""yes; then :
58612 cat >>confdefs.h <<_ACEOF
58613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58614 _ACEOF
58616 else
58617 setrlimit_have_headers=no
58620 done
58622 # If don't have the headers, then we can't run the tests now, and we
58623 # won't be seeing any of these during testsuite compilation.
58624 if test $setrlimit_have_headers = yes; then
58625 # Can't do these in a loop, else the resulting syntax is wrong.
58627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58628 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58630 /* end confdefs.h. */
58631 #include <unistd.h>
58632 #include <sys/time.h>
58633 #include <sys/resource.h>
58636 main ()
58638 int f = RLIMIT_DATA ;
58640 return 0;
58642 _ACEOF
58643 if ac_fn_c_try_compile "$LINENO"; then :
58644 glibcxx_mresult=1
58645 else
58646 glibcxx_mresult=0
58648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58650 cat >>confdefs.h <<_ACEOF
58651 #define HAVE_LIMIT_DATA $glibcxx_mresult
58652 _ACEOF
58654 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58656 $as_echo "$res" >&6; }
58659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58660 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58662 /* end confdefs.h. */
58663 #include <unistd.h>
58664 #include <sys/time.h>
58665 #include <sys/resource.h>
58668 main ()
58670 int f = RLIMIT_RSS ;
58672 return 0;
58674 _ACEOF
58675 if ac_fn_c_try_compile "$LINENO"; then :
58676 glibcxx_mresult=1
58677 else
58678 glibcxx_mresult=0
58680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58682 cat >>confdefs.h <<_ACEOF
58683 #define HAVE_LIMIT_RSS $glibcxx_mresult
58684 _ACEOF
58686 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58688 $as_echo "$res" >&6; }
58691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58692 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58694 /* end confdefs.h. */
58695 #include <unistd.h>
58696 #include <sys/time.h>
58697 #include <sys/resource.h>
58700 main ()
58702 int f = RLIMIT_VMEM ;
58704 return 0;
58706 _ACEOF
58707 if ac_fn_c_try_compile "$LINENO"; then :
58708 glibcxx_mresult=1
58709 else
58710 glibcxx_mresult=0
58712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58714 cat >>confdefs.h <<_ACEOF
58715 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58716 _ACEOF
58718 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58720 $as_echo "$res" >&6; }
58723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58724 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58726 /* end confdefs.h. */
58727 #include <unistd.h>
58728 #include <sys/time.h>
58729 #include <sys/resource.h>
58732 main ()
58734 int f = RLIMIT_AS ;
58736 return 0;
58738 _ACEOF
58739 if ac_fn_c_try_compile "$LINENO"; then :
58740 glibcxx_mresult=1
58741 else
58742 glibcxx_mresult=0
58744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58746 cat >>confdefs.h <<_ACEOF
58747 #define HAVE_LIMIT_AS $glibcxx_mresult
58748 _ACEOF
58750 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58752 $as_echo "$res" >&6; }
58755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58756 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58758 /* end confdefs.h. */
58759 #include <unistd.h>
58760 #include <sys/time.h>
58761 #include <sys/resource.h>
58764 main ()
58766 int f = RLIMIT_FSIZE ;
58768 return 0;
58770 _ACEOF
58771 if ac_fn_c_try_compile "$LINENO"; then :
58772 glibcxx_mresult=1
58773 else
58774 glibcxx_mresult=0
58776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58778 cat >>confdefs.h <<_ACEOF
58779 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58780 _ACEOF
58782 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58784 $as_echo "$res" >&6; }
58787 # Check for rlimit, setrlimit.
58788 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58789 $as_echo_n "(cached) " >&6
58790 else
58792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58793 /* end confdefs.h. */
58794 #include <unistd.h>
58795 #include <sys/time.h>
58796 #include <sys/resource.h>
58799 main ()
58801 struct rlimit r;
58802 setrlimit(0, &r);
58804 return 0;
58806 _ACEOF
58807 if ac_fn_c_try_compile "$LINENO"; then :
58808 glibcxx_cv_setrlimit=yes
58809 else
58810 glibcxx_cv_setrlimit=no
58812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58819 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58820 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58821 ac_res_limits=yes
58823 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58825 else
58826 ac_res_limits=no
58828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58829 $as_echo "$ac_res_limits" >&6; }
58832 # Look for setenv, so that extended locale tests can be performed.
58834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58835 $as_echo_n "checking for setenv declaration... " >&6; }
58836 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58837 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58838 $as_echo_n "(cached) " >&6
58839 else
58842 ac_ext=cpp
58843 ac_cpp='$CXXCPP $CPPFLAGS'
58844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58849 /* end confdefs.h. */
58850 #include <stdlib.h>
58852 main ()
58854 setenv(0, 0, 0);
58856 return 0;
58858 _ACEOF
58859 if ac_fn_cxx_try_compile "$LINENO"; then :
58860 glibcxx_cv_func_setenv_use=yes
58861 else
58862 glibcxx_cv_func_setenv_use=no
58864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58865 ac_ext=c
58866 ac_cpp='$CPP $CPPFLAGS'
58867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58876 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58877 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58878 for ac_func in setenv
58879 do :
58880 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58881 if test "x$ac_cv_func_setenv" = x""yes; then :
58882 cat >>confdefs.h <<_ACEOF
58883 #define HAVE_SETENV 1
58884 _ACEOF
58887 done
58893 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58894 test $enable_symvers != no; then
58895 case "$host" in
58896 *-*-cygwin*)
58897 enable_abi_check=no ;;
58899 enable_abi_check=yes ;;
58900 esac
58901 else
58902 # Only build this as native, since automake does not understand
58903 # CXX_FOR_BUILD.
58904 enable_abi_check=no
58907 # Export file names for ABI checking.
58908 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58912 # Propagate the target-specific source directories through the build chain.
58913 ATOMICITY_SRCDIR=config/${atomicity_dir}
58914 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58915 ATOMIC_FLAGS=${atomic_flags}
58916 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58917 OS_INC_SRCDIR=config/${os_include_dir}
58918 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58919 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58929 # Determine cross-compile flags and AM_CONDITIONALs.
58930 #AC_SUBST(GLIBCXX_IS_NATIVE)
58931 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58932 if test $is_hosted = yes; then
58933 GLIBCXX_HOSTED_TRUE=
58934 GLIBCXX_HOSTED_FALSE='#'
58935 else
58936 GLIBCXX_HOSTED_TRUE='#'
58937 GLIBCXX_HOSTED_FALSE=
58941 if test $enable_libstdcxx_pch = yes; then
58942 GLIBCXX_BUILD_PCH_TRUE=
58943 GLIBCXX_BUILD_PCH_FALSE='#'
58944 else
58945 GLIBCXX_BUILD_PCH_TRUE='#'
58946 GLIBCXX_BUILD_PCH_FALSE=
58950 if test $enable_cheaders = c; then
58951 GLIBCXX_C_HEADERS_C_TRUE=
58952 GLIBCXX_C_HEADERS_C_FALSE='#'
58953 else
58954 GLIBCXX_C_HEADERS_C_TRUE='#'
58955 GLIBCXX_C_HEADERS_C_FALSE=
58959 if test $enable_cheaders = c_std; then
58960 GLIBCXX_C_HEADERS_C_STD_TRUE=
58961 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58962 else
58963 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58964 GLIBCXX_C_HEADERS_C_STD_FALSE=
58968 if test $enable_cheaders = c_global; then
58969 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58970 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58971 else
58972 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58973 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58977 if test $c_compatibility = yes; then
58978 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58979 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58980 else
58981 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58982 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58986 if test $enable_libstdcxx_debug = yes; then
58987 GLIBCXX_BUILD_DEBUG_TRUE=
58988 GLIBCXX_BUILD_DEBUG_FALSE='#'
58989 else
58990 GLIBCXX_BUILD_DEBUG_TRUE='#'
58991 GLIBCXX_BUILD_DEBUG_FALSE=
58995 if test $enable_parallel = yes; then
58996 ENABLE_PARALLEL_TRUE=
58997 ENABLE_PARALLEL_FALSE='#'
58998 else
58999 ENABLE_PARALLEL_TRUE='#'
59000 ENABLE_PARALLEL_FALSE=
59004 if test $enable_symvers != no; then
59005 ENABLE_SYMVERS_TRUE=
59006 ENABLE_SYMVERS_FALSE='#'
59007 else
59008 ENABLE_SYMVERS_TRUE='#'
59009 ENABLE_SYMVERS_FALSE=
59013 if test $enable_symvers = gnu; then
59014 ENABLE_SYMVERS_GNU_TRUE=
59015 ENABLE_SYMVERS_GNU_FALSE='#'
59016 else
59017 ENABLE_SYMVERS_GNU_TRUE='#'
59018 ENABLE_SYMVERS_GNU_FALSE=
59022 if test $enable_symvers = gnu-versioned-namespace; then
59023 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
59024 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
59025 else
59026 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
59027 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
59031 if test $enable_symvers = darwin; then
59032 ENABLE_SYMVERS_DARWIN_TRUE=
59033 ENABLE_SYMVERS_DARWIN_FALSE='#'
59034 else
59035 ENABLE_SYMVERS_DARWIN_TRUE='#'
59036 ENABLE_SYMVERS_DARWIN_FALSE=
59040 if test $enable_symvers = sun; then
59041 ENABLE_SYMVERS_SUN_TRUE=
59042 ENABLE_SYMVERS_SUN_FALSE='#'
59043 else
59044 ENABLE_SYMVERS_SUN_TRUE='#'
59045 ENABLE_SYMVERS_SUN_FALSE=
59049 if test $symvers_renaming = no; then
59050 ENABLE_SYMVERS_SOL2_TRUE=
59051 ENABLE_SYMVERS_SOL2_FALSE='#'
59052 else
59053 ENABLE_SYMVERS_SOL2_TRUE='#'
59054 ENABLE_SYMVERS_SOL2_FALSE=
59058 if test $enable_visibility = yes; then
59059 ENABLE_VISIBILITY_TRUE=
59060 ENABLE_VISIBILITY_FALSE='#'
59061 else
59062 ENABLE_VISIBILITY_TRUE='#'
59063 ENABLE_VISIBILITY_FALSE=
59067 if test $ac_ldbl_compat = yes; then
59068 GLIBCXX_LDBL_COMPAT_TRUE=
59069 GLIBCXX_LDBL_COMPAT_FALSE='#'
59070 else
59071 GLIBCXX_LDBL_COMPAT_TRUE='#'
59072 GLIBCXX_LDBL_COMPAT_FALSE=
59078 cat >confcache <<\_ACEOF
59079 # This file is a shell script that caches the results of configure
59080 # tests run on this system so they can be shared between configure
59081 # scripts and configure runs, see configure's option --config-cache.
59082 # It is not useful on other systems. If it contains results you don't
59083 # want to keep, you may remove or edit it.
59085 # config.status only pays attention to the cache file if you give it
59086 # the --recheck option to rerun configure.
59088 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59089 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59090 # following values.
59092 _ACEOF
59094 # The following way of writing the cache mishandles newlines in values,
59095 # but we know of no workaround that is simple, portable, and efficient.
59096 # So, we kill variables containing newlines.
59097 # Ultrix sh set writes to stderr and can't be redirected directly,
59098 # and sets the high bit in the cache file unless we assign to the vars.
59100 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59101 eval ac_val=\$$ac_var
59102 case $ac_val in #(
59103 *${as_nl}*)
59104 case $ac_var in #(
59105 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59106 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59107 esac
59108 case $ac_var in #(
59109 _ | IFS | as_nl) ;; #(
59110 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59111 *) { eval $ac_var=; unset $ac_var;} ;;
59112 esac ;;
59113 esac
59114 done
59116 (set) 2>&1 |
59117 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59118 *${as_nl}ac_space=\ *)
59119 # `set' does not quote correctly, so add quotes: double-quote
59120 # substitution turns \\\\ into \\, and sed turns \\ into \.
59121 sed -n \
59122 "s/'/'\\\\''/g;
59123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59124 ;; #(
59126 # `set' quotes correctly as required by POSIX, so do not add quotes.
59127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59129 esac |
59130 sort
59132 sed '
59133 /^ac_cv_env_/b end
59134 t clear
59135 :clear
59136 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59137 t end
59138 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59139 :end' >>confcache
59140 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59141 if test -w "$cache_file"; then
59142 test "x$cache_file" != "x/dev/null" &&
59143 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59144 $as_echo "$as_me: updating cache $cache_file" >&6;}
59145 cat confcache >$cache_file
59146 else
59147 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59148 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59151 rm -f confcache
59153 if test ${multilib} = yes; then
59154 multilib_arg="--enable-multilib"
59155 else
59156 multilib_arg=
59159 # Export all the install information.
59161 glibcxx_toolexecdir=no
59162 glibcxx_toolexeclibdir=no
59163 glibcxx_prefixdir=$prefix
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59166 $as_echo_n "checking for gxx-include-dir... " >&6; }
59168 # Check whether --with-gxx-include-dir was given.
59169 if test "${with_gxx_include_dir+set}" = set; then :
59170 withval=$with_gxx_include_dir; case "$withval" in
59171 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59172 no) gxx_include_dir=no ;;
59173 *) gxx_include_dir=$withval ;;
59174 esac
59175 else
59176 gxx_include_dir=no
59179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59180 $as_echo "$gxx_include_dir" >&6; }
59182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59183 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59184 # Check whether --enable-version-specific-runtime-libs was given.
59185 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59186 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59187 yes) version_specific_libs=yes ;;
59188 no) version_specific_libs=no ;;
59189 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59190 esac
59191 else
59192 version_specific_libs=no
59195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59196 $as_echo "$version_specific_libs" >&6; }
59198 # Default case for install directory for include files.
59199 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59200 gxx_include_dir='include/c++/${gcc_version}'
59201 if test -n "$with_cross_host" &&
59202 test x"$with_cross_host" != x"no"; then
59203 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59204 else
59205 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59209 # Version-specific runtime libs processing.
59210 if test $version_specific_libs = yes; then
59211 # Need the gcc compiler version to know where to install libraries
59212 # and header files if --enable-version-specific-runtime-libs option
59213 # is selected. FIXME: these variables are misnamed, there are
59214 # no executables installed in _toolexecdir or _toolexeclibdir.
59215 if test x"$gxx_include_dir" = x"no"; then
59216 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59218 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59219 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59222 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59223 # Install a library built with a cross compiler in tooldir, not libdir.
59224 if test x"$glibcxx_toolexecdir" = x"no"; then
59225 if test -n "$with_cross_host" &&
59226 test x"$with_cross_host" != x"no"; then
59227 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59228 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59229 else
59230 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59231 glibcxx_toolexeclibdir='${libdir}'
59233 multi_os_directory=`$CXX -print-multi-os-directory`
59234 case $multi_os_directory in
59235 .) ;; # Avoid trailing /.
59236 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59237 esac
59240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59241 $as_echo_n "checking for install location... " >&6; }
59242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59243 $as_echo "$gxx_include_dir" >&6; }
59251 # Export all the include and flag information to Makefiles.
59253 # Used for every C++ compile we perform.
59254 GLIBCXX_INCLUDES="\
59255 -I$glibcxx_builddir/include/$host_alias \
59256 -I$glibcxx_builddir/include \
59257 -I$glibcxx_srcdir/libsupc++"
59259 # For Canadian crosses, pick this up too.
59260 if test $CANADIAN = yes; then
59261 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59264 # Stuff in the actual top level. Currently only used by libsupc++ to
59265 # get unwind* headers from the gcc dir.
59266 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59267 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59269 # Now, export this to all the little Makefiles....
59274 # Optimization flags that are probably a good idea for thrill-seekers. Just
59275 # uncomment the lines below and make, everything else is ready to go...
59276 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59277 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59280 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59284 if test "$enable_shared" = yes; then
59285 LIBSUPCXX_PICFLAGS="-prefer-pic"
59286 else
59287 LIBSUPCXX_PICFLAGS=
59291 ac_config_files="$ac_config_files Makefile"
59293 ac_config_files="$ac_config_files scripts/testsuite_flags"
59296 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59297 # that multilib installs will end up installed in the correct place.
59298 # The testsuite needs it for multilib-aware ABI baseline files.
59299 # To work around this not being passed down from config-ml.in ->
59300 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59301 # append it here. Only modify Makefiles that have just been created.
59303 # Also, get rid of this simulated-VPATH thing that automake does.
59304 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59307 ac_config_commands="$ac_config_commands generate-headers"
59310 cat >confcache <<\_ACEOF
59311 # This file is a shell script that caches the results of configure
59312 # tests run on this system so they can be shared between configure
59313 # scripts and configure runs, see configure's option --config-cache.
59314 # It is not useful on other systems. If it contains results you don't
59315 # want to keep, you may remove or edit it.
59317 # config.status only pays attention to the cache file if you give it
59318 # the --recheck option to rerun configure.
59320 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59321 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59322 # following values.
59324 _ACEOF
59326 # The following way of writing the cache mishandles newlines in values,
59327 # but we know of no workaround that is simple, portable, and efficient.
59328 # So, we kill variables containing newlines.
59329 # Ultrix sh set writes to stderr and can't be redirected directly,
59330 # and sets the high bit in the cache file unless we assign to the vars.
59332 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59333 eval ac_val=\$$ac_var
59334 case $ac_val in #(
59335 *${as_nl}*)
59336 case $ac_var in #(
59337 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59339 esac
59340 case $ac_var in #(
59341 _ | IFS | as_nl) ;; #(
59342 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59343 *) { eval $ac_var=; unset $ac_var;} ;;
59344 esac ;;
59345 esac
59346 done
59348 (set) 2>&1 |
59349 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59350 *${as_nl}ac_space=\ *)
59351 # `set' does not quote correctly, so add quotes: double-quote
59352 # substitution turns \\\\ into \\, and sed turns \\ into \.
59353 sed -n \
59354 "s/'/'\\\\''/g;
59355 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59356 ;; #(
59358 # `set' quotes correctly as required by POSIX, so do not add quotes.
59359 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59361 esac |
59362 sort
59364 sed '
59365 /^ac_cv_env_/b end
59366 t clear
59367 :clear
59368 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59369 t end
59370 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59371 :end' >>confcache
59372 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59373 if test -w "$cache_file"; then
59374 test "x$cache_file" != "x/dev/null" &&
59375 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59376 $as_echo "$as_me: updating cache $cache_file" >&6;}
59377 cat confcache >$cache_file
59378 else
59379 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59380 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59383 rm -f confcache
59385 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59386 # Let make expand exec_prefix.
59387 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59389 DEFS=-DHAVE_CONFIG_H
59391 ac_libobjs=
59392 ac_ltlibobjs=
59393 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59394 # 1. Remove the extension, and $U if already installed.
59395 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59396 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59397 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59398 # will be set to the directory where LIBOBJS objects are built.
59399 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59400 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59401 done
59402 LIBOBJS=$ac_libobjs
59404 LTLIBOBJS=$ac_ltlibobjs
59407 if test -n "$EXEEXT"; then
59408 am__EXEEXT_TRUE=
59409 am__EXEEXT_FALSE='#'
59410 else
59411 am__EXEEXT_TRUE='#'
59412 am__EXEEXT_FALSE=
59415 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59416 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59419 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59420 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59423 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59424 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59427 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59428 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59431 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59432 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59435 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59436 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59439 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59440 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59443 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59444 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59447 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59448 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59451 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59452 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59455 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59456 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59459 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59460 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59463 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59464 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59467 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
59468 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
59469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59471 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
59472 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
59473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59475 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59476 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59479 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59480 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59484 : ${CONFIG_STATUS=./config.status}
59485 ac_write_fail=0
59486 ac_clean_files_save=$ac_clean_files
59487 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59488 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59489 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59490 as_write_fail=0
59491 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59492 #! $SHELL
59493 # Generated by $as_me.
59494 # Run this file to recreate the current configuration.
59495 # Compiler output produced by configure, useful for debugging
59496 # configure, is in config.log if it exists.
59498 debug=false
59499 ac_cs_recheck=false
59500 ac_cs_silent=false
59502 SHELL=\${CONFIG_SHELL-$SHELL}
59503 export SHELL
59504 _ASEOF
59505 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59506 ## -------------------- ##
59507 ## M4sh Initialization. ##
59508 ## -------------------- ##
59510 # Be more Bourne compatible
59511 DUALCASE=1; export DUALCASE # for MKS sh
59512 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59513 emulate sh
59514 NULLCMD=:
59515 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59516 # is contrary to our usage. Disable this feature.
59517 alias -g '${1+"$@"}'='"$@"'
59518 setopt NO_GLOB_SUBST
59519 else
59520 case `(set -o) 2>/dev/null` in #(
59521 *posix*) :
59522 set -o posix ;; #(
59523 *) :
59525 esac
59529 as_nl='
59531 export as_nl
59532 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59533 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59534 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59535 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59536 # Prefer a ksh shell builtin over an external printf program on Solaris,
59537 # but without wasting forks for bash or zsh.
59538 if test -z "$BASH_VERSION$ZSH_VERSION" \
59539 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59540 as_echo='print -r --'
59541 as_echo_n='print -rn --'
59542 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59543 as_echo='printf %s\n'
59544 as_echo_n='printf %s'
59545 else
59546 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59547 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59548 as_echo_n='/usr/ucb/echo -n'
59549 else
59550 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59551 as_echo_n_body='eval
59552 arg=$1;
59553 case $arg in #(
59554 *"$as_nl"*)
59555 expr "X$arg" : "X\\(.*\\)$as_nl";
59556 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59557 esac;
59558 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59560 export as_echo_n_body
59561 as_echo_n='sh -c $as_echo_n_body as_echo'
59563 export as_echo_body
59564 as_echo='sh -c $as_echo_body as_echo'
59567 # The user is always right.
59568 if test "${PATH_SEPARATOR+set}" != set; then
59569 PATH_SEPARATOR=:
59570 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59571 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59572 PATH_SEPARATOR=';'
59577 # IFS
59578 # We need space, tab and new line, in precisely that order. Quoting is
59579 # there to prevent editors from complaining about space-tab.
59580 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59581 # splitting by setting IFS to empty value.)
59582 IFS=" "" $as_nl"
59584 # Find who we are. Look in the path if we contain no directory separator.
59585 case $0 in #((
59586 *[\\/]* ) as_myself=$0 ;;
59587 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59588 for as_dir in $PATH
59590 IFS=$as_save_IFS
59591 test -z "$as_dir" && as_dir=.
59592 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59593 done
59594 IFS=$as_save_IFS
59597 esac
59598 # We did not find ourselves, most probably we were run as `sh COMMAND'
59599 # in which case we are not to be found in the path.
59600 if test "x$as_myself" = x; then
59601 as_myself=$0
59603 if test ! -f "$as_myself"; then
59604 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59605 exit 1
59608 # Unset variables that we do not need and which cause bugs (e.g. in
59609 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59610 # suppresses any "Segmentation fault" message there. '((' could
59611 # trigger a bug in pdksh 5.2.14.
59612 for as_var in BASH_ENV ENV MAIL MAILPATH
59613 do eval test x\${$as_var+set} = xset \
59614 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59615 done
59616 PS1='$ '
59617 PS2='> '
59618 PS4='+ '
59620 # NLS nuisances.
59621 LC_ALL=C
59622 export LC_ALL
59623 LANGUAGE=C
59624 export LANGUAGE
59626 # CDPATH.
59627 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59630 # as_fn_error ERROR [LINENO LOG_FD]
59631 # ---------------------------------
59632 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59633 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59634 # script with status $?, using 1 if that was 0.
59635 as_fn_error ()
59637 as_status=$?; test $as_status -eq 0 && as_status=1
59638 if test "$3"; then
59639 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59640 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59642 $as_echo "$as_me: error: $1" >&2
59643 as_fn_exit $as_status
59644 } # as_fn_error
59647 # as_fn_set_status STATUS
59648 # -----------------------
59649 # Set $? to STATUS, without forking.
59650 as_fn_set_status ()
59652 return $1
59653 } # as_fn_set_status
59655 # as_fn_exit STATUS
59656 # -----------------
59657 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59658 as_fn_exit ()
59660 set +e
59661 as_fn_set_status $1
59662 exit $1
59663 } # as_fn_exit
59665 # as_fn_unset VAR
59666 # ---------------
59667 # Portably unset VAR.
59668 as_fn_unset ()
59670 { eval $1=; unset $1;}
59672 as_unset=as_fn_unset
59673 # as_fn_append VAR VALUE
59674 # ----------------------
59675 # Append the text in VALUE to the end of the definition contained in VAR. Take
59676 # advantage of any shell optimizations that allow amortized linear growth over
59677 # repeated appends, instead of the typical quadratic growth present in naive
59678 # implementations.
59679 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59680 eval 'as_fn_append ()
59682 eval $1+=\$2
59684 else
59685 as_fn_append ()
59687 eval $1=\$$1\$2
59689 fi # as_fn_append
59691 # as_fn_arith ARG...
59692 # ------------------
59693 # Perform arithmetic evaluation on the ARGs, and store the result in the
59694 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59695 # must be portable across $(()) and expr.
59696 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59697 eval 'as_fn_arith ()
59699 as_val=$(( $* ))
59701 else
59702 as_fn_arith ()
59704 as_val=`expr "$@" || test $? -eq 1`
59706 fi # as_fn_arith
59709 if expr a : '\(a\)' >/dev/null 2>&1 &&
59710 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59711 as_expr=expr
59712 else
59713 as_expr=false
59716 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59717 as_basename=basename
59718 else
59719 as_basename=false
59722 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59723 as_dirname=dirname
59724 else
59725 as_dirname=false
59728 as_me=`$as_basename -- "$0" ||
59729 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59730 X"$0" : 'X\(//\)$' \| \
59731 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59732 $as_echo X/"$0" |
59733 sed '/^.*\/\([^/][^/]*\)\/*$/{
59734 s//\1/
59737 /^X\/\(\/\/\)$/{
59738 s//\1/
59741 /^X\/\(\/\).*/{
59742 s//\1/
59745 s/.*/./; q'`
59747 # Avoid depending upon Character Ranges.
59748 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59749 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59750 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59751 as_cr_digits='0123456789'
59752 as_cr_alnum=$as_cr_Letters$as_cr_digits
59754 ECHO_C= ECHO_N= ECHO_T=
59755 case `echo -n x` in #(((((
59756 -n*)
59757 case `echo 'xy\c'` in
59758 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59759 xy) ECHO_C='\c';;
59760 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59761 ECHO_T=' ';;
59762 esac;;
59764 ECHO_N='-n';;
59765 esac
59767 rm -f conf$$ conf$$.exe conf$$.file
59768 if test -d conf$$.dir; then
59769 rm -f conf$$.dir/conf$$.file
59770 else
59771 rm -f conf$$.dir
59772 mkdir conf$$.dir 2>/dev/null
59774 if (echo >conf$$.file) 2>/dev/null; then
59775 if ln -s conf$$.file conf$$ 2>/dev/null; then
59776 as_ln_s='ln -s'
59777 # ... but there are two gotchas:
59778 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59779 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59780 # In both cases, we have to default to `cp -p'.
59781 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59782 as_ln_s='cp -p'
59783 elif ln conf$$.file conf$$ 2>/dev/null; then
59784 as_ln_s=ln
59785 else
59786 as_ln_s='cp -p'
59788 else
59789 as_ln_s='cp -p'
59791 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59792 rmdir conf$$.dir 2>/dev/null
59795 # as_fn_mkdir_p
59796 # -------------
59797 # Create "$as_dir" as a directory, including parents if necessary.
59798 as_fn_mkdir_p ()
59801 case $as_dir in #(
59802 -*) as_dir=./$as_dir;;
59803 esac
59804 test -d "$as_dir" || eval $as_mkdir_p || {
59805 as_dirs=
59806 while :; do
59807 case $as_dir in #(
59808 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59809 *) as_qdir=$as_dir;;
59810 esac
59811 as_dirs="'$as_qdir' $as_dirs"
59812 as_dir=`$as_dirname -- "$as_dir" ||
59813 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59814 X"$as_dir" : 'X\(//\)[^/]' \| \
59815 X"$as_dir" : 'X\(//\)$' \| \
59816 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59817 $as_echo X"$as_dir" |
59818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59819 s//\1/
59822 /^X\(\/\/\)[^/].*/{
59823 s//\1/
59826 /^X\(\/\/\)$/{
59827 s//\1/
59830 /^X\(\/\).*/{
59831 s//\1/
59834 s/.*/./; q'`
59835 test -d "$as_dir" && break
59836 done
59837 test -z "$as_dirs" || eval "mkdir $as_dirs"
59838 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59841 } # as_fn_mkdir_p
59842 if mkdir -p . 2>/dev/null; then
59843 as_mkdir_p='mkdir -p "$as_dir"'
59844 else
59845 test -d ./-p && rmdir ./-p
59846 as_mkdir_p=false
59849 if test -x / >/dev/null 2>&1; then
59850 as_test_x='test -x'
59851 else
59852 if ls -dL / >/dev/null 2>&1; then
59853 as_ls_L_option=L
59854 else
59855 as_ls_L_option=
59857 as_test_x='
59858 eval sh -c '\''
59859 if test -d "$1"; then
59860 test -d "$1/.";
59861 else
59862 case $1 in #(
59863 -*)set "./$1";;
59864 esac;
59865 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59866 ???[sx]*):;;*)false;;esac;fi
59867 '\'' sh
59870 as_executable_p=$as_test_x
59872 # Sed expression to map a string onto a valid CPP name.
59873 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59875 # Sed expression to map a string onto a valid variable name.
59876 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59879 exec 6>&1
59880 ## ----------------------------------- ##
59881 ## Main body of $CONFIG_STATUS script. ##
59882 ## ----------------------------------- ##
59883 _ASEOF
59884 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59887 # Save the log message, to keep $0 and so on meaningful, and to
59888 # report actual input values of CONFIG_FILES etc. instead of their
59889 # values after options handling.
59890 ac_log="
59891 This file was extended by package-unused $as_me version-unused, which was
59892 generated by GNU Autoconf 2.64. Invocation command line was
59894 CONFIG_FILES = $CONFIG_FILES
59895 CONFIG_HEADERS = $CONFIG_HEADERS
59896 CONFIG_LINKS = $CONFIG_LINKS
59897 CONFIG_COMMANDS = $CONFIG_COMMANDS
59898 $ $0 $@
59900 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59903 _ACEOF
59905 case $ac_config_files in *"
59906 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59907 esac
59909 case $ac_config_headers in *"
59910 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59911 esac
59914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59915 # Files that config.status was made for.
59916 config_files="$ac_config_files"
59917 config_headers="$ac_config_headers"
59918 config_commands="$ac_config_commands"
59920 _ACEOF
59922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59923 ac_cs_usage="\
59924 \`$as_me' instantiates files and other configuration actions
59925 from templates according to the current configuration. Unless the files
59926 and actions are specified as TAGs, all are instantiated by default.
59928 Usage: $0 [OPTION]... [TAG]...
59930 -h, --help print this help, then exit
59931 -V, --version print version number and configuration settings, then exit
59932 -q, --quiet, --silent
59933 do not print progress messages
59934 -d, --debug don't remove temporary files
59935 --recheck update $as_me by reconfiguring in the same conditions
59936 --file=FILE[:TEMPLATE]
59937 instantiate the configuration file FILE
59938 --header=FILE[:TEMPLATE]
59939 instantiate the configuration header FILE
59941 Configuration files:
59942 $config_files
59944 Configuration headers:
59945 $config_headers
59947 Configuration commands:
59948 $config_commands
59950 Report bugs to the package provider."
59952 _ACEOF
59953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59954 ac_cs_version="\\
59955 package-unused config.status version-unused
59956 configured by $0, generated by GNU Autoconf 2.64,
59957 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59959 Copyright (C) 2009 Free Software Foundation, Inc.
59960 This config.status script is free software; the Free Software Foundation
59961 gives unlimited permission to copy, distribute and modify it."
59963 ac_pwd='$ac_pwd'
59964 srcdir='$srcdir'
59965 INSTALL='$INSTALL'
59966 MKDIR_P='$MKDIR_P'
59967 AWK='$AWK'
59968 test -n "\$AWK" || AWK=awk
59969 _ACEOF
59971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59972 # The default lists apply if the user does not specify any file.
59973 ac_need_defaults=:
59974 while test $# != 0
59976 case $1 in
59977 --*=*)
59978 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59979 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59980 ac_shift=:
59983 ac_option=$1
59984 ac_optarg=$2
59985 ac_shift=shift
59987 esac
59989 case $ac_option in
59990 # Handling of the options.
59991 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59992 ac_cs_recheck=: ;;
59993 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59994 $as_echo "$ac_cs_version"; exit ;;
59995 --debug | --debu | --deb | --de | --d | -d )
59996 debug=: ;;
59997 --file | --fil | --fi | --f )
59998 $ac_shift
59999 case $ac_optarg in
60000 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60001 esac
60002 as_fn_append CONFIG_FILES " '$ac_optarg'"
60003 ac_need_defaults=false;;
60004 --header | --heade | --head | --hea )
60005 $ac_shift
60006 case $ac_optarg in
60007 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60008 esac
60009 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
60010 ac_need_defaults=false;;
60011 --he | --h)
60012 # Conflict between --help and --header
60013 as_fn_error "ambiguous option: \`$1'
60014 Try \`$0 --help' for more information.";;
60015 --help | --hel | -h )
60016 $as_echo "$ac_cs_usage"; exit ;;
60017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
60018 | -silent | --silent | --silen | --sile | --sil | --si | --s)
60019 ac_cs_silent=: ;;
60021 # This is an error.
60022 -*) as_fn_error "unrecognized option: \`$1'
60023 Try \`$0 --help' for more information." ;;
60025 *) as_fn_append ac_config_targets " $1"
60026 ac_need_defaults=false ;;
60028 esac
60029 shift
60030 done
60032 ac_configure_extra_args=
60034 if $ac_cs_silent; then
60035 exec 6>/dev/null
60036 ac_configure_extra_args="$ac_configure_extra_args --silent"
60039 _ACEOF
60040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60041 if \$ac_cs_recheck; then
60042 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
60043 shift
60044 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
60045 CONFIG_SHELL='$SHELL'
60046 export CONFIG_SHELL
60047 exec "\$@"
60050 _ACEOF
60051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60052 exec 5>>config.log
60054 echo
60055 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
60056 ## Running $as_me. ##
60057 _ASBOX
60058 $as_echo "$ac_log"
60059 } >&5
60061 _ACEOF
60062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60064 # INIT-COMMANDS
60067 srcdir="$srcdir"
60068 host="$host"
60069 target="$target"
60070 with_multisubdir="$with_multisubdir"
60071 with_multisrctop="$with_multisrctop"
60072 with_target_subdir="$with_target_subdir"
60073 ac_configure_args="${multilib_arg} ${ac_configure_args}"
60074 multi_basedir="$multi_basedir"
60075 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
60076 CC="$CC"
60077 CXX="$CXX"
60078 GFORTRAN="$GFORTRAN"
60079 GCJ="$GCJ"
60082 # The HP-UX ksh and POSIX shell print the target directory to stdout
60083 # if CDPATH is set.
60084 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
60086 sed_quote_subst='$sed_quote_subst'
60087 double_quote_subst='$double_quote_subst'
60088 delay_variable_subst='$delay_variable_subst'
60089 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
60090 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
60091 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
60092 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
60093 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
60094 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
60095 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
60096 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
60097 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
60098 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
60099 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
60100 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
60101 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
60102 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
60103 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
60104 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
60105 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
60106 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
60107 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
60108 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
60109 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
60110 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
60111 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
60112 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
60113 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
60114 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
60115 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
60116 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
60117 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
60118 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
60119 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
60120 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
60121 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
60122 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
60123 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60124 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60125 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60126 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60127 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60128 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60129 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60130 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60131 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60132 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60133 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60134 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60135 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60136 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60137 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"`'
60138 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60139 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60140 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60141 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60142 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60143 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60144 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60145 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60146 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60147 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60148 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60149 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60150 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60151 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60152 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60153 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60154 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60155 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60156 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60157 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60158 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60159 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60160 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60161 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60162 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60163 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60164 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60165 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60166 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60167 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60168 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60169 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60170 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60171 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60172 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60173 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60174 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60175 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60176 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60177 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60178 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60179 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60180 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60181 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60182 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60183 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60184 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60185 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60186 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60187 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60188 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60189 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60190 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60191 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60192 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60193 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60194 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60195 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60196 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60197 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60198 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60199 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60200 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60201 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60202 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60203 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60204 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60205 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60206 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60207 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60208 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60209 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60210 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60211 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60212 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60213 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60214 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60215 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60216 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60217 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60218 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60219 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60220 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60221 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60222 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60223 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60224 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60225 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60226 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60227 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60228 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60229 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60230 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60231 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60232 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60233 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60234 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60235 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60236 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60237 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60238 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60239 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60240 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60241 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60242 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60243 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60244 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60245 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60246 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60247 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60248 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60249 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60250 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60251 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60252 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60253 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60254 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60255 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60256 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60257 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60258 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60259 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60260 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60261 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60262 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60263 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60265 LTCC='$LTCC'
60266 LTCFLAGS='$LTCFLAGS'
60267 compiler='$compiler_DEFAULT'
60269 # A function that is used when there is no print builtin or printf.
60270 func_fallback_echo ()
60272 eval 'cat <<_LTECHO_EOF
60274 _LTECHO_EOF'
60277 # Quote evaled strings.
60278 for var in SHELL \
60279 ECHO \
60280 SED \
60281 GREP \
60282 EGREP \
60283 FGREP \
60284 LD \
60285 NM \
60286 LN_S \
60287 lt_SP2NL \
60288 lt_NL2SP \
60289 reload_flag \
60290 OBJDUMP \
60291 deplibs_check_method \
60292 file_magic_cmd \
60293 AR \
60294 AR_FLAGS \
60295 STRIP \
60296 RANLIB \
60297 CC \
60298 CFLAGS \
60299 compiler \
60300 lt_cv_sys_global_symbol_pipe \
60301 lt_cv_sys_global_symbol_to_cdecl \
60302 lt_cv_sys_global_symbol_to_c_name_address \
60303 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60304 lt_prog_compiler_no_builtin_flag \
60305 lt_prog_compiler_wl \
60306 lt_prog_compiler_pic \
60307 lt_prog_compiler_static \
60308 lt_cv_prog_compiler_c_o \
60309 need_locks \
60310 DSYMUTIL \
60311 NMEDIT \
60312 LIPO \
60313 OTOOL \
60314 OTOOL64 \
60315 shrext_cmds \
60316 export_dynamic_flag_spec \
60317 whole_archive_flag_spec \
60318 compiler_needs_object \
60319 with_gnu_ld \
60320 allow_undefined_flag \
60321 no_undefined_flag \
60322 hardcode_libdir_flag_spec \
60323 hardcode_libdir_flag_spec_ld \
60324 hardcode_libdir_separator \
60325 fix_srcfile_path \
60326 exclude_expsyms \
60327 include_expsyms \
60328 file_list_spec \
60329 variables_saved_for_relink \
60330 libname_spec \
60331 library_names_spec \
60332 soname_spec \
60333 install_override_mode \
60334 finish_eval \
60335 old_striplib \
60336 striplib \
60337 compiler_lib_search_dirs \
60338 predep_objects \
60339 postdep_objects \
60340 predeps \
60341 postdeps \
60342 compiler_lib_search_path \
60343 LD_CXX \
60344 reload_flag_CXX \
60345 compiler_CXX \
60346 lt_prog_compiler_no_builtin_flag_CXX \
60347 lt_prog_compiler_wl_CXX \
60348 lt_prog_compiler_pic_CXX \
60349 lt_prog_compiler_static_CXX \
60350 lt_cv_prog_compiler_c_o_CXX \
60351 export_dynamic_flag_spec_CXX \
60352 whole_archive_flag_spec_CXX \
60353 compiler_needs_object_CXX \
60354 with_gnu_ld_CXX \
60355 allow_undefined_flag_CXX \
60356 no_undefined_flag_CXX \
60357 hardcode_libdir_flag_spec_CXX \
60358 hardcode_libdir_flag_spec_ld_CXX \
60359 hardcode_libdir_separator_CXX \
60360 fix_srcfile_path_CXX \
60361 exclude_expsyms_CXX \
60362 include_expsyms_CXX \
60363 file_list_spec_CXX \
60364 compiler_lib_search_dirs_CXX \
60365 predep_objects_CXX \
60366 postdep_objects_CXX \
60367 predeps_CXX \
60368 postdeps_CXX \
60369 compiler_lib_search_path_CXX; do
60370 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60371 *[\\\\\\\`\\"\\\$]*)
60372 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60375 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60377 esac
60378 done
60380 # Double-quote double-evaled strings.
60381 for var in reload_cmds \
60382 old_postinstall_cmds \
60383 old_postuninstall_cmds \
60384 old_archive_cmds \
60385 extract_expsyms_cmds \
60386 old_archive_from_new_cmds \
60387 old_archive_from_expsyms_cmds \
60388 archive_cmds \
60389 archive_expsym_cmds \
60390 module_cmds \
60391 module_expsym_cmds \
60392 export_symbols_cmds \
60393 prelink_cmds \
60394 postinstall_cmds \
60395 postuninstall_cmds \
60396 finish_cmds \
60397 sys_lib_search_path_spec \
60398 sys_lib_dlsearch_path_spec \
60399 reload_cmds_CXX \
60400 old_archive_cmds_CXX \
60401 old_archive_from_new_cmds_CXX \
60402 old_archive_from_expsyms_cmds_CXX \
60403 archive_cmds_CXX \
60404 archive_expsym_cmds_CXX \
60405 module_cmds_CXX \
60406 module_expsym_cmds_CXX \
60407 export_symbols_cmds_CXX \
60408 prelink_cmds_CXX; do
60409 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60410 *[\\\\\\\`\\"\\\$]*)
60411 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60414 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60416 esac
60417 done
60419 ac_aux_dir='$ac_aux_dir'
60420 xsi_shell='$xsi_shell'
60421 lt_shell_append='$lt_shell_append'
60423 # See if we are running on zsh, and set the options which allow our
60424 # commands through without removal of \ escapes INIT.
60425 if test -n "\${ZSH_VERSION+set}" ; then
60426 setopt NO_GLOB_SUBST
60430 PACKAGE='$PACKAGE'
60431 VERSION='$VERSION'
60432 TIMESTAMP='$TIMESTAMP'
60433 RM='$RM'
60434 ofile='$ofile'
60441 GCC="$GCC"
60442 CC="$CC"
60443 acx_cv_header_stdint="$acx_cv_header_stdint"
60444 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60445 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60446 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60447 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60448 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60449 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60450 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60451 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60452 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60453 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60454 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60455 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60456 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60459 _ACEOF
60461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60463 # Handling of arguments.
60464 for ac_config_target in $ac_config_targets
60466 case $ac_config_target in
60467 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60468 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60469 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60470 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60471 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60472 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60473 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60474 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60475 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60476 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60477 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60478 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60479 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60480 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60482 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60483 esac
60484 done
60487 # If the user did not use the arguments to specify the items to instantiate,
60488 # then the envvar interface is used. Set only those that are not.
60489 # We use the long form for the default assignment because of an extremely
60490 # bizarre bug on SunOS 4.1.3.
60491 if $ac_need_defaults; then
60492 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60493 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60494 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60497 # Have a temporary directory for convenience. Make it in the build tree
60498 # simply because there is no reason against having it here, and in addition,
60499 # creating and moving files from /tmp can sometimes cause problems.
60500 # Hook for its removal unless debugging.
60501 # Note that there is a small window in which the directory will not be cleaned:
60502 # after its creation but before its name has been assigned to `$tmp'.
60503 $debug ||
60505 tmp=
60506 trap 'exit_status=$?
60507 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60509 trap 'as_fn_exit 1' 1 2 13 15
60511 # Create a (secure) tmp directory for tmp files.
60514 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60515 test -n "$tmp" && test -d "$tmp"
60516 } ||
60518 tmp=./conf$$-$RANDOM
60519 (umask 077 && mkdir "$tmp")
60520 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60522 # Set up the scripts for CONFIG_FILES section.
60523 # No need to generate them if there are no CONFIG_FILES.
60524 # This happens for instance with `./config.status config.h'.
60525 if test -n "$CONFIG_FILES"; then
60528 ac_cr=`echo X | tr X '\015'`
60529 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60530 # But we know of no other shell where ac_cr would be empty at this
60531 # point, so we can use a bashism as a fallback.
60532 if test "x$ac_cr" = x; then
60533 eval ac_cr=\$\'\\r\'
60535 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60536 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60537 ac_cs_awk_cr='\r'
60538 else
60539 ac_cs_awk_cr=$ac_cr
60542 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60543 _ACEOF
60547 echo "cat >conf$$subs.awk <<_ACEOF" &&
60548 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60549 echo "_ACEOF"
60550 } >conf$$subs.sh ||
60551 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60552 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60553 ac_delim='%!_!# '
60554 for ac_last_try in false false false false false :; do
60555 . ./conf$$subs.sh ||
60556 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60558 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60559 if test $ac_delim_n = $ac_delim_num; then
60560 break
60561 elif $ac_last_try; then
60562 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60563 else
60564 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60566 done
60567 rm -f conf$$subs.sh
60569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60570 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60571 _ACEOF
60572 sed -n '
60574 s/^/S["/; s/!.*/"]=/
60577 s/^[^!]*!//
60578 :repl
60579 t repl
60580 s/'"$ac_delim"'$//
60581 t delim
60584 s/\(.\{148\}\).*/\1/
60585 t more1
60586 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60589 b repl
60590 :more1
60591 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60594 s/.\{148\}//
60595 t nl
60596 :delim
60598 s/\(.\{148\}\).*/\1/
60599 t more2
60600 s/["\\]/\\&/g; s/^/"/; s/$/"/
60603 :more2
60604 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60607 s/.\{148\}//
60608 t delim
60609 ' <conf$$subs.awk | sed '
60610 /^[^""]/{
60612 s/\n//
60614 ' >>$CONFIG_STATUS || ac_write_fail=1
60615 rm -f conf$$subs.awk
60616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60617 _ACAWK
60618 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60619 for (key in S) S_is_set[key] = 1
60620 FS = "\a"
60624 line = $ 0
60625 nfields = split(line, field, "@")
60626 substed = 0
60627 len = length(field[1])
60628 for (i = 2; i < nfields; i++) {
60629 key = field[i]
60630 keylen = length(key)
60631 if (S_is_set[key]) {
60632 value = S[key]
60633 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60634 len += length(value) + length(field[++i])
60635 substed = 1
60636 } else
60637 len += 1 + keylen
60640 print line
60643 _ACAWK
60644 _ACEOF
60645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60646 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60647 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60648 else
60650 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60651 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60652 _ACEOF
60654 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60655 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60656 # trailing colons and then remove the whole line if VPATH becomes empty
60657 # (actually we leave an empty line to preserve line numbers).
60658 if test "x$srcdir" = x.; then
60659 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60660 s/:*\$(srcdir):*/:/
60661 s/:*\${srcdir}:*/:/
60662 s/:*@srcdir@:*/:/
60663 s/^\([^=]*=[ ]*\):*/\1/
60664 s/:*$//
60665 s/^[^=]*=[ ]*$//
60669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60670 fi # test -n "$CONFIG_FILES"
60672 # Set up the scripts for CONFIG_HEADERS section.
60673 # No need to generate them if there are no CONFIG_HEADERS.
60674 # This happens for instance with `./config.status Makefile'.
60675 if test -n "$CONFIG_HEADERS"; then
60676 cat >"$tmp/defines.awk" <<\_ACAWK ||
60677 BEGIN {
60678 _ACEOF
60680 # Transform confdefs.h into an awk script `defines.awk', embedded as
60681 # here-document in config.status, that substitutes the proper values into
60682 # config.h.in to produce config.h.
60684 # Create a delimiter string that does not exist in confdefs.h, to ease
60685 # handling of long lines.
60686 ac_delim='%!_!# '
60687 for ac_last_try in false false :; do
60688 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60689 if test -z "$ac_t"; then
60690 break
60691 elif $ac_last_try; then
60692 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60693 else
60694 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60696 done
60698 # For the awk script, D is an array of macro values keyed by name,
60699 # likewise P contains macro parameters if any. Preserve backslash
60700 # newline sequences.
60702 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60703 sed -n '
60704 s/.\{148\}/&'"$ac_delim"'/g
60705 t rset
60706 :rset
60707 s/^[ ]*#[ ]*define[ ][ ]*/ /
60708 t def
60710 :def
60711 s/\\$//
60712 t bsnl
60713 s/["\\]/\\&/g
60714 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60715 D["\1"]=" \3"/p
60716 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60718 :bsnl
60719 s/["\\]/\\&/g
60720 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60721 D["\1"]=" \3\\\\\\n"\\/p
60722 t cont
60723 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60724 t cont
60726 :cont
60728 s/.\{148\}/&'"$ac_delim"'/g
60729 t clear
60730 :clear
60731 s/\\$//
60732 t bsnlc
60733 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60735 :bsnlc
60736 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60737 b cont
60738 ' <confdefs.h | sed '
60739 s/'"$ac_delim"'/"\\\
60740 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60743 for (key in D) D_is_set[key] = 1
60744 FS = "\a"
60746 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60747 line = \$ 0
60748 split(line, arg, " ")
60749 if (arg[1] == "#") {
60750 defundef = arg[2]
60751 mac1 = arg[3]
60752 } else {
60753 defundef = substr(arg[1], 2)
60754 mac1 = arg[2]
60756 split(mac1, mac2, "(") #)
60757 macro = mac2[1]
60758 prefix = substr(line, 1, index(line, defundef) - 1)
60759 if (D_is_set[macro]) {
60760 # Preserve the white space surrounding the "#".
60761 print prefix "define", macro P[macro] D[macro]
60762 next
60763 } else {
60764 # Replace #undef with comments. This is necessary, for example,
60765 # in the case of _POSIX_SOURCE, which is predefined and required
60766 # on some systems where configure will not decide to define it.
60767 if (defundef == "undef") {
60768 print "/*", prefix defundef, macro, "*/"
60769 next
60773 { print }
60774 _ACAWK
60775 _ACEOF
60776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60777 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60778 fi # test -n "$CONFIG_HEADERS"
60781 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60782 shift
60783 for ac_tag
60785 case $ac_tag in
60786 :[FHLC]) ac_mode=$ac_tag; continue;;
60787 esac
60788 case $ac_mode$ac_tag in
60789 :[FHL]*:*);;
60790 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60791 :[FH]-) ac_tag=-:-;;
60792 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60793 esac
60794 ac_save_IFS=$IFS
60795 IFS=:
60796 set x $ac_tag
60797 IFS=$ac_save_IFS
60798 shift
60799 ac_file=$1
60800 shift
60802 case $ac_mode in
60803 :L) ac_source=$1;;
60804 :[FH])
60805 ac_file_inputs=
60806 for ac_f
60808 case $ac_f in
60809 -) ac_f="$tmp/stdin";;
60810 *) # Look for the file first in the build tree, then in the source tree
60811 # (if the path is not absolute). The absolute path cannot be DOS-style,
60812 # because $ac_f cannot contain `:'.
60813 test -f "$ac_f" ||
60814 case $ac_f in
60815 [\\/$]*) false;;
60816 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60817 esac ||
60818 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60819 esac
60820 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60821 as_fn_append ac_file_inputs " '$ac_f'"
60822 done
60824 # Let's still pretend it is `configure' which instantiates (i.e., don't
60825 # use $as_me), people would be surprised to read:
60826 # /* config.h. Generated by config.status. */
60827 configure_input='Generated from '`
60828 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60829 `' by configure.'
60830 if test x"$ac_file" != x-; then
60831 configure_input="$ac_file. $configure_input"
60832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60833 $as_echo "$as_me: creating $ac_file" >&6;}
60835 # Neutralize special characters interpreted by sed in replacement strings.
60836 case $configure_input in #(
60837 *\&* | *\|* | *\\* )
60838 ac_sed_conf_input=`$as_echo "$configure_input" |
60839 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60840 *) ac_sed_conf_input=$configure_input;;
60841 esac
60843 case $ac_tag in
60844 *:-:* | *:-) cat >"$tmp/stdin" \
60845 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60846 esac
60848 esac
60850 ac_dir=`$as_dirname -- "$ac_file" ||
60851 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60852 X"$ac_file" : 'X\(//\)[^/]' \| \
60853 X"$ac_file" : 'X\(//\)$' \| \
60854 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60855 $as_echo X"$ac_file" |
60856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60857 s//\1/
60860 /^X\(\/\/\)[^/].*/{
60861 s//\1/
60864 /^X\(\/\/\)$/{
60865 s//\1/
60868 /^X\(\/\).*/{
60869 s//\1/
60872 s/.*/./; q'`
60873 as_dir="$ac_dir"; as_fn_mkdir_p
60874 ac_builddir=.
60876 case "$ac_dir" in
60877 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60879 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60880 # A ".." for each directory in $ac_dir_suffix.
60881 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60882 case $ac_top_builddir_sub in
60883 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60884 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60885 esac ;;
60886 esac
60887 ac_abs_top_builddir=$ac_pwd
60888 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60889 # for backward compatibility:
60890 ac_top_builddir=$ac_top_build_prefix
60892 case $srcdir in
60893 .) # We are building in place.
60894 ac_srcdir=.
60895 ac_top_srcdir=$ac_top_builddir_sub
60896 ac_abs_top_srcdir=$ac_pwd ;;
60897 [\\/]* | ?:[\\/]* ) # Absolute name.
60898 ac_srcdir=$srcdir$ac_dir_suffix;
60899 ac_top_srcdir=$srcdir
60900 ac_abs_top_srcdir=$srcdir ;;
60901 *) # Relative name.
60902 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60903 ac_top_srcdir=$ac_top_build_prefix$srcdir
60904 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60905 esac
60906 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60909 case $ac_mode in
60912 # CONFIG_FILE
60915 case $INSTALL in
60916 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60917 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60918 esac
60919 ac_MKDIR_P=$MKDIR_P
60920 case $MKDIR_P in
60921 [\\/$]* | ?:[\\/]* ) ;;
60922 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60923 esac
60924 _ACEOF
60926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60927 # If the template does not know about datarootdir, expand it.
60928 # FIXME: This hack should be removed a few years after 2.60.
60929 ac_datarootdir_hack=; ac_datarootdir_seen=
60930 ac_sed_dataroot='
60931 /datarootdir/ {
60935 /@datadir@/p
60936 /@docdir@/p
60937 /@infodir@/p
60938 /@localedir@/p
60939 /@mandir@/p'
60940 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60941 *datarootdir*) ac_datarootdir_seen=yes;;
60942 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60944 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60945 _ACEOF
60946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60947 ac_datarootdir_hack='
60948 s&@datadir@&$datadir&g
60949 s&@docdir@&$docdir&g
60950 s&@infodir@&$infodir&g
60951 s&@localedir@&$localedir&g
60952 s&@mandir@&$mandir&g
60953 s&\\\${datarootdir}&$datarootdir&g' ;;
60954 esac
60955 _ACEOF
60957 # Neutralize VPATH when `$srcdir' = `.'.
60958 # Shell code in configure.ac might set extrasub.
60959 # FIXME: do we really want to maintain this feature?
60960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60961 ac_sed_extra="$ac_vpsub
60962 $extrasub
60963 _ACEOF
60964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60966 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60967 s|@configure_input@|$ac_sed_conf_input|;t t
60968 s&@top_builddir@&$ac_top_builddir_sub&;t t
60969 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60970 s&@srcdir@&$ac_srcdir&;t t
60971 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60972 s&@top_srcdir@&$ac_top_srcdir&;t t
60973 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60974 s&@builddir@&$ac_builddir&;t t
60975 s&@abs_builddir@&$ac_abs_builddir&;t t
60976 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60977 s&@INSTALL@&$ac_INSTALL&;t t
60978 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60979 $ac_datarootdir_hack
60981 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60982 || as_fn_error "could not create $ac_file" "$LINENO" 5
60984 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60985 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60986 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60988 which seems to be undefined. Please make sure it is defined." >&5
60989 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60990 which seems to be undefined. Please make sure it is defined." >&2;}
60992 rm -f "$tmp/stdin"
60993 case $ac_file in
60994 -) cat "$tmp/out" && rm -f "$tmp/out";;
60995 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60996 esac \
60997 || as_fn_error "could not create $ac_file" "$LINENO" 5
61001 # CONFIG_HEADER
61003 if test x"$ac_file" != x-; then
61005 $as_echo "/* $configure_input */" \
61006 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
61007 } >"$tmp/config.h" \
61008 || as_fn_error "could not create $ac_file" "$LINENO" 5
61009 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
61010 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
61011 $as_echo "$as_me: $ac_file is unchanged" >&6;}
61012 else
61013 rm -f "$ac_file"
61014 mv "$tmp/config.h" "$ac_file" \
61015 || as_fn_error "could not create $ac_file" "$LINENO" 5
61017 else
61018 $as_echo "/* $configure_input */" \
61019 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
61020 || as_fn_error "could not create -" "$LINENO" 5
61022 # Compute "$ac_file"'s index in $config_headers.
61023 _am_arg="$ac_file"
61024 _am_stamp_count=1
61025 for _am_header in $config_headers :; do
61026 case $_am_header in
61027 $_am_arg | $_am_arg:* )
61028 break ;;
61030 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
61031 esac
61032 done
61033 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
61034 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61035 X"$_am_arg" : 'X\(//\)[^/]' \| \
61036 X"$_am_arg" : 'X\(//\)$' \| \
61037 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
61038 $as_echo X"$_am_arg" |
61039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61040 s//\1/
61043 /^X\(\/\/\)[^/].*/{
61044 s//\1/
61047 /^X\(\/\/\)$/{
61048 s//\1/
61051 /^X\(\/\).*/{
61052 s//\1/
61055 s/.*/./; q'`/stamp-h$_am_stamp_count
61058 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
61059 $as_echo "$as_me: executing $ac_file commands" >&6;}
61061 esac
61064 case $ac_file$ac_mode in
61065 "default-1":C)
61066 # Only add multilib support code if we just rebuilt the top-level
61067 # Makefile.
61068 case " $CONFIG_FILES " in
61069 *" Makefile "*)
61070 ac_file=Makefile . ${multi_basedir}/config-ml.in
61072 esac ;;
61073 "libtool":C)
61075 # See if we are running on zsh, and set the options which allow our
61076 # commands through without removal of \ escapes.
61077 if test -n "${ZSH_VERSION+set}" ; then
61078 setopt NO_GLOB_SUBST
61081 cfgfile="${ofile}T"
61082 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
61083 $RM "$cfgfile"
61085 cat <<_LT_EOF >> "$cfgfile"
61086 #! $SHELL
61088 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
61089 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
61090 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
61091 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
61093 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
61094 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
61095 # Written by Gordon Matzigkeit, 1996
61097 # This file is part of GNU Libtool.
61099 # GNU Libtool is free software; you can redistribute it and/or
61100 # modify it under the terms of the GNU General Public License as
61101 # published by the Free Software Foundation; either version 2 of
61102 # the License, or (at your option) any later version.
61104 # As a special exception to the GNU General Public License,
61105 # if you distribute this file as part of a program or library that
61106 # is built using GNU Libtool, you may include this file under the
61107 # same distribution terms that you use for the rest of that program.
61109 # GNU Libtool is distributed in the hope that it will be useful,
61110 # but WITHOUT ANY WARRANTY; without even the implied warranty of
61111 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61112 # GNU General Public License for more details.
61114 # You should have received a copy of the GNU General Public License
61115 # along with GNU Libtool; see the file COPYING. If not, a copy
61116 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
61117 # obtained by writing to the Free Software Foundation, Inc.,
61118 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
61121 # The names of the tagged configurations supported by this script.
61122 available_tags="CXX "
61124 # ### BEGIN LIBTOOL CONFIG
61126 # Which release of libtool.m4 was used?
61127 macro_version=$macro_version
61128 macro_revision=$macro_revision
61130 # Whether or not to build shared libraries.
61131 build_libtool_libs=$enable_shared
61133 # Whether or not to build static libraries.
61134 build_old_libs=$enable_static
61136 # What type of objects to build.
61137 pic_mode=$pic_mode
61139 # Whether or not to optimize for fast installation.
61140 fast_install=$enable_fast_install
61142 # Shell to use when invoking shell scripts.
61143 SHELL=$lt_SHELL
61145 # An echo program that protects backslashes.
61146 ECHO=$lt_ECHO
61148 # The host system.
61149 host_alias=$host_alias
61150 host=$host
61151 host_os=$host_os
61153 # The build system.
61154 build_alias=$build_alias
61155 build=$build
61156 build_os=$build_os
61158 # A sed program that does not truncate output.
61159 SED=$lt_SED
61161 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61162 Xsed="\$SED -e 1s/^X//"
61164 # A grep program that handles long lines.
61165 GREP=$lt_GREP
61167 # An ERE matcher.
61168 EGREP=$lt_EGREP
61170 # A literal string matcher.
61171 FGREP=$lt_FGREP
61173 # A BSD- or MS-compatible name lister.
61174 NM=$lt_NM
61176 # Whether we need soft or hard links.
61177 LN_S=$lt_LN_S
61179 # What is the maximum length of a command?
61180 max_cmd_len=$max_cmd_len
61182 # Object file suffix (normally "o").
61183 objext=$ac_objext
61185 # Executable file suffix (normally "").
61186 exeext=$exeext
61188 # whether the shell understands "unset".
61189 lt_unset=$lt_unset
61191 # turn spaces into newlines.
61192 SP2NL=$lt_lt_SP2NL
61194 # turn newlines into spaces.
61195 NL2SP=$lt_lt_NL2SP
61197 # An object symbol dumper.
61198 OBJDUMP=$lt_OBJDUMP
61200 # Method to check whether dependent libraries are shared objects.
61201 deplibs_check_method=$lt_deplibs_check_method
61203 # Command to use when deplibs_check_method == "file_magic".
61204 file_magic_cmd=$lt_file_magic_cmd
61206 # The archiver.
61207 AR=$lt_AR
61208 AR_FLAGS=$lt_AR_FLAGS
61210 # A symbol stripping program.
61211 STRIP=$lt_STRIP
61213 # Commands used to install an old-style archive.
61214 RANLIB=$lt_RANLIB
61215 old_postinstall_cmds=$lt_old_postinstall_cmds
61216 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61218 # Whether to use a lock for old archive extraction.
61219 lock_old_archive_extraction=$lock_old_archive_extraction
61221 # A C compiler.
61222 LTCC=$lt_CC
61224 # LTCC compiler flags.
61225 LTCFLAGS=$lt_CFLAGS
61227 # Take the output of nm and produce a listing of raw symbols and C names.
61228 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61230 # Transform the output of nm in a proper C declaration.
61231 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61233 # Transform the output of nm in a C name address pair.
61234 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61236 # Transform the output of nm in a C name address pair when lib prefix is needed.
61237 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61239 # The name of the directory that contains temporary libtool files.
61240 objdir=$objdir
61242 # Used to examine libraries when file_magic_cmd begins with "file".
61243 MAGIC_CMD=$MAGIC_CMD
61245 # Must we lock files when doing compilation?
61246 need_locks=$lt_need_locks
61248 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61249 DSYMUTIL=$lt_DSYMUTIL
61251 # Tool to change global to local symbols on Mac OS X.
61252 NMEDIT=$lt_NMEDIT
61254 # Tool to manipulate fat objects and archives on Mac OS X.
61255 LIPO=$lt_LIPO
61257 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61258 OTOOL=$lt_OTOOL
61260 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61261 OTOOL64=$lt_OTOOL64
61263 # Old archive suffix (normally "a").
61264 libext=$libext
61266 # Shared library suffix (normally ".so").
61267 shrext_cmds=$lt_shrext_cmds
61269 # The commands to extract the exported symbol list from a shared archive.
61270 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61272 # Variables whose values should be saved in libtool wrapper scripts and
61273 # restored at link time.
61274 variables_saved_for_relink=$lt_variables_saved_for_relink
61276 # Do we need the "lib" prefix for modules?
61277 need_lib_prefix=$need_lib_prefix
61279 # Do we need a version for libraries?
61280 need_version=$need_version
61282 # Library versioning type.
61283 version_type=$version_type
61285 # Shared library runtime path variable.
61286 runpath_var=$runpath_var
61288 # Shared library path variable.
61289 shlibpath_var=$shlibpath_var
61291 # Is shlibpath searched before the hard-coded library search path?
61292 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61294 # Format of library name prefix.
61295 libname_spec=$lt_libname_spec
61297 # List of archive names. First name is the real one, the rest are links.
61298 # The last name is the one that the linker finds with -lNAME
61299 library_names_spec=$lt_library_names_spec
61301 # The coded name of the library, if different from the real name.
61302 soname_spec=$lt_soname_spec
61304 # Permission mode override for installation of shared libraries.
61305 install_override_mode=$lt_install_override_mode
61307 # Command to use after installation of a shared archive.
61308 postinstall_cmds=$lt_postinstall_cmds
61310 # Command to use after uninstallation of a shared archive.
61311 postuninstall_cmds=$lt_postuninstall_cmds
61313 # Commands used to finish a libtool library installation in a directory.
61314 finish_cmds=$lt_finish_cmds
61316 # As "finish_cmds", except a single script fragment to be evaled but
61317 # not shown.
61318 finish_eval=$lt_finish_eval
61320 # Whether we should hardcode library paths into libraries.
61321 hardcode_into_libs=$hardcode_into_libs
61323 # Compile-time system search path for libraries.
61324 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61326 # Run-time system search path for libraries.
61327 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61329 # Whether dlopen is supported.
61330 dlopen_support=$enable_dlopen
61332 # Whether dlopen of programs is supported.
61333 dlopen_self=$enable_dlopen_self
61335 # Whether dlopen of statically linked programs is supported.
61336 dlopen_self_static=$enable_dlopen_self_static
61338 # Commands to strip libraries.
61339 old_striplib=$lt_old_striplib
61340 striplib=$lt_striplib
61343 # The linker used to build libraries.
61344 LD=$lt_LD
61346 # How to create reloadable object files.
61347 reload_flag=$lt_reload_flag
61348 reload_cmds=$lt_reload_cmds
61350 # Commands used to build an old-style archive.
61351 old_archive_cmds=$lt_old_archive_cmds
61353 # A language specific compiler.
61354 CC=$lt_compiler
61356 # Is the compiler the GNU compiler?
61357 with_gcc=$GCC
61359 # Compiler flag to turn off builtin functions.
61360 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61362 # How to pass a linker flag through the compiler.
61363 wl=$lt_lt_prog_compiler_wl
61365 # Additional compiler flags for building library objects.
61366 pic_flag=$lt_lt_prog_compiler_pic
61368 # Compiler flag to prevent dynamic linking.
61369 link_static_flag=$lt_lt_prog_compiler_static
61371 # Does compiler simultaneously support -c and -o options?
61372 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61374 # Whether or not to add -lc for building shared libraries.
61375 build_libtool_need_lc=$archive_cmds_need_lc
61377 # Whether or not to disallow shared libs when runtime libs are static.
61378 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61380 # Compiler flag to allow reflexive dlopens.
61381 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61383 # Compiler flag to generate shared objects directly from archives.
61384 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61386 # Whether the compiler copes with passing no objects directly.
61387 compiler_needs_object=$lt_compiler_needs_object
61389 # Create an old-style archive from a shared archive.
61390 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61392 # Create a temporary old-style archive to link instead of a shared archive.
61393 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61395 # Commands used to build a shared archive.
61396 archive_cmds=$lt_archive_cmds
61397 archive_expsym_cmds=$lt_archive_expsym_cmds
61399 # Commands used to build a loadable module if different from building
61400 # a shared archive.
61401 module_cmds=$lt_module_cmds
61402 module_expsym_cmds=$lt_module_expsym_cmds
61404 # Whether we are building with GNU ld or not.
61405 with_gnu_ld=$lt_with_gnu_ld
61407 # Flag that allows shared libraries with undefined symbols to be built.
61408 allow_undefined_flag=$lt_allow_undefined_flag
61410 # Flag that enforces no undefined symbols.
61411 no_undefined_flag=$lt_no_undefined_flag
61413 # Flag to hardcode \$libdir into a binary during linking.
61414 # This must work even if \$libdir does not exist
61415 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61417 # If ld is used when linking, flag to hardcode \$libdir into a binary
61418 # during linking. This must work even if \$libdir does not exist.
61419 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61421 # Whether we need a single "-rpath" flag with a separated argument.
61422 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61424 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61425 # DIR into the resulting binary.
61426 hardcode_direct=$hardcode_direct
61428 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61429 # DIR into the resulting binary and the resulting library dependency is
61430 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61431 # library is relocated.
61432 hardcode_direct_absolute=$hardcode_direct_absolute
61434 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61435 # into the resulting binary.
61436 hardcode_minus_L=$hardcode_minus_L
61438 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61439 # into the resulting binary.
61440 hardcode_shlibpath_var=$hardcode_shlibpath_var
61442 # Set to "yes" if building a shared library automatically hardcodes DIR
61443 # into the library and all subsequent libraries and executables linked
61444 # against it.
61445 hardcode_automatic=$hardcode_automatic
61447 # Set to yes if linker adds runtime paths of dependent libraries
61448 # to runtime path list.
61449 inherit_rpath=$inherit_rpath
61451 # Whether libtool must link a program against all its dependency libraries.
61452 link_all_deplibs=$link_all_deplibs
61454 # Fix the shell variable \$srcfile for the compiler.
61455 fix_srcfile_path=$lt_fix_srcfile_path
61457 # Set to "yes" if exported symbols are required.
61458 always_export_symbols=$always_export_symbols
61460 # The commands to list exported symbols.
61461 export_symbols_cmds=$lt_export_symbols_cmds
61463 # Symbols that should not be listed in the preloaded symbols.
61464 exclude_expsyms=$lt_exclude_expsyms
61466 # Symbols that must always be exported.
61467 include_expsyms=$lt_include_expsyms
61469 # Commands necessary for linking programs (against libraries) with templates.
61470 prelink_cmds=$lt_prelink_cmds
61472 # Specify filename containing input files.
61473 file_list_spec=$lt_file_list_spec
61475 # How to hardcode a shared library path into an executable.
61476 hardcode_action=$hardcode_action
61478 # The directories searched by this compiler when creating a shared library.
61479 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61481 # Dependencies to place before and after the objects being linked to
61482 # create a shared library.
61483 predep_objects=$lt_predep_objects
61484 postdep_objects=$lt_postdep_objects
61485 predeps=$lt_predeps
61486 postdeps=$lt_postdeps
61488 # The library search path used internally by the compiler when linking
61489 # a shared library.
61490 compiler_lib_search_path=$lt_compiler_lib_search_path
61492 # ### END LIBTOOL CONFIG
61494 _LT_EOF
61496 case $host_os in
61497 aix3*)
61498 cat <<\_LT_EOF >> "$cfgfile"
61499 # AIX sometimes has problems with the GCC collect2 program. For some
61500 # reason, if we set the COLLECT_NAMES environment variable, the problems
61501 # vanish in a puff of smoke.
61502 if test "X${COLLECT_NAMES+set}" != Xset; then
61503 COLLECT_NAMES=
61504 export COLLECT_NAMES
61506 _LT_EOF
61508 esac
61511 ltmain="$ac_aux_dir/ltmain.sh"
61514 # We use sed instead of cat because bash on DJGPP gets confused if
61515 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61516 # text mode, it properly converts lines to CR/LF. This bash problem
61517 # is reportedly fixed, but why not run on old versions too?
61518 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61519 || (rm -f "$cfgfile"; exit 1)
61521 case $xsi_shell in
61522 yes)
61523 cat << \_LT_EOF >> "$cfgfile"
61525 # func_dirname file append nondir_replacement
61526 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61527 # otherwise set result to NONDIR_REPLACEMENT.
61528 func_dirname ()
61530 case ${1} in
61531 */*) func_dirname_result="${1%/*}${2}" ;;
61532 * ) func_dirname_result="${3}" ;;
61533 esac
61536 # func_basename file
61537 func_basename ()
61539 func_basename_result="${1##*/}"
61542 # func_dirname_and_basename file append nondir_replacement
61543 # perform func_basename and func_dirname in a single function
61544 # call:
61545 # dirname: Compute the dirname of FILE. If nonempty,
61546 # add APPEND to the result, otherwise set result
61547 # to NONDIR_REPLACEMENT.
61548 # value returned in "$func_dirname_result"
61549 # basename: Compute filename of FILE.
61550 # value retuned in "$func_basename_result"
61551 # Implementation must be kept synchronized with func_dirname
61552 # and func_basename. For efficiency, we do not delegate to
61553 # those functions but instead duplicate the functionality here.
61554 func_dirname_and_basename ()
61556 case ${1} in
61557 */*) func_dirname_result="${1%/*}${2}" ;;
61558 * ) func_dirname_result="${3}" ;;
61559 esac
61560 func_basename_result="${1##*/}"
61563 # func_stripname prefix suffix name
61564 # strip PREFIX and SUFFIX off of NAME.
61565 # PREFIX and SUFFIX must not contain globbing or regex special
61566 # characters, hashes, percent signs, but SUFFIX may contain a leading
61567 # dot (in which case that matches only a dot).
61568 func_stripname ()
61570 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61571 # positional parameters, so assign one to ordinary parameter first.
61572 func_stripname_result=${3}
61573 func_stripname_result=${func_stripname_result#"${1}"}
61574 func_stripname_result=${func_stripname_result%"${2}"}
61577 # func_opt_split
61578 func_opt_split ()
61580 func_opt_split_opt=${1%%=*}
61581 func_opt_split_arg=${1#*=}
61584 # func_lo2o object
61585 func_lo2o ()
61587 case ${1} in
61588 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61589 *) func_lo2o_result=${1} ;;
61590 esac
61593 # func_xform libobj-or-source
61594 func_xform ()
61596 func_xform_result=${1%.*}.lo
61599 # func_arith arithmetic-term...
61600 func_arith ()
61602 func_arith_result=$(( $* ))
61605 # func_len string
61606 # STRING may not start with a hyphen.
61607 func_len ()
61609 func_len_result=${#1}
61612 _LT_EOF
61614 *) # Bourne compatible functions.
61615 cat << \_LT_EOF >> "$cfgfile"
61617 # func_dirname file append nondir_replacement
61618 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61619 # otherwise set result to NONDIR_REPLACEMENT.
61620 func_dirname ()
61622 # Extract subdirectory from the argument.
61623 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61624 if test "X$func_dirname_result" = "X${1}"; then
61625 func_dirname_result="${3}"
61626 else
61627 func_dirname_result="$func_dirname_result${2}"
61631 # func_basename file
61632 func_basename ()
61634 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61638 # func_stripname prefix suffix name
61639 # strip PREFIX and SUFFIX off of NAME.
61640 # PREFIX and SUFFIX must not contain globbing or regex special
61641 # characters, hashes, percent signs, but SUFFIX may contain a leading
61642 # dot (in which case that matches only a dot).
61643 # func_strip_suffix prefix name
61644 func_stripname ()
61646 case ${2} in
61647 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61648 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61649 esac
61652 # sed scripts:
61653 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61654 my_sed_long_arg='1s/^-[^=]*=//'
61656 # func_opt_split
61657 func_opt_split ()
61659 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61660 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61663 # func_lo2o object
61664 func_lo2o ()
61666 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61669 # func_xform libobj-or-source
61670 func_xform ()
61672 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61675 # func_arith arithmetic-term...
61676 func_arith ()
61678 func_arith_result=`expr "$@"`
61681 # func_len string
61682 # STRING may not start with a hyphen.
61683 func_len ()
61685 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61688 _LT_EOF
61689 esac
61691 case $lt_shell_append in
61692 yes)
61693 cat << \_LT_EOF >> "$cfgfile"
61695 # func_append var value
61696 # Append VALUE to the end of shell variable VAR.
61697 func_append ()
61699 eval "$1+=\$2"
61701 _LT_EOF
61704 cat << \_LT_EOF >> "$cfgfile"
61706 # func_append var value
61707 # Append VALUE to the end of shell variable VAR.
61708 func_append ()
61710 eval "$1=\$$1\$2"
61713 _LT_EOF
61715 esac
61718 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61719 || (rm -f "$cfgfile"; exit 1)
61721 mv -f "$cfgfile" "$ofile" ||
61722 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61723 chmod +x "$ofile"
61726 cat <<_LT_EOF >> "$ofile"
61728 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61730 # The linker used to build libraries.
61731 LD=$lt_LD_CXX
61733 # How to create reloadable object files.
61734 reload_flag=$lt_reload_flag_CXX
61735 reload_cmds=$lt_reload_cmds_CXX
61737 # Commands used to build an old-style archive.
61738 old_archive_cmds=$lt_old_archive_cmds_CXX
61740 # A language specific compiler.
61741 CC=$lt_compiler_CXX
61743 # Is the compiler the GNU compiler?
61744 with_gcc=$GCC_CXX
61746 # Compiler flag to turn off builtin functions.
61747 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61749 # How to pass a linker flag through the compiler.
61750 wl=$lt_lt_prog_compiler_wl_CXX
61752 # Additional compiler flags for building library objects.
61753 pic_flag=$lt_lt_prog_compiler_pic_CXX
61755 # Compiler flag to prevent dynamic linking.
61756 link_static_flag=$lt_lt_prog_compiler_static_CXX
61758 # Does compiler simultaneously support -c and -o options?
61759 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61761 # Whether or not to add -lc for building shared libraries.
61762 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61764 # Whether or not to disallow shared libs when runtime libs are static.
61765 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61767 # Compiler flag to allow reflexive dlopens.
61768 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61770 # Compiler flag to generate shared objects directly from archives.
61771 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61773 # Whether the compiler copes with passing no objects directly.
61774 compiler_needs_object=$lt_compiler_needs_object_CXX
61776 # Create an old-style archive from a shared archive.
61777 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61779 # Create a temporary old-style archive to link instead of a shared archive.
61780 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61782 # Commands used to build a shared archive.
61783 archive_cmds=$lt_archive_cmds_CXX
61784 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61786 # Commands used to build a loadable module if different from building
61787 # a shared archive.
61788 module_cmds=$lt_module_cmds_CXX
61789 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61791 # Whether we are building with GNU ld or not.
61792 with_gnu_ld=$lt_with_gnu_ld_CXX
61794 # Flag that allows shared libraries with undefined symbols to be built.
61795 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61797 # Flag that enforces no undefined symbols.
61798 no_undefined_flag=$lt_no_undefined_flag_CXX
61800 # Flag to hardcode \$libdir into a binary during linking.
61801 # This must work even if \$libdir does not exist
61802 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61804 # If ld is used when linking, flag to hardcode \$libdir into a binary
61805 # during linking. This must work even if \$libdir does not exist.
61806 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61808 # Whether we need a single "-rpath" flag with a separated argument.
61809 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61811 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61812 # DIR into the resulting binary.
61813 hardcode_direct=$hardcode_direct_CXX
61815 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61816 # DIR into the resulting binary and the resulting library dependency is
61817 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61818 # library is relocated.
61819 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61821 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61822 # into the resulting binary.
61823 hardcode_minus_L=$hardcode_minus_L_CXX
61825 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61826 # into the resulting binary.
61827 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61829 # Set to "yes" if building a shared library automatically hardcodes DIR
61830 # into the library and all subsequent libraries and executables linked
61831 # against it.
61832 hardcode_automatic=$hardcode_automatic_CXX
61834 # Set to yes if linker adds runtime paths of dependent libraries
61835 # to runtime path list.
61836 inherit_rpath=$inherit_rpath_CXX
61838 # Whether libtool must link a program against all its dependency libraries.
61839 link_all_deplibs=$link_all_deplibs_CXX
61841 # Fix the shell variable \$srcfile for the compiler.
61842 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61844 # Set to "yes" if exported symbols are required.
61845 always_export_symbols=$always_export_symbols_CXX
61847 # The commands to list exported symbols.
61848 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61850 # Symbols that should not be listed in the preloaded symbols.
61851 exclude_expsyms=$lt_exclude_expsyms_CXX
61853 # Symbols that must always be exported.
61854 include_expsyms=$lt_include_expsyms_CXX
61856 # Commands necessary for linking programs (against libraries) with templates.
61857 prelink_cmds=$lt_prelink_cmds_CXX
61859 # Specify filename containing input files.
61860 file_list_spec=$lt_file_list_spec_CXX
61862 # How to hardcode a shared library path into an executable.
61863 hardcode_action=$hardcode_action_CXX
61865 # The directories searched by this compiler when creating a shared library.
61866 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61868 # Dependencies to place before and after the objects being linked to
61869 # create a shared library.
61870 predep_objects=$lt_predep_objects_CXX
61871 postdep_objects=$lt_postdep_objects_CXX
61872 predeps=$lt_predeps_CXX
61873 postdeps=$lt_postdeps_CXX
61875 # The library search path used internally by the compiler when linking
61876 # a shared library.
61877 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61879 # ### END LIBTOOL TAG CONFIG: CXX
61880 _LT_EOF
61883 "include/gstdint.h":C)
61884 if test "$GCC" = yes; then
61885 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61886 else
61887 echo "/* generated for $CC */" > tmp-stdint.h
61890 sed 's/^ *//' >> tmp-stdint.h <<EOF
61892 #ifndef GCC_GENERATED_STDINT_H
61893 #define GCC_GENERATED_STDINT_H 1
61895 #include <sys/types.h>
61898 if test "$acx_cv_header_stdint" != stdint.h; then
61899 echo "#include <stddef.h>" >> tmp-stdint.h
61901 if test "$acx_cv_header_stdint" != stddef.h; then
61902 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61905 sed 's/^ *//' >> tmp-stdint.h <<EOF
61906 /* glibc uses these symbols as guards to prevent redefinitions. */
61907 #ifdef __int8_t_defined
61908 #define _INT8_T
61909 #define _INT16_T
61910 #define _INT32_T
61911 #endif
61912 #ifdef __uint32_t_defined
61913 #define _UINT32_T
61914 #endif
61918 # ----------------- done header, emit basic int types -------------
61919 if test "$acx_cv_header_stdint" = stddef.h; then
61920 sed 's/^ *//' >> tmp-stdint.h <<EOF
61922 #ifndef _UINT8_T
61923 #define _UINT8_T
61924 #ifndef __uint8_t_defined
61925 #define __uint8_t_defined
61926 #ifndef uint8_t
61927 typedef unsigned $acx_cv_type_int8_t uint8_t;
61928 #endif
61929 #endif
61930 #endif
61932 #ifndef _UINT16_T
61933 #define _UINT16_T
61934 #ifndef __uint16_t_defined
61935 #define __uint16_t_defined
61936 #ifndef uint16_t
61937 typedef unsigned $acx_cv_type_int16_t uint16_t;
61938 #endif
61939 #endif
61940 #endif
61942 #ifndef _UINT32_T
61943 #define _UINT32_T
61944 #ifndef __uint32_t_defined
61945 #define __uint32_t_defined
61946 #ifndef uint32_t
61947 typedef unsigned $acx_cv_type_int32_t uint32_t;
61948 #endif
61949 #endif
61950 #endif
61952 #ifndef _INT8_T
61953 #define _INT8_T
61954 #ifndef __int8_t_defined
61955 #define __int8_t_defined
61956 #ifndef int8_t
61957 typedef $acx_cv_type_int8_t int8_t;
61958 #endif
61959 #endif
61960 #endif
61962 #ifndef _INT16_T
61963 #define _INT16_T
61964 #ifndef __int16_t_defined
61965 #define __int16_t_defined
61966 #ifndef int16_t
61967 typedef $acx_cv_type_int16_t int16_t;
61968 #endif
61969 #endif
61970 #endif
61972 #ifndef _INT32_T
61973 #define _INT32_T
61974 #ifndef __int32_t_defined
61975 #define __int32_t_defined
61976 #ifndef int32_t
61977 typedef $acx_cv_type_int32_t int32_t;
61978 #endif
61979 #endif
61980 #endif
61982 elif test "$ac_cv_type_u_int32_t" = yes; then
61983 sed 's/^ *//' >> tmp-stdint.h <<EOF
61985 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61986 #ifndef _INT8_T
61987 #define _INT8_T
61988 #endif
61989 #ifndef _INT16_T
61990 #define _INT16_T
61991 #endif
61992 #ifndef _INT32_T
61993 #define _INT32_T
61994 #endif
61996 #ifndef _UINT8_T
61997 #define _UINT8_T
61998 #ifndef __uint8_t_defined
61999 #define __uint8_t_defined
62000 #ifndef uint8_t
62001 typedef u_int8_t uint8_t;
62002 #endif
62003 #endif
62004 #endif
62006 #ifndef _UINT16_T
62007 #define _UINT16_T
62008 #ifndef __uint16_t_defined
62009 #define __uint16_t_defined
62010 #ifndef uint16_t
62011 typedef u_int16_t uint16_t;
62012 #endif
62013 #endif
62014 #endif
62016 #ifndef _UINT32_T
62017 #define _UINT32_T
62018 #ifndef __uint32_t_defined
62019 #define __uint32_t_defined
62020 #ifndef uint32_t
62021 typedef u_int32_t uint32_t;
62022 #endif
62023 #endif
62024 #endif
62026 else
62027 sed 's/^ *//' >> tmp-stdint.h <<EOF
62029 /* Some systems have guard macros to prevent redefinitions, define them. */
62030 #ifndef _INT8_T
62031 #define _INT8_T
62032 #endif
62033 #ifndef _INT16_T
62034 #define _INT16_T
62035 #endif
62036 #ifndef _INT32_T
62037 #define _INT32_T
62038 #endif
62039 #ifndef _UINT8_T
62040 #define _UINT8_T
62041 #endif
62042 #ifndef _UINT16_T
62043 #define _UINT16_T
62044 #endif
62045 #ifndef _UINT32_T
62046 #define _UINT32_T
62047 #endif
62051 # ------------- done basic int types, emit int64_t types ------------
62052 if test "$ac_cv_type_uint64_t" = yes; then
62053 sed 's/^ *//' >> tmp-stdint.h <<EOF
62055 /* system headers have good uint64_t and int64_t */
62056 #ifndef _INT64_T
62057 #define _INT64_T
62058 #endif
62059 #ifndef _UINT64_T
62060 #define _UINT64_T
62061 #endif
62063 elif test "$ac_cv_type_u_int64_t" = yes; then
62064 sed 's/^ *//' >> tmp-stdint.h <<EOF
62066 /* system headers have an u_int64_t (and int64_t) */
62067 #ifndef _INT64_T
62068 #define _INT64_T
62069 #endif
62070 #ifndef _UINT64_T
62071 #define _UINT64_T
62072 #ifndef __uint64_t_defined
62073 #define __uint64_t_defined
62074 #ifndef uint64_t
62075 typedef u_int64_t uint64_t;
62076 #endif
62077 #endif
62078 #endif
62080 elif test -n "$acx_cv_type_int64_t"; then
62081 sed 's/^ *//' >> tmp-stdint.h <<EOF
62083 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
62084 #ifndef _INT64_T
62085 #define _INT64_T
62086 #ifndef int64_t
62087 typedef $acx_cv_type_int64_t int64_t;
62088 #endif
62089 #endif
62090 #ifndef _UINT64_T
62091 #define _UINT64_T
62092 #ifndef __uint64_t_defined
62093 #define __uint64_t_defined
62094 #ifndef uint64_t
62095 typedef unsigned $acx_cv_type_int64_t uint64_t;
62096 #endif
62097 #endif
62098 #endif
62100 else
62101 sed 's/^ *//' >> tmp-stdint.h <<EOF
62103 /* some common heuristics for int64_t, using compiler-specific tests */
62104 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
62105 #ifndef _INT64_T
62106 #define _INT64_T
62107 #ifndef __int64_t_defined
62108 #ifndef int64_t
62109 typedef long long int64_t;
62110 #endif
62111 #endif
62112 #endif
62113 #ifndef _UINT64_T
62114 #define _UINT64_T
62115 #ifndef uint64_t
62116 typedef unsigned long long uint64_t;
62117 #endif
62118 #endif
62120 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
62121 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
62122 does not implement __extension__. But that compiler doesn't define
62123 __GNUC_MINOR__. */
62124 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
62125 # define __extension__
62126 # endif
62128 # ifndef _INT64_T
62129 # define _INT64_T
62130 # ifndef int64_t
62131 __extension__ typedef long long int64_t;
62132 # endif
62133 # endif
62134 # ifndef _UINT64_T
62135 # define _UINT64_T
62136 # ifndef uint64_t
62137 __extension__ typedef unsigned long long uint64_t;
62138 # endif
62139 # endif
62141 #elif !defined __STRICT_ANSI__
62142 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62144 # ifndef _INT64_T
62145 # define _INT64_T
62146 # ifndef int64_t
62147 typedef __int64 int64_t;
62148 # endif
62149 # endif
62150 # ifndef _UINT64_T
62151 # define _UINT64_T
62152 # ifndef uint64_t
62153 typedef unsigned __int64 uint64_t;
62154 # endif
62155 # endif
62156 # endif /* compiler */
62158 #endif /* ANSI version */
62162 # ------------- done int64_t types, emit intptr types ------------
62163 if test "$ac_cv_type_uintptr_t" != yes; then
62164 sed 's/^ *//' >> tmp-stdint.h <<EOF
62166 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62167 #ifndef __uintptr_t_defined
62168 #ifndef uintptr_t
62169 typedef u$acx_cv_type_intptr_t uintptr_t;
62170 #endif
62171 #endif
62172 #ifndef __intptr_t_defined
62173 #ifndef intptr_t
62174 typedef $acx_cv_type_intptr_t intptr_t;
62175 #endif
62176 #endif
62180 # ------------- done intptr types, emit int_least types ------------
62181 if test "$ac_cv_type_int_least32_t" != yes; then
62182 sed 's/^ *//' >> tmp-stdint.h <<EOF
62184 /* Define int_least types */
62185 typedef int8_t int_least8_t;
62186 typedef int16_t int_least16_t;
62187 typedef int32_t int_least32_t;
62188 #ifdef _INT64_T
62189 typedef int64_t int_least64_t;
62190 #endif
62192 typedef uint8_t uint_least8_t;
62193 typedef uint16_t uint_least16_t;
62194 typedef uint32_t uint_least32_t;
62195 #ifdef _UINT64_T
62196 typedef uint64_t uint_least64_t;
62197 #endif
62201 # ------------- done intptr types, emit int_fast types ------------
62202 if test "$ac_cv_type_int_fast32_t" != yes; then
62203 sed 's/^ *//' >> tmp-stdint.h <<EOF
62205 /* Define int_fast types. short is often slow */
62206 typedef int8_t int_fast8_t;
62207 typedef int int_fast16_t;
62208 typedef int32_t int_fast32_t;
62209 #ifdef _INT64_T
62210 typedef int64_t int_fast64_t;
62211 #endif
62213 typedef uint8_t uint_fast8_t;
62214 typedef unsigned int uint_fast16_t;
62215 typedef uint32_t uint_fast32_t;
62216 #ifdef _UINT64_T
62217 typedef uint64_t uint_fast64_t;
62218 #endif
62222 if test "$ac_cv_type_uintmax_t" != yes; then
62223 sed 's/^ *//' >> tmp-stdint.h <<EOF
62225 /* Define intmax based on what we found */
62226 #ifndef intmax_t
62227 #ifdef _INT64_T
62228 typedef int64_t intmax_t;
62229 #else
62230 typedef long intmax_t;
62231 #endif
62232 #endif
62233 #ifndef uintmax_t
62234 #ifdef _UINT64_T
62235 typedef uint64_t uintmax_t;
62236 #else
62237 typedef unsigned long uintmax_t;
62238 #endif
62239 #endif
62243 sed 's/^ *//' >> tmp-stdint.h <<EOF
62245 #endif /* GCC_GENERATED_STDINT_H */
62248 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62249 rm -f tmp-stdint.h
62250 else
62251 mv -f tmp-stdint.h include/gstdint.h
62255 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62256 "include/Makefile":F) cat > vpsed$$ << \_EOF
62257 s!`test -f '$<' || echo '$(srcdir)/'`!!
62258 _EOF
62259 sed -f vpsed$$ $ac_file > tmp$$
62260 mv tmp$$ $ac_file
62261 rm vpsed$$
62262 echo 'MULTISUBDIR =' >> $ac_file
62263 ml_norecursion=yes
62264 . ${multi_basedir}/config-ml.in
62265 { ml_norecursion=; unset ml_norecursion;}
62267 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62268 s!`test -f '$<' || echo '$(srcdir)/'`!!
62269 _EOF
62270 sed -f vpsed$$ $ac_file > tmp$$
62271 mv tmp$$ $ac_file
62272 rm vpsed$$
62273 echo 'MULTISUBDIR =' >> $ac_file
62274 ml_norecursion=yes
62275 . ${multi_basedir}/config-ml.in
62276 { ml_norecursion=; unset ml_norecursion;}
62278 "python/Makefile":F) cat > vpsed$$ << \_EOF
62279 s!`test -f '$<' || echo '$(srcdir)/'`!!
62280 _EOF
62281 sed -f vpsed$$ $ac_file > tmp$$
62282 mv tmp$$ $ac_file
62283 rm vpsed$$
62284 echo 'MULTISUBDIR =' >> $ac_file
62285 ml_norecursion=yes
62286 . ${multi_basedir}/config-ml.in
62287 { ml_norecursion=; unset ml_norecursion;}
62289 "src/Makefile":F) cat > vpsed$$ << \_EOF
62290 s!`test -f '$<' || echo '$(srcdir)/'`!!
62291 _EOF
62292 sed -f vpsed$$ $ac_file > tmp$$
62293 mv tmp$$ $ac_file
62294 rm vpsed$$
62295 echo 'MULTISUBDIR =' >> $ac_file
62296 ml_norecursion=yes
62297 . ${multi_basedir}/config-ml.in
62298 { ml_norecursion=; unset ml_norecursion;}
62300 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62301 s!`test -f '$<' || echo '$(srcdir)/'`!!
62302 _EOF
62303 sed -f vpsed$$ $ac_file > tmp$$
62304 mv tmp$$ $ac_file
62305 rm vpsed$$
62306 echo 'MULTISUBDIR =' >> $ac_file
62307 ml_norecursion=yes
62308 . ${multi_basedir}/config-ml.in
62309 { ml_norecursion=; unset ml_norecursion;}
62311 "po/Makefile":F) cat > vpsed$$ << \_EOF
62312 s!`test -f '$<' || echo '$(srcdir)/'`!!
62313 _EOF
62314 sed -f vpsed$$ $ac_file > tmp$$
62315 mv tmp$$ $ac_file
62316 rm vpsed$$
62317 echo 'MULTISUBDIR =' >> $ac_file
62318 ml_norecursion=yes
62319 . ${multi_basedir}/config-ml.in
62320 { ml_norecursion=; unset ml_norecursion;}
62322 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62323 s!`test -f '$<' || echo '$(srcdir)/'`!!
62324 _EOF
62325 sed -f vpsed$$ $ac_file > tmp$$
62326 mv tmp$$ $ac_file
62327 rm vpsed$$
62328 echo 'MULTISUBDIR =' >> $ac_file
62329 ml_norecursion=yes
62330 . ${multi_basedir}/config-ml.in
62331 { ml_norecursion=; unset ml_norecursion;}
62333 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62335 esac
62336 done # for ac_tag
62339 as_fn_exit 0
62340 _ACEOF
62341 ac_clean_files=$ac_clean_files_save
62343 test $ac_write_fail = 0 ||
62344 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62347 # configure is writing to config.log, and then calls config.status.
62348 # config.status does its own redirection, appending to config.log.
62349 # Unfortunately, on DOS this fails, as config.log is still kept open
62350 # by configure, so config.status won't be able to write to it; its
62351 # output is simply discarded. So we exec the FD to /dev/null,
62352 # effectively closing config.log, so it can be properly (re)opened and
62353 # appended to by config.status. When coming back to configure, we
62354 # need to make the FD available again.
62355 if test "$no_create" != yes; then
62356 ac_cs_success=:
62357 ac_config_status_args=
62358 test "$silent" = yes &&
62359 ac_config_status_args="$ac_config_status_args --quiet"
62360 exec 5>/dev/null
62361 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62362 exec 5>>config.log
62363 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62364 # would make configure fail if this is the last instruction.
62365 $ac_cs_success || as_fn_exit $?
62367 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62369 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}